* lisp/files.el: Allow : in local variables.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * files.el: Allow : in local variables (bug#14089).
4 (hack-local-variable-regexp): New var.
5 (hack-local-variables-prop-line, hack-local-variables): Use it.
6
7 2013-04-13 Roland Winkler <winkler@gnu.org>
8
9 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10 data before it gets modified by bibtex-beginning-of-entry.
11
12 2013-04-13 Roland Winkler <winkler@gnu.org>
13
14 * textmodes/bibtex.el (bibtex-url): Doc fix.
15
16 2013-04-13 Roland Winkler <winkler@gnu.org>
17
18 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
19 does not visit a BibTeX file, exclude it from the list of buffers
20 returned by bibtex-initialize.
21
22 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
23
24 * window.el (split-window): Remove interactive form, since as a
25 command this function is a special case of split-window-below.
26 Correct doc string.
27
28 2013-04-12 Roland Winkler <winkler@gnu.org>
29
30 * faces.el (read-face-name): Do not override value of arg default.
31 Allow single faces and strings as default values. Remove those
32 elements from return value that are not faces.
33 (describe-face): Simplify.
34 (face-at-point): New optional args thing and multiple so that this
35 function can provide the same functionality previously provided by
36 read-face-name.
37 (make-face-bold, make-face-unbold, make-face-italic)
38 (make-face-unitalic, make-face-bold-italic, invert-face)
39 (modify-face, read-face-and-attribute): Use face-at-point.
40
41 * cus-edit.el (customize-face, customize-face-other-window)
42 * cus-theme.el (custom-theme-add-face)
43 * face-remap.el (buffer-face-set)
44 * facemenu.el (facemenu-set-face): Use face-at-point.
45
46 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
47
48 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
49
50 2013-04-10 Tassilo Horn <tsdh@gnu.org>
51
52 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
53 off leading { and trailing } from field values.
54
55 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * emacs-lisp/timer.el (timer--check): New function.
58 (timer--time, timer-set-function, timer-event-handler): Use it.
59 (timer-set-idle-time): Simplify.
60 (timer--activate): CSE.
61 (timer-event-handler): Give more info in error message.
62 (internal-timer-start-idle): New function, moved from C.
63
64 * mpc.el (mpc-proc): Add `restart' argument.
65 (mpc-proc-cmd): Use it.
66 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
67 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
68 less often.
69
70 2013-04-10 Masatake YAMATO <yamato@redhat.com>
71
72 * progmodes/sh-script.el: Implement `sh-mode' own
73 `add-log-current-defun-function' (bug#14112).
74 (sh-current-defun-name): New function.
75 (sh-mode): Use the function.
76
77 2013-04-09 Bastien Guerry <bzg@gnu.org>
78
79 * simple.el (choose-completion-string): Fix docstring (bug#14163).
80
81 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
84
85 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
86 timer (bug#14156).
87
88 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
89
90 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
91 declaration.
92
93 2013-04-07 Leo Liu <sdl.web@gmail.com>
94
95 * pcmpl-x.el: New file.
96
97 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
98
99 Do not set x-display-name until X connection is established.
100 This is needed to prevent from weird situation described at
101 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
102 * frame.el (make-frame): Set x-display-name after call to
103 window system initialization function, not before.
104 * term/x-win.el (x-initialize-window-system): Add optional
105 display argument and use it.
106 * term/w32-win.el (w32-initialize-window-system):
107 * term/ns-win.el (ns-initialize-window-system):
108 * term/pc-win.el (msdos-initialize-window-system):
109 Add compatible optional display argument.
110
111 2013-04-06 Eli Zaretskii <eliz@gnu.org>
112
113 * files.el (normal-backup-enable-predicate): On MS-Windows and
114 MS-DOS compare truenames of temporary-file-directory and of the
115 file, so that 8+3 aliases (usually found in $TEMP on Windows)
116 don't fail comparison by compare-strings. Also, compare file
117 names case-insensitively on MS-Windows and MS-DOS.
118
119 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
122 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
123
124 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
125
126 * whitespace.el (whitespace-color-on, whitespace-color-off):
127 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
128
129 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
130
131 * ispell.el (ispell-set-spellchecker-params):
132 Really set `ispell-args' for all equivs.
133
134 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * ido.el (ido-completions): Use extra elements of ido-decorations
137 (bug#14143).
138 (ido-decorations): Update docstring.
139
140 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
141
142 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
143 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
144 nil during initialization, in order not to miss changes since the
145 file was opened. (Bug#14140)
146
147 2013-04-05 Leo Liu <sdl.web@gmail.com>
148
149 * kmacro.el (kmacro-call-macro): Fix bug#14135.
150
151 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
152
153 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
154
155 2013-04-04 Glenn Morris <rgm@gnu.org>
156
157 * electric.el (electric-pair-inhibit-predicate): Add :version.
158
159 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
162 when a package is required several times (bug#14082).
163
164 2013-04-04 Roland Winkler <winkler@gnu.org>
165
166 * faces.el (read-face-name): Behave as promised by the docstring.
167 Assume that arg default is a list of faces.
168 (describe-face): Call read-face-name with list of default faces.
169
170 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
171
172 * bookmark.el: Fix deletion of bookmarks (bug#13972).
173 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
174 (bookmark-bmenu-execute-deletions): Only skip first line if it's
175 the header.
176 (bookmark-exit-hook-internal): Save even if list is empty.
177
178 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
179
180 * emacs-lisp/package.el (package-pinned-packages): New var.
181 (package--add-to-archive-contents): Obey it (bug#14118).
182
183 2013-04-03 Alan Mackenzie <acm@muc.de>
184
185 Handle `parse-partial-sexp' landing inside a comment opener
186 (Bug#13244). Also adapt to the new values of element 7 of a parse
187 state.
188
189 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
190 parameter `not-in-delimiter'. Handle being inside comment opener.
191 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
192 character in case we're typing a '*' after a '/'.
193 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
194 instead by passing the parameter to c-state-pp-to-literal.
195
196 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
197 for elt. 7 of a parse state.
198
199 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
200
201 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
202 * international/latin1-disp.el, international/mule-util.el:
203 * language/cyril-util.el, language/european.el, language/ind-util.el:
204 * language/lao-util.el, language/thai.el, language/tibet-util.el:
205 * language/tibetan.el, language/viet-util.el:
206 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
207
208 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
211 (electric-pair-post-self-insert-function): Use it.
212 (electric-pair-default-inhibit): New function, extracted from
213 electric-pair-post-self-insert-function.
214
215 2013-03-31 Roland Winkler <winkler@gnu.org>
216
217 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
218
219 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
222
223 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
224
225 Un-indent after "pass" and "return" statements (Bug#13888)
226 * progmodes/python.el (python-indent-block-enders): New var.
227 (python-indent-calculate-indentation): Use it.
228
229 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
230
231 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
232 defun. Defining it as defalias could introduce too eager
233 byte-compiler optimization. (Bug#14030)
234
235 2013-03-30 Chong Yidong <cyd@gnu.org>
236
237 * iswitchb.el (iswitchb-read-buffer): Fix typo.
238
239 2013-03-30 Leo Liu <sdl.web@gmail.com>
240
241 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
242 (kmacro-execute-from-register): Pass the keyboard macro to
243 kmacro-call-macro or repeating won't work correctly.
244
245 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
246
247 * progmodes/subword.el: Back to using `forward-symbol'.
248
249 * subr.el (forward-whitespace, forward-symbol)
250 (forward-same-syntax): Move from thingatpt.el.
251
252 2013-03-29 Leo Liu <sdl.web@gmail.com>
253
254 * kmacro.el (kmacro-to-register): New command.
255 (kmacro-execute-from-register): New function.
256 (kmacro-keymap): Bind to 'x'. (Bug#14071)
257
258 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * mpc.el: Use defvar-local and setq-local.
261 (mpc--proc-connect): Connection failures are not bugs.
262 (mpc-mode-map): `follow-link' only applies to the buffer's content.
263 (mpc-volume-map): Bind to the up-events.
264
265 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
266
267 * progmodes/subword.el (superword-mode): Use `forward-sexp'
268 instead of `forward-symbol'.
269
270 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
273 (edebug--recursive-edit): Use it.
274 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
275 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
276
277 2013-03-28 Leo Liu <sdl.web@gmail.com>
278
279 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
280
281 2013-03-27 Eli Zaretskii <eliz@gnu.org>
282
283 * facemenu.el (list-colors-callback): New defvar.
284 (list-colors-redisplay): New function.
285 (list-colors-display): Install list-colors-redisplay as the
286 revert-buffer-function. (Bug#14063)
287
288 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
291 and suffixes don't overlap (bug#14061).
292
293 * case-table.el: Use lexical-binding.
294 (case-table-get-table): New function.
295 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
296
297 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
298
299 * progmodes/subword.el: Add `superword-mode' to do word motion
300 over symbol_words (parallels and leverages `subword-mode' which
301 does word motion inside MixedCaseWords).
302
303 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
304
305 * eshell/em-unix.el: Move su and sudo to...
306 * eshell/em-tramp.el: ...Eshell tramp module
307
308 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
311 Change return value to be a sexp. Delay `get-buffer' to after
312 restoring the desktop (bug#13951).
313
314 2013-03-26 Leo Liu <sdl.web@gmail.com>
315
316 * register.el: Move semantic tag handling back to
317 cedet/semantic/senator.el. (Bug#14052)
318
319 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
322 into the prompt either (bug#13963).
323
324 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
327 part of "(error-foo)".
328
329 2013-03-24 Juri Linkov <juri@jurta.org>
330
331 * replace.el (list-matching-lines-prefix-face): New defcustom.
332 (occur-1): Pass `list-matching-lines-prefix-face' to the function
333 `occur-engine' if `face-differs-from-default-p' returns t.
334 (occur-engine): Add `,' inside backquote construct to evaluate
335 `prefix-face'. Propertize the prefix with the `prefix-face' face.
336 Pass `prefix-face' to the functions `occur-context-lines' and
337 `occur-engine-add-prefix'.
338 (occur-engine-add-prefix, occur-context-lines): Add optional arg
339 `prefix-face' and propertize the prefix with `prefix-face'.
340 (Bug#14017)
341
342 2013-03-24 Leo Liu <sdl.web@gmail.com>
343
344 * nxml/rng-valid.el (rng-validate-while-idle)
345 (rng-validate-quick-while-idle): Guard against deleted buffer.
346 (Bug#13999)
347
348 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
349 is the last entry in kill-buffer-hook.
350
351 * files.el (kill-buffer-hook): Doc fix.
352
353 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
354
355 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
356 Make it safe-local.
357
358 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
359
360 2013-03-23 Leo Liu <sdl.web@gmail.com>
361
362 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
363 Remove.
364
365 * nxml/rng-valid.el (rng-validate-mode)
366 (rng-after-change-function, rng-do-some-validation):
367 * nxml/rng-maint.el (rng-validate-buffer):
368 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
369 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
370 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
371 (nxml-extend-after-change-region): Use with-silent-modifications.
372
373 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
374 timer-idle-list.
375
376 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
377 (rng-next-error-1, rng-previous-error-1): Do not let-bind
378 timer-idle-list. (Bug#13999)
379
380 2013-03-23 Juri Linkov <juri@jurta.org>
381
382 * info.el (info-index-match): New face.
383 (Info-index, Info-apropos-matches): Add a nested subgroup to the
384 main pattern and add text properties with the new face to matches
385 in index entries relative to the beginning of the index entry.
386 (Bug#14015)
387
388 2013-03-21 Eric Ludlam <zappo@gnu.org>
389
390 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
391 Inhibit read only while inserting objects.
392
393 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
394
395 * progmodes/cfengine.el: Update docs to mention
396 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
397 symbol motion. Remove "_" from the word syntax.
398
399 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
400
401 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
402 syntax for both `cfengine2-mode' and `cfengine3-mode'.
403
404 2013-03-20 Juri Linkov <juri@jurta.org>
405
406 * info.el (Info-next-reference-or-link)
407 (Info-prev-reference-or-link): New functions.
408 (Info-next-reference, Info-prev-reference): Use them.
409 (Info-try-follow-nearest-node): Handle footnote navigation.
410 (Info-fontify-node): Fontify footnotes. (Bug#13989)
411
412 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
415 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
416
417 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
418
419 Suppress unnecessary non-ASCII chatter during build process.
420 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
421 (batch-skkdic-convert): Suppress most of the chatter.
422 It's not needed so much now that machines are faster,
423 and its non-ASCII component was confusing; see Dmitry Gutov in
424 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
425
426 2013-03-20 Leo Liu <sdl.web@gmail.com>
427
428 * ido.el (ido-chop): Fix bug#10994.
429
430 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
431
432 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
433 Remove vars.
434 (whitespace-color-on, whitespace-color-off):
435 Use `font-lock-fontify-buffer' (Bug#13817).
436
437 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
440 remapping in mode-line.
441 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
442
443 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
444
445 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
446 value for `whitespace-line' face (Bug#13875).
447 (whitespace-font-lock-keywords): Change description.
448 (whitespace-color-on): Don't save `font-lock-keywords' value, save
449 the constructed keywords instead.
450 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
451
452 2013-03-19 Leo Liu <sdl.web@gmail.com>
453
454 * progmodes/compile.el (compilation-display-error): New command.
455 (compilation-mode-map, compilation-minor-mode-map): Bind it to
456 C-o. (Bug#13992)
457
458 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
459
460 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
461
462 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
463
464 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
465
466 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/tramp-compat.el (tramp-compat-user-error): New defun.
469
470 * net/tramp-adb.el (tramp-adb-handle-shell-command):
471 * net/tramp-gvfs.el (top):
472 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
473 (tramp-handle-shell-command): Use it.
474 (tramp-dissect-file-name): Raise an error when hostname is a
475 method name, and neither method nor user is specified.
476
477 * net/trampver.el: Update release number.
478
479 2013-03-18 Leo Liu <sdl.web@gmail.com>
480
481 Make sure eldoc can be turned off properly.
482 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
483 eldoc-mode.
484 (eldoc-display-message-p): Revert last change.
485 (eldoc-display-message-no-interference-p)
486 (eldoc-print-current-symbol-info): Tweak.
487
488 2013-03-18 Tassilo Horn <tsdh@gnu.org>
489
490 * doc-view.el (doc-view-new-window-function): Check the new window
491 overlay's display property instead the char property of the
492 buffer's first char. Use `with-selected-window' instead of
493 `save-window-excursion' with `select-window'.
494 (doc-view-document->bitmap): Check the current doc-view overlay's
495 display property instead the char property of the buffer's first char.
496
497 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
498
499 Automate the build of ja-dic.el (Bug#13984).
500 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
501 from the input, rather than assume that it's been done for us by the
502 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
503 the current date into a ja-dic.el comment, as that complicates
504 regression testing.
505
506 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * whitespace.el: Fix double evaluation.
509 (whitespace-space, whitespace-hspace, whitespace-tab)
510 (whitespace-newline, whitespace-trailing, whitespace-line)
511 (whitespace-space-before-tab, whitespace-indentation)
512 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
513 obsolete defvars.
514 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
515 (whitespace-color-on): Use a single font-lock-add-keywords call.
516 Fix double-evaluation of face variables.
517
518 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp-adb.el (tramp-adb-parse-device-names):
521 Use `start-process' instead of `call-process'. Otherwise, the
522 function might be blocked under MS Windows. (Bug#13299)
523
524 2013-03-17 Leo Liu <sdl.web@gmail.com>
525
526 Extend eldoc to display info in the mode-line. (Bug#13978)
527 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
528 (eldoc-mode-line-string): New variable.
529 (eldoc-minibuffer-message): New function.
530 (eldoc-message-function): New variable.
531 (eldoc-message): Use it.
532 (eldoc-display-message-p)
533 (eldoc-display-message-no-interference-p):
534 Support eldoc-post-insert-mode.
535
536 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
537 (eval-expression): Run it.
538
539 2013-03-17 Roland Winkler <winkler@gnu.org>
540
541 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
542 strings in the list of return values.
543
544 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
545
546 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
547 radix before checking for HMS forms.
548
549 2013-03-16 Leo Liu <sdl.web@gmail.com>
550
551 * progmodes/scheme.el: Add indentation and font-locking for λ.
552 (Bug#13975)
553
554 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
555
556 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
557 token before point (bug#13942).
558
559 2013-03-16 Leo Liu <sdl.web@gmail.com>
560
561 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
562
563 2013-03-16 Eli Zaretskii <eliz@gnu.org>
564
565 * startup.el (command-line-normalize-file-name): Fix handling of
566 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
567 <xfq.free@gmail.com> in
568 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
569
570 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
571
572 Sync with Tramp 2.2.7.
573
574 * net/trampver.el: Update release number.
575
576 2013-03-14 Tassilo Horn <tsdh@gnu.org>
577
578 * doc-view.el Fix bug#13887.
579 (doc-view-insert-image): Don't modify overlay associated to
580 non-live windows, and implement horizontal centering of image in
581 case it's smaller than the window.
582 (doc-view-new-window-function): Force redisplay of new windows on
583 doc-view buffers.
584
585 2013-03-13 Karl Fogel <kfogel@red-bean.com>
586
587 * saveplace.el (save-place-alist-to-file): Don't sort
588 `save-place-alist', just pretty-print it (bug#13882).
589
590 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
591
592 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
593 whether `default-file-name-coding-system' is bound. It isn't in
594 XEmacs.
595
596 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
599 backquotes for `obsolete' (bug#13929).
600
601 * international/mule.el (find-auto-coding): Include file name in
602 obsolescence warning (bug#13922).
603
604 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
605
606 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
607 for CFEngine 3-specific indentation.
608 (cfengine3-indent-line): Use it. Fix up category regex.
609 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
610
611 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * type-break.el (type-break-file-name):
614 * textmodes/remember.el (remember-data-file):
615 * strokes.el (strokes-file):
616 * shadowfile.el (shadow-initialize):
617 * saveplace.el (save-place-file):
618 * ps-bdf.el (bdf-cache-file):
619 * progmodes/idlwave.el (idlwave-config-directory):
620 * net/quickurl.el (quickurl-url-file):
621 * international/kkc.el (kkc-init-file-name):
622 * ido.el (ido-save-directory-list-file):
623 * emulation/viper.el (viper-custom-file-name):
624 * emulation/vip.el (vip-startup-file):
625 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
626 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
627
628 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
629
630 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
631 * language/thai-word.el: Switch to UTF-8.
632
633 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
636
637 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
638
639 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
640 Use with-current-buffer and don't move point.
641 (net-utils-run-simple): Remove useless code.
642 (net-utils-remove-ctl-m): Remove unused custom.
643
644 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
645
646 * international/characters.el (glyphless-set-char-table-range): New fun.
647 (update-glyphless-char-display): Use it (bug#13744).
648
649 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
650
651 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
652 namespaces in the syntax, indent closer for hanging brace
653 correctly, allow single-quote delimited 'strings', and make
654 `cfengine3-mode' the default.
655
656 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
657
658 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
659 Use lexical-binding. Fix up docstring according to conventions.
660 (gdbmi-debug-mode): New var.
661 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
662 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
663 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
664 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
665 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
666 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
667 (gdbmi-bnf-incomplete-record-result): New functions.
668 (gdb-car<): Remove function.
669 (gdbmi-record-list): Remove variable.
670 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
671 (gdbmi-bnf-result-state-configs): New const.
672 (gud-gdbmi-marker-filter): Rewrite.
673 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
674 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
675 Add `token' argument.
676 (gdb-done, gdb-error): New functions.
677 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
678
679 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * term/xterm.el (xterm--report-background-handler): Don't burp
682 upon timeout.
683 (xterm--version-handler): Extract from terminal-init-xterm.
684 (xterm--query): Don't mishandle timeout. Remove debugging messages.
685 Allow multiple handlers.
686 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
687
688 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
689 (xterm--report-background-handler, xterm--query): New functions.
690 (terminal-init-xterm): Use them.
691
692 2013-03-11 Michael R. Mauger <michael@mauger.com>
693
694 * progmodes/sql.el Version 3.2
695 Please note that my address changed to <michael@mauger.com>;
696 the <mmaug@yahoo.com> address remains active.
697 (sql-connection-alist): Updates documentation to fix bug#13715.
698 (sql-connect): Handle missing `sql-connection-alist' correctly.
699 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
700 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
701 property.
702 (sql-default-value): New function.
703 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
704 values were not used.
705 (sql-rename-buffer): Make sure alternate buffer name has no text
706 properties.
707 (sql-input-sender, sql-execute-feature): Fetch variable with
708 `buffer-local-value' rather than `with-current-buffer'.
709 (sql-*): Use #' function syntax consistently.
710 (sql-*): Use message/error/user-error consistently.
711
712 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * xt-mouse.el (xterm-mouse-event-read): Remove.
715 (xterm-mouse--read-event-sequence-1000)
716 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
717
718 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * term/xterm.el (xterm-function-map): Support format used with
721 formatOtherKeys=1 (bug#13839).
722
723 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
724 (with-no-warnings): Use `declare'.
725
726 * whitespace.el (whitespace-enable-predicate): New variable.
727 (whitespace-enable-predicate): Use it.
728
729 * comint.el (comint-send-input, comint-snapshot-last-prompt)
730 (comint-output-filter, comint-update-fence):
731 Use with-silent-modifications.
732
733 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
734
735 * replace.el (occur-read-regexp-defaults-function): New var.
736 (occur-read-regexp-defaults): New defun.
737 (occur-read-primary-args): Propagate above change (bug#13892).
738
739 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * mouse.el (mouse-drag-track): Remove left-over debugging code.
742
743 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
744
745 Major rewrite due to changed D-Bus interface of GVFS 1.14.
746
747 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
748 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
749 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
750 New defconst.
751 (tramp-gvfs-file-name-handler-alist) [directory-files]
752 [directory-files-and-attributes, file-exists-p, file-modes]:
753 Use Tramp default handler.
754 [file-acl, file-selinux-context, process-file, set-file-acl]:
755 [set-file-modes, set-file-selinux-context, shell-command]:
756 [start-file-process]: Remove handler.
757 [verify-visited-file-modtime]: New handler.
758 (tramp-gvfs-dbus-string-to-byte-array)
759 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
760 calls of `dbus-string-to-byte-array' and
761 `tramp-gvfs-dbus-byte-array-to-string'.
762 (tramp-gvfs-handle-copy-file)
763 (tramp-gvfs-handle-delete-directory)
764 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
765 (tramp-gvfs-handle-file-directory-p)
766 (tramp-gvfs-handle-file-executable-p)
767 (tramp-gvfs-handle-file-name-all-completions)
768 (tramp-gvfs-handle-file-readable-p)
769 (tramp-gvfs-handle-file-writable-p)
770 (tramp-gvfs-handle-insert-directory)
771 (tramp-gvfs-handle-insert-file-contents)
772 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
773 (tramp-gvfs-handle-set-visited-file-modtime)
774 (tramp-gvfs-handle-write-region): Rewrite.
775 (tramp-gvfs-handle-file-acl)
776 (tramp-gvfs-handle-file-selinux-context)
777 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
778 (tramp-gvfs-handle-set-file-modes)
779 (tramp-gvfs-handle-set-file-selinux-context)
780 (tramp-gvfs-handle-shell-command)
781 (tramp-gvfs-handle-start-file-process)
782 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
783 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
784 over the symlinks. Fix user handling.
785 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
786 of the D-Bus signals.
787 (tramp-gvfs-connection-mounted-p): Handle different names of the
788 D-Bus methods.
789 (tramp-gvfs-mount-spec-entry): New defun.
790 (tramp-gvfs-mount-spec): Use it.
791 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
792 there is a share name. Handle different names of the D-Bus
793 signals and methods. Set connection properties needed for
794 `tramp-check-cached-permissions'.
795 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
796 Return t or nil.
797
798 * net/tramp.el (tramp-backtrace): Move up.
799 (tramp-error): Dump a backtrace into the debug buffer when
800 `tramp-verbose > 9.
801 (tramp-file-mode-type-map, tramp-file-mode-from-int)
802 (tramp-file-mode-permissions, tramp-get-local-uid)
803 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
804 tramp-sh.el.
805
806 * net/tramp-sh.el (tramp-file-mode-type-map)
807 (tramp-check-cached-permissions, tramp-file-mode-from-int)
808 (tramp-file-mode-permissions, tramp-get-local-uid)
809 (tramp-get-local-gid): Move to tramp.el.
810
811 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 Separate mouse-1-click-follows-link from mouse-drag-region.
814 * mouse.el (mouse--down-1-maybe-follows-link): New function.
815 (key-translation-map): Use it to implement mouse-1-click-follows-link.
816 (mouse-drag-line, mouse-drag-track):
817 Remove mouse-1-click-follows-link code.
818 (mouse--remap-link-click-p): Remove.
819
820 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
821
822 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
823 (hi-lock-read-regexp-defaults): New defun.
824 (hi-lock-line-face-buffer, hi-lock-face-buffer)
825 (hi-lock-face-phrase-buffer): Propagate above change.
826 Update docstring (bug#13892).
827
828 * subr.el (find-tag-default-as-regexp): New defun.
829 * replace.el (read-regexp): Propagate above change.
830
831 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
832
833 * calc/calc-units.el (calc-convert-units): Fix the way that default
834 new units are stored.
835
836 2013-03-07 Matthias Meulien <orontee@gmail.com>
837
838 * bookmark.el: Define a face to highlight bookmark names in
839 bookmark menu buffers, where the default is a bold face similarly
840 to buffer names in buffer menu buffers.
841 (bookmark-menu-bookmark): New face to highlight bookmark names.
842 (bookmark-insert-location): Remove duplicated text property to
843 conform to buffer list (see `list-buffers').
844 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
845 `bookmark-menu-bookmark' to bookmark names.
846
847 2013-03-07 Matthias Meulien <orontee@gmail.com>
848 Karl Fogel <kfogel@red-bean.com>
849
850 * bookmark.el: Display the bookmark list header similarly to the
851 buffer list header (see `list-buffers'), where the default is now
852 an immovable/immutable header line.
853 (bookmark-bmenu-use-header-line): New variable.
854 (bookmark-bmenu-inline-header-height): New name for
855 `bookmark-bmenu-header-height', to avoid confusion with the code
856 for the new immovable header. All references changed.
857 (bookmark-bmenu-set-header): New function.
858 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
859 Conditionalize header construction accordingly.
860 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
861 the inline header height.
862 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
863 Conditionalize the skipping of the inline header height.
864
865 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
866
867 * progmodes/js.el (js--multi-line-declaration-indentation):
868 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
869
870 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
871
872 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
873 Only propertize regexp when not inside a string (Bug#13885).
874
875 2013-03-06 Alan Mackenzie <acm@muc.de>
876
877 Correct the position of point in some line-up functions.
878 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
879 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
880 point at column 0 rather than at a random place in the line.
881
882 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
883
884 * net/tramp-compat.el (tramp-compat-delete-directory):
885 Implement TRASH argument.
886
887 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
888
889 Keep pre-existing highlighting in completion candidates (Bug#13250).
890 * minibuffer.el (completions-first-difference): State that the
891 face is "added" in the docstring.
892 (completions-common-part): Same. And don't inherit from default.
893 (completion-hilit-commonality): Prepend 'completions-common-part
894 and 'completion-first-difference faces to the 'face property,
895 instead of replacing the value(s).
896 (completion--insert-strings): Same with 'completions-annotations face.
897 (completion-hilit-commonality): Use 'face instead of
898 'font-lock-face, because it gets priority if the completion
899 strings already have 'face set.
900
901 2013-03-04 Alan Mackenzie <acm@muc.de>
902
903 Replace `last-command-event' by `last-command-char' in XEmacs.
904 * progmodes/cc-defs.el (c-last-command-char): New macro.
905 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
906 (c-semi&comma-no-newlines-before-nonblanks)
907 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
908 in place of `last-command-event'.
909 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
910 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
911 (c-electric-paren, c-electric-continued-statement): Use the new
912 macro in place of `last-command-event'.
913
914 2013-03-04 Glenn Morris <rgm@gnu.org>
915
916 * files.el (inhibit-local-variables-regexps):
917 Add .diff and .patch. (Bug#13862)
918
919 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
922 whether the "su" command is available on the device.
923
924 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
925
926 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
927 (tramp-adb-handle-process-file): Remove superfluous setting.
928 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
929 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
930 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
931
932 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
935 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
936 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
937 Use dict-key rather than dict-name for the error message.
938
939 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
940
941 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
942 when reverting (bug#13831).
943
944 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
945
946 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
947 Always expand affix-file before storing to protect against changed
948 `default-directory'.
949 (ispell-print-if-debug): Make sure message is printed at the end
950 of the debug buffer.
951
952 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
953
954 * net/tramp.el (tramp-obsolete-methods): New defconst.
955 (tramp-warned-obsolete-methods): New defvar.
956 (tramp-find-method): Check for obsolete methods. Map them to a
957 replacement method if appropriate.
958
959 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
960 Remove methods.
961 (top): Remove completion functions for "scp1", "scp2", "ssh1",
962 "ssh2" and "plink1".
963
964 2013-02-28 Dale Sedivec <dale@codefu.org>
965
966 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
967 Return valid syntax-table property value when converting
968 quotes within text from string syntax to punctuation syntax (bug#13844).
969
970 2013-02-28 Juri Linkov <juri@jurta.org>
971
972 * dired-aux.el (dired-diff): If file at point is a backup file,
973 use its original as the default value, and reverse the order
974 of arguments to the `diff' call. Doc fix. (Bug#13772)
975
976 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
979 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
980
981 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
982
983 Initial support for hunspell dictionaries auto-detection (Bug#13639)
984
985 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
986 Ask hunspell about available and default dictionaries.
987 (ispell-parse-hunspell-affix-file): Extract relevant info from
988 hunspell affix file.
989 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
990 `ispell-dictionary-alist' entry for given dictionary after info
991 provided by `ispell-parse-hunspell-affix-file'.
992 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
993 of parsed hunspell dicts and associated affix files.
994 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
995 of parsed hunspell dicts and associated parameters.
996 (ispell-set-spellchecker-params):
997 Call `ispell-find-hunspell-dictionaries' if hunspell and not
998 previously done.
999 (ispell-start-process):
1000 Call `ispell-hunspell-fill-dictionary-entry' for current
1001 dictionary if it is not initialized.
1002
1003 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * imenu.el: Comment nitpicks.
1006
1007 2013-02-28 Sam Steingold <sds@gnu.org>
1008
1009 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1010 See <http://stackoverflow.com/questions/14720205>.
1011
1012 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1013
1014 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1015 (net-utils-mode): Use it.
1016 (net-utils--revert-cmd): New var.
1017 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1018 (traceroute): Use net-utils-run-simple.
1019
1020 2013-02-28 Glenn Morris <rgm@gnu.org>
1021
1022 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1023
1024 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1027 (doc-view-fallback-mode): Remove overlays here.
1028 (doc-view-toggle-display): Instead of here. Don't throw away
1029 image-mode-winprops-alist.
1030 (doc-view-goto-page): Don't mess with hscroll.
1031
1032 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1033
1034 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1035 &optional (bug#13819).
1036
1037 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1038
1039 * net/tramp-adb.el (tramp-adb-parse-device-names)
1040 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1041
1042 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1043
1044 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1045 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1046 defined. POSIX environments fall back to the "C" locale then and
1047 emit a warning, which shall be suppressed.
1048
1049 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1052 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1053
1054 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1057
1058 2013-02-25 Juri Linkov <juri@jurta.org>
1059
1060 * replace.el (read-regexp): Let-bind `default' to the first
1061 element of `defaults' if it's a list, otherwise it should be
1062 a string or nil. Let-bind `suggestions' to `defaults' if it's
1063 a list, otherwise make a list with the string value. Doc fix.
1064 (Bug#13805)
1065
1066 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1067
1068 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1069 that match "\`\.#", to avoid compiling lock files, even if they
1070 are readable (as they are on MS-Windows).
1071
1072 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * files.el (basic-save-buffer): Remove redundant directory-creation.
1075
1076 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1077
1078 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1079 Add option to force `pi' to remain symbolic.
1080 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1081 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1082 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1083 derivatives, when necessary.
1084
1085 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1086
1087 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1088 (ps-mode-octal-region): Use string-make-unibyte.
1089
1090 2013-02-23 Glenn Morris <rgm@gnu.org>
1091
1092 * emulation/viper-cmd.el (viper-submit-report):
1093 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1094 * progmodes/vera-mode.el (vera-mode-help-address):
1095 * textmodes/artist.el (artist-maintainer-address):
1096 * textmodes/reftex.el (reftex-report-bug):
1097 * vc/ediff-util.el (ediff-submit-report):
1098 Add bug-gnu-emacs to bug report address.
1099
1100 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1101 Remove bug report entries.
1102 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1103
1104 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1105 (byte-compile-file, byte-compile-from-buffer):
1106 Use separate input/output buffers for each level of recursive
1107 byte-compile-file calls. (Bug#13787)
1108
1109 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * net/tramp.el (tramp-methods): Fix docstring.
1112 (tramp-ssh-controlmaster-options): Rename it from
1113 `tramp-ssh-controlmaster-template'. Return a string.
1114 (tramp-default-method): Adapt check for
1115 `tramp-ssh-controlmaster-options'.
1116
1117 * net/tramp-sh.el (tramp-methods):
1118 Replace `tramp-ssh-controlmaster-template' by "%c".
1119 (tramp-do-copy-or-rename-file-out-of-band)
1120 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1121 that it is applied for the first hop only.
1122
1123 2013-02-22 Juri Linkov <juri@jurta.org>
1124
1125 * isearch.el (isearch-lazy-highlight-new-loop):
1126 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1127 to `isearch-other-end' if it is not nil. (Bug#13402)
1128
1129 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1130 to `match-beg'.
1131
1132 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1133 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1134 and `isearch-error' to nil.
1135
1136 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1137
1138 * progmodes/python.el (python-info-current-defun):
1139 Enhance match-data cluttering prevention.
1140
1141 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1142
1143 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1144
1145 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1146 Handle multibyte file names.
1147
1148 2013-02-22 Glenn Morris <rgm@gnu.org>
1149
1150 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1151 (sgml-transformation-function): Give it a :set function.
1152 (sgml-tag): Doc fix.
1153
1154 * cmuscheme.el (scheme-buffer):
1155 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1156 * progmodes/tcl.el (inferior-tcl-buffer):
1157 * textmodes/tex-mode.el (tex-command): Doc fixes.
1158
1159 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1160
1161 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1162
1163 2013-02-21 Bastien Guerry <bzg@gnu.org>
1164
1165 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1166
1167 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1168
1169 * progmodes/python.el (python-info-current-defun):
1170 Enhance match-data cluttering prevention.
1171
1172 2013-02-21 Glenn Morris <rgm@gnu.org>
1173
1174 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1175 loaded while outline-regexp is let bound. (Bug#9584)
1176
1177 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1178
1179 * progmodes/python.el (python-info-current-defun): Fix failed
1180 defun name retrieval because of unwanted match-data cluttering.
1181
1182 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1183
1184 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1185 defconst. Apply independent check for ControlPersist.
1186
1187 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1188 temporarily, via "env".
1189
1190 2013-02-21 Glenn Morris <rgm@gnu.org>
1191
1192 * info.el (Info-enable-edit): Remove.
1193 (Info-edit): Disable it rather than using Info-enable.
1194 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1195 (Info-cease-edit): Make editing of Info files obsolete.
1196
1197 * informat.el (Info-tagify):
1198 Handle buffers not visiting files. (Bug#13763)
1199
1200 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1201
1202 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1203
1204 2013-02-21 Glenn Morris <rgm@gnu.org>
1205
1206 * files.el (basic-save-buffer): Move check for existing parent
1207 directory after hooks. (Bug#13773)
1208
1209 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * simple.el (command-execute): Move from C. Add obsolete check.
1212 (extended-command-history): Move from C.
1213
1214 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1215
1216 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1217 (jka-compr-mode-alist-additions): Handle .txz suffix for
1218 XZ-compressed tar archives (bug#13770).
1219
1220 2013-02-20 Bastien Guerry <bzg@gnu.org>
1221
1222 * outline.el (outline-regexp, outline-heading-end-regexp):
1223 Make variables, not options (bug#13731).
1224
1225 2013-02-20 Glenn Morris <rgm@gnu.org>
1226
1227 * image.el (image-current-frame): Change from variable to function.
1228 (image-show-frame): Rename from image-nth-frame. Update callers.
1229 * image-mode.el (image-multi-frame): New variable.
1230 (image-mode-map, image-mode, image-goto-frame):
1231 Use image-multi-frame rather than image-current-frame.
1232 (image-mode, image-goto-frame): Use image-current-frame as
1233 function rather than as variable.
1234
1235 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1236 * emacs-lisp/cl-macs.el (cl--make-type-test)
1237 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1238
1239 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1240
1241 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1242 (tramp-get-file-property, tramp-set-file-property)
1243 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1244 (tramp-flush-file-property, tramp-flush-directory-property):
1245 Rename argument to KEY.
1246 (tramp-flush-connection-property): Simplify a little bit.
1247 (tramp-connection-property-p): New defun.
1248 (top): Reapply saved values only if there isn't a corresponding
1249 entry in `tramp-connection-properties'.
1250
1251 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1252
1253 * progmodes/python.el (python-indent-context):
1254 Fix python-info-line-ends-backslash-p call.
1255 (python-info-line-ends-backslash-p)
1256 (python-info-beginning-of-backslash): Respect line-number argument.
1257 (python-info-current-line-comment-p):
1258 Fix behavior when not at beginning-of-line.
1259 (python-util-position): Remove function.
1260 (python-util-goto-line): New function.
1261
1262 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1263
1264 * eshell/em-unix.el (eshell/su): Require tramp.
1265 (eshell/sudo): Require tramp. Remove now unnecessary check.
1266
1267 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1268 `tramp-current-connection' in order to avoid an error when several
1269 commands are invoked in a short time in eshell and friends.
1270
1271 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 Cleanup some of EIEIO's namespace.
1274 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1275 Use it to define all the class-* and object-* field accessors (renamed
1276 to eieio--class-* and eieio--object-*). Update all uses.
1277 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1278 class-num-slots and object-num-slots.
1279 (eieio--check-type): New macro.
1280 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1281 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1282 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1283 (object-assoc-list-safe): Use it.
1284 (eieio-defclass): Tighten regexp.
1285 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1286 Remove unreachable code.
1287 (object-class-fast): Declare obsolete.
1288 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1289 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1290 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1291 Rename from class-name, object-name, object-set-name-string,
1292 object-class, object-class-name, class-parents, class-children,
1293 class-precedence-list, class-parent; with obsolete alias.
1294 (class-of, class-direct-superclasses, class-direct-subclasses):
1295 Declare obsolete.
1296 (eieio-defmethod): Use `memq'; remove unreachable code.
1297 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1298 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1299 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1300
1301
1302 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1303
1304 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1305 commentary.
1306
1307 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1308
1309 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1310 Use font-lock-keyword-face for macros and special forms (bug#8345).
1311
1312 2013-02-17 Didier Verna <didier@didierverna.net>
1313
1314 * net/network-stream.el (network-stream-open-starttls):
1315 Check that response to the starttls-command is non-nil. (Bug#13706)
1316
1317 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1320 Don't assume all identifier chars have syntax word.
1321 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1322 Remove bar-not-symbol. Adjust callers.
1323 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1324
1325 2013-02-17 Leo Liu <sdl.web@gmail.com>
1326
1327 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1328
1329 2013-02-17 Glenn Morris <rgm@gnu.org>
1330
1331 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1332
1333 * image-mode.el (image-mode-map): Add image-dired menu entry.
1334
1335 * image-dired.el (tumme): Make this alias obsolete.
1336
1337 2013-02-16 Glenn Morris <rgm@gnu.org>
1338
1339 * image.el (image-animated-types): Remove.
1340 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1341 (image-animated-p): Make obsolete alias.
1342 (image-animate, image-nth-frame, image-animate-timeout):
1343 Use image-multi-frame-p.
1344 (image-animate-timeout): If no delay, use image-default-frame-delay.
1345 * image-mode.el (image-mode, image-toggle-animation):
1346 Use image-multi-frame-p. (Bug#763, bug#10739)
1347 (image-mode): Adjust startup message for a multi-frame image.
1348
1349 * image-mode.el (image-mode-map): Give it a menu.
1350
1351 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1352
1353 * net/tramp-cache.el (tramp-connection-properties): New customer
1354 option.
1355 (tramp-get-connection-property): Use it.
1356
1357 * net/tramp-compat.el (top): Require 'trampver.
1358
1359 * net/tramp-sh.el (tramp-remote-process-environment):
1360 Set tramp-autoload cookie.
1361
1362 2013-02-16 Kevin Ryde <user42@zip.com.au>
1363
1364 * info-look.el (info-lookup-select-mode): If major-mode has no
1365 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1366
1367 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1368
1369 * replace.el (read-regexp): Tighten the regexp that matches tag.
1370 When tag is retrieved with `find-tag-default', use regexp that
1371 matches tag at point. Also update docstring (Bug#13687).
1372
1373 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1374
1375 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1376 add watch for the file, not its parent directory, since w32notify
1377 sets up the watch for the directory internally. (Bug#13725)
1378
1379 2013-02-16 Glenn Morris <rgm@gnu.org>
1380
1381 * image.el (image-default-frame-delay): New variable.
1382 (image-animated-p): Use image-default-frame-delay.
1383 (image-minimum-frame-delay): New constant.
1384 (image-animate-timeout): Use image-minimum-frame-delay.
1385
1386 * image.el (image-nth-frame): New, split from image-animate-timeout.
1387 (image-animate-timeout): Use image-nth-frame.
1388 * image-mode.el (image-goto-frame, image-next-frame)
1389 (image-previous-frame): New commands.
1390 (image-mode-map): Add new frame commands.
1391
1392 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1393
1394 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1395 If col-desc already has help-echo, use it. (Bug#13563)
1396
1397 2013-02-16 Glenn Morris <rgm@gnu.org>
1398
1399 * image.el (image-current-frame): New variable.
1400 (image-animate-timeout): Set image-current-frame.
1401 * image-mode.el (image-mode): For animated images,
1402 display a frame counter via mode-line-process.
1403
1404 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1405
1406 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1409
1410 2013-02-15 Alan Mackenzie <acm@muc.de>
1411
1412 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1413 global minor mode has been enabled, call the minor mode function
1414 for a new buffer once only, after the major mode hook, whilst
1415 allowing that hook explicitly to disable the minor mode.
1416 (MODE-disable-in-buffer): New (generated) function.
1417 (disable-MODE): New (generated) buffer local variable.
1418
1419 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1420
1421 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1422 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1423 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1424 `ido-next-match' and `ido-prev-match' resply.
1425 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1426 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1427 `icomplete-backward-completions' (Bug#13708).
1428
1429 2013-02-15 Glenn Morris <rgm@gnu.org>
1430
1431 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1432
1433 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1436 (goto-address-fontify-region): Use them instead of narrowing, so
1437 syntax-ppss has access to the whole buffer.
1438
1439 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1440
1441 * progmodes/python.el: Explain how to restore "cc-mode"-like
1442 forward-sexp movement in header documentation (Bug#13642).
1443 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1444 comments and strings (GH bug 114).
1445
1446 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1447
1448 * progmodes/python.el (python-info-current-defun): Fix current
1449 defun detection (Bug#13618).
1450
1451 2013-02-15 Chong Yidong <cyd@gnu.org>
1452
1453 * xml.el (xml-parse-string): Fix typo in handling of bad character
1454 references.
1455
1456 2013-02-15 Glenn Morris <rgm@gnu.org>
1457
1458 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1459
1460 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * net/tramp.el (tramp-debug-message):
1463 Add `tramp-condition-case-unless-debug'.
1464 (tramp-debug-on-error): New defvar.
1465 (tramp-condition-case-unless-debug): New defun.
1466 (tramp-file-name-handler): Use it.
1467
1468 2013-02-14 Juri Linkov <juri@jurta.org>
1469
1470 * info.el (Info-isearch-filter): Treat non-nil values of
1471 `search-invisible' including its default value `open'
1472 like the value `t' to match hidden text. (Bug#13402)
1473
1474 2013-02-14 Glenn Morris <rgm@gnu.org>
1475
1476 * help-fns.el (find-lisp-object-file-name): Give special treatment
1477 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1478
1479 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1480
1481 * net/quickurl.el (quickurl-save-urls):
1482 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1483
1484 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1485
1486 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1487 depth for unfinished percent literal. Not using it in the caller.
1488 (ruby-move-to-block): Jump over multiline literals of all types,
1489 ignoring code-looking contents inside them.
1490 (ruby-add-log-current-method): Improve performance at the expense
1491 of accuracy. `ruby-block-contains-point' is relatively slow, so
1492 only use it for method and singleton class blocks.
1493
1494 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1495
1496 Use ControlMaster where applicable. (Bug#13677)
1497
1498 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1499 replacing `tramp-detect-ssh-controlmaster'.
1500 (tramp-default-method): Use it.
1501
1502 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1503 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1504 arguments.
1505 [scpc, rsyncc]: Remove methods.
1506 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1507 and "ssh2_old".
1508 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1509 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1510
1511 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * emacs-lisp/package.el (package--initialized): Move before first use.
1514
1515 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1516
1517 * icomplete.el (icomplete-hide-common-prefix): New user option.
1518 (icomplete-first-match): New face.
1519 (icomplete-completions): Correct handling of "complete but not
1520 unique" (Bug#12638).
1521
1522 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1523
1524 * descr-text.el (describe-char): Display the script (bug#13698).
1525
1526 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * tmm.el: Use lexical-binding and current-active-maps.
1529 (tmm-menubar): Use map-keymap and pcase.
1530 (tmm--completion-table): New function.
1531 (tmm-prompt): Use it to fix the menu order.
1532 (tmm-get-keybind): Use current-active-maps.
1533
1534 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1535
1536 Add dired-hide-details-mode. (Bug#6799)
1537
1538 * locate.el (locate-mode): Set parent mode property to dired-mode.
1539
1540 * find-dired.el (find-dired): Call dired-insert-set-properties on
1541 initial information line. Set process mark on end of buffer.
1542 (find-dired-sentinel):
1543 Call dired-insert-set-properties on summary.
1544
1545 * dired.el (dired-hide-details-hide-symlink-targets)
1546 (dired-hide-details-hide-information-lines): New options.
1547 (dired-insert-directory):
1548 Set properties after final treatment of output.
1549 (dired-insert-set-properties):
1550 Set dired-hide-details-* properties.
1551 (dired-mode-map): Bind dired-hide-details-mode.
1552 (dired-mode): Set buffer-invisibility-spec to a list.
1553 (dired-next-line): Skip hidden lines.
1554 (dired-previous-line): Use dired-next-line.
1555 (dired-hide-details-mode): New minor mode.
1556 (dired-hide-details-update-invisibility-spec): New function.
1557
1558 2013-02-13 Glenn Morris <rgm@gnu.org>
1559
1560 * play/yow.el: Move to obsolete/. (Bug#9384)
1561
1562 2013-02-13 Juri Linkov <juri@jurta.org>
1563
1564 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1565 to select `ediff-control-frame' and set input focus correctly on Xfce.
1566 (Bug#12218)
1567
1568 2013-02-13 Juri Linkov <juri@jurta.org>
1569
1570 * image-mode.el (image-mode-map):
1571 * doc-view.el (doc-view-mode-map):
1572 * vc/ediff-util.el (ediff-setup-keymap):
1573 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1574
1575 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1576
1577 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1578 performance. Instead of recalculating indentation fully for each
1579 line, sum up indentation depth based only on visited lines.
1580 (ruby-parse-partial): Increase the depth after "do" even when END
1581 is right after it.
1582 (ruby-parse-partial): When END is in the middle of a percent
1583 literal, increase the depth if the delimiter chars belong to the
1584 paren syntax class.
1585
1586 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1587
1588 * play/fortune.el (fortune-compile): Also make the compiled file
1589 if it does not exist at all, not just if it is old. (Bug#5338)
1590
1591 2013-02-13 Glenn Morris <rgm@gnu.org>
1592
1593 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1594
1595 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1596
1597 * lisp/emacs-lisp/package.el (package-menu-execute):
1598 Add optional noquery argument. (Bug#13625)
1599
1600 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1601
1602 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1603 if DIR exists and PARENTS is non-nil.
1604
1605 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1606
1607 * progmodes/js.el (js--multi-line-declaration-indentation):
1608 Silence byte-compiler warning.
1609
1610 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1613
1614 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1615 only if it doesn't exist.
1616
1617 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1618 Set process marker.
1619
1620 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1621
1622 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1623 UserInstallation when calling soffice to work around LibreOffice
1624 bug 37531.
1625
1626 2013-02-12 Glenn Morris <rgm@gnu.org>
1627
1628 * files.el (basic-save-buffer):
1629 Offer to create a non-existing directory. (Bug#3016)
1630
1631 * calc/calc-graph.el (calc-graph-show-dumb):
1632 * calendar/calendar.el (calendar-mode-map):
1633 * cus-edit.el (custom-mode-map):
1634 * ehelp.el (electric-help-map):
1635 * emulation/vip.el (vip-mode-map):
1636 * epa.el (epa-key-list-mode-map):
1637 * info.el (Info-mode-map):
1638 * mail/rmail.el (rmail-mode-map):
1639 * mail/rmailsum.el (rmail-summary-mode-map):
1640 * man.el (Man-mode-map):
1641 * net/newst-plainview.el (newsticker-mode-map):
1642 * progmodes/cpp.el (cpp-edit-mode-map):
1643 * progmodes/grep.el (grep-mode-map):
1644 * progmodes/idlw-help.el (idlwave-help-mode-map):
1645 * simple.el (special-mode-map):
1646 * startup.el (splash-screen-keymap):
1647 * view.el (view-mode-map):
1648 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1649
1650 2013-02-11 Elias Pipping <pipping@lavabit.com>
1651
1652 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1653 (bug#13679).
1654
1655 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1658
1659 2013-02-11 Glenn Morris <rgm@gnu.org>
1660
1661 * vc/diff.el (diff-use-labels): New variable.
1662 (diff-no-select): Use --label rather than -L, and first
1663 check that it is supported. (Bug#11067)
1664
1665 * files.el (enable-dir-local-variables): New variable.
1666 (hack-dir-local-variables): Respect enable-dir-local-variables.
1667 * tutorial.el (help-with-tutorial):
1668 Ignore directory-local variables. (Bug#11127)
1669
1670 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1671 (vc-svn-global-switches): ... to here. (Bug#13513)
1672
1673 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1674
1675 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1676 Handle "foo (bar, default: xxx): " prompts.
1677
1678 2013-02-10 Chong Yidong <cyd@gnu.org>
1679
1680 * files.el (basic-save-buffer-1): Do not set
1681 buffer-file-coding-system-explicit (Bug#4533).
1682
1683 * mail/emacsbug.el (report-emacs-bug): Change binding of
1684 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1685
1686 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1687
1688 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1689 * calc/calc-units.el (calc-convert-units): Use new variable.
1690
1691 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1692
1693 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1694
1695 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1696 buffer-file-type.
1697
1698 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1699 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1700 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1701 coding-system-for-write instead.
1702
1703 * jka-compr.el (jka-compr-write-region): Don't bind
1704 buffer-file-type.
1705
1706 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1707 buffer-file-type.
1708
1709 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1710 (insert-file-contents-literally): Remove reference to
1711 file-name-buffer-file-type-alist.
1712
1713 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1714 make-obsolete.
1715 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1716 (find-buffer-file-type-coding-system): Remove references to
1717 find-buffer-file-type-match, find-buffer-file-type, and
1718 buffer-file-type.
1719 Don't put find-buffer-file-type-coding-system into
1720 file-coding-system-alist.
1721 (find-file-binary, find-file-text): Bind coding-system-for-read
1722 instead of file-name-buffer-file-type-alist.
1723
1724 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1725
1726 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1727 converter (Bug#13622).
1728 (doc-view-unoconv-program): Make obsolete alias.
1729 (doc-view-odf->pdf-converter-program): New variable.
1730 (doc-view-odf->pdf-converter-function): New variable.
1731 (doc-view-mode-p): Use it.
1732 (doc-view-odf->pdf-converter-unoconv):
1733 Rename from `doc-view-odf->pdf-converter-unoconv'.
1734 (doc-view-odf->pdf-converter-soffice): New function.
1735 (doc-view-convert-current-doc):
1736 Use `doc-view-odf->pdf-converter-function'.
1737
1738 2013-02-09 Chong Yidong <cyd@gnu.org>
1739
1740 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1741 view-echo-area-messages (Bug#13340).
1742
1743 * help.el (view-echo-area-messages): Use display-buffer.
1744
1745 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1746 (Bug#13561).
1747
1748 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1751 Eval body right away, now that we do eager macroexpansion (bug#13605).
1752
1753 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1754 (fundamental-mode): Use run-mode-hooks.
1755
1756 * eshell/esh-proc.el (eshell/kill): Fix last change.
1757 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1758
1759 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1760
1761 * eshell/esh-proc.el (eshell/kill): Rewrite.
1762
1763 * eshell/em-ls.el (show-almost-all): Declare.
1764 (eshell-do-ls): Add support for -A argument.
1765
1766 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1767
1768 * icomplete.el (icomplete-forward-completions)
1769 (icomplete-backward-completions): Handle corner case (bug#13602).
1770
1771 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1772
1773 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1774 be nil. Handle this. (Bug#13636)
1775
1776 2013-02-07 Richard Stallman <rms@gnu.org>
1777
1778 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1779 `save-buffer-coding-system'.
1780
1781 2013-02-07 Alan Mackenzie <acm@muc.de>
1782
1783 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1784 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1785 (c-parse-state-get-strategy): Don't return 'BOD any more.
1786 (c-append-lower-brace-pair-to-state-cache):
1787 Extra parameter HERE instead of narrowing.
1788 Widen to top of buffer before searching backwards for a brace pair.
1789 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1790 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1791 Narrow to parameter HERE, in place of being called narrowed.
1792 (c-remove-stale-state-cache): Extra parameter HERE in place of
1793 narrowing. Check there's an open brace in the cache before
1794 searching for its match.
1795 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1796 (c-parse-state-1): Don't narrow here for 'forward strategy,
1797 instead passing extra parameter HERE to several functions.
1798 Remove 'BOD strategy.
1799
1800 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1801
1802 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1803 used to install the package.
1804
1805 2013-02-06 Glenn Morris <rgm@gnu.org>
1806
1807 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1808 if we can't get user input. (Bug#6567)
1809
1810 * startup.el (command-line): If simple.el is missing,
1811 test and warn about for some possible causes.
1812
1813 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1814
1815 * cus-start.el (all): Add ns-use-native-fullscreen.
1816
1817 2013-02-05 Glenn Morris <rgm@gnu.org>
1818
1819 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1820
1821 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1822 Fix directory creation in fallback case.
1823
1824 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1825
1826 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1827 (vc-update-change-log): Use dolist.
1828
1829 2013-02-04 Chong Yidong <cyd@gnu.org>
1830
1831 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1832 code from ffap.el.
1833 (thing-at-point-beginning-of-url-regexp): New var.
1834 (thing-at-point-uri-schemes): Update list of URI schemes.
1835 (thing-at-point-url-regexp): Variable deleted.
1836 (thing-at-point-markedup-url-regexp): Disallow newlines.
1837 (thing-at-point-newsgroup-regexp)
1838 (thing-at-point-newsgroup-heads)
1839 (thing-at-point-default-mail-uri-scheme): New variables.
1840 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1841 method to find the possible bounds of the URI at point.
1842 New optional argument to find ill-formed URIs.
1843 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1844 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1845 the scheme-adding heuristics from ffap-url-at-point.
1846 (thing-at-point--bounds-of-well-formed-url): New function.
1847 Do parens matching to decide whether to include parens in the URI
1848 (Bug#9153).
1849
1850 * ffap.el: Require thingatpt.
1851 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1852 All URI-valid characters are now recognized (Bug#5673).
1853 (ffap-string-at-point): Use use-region-p.
1854 (ffap-url-regexp): Extra character is handled by thing-at-point.
1855 (ffap-string-at-point-mode-alist): Allow parentheses.
1856 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1857 Convert to aliases; code moved to thingatpt.el.
1858 (ffap-gnus-hook): Use setq-local.
1859
1860 2013-02-04 Glenn Morris <rgm@gnu.org>
1861
1862 * emacs-lisp/ert.el (ert--explain-format-atom):
1863 Don't try to print non-characters as characters. (Bug#13543)
1864
1865 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1866
1867 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1868 (tramp-backtrace): New defun.
1869 (tramp-handle-insert-file-contents): Use `visit' when inserting
1870 the local copy.
1871
1872 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1873 Use `remote-file-name-inhibit-cache'.
1874
1875 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1878 (bug#13614).
1879
1880 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1881 current-load-list (bug#13366).
1882
1883 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1884
1885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1886 Identify g++ template instantiation trace. (Bug#12287)
1887 (compilation-mode-hook, compilation-start-hook)
1888 (compilation-window-height): Simplify docstrings. (Bug#13379)
1889
1890 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * mouse.el (mouse-drag-track): Always deactivate the mark before
1893 running the final event's command since that command is in charge of
1894 activating the mark if needed (bug#13523).
1895
1896 2013-02-02 Juri Linkov <juri@jurta.org>
1897
1898 * replace.el (perform-replace): Move let-bindings of isearch-*
1899 variables deeper to the loop that searches for the next match.
1900 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1901 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1902 (Bug#13579)
1903
1904 * isearch.el (isearch-search-fun-default): Check for null
1905 first element of isearch-cmds as a precaution when it's used
1906 with inactive isearch.
1907
1908 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1909
1910 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1911 error when buffer in question is narrowed so position 1 is out of
1912 visible part.
1913
1914 2013-02-02 Glenn Morris <rgm@gnu.org>
1915
1916 * textmodes/remember.el (remember-clipboard): Doc fix.
1917
1918 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1921 properties (bug#13179).
1922
1923 2013-02-02 Juri Linkov <juri@jurta.org>
1924
1925 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1926 instead of hard-coded default face `match'. (Bug#9438)
1927
1928 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1929
1930 * vc/vc-arch.el (vc-arch-registered):
1931 * vc/vc-bzr.el (vc-bzr-registered):
1932 * vc/vc-cvs.el (vc-cvs-registered):
1933 * vc/vc-git.el (vc-git-registered):
1934 * vc/vc-hg.el (vc-hg-registered):
1935 * vc/vc-mtn.el (vc-mtn-registered):
1936 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1937 (Bug#13139)
1938
1939 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1940 prefix argument. (Bug#11656)
1941
1942 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1945
1946 2013-02-01 Glenn Morris <rgm@gnu.org>
1947
1948 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1949 if the backend is known not to support it.
1950
1951 * imenu.el (imenu-default-create-index-function):
1952 Tweak infinite loop test to check for forward motion as well as none.
1953
1954 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1955
1956 * net/soap-client.el (soap-invoke): Encode the string for
1957 `url-request-data' as UTF-8.
1958 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1959
1960 2013-02-01 Glenn Morris <rgm@gnu.org>
1961
1962 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1963
1964 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1965
1966 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1967
1968 * net/tramp.el (tramp-tramp-file-p): Comment check for
1969 `string-as-unibyte'. The function does not exist on XEmacs, and
1970 likely we need another approach.
1971
1972 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1973 `tramp-gw-*' variables are bound.
1974
1975 2013-01-31 Glenn Morris <rgm@gnu.org>
1976
1977 * files.el (basic-save-buffer-2): Choose coding system for
1978 writing the file before backing it up, to reduce delay between
1979 backing up and writing the new version. (Bug#13522)
1980
1981 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1982
1983 * simple.el (cycle-spacing): New command.
1984 (just-one-space): Use it.
1985
1986 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1989 (opascal-newline-always-indents): Remove custom.
1990 (opascal-tab, opascal-newline): Remove commands.
1991 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1992 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1993 (opascal-save-match-data): Remove, use save-match-data instead.
1994 (opascal-save-state): Use with-silent-modifications.
1995
1996 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1997 (bug#13585).
1998
1999 2013-01-30 Juri Linkov <juri@jurta.org>
2000
2001 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2002 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2003 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2004
2005 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2008 column if we're just deleting the backslashes.
2009 (makefile-fill-paragraph): Use eolp.
2010
2011 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * autorevert.el (auto-revert-use-notify): Fix docstring.
2014
2015 2013-01-30 Leo Liu <sdl.web@gmail.com>
2016
2017 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2018
2019 2013-01-30 Glenn Morris <rgm@gnu.org>
2020
2021 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2022 unread-command-events twice in some cases. This tries to implement
2023 the 2012-07-26 changes in a different way. (Bug#13560)
2024
2025 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2026
2027 * progmodes/python.el
2028 (python-pdbtrack-comint-output-filter-function): Enhancements on
2029 stacktrace detection. (thanks @gnovak)
2030
2031 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2034 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2035 Use defvar-local.
2036 (jit-lock-register): Use setq-local.
2037
2038 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2039
2040 * calc-units.el (math-default-units-table): Remove initial value.
2041 (calc-convert-units): Treat expressions where all the units cancel as
2042 if they didn't have units.
2043
2044 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2045
2046 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2047 (tramp-completion-reread-directory-timeout): Fix type.
2048 (tramp-connection-min-time-diff): New defcustom.
2049
2050 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2051
2052 2013-01-30 Glenn Morris <rgm@gnu.org>
2053
2054 * imenu.el (imenu-default-create-index-function):
2055 Put back a version of the infinite loop test removed 2013-01-23.
2056
2057 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2058
2059 * progmodes/python.el (python-shell-parse-command):
2060 Find python-shell-interpreter with modified environment.
2061
2062 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2065
2066 2013-01-29 Alan Mackenzie <acm@muc.de>
2067
2068 Amend to fontify /regexp/s in actions correctly.
2069 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2070 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2071 are no longer included.
2072 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2073 What used to be these variables without "-line" in the name.
2074 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2075 (c-awk-non-arith-op-bra-re): Now also matches {.
2076 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2077 "return", and "case".
2078 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2079 by /.
2080 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2081 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2082
2083 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2084
2085 * autorevert.el (auto-revert-use-notify):
2086 Use `custom-initialize-default' for initialization. (Bug#13583)
2087
2088 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2089
2090 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2091 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2092 in `tramp-file-name-handler'.
2093 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2094 compatibility.
2095 (tramp-compute-multi-hops): Check, whether
2096 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2097
2098 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2101 (bug#13297).
2102
2103 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2104
2105 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2106 checks made superfluous by the \_< operator.
2107 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2108 temporarily) broken indentation.
2109 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2110 Highlight nested constants, too. \_< broke that.
2111
2112 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2113
2114 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2115 instead of "\\b".
2116
2117 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2118
2119 * autorevert.el (auto-revert-handler): Notifications which result
2120 from a saved file shall not be taken into account. (Bug#13557)
2121
2122 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2123
2124 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2125 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2126 (lisp-mode): Pass t for it. (Bug#13556)
2127
2128 2013-01-25 Alan Mackenzie <acm@muc.de>
2129
2130 AWK Mode: Fix indentation bug at top level. Bug #12274.
2131
2132 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2133 just before CASE 5D.
2134
2135 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2136
2137 * net/socks.el (socks-nslookup-host): Use string-to-number.
2138
2139 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2140
2141 * autorevert.el (auto-revert-remote-files)
2142 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2143 (auto-revert-notify-enabled, auto-revert-use-notify)
2144 (auto-revert-notify-watch-descriptor-hash-list)
2145 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2146 (auto-revert-notify-event-descriptor)
2147 (auto-revert-notify-event-action)
2148 (auto-revert-notify-event-file-name): Doc fix.
2149 (global-auto-revert-mode): Reorder checks.
2150 (auto-revert-notify-rm-watch): Respect changed values of
2151 `auto-revert-notify-watch-descriptor-hash-list'.
2152 (auto-revert-notify-add-watch): Check for
2153 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2154 `inotify-add-watch'. Watch `default-directory' instead of
2155 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2156 has a changed meaning now. (Bug#13540)
2157 (auto-revert-notify-handler): Change implementation wrt events
2158 returning from a directory.
2159 (auto-revert-handler): Reorder implementation for checks of remote
2160 files.
2161 (auto-revert-buffers): Fix parentheses error.
2162
2163 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2164
2165 * progmodes/python.el: Enhancements to header documentation about
2166 skeletons. (Bug#5716)
2167
2168 * imenu.el (imenu-default-create-index-function): Remove useless
2169 infinite loop check. (Bug#13438)
2170
2171 2013-01-25 Alan Mackenzie <acm@muc.de>
2172
2173 Fix a bug in the state cache mechanism. Refactor this a bit.
2174
2175 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2176 `cache-pos' element from the return value.
2177 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2178 buffer to enable proper searching from beyond HERE. Amend the
2179 test for detecting the sought brace pair. Amend the value written
2180 to the "brace desert cache" when the brace isn't found.
2181 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2182 and several other variables analogously.
2183 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2184 parameter to a locally calculated variable.
2185 (c-parse-state-1): Change the calling conventions to the two
2186 defuns involving `cache-pos'.
2187
2188 2013-01-25 Chong Yidong <cyd@gnu.org>
2189
2190 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2191
2192 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2193
2194 * paren.el (show-paren-function): Make sure to set 'priority and
2195 'face only if the overlay does exist.
2196
2197 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2200
2201 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2202 basic attributes.
2203 (tramp-sh-handle-set-file-acl): Improve error checking.
2204
2205 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2206
2207 * doc-view.el (doc-view-display): Force mode line update until all
2208 document is converted. Suggested by Stefan Monnier (Bug#13164).
2209
2210 2013-01-23 Bastien Guerry <bzg@gnu.org>
2211
2212 * paren.el (show-paren-function): Make sure an overlay exists
2213 before trying to delete it. Also use `pos' as a position only
2214 when it is an integer.
2215
2216 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2217
2218 * play/gametree.el (gametree-break-line-here): Use point-marker.
2219
2220 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2221
2222 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2223 Mark descriptive parts with `display' property.
2224
2225 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2226
2227 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2228 New variable to map standard dict names to hunspell ones.
2229 (ispell-set-spellchecker-params): Make sure specific dict names
2230 are used for standard dicts with hunspell.
2231
2232 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2233
2234 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2235 chars for note (%N) and url (%U).
2236 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2237
2238 2013-01-21 Juri Linkov <juri@jurta.org>
2239
2240 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2241 in addition to existing separate binding `meta f10' in `global-map'.
2242 (Bug#13484)
2243
2244 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2245
2246 Improve XEmacs compatibility.
2247
2248 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2249
2250 * net/tramp-adb.el (top): Require `time-date'.
2251 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2252 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2253 Use `tramp-file-name-handler'.
2254 (tramp-adb-maybe-open-connection):
2255 Use `tramp-compat-set-process-query-on-exit-flag'.
2256
2257 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2258 Use `tramp-compat-funcall'.
2259
2260 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2261 `tramp-compat-funcall'.
2262
2263 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2264
2265 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2266 reimplementation using "adb shell command ..." instead of running
2267 remote shell interactively.
2268
2269 2013-01-20 Glenn Morris <rgm@gnu.org>
2270
2271 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2272 Add native profiler menu entries.
2273
2274 * profiler.el (profiler-running-p): New function.
2275 (profiler-cpu-profile): Use profiler-running-p.
2276 (profiler-report-mode-map): Add some more menu entries.
2277
2278 2013-01-19 Glenn Morris <rgm@gnu.org>
2279
2280 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2281 fixes 2012-12-07 change. (Bug#13499)
2282
2283 2013-01-19 Leo Liu <sdl.web@gmail.com>
2284
2285 * dired.el (dired-get-marked-files): Prune erroneous values due to
2286 last change. (Bug#13152)
2287
2288 2013-01-19 Glenn Morris <rgm@gnu.org>
2289
2290 * progmodes/etags.el (tags-table-check-computed-list):
2291 Preserve point in tags buffer. (Bug#13412)
2292
2293 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2294
2295 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2296 Chong Yidong <cyd@gnu.org>
2297
2298 * image-mode.el (image-next-file, image-previous-file):
2299 New commands (Bug#8453).
2300 (image-mode-map): Bind them to n and p.
2301 (image-mode--images-in-directory): New helper function.
2302
2303 2013-01-19 Chong Yidong <cyd@gnu.org>
2304
2305 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2306 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2307 save and restore the old window configuration.
2308
2309 2013-01-18 Leo Liu <sdl.web@gmail.com>
2310
2311 * progmodes/js.el: Tweak autoload cookie for alias.
2312
2313 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2314
2315 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2316 buffer local, again. This was lost with the fix on 2013-01-12.
2317
2318 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2319
2320 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2321 order to support several eshell buffers in parallel.
2322
2323 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2324
2325 * autorevert.el (auto-revert-use-notify): In the :set function, do
2326 not modify `kill-buffer-hook'.
2327 (auto-revert-notify-rm-watch):
2328 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2329 (auto-revert-notify-add-watch): Do not call
2330 `auto-revert-notify-rm-watch', but add it to a buffer local
2331 `kill-buffer-hook'.
2332
2333 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2336 call to `eval' rather than a backquoted lambda.
2337
2338 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2341 to return an explicit nil.
2342 (advice--remove-function): Change accordingly.
2343
2344 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2345 the use of nadvice.el.
2346
2347 * progmodes/which-func.el (which-function): Silence imenu errors
2348 (bug#13433).
2349
2350 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2351
2352 * progmodes/sql.el: (sql-imenu-generic-expression):
2353 (sql-mode-font-lock-object-name): Match schema qualified names.
2354 (sql-connect): Use string keys.
2355 (sql-product-interactive): Wait for interpreter prompt.
2356 (sql-comint-oracle): Set process coding based on NLS_LANG.
2357
2358 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2359
2360 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2361 (sql-interactive-remove-continuation-prompt):
2362 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2363
2364 2013-01-14 Leo Liu <sdl.web@gmail.com>
2365
2366 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2367 (Bug#13420)
2368
2369 2013-01-14 Glenn Morris <rgm@gnu.org>
2370
2371 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2372 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2373
2374 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2375
2376 * progmodes/python.el (python-nav-end-of-statement):
2377 Fix cornercase when handling multiline strings.
2378
2379 2013-01-13 Richard Stallman <rms@gnu.org>
2380
2381 * mail/sendmail.el (mail-position-on-field): Add doc string.
2382
2383 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2384 Get current message boundaries and pass them to
2385 message-forward-make-body-mime. Minor style changes.
2386
2387 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2388
2389 * cus-start.el (all): Avoid warnings about
2390 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2391
2392 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2393
2394 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2395
2396 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2399 (jit-lock--debug-fontifying): New var.
2400 (jit-lock--debug-fontify): New function.
2401 * subr.el (condition-case-unless-debug): Don't prevent catching the
2402 error, just let the debbugger run.
2403 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2404 timer code and don't drop errors silently.
2405
2406 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2409 `permanent-local' property.
2410 (auto-revert-notify-handler): Use `file-equal-p'.
2411
2412 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2413
2414 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2415 file notification by ACTION. For filtering by file name, compare
2416 only the non-directory part of the file name.
2417
2418 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * autorevert.el: Use cl-lib instead of cl.
2421
2422 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2423 (vc-bzr-checkin): Use it.
2424 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2425 will preserve match-data.
2426
2427 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2428
2429 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2430 (js--declaration-keyword-re): New var.
2431 (js--multi-line-declaration-indentation): New function.
2432 (js--proper-indentation): Use it.
2433
2434 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2435
2436 * calc/calc.el (calc-highlight-selections-with-faces)
2437 (calc-dispatch):
2438 * comint.el (comint-history-isearch-message):
2439 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2440 * ffap.el (ffap-string-at-point-region, ffap-next)
2441 (ffap-string-at-point, ffap-string-around)
2442 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2443 (ffap-literally):
2444 * font-lock.el (font-lock-keywords-alist)
2445 (font-lock-removed-keywords-alist):
2446 * help-mode.el (help-xref-symbol-regexp):
2447 * info.el (Info-find-emacs-command-nodes):
2448 * international/mule.el (add-to-coding-system-list):
2449 * isearch.el (isearch-message-function, isearch-fail-pos):
2450 * misearch.el (multi-isearch-next-buffer-function):
2451 * newcomment.el (comment-box):
2452 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2453 (pr-setting-database):
2454 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2455 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2456 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2457 (pike-font-lock-keywords-3):
2458 * progmodes/compile.el (compile):
2459 * progmodes/etags.el (tags-table-files)
2460 (tags-table-files-function, tags-included-tables-function):
2461 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2462 (gdb-restore-windows):
2463 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2464 (ps-n-up-filling-database):
2465 * server.el (server-buffer, server-log):
2466 * simple.el (newline, delete-backward-char, delete-forward-char)
2467 (minibuffer-history-isearch-message, kill-line, track-eol)
2468 (temporary-goal-column):
2469 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2470 (flyspell-default-deplacement-commands):
2471 * textmodes/ispell.el (ispell-accept-output):
2472 * textmodes/sgml-mode.el (html-tag-help):
2473 * vc/compare-w.el (compare-ignore-whitespace)
2474 (compare-ignore-case, compare-windows-dehighlight):
2475 * vc/diff.el (diff):
2476 * whitespace.el (whitespace-point)
2477 (whitespace-font-lock-refontify, whitespace-bob-marker)
2478 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2479
2480 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2481
2482 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2483 (auto-revert-notify-rm-watch): Ignore errors.
2484 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2485 inotify, and '(size last-write-time) for w32notify.
2486 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2487 watch fails - this is a fallback to the file modification check.
2488 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2489 (auto-revert-notify-event-action)
2490 (auto-revert-notify-event-file-name): New defuns.
2491 (auto-revert-notify-handler): Use them. Implement first
2492 plausibility checks.
2493 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2494
2495 2013-01-11 Julien Danjou <julien@danjou.info>
2496
2497 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2498 max are almost equal. Also return the correct value for V which is
2499 already between 0 and 1.
2500
2501 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2502
2503 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2504
2505 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2506
2507 * autorevert.el (auto-revert-notify-rm-watch)
2508 (auto-revert-notify-add-watch): Fix typos in w32notify function
2509 names.
2510
2511 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * autorevert.el (auto-revert-notify-enabled): Move up.
2514 (auto-revert-use-notify): New defcustom.
2515 (auto-revert-mode, global-auto-revert-mode)
2516 (auto-revert-notify-add-watch, auto-revert-handler)
2517 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2518 `auto-revert-notify-enabled'.
2519
2520 2013-01-10 Elias Pipping <pipping@exherbo.org>
2521
2522 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2523 * doc-view.el (doc-view-document->bitmap):
2524 Use doc-view-single-page-converter-function instead of
2525 single-page-converter arg; adjust callers.
2526
2527 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2528
2529 * progmodes/which-func.el (which-function): Understand Semantic's use
2530 of overlays in imenu--index-alist.
2531
2532 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2533
2534 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2535 (Man-man-k-use-anchor): New var.
2536 (Man-parse-man-k): New function.
2537 (Man-completion-table): Use it.
2538 (man): Flush the completion cache between uses.
2539
2540 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2541
2542 * autorevert.el: Add file watch support.
2543 (auto-revert-notify-enabled): New defconst.
2544 (auto-revert-notify-watch-descriptor-hash-list)
2545 (auto-revert-notify-watch-descriptor)
2546 (auto-revert-notify-modified-p): New defvars.
2547 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2548 (auto-revert-notify-handler): New defuns.
2549 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2550 when mode is disabled.
2551 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2552 (auto-revert-buffers): Add file watches for active buffers.
2553
2554 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2555
2556 * cus-start.el (toplevel): Only allow float values for
2557 scroll-up-aggressively and scroll-down-aggressively.
2558 Allow any number for line-spacing.
2559
2560 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2563 (doc-view-pdf->png-converter-function): Use mupdf if available.
2564 (doc-view-djvu->png-converter-function)
2565 (doc-view-ps->png-converter-function): Remove.
2566 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2567 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2568 (doc-view-already-converted-p): Adjust accordingly.
2569 (doc-view-mode-p): Simplify.
2570 (doc-view-enlarge): Use setq-local.
2571 (doc-view-pdf->png-converter-ghostscript)
2572 (doc-view-djvu->png-converter-ddjvu)
2573 (doc-view-pdf->png-converter-mupdf): Rework to call
2574 doc-view-start-process directly.
2575 (doc-view-pdf/ps->png): Simplify accordingly.
2576 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2577 (doc-view-document->bitmap): Rename from doc-view-document->png.
2578 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2579 (doc-view-set-slice-from-bounding-box): Fix completion table.
2580 (doc-view-mode): Use add-hook for after-revert-hook.
2581
2582 2013-01-10 Glenn Morris <rgm@gnu.org>
2583
2584 * emacs-lisp/authors.el (authors-ignored-files)
2585 (authors-valid-file-names, authors-renamed-files-alist):
2586 Add some more entries.
2587
2588 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2589
2590 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2591 `t' pseudo-window entry.
2592
2593 2013-01-10 Alan Mackenzie <acm@muc.de>
2594
2595 Fix bugs in the c-parse-state mechanism. Reuse some markers
2596 instead of continually generating new ones.
2597
2598 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2599 (c-state-old-cpp-end-marker): New variables.
2600 (c-append-lower-brace-pair-to-state-cache): Start a backward
2601 search for "}" definitively outside CPP constructs.
2602 (c-remove-stale-state-cache): Inform the caller of a need to
2603 search back for a brace pair in certain circumstances.
2604 (c-state-maybe-marker): New macro.
2605 (c-parse-state): Reuse markers when appropriate.
2606
2607 2013-01-10 Glenn Morris <rgm@gnu.org>
2608
2609 * simple.el (execute-extended-command): Doc fix.
2610 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2611
2612 2013-01-10 Chong Yidong <cyd@gnu.org>
2613
2614 * faces.el (read-face-name): Doc fix.
2615
2616 2013-01-10 Roland Winkler <winkler@gnu.org>
2617
2618 * emacs-lisp/crm.el: Allow any regexp for separators.
2619 (crm-default-separator): All spaces around the default comma separator.
2620 (crm--completion-command): New macro.
2621 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2622 (crm-complete-and-exit): Handle non-single-char separators.
2623
2624 2013-01-09 Elias Pipping <pipping@lavabit.com>
2625
2626 * doc-view.el: Add support for DjVu (bug#13164).
2627 (doc-view-djvu->png-converter-function): New config var.
2628 (doc-view-single-page-converter-function, doc-view--image-type)
2629 (doc-view--image-file-extension): New vars.
2630 (doc-view-mode): Initialize them.
2631 (doc-view-goto-page): Use them.
2632 (doc-view-mode-p): Add support for ddjvu.
2633 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2634 (doc-view-set-up-single-converter): New funs.
2635 (doc-view-pdf/ps->png): Extend for djvu.
2636 (doc-view-document->png): Rename from doc-view-pdf->png.
2637 (doc-view-convert-current-doc): Handle djvu.
2638 (doc-view-insert-image, doc-view-display)
2639 (doc-view-already-converted-p): Don't hardcode png.
2640 (doc-view-set-doc-type): Recognize djvu docs.
2641
2642 2013-01-09 Elias Pipping <pipping@lavabit.com>
2643
2644 * doc-view.el: Add support for mupdf converter (bug#13164).
2645 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2646 (doc-view-ps->png-converter-function): New config vars.
2647 (doc-view-pdf->png-converter-ghostscript)
2648 (doc-view-ps->png-converter-ghostscript)
2649 (doc-view-pdf->png-converter-mupdf): New functions.
2650 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2651
2652 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2653
2654 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2655 first in session cache: When `tramp-own-remote-path' is in
2656 `tramp-remote-path', the remote path is only set in the session
2657 cache.
2658
2659 2013-01-09 Glenn Morris <rgm@gnu.org>
2660
2661 * emacs-lisp/trace.el (trace-function-foreground)
2662 (trace-function-background): Doc fix.
2663
2664 2013-01-09 Juri Linkov <juri@jurta.org>
2665
2666 * international/mule-cmds.el (read-char-by-name): Move let-binding
2667 of completion-ignore-case around completing-read to fix regression
2668 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2669 `string-match-p' using the nil value of `case-fold-search' and
2670 `completion-ignore-case' in `completion-pcm--all-completions'.
2671 (Bug#12615).
2672
2673 2013-01-09 Glenn Morris <rgm@gnu.org>
2674
2675 * progmodes/compile.el (compilation-parse-errors):
2676 Fix typo. (Bug#13369)
2677
2678 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2679
2680 * comint.el (comint-send-input): Check size of buffer before
2681 waiting for process output, in case already accepted. (Bug#13290)
2682
2683 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2684
2685 Spelling fixes.
2686 * net/tramp-adb.el (tramp-adb-get-toolbox):
2687 Fix misspelling of 'unknown'.
2688
2689 2013-01-08 Juri Linkov <juri@jurta.org>
2690
2691 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2692 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2693 Use underline style wave on terminals that support it. (Bug#13000)
2694
2695 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2698 the predicate returns nil.
2699
2700 * simple.el: Use lexical-binding.
2701 (primitive-undo): Use pcase.
2702 (minibuffer-history-isearch-push-state): Use a closure.
2703
2704 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2705
2706 * simple.el (primitive-undo): Move from undo.c.
2707
2708 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2711 (cvs-mode-remove-handled): Use it (bug#13380).
2712
2713 * emacs-lisp/nadvice.el (advice--tweak): New function.
2714 (advice--remove-function, advice--subst-main): Use it.
2715
2716 * emacs-lisp/advice.el: Update commentary.
2717
2718 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2719
2720 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2721 Remove spurious entry.
2722
2723 2013-01-08 Glenn Morris <rgm@gnu.org>
2724
2725 * net/tramp.el (tramp-default-host-alist): Add :version.
2726
2727 2013-01-08 Juri Linkov <juri@jurta.org>
2728
2729 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2730 single completion. (Bug#12456)
2731 (info--manual-names): Expand node completions into an explicit list
2732 before appending it to another list. Filter out internal buffers
2733 with the leading space in the buffer name. (Bug#10771)
2734
2735 2013-01-08 Juri Linkov <juri@jurta.org>
2736
2737 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2738 that defaults to the Top node.
2739 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2740 the short format (FILENAME) goes to the Top node.
2741 (Info-build-node-completions): Rename arg `file' to `filename'.
2742 (Bug#13365)
2743
2744 2013-01-07 Bastien Guerry <bzg@gnu.org>
2745
2746 * menu-bar.el (menu-bar-search-documentation-menu):
2747 Use `apropos-user-option' and fix the help message.
2748
2749 2013-01-07 Bastien Guerry <bzg@gnu.org>
2750
2751 * apropos.el (apropos-do-all): Update docstring.
2752 (apropos-user-option-button): New face.
2753 (apropos-user-option): Rename from `apropos-variable' and update
2754 docstring.
2755 (apropos-variable): Rewrite, now show all variables by default.
2756 (apropos-print): Mention "User option" instead of "Variable" when
2757 printing doc for user options. (Bug#13276)
2758
2759 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2760
2761 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2762 Handle filename correctly, when parsing "source -> target" symlink
2763 output.
2764 (tramp-adb-handle-set-file-times): New defun.
2765
2766 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2769 advice list when the interactive-spec of ad-Advice-* changes.
2770
2771 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2772
2773 * wid-edit.el (widget-default-get): Work for inlined elements.
2774 (Bug#12670)
2775
2776 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * net/tramp.el (tramp-default-host-alist): New defcustom.
2779 (tramp-find-host): Use it.
2780 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2781 `eshell-directory-change-hook'.
2782
2783 * net/tramp-adb.el (top): Add adb specific entry in
2784 `tramp-default-host-alist'.
2785 (tramp-adb-file-name-host): Remove function.
2786 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2787 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2788
2789 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2790
2791 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2792
2793 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2794
2795 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2796
2797 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2798 consist of more than one digit.
2799 (tramp-adb-file-name-handler-alist):
2800 Use `tramp-handle-file-exists-p' consistently.
2801 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2802 (tramp-adb-handle-file-exists-p): Remove function.
2803 (tramp-adb-file-name-host): New defun.
2804 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2805 Use it.
2806 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2807
2808 2013-01-06 Chong Yidong <cyd@gnu.org>
2809
2810 * vc/vc.el (vc-next-action): Detect buffer modifications
2811 conflicting with locking VCS operation (Bug#11490).
2812
2813 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2814
2815 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2816
2817 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2818 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2819
2820 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2821
2822 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2823 parsing of ls output using regular expression (handle filenames
2824 with spaces). Use virtual device number.
2825 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2826 cleanup).
2827
2828 2013-01-04 Daiki Ueno <ueno@gnu.org>
2829
2830 * epg.el: Silence byte-compiler warnings.
2831 (epg--start): Use delete-char instead of delete-backward-char.
2832 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2833
2834 2013-01-04 Daiki Ueno <ueno@gnu.org>
2835
2836 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2837 Suggested by Eli Zaretskii <eliz@gnu.org>.
2838
2839 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2840
2841 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2842 non-negative integers. Otherwise, the default values are used.
2843 (tramp-convert-file-attributes): Convert uid and gid to integers.
2844
2845 2013-01-04 Glenn Morris <rgm@gnu.org>
2846
2847 * term.el (term-handle-colors-array): Ensure face attributes
2848 are fully specified, not nil. (Bug#13337)
2849
2850 * term.el (term-default-fg-color, term-default-bg-color):
2851 Fix custom type.
2852
2853 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2854 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2855 rather than 'jka-compr being loaded. (Bug#13338)
2856
2857 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2858
2859 * icomplete.el (icomplete-completions):
2860 Honor icomplete-prospects-height once more following
2861 2012-11-29 changes. (Bug#13224)
2862
2863 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2864
2865 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2866 of called-interactively-p as well (bug#13237).
2867
2868 * view.el (view--enable, view--disable): Rename from view-mode-enable
2869 and view-mode-disable and assume it's called from view-mode.
2870 (view-mode-enable, view-mode-disable): Redefine as obsolete
2871 compatibility layer above view-mode.
2872 (view-mode-enter): Call `view-mode'.
2873
2874 * files.el (after-find-file): Call `view-mode'.
2875
2876 * doc-view.el (doc-view-scale-internally): New var.
2877 (doc-view-enlarge, doc-view-insert-image): Obey it.
2878
2879 2013-01-03 Daiki Ueno <ueno@gnu.org>
2880
2881 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2882 exist. (Bug#13344)
2883
2884 2013-01-03 Glenn Morris <rgm@gnu.org>
2885
2886 * mail/rmail.el (rmail-set-header-1): Ignore case.
2887 Handle multi-line headers. (Bug#13330)
2888
2889 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2890 Handle paragraph starting at beginning of buffer.
2891
2892 * subr.el (eval-after-load): Don't purecopy the form, so that it
2893 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2894
2895 * emacs-lisp/byte-run.el (defun): Place cl declarations
2896 after any interactive spec. (Bug#13265)
2897
2898 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2899
2900 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2901 defun. Don't check for DECL if DOCSTRING isn't a string.
2902 (defun): Likewise.
2903
2904 2013-01-02 Glenn Morris <rgm@gnu.org>
2905
2906 * eshell/em-cmpl.el (eshell-pcomplete):
2907 More thoroughly imitate pcomplete. (Bug#13293)
2908
2909 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2910 Return nil for empty path elements. (Bug#13296)
2911
2912 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2913
2914 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2915 order to improve efficiency (Based on Daniel Colascione's
2916 <dancol@dancol.org> patch). (Bug#13182)
2917
2918 2013-01-02 Glenn Morris <rgm@gnu.org>
2919
2920 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2921
2922 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2923
2924 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2925 neither DOCSTRING nor DECL was given. (Bug#13316)
2926
2927 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2930 `error' call.
2931 (tramp-do-copy-or-rename-file): Ignore errors when calling
2932 `set-file-extended-attributes'.
2933
2934 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2935 Add handler for `file-acl'.
2936 (tramp-smb-handle-file-acl): New defun.
2937
2938 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2939
2940 * calc/README: Mention ISO 8601 week-numbering dates.
2941
2942 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2943
2944 * view.el (view-mode-enable): New argument run-view-mode-hook.
2945 Run view-mode-hook only when it's non-nil (Bug#13315).
2946 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2947 argument t.
2948
2949 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2950
2951 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2952 (No device connected, invalid device name). (Bug #13299)
2953
2954 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2955
2956 * window.el (window-resizable--p): Rename to window-resizable-p.
2957 (window-resize-no-error): New function.
2958
2959 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2960 broken in fix from 2012-12-28.
2961
2962 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * subr.el (special-form-p): Don't signal errors on undef aliases.
2965
2966 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2967
2968 * calc/calc-forms.el (math-parse-date): Try using
2969 `math-parse-iso-date' when it looks like it might be needed.
2970 Allow times of 24:00.
2971 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2972 of 24:00.
2973
2974 2012-12-30 Glenn Morris <rgm@gnu.org>
2975
2976 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2977 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2978 (rmail-summary-displayed, rmail-summary): Declare.
2979 (mairix-rmail-display): Just require rmail.
2980
2981 2012-12-30 Chong Yidong <cyd@gnu.org>
2982
2983 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2984 check for the tarball contents.
2985
2986 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2987
2988 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2989 tarfile content listings (Bug#13136).
2990
2991 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2992
2993 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2994 Insert the undecoded text of the message being forwarded. (Bug#9521)
2995
2996 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2999 integers, if they are real numbers. (Bug#13282)
3000
3001 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3002 Return `t' on success.
3003
3004 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3005 Add handler for `set-file-selinux-context'.
3006
3007 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3010 (tramp-sh-handle-set-file-acl): Return `t' on success.
3011
3012 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3013
3014 * files.el (backup-buffer-copy, basic-save-buffer-2):
3015 If set-file-extended-attributes fails, fall back on set-file-modes
3016 instead of signaling an error. (Bug#13298)
3017 (basic-save-buffer): Likewise.
3018
3019 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3020
3021 * progmodes/python.el: Support other commands triggering
3022 python-indent-line so indentation cycling continues to work.
3023 (python-indent-trigger-commands): New defcustom.
3024 (python-indent-line): Use it.
3025
3026 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3027
3028 * progmodes/python.el (python-shell-send-region): Add blank lines
3029 for non sent code so backtraces remain correct.
3030
3031 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3032
3033 * progmodes/python.el: Remove cl dependency.
3034 (python-syntax-count-quotes): Replace incf call.
3035 (python-fill-string): Replace setf call.
3036
3037 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3038
3039 * info.el (info-other-window): New arg, for consistency with info.
3040
3041 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3042
3043 * mail/rmail.el (rmail-maybe-display-summary):
3044 Rewrite (Bug#13066).
3045
3046 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3047
3048 * epg.el (epg--start): Modify process-environment locally.
3049
3050 2012-12-28 Daiki Ueno <ueno@gnu.org>
3051
3052 * epg.el: Support pinentry-curses.
3053 Suggested by Werner Koch in
3054 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3055 (epg-agent-file, epg-agent-mtime): New variable.
3056 (epg--start): Record the modified time of gpg-agent socket file,
3057 to restore Emacs frame after pinentry-curses termination.
3058 (epg-wait-for-completion): Restore Emacs frame here.
3059
3060 2012-12-27 Juri Linkov <juri@jurta.org>
3061
3062 * info.el (Info-file-completions): New variable.
3063 (Info-read-node-name-1): Complete node names in the Info file
3064 when a file name is given. Call `Info-build-node-completions'
3065 with a file name.
3066 (Info-build-node-completions): Add new arg `file'. When it is
3067 non-nil, visit it in a temporary buffer and cache its completions in
3068 `Info-current-file-completions'. Move most of the function body to
3069 `Info-build-node-completions-1'.
3070 (Info-build-node-completions-1): New function with the body from
3071 `Info-build-node-completions'. (Bug#12456)
3072
3073 2012-12-27 Juri Linkov <juri@jurta.org>
3074
3075 * frame.el (frame-maximization-style): Remove user option.
3076 (cycle-frame-maximized): Remove function.
3077 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3078 (toggle-frame-fullscreen): New command bound to <f11> instead of
3079 `toggle-frame-maximized'.
3080 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3081
3082 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3085
3086 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3088 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3089 for `file-accessible-directory-p'. (Bug#13275)
3090
3091 2012-12-27 Sam Steingold <sds@gnu.org>
3092
3093 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3094 continuations, see <http://stackoverflow.com/questions/3582436>.
3095
3096 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3097
3098 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3099 "module" and "def" to have indentation before them.
3100 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3101
3102 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3103
3104 2012-12-27 Alan Mackenzie <acm@muc.de>
3105
3106 Speed up fontification where there's large brace blocks.
3107 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3108 to a call of c-beginning-of-decl-1.
3109
3110 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3111
3112 * comint.el (comint-adjust-window-point): New function.
3113 (comint-postoutput-scroll-to-bottom):
3114 Call comint-adjust-window-point (Bug#13248).
3115
3116 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3117
3118 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3119 Rakefile regexp.
3120 (auto-mode-alist): Associate .gemspec files with ruby-mode
3121 (https://bugs.ruby-lang.org/issues/5453).
3122
3123 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3124
3125 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3126 Suppress coloring, if possible (required for BusyBox based systems like
3127 CyanogenMod).
3128 (tramp-adb-handle-file-attributes)
3129 (tramp-adb-handle-insert-directory)
3130 (tramp-adb-handle-file-name-all-completions): Use it.
3131 (tramp-adb-get-toolbox): New defun. Check for remote shell
3132 implementation (BusyBox or Toolbox).
3133
3134 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3135
3136 * startup.el (initial-buffer-choice): Allow function as value
3137 (Bug#13251).
3138 (command-line-1): Handle case where initial-buffer-choice
3139 specifies a function.
3140 * server.el (server-execute): Handle case where
3141 initial-buffer-choice specifies a function.
3142
3143 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3144
3145 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3146 its own function.
3147 (smtpmail-try-auth-methods): Forget the user name/password if the
3148 login is unsuccessful (bug#12424).
3149
3150 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3151
3152 * notifications.el (notifications-notify): Protect body with
3153 `with-demoted-errors'.
3154
3155 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3156 Check properties of remote device. Restart connection, if there is a
3157 change.
3158
3159 2012-12-21 Chong Yidong <cyd@gnu.org>
3160
3161 * sort.el (sort-subr): Doc fix (Bug#13056).
3162
3163 2012-12-21 Bastien Guerry <bzg@gnu.org>
3164
3165 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3166
3167 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * simple.el (process-file): Overwrite stderr file, if exists.
3170
3171 2012-12-21 Daiki Ueno <ueno@gnu.org>
3172
3173 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3174 (epg-error): Set `error-message' property.
3175
3176 2012-12-21 Chong Yidong <cyd@gnu.org>
3177
3178 * international/mule-cmds.el (read-char-by-name): Signal an error
3179 if the user does not supply a valid character (Bug#13177).
3180
3181 * simple.el (transpose-subr-1): Preserve marker positions by
3182 changing the insertion sequence (Bug#13122).
3183
3184 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3185
3186 * simple.el (kill-region): Deactivate mark even for empty regions
3187 (Bug#13169).
3188
3189 2012-12-21 Chong Yidong <cyd@gnu.org>
3190
3191 * help-fns.el (describe-variable): Make sure we get the right
3192 buffer name (Bug#13105). Suggested by Kelly Dean.
3193
3194 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3195
3196 * comint.el (comint-redirect-previous-input-string): New variable.
3197 (comint-redirect-setup, comint-redirect-cleanup)
3198 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3199 (comint-redirect-preoutput-filter): Fix verbose message.
3200
3201 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3202
3203 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3204 is too long for Tramp. See discussion in
3205 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3206
3207 * progmodes/compile.el (compilation-start): Remove line escape
3208 template.
3209
3210 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3211
3212 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3213 Adjust comment.
3214
3215 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3216
3217 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3218 following non-comment text (bug#13207).
3219 (lm-header-multiline): Continuation lines need to be indented more than
3220 the first line.
3221 (lm-homepage): New function.
3222 (lm-with-file): Don't be confused if narrowing is in effect.
3223
3224 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3227 very beginning of a hunk (e.g. killing the first line).
3228
3229 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3230
3231 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3232 and text properties from returned ACL string.
3233 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3234 for "setfacl" command.
3235
3236 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3237
3238 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3239 `tramp-cleanup-this-connection', when the process has died.
3240 (Bug#13151)
3241
3242 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3245
3246 2012-12-17 Kevin Ryde <user42@zip.com.au>
3247
3248 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3249
3250 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3251
3252 Add support for preserving ACL entries of files.
3253
3254 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3255 `set-file-acl' handlers.
3256
3257 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3258 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3259
3260 * net/tramp-compat.el (tramp-compat-copy-file):
3261 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3262
3263 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3264 Add `file-acl' and `set-file-acl' handlers.
3265 (tramp-gvfs-handle-copy-file):
3266 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3267 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3268 New defuns.
3269
3270 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3271 Add `file-acl' and `set-file-acl' handlers.
3272 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3273 (tramp-sh-handle-set-file-acl): New defuns.
3274 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3275 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3276
3277 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3278 Add `file-acl' and `set-file-acl' handlers.
3279 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3280
3281 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3282
3283 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3284 use pop-to-buffer with NORECORD argument t. As buffer name, use
3285 *Metahelp* with a leading space (Bug#13190).
3286
3287 2012-12-16 Romain Francoise <romain@orebokech.com>
3288
3289 * files.el (file-extended-attributes)
3290 (set-file-extended-attributes): New functions.
3291 (backup-buffer): Use them to handle both SELinux context and ACL
3292 entries.
3293 (backup-buffer-copy): Work with an alist of extended attributes,
3294 rather than an SELinux context.
3295 (basic-save-buffer-2): Ditto.
3296
3297 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3298
3299 * battery.el (battery-bsd-apm): New function.
3300
3301 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3302
3303 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3304 standard date formats.
3305
3306 2012-12-15 Juri Linkov <juri@jurta.org>
3307
3308 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3309 `isearch-insert-char-by-name'.
3310 (with-isearch-suspended): New defmacro with body mostly from
3311 `isearch-edit-string' except the part that sets
3312 `isearch-new-string' and `isearch-new-message'.
3313 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3314 body that sets `isearch-new-string' and `isearch-new-message'.
3315 (isearch-insert-char-by-name): New command.
3316 * international/mule-cmds.el (read-char-by-name): Let-bind
3317 `enable-recursive-minibuffers' to t.
3318 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3319
3320 2012-12-15 Juri Linkov <juri@jurta.org>
3321
3322 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3323 (Bug#13175)
3324
3325 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3326
3327 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3328 the prompt. (Bug#13045)
3329
3330 2012-12-14 Glenn Morris <rgm@gnu.org>
3331
3332 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3333 Try to include filename in non-bytecomp warning. (Bug#13132)
3334
3335 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3336
3337 Fix permissions bugs with setgid directories etc. (Bug#13125)
3338 * files.el (backup-buffer): Don't rely on 9th output of
3339 file-attributes, as it's now a placeholder. Instead, use the new
3340 optional arg of file-ownership-preserved-p.
3341 (file-ownership-preserved-p): New optional arg GROUP.
3342 Fix mishandling of setuid directories that would cause this
3343 function to return t when it should have returned nil.
3344 Document what happens if the file does not exist, and when
3345 it's not known whether the ownership will be preserved.
3346 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3347 Likewise.
3348 (tramp-get-local-gid): Use group-gid for integer, as that's
3349 faster and more reliable.
3350
3351 2012-12-14 Julien Danjou <julien@danjou.info>
3352
3353 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3354 Update keywords list, data type and PL/pgSQL.
3355
3356 2012-12-14 Dave Abrahams <dave@boostpro.com>
3357
3358 * vc/ediff-util.el (ediff-buffer-type): New function.
3359 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3360 rather than taking it as as argument.
3361 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3362
3363 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3364
3365 * json.el: Add pretty-print option (bug#12634).
3366 (json-encoding-separator, json-encoding-default-indentation)
3367 (json--encoding-current-indentation, json-encoding-pretty-print)
3368 (json-encoding-lisp-style-closings): New vars.
3369 (json--with-indentation): New macro.
3370 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3371 (json-encode-array): Use it to obey json-encoding-pretty-print.
3372 (json-pretty-print-buffer, json-pretty-print): New commands.
3373
3374 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3375
3376 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3377 Extract `ruby-syntax-propertize-expansions'.
3378 (ruby-syntax-propertize-expansions): Only change syntax on
3379 certain string delimiters, to punctuation. This way the common
3380 functions like forward-word and thing-at-point still work.
3381 (ruby-match-expression-expansion): Improve readability.
3382 (ruby-block-contains-point): New function.
3383 (ruby-add-log-current-method): Handle several edge cases.
3384
3385 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3386
3387 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3388 unload-feature finishes even when aborting an ongoing edebug session.
3389 Also, do not worry about edebug-mode, unload-feature takes care of it.
3390
3391 2012-12-13 Andreas Schwab <schwab@suse.de>
3392
3393 * net/tls.el (tls-program): Update customize type.
3394
3395 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3396
3397 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3398 (edebug-setup-hook, cl-read-load-hooks): Use it.
3399 (edebug-unload-function): New function. (Bug#13163)
3400
3401 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3404 Otherwise, there could be errors in autoloading. (Bug#13151)
3405
3406 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3407
3408 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3409 sequences.
3410
3411 2012-12-13 Alan Mackenzie <acm@muc.de>
3412
3413 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3414 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3415 around `forward-comment' not recognizing ^M as whitespace.
3416
3417 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3418
3419 * progmodes/python.el (python-skeleton-class)
3420 (python-skeleton-def): Do not add space after defun name.
3421
3422 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3425 (cl--symbol-function): Remove (now that funbound is like nil).
3426
3427 2012-12-12 Glenn Morris <rgm@gnu.org>
3428
3429 * button.el (button--area-button-p): Fix typo.
3430
3431 2012-12-12 Sam Steingold <sds@gnu.org>
3432
3433 * frame.el (frame-maximization-style): New user option.
3434 (toggle-frame-maximized): Toggle frame maximization according to
3435 `frame-maximization-style', bound to <f11>.
3436 (cycle-frame-maximized): Cycle between all maximization styles and
3437 non-maximized frame, bound to shift-<f11>.
3438
3439 2012-12-12 David Cadé <codename68@gmail.com>
3440
3441 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3442
3443 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3444
3445 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3446 (eieio-override-prin1): Don't quote kewords and booleans.
3447 (object-write) <eieio-default-superclass>: Don't put closing parens
3448 on new line, avoid needless empty lines, align values that are objects
3449 with the slot keyword (instead of beginning on the same line).
3450 (eieio-list-prin1): Align value with slot keyword; increase
3451 eieio-print-depth before printing members of the list.
3452
3453 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3456 a display text-property.
3457 (report-emacs-bug-hook): Don't bother deleting it any more.
3458
3459 * hilit-chg.el (highlight-save-buffer-state): Delete.
3460 Use with-silent-modifications instead.
3461 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3462
3463 * button.el: Handle buttons in display text-properties.
3464 (button--area-button-p, button--area-button-string):
3465 Use (STRING . STRING-POS) representation instead of just STRING.
3466
3467 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3468
3469 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3470 subdirectory be skipped.
3471
3472 2012-12-11 Glenn Morris <rgm@gnu.org>
3473
3474 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3475
3476 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3477 Treat preprocessor lines embedded in continuations like comments.
3478 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3479
3480 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3481
3482 * calc/calc.el (calc-standard-date-formats): Add more date
3483 formats.
3484 * calc/calc-forms.el (math-parse-iso-date): New function.
3485 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3486 (math-parse-iso-date-validate): Add extra error checking.
3487 (calc-date-notation): Add ability to access new date formats.
3488
3489 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3492 font-lock as well as when there's no text-property.
3493
3494 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3495
3496 * hi-lock.el: Refine the choice of default face.
3497 (hi-lock-keyword->face): New function. Use it wherever we used
3498 cadadadr instead.
3499 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3500 (hi-lock--last-face): Remove var.
3501 (hi-lock--unused-faces): New var to replace it.
3502 (hi-lock-read-face-name): Use/maintain it.
3503 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3504 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3505 if it has another face.
3506
3507 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3508
3509 * subr.el (w32notify-handle-event): New function.
3510 (inotify-handle-event): Doc fix.
3511
3512 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3513
3514 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3515
3516 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3517
3518 * simple.el (just-one-space): Doc fix.
3519
3520 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3521
3522 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3523
3524 2012-12-10 Le Wang <l26wang@gmail.com>
3525
3526 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3527 narrowed buffer (bug#12361).
3528
3529 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3530
3531 * vc/vc-hooks.el (vc-state): Doc fix.
3532
3533 2012-12-10 Glenn Morris <rgm@gnu.org>
3534
3535 * mail/rmail.el (rmail-maybe-display-summary):
3536 Preserve buffer, in case select-window changes it. (Bug#13066)
3537
3538 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3541 cl-load-hook where they belong.
3542
3543 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3546
3547 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3548
3549 Parallelize byte compilation on MS-Windows.
3550 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3551 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3552 (WINS_BASIC): Define as concatenation of the above.
3553 (compile): Subdivide into 4 separate and independent jobs that can
3554 be run in parallel.
3555 (compile0-CMD, compile0-SH): New targets for compiling
3556 COMPILE_FIRST files, which are prerequisites for the rest of the
3557 byte-compilation.
3558 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3559 New targets for parallel compilation with cmd.exe.
3560 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3561 compiling under a Unixy shell.
3562
3563 2012-12-09 Chong Yidong <cyd@gnu.org>
3564
3565 * simple.el (set-mark-default-inactive): Delete this
3566 accidentally-introduced option.
3567 (set-mark-command, exchange-point-and-mark): Remove calls.
3568
3569 2012-12-09 Glenn Morris <rgm@gnu.org>
3570
3571 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3572 Respect a defcustom's :set function, if appropriate. (Bug#109)
3573 (eval-defun): Doc fix.
3574
3575 2012-12-08 Juri Linkov <juri@jurta.org>
3576
3577 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3578 (Info-fontify-node, Info-bookmark-make-record): Remove the
3579 file extension from Info-current-file (Bug#13016).
3580
3581 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3582
3583 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3584 point, still provide some default.
3585 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3586 names, since we don't use it right now. Actually return the list.
3587 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3588
3589 2012-12-07 Chong Yidong <cyd@gnu.org>
3590
3591 * novice.el (disabled-command-function): Remove a spurious help
3592 xref (Bug#13043). Suggested by Kelly Dean.
3593
3594 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3595 syntax is specified (Bug#13025).
3596
3597 * info.el (Info-set-mode-line): Remove the file extension from
3598 Info-current-file if there is one (Bug#13016).
3599
3600 2012-12-07 Glenn Morris <rgm@gnu.org>
3601
3602 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3603 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3604 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3605 and rmail-mime-decoded. (Bug#9841)
3606
3607 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3608 (batch-unrmail, unrmail): Doc fixes.
3609 (unrmail): Respect unrmail-mbox-format.
3610 * mail/rmail.el (rmail-mbox-format): New option.
3611 (rmail-show-message-1): Respect rmail-mbox-format.
3612
3613 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3616
3617 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3620 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3621 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3622 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3623 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3624 (cl-progv): Don't rely on dynamic scoping to find the body.
3625 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3626 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3627 (cl-declaim): Use backquotes.
3628 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3629 Use "cl--" prefix for the object's tag.
3630
3631 * ses.el: Use advice-add/remove.
3632 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3633 (copy-region-as-kill, yank): Use advice-add.
3634 (ses-unload-function): Use advice-remove.
3635
3636 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3637
3638 * button.el: Make them work in header-lines (bug#12817).
3639 (button-map): Add bindings for header-line and mode-line use.
3640 (button-get, button-put, button-label): `button' may now be a string.
3641 (button-activate): Don't make it a defsubst.
3642 (button--area-button-p, button--area-button-string): New functions.
3643 (make-text-button): Fix the return value when `beg' was a string.
3644 (push-button): Handle the mode-line case.
3645
3646 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3649 (sql-signum): Remove. Use `cl-signum' instead.
3650 (sql-read-passwd): Remove; use read-passwd instread.
3651 (sql-get-login-ext): Use read-string.
3652 (sql-get-login): Use dolist and pcase.
3653 (sql--completion-table): Rename from sql-try-completion.
3654 Use complete-with-action.
3655 (sql-mode): Don't change abbrev-all-caps globally.
3656 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3657 (sql-postgres-completion-object): Initialize vars in their `let'.
3658 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3659 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3660 (sql-comint-interbase): Use a single append, without setq.
3661 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3662
3663 * hi-lock.el: Rework the default face and the serialize regexp code.
3664 (hi-lock--auto-select-face-defaults): Remove.
3665 (hi-lock-string-serialize-serial): Remove.
3666 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3667 make weak.
3668 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3669 equal string.
3670 (hi-lock-set-pattern): Adjust accordingly.
3671 (hi-lock--regexps-at-point): Simplify accordingly.
3672 (hi-lock--auto-select-face-defaults): Remove.
3673 (hi-lock--last-face): New var to replace it.
3674 (hi-lock-read-face-name): Rewrite (bug#11095).
3675 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3676
3677 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3678
3679 * net/tramp.el (tramp-replace-environment-variables):
3680 Hide compiler warning.
3681 (tramp-file-name-for-operation): Remove `executable-find',
3682 `start-process', `call-process' and `call-process-region'.
3683
3684 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3685
3686 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3687 compatibility.
3688
3689 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3690
3691 2012-12-06 Chong Yidong <cyd@gnu.org>
3692
3693 * ffap.el (ffap-replace-file-component): Fix typo.
3694
3695 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3698 fix open-paren-like token test (bug#12785).
3699
3700 2012-12-06 Glenn Morris <rgm@gnu.org>
3701
3702 * mail/rmailsum.el (rmail-new-summary): Tweak for
3703 rmail-maybe-display-summary changing buffer. (Bug#13066)
3704
3705 2012-12-06 Juri Linkov <juri@jurta.org>
3706
3707 * info.el (Info-fontify-node): Don't hide the last newline.
3708 (Bug#12272)
3709
3710 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3711
3712 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3713 so as to enable message-read-from-minibuffer to expand mail aliases.
3714
3715 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3718 the `intangible' property.
3719 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3720
3721 2012-12-05 Deniz Dogan <deniz@dogan.se>
3722
3723 * net/rcirc.el (rcirc-urls): Update documentation.
3724 (rcirc-condition-filter): New function.
3725 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3726 and exclude consecutive duplicate URLs (Bug#6082).
3727
3728 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3729
3730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3731 Check return code of copy command.
3732
3733 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3734 Use group `tramp'. Add version.
3735
3736 2012-12-05 Chong Yidong <cyd@gnu.org>
3737
3738 * ffap.el (ffap-url-regexp): Don't require matching at front of
3739 string (Bug#4952).
3740 (ffap-url-p): If only a substring matches, return that.
3741 (ffap-url-at-point): Use the return value of ffap-url-p.
3742 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3743 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3744 (ffap-guess-file-name-at-point): Likewise.
3745 (ffap-replace-file-component): Fix typo.
3746
3747 * info.el (info-display-manual): Add existing Info buffers, whose
3748 files may not be in Info-directory-list, to the completion.
3749 (info--manual-names): New helper function.
3750
3751 2012-12-05 Glenn Morris <rgm@gnu.org>
3752
3753 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3754 New functions, for detecting and resolving conflicts. (Bug#10709)
3755
3756 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3757
3758 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3759 (hi-lock-auto-select-face-defaults): New buffer local variable.
3760 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3761 (hi-lock-unface-buffer): Prompt user with useful defaults.
3762 With prefix arg, unhighlight all hi-lock patterns in buffer.
3763
3764 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3767
3768 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3769
3770 * Makefile.in (TRAMP_SRC):
3771 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3772
3773 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3774
3775 * net/tramp-adb.el: New package.
3776
3777 2012-12-04 Chong Yidong <cyd@gnu.org>
3778
3779 * terminal.el: Move to obsolete/.
3780
3781 * longlines.el: Move to obsolete/.
3782
3783 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3784 Remove code referring to longlines mode.
3785
3786 2012-12-03 Juri Linkov <juri@jurta.org>
3787
3788 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3789
3790 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3791
3792 * textmodes/ispell.el (ispell-init-process)
3793 (ispell-start-process, ispell-internal-change-dictionary):
3794 Make sure personal dictionary name is expanded after initial
3795 `default-directory' value. Use expanded strings for
3796 keep/restart checks and for value (Bug#13019).
3797
3798 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3799
3800 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3801
3802 2012-12-03 Leo Liu <sdl.web@gmail.com>
3803
3804 * files.el (dir-locals-read-from-file): Check file non-empty
3805 before reading. (Bug#13038)
3806
3807 2012-12-03 Glenn Morris <rgm@gnu.org>
3808
3809 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3810 Remove any version extension before checking filename. (Bug#13006)
3811 (jka-compr-compression-info-list): Belated :version bump.
3812
3813 2012-12-03 Chong Yidong <cyd@gnu.org>
3814
3815 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3816
3817 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3818 (buffer-menu): Doc fix (Bug#12294).
3819
3820 2012-12-03 Roland Winkler <winkler@gnu.org>
3821
3822 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3823 of diary-show-all-entries in the diary buffer (Bug#12994).
3824
3825 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3826
3827 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3828 "<STDIN>". This is binary safe.
3829
3830 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3831
3832 * calc/calc-forms.el (math-absolute-from-iso-dt)
3833 (math-date-to-iso-dt, math-parse-iso-date-validate)
3834 (math-iso-dt-to-date): New functions.
3835 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3836 (math-fd-isoweekday): New variables.
3837 (calc-date-notation, math-parse-standard-date, math-format-date)
3838 (math-format-date-part): Add support for more formatting codes.
3839
3840 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3841
3842 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3843 current buffer's file name when called interactively (Bug#12488).
3844
3845 2012-12-02 Juri Linkov <juri@jurta.org>
3846
3847 * info.el (info-display-manual): Don't clobber an existing Info
3848 buffer (Bug#10770). Add completion (Bug#10771).
3849
3850 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3851
3852 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3853 before using it for comparison (Bug#5297).
3854
3855 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3856
3857 * textmodes/css-mode.el (css-current-defun-name): New function.
3858 (css-mode): Use it.
3859
3860 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3861 (html-mode): Use it.
3862
3863 2012-12-01 Chong Yidong <cyd@gnu.org>
3864
3865 Modularize add-log-current-defun (Bug#2224).
3866 Suggested by Jari Aalto.
3867
3868 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3869 (add-log-current-defun): Move mode-specific code to other files.
3870 (add-log-lisp-like-modes, add-log-c-like-modes)
3871 (add-log-tex-like-modes): Variables deleted.
3872
3873 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3874 (lisp-mode-variables): Use it.
3875
3876 * progmodes/cc-mode.el (c-common-init):
3877 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3878 add-log-current-defun-function.
3879
3880 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3881 (m4-mode): Use it.
3882
3883 * progmodes/perl-mode.el (perl-current-defun-name): New.
3884 (perl-mode): Use it.
3885
3886 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3887 Use lisp-current-defun-name.
3888
3889 * textmodes/tex-mode.el (tex-current-defun-name): New.
3890 (tex-common-initialization): Use it.
3891
3892 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3893 (texinfo-mode): Use it.
3894
3895 2012-12-01 Chong Yidong <cyd@gnu.org>
3896
3897 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3898 * progmodes/autoconf.el (autoconf-mode):
3899 * progmodes/js.el (js-mode):
3900 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3901 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3902 * progmodes/perl-mode.el (perl-mode):
3903 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3904 * textmodes/css-mode.el (css-mode):
3905 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3906 (sgml-tags-invisible, sgml-guess-indent):
3907 * textmodes/tex-mode.el (tex-common-initialization)
3908 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3909 (doctex-mode, plain-tex-mode, latex-mode):
3910 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3911
3912 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3913
3914 * vc/vc-hg.el (vc-hg-next-revision):
3915 Ensure use of default "tip" output format. (Bug#6968)
3916
3917 2012-12-01 Kim F. Storm <storm@cua.dk>
3918
3919 * startup.el (fancy-startup-tail): Add a clickable link
3920 (Bug#2176).
3921
3922 2012-12-01 Chong Yidong <cyd@gnu.org>
3923
3924 * startup.el (fancy-startup-tail): Improve the message about
3925 auto-save files (Bug#2176).
3926
3927 * files.el (recover-session): Improve the descriptive message, and
3928 use substitute-command-keys.
3929
3930 2012-12-01 Glenn Morris <rgm@gnu.org>
3931
3932 * ido.el (ido-file-internal):
3933 Handle other-window, other-frame for dired. (Bug#13036)
3934
3935 2012-11-30 Glenn Morris <rgm@gnu.org>
3936
3937 * icomplete.el (icomplete-separator): Fix :version.
3938
3939 2012-11-30 Chong Yidong <cyd@gnu.org>
3940
3941 * shell.el (shell): For C-u M-x shell, use an inactive shell
3942 buffer as the default (Bug#1975).
3943 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3944 (shell-mode): Use them to reapply ansi colorization if Shell mode
3945 is re-enabled.
3946
3947 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3948
3949 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3950
3951 2012-11-30 Samuel Bronson <naesten@gmail.com>
3952
3953 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3954 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3955
3956 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3957
3958 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3959 by move-to-column (Bug#3234).
3960
3961 2012-11-30 Chong Yidong <cyd@gnu.org>
3962
3963 * longlines.el (longlines-wrap-line, longlines-encode-region):
3964 Preserve text properties (Bug#1425).
3965
3966 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3967
3968 * vc/vc.el (vc-register): Allow registering a file which is
3969 already registered with a different backend (Bug#10589).
3970
3971 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3972 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * icomplete.el: Change separator; add ido-style commands.
3975 (icomplete-show-key-bindings): Remove custom var.
3976 (icomplete-get-keys): Remove function.
3977 (icomplete-forward-completions, icomplete-backward-completions):
3978 New commands.
3979 (icomplete-minibuffer-map): New var.
3980 (icomplete-minibuffer-setup): Use it.
3981 (icomplete-exhibit): Don't delay if the list of completions is known.
3982 (icomplete-separator): New custom.
3983 (icomplete-completions): Use it.
3984 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3985 (minibuffer-force-complete-and-exit): New command.
3986 (minibuffer--complete-and-exit): New function extracted from
3987 minibuffer-complete-and-exit.
3988 (minibuffer-complete-and-exit): Use it.
3989
3990 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3991 error message when the file doesn't exist (bug#12974).
3992
3993 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3994
3995 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3996
3997 2012-11-29 Glenn Morris <rgm@gnu.org>
3998
3999 * files.el (hack-dir-local-variables): Warn if try to set
4000 coding via dir-locals, since it doesn't work. (Bug#7169)
4001
4002 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4003 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4004 Set buffer-local value of desktop-save-buffer.
4005 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4006 New functions.
4007 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4008 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4009
4010 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4011 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4012 Doc fix.
4013 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4014 Doc fixes.
4015
4016 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4017
4018 * calc/calc-forms.el (calc-date-notation): Fix regexp
4019 used to find time codes. Fix symbol for seconds.
4020
4021 2012-11-27 Glenn Morris <rgm@gnu.org>
4022
4023 * emacs-lisp/derived.el (derived-mode-make-docstring):
4024 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4025
4026 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4029 lexically scoped variables (bug#13005).
4030
4031 2012-11-27 Glenn Morris <rgm@gnu.org>
4032
4033 * vc/vc-hooks.el (vc-mistrust-permissions):
4034 Default to t, to avoid data-loss. (Bug#11490)
4035
4036 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4037
4038 * progmodes/python.el (python-indent-guess-indent-offset):
4039 If indentation is guessed make python-indent-offset buffer-local.
4040
4041 Fix Imenu regression.
4042 * progmodes/python.el (python-nav-beginning-of-defun):
4043 Fix forward movement when statement(s) separates point from defun.
4044 (python-imenu-prev-index-position): New function.
4045
4046 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4047
4048 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4049
4050 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4051 Don't set buffer-file-type. Return nil. (Bug#12989)
4052
4053 2012-11-27 Glenn Morris <rgm@gnu.org>
4054
4055 * hippie-exp.el (hippie-expand-try-functions-list):
4056 Re-autoload it. (Bug#12982)
4057
4058 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4059
4060 * descr-text.el (describe-char-padded-string):
4061 Call internal-char-font only on GUI frames. (Bug#11964)
4062
4063 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4064
4065 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4066 and obsoletion message.
4067
4068 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4071 the constructs to keep outside of the `cl-block' (bug#12977).
4072
4073 2012-11-27 Chong Yidong <cyd@gnu.org>
4074
4075 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4076 keep reading until we get the up-event anyway, in order to process
4077 the up-event for mouse-1-click-follows-link (Bug#12971).
4078
4079 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4082 base function is not yet defined (bug#12965).
4083 (ad-activate-advised-definition): Use ad-compile-function.
4084 (ad-activate): Use cond.
4085
4086 2012-11-25 Leo Liu <sdl.web@gmail.com>
4087
4088 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4089 (Bug#12979)
4090
4091 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4092
4093 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4094 reftex-section-info-function in order to be compatible with
4095 Texinfo integration.
4096
4097 * textmodes/reftex.el (reftex-section-pre-regexp)
4098 (reftex-section-post-regexp, reftex-section-info-function):
4099 New variable.
4100 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4101 reftex-section-post-regexp, and reftex-section-info-function in order
4102 to be compatible with Texinfo integration.
4103
4104 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4105 use reftex-section-pre-regexp variable in order to be compatible with
4106 Texinfo integration.
4107
4108 2012-11-25 Chong Yidong <cyd@gnu.org>
4109
4110 * faces.el: Make face-spec-set more analogous to setq.
4111 (face-spec-set): Change the third arg to specify whether this
4112 function is being called via defface, customize, or a third party.
4113 Set the appropriate symbol properties. Clear the override spec if
4114 setting via Custom. Initialize face if necessary. (Bug#4988)
4115 (face-spec-recalc): Allow theme faces to completely replace the
4116 defface spec, in the same way as custom faces (Bug#8454).
4117
4118 * cus-face.el (custom-declare-face): Move face initialization to
4119 face-spec-set.
4120 (custom-theme-set-faces): Don't initialize the face name here, as
4121 that is now done in face-spec-set.
4122
4123 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4124 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4125 Simplify by using the new arg to face-spec-set.
4126
4127 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4128 reset face-override-spec too, and use custom-declare-face.
4129
4130 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4131
4132 * term/ns-win.el (ns-initialize-window-system): Move creation of
4133 fontsets here (Bug#11964).
4134
4135 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4136
4137 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4138 cell renaming.
4139
4140 2012-11-24 Chong Yidong <cyd@gnu.org>
4141
4142 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4143 obsolete.
4144
4145 * custom.el (custom-theme-set-variables): Use a topological sort
4146 for ordering by custom dependencies (Bug#12952).
4147 (custom--sort-vars, custom--sort-vars-1): New functions.
4148
4149 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4152 lexical-binding (bug#12938).
4153
4154 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4155
4156 * image-mode.el (image-transform-check-size): Use assertions only
4157 for images of type imagemagick.
4158
4159 Otherwise no error, image-transform-fit-to-{width,height} is
4160 silently ignored, as before. Doc fix.
4161
4162 2012-11-24 Chong Yidong <cyd@gnu.org>
4163
4164 * faces.el (color-defined-p): Doc fix (Bug#12853).
4165
4166 2012-11-24 Juri Linkov <juri@jurta.org>
4167
4168 * dired.el (dired-mark): Add optional arg `interactive'.
4169 Check for `use-region-p' if `interactive' is non-nil.
4170 (dired-unmark, dired-flag-file-deletion): Add optional arg
4171 `interactive'. Call `dired-mark' with the arg `interactive'.
4172 (Bug#10624)
4173
4174 * wdired.el: Revert 2012-10-17 change partly and replace it with
4175 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4176 (wdired-finish-edit): Add marks for new file names to
4177 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4178 after `revert-buffer'.
4179 (wdired-do-renames): Remove calls to `dired-remove-file',
4180 `dired-add-file', `dired-add-entry'. (Bug#11795)
4181
4182 2012-11-24 Alan Mackenzie <acm@muc.de>
4183
4184 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4185
4186 Fix bugs in the state cache. Enhance a debugging mechanism.
4187 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4188 "brace at column zero" strategy for C++.
4189 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4190 (c-parse-state-point): New variable.
4191 (c-record-parse-state-state): Record old parse state with
4192 `copy-tree'. Record previous value of point.
4193 (c-debug-parse-state-double-cons): New debugging function.
4194 (c-debug-parse-state): Call the above new function.
4195 (c-toggle-parse-state-debug): Output a confirmatory message.
4196
4197 * progmodes/cc-mode.el (c-before-change, c-after-change):
4198 Call c-invalidate-state-cache from `c-before-change' instead of
4199 `c-after-change'.
4200
4201 2012-11-23 Chong Yidong <cyd@gnu.org>
4202
4203 * find-cmd.el (find-constituents): Add executable, ipath,
4204 readable, samefile, writable, daystart, regextype (Bug#12856).
4205
4206 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4209
4210 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4211
4212 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4213 definition. This fixes a bootstrap failure.
4214 (calc-gregorian-switch): In menu, put dates before regions.
4215 This is easier to follow, lines up better in the menu, and lets us
4216 coalesce regions that switch at the same time. Give country
4217 names, not "Vatican", as that's better for non-expert users.
4218 Use names that are stable between the date of switch and now, e.g.,
4219 Bohemia and Moravia (which existed then and now) and not
4220 Czechoslovakia (which didn't exist then and doesn't exist now).
4221 What is now the U.S. mostly did not switch at the same time as
4222 Britain, so omit the U.S. Correct spelling of "Britain".
4223 Catholic Switzerland was too much of a mess, so omit it.
4224
4225 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4226
4227 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4228 after the variable is changed.
4229
4230 2012-11-21 Daniel Colascione <dancol@dancol.org>
4231
4232 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4233 in SQL declarations for font-lock.
4234 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4235
4236 2012-11-21 Glenn Morris <rgm@gnu.org>
4237
4238 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4239 (face-italic-p): Add optional argument "inherit".
4240
4241 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4242 Remove -p suffix from names, for consistency with other set-face-*.
4243 (set-face-inverse-video): Fix interactive spec.
4244 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4245 * textmodes/table.el (table--update-cell-face):
4246 Use set-face-inverse-video rather than now obsolete alias.
4247
4248 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4249
4250 * simple.el (line-move): Don't call line-move-partial if
4251 scroll-conservatively is in effect. (Bug#12927)
4252
4253 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4256 Fallback on completion-at-point rather than
4257 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4258 (eshell-cmpl-initialize): Setup completion-at-point.
4259
4260 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4261
4262 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4263
4264 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4267 are remote, check out-of-band property for both.
4268
4269 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4272 code rewrite.
4273
4274 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4275
4276 More minor time fixes.
4277 * calendar/time-date.el: Commentary fix.
4278 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4279 too much other code depends on (0 0) time stamps.
4280 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4281 Add a couple of FIXME comments.
4282
4283 Minor cleanup for times as lists of four integers.
4284 * files.el (dir-locals-directory-cache):
4285 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4286 Doc fixes.
4287 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4288 * ps-bdf.el (bdf-file-newer-than-time):
4289 Process four-integers time stamps, not two. Doc fixes.
4290
4291 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * uniquify.el (uniquify-managed): Use defvar-local.
4294 (rename-buffer, create-file-buffer): Advise with advice-add.
4295 (uniquify-unload-function): Unadvise accordingly.
4296
4297 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4298 (trace-buffer): Don't purecopy.
4299 (trace-entry-message, trace-exit-message): Add `context' arg.
4300 (trace--timer): New var.
4301 (trace-make-advice): Adjust for use in nadvice.
4302 Add `context' argument. Delay `display-buffer' via a timer.
4303 (trace-function-internal): Use advice-add.
4304 (trace--read-args): New function.
4305 (trace-function-foreground, trace-function-background): Use it.
4306 (trace-function): Rename to trace-function-foreground and redefine as
4307 an alias to that new name.
4308 (untrace-function, untrace-all): Adjust to the use of nadvice.
4309
4310 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4311
4312 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4313
4314 * subr.el (called-interactively-p-functions): New var.
4315 (internal--called-interactively-p--get-frame): New macro.
4316 (called-interactively-p, interactive-p): Rewrite in Lisp.
4317 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4318 (called-interactively-p-functions): Use it.
4319 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4320 (called-interactively-p-functions): Use it.
4321 * allout.el (allout-called-interactively-p): Don't assume
4322 called-interactively-p is a subr.
4323
4324 2012-11-20 Glenn Morris <rgm@gnu.org>
4325
4326 * profiler.el (profiler-report-mode-map): Add a menu.
4327 No need to bind `q' because we derive from special-mode.
4328 (profiler-report-find-entry): Handle calls from the menu-bar.
4329
4330 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * emacs-lisp/byte-run.el (defun-declarations-alist):
4333 Allow a compiler-macro to be a lambda expression.
4334
4335 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4336 eval-when-compile.
4337 (python-syntax-context): Add compiler-macro.
4338 (python-font-lock-keywords): Simplify with De Morgan.
4339
4340 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4341
4342 * files.el (load-file): Require match in minibuffer selection, as was
4343 the case in Emacs-20 before we changed the spec to allow .elc files
4344 (bug#12935).
4345
4346 * json.el: Don't require cl since we don't use it.
4347 * color.el: Don't require cl.
4348 (color-complement): `caddr' -> `nth 2'.
4349
4350 * calendar/time-date.el (time-to-seconds): De-obsolete.
4351
4352 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4353
4354 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4355 year numbers.
4356 (math-date-to-julian-dt): Adjust the initial approximation for the
4357 year to deal with the new definition of the DATE.
4358
4359 2012-11-19 Daniel Colascione <dancol@dancol.org>
4360
4361 * term/w32-win.el (cygwin-convert-path-from-windows):
4362 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4363
4364 2012-11-18 Chong Yidong <cyd@gnu.org>
4365
4366 * filecache.el (file-cache--read-list): New function.
4367 (file-cache-add-directory-list, file-cache-add-file-list)
4368 (file-cache-delete-file-list, file-cache-delete-directory-list):
4369 Use it to read a list of files or directories (Bug#12846).
4370 (file-cache-add-file, file-cache-add-directory)
4371 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4372 (file-cache-delete-directory): Print an message.
4373
4374 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4375
4376 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4377 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4378
4379 2012-11-18 Glenn Morris <rgm@gnu.org>
4380
4381 * image.el (insert-image, insert-sliced-image): Doc fix.
4382
4383 2012-11-18 Chong Yidong <cyd@gnu.org>
4384
4385 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4386 (Bug#12810).
4387
4388 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4389
4390 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4391 response when the target file is in a subdirectory (Bug#12757).
4392
4393 2012-11-18 Chong Yidong <cyd@gnu.org>
4394
4395 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4396
4397 2012-11-18 Glenn Morris <rgm@gnu.org>
4398
4399 * emacs-lisp/cl-lib.el (face-underline-p):
4400 Use set-face-underline rather than the alias set-face-underline-p.
4401
4402 * window.el (with-temp-buffer-window): Doc fix.
4403 * subr.el (with-output-to-temp-buffer):
4404 Add doc xref to with-temp-buffer-window.
4405
4406 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4407
4408 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4409 * calc/calc.el (math-format-date-cache): Declare.
4410
4411 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4412
4413 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4414 It also uses January 1, 1 AD as its day number 1.
4415 * calc/calc-forms.el (math-julian-date-beginning)
4416 (math-julian-date-beginning-int): Implement this.
4417
4418 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4419
4420 * descr-text.el (quail-find-key):
4421 * dired.el (desktop-file-name):
4422 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4423 * generic-x.el (comint-mode, comint-exec):
4424 * image-dired.el (widget-forward):
4425 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4426 (speedbar-change-expand-button-char)
4427 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4428 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4429 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4430 (widget-field-action, widget-value-set):
4431 * speedbar.el (imenu--make-index-alist):
4432 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4433 (ring-length, ring-insert):
4434 * vcursor.el (compare-windows-skip-whitespace):
4435 * woman.el (dired-get-filename):
4436 Declare functions.
4437
4438 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4439
4440 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4441
4442 * calc/calc.el (calc-gregorian-switch): New variable.
4443
4444 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4445 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4446 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4447 (math-leap-year-p): Add option to distinguish between Julian
4448 and Gregorian calendars.
4449 (math-day-number): Use `math-day-in-year' to do the computations.
4450 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4451 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4452 to do the computations.
4453 (math-date-to-dt): Use `math-date-to-julian-dt' and
4454 `math-date-to-gregorian-dt' to do the computations.
4455 (calcFunc-weekday, math-format-date-part): Use the new version of
4456 the DATE to determine the weekday.
4457 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4458 when necessary.
4459
4460 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4461
4462 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4463 Cygwin; otherwise use 'file:'. (Bug#12914)
4464 (cygwin-convert-path-from-windows): Declare, to avoid
4465 byte-compiler warnings.
4466
4467 2012-11-17 Andreas Politz <politza@fh-trier.de>
4468
4469 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4470 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4471 prefix and negative numeric prefix args (Bug#12795).
4472
4473 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4474
4475 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4476 Don't signal an error with a score that is too low to add to the
4477 list of top scores. (Bug#12779)
4478
4479 2012-11-17 Chong Yidong <cyd@gnu.org>
4480
4481 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4482
4483 * filecache.el (file-cache-add-file): Handle relative file name in
4484 the argument (Bug#12694).
4485
4486 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4487
4488 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4489
4490 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4493
4494 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4495
4496 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4497
4498 * window.el (enlarge-window, shrink-window): Don't mention return
4499 value in doc-string (Bug#12896).
4500 (window--display-buffer): Don't resize frames - it won't work
4501 with all window managers and defeat pop-up-frame-alist.
4502 (display-buffer-alist): In doc-string explain that CONDITION can
4503 be a function and which arguments are passed to it (Bug#12854).
4504 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4505 expressions (Bug#12854).
4506 (display-buffer): Pass ACTION argument to
4507 display-buffer-assq-regexp.
4508
4509 2012-11-16 Glenn Morris <rgm@gnu.org>
4510
4511 * window.el (fit-frame-to-buffer-bottom-margin)
4512 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4513
4514 * faces.el (face-underline-p): Use face-attribute-specified-or.
4515
4516 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4519
4520 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4523
4524 2012-11-16 Glenn Morris <rgm@gnu.org>
4525
4526 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4527 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4528
4529 * faces.el (face-underline-p): Doc fix. Handle :underline being
4530 things other than `t' (a string, a list).
4531 (face-inverse-video-p): Doc fix.
4532 (set-face-underline): Rename it back from set-face-underline-p.
4533 Doc fix. Allow interactive input of values other than t.
4534 (read-face-attribute): Apply formatting to :underline,
4535 since like :box and :stipple it can take list values.
4536
4537 * term.el (ansi-term): Don't let C-x escape-char binding
4538 clobber the more standard C-c binding. (Bug#12842)
4539
4540 * subr.el (set-temporary-overlay-map): Doc fix.
4541
4542 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4543
4544 * window.el (record-window-buffer)
4545 (display-buffer-record-window): When copying the markers to
4546 window-point preserve window-point-insertion-type. (Bug#12588)
4547
4548 2012-11-16 Glenn Morris <rgm@gnu.org>
4549
4550 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4551 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4552 Use new names for hooks rather than obsolete aliases.
4553
4554 2012-11-15 Daniel Colascione <dancol@dancol.org>
4555
4556 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4557 prefix instead of "file:" so that when FILE-NAME begins with "//",
4558 as it does when the target file is on a network share, url-handler
4559 isn't confused.
4560
4561 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4564 a preactivated advice from an old advice.el; they're not compatible!
4565
4566 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4567
4568 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4569 Fix string-spec case.
4570
4571 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4572
4573 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4576 (advice--buffer-local-function-sample): New var.
4577 (advice--set-buffer-local, advice--buffer-local): New functions.
4578 (add-function, remove-function): Use them.
4579
4580 2012-11-15 Drew Adams <drew.adams@oracle.com>
4581
4582 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4583
4584 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4587 potential binding of print-gensym to t, and prettify (back)quotes in
4588 case they appear in args's default values (bug#12884).
4589
4590 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4593 (advice-eval-interactive-spec): New function.
4594 (advice--make-interactive-form): Support around advice (bug#12844).
4595
4596 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4597
4598 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4599 more strict. Add docstring.
4600 (ruby-expression-expansion-re): Extract from
4601 `ruby-match-expression-expansion'.
4602 (ruby-syntax-propertize-function): After everything else, search
4603 for expansions in string literals, mark their insides as
4604 whitespace syntax and save match data for font-lock.
4605 (ruby-font-lock-keywords): Use the 2nd group from expression
4606 expansion matches.
4607 (ruby-match-expression-expansion): Use the match data saved to the
4608 text property in ruby-syntax-propertize-function.
4609
4610 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4613 (bug#12879).
4614
4615 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4616
4617 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4618 start/end keyword a bit harder. Works with different values of N.
4619 Add more comments.
4620 (ruby-end-of-block): Update accordingly.
4621
4622 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * woman.el (woman-file-name): Don't mess with unread-command-events
4625 (bug#12861).
4626
4627 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4628 Remove out of date self-require hack.
4629 (ad-do-advised-functions): Use simple `dolist'.
4630 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4631 (ad-advice-definition): Redefine as functions.
4632 (ad-advice-classes): Move before first use.
4633 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4634 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4635 (ad--defalias-fset): Remove functions.
4636 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4637 (ad-get-orig-definition): Rewrite.
4638 (ad-make-advised-definition-docstring): Change base docstring.
4639 (ad-real-orig-definition): Rewrite.
4640 (ad-map-arglists): Change name of called function.
4641 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4642 (ad-make-advised-definition): Simplify.
4643 (ad-assemble-advised-definition): Tweak for new calling context.
4644 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4645 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4646 function and call ad-activate if needed.
4647 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4648 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4649 (ad-compile-function): Compile ad-Advice-*.
4650 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4651 (ad-start-advice, ad-stop-advice): Remove.
4652
4653 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4654
4655 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4656 period before class method names, not after. Remove handling of
4657 one impossible case. Add comments.
4658
4659 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/advice.el: Remove support for freezing.
4662 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4663 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4664 Remove support for `freeze'.
4665
4666 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4667 override the default.
4668 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4669 cl--dotimes/dolist.
4670 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4671 `cl' is loaded.
4672
4673 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4674 from add-advice.
4675 (advice--strip-macro): New function.
4676 (advice--defalias-fset): Use them to handle macros.
4677 (advice-add): Use them.
4678 (advice-member-p): Correctly handle macros.
4679
4680 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4681
4682 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4683 Never font-lock the beginning of singleton class as heredoc.
4684
4685 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4688
4689 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4690
4691 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4692 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4693 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4694
4695 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4696
4697 Fix end-of-defun misbehavior.
4698 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4699 python-beginning-of-defun-function. Handle nested defuns
4700 correctly.
4701 (python-nav-end-of-defun): Rename from
4702 python-end-of-defun-function. Ensure forward movement.
4703 (python-info-current-defun): Reimplement to work as intended
4704 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4705 parent defuns as soon as possible.
4706
4707 2012-11-13 Glenn Morris <rgm@gnu.org>
4708
4709 * progmodes/flymake.el (flymake-error-bitmap)
4710 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4711 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4712
4713 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4714
4715 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4716 backward, always stop at indentation. Reverts the change from
4717 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4718
4719 2012-11-13 Glenn Morris <rgm@gnu.org>
4720
4721 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4722 Add ibuffer-filter-by-derived-mode.
4723
4724 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4725 the same name shadowing each other.
4726
4727 * window.el (with-temp-buffer-window): Doc tweak.
4728
4729 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4730
4731 * help.el (temp-buffer-max-height):
4732 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4733 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4734
4735 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/nadvice.el: New package.
4738 * subr.el (special-form-p): New function.
4739 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4740 (elp-all-instrumented-list): Remove var.
4741 (elp-not-profilable): Remove elp-wrapper.
4742 (elp-profilable-p): Use autoloadp and special-form-p.
4743 (elp--advice-name): New const.
4744 (elp-instrument-function): Use advice-add.
4745 (elp--instrumented-p): New predicate.
4746 (elp-restore-function): Use advice-remove.
4747 (elp-restore-all, elp-reset-all): Use mapatoms.
4748 (elp-set-master): Use elp--instrumented-p.
4749 (elp--make-wrapper): Rename from elp-wrapper, return a function
4750 suitable for advice-add. Use cl-inf.
4751 (elp-results): Use mapatoms+elp--instrumented-p.
4752 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4753 (debug-function-list): Remove var.
4754 (debug): Rename arg, and then let-bind it explicitly inside.
4755 (debugger-setup-buffer): Rename arg.
4756 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4757 (debugger-frame-number): Adjust to new debug-on-entry setup.
4758 (debug--implement-debug-on-entry): Rename from
4759 implement-debug-on-entry, add argument.
4760 (debugger-special-form-p): Remove, use special-form-p instead.
4761 (debug-on-entry): Use advice-add.
4762 (debug--function-list): New function.
4763 (cancel-debug-on-entry): Use it, along with advice-remove.
4764 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4765 (debugger-list-functions): Use debug--function-list instead of
4766 debug-function-list.
4767 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4768 (ad-special-form-p): Remove, use special-form-p instead.
4769 (ad-set-advice-info): Use add-function and remove-function.
4770 (ad--defalias-fset): Adjust accordingly.
4771
4772 2012-11-10 Glenn Morris <rgm@gnu.org>
4773
4774 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4775 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4776 (report-emacs-bug-create-existing-bugs-buffer)
4777 (report-emacs-bug-parse-query-results)
4778 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4779
4780 * term.el (term-default-fg-color, term-default-bg-color):
4781 Make obsolete, rather than just saying "deprecated" in the doc.
4782
4783 * term.el (term): Rename from `term-face'.
4784 (term-current-face, ansi-term-color-vector)
4785 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4786 Update all users.
4787
4788 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4789
4790 * server.el (server-create-window-system-frame): Handle Nextstep
4791 specially (Bug#12780).
4792
4793 2012-11-10 Glenn Morris <rgm@gnu.org>
4794
4795 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4796 Unautoload, and make obsolete. (Bug#7449)
4797
4798 2012-11-10 Chong Yidong <cyd@gnu.org>
4799
4800 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4801 rename from diff-remove-trailing-whitespace (Bug#12831).
4802
4803 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4804
4805 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4806 miscompilation of trace.el.
4807
4808 2012-11-10 Glenn Morris <rgm@gnu.org>
4809
4810 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4811
4812 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4815 (bug#12812).
4816
4817 2012-11-10 Chong Yidong <cyd@gnu.org>
4818
4819 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4820 a defcustom with an appropriate :set function.
4821 (minibuffer-default--in-prompt-regexps): New function.
4822
4823 2012-11-10 Glenn Morris <rgm@gnu.org>
4824
4825 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4826 (define-modify-macro): Doc fixes.
4827
4828 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4829 (gv-define-simple-setter): Update doc of `fix-return'.
4830
4831 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4834 twice when `fix-return' is set (bug#12813).
4835
4836 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4837 gv-define-simple-setter (bug#12812).
4838
4839 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4840 (bug#12756).
4841
4842 2012-11-10 Glenn Morris <rgm@gnu.org>
4843
4844 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4845
4846 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4847 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4848 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4849 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4850
4851 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4852
4853 2012-11-10 Leo Liu <sdl.web@gmail.com>
4854
4855 * ido.el (ido-set-matches-1): Improve flex matching performance by
4856 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4857
4858 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4861 (ad--defalias-fset): New function.
4862 (ad-safe-fset): Remove.
4863 (ad-make-freeze-definition): Use cl-letf*.
4864
4865 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * subr.el (dolist): Don't bind VAR in RESULT.
4868
4869 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4870 (fset, documentation): Don't save real def since we don't advise.
4871 (ad-do-advised-functions): Remove problematic `result-form'.
4872 (ad-safe-fset): `ad-real-fset' => `fset'.
4873 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4874 uses CL's dolist internally.
4875 (ad-arglist): Remove unused arg `name'.
4876 (ad-docstring, ad-make-advised-docstring):
4877 `ad-real-documentation' => `documentation'.
4878 (warning-suppress-types): Declare.
4879 (ad-set-arguments): Simple CSE.
4880 (ad-recover-normality): Sanity check.
4881
4882 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4883 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4884
4885 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4886
4887 * ses.el: symbol to coordinate mapping is made by symbol property
4888 `ses-cell'. This means that the same mapping is done for all SES
4889 sheets. That is good enough for cells with standard A1 names, but
4890 not for named cell. So a hash map is added for the latter.
4891 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4892 (ses-sym-rowcol): Use hashmap for named cell.
4893 (ses-is-cell-sym-p): New defun.
4894 (ses-decode-cell-symbol): New defun.
4895 (ses-create-cell-variable): Add cell to hashmap when name is not
4896 A1-like.
4897 (ses-rename-cell): Check that cell new name is not already in
4898 spreadsheet with the use of ses-is-cell-sym-p
4899 (ses-rename-cell): Use hash map for named cells, but accept also
4900 renaming back to A1-like.
4901
4902 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/advice.el: Use new dynamic docstrings.
4905 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4906 Use dynamic-docstring-function instead of ad-advice-info.
4907 (ad--make-advised-docstring): New function extracted from
4908 ad-make-advised-docstring.
4909 (ad-make-advised-docstring): Use it.
4910 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4911 from sql-help.
4912 (sql-help): Use it with dynamic-docstring-function.
4913
4914 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4915
4916 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * files.el (hack-one-local-variable--obsolete): New function.
4919 (hack-one-local-variable): Use it for obsolete settings.
4920
4921 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4922 the new name.
4923
4924 * progmodes/js.el (js--filling-paragraph): New var.
4925 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4926 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4927 less sneaky.
4928
4929 2012-11-08 Julien Danjou <julien@danjou.info>
4930
4931 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4932 `auto-mode-alist' (Bug#12835).
4933
4934 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4937 (perl--prettify-symbols-alist): New const.
4938 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4939 New functions.
4940 (perl-font-lock-keywords-2): Use them.
4941 (perl-electric-noindent-p): New function.
4942 (perl-mode): Use it to set up electric-indent-mode.
4943 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4944 (perl-mode-map): Remove bindings for them.
4945 (perl-imenu-generic-expression, perl-outline-level):
4946 Match functions&packages in column>0.
4947
4948 * env.el (env--substitute-vars-regexp): New const.
4949 (substitute-env-vars): Use it. Add `only-defined' arg.
4950 * net/tramp.el (tramp-replace-environment-variables): Use it.
4951
4952 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4953 Byte-compile *before* eval in eval-and-compile.
4954 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4955 (byte-compile-file-form-autoload): Don't hide actual definition.
4956 (byte-compile-maybe-guarded): Accept `functionp' as well.
4957
4958 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4959
4960 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * notifications.el (notifications-get-server-information-method):
4963 New defconst.
4964 (notifications-get-capabilities): Fix docstring.
4965 (notifications-get-server-information): New defun.
4966
4967 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4968
4969 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4970 readability.
4971
4972 * textmodes/ispell.el: Experimental support for support debugging.
4973 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4974 buffer for ispell.
4975 (ispell-print-if-debug): New function to print stuff to
4976 `ispell-debug-buffer' if debugging is enabled.
4977 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4978 show some debugging info.
4979 (ispell-buffer-with-debug): New function that creates a debugging
4980 buffer and calls `ispell-buffer' with debugging enabled.
4981
4982 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4983 comment in autoconf mode. (Bug#12768)
4984
4985 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4986
4987 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4988 frame-first-window, frame-root-window, frame-selected-window,
4989 minibuffer-selected-window, minibuffer-window,
4990 window-absolute-pixel-edges, window-at, window-body-height,
4991 window-body-width, window-display-table, window-combination-limit,
4992 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4993 window-inside-edges, window-inside-pixel-edges, window-left-child,
4994 window-left-column, window-margins, window-next-buffers,
4995 window-next-sibling, window-new-normal, window-new-total,
4996 window-normal-size, window-parameter, window-parameters, window-parent,
4997 window-pixel-edges, window-point, window-prev-buffers,
4998 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4999 window-start, window-text-height, window-top-child, window-top-line,
5000 window-total-height, window-total-width and window-use-time to the list
5001 of functions without side-effects.
5002 (toplevel): Add window-valid-p to the list of error-free functions
5003 without side-effects.
5004
5005 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5006
5007 * textmodes/ispell.el (ispell-program-name):
5008 Update spellchecker parameters when customized.
5009
5010 2012-11-04 Glenn Morris <rgm@gnu.org>
5011
5012 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5013
5014 2012-11-04 Chong Yidong <cyd@gnu.org>
5015
5016 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5017 same-window-* variables.
5018
5019 2012-11-04 Juri Linkov <juri@jurta.org>
5020
5021 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5022 (isearch-describe-key, isearch-describe-mode): Use a display
5023 action instead of binding same-window-* variables (Bug#10040).
5024
5025 2012-11-03 Glenn Morris <rgm@gnu.org>
5026
5027 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5028 Rename handler properties back from cl-- to cl-. (Bug#12788)
5029
5030 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5031
5032 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5033
5034 * term/pc-win.el: Don't load term/internal from here.
5035
5036 * loadup.el: Load term/internal from here.
5037
5038 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5039
5040 * progmodes/python.el (inferior-python-mode): Fix hang in
5041 jit-lock (Bug#12645).
5042
5043 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5044
5045 * window.el (switch-to-visible-buffer)
5046 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5047
5048 2012-11-03 Glenn Morris <rgm@gnu.org>
5049
5050 * emacs-lisp/cl-lib.el (cl--random-time):
5051 Rename from cl-random-time. (Bug#12773)
5052 (cl--gensym-counter, cl--random-state): Update callers.
5053 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5054
5055 2012-11-03 Chong Yidong <cyd@gnu.org>
5056
5057 * cus-start.el: Make cursor-type customizable (Bug#11633).
5058
5059 2012-11-02 Glenn Morris <rgm@gnu.org>
5060
5061 * filecache.el: No need to load find-lisp when compiling.
5062 (find-lisp-find-files): Autoload it.
5063 (file-cache-add-directory-recursively): Don't require find-lisp.
5064
5065 * image.el (image-type-from-file-name): Trivial simplification.
5066
5067 * emacs-lisp/bytecomp.el (byte-compile-eval):
5068 Decouple "noruntime" and "cl-functions" warnings.
5069
5070 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5071
5072 * play/gomoku.el (gomoku-display-statistics): Update mode line
5073 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5074
5075 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5076
5077 * window.el (quit-restore-window): If the window has been
5078 created on an existing frame and ended up as the sole window on
5079 that frame, do not delete it (Bug#12764).
5080
5081 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5084 Rename from sh--inside-arithmetic-expression, handle more cases
5085 (bug#11263).
5086
5087 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5088 (sh-font-lock-open-heredoc): Use it (bug#12770).
5089
5090 2012-10-30 Glenn Morris <rgm@gnu.org>
5091
5092 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5093
5094 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5095
5096 2012-10-29 Chong Yidong <cyd@gnu.org>
5097
5098 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5099 function key is stored in a keyboard macro (Bug#4894).
5100
5101 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5102
5103 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5106 header comments".
5107 (diff-unified->context, diff-context->unified)
5108 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5109
5110 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5111
5112 * files.el (find-alternate-file): Only ask one question (bug#12487).
5113
5114 2012-10-29 Chong Yidong <cyd@gnu.org>
5115
5116 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5117 Suggested by Dan Nicolaescu (Bug#6326).
5118
5119 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5120
5121 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5122
5123 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5124
5125 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5126
5127 * face-remap.el (face-remap-add-relative): Handle the case where a
5128 face-remapping-alist entry is a cons cell (Bug#12762).
5129
5130 2012-10-29 Kevin Ryde <user42@zip.com.au>
5131
5132 * woman.el (woman-parse-numeric-value): Handle picas correctly
5133 (Bug#12639).
5134
5135 2012-10-29 Glenn Morris <rgm@gnu.org>
5136
5137 * emacs-lisp/cl.el (defsetf): Doc fix.
5138
5139 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5142 syntax to the matching opener, if any (bug#12547).
5143 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5144 matching open as a "case-(".
5145 (sh-smie-rc-grammar): Add a corresponding rule for it.
5146
5147 2012-10-28 Daniel Hackney <dan@haxney.org>
5148
5149 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5150 "PKGNAME-autoloads.el" in case we created it.
5151
5152 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5155 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5156 (completion--twq-all): Disable too-strict assertions.
5157
5158 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5159
5160 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5161
5162 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5163 text to match the real keybindings.
5164
5165 2012-10-27 Juri Linkov <juri@jurta.org>
5166
5167 * wdired.el (wdired-keep-marker-rename): New defcustom.
5168 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5169 (Bug#11795)
5170
5171 * dired.el (dired-keep-marker-rename): Add reference to
5172 `wdired-keep-marker-rename' in the docstring.
5173 Add default character value ?R to display initially in
5174 Customization UI instead of ?@.
5175
5176 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5177
5178 * window.el (display-buffer): In doc-string describe
5179 window-height and window-width alist entries.
5180
5181 * time.el (display-time-world): Restore fit-window-to-buffer
5182 behavior.
5183
5184 2012-10-27 Chong Yidong <cyd@gnu.org>
5185
5186 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5187
5188 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5189
5190 * minibuffer.el (completion-category-overrides): New completion
5191 category `bookmark' (bug#11131).
5192
5193 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5196 Silence bogus compiler warnings for ad-do-it.
5197
5198 * bookmark.el (bookmark-completing-read): Set the completion category
5199 to `bookmark' (bug#11131).
5200
5201 2012-10-26 Bastien <bzg@altern.org>
5202 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * face-remap.el: Use lexical-binding.
5205 (text-scale-adjust): Improve docstring. Use itself for the temporary
5206 overlay-map bindings, so as to repeat the "Use..." message each time.
5207
5208 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * emacs-lisp/macroexp.el (macroexp--expand-all):
5211 Obey byte-compile-warning-enabled-p (bug#12486).
5212
5213 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5214 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5215
5216 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5217
5218 * mouse.el (mouse-drag-line): Move last form into preceding when
5219 clause (Bug#12731).
5220
5221 * help.el (resize-temp-buffer-window): Fix doc-string.
5222
5223 2012-10-25 David Engster <deng@randomsample.de>
5224
5225 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5226 Remove. This feature is already integrated in imenu.
5227
5228 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5229 always loaded. Require `speedbar' unconditionally.
5230
5231 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5234
5235 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5236
5237 * net/ldap.el (ldap-search-internal): The official ldif format starts
5238 with a "version: 1" header (bug#12724).
5239
5240 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5241 (bug#12721).
5242
5243 2012-10-25 Glenn Morris <rgm@gnu.org>
5244
5245 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5246
5247 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * minibuffer.el (minibuffer-force-complete): Use one more marker
5250 for the temporary-overlay-map command (bug#12619).
5251
5252 2012-10-24 Chong Yidong <cyd@gnu.org>
5253
5254 * time.el (display-time-world-mode): Derive from special-mode.
5255 (display-time-world): Use display-buffer (Bug#12708).
5256 (display-time-world-mode-map): Variable deleted.
5257 (display-time-world-display): Wrap the final delete-char inside
5258 inhibit-read-only.
5259
5260 2012-10-24 Chong Yidong <cyd@gnu.org>
5261
5262 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5263 Doc fix.
5264
5265 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5266
5267 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * minibuffer.el (completion--all-sorted-completions-location): New var.
5270 (completion--cache-all-sorted-completions)
5271 (completion--flush-all-sorted-completions): Use it.
5272 (completion-in-region, completion-in-region--postch)
5273 (completion-at-point, completion-help-at-point): Use markers in
5274 completion-in-region--data (bug#12619).
5275
5276 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * progmodes/compile.el (compilation-start): Try to handle common
5279 quoting of `cd' argument (bug#12640).
5280
5281 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5282 (bug#12671).
5283
5284 2012-10-23 Glenn Morris <rgm@gnu.org>
5285
5286 * progmodes/gud.el (gud-menu-map):
5287 Check gdb-active-process is bound. (Bug#12358)
5288
5289 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * repeat.el (repeat): Set real-this-command (bug#12232).
5292
5293 * htmlfontify.el (hfy-post-html-hook):
5294 * filesets.el (filesets-cache-fill-content-hook):
5295 * arc-mode.el (archive-extract-hook):
5296 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5297 * net/rcirc.el (rcirc-sentinel-functions)
5298 (rcirc-receive-message-functions, rcirc-activity-functions)
5299 (rcirc-print-functions):
5300 * net/dbus.el (dbus-event-error-functions):
5301 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5302 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5303 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5304 * term/sun.el (sun-raw-prefix-hooks):
5305 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5306
5307 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5310 Set `tramp-chunksize' to 1. This improves the performance.
5311 (tramp-smb-wait-for-output): Add timeout to
5312 `tramp-accept-process-output' calls.
5313
5314 2012-10-23 Chong Yidong <cyd@gnu.org>
5315
5316 * faces.el (font-list-limit): Define as an obsolete variable.
5317
5318 * startup.el (command-line):
5319 * cus-start.el: Don't refer to font-list-limit.
5320
5321 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5322
5323 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * subr.el (internal-temp-output-buffer-show): Rename from
5326 temp-output-buffer-show, since previously compiled files expect this name.
5327
5328 2012-10-23 Glenn Morris <rgm@gnu.org>
5329
5330 * image.el (image-type-from-file-name): If multiple types match,
5331 return the first one that is supported. (Bug#9045)
5332
5333 2012-10-22 Glenn Morris <rgm@gnu.org>
5334
5335 * image.el (imagemagick-enabled-types): Doc fix.
5336
5337 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5338
5339 * progmodes/which-func.el (which-func-current): The hash-table may have
5340 an explicit nil (bug#12338).
5341
5342 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * electric.el (electric-pair-delete-selection-self-insert-function):
5345 Rename to electric-pair-will-use-region, return a boolean.
5346 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5347
5348 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5349 (delete-selection-pre-hook): Use use-region-p.
5350 (delete-selection-self-insert-function): Remove.
5351 (self-insert-command): Obey self-insert-uses-region-functions.
5352 (self-insert-iso): Revert to previous setting, since we don't actually
5353 know what that command does.
5354 (delete-selection-self-insert-hooks): Remove.
5355
5356 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5357
5358 * delsel.el (delete-selection-helper): New function, extracted from
5359 delete-selection-pre-hook.
5360 (delete-selection-pre-hook): Use it.
5361 (delete-selection-self-insert-function): New function.
5362 (delete-selection-self-insert-hooks): New hook.
5363 (self-insert-command, self-insert-iso): Use it.
5364 * electric.el (electric-pair-syntax): New function, extracted from
5365 electric-pair-post-self-insert-function.
5366 (electric-pair-post-self-insert-function): Use it.
5367 (electric-pair-delete-selection-self-insert-function): New function.
5368 (electric-pair-mode): Require delsel and setup
5369 delete-selection-self-insert-hooks (bug#11520).
5370
5371 2012-10-20 Chong Yidong <cyd@gnu.org>
5372
5373 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5374 no changes to show (Bug#12586).
5375
5376 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5377 list explicitly (Bug#12571).
5378
5379 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5380
5381 * progmodes/flymake.el (flymake-create-temp-inplace):
5382 Use file-truename.
5383
5384 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5385
5386 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5387
5388 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5389
5390 * calc/calc-units.el (math-extract-units): Properly extract powers
5391 of units.
5392
5393 2012-10-20 Daniel Colascione <dancol@dancol.org>
5394
5395 * frame.el (make-frame): Set x-display-name as we used to in order
5396 to unbreak creating an X11 frame from an Emacs daemon started
5397 without a display.
5398
5399 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5402 the same completion-field (bug#12221).
5403
5404 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5405
5406 * emacs-lisp/debug.el (debug): Record height of debugger window
5407 also when debugger will be back (Bug#8789).
5408
5409 2012-10-18 Chong Yidong <cyd@gnu.org>
5410
5411 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5412 Convert to defcustom.
5413 (gdb-get-source-file): Don't bind pop-up-windows.
5414
5415 * progmodes/gud.el (gud-display-line): Don't specially re-use
5416 other frames for the gdb-mi case (Bug#12648).
5417
5418 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/advice.el: Clean up commentary a bit.
5421 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5422 (byte-code-function-p): Never redefine.
5423
5424 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5425
5426 2012-10-18 Glenn Morris <rgm@gnu.org>
5427
5428 * dired.el (dired-sort-toggle): Some ls implementations only allow
5429 a single option string. (Bug#12666)
5430
5431 * minibuffer.el (completion-cycle-threshold): Doc fix.
5432
5433 2012-10-17 Kenichi Handa <handa@gnu.org>
5434
5435 * international/mule.el (set-keyboard-coding-system):
5436 Recover input meta mode when the new coding system doesn not use 8-bit.
5437 Supply TERMINAL arg to set-input-meta-mode.
5438
5439 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5440
5441 * wdired.el (wdired-old-marks): New variable.
5442 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5443 (wdired-do-renames): Move point with renamed file and don't lose
5444 mark status (Bug#11795).
5445
5446 2012-10-16 Juri Linkov <juri@jurta.org>
5447
5448 * replace.el (query-replace-help): Mention multi-buffer replacement
5449 keys in the Help message. (Bug#12655)
5450
5451 2012-10-15 Chong Yidong <cyd@gnu.org>
5452
5453 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5454
5455 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5456
5457 * window.el (display-buffer): Doc fix.
5458
5459 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5460 Adjust the msft regexp to the output of Studio 2010, and move msft
5461 before edg-1. See the discussion on emacs-devel,
5462 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5463 for the details.
5464
5465 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5468 (oset): Move uses of object-class-fast macro after its definition.
5469
5470 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5471
5472 2012-10-13 Chong Yidong <cyd@gnu.org>
5473
5474 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5475 enabled, re-enable it (Bug#11963).
5476
5477 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5478
5479 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5480 non-nil, restore window configuration (Bug#12623).
5481
5482 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * help-fns.el (describe-variable, describe-function-1):
5485 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5486
5487 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5488
5489 2012-10-12 Glenn Morris <rgm@gnu.org>
5490
5491 * mail/rmailsum.el (rmail-header-summary):
5492 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5493
5494 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5495
5496 * progmodes/python.el (python-mode-map):
5497 Replace subtitute-key-definition with proper command remapping.
5498 (python-nav--up-list): Fix behavior for blocks on the same level.
5499
5500 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5503
5504 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5505 changes to the format of load-history.
5506
5507 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5508 completion-ignore-case in case that var is buffer-local (bug#12615).
5509
5510 2012-10-11 Kenichi Handa <handa@gnu.org>
5511
5512 * international/eucjp-ms.el: Re-generated.
5513
5514 2012-10-10 Kenichi Handa <handa@gnu.org>
5515
5516 * select.el (xselect--encode-string): If a coding is specified for
5517 selection, and that is compatible with COMPOUND_TEXT, use it.
5518
5519 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5520
5521 * window.el (switch-to-buffer-preserve-window-point): New option.
5522 (switch-to-buffer):
5523 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5524
5525 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5528 Don't document nil as a useful value (bug#12583).
5529
5530 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5531
5532 * net/tramp.el (tramp-debug-message):
5533 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5534 (with-tramp-progress-reporter): Rename from
5535 `tramp-with-progress-reporter'.
5536 (with-tramp-file-property, with-tramp-connection-property):
5537 Move from tramp-cache.el, rename from `with-file-property' and
5538 `with-connection-property', respectively.
5539
5540 * net/tramp-cache.el: Remove `with-file-property' and
5541 `with-connection-property'.
5542
5543 * net/tramp.el:
5544 * net/tramp-gvfs.el:
5545 * net/tramp-sh.el:
5546 * net/tramp-smb.el: Adapt callees.
5547
5548 * net/trampver.el: Update release number.
5549
5550 2012-10-09 Glenn Morris <rgm@gnu.org>
5551
5552 * w32-fns.el (set-message-beep):
5553 * term/w32-win.el (set-message-beep): Update declarations.
5554
5555 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5558 (mode-line-widen, mode-line-input-method-map)
5559 (mode-line-coding-system-map, mode-line-remote)
5560 (mode-line-unbury-buffer, mode-line-bury-buffer)
5561 (mode-line-next-buffer, mode-line-previous-buffer):
5562 Replace save-selected-window+select-window => with-selected-window.
5563
5564 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5565 * progmodes/cc-vars.el (bq-process): Remove, unused.
5566
5567 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5568
5569 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5570
5571 Implemented `backward-up-list'-like navigation.
5572 * progmodes/python.el (python-nav-up-list)
5573 (python-nav-backward-up-list): New functions.
5574 (python-mode-map): Define substitute key for backward-up-list to
5575 python-nav-backward-up-list.
5576
5577 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5578
5579 * progmodes/python.el (python-fill-paragraph): Rename from
5580 python-fill-paragraph-function. Fixed fill-paragraph for
5581 decorators (Bug#12605).
5582
5583 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5584
5585 * progmodes/python.el (python-shell-output-filter): Handle extra
5586 carriage return in OSX (Bug#12409).
5587
5588 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5589
5590 Fix shell handling of unbalanced quotes and parens in output.
5591 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5592 (python-syntax-propertize-function): Use it.
5593 (python-shell-output-syntax-table): New var.
5594 (inferior-python-mode): Prevent unbalanced parens/quotes from
5595 previous output mess with current input context.
5596
5597 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5598
5599 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5600 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5601
5602 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5603
5604 * ffap.el (ffap-replace-file-component): Support Tramp file name
5605 syntax, not only ange-ftp's one.
5606
5607 2012-10-08 Glenn Morris <rgm@gnu.org>
5608
5609 * cus-start.el (message-log-max): Set :version.
5610
5611 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5612
5613 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5614
5615 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5616 the minibuffer window (Bug#10851).
5617
5618 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5619
5620 Enhancements on forward-sexp movement.
5621 * progmodes/python.el (python-nav-beginning-of-statement)
5622 (python-nav-end-of-statement): Return point-marker.
5623 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5624 (python-info-current-symbol)
5625 (python-info-statement-starts-block-p): Rename from
5626 python-info-beginning-of-block-p.
5627 (python-info-statement-ends-block-p): Rename from
5628 python-info-end-of-block-p.
5629 (python-info-beginning-of-statement-p)
5630 (python-info-end-of-statement-p)
5631 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5632 New functions.
5633
5634 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5637 frame-selected-windows.
5638
5639 2012-10-08 Daniel Colascione <dancol@dancol.org>
5640
5641 * battery.el (battery-status-function): Check for
5642 w32-battery-status itself, not system-time windows-nt.
5643
5644 * frame.el: Require cl-lib.
5645 (display-format-alist): New variable mapping frame types to
5646 functions that initialize them.
5647 (window-system-for-display): New function: interprets
5648 display-format-alist.
5649 (make-frame-on-display): Remove existing display-selection logic
5650 and just forward to make-frame, which will now DTRT.
5651 (make-frame): Restructure to use window-system-for-display to
5652 figure out how to create a frame on a given display.
5653 (display-mouse-p): Look for frame-type w32, not a particular
5654 system-type.
5655
5656 * loadup.el: Load w32 lisp code when we have the w32 feature.
5657
5658 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5659 system-type windows-nt.
5660
5661 * server.el (server-create-window-system-frame): Look for window
5662 type.
5663 (server-proces-filter): Only force a window system when windows-nt
5664 _and_ w32. Explain why.
5665
5666 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5667 of window systems we configure for the mode.
5668
5669 * startup.el (command-line): Mark window system is initialized
5670 after we've done it.
5671
5672 * common-win.el (x-select-text): Look for w32, not windows-nt.
5673
5674 * ns-win.el: Require cl-lib. Add ourselves to
5675 display-format-alist.
5676 (ns-initialize-window-system): Assert we're not initialized twice.
5677
5678 * w32-win.el: Enable lexical binding; require cl-lib; add
5679 ourselves to display-format-alist.
5680 (w32-handle-dropped-file): Convert incoming dropped files from
5681 Windows paths to Cygwin ones before passing them on to the rest of
5682 Emacs.
5683 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5684 (w32-initialize-window-system): Assert we're not initialized twice.
5685
5686 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5687 (x-initialize-window-system): Assert we're not initialized twice.
5688
5689 * w32-common-fns.el: New File.
5690 (w32-version, w32-using-nt, w32-get-clipboard-data)
5691 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5692 (w32-charset-info-alist, x-last-selected, text)
5693 (x-get-selection-value, x-selection-value): Move here.
5694
5695 * w32-fns.el: Require w32-common-fns.
5696 (w32-version, w32-using-nt, w32-get-clipboard-data)
5697 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5698 (w32-charset-info-alist, x-last-selected, text)
5699 (x-get-selection-value, x-selection-value): Move to
5700 w32-common-fns.
5701
5702 * w32-vars.el:
5703 (w32-allow-system-shell, w32-system-shells): Define only in
5704 non-cygwin case.
5705
5706 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5707
5708 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5709 (read-passwd): Remove a few more potential sources of leaks.
5710
5711 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5712
5713 * progmodes/python.el (inferior-python-mode)
5714 (python-shell-make-comint): Fix initialization of local
5715 variables copied from parent buffer.
5716
5717 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5718
5719 * term/ns-win.el (ns-read-file-name): Update declaration to match
5720 nsfns.m.
5721 (ns-respond-to-change-font): Change fontsize separately so we are sure
5722 it is set when font is acted upon.
5723
5724 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5725
5726 Enhancements to indentation.
5727 * progmodes/python.el (python-indent-context): Give priority to
5728 inside-string context. Make comments indentation markers.
5729 (python-indent-region): Do not mess with strings, unless it's the
5730 enclosing set of quotes.
5731
5732 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * window.el (internal--before-save-selected-window)
5735 (internal--after-save-selected-window): New functions extracted from
5736 save-selected-window. Make sure we return the `alist' we construct.
5737 (save-selected-window): Use them.
5738
5739 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5740 Use with-selected-window.
5741
5742 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5743 forms that define macros (bug#12593).
5744
5745 2012-10-07 Kenichi Handa <handa@gnu.org>
5746
5747 * international/mule-conf.el (compound-text-with-extensions):
5748 Add :mime-charset property as x-ctext.
5749
5750 2012-10-07 Stefan Merten <smerten@oekonux.de>
5751
5752 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5753 (rst-indent-literal-normal, rst-indent-literal-minimized)
5754 (rst-indent-comment): Correct :version tag.
5755 (rst-official-cvs-rev): Correct version string.
5756
5757 2012-10-07 Glenn Morris <rgm@gnu.org>
5758
5759 * mail/rmailmm.el (rmail-mime-process-multipart):
5760 Do not confuse a multipart message with an epilogue
5761 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5762
5763 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5764
5765 Fix shell output retrieval and comint-prompt-regexp init.
5766 * progmodes/python.el (inferior-python-mode):
5767 (python-shell-make-comint): Fix initialization of
5768 comint-prompt-regexp from copied file local variables.
5769 (python-shell-fetched-lines): Remove var.
5770 (python-shell-output-filter-in-progress): Rename from
5771 python-shell-fetch-lines-in-progress.
5772 (python-shell-output-filter-buffer): Rename from
5773 python-shell-fetch-lines-string.
5774 (python-shell-fetch-lines-filter): Delete function.
5775 (python-shell-output-filter): New function.
5776 (python-shell-send-string-no-output): Use them.
5777
5778 2012-10-07 Glenn Morris <rgm@gnu.org>
5779
5780 * hi-lock.el (hi-lock-process-phrase):
5781 Try to make it less fragile. (Bug#7161)
5782
5783 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5784
5785 2012-10-06 Glenn Morris <rgm@gnu.org>
5786
5787 * ehelp.el (electric-help-mode): Use help-mode rather than
5788 non-existent mode `help'.
5789 (electric-help-map): Use button-buffer-map. (Bug#10917)
5790
5791 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5792 (reftex-create-bibtex-footer): Fix custom types.
5793
5794 * progmodes/sh-script.el (sh-indent-after-continuation):
5795 Add explicit :group.
5796
5797 * textmodes/rst.el (rst-preferred-decorations)
5798 (rst-shift-basic-offset): Clarify obsolescence versions.
5799
5800 * profiler.el (profiler): Add missing group :version tag.
5801 * avoid.el (mouse-avoidance-banish-position):
5802 * proced.el (proced-renice-command):
5803 * calc/calc.el (calc-ensure-consistent-units):
5804 * calendar/icalendar.el (icalendar-import-format-uid):
5805 * net/tramp.el (tramp-save-ad-hoc-proxies):
5806 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5807 * progmodes/flymake.el (flymake-error-bitmap)
5808 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5809 * progmodes/sh-script.el (sh-indent-after-continuation):
5810 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5811 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5812 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5813 (vhdl-array-index-record-field-in-sensitivity-list)
5814 (vhdl-indent-comment-like-next-code-line):
5815 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5816 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5817 (reftex-cite-key-separator, reftex-create-bibtex-header)
5818 (reftex-create-bibtex-footer):
5819 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5820 (rst-indent-literal-normal, rst-indent-literal-minimized)
5821 (rst-indent-comment): Add missing custom :version tags.
5822
5823 * calendar/timeclock.el (timeclock-modeline-display):
5824 Add missing obsolete alias for renamed user option.
5825
5826 * strokes.el (strokes-modeline-string):
5827 * emulation/crisp.el (crisp-mode-modeline-string):
5828 * eshell/esh-mode.el (eshell-status-in-modeline):
5829 Aliases to defcustoms must come before the defcustom.
5830
5831 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5832 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5833 (cal-tex-cursor-week-monday): Doc fixes.
5834 (cal-tex-cursor-week2-summary): Doc fix.
5835 Rename from cal-tex-cursor-week-at-a-glance.
5836
5837 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5838 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5839
5840 * calendar/calendar.el (calendar-mode-map):
5841 Add cal-tex-cursor-week2-summary.
5842
5843 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5846
5847 * subr.el (read-passwd-map): New var.
5848 (read-passwd): Use `read-string' again.
5849 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5850
5851 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5852
5853 * register.el (append-to-register, prepend-to-register):
5854 Deactivate mark, as does `copy-to-register' (bug#12389).
5855
5856 2012-10-06 Chong Yidong <cyd@gnu.org>
5857
5858 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5859
5860 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5861
5862 * international/characters.el: Fix simple mistake ((car chars) ->
5863 elt), delete duplicated code.
5864
5865 2012-10-06 Glenn Morris <rgm@gnu.org>
5866
5867 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5868
5869 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5870
5871 * color.el (color-hsl-to-rgb): Fix incorrect results for
5872 small and large hue values. (Bug#12559)
5873
5874 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5875
5876 Enhancements to docstring formatting when filling paragraphs.
5877 * progmodes/python.el (python-fill-docstring-style): Rename from
5878 python-fill-string-style. Added new style.
5879 (python-fill-string): Use new style. Better checks for
5880 docstrings.
5881
5882 2012-10-05 Glenn Morris <rgm@gnu.org>
5883
5884 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5885
5886 * color.el (color-name-to-rgb, color-rgb-to-hex)
5887 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5888 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5889 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5890 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5891
5892 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5893
5894 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5897 to get the correct size across symlinks.
5898
5899 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5900
5901 2012-10-04 Juri Linkov <juri@jurta.org>
5902
5903 * replace.el (query-replace-interactive): Declare obsolete.
5904 (query-replace-read-from): Add the last incremental search string
5905 to the list of default values accessible via M-n.
5906 (map-query-replace-regexp): Use `read-regexp'.
5907 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5908 (map-query-replace-regexp, replace-string, replace-regexp):
5909 Fix docstrings to replace mentions of `query-replace-interactive'
5910 with alternatives. (Bug#12526)
5911
5912 2012-10-04 Juri Linkov <juri@jurta.org>
5913
5914 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5915 (dired-pop-to-buffer): Declare obsolete.
5916 (dired-mark-pop-up): Doc fix.
5917
5918 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5919
5920 Allow user to set docstring style for fill-paragraph.
5921 * progmodes/python.el
5922 (python-fill-comment-function, python-fill-string-function)
5923 (python-fill-decorator-function, python-fill-paren-function):
5924 Remove :safe for defcustoms.
5925 (python-fill-string-style): New defcustom
5926 (python-fill-paragraph-function): Enhance context detection.
5927 (python-fill-string): Honor python-fill-string-style settings.
5928
5929 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5930
5931 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5932 after setting its buffer (Bug#10805).
5933
5934 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5935
5936 Fix cornercase for string syntax.
5937 * progmodes/python.el (python-syntax-propertize-function):
5938 Simplify and enhance the regexp for unescaped quotes. Now it also
5939 matches quotes in weird situations like the single quote in
5940 "something\"'".
5941 (python-syntax-stringify): Simplify num-quotes detecting code.
5942
5943 2012-10-03 Glenn Morris <rgm@gnu.org>
5944
5945 * help-macro.el (three-step-help):
5946 Revert 2012-09-29 change. (Bug#12567)
5947
5948 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5949
5950 * menu-bar.el (kill-this-buffer): Don't do anything when
5951 `menu-frame' is not alive or visible (Bug#8184).
5952
5953 * emacs-lisp/debug.el (debug): When quitting the debugger window
5954 restore current buffer (Bug#12502).
5955
5956 2012-10-02 Chong Yidong <cyd@gnu.org>
5957
5958 * progmodes/hideif.el (hif-lookup, hif-defined):
5959 Handle semantic-c-takeover-hideif.
5960
5961 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5962
5963 Change sampling interval units from ms to ns.
5964 * profiler.el (profiler-sampling-interval): Change units
5965 from ms to ns, multiplying the default by 1000000 so that
5966 it remains 1 ms.
5967 (profiler-report-cpu-line-format): Give enough room for
5968 the maximum counters on 64-bit hosts.
5969 (profiler-report-render-calltree-1): Call them "CPU samples",
5970 not "Time (ms)", since they are not milliseconds now (and
5971 never really were).
5972
5973 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5974
5975 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5976 Fix querying BBDB for entries without a last name (Bug#11580).
5977
5978 2012-10-02 Chong Yidong <cyd@gnu.org>
5979
5980 * emacs-lisp/eieio.el: Restore Version header.
5981
5982 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * vc/diff-mode.el (diff--auto-refine-data): New var.
5985 (diff-hunk): Use it to delay refinement.
5986 (diff-mode): Remove overlays when we turn off font-lock.
5987
5988 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5989 (table-initialize-table-fixed-width-mode)
5990 (table-set-table-fixed-width-mode): Remove functions.
5991 (table-command-list): Move initialization into declaration.
5992 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5993 (table-with-cache-buffer): Use `declare'.
5994 (table-span-cell): Simplify via CSE.
5995 (table-fixed-width-mode): Use define-minor-mode.
5996 (table-call-interactively, table-funcall, table-apply): Remove.
5997 (table-function): New function, to replace them.
5998
5999 * bookmark.el (bookmark-search-pattern): Remove var.
6000 (bookmark-read-search-input): Remove function.
6001 (bookmark-bmenu-search): Reimplement using a minibuffer.
6002
6003 * faces.el (modeline): Remove obsolete face name.
6004
6005 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6006 and give a non-nil default value.
6007 (add-change-log-entry): Simplify accordingly.
6008
6009 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6010
6011 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6012 (vc-git-log-edit-toggle-amend): New function.
6013 (vc-git-log-edit-toggle-signoff): New function.
6014 (vc-git-log-edit-mode): New major mode.
6015 (vc-git-log-edit-mode-map): Keymap for it.
6016 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6017
6018 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6019 header names.
6020 (log-edit-toggle-header): New function.
6021 (log-edit-extract-headers): Accept function values in HEADERS alist.
6022
6023 2012-10-01 David Engster <deng@randomsample.de>
6024
6025 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6026 from symbol property and change message to be more consistent with
6027 Emacs proper.
6028 (eieio-describe-generic): Add filename for each implementation.
6029 Fix indices for generic and normal methods.
6030 (eieio-method-def, eieio-class-def): New buttons.
6031 (eieio-help-find-method-definition)
6032 (eieio-help-find-class-definition): New functions.
6033 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6034 class, constructor and method definitions.
6035
6036 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6037 information in symbol property.
6038 (scoped-class): Remove.
6039 (eieio-slot-name-index, call-next-method): Check if it is bound.
6040
6041 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6042
6043 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6044 (eieio-custom-mode): New major mode.
6045 (eieio-customize-object): Use it.
6046
6047 2012-10-01 Eric Ludlam <zappo@gnu.org>
6048
6049 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6050 specifying the expected class, and whether subclassing is allowed.
6051 (eieio-persistent-convert-list-to-object):
6052 (eieio-persistent-validate/fix-slot-value)
6053 (eieio-persistent-slot-type-is-class-p): New functions.
6054 (eieio-named::slot-missing): Doc fix.
6055
6056 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6057 Stop using unused publd variable.
6058
6059 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6060 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6061 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6062 (eieio-speedbar-handle-click): Do not specify a class for the
6063 method. Fixes method invocation order problems with EDE.
6064
6065 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6068 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6069
6070 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6071
6072 * bookmark.el (bookmark-version-control): Give tags in the
6073 :type choices (Bug#12309), and improve doc string.
6074 (bookmark-write-file): Bind `print-circle' to `t' to allow
6075 circular custom bookmark types. (Bug#12503)
6076
6077 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6078
6079 Revert the FOLLOW-SYMLINKS change for file-attributes.
6080 * files.el (remote-file-name-inhibit-cache, after-find-file):
6081 * time.el (display-time-file-nonempty-p): Undo last change.
6082
6083 * profiler.el (profiler-sampling-interval): Change default back to 1.
6084 See Stefan Monnier in
6085 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6086
6087 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6088
6089 Shell output catching a la gud-gdb.
6090 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6091 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6092 New Vars.
6093 (python-shell-fetch-lines-filter): New function.
6094 (python-shell-send-string-no-output): Use them.
6095
6096 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6097
6098 * profiler.el (profiler-sampling-interval): Rename from
6099 profiler-sample-interval.
6100 (profiler-sampling-interval): Default to 10.
6101 (profiler-find-profile): New command (was profiler-find-log).
6102 (profiler-find-profile-other-window): New command.
6103 (profiler-find-profile-other-frame): New command.
6104 (profiler-profile): Introduce API-level data structure.
6105
6106 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6107
6108 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6109 * files.el (remote-file-name-inhibit-cache):
6110 * time.el (display-time-file-nonempty-p): Use it.
6111 * files.el (after-find-file): Don't chase links before calling
6112 file-exists-p, as file-exists-p already does the right thing.
6113
6114 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6115
6116 Merge from standalone RefTeX repository.
6117
6118 The following ChangeLog entries are shortened versions of the
6119 original ones with file paths adapted. A not so strongly edited
6120 version of the original ChangeLog can be found in the commit log.
6121
6122 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6123 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6124 Correctly handle new value type returned by `reftex-citation'.
6125
6126 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6127 that entries with whitespace at various places are found.
6128 Doc fix. Include entries that are cross-referenced from cited entries.
6129 Include @String definitions in the resulting bib file. Add header
6130 and footer defined in `reftex-create-bibtex-header' and
6131 `reftex-create-bibtex-footer'.
6132 (reftex-do-citation): Make it possible again to insert
6133 non-existent entries. Save match data when asking for optional
6134 arguments. Return all keys, not just the first one.
6135 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6136 all citations in the same line.
6137 (reftex-parse-bibtex-entry): Accept additional optional argument
6138 `raw' and keep quotes or braces if it is non-nil. Match fields
6139 containing hyphens besides word constituents.
6140 (reftex-get-string-refs): New function.
6141 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6142 and ask if it should be reread in case it did.
6143 (reftex-pop-to-bibtex-entry)
6144 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6145 entries with spaces or tabs in front of arguments.
6146 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6147 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6148 Match entries containing numbers and symbol constituents.
6149 (reftex-do-citation, reftex-figure-out-cite-format):
6150 Use `reftex-cite-key-separator'.
6151
6152 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6153 (reftex-mouse-view-crossref): Explain why point is set.
6154
6155 * textmodes/reftex-global.el: Whitespace changes.
6156
6157 * textmodes/reftex-index.el: Move provide statement to end of
6158 file.
6159 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6160 (reftex-index-visit-phrases-buffer): Set marker when visiting
6161 buffer. This allows for returning from the phrases file to the
6162 file one was just editing instead of the file where the last
6163 phrases was added from.
6164 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6165 punctuation syntax as it usually is not used as string quote in
6166 TeX-related modes and may occur unmatched. The change also
6167 prevents fontification of quoted content.
6168 (reftex-index-phrases-mode): Use it.
6169
6170 * textmodes/reftex-parse.el (reftex-parse-from-file):
6171 Move backward one char if a `\' was matched after a section macro.
6172 (reftex-parse-from-file): Use beginning of match instead of end as
6173 bound.
6174
6175 * textmodes/reftex-ref.el: Adapt creation of
6176 `reftex-<package>-<macro>' functions to new structure of
6177 `reftex-ref-style-alist'.
6178 (reftex-reference): Use `reftex-ref-style-list' function.
6179 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6180 reference macro if `reftex-ref-macro-prompt' is non-nil.
6181 (reftex-reference): Pass refstyle to `reftex-format-special'.
6182 Determine reference macro by looking at
6183 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6184 Use only one special format function.
6185 (reftex-varioref-vref, reftex-fancyref-fref)
6186 (reftex-fancyref-Fref): Remove definitions. The functions are now
6187 generated from `reftex-ref-style-alist'.
6188 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6189 Remove.
6190 (reftex-format-special): New function.
6191
6192 * textmodes/reftex-sel.el
6193 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6194 of `reftex-ref-style-alist'. Remove code for testing macro type.
6195 (reftex-select-toggle-varioref)
6196 (reftex-select-toggle-fancyref): Remove.
6197 (reftex-select-cycle-ref-style-internal)
6198 (reftex-select-cycle-ref-style-forward)
6199 (reftex-select-cycle-ref-style-backward): New functions.
6200 (reftex-select-label-map): Use `v' and `V' for general cycling
6201 through reference styles. Add `p' for switching between number
6202 and page reference types.
6203
6204 * textmodes/reftex-toc.el (reftex-re-enlarge):
6205 Call `enlarge-window' only if there is something to do because in Emacs
6206 the horizontal version throws an error even if the parameter is 0.
6207
6208 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6209 (reftex-plug-into-AUCTeX): Doc fix.
6210 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6211 string. Adapt to new name.
6212 (reftex-ref-style-alist): Change structure so that it is not
6213 possible to use multiple different package names within a style.
6214 Remove the symbols for symbols for macro type distinction.
6215 Add characters for macro selection.
6216 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6217 (reftex-create-bibtex-footer): New variables.
6218 (reftex-format-ref-function): Mention third argument of special
6219 format function.
6220 (reftex-ref-style-alist, reftex-ref-style-default-list):
6221 New variables.
6222 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6223 to new implementation. Mark as obsolete. Add compatibility code
6224 for honoring the variable values in case they are set.
6225 (reftex-cite-format-builtin, reftex-bibliography-commands):
6226 Add support for ConTeXt.
6227 (reftex-format-ref-function, reftex-format-cite-function):
6228 Fix custom type.
6229 (reftex-cite-key-separator): New variable.
6230
6231 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6232 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6233 `reftex-syntax-table' because parens have to retain their paren
6234 syntax in order for parsing of BibTeX entries like @book(...) to
6235 work.
6236 (reftex-in-comment): Do not error out if `comment-start-skip' is
6237 not set. Deal correctly with escaped comment characters.
6238 (reftex-tie-multifile-symbols): Add doc string.
6239 Initialize `reftex-ref-style-list'.
6240 (reftex-untie-multifile-symbols): Add doc string.
6241 (reftex-add-index-macros): Doc fix.
6242 (reftex-ref-style-activate, reftex-ref-style-toggle)
6243 (reftex-ref-style-list): New functions.
6244 (reftex-mode-menu): Use them. Adapt to new structure of
6245 `reftex-ref-style-alist'.
6246 (reftex-select-with-char): Kill the RefTeX Select buffer when
6247 done.
6248 (reftex-remove-if): New function.
6249 (reftex-erase-all-selection-and-index-buffers)
6250 (reftex-mode-menu): Reference styles are now computed from
6251 `reftex-ref-style-alist'. Fix typo.
6252 (reftex-report-bug): New function.
6253 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6254 algorithms with O(n log n). Introduce optional argument SORT (not
6255 yet used).
6256
6257 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6258
6259 Enhancements for triple-quote string syntax.
6260 * progmodes/python.el (python-syntax-propertize-function):
6261 Match both quote cases in one regexp.
6262 (python-syntax-stringify): Handle matches properly.
6263
6264 2012-09-30 Juri Linkov <juri@jurta.org>
6265
6266 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6267 to nil around the call to `insert' to prevent
6268 directory time modification by lock_file. (Bug#2295)
6269 * tar-mode.el (tar-summarize-buffer): Idem.
6270
6271 2012-09-30 Juri Linkov <juri@jurta.org>
6272
6273 * facemenu.el (list-colors-sort): Add option "Luminance".
6274 (list-colors-sort-key): Implement it.
6275
6276 * vc/diff-mode.el (diff-refine-removed):
6277 * vc/ediff-init.el (ediff-fine-diff-A):
6278 * vc/smerge-mode.el (smerge-refined-removed):
6279 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6280
6281 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6282
6283 * term/ns-win.el (x-file-dialog): New function.
6284
6285 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6286
6287 * ido.el (ido-max-directory-size): Default to nil; the current
6288 default is small for POSIX systems, and impractical on Windows 7
6289 now that lstat returns directory sizes for NTFS.
6290
6291 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6292
6293 In buffer display functions handle window-height/window-width
6294 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6295 * window.el (window--display-buffer): New argument ALIST.
6296 Obey window-height and window-width alist entries.
6297 (window--try-to-split-window): New argument ALIST.
6298 Bind window-combination-limit to t when the window's size shall be
6299 changed and window-combination-limit equals `window-size'.
6300 (display-buffer-in-atom-window)
6301 (display-buffer-in-major-side-window)
6302 (display-buffer-in-side-window, display-buffer-same-window)
6303 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6304 (display-buffer-pop-up-window, display-buffer-below-selected)
6305 (display-buffer-at-bottom, display-buffer-in-previous-window)
6306 (display-buffer-use-some-window): Adjust all callers of
6307 window--display-buffer and window--try-to-split-window.
6308 (fit-frame-to-buffer): New option.
6309 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6310 is non-nil.
6311 (display-buffer-in-major-side-window): Evaluate window-height /
6312 window-width alist entries.
6313
6314 * help.el (temp-buffer-resize-frames)
6315 (temp-buffer-resize-regexps): Remove options.
6316 (temp-buffer-resize-mode): Adjust doc-string.
6317 (resize-temp-buffer-window): Don't consult
6318 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6319 temp-buffer-resize-frames.
6320
6321 * dired.el (dired-mark-pop-up):
6322 Call display-buffer-below-selected with a fit-window-to-buffer alist
6323 entry.
6324
6325 2012-09-30 Chong Yidong <cyd@gnu.org>
6326
6327 * server.el (server-host): Document the security implications.
6328 (server-auth-key): Doc fix.
6329
6330 * startup.el (initial-buffer-choice): Doc fix.
6331
6332 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6333
6334 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6335 restriction change.
6336
6337 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6338
6339 * help-fns.el (help-fns--obsolete): Fix last change.
6340
6341 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6344 (minor-mode-map-alist): Remove redundant code.
6345
6346 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6347 visited in a buffer.
6348 (cvs-insert-visited-file): New function.
6349 (find-file-hook): Use it.
6350
6351 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6352
6353 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6354 chose face.
6355 (log-edit-empty-buffer-p): Don't require a space after a header.
6356
6357 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6358
6359 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6360
6361 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6362 a proper minor-mode.
6363
6364 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6365
6366 2012-09-29 Glenn Morris <rgm@gnu.org>
6367
6368 * winner.el (winner-mode): Remove variable (let define-minor-mode
6369 handle it).
6370 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6371 Doc fixes.
6372 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6373 (winner-mode): Use define-minor-mode.
6374
6375 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6376 the full definition in loaddefs, rather than duplicating it.
6377
6378 * help-macro.el (three-step-help): No need to autoload defcustom.
6379
6380 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6381 (inferior-lisp-program, inferior-lisp-load-command)
6382 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6383 No need to autoload defcustoms.
6384
6385 * hippie-exp.el (hippie-expand-try-functions-list)
6386 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6387 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6388 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6389 (hippie-expand-only-buffers): No need to autoload defcustoms.
6390 * progmodes/vhdl-mode.el (vhdl-line-expand):
6391 Explicitly load hippie-exp, so it does not get autoloaded
6392 while hippie-expand-try-functions-list is let-bound.
6393
6394 2012-09-28 Glenn Morris <rgm@gnu.org>
6395
6396 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6397
6398 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6399 Only "cl.el" counts as cl these days.
6400
6401 2012-09-28 Juri Linkov <juri@jurta.org>
6402
6403 Display archive errors in the echo area instead of inserting
6404 to the file buffer.
6405
6406 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6407 to STDERR-TEST that can be a regexp matching a successful output.
6408 Create a temporary file and redirect stderr to it. Search for
6409 STDERR-TEST in the stderr output and display it in the echo area
6410 if no match is found.
6411 (archive-extract-by-file): New function like
6412 `archive-extract-by-stdout' but extracting archives to files
6413 and looking for successful matches in stdout. Function body is
6414 mostly copied from `archive-rar-extract'.
6415 (archive-rar-extract): Use `archive-extract-by-file'.
6416 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6417
6418 2012-09-28 Leo Liu <sdl.web@gmail.com>
6419
6420 * pcomplete.el (pcomplete-show-completions):
6421 Use minibuffer-message to make pcomplete usable in minibuffer.
6422
6423 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6424
6425 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * type-break.el: Use lexical-binding.
6428 (type-break-mode): Use define-minor-mode.
6429
6430 * emacs-lisp/pcase.el (pcase--mark-used): New.
6431 (pcase--u1): Use it (bug#12512).
6432
6433 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6434 in load-history with the right file name.
6435
6436 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6437
6438 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6439 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6440 (doc-view-get-bounding-box): Make bounding box slicing work for
6441 ODF and DVI documents.
6442
6443 2012-09-28 Glenn Morris <rgm@gnu.org>
6444
6445 * type-break.el (type-break-mode, type-break-interval)
6446 (type-break-good-rest-interval, type-break-keystroke-threshold):
6447 No need to autoload.
6448 (type-break-good-rest-interval, type-break-keystroke-threshold):
6449 Add :set-after.
6450
6451 2012-09-28 Chong Yidong <cyd@gnu.org>
6452
6453 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6454 Add :version tag.
6455
6456 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6459
6460 2012-09-27 Glenn Morris <rgm@gnu.org>
6461
6462 * faces.el (x-display-name): Declare (for without-x builds).
6463
6464 * linum.el (linum-format): Don't autoload it. Improve :type.
6465
6466 * progmodes/tcl.el: Don't require outline when compiling.
6467 (outline-regexp, outline-level): Declare.
6468 * textmodes/sgml-mode.el: Don't require outline when compiling.
6469 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6470
6471 * term.el (term-ansi-reset):
6472 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6473
6474 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6475 files for RCS and SCCS. (Bug#9781)
6476
6477 2012-09-27 Chong Yidong <cyd@gnu.org>
6478
6479 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6480 change; value should be t.
6481
6482 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * image-mode.el: Use lexical-binding.
6485 (image-mode-winprops): Use t to stand for the window of
6486 a buffer that's not displayed.
6487 * doc-view.el (doc-view-new-window-function): Handle the new
6488 t in winprops.
6489 (doc-view-enlarge): Make it a real nop if the size is not changed.
6490 (doc-view-display): Handle the case where the buffer is not (yet?)
6491 displayed in any window.
6492 (doc-view-saved-settings): New var.
6493 (doc-view-mode): Use it.
6494 (doc-view-fallback-mode): Set it.
6495
6496 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6497 Set lexical-binding.
6498 (minibuffer-eldef-shorten-default): New var.
6499 (minibuffer-default-in-prompt-regexps): Use it for new default.
6500 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6501
6502 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6503
6504 * international/uni-bidi.el:
6505 * international/uni-category.el:
6506 * international/uni-name.el:
6507 * international/uni-numeric.el: Regenerate.
6508
6509 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6510 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * profiler.el: New file.
6513
6514 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6517 (testcover-reinstrument): Simplify with CSE.
6518
6519 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6520
6521 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6522
6523 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6524
6525 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6526 (verilog-auto-input, verilog-auto-insert-lisp)
6527 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6528 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6529 (verilog-auto-unused, verilog-auto-wire)
6530 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6531 newline. Reported by Andrew Jones.
6532 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6533 Reported by Brad Dobbie.
6534 (verilog-batch-delete-trailing-whitespace):
6535 Create verilog-batch-delete-trailing-whitespace.
6536 Reported by Brad Dobbie.
6537 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6538 parameters from another module. Reported by Dan Katz.
6539 (verilog-auto, verilog-auto-assign-modport)
6540 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6541 AUTOINOUTMODPORT for UVM interface module shell generation.
6542 Reported by Brad Dobbie.
6543 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6544 standard behavior.
6545 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6546 Reported by Matt Martin.
6547
6548 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6549
6550 * window.el (window--resize-child-windows): When resizing child
6551 windows proportionally, process them in reverse order to
6552 preserve the "when splitting a window the new one gets the odd
6553 line" behavior.
6554 (window--resize-root-window-vertically): When resizing the
6555 minibuffer window try to affect only windows at the bottom of the
6556 frame. (Bug#12419)
6557
6558 2012-09-25 Chong Yidong <cyd@gnu.org>
6559
6560 * subr.el (declare): Doc fix.
6561
6562 * help-fns.el (help-fns--obsolete): Handle macros properly.
6563
6564 2012-09-25 Chong Yidong <cyd@gnu.org>
6565
6566 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6567 this function obsolete.
6568
6569 * calendar/cal-x.el (calendar-two-frame-setup)
6570 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6571 * calendar/calendar.el (american-calendar, european-calendar)
6572 (calendar-for-loop):
6573 * comint.el (comint-dynamic-simple-complete)
6574 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6575 * desktop.el (desktop-load-default):
6576 * dired-x.el (dired-omit-here-always)
6577 (dired-hack-local-variables, dired-default-directory):
6578 * emacs-lisp/derived.el (derived-mode-class):
6579 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6580 * emacs-lock.el (toggle-emacs-lock):
6581 * epa.el (epa-display-verify-result):
6582 * epg.el (epg-sign-keys, epg-start-sign-keys)
6583 (epg-passphrase-callback-function):
6584 * eshell/esh-util.el (eshell-for):
6585 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6586 (eshell-add-to-window-buffer-names):
6587 * files.el (locate-file-completion):
6588 * imenu.el (imenu-example--create-c-index)
6589 (imenu-example--create-lisp-index)
6590 (imenu-example--lisp-extract-index-name)
6591 (imenu-example--name-and-position):
6592 * international/mule-cmds.el (princ-list):
6593 * international/mule-diag.el (decode-codepage-char):
6594 * international/mule-util.el (detect-coding-with-priority):
6595 * iswitchb.el (iswitchb-read-buffer):
6596 * mail/mailalias.el (mail-complete):
6597 * mail/sendmail.el (mail-sent-via):
6598 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6599 (mouse-major-mode-menu):
6600 * password-cache.el (password-read-and-add):
6601 * pcomplete.el (pcomplete-parse-comint-arguments):
6602 * progmodes/sh-script.el (sh-maybe-here-document):
6603 * replace.el (query-replace-regexp-eval):
6604 * savehist.el (savehist-load):
6605 * simple.el (choose-completion-delete-max-match):
6606 * term.el (term-dynamic-simple-complete):
6607 * vc/ediff-init.el (ediff-check-version):
6608 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6609 * vc/vc.el (vc-diff-switches-list):
6610 * view.el (view-return-to-alist-update): Likewise.
6611
6612 * subr.el (eval-next-after-load, makehash, insert-string)
6613 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6614 mark obsolete.
6615 (mode-line-inverse-video): Variable deleted.
6616
6617 * international/mule-util.el (string-to-sequence): Remove.
6618
6619 * calendar/calendar.el (calendar-version):
6620 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6621 (icalendar-convert-diary-to-ical):
6622 * cus-edit.el (custom-mode):
6623 * ansi-color.el (ansi-color-unfontify-region):
6624 * international/latin1-disp.el (latin1-char-displayable-p):
6625 * progmodes/cwarn.el (turn-on-cwarn-mode):
6626 * progmodes/which-func.el (which-func-update-1):
6627 Use define-obsolete-function-alias.
6628
6629 * net/newst-backend.el (newsticker-cache-filename):
6630 * net/newst-treeview.el (newsticker-groups-filename):
6631 Fix incorrect obsolescence declaration.
6632
6633 * allout.el (allout-passphrase-hint-string): Likewise.
6634 (allout-init): Use a declare form to mark obsolete.
6635
6636 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6637 this applies to functions.
6638
6639 * iswitchb.el (iswitchb-read-buffer): Move code of
6640 iswitchb-define-mode-map here, and delete that obsolete function.
6641
6642 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6643 font-lock-reference-face.
6644
6645 2012-09-25 Glenn Morris <rgm@gnu.org>
6646
6647 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6648 Doc fixes.
6649
6650 * eshell/em-term.el (eshell-term-name):
6651 Default to term-term-name. (Bug#12485)
6652
6653 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6654
6655 * progmodes/python.el (python-shell-send-buffer): Better handling
6656 of "if __name__ == '__main__':" conditionals when sending the buffer.
6657
6658 2012-09-24 Glenn Morris <rgm@gnu.org>
6659
6660 * eshell/esh-cmd.el (eshell-find-alias-function):
6661 Tighten up file-name regexp. (Bug#12499)
6662
6663 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6664
6665 Enhancements for triple-quote string syntax.
6666 * progmodes/python.el (python-quote-syntax): Remove.
6667 (python-syntax-propertize-function): New value.
6668 (python-syntax-count-quotes, python-syntax-stringify):
6669 New functions.
6670
6671 2012-09-24 Chong Yidong <cyd@gnu.org>
6672
6673 * mail/supercite.el (sc-version): Remove obsolete function.
6674 (sc-describe): Don't mark as obsolete, since it is bound.
6675 (sc-submit-bug-report): Remove.
6676
6677 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6678 (cvs-commit-buffer-require-final-newline): Remove.
6679 (log-edit-require-final-newline)
6680 (log-edit-changelog-full-paragraphs): Default to t.
6681
6682 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6683 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6684 * vc/vc.el (vc-checkout-carefully): Likewise.
6685
6686 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6687 (emerge-version): Remove.
6688
6689 * progmodes/compile.el (compile-internal): Remove.
6690 (compilation-parse-errors-function): Fix typo.
6691
6692 * international/mule.el (set-char-table-default): Remove.
6693 (set-coding-priority, make-coding-system, generic-char-p)
6694 (charset-list, charset-bytes, charset-id): Use declare to mark
6695 functions as obsolete.
6696
6697 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6698 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6699 * vc/vc-hooks.el (vc-default-registered): Don't use
6700 vc-master-templates.
6701
6702 * font-lock.el (font-lock-reference-face):
6703 Use define-obsolete-variable-alias.
6704
6705 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6706 * calendar/calendar.el (calendar-font-lock-keywords):
6707 * calendar/diary-lib.el (diary-font-lock-keywords)
6708 (diary-fancy-font-lock-keywords):
6709 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6710 * textmodes/reftex-index.el (reftex-insert-index):
6711 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6712 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6713 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6714 * progmodes/prolog.el (prolog-font-lock-keywords):
6715 * progmodes/idlwave.el (idlwave-idl-keywords):
6716 * progmodes/ada-mode.el (ada-font-lock-keywords):
6717 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6718
6719 2012-09-24 Glenn Morris <rgm@gnu.org>
6720
6721 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6722
6723 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6724
6725 * progmodes/python.el (python-indent-line): More consistent cursor
6726 movement behavior.
6727
6728 2012-09-23 Stefan Merten <smerten@oekonux.de>
6729
6730 * textmodes/rst.el: Fix compiler warning.
6731
6732 2012-09-23 Roland Winkler <winkler@gnu.org>
6733
6734 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6735 Transcribe also LaTeX hyphenation.
6736 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6737 bibtex-reformat-previous-options.
6738
6739 2012-09-23 Roland Winkler <winkler@gnu.org>
6740
6741 * proced.el (proced-renice-command): New variable.
6742 (proced-marked-processes): New function.
6743 (proced-with-processes-buffer): New macro.
6744 (proced-send-signal): Use them.
6745 (proced-renice): New command bound to r.
6746
6747 2012-09-23 Roland Winkler <winkler@gnu.org>
6748
6749 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6750 ibuffer-saved-filter-groups has one element, shortcut the call of
6751 completing-read. (Bug#12331)
6752
6753 2012-09-23 Chong Yidong <cyd@gnu.org>
6754
6755 * bindings.el (mode-line-toggle-read-only):
6756 * bs.el (bs-toggle-readonly):
6757 * buff-menu.el (Buffer-menu-toggle-read-only):
6758 * dired.el (dired-toggle-read-only):
6759 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6760
6761 2012-09-23 Chong Yidong <cyd@gnu.org>
6762
6763 * image.el (image-type-available-p): Adapt to init-image-library
6764 argument changes.
6765
6766 2012-09-22 Juri Linkov <juri@jurta.org>
6767
6768 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6769 `dired-toggle-read-only'. (Bug#12462)
6770
6771 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6772
6773 * subr.el (temp-output-buffer-show): New function.
6774 (with-output-to-temp-buffer): Call temp-output-buffer-show
6775 instead of internal-temp-output-buffer-show.
6776
6777 2012-09-22 Chong Yidong <cyd@gnu.org>
6778
6779 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6780 (Bug#12462).
6781
6782 * repeat.el (repeat): Doc fix (Bug#12348).
6783
6784 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6785 (Bug#10909).
6786
6787 * simple.el (shell-command-on-region): Doc fix.
6788 (read-only-mode): Doc fix.
6789
6790 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6791
6792 * emacs-lisp/timer.el (run-with-idle-timer)
6793 (timer-activate-when-idle): Warn against reinvoking an idle timer
6794 from within its own timer action. (Bug#12447)
6795
6796 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6797
6798 * cus-start.el (window-combination-limit): Add new optional
6799 values.
6800 * window.el (temp-buffer-window-show)
6801 (window--try-to-split-window): Handle new values of
6802 window-combination-limit (Bug#1806).
6803 (split-window): Test window-combination-limit for t instead of
6804 non-nil.
6805 (display-buffer-at-bottom): New buffer display action function.
6806 * help.el (temp-buffer-resize-regexps): New option.
6807 (temp-buffer-resize-mode): Rewrite doc-string.
6808 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6809 Don't resize reused window. Suggested by Glenn Morris.
6810
6811 2012-09-22 Stefan Merten <smerten@oekonux.de>
6812
6813 * textmodes/rst.el: Revamp section title faces.
6814 (rst-official-version)
6815 (rst-package-emacs-version-alist): Sync with official version
6816 V1.4.0.
6817 (rst-faces-defaults, rst-set-level-default)
6818 (rst-level-face-max, rst-level-face-base-color)
6819 (rst-level-face-base-light, rst-level-face-format-light)
6820 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6821 (rst-adornment-faces-alist): Match new setup.
6822 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6823 (rst-level-5, rst-level-6): New faces.
6824
6825 2012-09-22 Chong Yidong <cyd@gnu.org>
6826
6827 * simple.el (undo): Handle indirect buffers (Bug#8207).
6828
6829 2012-09-21 Leo Liu <sdl.web@gmail.com>
6830
6831 IDO: Disable match re-ordering for buffer switching.
6832 * ido.el (ido-buffer-disable-smart-matches): New variable.
6833 (ido-set-matches-1): Use it. (Bug#2042)
6834
6835 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6836
6837 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6838 Fix 2011-05-17 change. (Bug#12418)
6839
6840 2012-09-21 Leo Liu <sdl.web@gmail.com>
6841
6842 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6843
6844 2012-09-21 Glenn Morris <rgm@gnu.org>
6845
6846 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6847 Be more robust about locating simple.el.
6848
6849 2012-09-21 Glenn Morris <rgm@gnu.org>
6850
6851 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6852
6853 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6854
6855 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6856
6857 2012-09-20 Juri Linkov <juri@jurta.org>
6858
6859 * replace.el (query-replace-read-from): Use `read-regexp' instead
6860 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6861 (occur-read-primary-args): Use `read-regexp' instead of
6862 `read-string'.
6863 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6864 `read-from-minibuffer'.
6865 * isearch.el (isearch-occur): Use `read-regexp' instead of
6866 `read-string'.
6867 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6868 `read-from-minibuffer'.
6869 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6870 of `read-string'. (Bug#7567)
6871
6872 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6873 and allow accepting a list of strings prepended to a list of
6874 standard default values. Doc fix. (Bug#12321)
6875
6876 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6877
6878 * replace.el (read-regexp): Don't add ": " when PROMPT already
6879 ends with a colon and space. (Bug#12321)
6880
6881 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6882
6883 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6884 error.
6885
6886 2012-09-20 Stefan Merten <smerten@oekonux.de>
6887
6888 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6889 Fixes feature request bug#11711.
6890 (rst-mode): Create `imenu-create-index-function'.
6891 (rst-get-stripped-line): Delete after refactoring.
6892 (rst-section-tree, rst-section-tree-rec)
6893 (rst-section-tree-point): Refactor and document properly.
6894 (rst-imenu-find-adornments-for-position)
6895 (rst-imenu-convert-cell, rst-imenu-create-index):
6896 New function.
6897
6898 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6901 (macroexp--expand-all): Use it.
6902 (macroexp--funcall-and-return): Remove by folding it into its sole
6903 caller (macroexp--warn-and-return).
6904 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6905 Use macroexp--obsolete-warning.
6906
6907 * calc/calc.el: Fix last change by removing the whole chunk, since it
6908 was only needed back when Calc was not bundled.
6909
6910 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6911
6912 * emacs-lisp/debug.el (debug): Restore assignment to
6913 debugger-old-buffer removed on 2012-09-08.
6914
6915 2012-09-20 Juri Linkov <juri@jurta.org>
6916
6917 * dired-aux.el (dired-diff): Remove (require 'diff) since
6918 `diff-latest-backup-file' is now autoloaded.
6919
6920 2012-09-20 Chong Yidong <cyd@gnu.org>
6921
6922 * vc/diff.el (diff-latest-backup-file): Autoload.
6923
6924 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * calc/calc.el: Remove redundant autoload shape check.
6927 (sel-mode): Don't defvar.
6928 (calc-get-stack-element): Add `sel-mode' arg instead.
6929 (calc-top, calc-top-list): Pass it this additional argument.
6930 * calc/calc-store.el (calc-store-map):
6931 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6932 (calc-map-equation, calc-outer-product, calc-inner-product):
6933 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6934
6935 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6936
6937 2012-09-19 Juri Linkov <juri@jurta.org>
6938
6939 * dired-aux.el (dired-diff): Add (require 'diff) because
6940 `diff-latest-backup-file' is not autoloaded.
6941 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6942 of `dired-get-filename' to t to not report error when there is
6943 no default file on the current line.
6944
6945 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6946
6947 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6948 macroexp--eval-if-compile.
6949 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6950 (macroexp--expand-all): Use them (bug#12371).
6951
6952 * doc-view.el (doc-view-guess-paper-size)
6953 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6954
6955 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6956
6957 New feature: set optimal slice from BoundingBox information.
6958 * doc-view.el (doc-view-mode-map): Add keybinding.
6959 (doc-view-menu): Add menu entry.
6960 (doc-view-set-slice): Adapt docstring.
6961 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6962 (doc-view-scale-bounding-box)
6963 (doc-view-set-slice-from-bounding-box): New functions.
6964 (doc-view-paper-sizes): New defvar.
6965
6966 2012-09-19 Glenn Morris <rgm@gnu.org>
6967
6968 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6969 (byte-compile-log-warning): Autoload. (Bug#12371)
6970
6971 * calendar/calendar.el (calendar-american-month-header)
6972 (calendar-european-month-header, calendar-iso-month-header)
6973 (calendar-month-header): New options.
6974 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6975 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6976
6977 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6978
6979 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6980
6981 2012-09-18 Juri Linkov <juri@jurta.org>
6982
6983 * dired-aux.el (dired-diff): Restore original functionality of
6984 getting the default value, but keep new feature of using the
6985 latest existing backup file (`diff-latest-backup-file').
6986
6987 2012-09-18 Juri Linkov <juri@jurta.org>
6988
6989 * dired.el (dired-mark): If the region is active in Transient Mark
6990 mode, mark all files in the active region. Doc fix.
6991 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6992 Doc fix. (Bug#10624)
6993
6994 2012-09-18 Juri Linkov <juri@jurta.org>
6995
6996 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6997 attributes for M-n are pulled from the file at point.
6998 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6999 Suggested by Drew Adams. (Bug#10624)
7000
7001 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7002
7003 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7004 whitespace after "end".
7005 (ruby-do-end-to-brace): Collapse block to one line if it fits
7006 within fill-column.
7007
7008 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7009
7010 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7011 value.
7012 (debug): Don't remove debugger window when debugger is expected
7013 to be back.
7014
7015 2012-09-18 Chong Yidong <cyd@gnu.org>
7016
7017 * custom.el (defface): Doc fix.
7018
7019 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7020
7021 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7022
7023 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7024 to initialize query-on-exit; then test that instead (bug#12288).
7025
7026 2012-09-17 Stefan Merten <smerten@oekonux.de>
7027
7028 * textmodes/rst.el: Add support for `testcover'.
7029 (rst-defcustom-testcover, rst-testcover-add-compose)
7030 (rst-testcover-add-1value): New functions.
7031 (rst-portable-mark-active-p): Replace by `use-region-p'.
7032 (rst-update-section, rst-classify-adornment)
7033 (rst-find-title-line): Mark `1value' forms.
7034 (rst-classify-adornment): Remove superfluous form.
7035 (rst-update-section, rst-get-adornments-around)
7036 (rst-adornment-complete-p, rst-get-next-adornment)
7037 (rst-adjust, rst-promote-region)
7038 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7039 (rst-find-pfx-in-region, rst-section-tree-rec)
7040 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7041 (rst-toc-node, rst-toc, rst-forward-section)
7042 (rst-iterate-leftmost-paragraphs)
7043 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7044 (rst-bullet-list-region)
7045 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7046 (rst-compile-find-conf, rst-compile)
7047 (rst-repeat-last-character): Fix style.
7048
7049 2012-09-17 Chong Yidong <cyd@gnu.org>
7050
7051 * comint.el (comint--complete-file-name-data): Don't add a space
7052 if the status is `sole'; that adds a gratuitous space in the
7053 completion-cycling case (Bug#12092).
7054
7055 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7056
7057 2012-09-17 Richard Stallman <rms@gnu.org>
7058
7059 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7060 only in the mime-shown mode, not in raw mode.
7061 (rmail-mime): Toggle off mime by displaying the message without
7062 mime processing. (Bug#12305)
7063
7064 * mail/rmail.el (rmail-retry-failure):
7065 Turn off mime processing first. (Bug#12037)
7066
7067 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7068
7069 2012-09-17 Chong Yidong <cyd@gnu.org>
7070
7071 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7072 (shell-dynamic-complete-functions): Convert to defcustom.
7073 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7074
7075 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7076 * comint.el (comint-prompt-read-only):
7077 * custom.el (defcustom):
7078 * hi-lock.el (hi-lock-mode):
7079 * ibuffer.el (ibuffer-formats):
7080 * ielm.el (ielm-prompt-read-only):
7081 * novice.el (disable-command):
7082 * saveplace.el (toggle-save-place):
7083 * speedbar.el (speedbar-supported-extension-expressions):
7084 * startup.el (auto-save-list-file-prefix, init-file-user)
7085 (after-init-hook, inhibit-startup-echo-area-message):
7086 * strokes.el (strokes-help):
7087 * time-stamp.el (time-stamp):
7088 * calendar/calendar.el (calendar, diary-file):
7089 * calendar/diary-lib.el (diary-mail-entries, diary)
7090 (diary-list-entries-hook):
7091 * calendar/holidays.el (holidays, calendar-holidays):
7092 * calendar/lunar.el (lunar-phases):
7093 * calendar/solar.el (sunrise-sunset):
7094 * emulation/edt.el (edt-load-keys):
7095 * emulation/viper.el (viper-mode):
7096 * eshell/em-alias.el (eshell-command-aliases-list):
7097 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7098 * international/ogonek.el (ogonek-information):
7099 * net/tramp-cmds.el (tramp-bug):
7100 * net/quickurl.el (quickurl-reread-hook-postfix):
7101 * play/decipher.el (decipher-font-lock-keywords):
7102 * progmodes/cc-styles.el (c-set-style):
7103 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7104 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7105 * progmodes/octave-mod.el (octave-mode):
7106 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7107 * progmodes/verilog-mode.el (verilog-read-defines):
7108 * textmodes/two-column.el (2C-mode): Likewise.
7109
7110 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7111
7112 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7113 that holds many addresses.
7114
7115 2012-09-16 Chong Yidong <cyd@gnu.org>
7116
7117 * align.el (align-areas): Call the indication function with
7118 positions instead of markers for arguments (Bug#12343).
7119
7120 * files.el (parse-colon-path): Use split-string (Bug#12351).
7121
7122 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7123 (display-buffer-function): Mark as obsolete.
7124
7125 * progmodes/compile.el (compilation-parse-errors): Accept list
7126 values similar to font-lock-keywords (Bug#12136).
7127 Suggested by Oleksandr Manzyuk.
7128 (compilation-error-regexp-alist): Doc fix.
7129
7130 2012-09-15 Glenn Morris <rgm@gnu.org>
7131
7132 * version.el (emacs-bzr-version-bzr): New function.
7133 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7134
7135 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7136 checkouts, check the parent dirstate matches the branch.
7137 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7138 empty string.
7139
7140 * version.el (emacs-bzr-version): Doc fix.
7141 (emacs-bzr-version-dirstate): New function.
7142 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7143 is local try and check that it matches the branch. If not, just
7144 use dirstate information. (Bug#12441)
7145
7146 2012-09-14 Juri Linkov <juri@jurta.org>
7147
7148 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7149 (Bug#12399)
7150
7151 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7154
7155 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7156 Remove obsolete byte-compiler hack that tried to silence some warnings.
7157 (edebug-submit-bug-report): Remove.
7158 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7159 Remove aliases, use the un-prefixed name instead.
7160 (edebug-pop-to-buffer): Consider other frames.
7161 (edebug-original-read):: Make it more obvious that it's always defined.
7162 (edebug--make-form-data-entry, edebug--form-data-name)
7163 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7164 single-dashed name, and implement with cl-defstruct.
7165 (edebug-set-form-data-entry): Use the standard accessors.
7166 (edebug-make-top-form-data-entry): Use push.
7167 (edebug-no-match): Drop useless `funcall'.
7168 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7169 to functions.
7170 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7171 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7172 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7173 (easy-menu-define, with-custom-print): Remove redundant specs.
7174 (edebug-outside-overriding-local-map)
7175 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7176 (edebug--display): Bind unread-command-events directly to nil rather
7177 than binding it to unread-command-events and later setting it to nil.
7178 (edebug--display): Kill edebug-eval-buffer here...
7179 (edebug--recursive-edit): ...rather than here.
7180 Bind standard-output and standard-input.
7181 (edebug-eval): Check cl-macroexpand-all is fboundp.
7182 (edebug-temp-display-freq-count): Fix last change.
7183
7184 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7185 * subr.el (noreturn, 1value): Add `debug' spec.
7186 * emacs-lisp/advice.el: Require cl-lib.
7187 (ad-copy-tree): Remove, use copy-tree instead.
7188 (ad-dolist): Remove use dolist or cl-dolist instead.
7189 (ad-do-return): Remove, use cl-return instead.
7190 (defadvice): Add `debug' spec.
7191
7192 2012-09-13 Juri Linkov <juri@jurta.org>
7193
7194 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7195 (Bug#12399)
7196
7197 2012-09-13 Glenn Morris <rgm@gnu.org>
7198
7199 * calc/calc.el (math-compose-expr):
7200 * calc/calc-ext.el (math-compose-expr):
7201 * progmodes/cc-defs.el (cl-macroexpand-all):
7202 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7203 (cl-macroexpand-all): Update declarations.
7204
7205 * vc/vc.el: No need to require ediff.
7206 (ediff-load-version-control): Declare.
7207 (ediff-vc-internal): Fix declaration.
7208 (vc-version-ediff): Require ediff.
7209
7210 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7211
7212 Use a more backwards-compatible timer format (Bug#12430).
7213 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7214 being right after USECS, as that better supports old code that
7215 inadvisedly looked directly at the timer vector.
7216
7217 2012-09-13 Kenichi Handa <handa@gnu.org>
7218
7219 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7220 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7221 `coding-priority' property of these language environment.
7222
7223 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7224
7225 Fix glitches caused by addition of psec to timers (Bug#12430).
7226 * image.el (image-animate-timer):
7227 * time.el (display-time-world-timer):
7228 Use timer--function and timer--args rather than raw access to
7229 timer vector.
7230
7231 2012-09-13 Glenn Morris <rgm@gnu.org>
7232
7233 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7234 If not compiling a file, try using load-file-name.
7235
7236 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7239 Fix last change.
7240 (edebug-update-eval-list): Use `push'.
7241
7242 * emacs-lisp/edebug.el: Use lexical-binding.
7243 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7244 Mark unused args with underscore.
7245 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7246 (edebug-form-data): Use defvar-local.
7247 (edebug-make-before-and-after-form, edebug-make-after-form):
7248 Use backquote.
7249 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7250 Not dynamically scoped any more.
7251 (edebug--enter-trace): Add arguments `function' and `args'.
7252 Rename from edebug-enter-trace.
7253 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7254 (edebug--update-coverage): Add `after-index' and `value' args.
7255 Rename from edebug-update-coverage.
7256 (edebug-slow-after): Call it accordingly.
7257 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7258 edebug-recursive-edit.
7259 (edebug--display): Call it accordingly. Add args `value',
7260 `offset-index', and `arg-mode'. Rename from edebug-display.
7261 (edebug-debugger, edebug): Call it accordingly.
7262 (edebug-eval-display-list): Use dolist.
7263
7264 2012-09-12 Juri Linkov <juri@jurta.org>
7265
7266 * info.el (Info-search): Don't check for isearch-mode and
7267 isearch-regexp before let-binding search-spaces-regexp to
7268 Info-search-whitespace-regexp.
7269 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7270 search-whitespace-regexp if isearch-lax-whitespace or
7271 isearch-regexp-lax-whitespace is non-nil.
7272 (Info-mode): Don't set local variable search-whitespace-regexp.
7273 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7274
7275 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7278 (debugger-env-macro): Remove support for unread-command-char.
7279
7280 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7281 the temporary map re-appearing on emulation-mode-map-alists.
7282
7283 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7284 since 22.1.
7285
7286 * ehelp.el (with-electric-help): Accept functions in
7287 electric-help-form-to-execute.
7288 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7289 And replace unread-command-char -> unread-command-events.
7290
7291 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7292
7293 Sync with Tramp 2.2.6.
7294
7295 * net/tramp.el (tramp-accept-process-output): Don't use
7296 JUST-THIS-ONE in the XEmacs case.
7297
7298 * net/trampver.el: Update release number.
7299
7300 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7301
7302 * emacs-lisp/debug.el (debugger-previous-window-height):
7303 New variable.
7304 (debug): When debugger-jumping-flag is non-nil try to restore
7305 height of debugger window. (Bug#8789)
7306
7307 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7308
7309 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7310 overriding-local-map and pre/post-command-hook here.
7311 (edebug-recursive-edit): Do it here instead (bug#12345).
7312 (edebug-outside-unread-command-char): Remove all uses of
7313 unread-command-char.
7314
7315 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7316 inhibit-debugger is bound instead.
7317
7318 2012-09-11 Bastien Guerry <bzg@gnu.org>
7319
7320 * subr.el (set-temporary-overlay-map): Add a docstring.
7321 (Bug#12346)
7322
7323 2012-09-11 Bastien Guerry <bzg@gnu.org>
7324
7325 * minibuffer.el (completion-table-subvert): Fix docstring.
7326 (Bug#12347)
7327
7328 2012-09-11 Bastien Guerry <bzg@gnu.org>
7329
7330 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7331
7332 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7333
7334 * progmodes/sql.el: Version 3.1
7335 (sql-db2-escape-newlines): New variable.
7336 (sql-escape-newlines-filter): Use it.
7337
7338 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7341
7342 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7343
7344 * vc/diff-mode.el (diff-mode-menu):
7345 Bind diff-remove-trailing-whitespace.
7346
7347 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7350 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7351 (emacs-lisp-byte-code-mode): New functions.
7352 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7353 (eval-defun-2): Remove bogus interactive spec.
7354 (lisp-indent-line): Remove redundant whole-exp code, now done in
7355 indent-according-to-mode.
7356 (save-match-data): Remove redundant indent data.
7357
7358 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7359 Use `declare'.
7360
7361 2012-09-09 Juri Linkov <juri@jurta.org>
7362
7363 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7364 (replace-lax-whitespace, query-replace-regexp)
7365 (query-replace-regexp-eval, replace-regexp): Doc fix.
7366 (perform-replace, replace-highlight): Let-bind
7367 isearch-lax-whitespace to replace-lax-whitespace and
7368 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7369
7370 * isearch.el (isearch-query-replace): Let-bind
7371 replace-lax-whitespace to isearch-lax-whitespace and
7372 replace-regexp-lax-whitespace to
7373 isearch-regexp-lax-whitespace. (Bug#10885)
7374
7375 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7378
7379 2012-09-09 Alan Mackenzie <acm@muc.de>
7380
7381 * progmodes/cc-engine.el (c-state-cache-init):
7382 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7383 (c-record-parse-state-state):
7384 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7385
7386 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7387
7388 * register.el (register-separator): Rename from
7389 separator-register. All uses changed. Doc fix.
7390 (register): Fix version.
7391
7392 2012-09-09 Chong Yidong <cyd@gnu.org>
7393
7394 * replace.el (query-replace-map): Bind four new symbols for
7395 requesting window scrolling.
7396
7397 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7398 query-replace-map (Bug#8948).
7399
7400 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7401
7402 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7403 since they are now in query-replace-map.
7404
7405 * window.el (scroll-other-window-down): Make the arg optional.
7406
7407 2012-09-09 Chong Yidong <cyd@gnu.org>
7408
7409 * files.el (hack-local-variables-confirm): Use quit-window to kill
7410 the *Local Variables* buffer.
7411
7412 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7413
7414 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7415 not just expect to be at its beginning. Adjust callees.
7416 Succeed when do-end block has no space before the pipe character.
7417 (ruby-brace-to-do-end): When the original block is one-liner,
7418 convert to multiline. Reindent the result.
7419
7420 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7421
7422 * register.el (register): New group.
7423 (separator-register): New user option.
7424 (increment-register): Route it to `append-to-register', if
7425 register contains text. Implication is that `C-x r +' can now be
7426 used for appending to a text register (bug#12217).
7427 (append-to-register, prepend-to-register): Add separator based on
7428 `separator-register'.
7429
7430 2012-09-08 Alan Mackenzie <acm@muc.de>
7431
7432 AWK Mode: make auto-newline work when there's "==" in the pattern.
7433 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7434 correctly.
7435 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7436 Test more rigorously for "=" token.
7437
7438 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7439
7440 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7441 Only fail when reached LIMIT.
7442
7443 2012-09-08 Chong Yidong <cyd@gnu.org>
7444
7445 * dired.el (dired-mode-map): Don't bind M-=.
7446
7447 * dired-aux.el (dired-diff): Use backup file as default.
7448
7449 2012-09-08 Drew Adams <drew.adams@oracle.com>
7450
7451 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7452
7453 2012-09-08 Chong Yidong <cyd@gnu.org>
7454
7455 * subr.el (syntax-after, syntax-class): Doc fix.
7456
7457 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (display-buffer-in-previous-window): New buffer
7460 display action function.
7461
7462 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7463 (debugger-previous-window): New variable.
7464 (debug): Rewrite using display-buffer-in-previous-window,
7465 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7466
7467 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7470
7471 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7472
7473 * progmodes/python.el (python-shell-send-string):
7474 When default-directory is remote, create temp file on remote
7475 filesystem.
7476 (python-shell-send-file): When file is remote, pass local view of
7477 file paths to remote Python interpreter. (Bug#12340)
7478
7479 2012-09-07 Chong Yidong <cyd@gnu.org>
7480
7481 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7482
7483 * files.el (after-find-file): Don't fail on a read-only buffer if
7484 require-final-newline is `visit' or `visit-save' (Bug#11156).
7485
7486 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7487
7488 * userlock.el (ask-user-about-supersession-threat):
7489 Use read-char-choice (Bug#12093).
7490
7491 2012-09-07 Chong Yidong <cyd@gnu.org>
7492
7493 * subr.el (buffer-narrowed-p): New function.
7494
7495 * ses.el (ses-widen):
7496 * simple.el (count-words--buffer-message):
7497 * net/browse-url.el (browse-url-of-buffer): Use it.
7498
7499 * simple.el (count-words-region): Don't signal an error if there
7500 is a non-nil prefix arg and the mark is not set.
7501
7502 * help.el (describe-key-briefly): Allow the message to be seen
7503 when invoked from the minibuffer (Bug#7014).
7504
7505 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7506
7507 * progmodes/ruby-mode.el (ruby-end-of-defun)
7508 (ruby-beginning-of-defun): Simplify, allow indentation before
7509 block beginning and end keywords.
7510 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7511 (ruby-end-of-defun): Expect that the point is at the beginning of
7512 the defun.
7513
7514 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7517 (bug#12367).
7518 (cl--make-usage-args): Strip _ from argument names.
7519
7520 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7521
7522 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7523 obsolete alias speedbar-key-map.
7524 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7525 (vhdl-index-menu-init): Don't use obsolete variable
7526 font-lock-maximum-size.
7527
7528 2012-09-06 Chong Yidong <cyd@gnu.org>
7529
7530 * frame.el (window-system-version): Mark as obsolete.
7531
7532 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7533 of obsolete variable speedbar-key-map.
7534
7535 2012-09-06 Juri Linkov <juri@jurta.org>
7536
7537 * replace.el (replace-lax-whitespace): New defcustom.
7538 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7539 (replace-string, replace-regexp): Mention it in docstrings.
7540 (perform-replace, replace-highlight): Let-bind
7541 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7542 to the values of replace-lax-whitespace and regexp-flag.
7543 Don't let-bind search-whitespace-regexp. (Bug#10885)
7544
7545 * isearch.el (isearch-query-replace): Let-bind
7546 replace-lax-whitespace instead of let-binding
7547 replace-search-function and replace-re-search-function.
7548 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7549 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7550 (isearch-toggle-symbol): Set isearch-regexp to nil
7551 in isearch-word mode (like in isearch-toggle-word).
7552
7553 2012-09-06 Juri Linkov <juri@jurta.org>
7554
7555 * replace.el (replace-search-function)
7556 (replace-re-search-function): Set default values to nil.
7557 (perform-replace): Let-bind isearch-related variables based on
7558 replace-related values, call `isearch-search-fun' and let-bind
7559 the result to `search-function'. Remove code that sets
7560 `search-function' and `search-string' separately for
7561 `delimited-flag'.
7562 (replace-highlight): Add new argument `delimited-flag' and
7563 rename other arguments to the names used in `perform-replace'.
7564 Let-bind `isearch-word' to the argument `delimited-flag'.
7565 (Bug#10885, bug#10887)
7566
7567 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7568
7569 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7570 ruby-beginning-of-indent, simplify, allow all keywords to have
7571 indentation before them.
7572 (ruby-beginning-of-indent): Adjust for above. Search until the
7573 found point is not inside a string or comment.
7574 (ruby-font-lock-keywords): Allow symbols to start with "@"
7575 character, give them higher priority than variables.
7576 (ruby-syntax-propertize-function)
7577 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7578 matchers. Expression expansions are not comments when inside a
7579 string, and there comment syntax status is irrelevant.
7580 (ruby-match-expression-expansion): New function. Check that
7581 expression expansion is inside a string, and it's not escaped.
7582 (ruby-font-lock-keywords): Use it.
7583
7584 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7585
7586 * help.el (temp-buffer-max-height): New default value.
7587 (temp-buffer-resize-frames): New option.
7588 (resize-temp-buffer-window): Optionally resize frame.
7589
7590 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7591 (fit-frame-to-buffer): New function.
7592
7593 2012-09-05 Glenn Morris <rgm@gnu.org>
7594
7595 * emulation/cua-rect.el (cua--init-rectangles):
7596 * textmodes/picture.el (picture-mode-map):
7597 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7598 like forward-char and backward-char. (Bug#12317)
7599
7600 2012-09-05 Leo Liu <sdl.web@gmail.com>
7601
7602 * progmodes/flymake.el (flymake-warning-re): New variable.
7603 (flymake-parse-line): Use it.
7604
7605 2012-09-05 Glenn Morris <rgm@gnu.org>
7606
7607 * calendar/holidays.el (holiday-christian-holidays):
7608 Rename an entry. (Bug#12289)
7609
7610 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7613 (bug#12222).
7614
7615 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * loadup.el: Load macroexp. Remove hack.
7618 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7619 (macroexp--expand-all): Use it to get better warnings.
7620 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7621 (internal-macroexpand-for-load): New functions.
7622 (macroexp--pending-eager-loads): New var.
7623 (emacs-startup-hook): New hack to replace one in loadup.el.
7624 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7625 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7626 (cl-psetf): Simplify.
7627 (cl-defstruct): Add indent rule.
7628
7629 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7630
7631 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7632 over `user-mail-address' for the SMTP MAIL FROM envelope.
7633 (smtpmail-via-smtp): Ditto.
7634
7635 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7636
7637 * progmodes/ruby-mode.el: Clean up keybindings.
7638 (ruby-mode-map): Don't bind ruby-electric-brace,
7639 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7640 backward-kill-word, reindent-then-newline-and-indent.
7641 (ruby-mark-defun): Remove.
7642 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7643 (ruby-mode): Set local beginning-of-defun-function and
7644 end-of-defun-function values.
7645
7646 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7647
7648 * window.el (temp-buffer-window-setup-hook)
7649 (temp-buffer-window-show-hook): New hooks.
7650 (temp-buffer-window-setup, temp-buffer-window-show)
7651 (with-temp-buffer-window): New functions.
7652 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7653 (special-display-popup-frame): Make sure the window used shows BUFFER.
7654
7655 * help.el (temp-buffer-resize-mode): Fix doc-string.
7656 (resize-temp-buffer-window): New optional argument WINDOW.
7657
7658 * files.el (recover-file, save-buffers-kill-emacs):
7659 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7660
7661 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7662
7663 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7664 remote definition of `default-directory', ensure we can connect.
7665
7666 2012-09-02 Juri Linkov <juri@jurta.org>
7667
7668 Toggle whitespace matching mode with M-s SPC.
7669 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7670
7671 * isearch.el (search-whitespace-regexp): Doc fix.
7672 Remove cons cell customization.
7673 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7674 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7675 New variables.
7676 (isearch-forward, isearch-forward-regexp): Doc fix.
7677 (isearch-toggle-lax-whitespace): New command.
7678 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7679 (re-search-forward-lax-whitespace)
7680 (re-search-backward-lax-whitespace): New functions.
7681 (isearch-whitespace-regexp): Remove function.
7682 (isearch-query-replace): Let-bind replace-search-function and
7683 replace-re-search-function.
7684 (isearch-occur): Let-bind search-spaces-regexp according to the
7685 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7686 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7687 condition for C-q SPC.
7688 (isearch-search-fun-default): Use new functions mentioned above.
7689 (isearch-search-forward, isearch-search-backward): Remove functions.
7690 (isearch-search): Don't let-bind search-spaces-regexp.
7691 (isearch-lazy-highlight-space-regexp): Remove variable.
7692 (isearch-lazy-highlight-lax-whitespace)
7693 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7694 (isearch-lazy-highlight-new-loop): Use them.
7695 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7696
7697 2012-09-02 Chong Yidong <cyd@gnu.org>
7698
7699 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7700
7701 2012-09-02 Glenn Morris <rgm@gnu.org>
7702
7703 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7704
7705 2012-09-01 Glenn Morris <rgm@gnu.org>
7706
7707 * term.el: Tidy up menu definitions.
7708 (term-mode-map): Use easymenu for In/Out, Complete menus.
7709 (term-pager-break-map): Initialize in the defvar.
7710 (term-terminal-menu, term-signals-menu): Define with easymenu.
7711 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7712 (term-pager-menu): New, extracted from term-process-pager.
7713 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7714 (term-update-mode-line): Propertize line/char and page items.
7715 (term-process-pager): Move keymap initialization elsewhere.
7716
7717 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7718
7719 * window.el (switch-to-prev-buffer): Handle additional values of
7720 BURY-OR-KILL argument. Don't switch in minibuffer window.
7721 (switch-to-next-buffer): Don't switch in minibuffer window.
7722 (quit-restore-window): New function based on quit-window.
7723 Handle additional values of former KILL argument.
7724 (quit-window): Call quit-restore-window with appropriate
7725 interpretation of KILL argument.
7726 (display-buffer-below-selected): New buffer display action
7727 function.
7728
7729 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * minibuffer.el (completion-at-point-functions): Complete docstring
7732 (bug#12254).
7733
7734 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7735
7736 Better seed support for (random).
7737 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7738 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7739 * play/mpuz.el, play/tetris.el, play/zone.el:
7740 * calc/calc-comb.el (math-init-random-base):
7741 * play/blackbox.el (bb-init-board):
7742 * play/life.el (life):
7743 * server.el (server-use-tcp):
7744 * type-break.el (type-break):
7745 Remove unnecessary call to (random t).
7746 * net/sasl.el (sasl-unique-id-function):
7747 Change (random t) to (random), now that the latter is more random.
7748 * play/life.el (life-initialized): Remove no-longer-needed var.
7749
7750 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7751
7752 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7753 Consider frame's buffer predicate when choosing the buffer.
7754 (Bug#12081)
7755
7756 2012-08-30 Richard Stallman <rms@gnu.org>
7757
7758 * simple.el (special-mode-map): Delete binding for `z'.
7759
7760 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7761
7762 * progmodes/compile.el (compilation-always-kill): Doc fix.
7763
7764 2012-08-30 Chong Yidong <cyd@gnu.org>
7765
7766 * window.el (display-buffer-reuse-frames): Make the obsolescence
7767 message more informative.
7768
7769 2012-08-30 Glenn Morris <rgm@gnu.org>
7770
7771 * paren.el (show-paren-delay):
7772 Add a :set function. Doc fix. (Bug#12297)
7773
7774 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7775
7776 * progmodes/compile.el (compilation-always-kill): New var.
7777 (compilation-start): Use it.
7778
7779 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7782 * files.el (read-only-mode): Move to simple.el.
7783
7784 * files.el (read-only-mode): New minor mode.
7785 (toggle-read-only): Use it and mark obsolete.
7786 (find-file--read-only):
7787 * vc/vc.el (vc-next-action, vc-checkout):
7788 * vc/vc-cvs.el (vc-cvs-checkout):
7789 * obsolete/vc-mcvs.el (vc-mcvs-update):
7790 * ffap.el (ffap--toggle-read-only): Update callers.
7791
7792 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7793
7794 * eshell/esh-ext.el (eshell-external-command): Do not examine
7795 remote shell scripts.
7796 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7797
7798 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7799 "/usr/local/sbin".
7800
7801 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7804
7805 2012-08-28 Leo Liu <sdl.web@gmail.com>
7806
7807 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7808 completion-at-point. (Bug#12220)
7809
7810 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7811
7812 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7813
7814 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7815
7816 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7817 be buffer-local; add delete-trailing-whitespace (bug#12259).
7818
7819 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7820
7821 * progmodes/hideif.el (hif-compress-define-list):
7822 Fix typo. (Bug#11951)
7823
7824 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7825
7826 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7827 buffer local setting.
7828
7829 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7830 rcirc-encode-coding-system.
7831
7832 2012-08-28 Leo Liu <sdl.web@gmail.com>
7833
7834 * net/rcirc.el (rcirc-split-message): New function.
7835 (rcirc-send-message): Use it. (Bug#12051)
7836
7837 2012-08-28 Juri Linkov <juri@jurta.org>
7838
7839 * info.el (Info-fontify-node): Hide empty lines at the end of
7840 the node. (Bug#12272)
7841
7842 2012-08-27 Drew Adams <drew.adams@oracle.com>
7843
7844 * dired.el (dired-pop-to-buffer): Make window start at beginning
7845 of buffer (Bug#12281).
7846
7847 2012-08-26 Chong Yidong <cyd@gnu.org>
7848
7849 * window.el (special-display-regexps, special-display-frame-alist)
7850 (special-display-buffer-names, special-display-function)
7851 (display-buffer-reuse-frames): Mark as obsolete.
7852
7853 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7854
7855 * help.el (help-print-return-message): Don't treat
7856 display-buffer-reuse-frames specially.
7857
7858 2012-08-26 Chong Yidong <cyd@gnu.org>
7859
7860 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7861 New variable, replacing gdb-frame-parameters.
7862 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7863 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7864 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7865 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7866 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7867 the functions directly with gdb-display-buffer-other-frame-action.
7868 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7869 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7870 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7871 (gdb-display-registers-buffer): Define directly.
7872 (def-gdb-display-buffer): Macro deleted.
7873 (gdb-display-buffer): Remove second and third args, callers don't
7874 use them. Defer to the default display-buffer behavior, apart
7875 from making windows dedicated.
7876 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7877
7878 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7879
7880 * window.el (display-buffer-pop-up-frame): Handle a
7881 pop-up-frame-parameters alist entry.
7882 (display-buffer): Document it.
7883
7884 2012-08-26 Chong Yidong <cyd@gnu.org>
7885
7886 * isearch.el (search-whitespace-regexp): Make string and nil
7887 values apply to both ordinary and regexp search. Allow a cons
7888 cell value to distinguish between the two.
7889 (isearch-whitespace-regexp, isearch-search-forward)
7890 (isearch-search-backward): New functions.
7891 (isearch-occur, isearch-search-fun-default, isearch-search)
7892 (isearch-lazy-highlight-new-loop): Use them.
7893 (isearch-forward, isearch-forward-regexp): Doc fix.
7894
7895 2012-08-26 Chong Yidong <cyd@gnu.org>
7896
7897 * faces.el (help-argument-name): Always inherit from italic
7898 (Bug#12213).
7899
7900 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7901
7902 * window.el (window--even-window-heights): Even heights when
7903 WINDOW and the selected window form a vertical combination.
7904 (display-buffer-use-some-window): Provide that window used gets
7905 sized back by quit-window. (Bug#11880) and (Bug#12091)
7906
7907 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7908
7909 Fix file time stamp problem with bzr and CVS (Bug#12001).
7910 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7911 in the file's time stamp, since the version control system loses
7912 that information.
7913
7914 2012-08-22 Juri Linkov <juri@jurta.org>
7915
7916 * info.el (Info-fontify-node): Hide the suffix of the
7917 Info file name in the header line. (Bug#12187)
7918
7919 2012-08-22 Glenn Morris <rgm@gnu.org>
7920
7921 * calendar/cal-tex.el (cal-tex-weekly-common):
7922 Restore leading blank page.
7923
7924 2012-08-22 Le Wang <l26wang@gmail.com>
7925
7926 * misc.el (forward-to-word, backward-to-word): Activate or extend
7927 the region under `shift-select-mode'. (Bug#12231)
7928
7929 2012-08-22 Bastien Guerry <bzg@gnu.org>
7930
7931 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7932 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7933 gives details on why the space is never needed.
7934
7935 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7936
7937 * window.el (walk-window-tree, window-with-parameter):
7938 New optional argument MINIBUF to control whether these functions
7939 should run on the minibuffer window.
7940 (window-at-side-list): Don't operate on minibuffer window.
7941 (window-in-direction): Simplify and rewrite doc-string.
7942 (window--size-ignore): Rename to window--size-ignore-p.
7943 Update callers.
7944 (display-buffer-in-atom-window, window--major-non-side-window)
7945 (window--major-side-window, display-buffer-in-major-side-window)
7946 (delete-side-window, display-buffer-in-side-window):
7947 New functions.
7948 (window--side-check, window-deletable-p, delete-window)
7949 (delete-other-windows, split-window): Handle side windows and
7950 atomic windows appropriately.
7951 (window--display-buffer): Call display-buffer-record-window also
7952 when the window buffer did not change.
7953
7954 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7955
7956 * help-fns.el (help-fns--key-bindings):
7957 Abbreviate non-symbol remap targets. (Bug#12174)
7958
7959 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7960
7961 * dired.el (dired-mark-remembered): Don't clobber point.
7962 (Bug#11795)
7963
7964 2012-08-22 Glenn Morris <rgm@gnu.org>
7965
7966 * progmodes/bug-reference.el (bug-reference): New custom group.
7967 (bug-reference-bug-regexp): Make it a defcustom.
7968
7969 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7970
7971 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7972 (js-paren-indent-offset, js-square-indent-offset)
7973 (js-curly-indent-offset): Add :safe (Bug#12257).
7974
7975 2012-08-22 Edward O'Connor <hober0@gmail.com>
7976
7977 * json.el (json-key-format): Add error properties.
7978 (json-encode-key): New function.
7979 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7980 Use json-encode-key.
7981
7982 2012-08-22 Glenn Morris <rgm@gnu.org>
7983
7984 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7985 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7986 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7987 Update for above change.
7988
7989 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7990
7991 * cus-face.el (custom-face-attributes): Fix customize type for the
7992 :underline attribute. (Bug#11805)
7993
7994 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7995
7996 * window.el (window-point-1, set-window-point-1): Remove.
7997 (window-in-direction, record-window-buffer)
7998 (set-window-buffer-start-and-point, split-window-below)
7999 (window--state-get-1, display-buffer-record-window):
8000 Replace calls to window-point-1 and set-window-point-1 by calls to
8001 window-point and set-window-point respectively.
8002
8003 2012-08-21 Glenn Morris <rgm@gnu.org>
8004
8005 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8006 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8007 Use it.
8008
8009 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8010 (cal-tex-shortday): New function.
8011 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8012 (cal-tex-cursor-filofax-daily): Use the above.
8013
8014 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8015 New functions.
8016 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8017 (cal-tex-cursor-filofax-week): Use them.
8018
8019 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8020 New constants.
8021 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8022 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8023
8024 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8025 (cal-tex-end-document): Don't rely on buffer name.
8026
8027 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8028 Use cal-tex-vspace.
8029 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8030 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8031 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8032 Use cal-tex-arg.
8033
8034 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8035 (cal-tex-cursor-week, cal-tex-cursor-week2)
8036 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8037 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8038 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8039 (cal-tex-insert-preamble, cal-tex-b-document)
8040 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8041 Improve cal-tex-cmd usage.
8042
8043 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8044 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8045 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8046 (cal-tex-weekly-paper): New function.
8047 (cal-tex-cursor-week, cal-tex-cursor-week2)
8048 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8049 (cal-tex-cursor-day): Use it.
8050
8051 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8052 (cal-tex-cursor-filofax-week): Remove leading blank page.
8053
8054 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8055 Add autoload cookie. For now at least, don't use color, since
8056 no other cal-tex function does.
8057
8058 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8059 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8060 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8061
8062 2012-08-21 Juri Linkov <juri@jurta.org>
8063
8064 * info.el (Info-file-attributes): New variable.
8065 (info-insert-file-contents): Add file attributes to
8066 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8067 `Info-toc-nodes' when previous modtime of the Info file is less
8068 than new modtime.
8069 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8070 of info.el. (Bug#12230)
8071
8072 2012-08-20 Glenn Morris <rgm@gnu.org>
8073
8074 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8075 * calendar/holidays.el (calendar-holiday-list):
8076 Report errors with display-warning rather than beep'n'sleep.
8077
8078 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8079
8080 * net/tramp.el (tramp-accept-process-output): Accept only output
8081 from PROC. Otherwise, process filters and sentinels might be
8082 confused. (Bug#12145)
8083
8084 2012-08-20 Chong Yidong <cyd@gnu.org>
8085
8086 * descr-text.el (describe-text-properties-1): Use overlays-in to
8087 report on empty overlays (Bug#3322).
8088
8089 2012-08-20 Glenn Morris <rgm@gnu.org>
8090
8091 * mail/rmailout.el (rmail-output-read-file-name):
8092 Trap and report errors in rmail-output-file-alist elements.
8093
8094 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8095 since most non-font-lock faces are not also variables).
8096
8097 2012-08-20 Edward Reingold <reingold@iit.edu>
8098
8099 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8100 New function. (Bug12160)
8101
8102 2012-08-19 Glenn Morris <rgm@gnu.org>
8103
8104 * mail/rmailout.el (rmail-output-read-file-name):
8105 Fix previous change (when the alist is nil or does not match).
8106
8107 2012-08-19 Chong Yidong <cyd@gnu.org>
8108
8109 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8110 (Bug#12228).
8111
8112 2012-08-18 Chong Yidong <cyd@gnu.org>
8113
8114 * simple.el (yank-handled-properties): New defcustom.
8115 (yank-excluded-properties): Add font-lock-face and category.
8116 (yank): Doc fix.
8117
8118 * subr.el (remove-yank-excluded-properties):
8119 Obey yank-handled-properties. The special handling of font-lock-face
8120 and category is now done this way, instead of being hard-coded.
8121 (insert-for-yank-1): Remove font-lock-face handling.
8122 (yank-handle-font-lock-face-property)
8123 (yank-handle-category-property): New function.
8124
8125 2012-08-17 Glenn Morris <rgm@gnu.org>
8126
8127 * mail/rmailout.el (rmail-output-read-file-name):
8128 Check rmail-output-file-alist against the full message body
8129 in the correct rmail buffer. (Bug#12214)
8130
8131 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8132
8133 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8134 Eliminate superfluous prompt. (Bug#12203)
8135
8136 2012-08-17 Chong Yidong <cyd@gnu.org>
8137
8138 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8139 font spec, set the font directly (Bug#3228).
8140
8141 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8142
8143 * window.el (delete-window): Fix last fix.
8144
8145 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8146
8147 * window.el (window-valid-p): Move to window.c.
8148 (window-child, window-child-count, window-last-child)
8149 (window-normalize-window, window-combined-p)
8150 (window-combinations, window-atom-root, window-min-size)
8151 (window-sizable, window-sizable-p, window-size-fixed-p)
8152 (window-min-delta, window-max-delta, window--resizable)
8153 (window--resizable-p, window-resizable, window-total-size)
8154 (window-full-height-p, window-full-width-p, window-body-size)
8155 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8156 (minimize-window, window-deletable-p, delete-window)
8157 (delete-other-windows, set-window-buffer-start-and-point)
8158 (next-buffer, previous-buffer, split-window, balance-windows-2)
8159 (set-window-text-height, window-buffer-height)
8160 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8161 (truncated-partial-width-window-p): Minor code adjustments.
8162 In doc-strings state whether the argument window has to denote a
8163 live, valid or any window.
8164
8165 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8166
8167 * progmodes/subword.el (subword-forward-function)
8168 (subword-backward-function, subword-forward-regexp)
8169 (subword-backward-regexp): New variables.
8170 (subword-forward, subword-forward-internal, subword-backward-internal):
8171 Use new variables, eg so that different "word" definitions
8172 can be easily used. (Bug#11411)
8173
8174 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8177 for composite selectors.
8178 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8179 operation just because we can't find a previous revision.
8180
8181 2012-08-15 Chong Yidong <cyd@gnu.org>
8182
8183 * frame.el (set-frame-font): Accept font objects.
8184
8185 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8188
8189 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8190
8191 * man.el (Man-overstrike-face, Man-underline-face)
8192 (Man-reverse-face): Remove variables.
8193 (Man-overstrike, Man-underline, Man-reverse): New faces.
8194 (Man-fontify-manpage): Use them instead of the variables.
8195 (Man-cleanup-manpage): Comment change.
8196 (Man-ansi-color-map): New variable.
8197 (Man-fontify-manpage): Use it.
8198 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8199
8200 Implement ANSI SGR parameters 22-27 (bug#12146).
8201 * ansi-color.el (ansi-colors): Doc fix.
8202 (ansi-color-context, ansi-color-context-region): Doc fix.
8203 (ansi-color--find-face): New function.
8204 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8205 Rename the local variable `face' to `codes' since it is now a list of
8206 ansi codes. Doc fix.
8207 (ansi-color-get-face): Remove.
8208 (ansi-color-parse-sequence): New function, derived from
8209 ansi-color-get-face.
8210 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8211 codes 22-27.
8212
8213 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * subr.el (read-passwd): Allow use from a minibuffer.
8216
8217 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8218
8219 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8220 inside comments and strings as identifiers.
8221
8222 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8223 expression to evaluate. This allows to evaluate expressions with
8224 embedded whitespace.
8225 (gud-tooltip-tips): Add a blank before the newline in the
8226 message-box text, for the benefit of message-box emulation on
8227 MS-Windows.
8228
8229 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8230 messages from GDB, pop them up in a tooltip to give feedback to
8231 user.
8232 (gdb-tooltip-print-1): Quote the expression to evaluate.
8233 This allows to evaluate expressions with embedded whitespace.
8234 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8235 if the TTY name is nil or empty (which happens when communicating
8236 with the inferior via pipes, e.g. on MS-Windows).
8237 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8238 don't send that to the GUD buffer.
8239
8240 2012-08-14 Glenn Morris <rgm@gnu.org>
8241
8242 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8243 Optimize away setq-default with no args, as for setq. (Bug#12195)
8244
8245 2012-08-14 Chong Yidong <cyd@gnu.org>
8246
8247 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8248
8249 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8250 (Bug#12085).
8251
8252 2012-08-14 Glenn Morris <rgm@gnu.org>
8253
8254 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8255
8256 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8257
8258 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8259 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8260 Use cached shell name.
8261
8262 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8263
8264 * progmodes/python.el (python-shell-send-string):
8265 (python-shell-send-setup-code): Do not use `format' with `message'.
8266
8267 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8268
8269 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8270 (ruby-percent-literal-beg-re): New constant.
8271 (ruby-syntax-general-delimiters-goto-beg): Rename to
8272 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8273 (ruby-syntax-propertize-general-delimiters): Rename to
8274 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8275 popular term. Adjust comments everywhere.
8276 (ruby-syntax-propertize-percent-literal): Only propertize when not
8277 inside a simple string or comment. When the literal is unclosed,
8278 leave the text after it unpropertized.
8279 (ruby-syntax-methods-before-regexp): New constant.
8280 (ruby-syntax-propertize-function): Use it to recognize regexps.
8281 Don't look at the text after regexp, just use the whitelist.
8282
8283 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8284
8285 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8286 non-nil always load the compiled file if it exists. (Bug#12197)
8287
8288 2012-08-14 Chong Yidong <cyd@gnu.org>
8289
8290 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8291 (hi-lock-set-pattern): When deciding whether to use font lock or
8292 overlays, look at font-lock-mode instead of font-lock-fontified
8293 (Bug#12168).
8294 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8295 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8296
8297 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8298
8299 * subr.el (internal--after-with-selected-window): Fix typo
8300 (Bug#12193).
8301
8302 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8303
8304 Use `completion-table-dynamic' for completion functions.
8305 * progmodes/python.el
8306 (python-shell-completion--do-completion-at-point)
8307 (python-shell-completion--get-completions):
8308 Remove functions.
8309 (python-shell-completion-complete-at-point): New function.
8310 (python-completion-complete-at-point): Use it.
8311
8312 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8313
8314 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8315 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8316
8317 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * subr.el (function-get): Refine `autoload' arg so it can also
8320 autoload functions for gv.el (bug#12191).
8321 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8322 autoloads macros.
8323
8324 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8325 Prefer pcase-let over destructuring-bind.
8326 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8327 Also, remove whitespace as we go, rather than after accumulating the
8328 various places.
8329
8330 * subr.el (internal--before-with-selected-window)
8331 (internal--after-with-selected-window): Fix typo seleted->selected.
8332 (with-selected-window): Adjust callers.
8333 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8334
8335 2012-08-13 Bastien Guerry <bzg@gnu.org>
8336
8337 * window.el (special-display-popup-frame): Minor docstring
8338 enhancement. (Bug#12172)
8339
8340 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8341
8342 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8343 type 1-6.
8344 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8345 extended headers.
8346
8347 * files.el (hack-local-variables-filter): Remove useless eval.
8348
8349 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8350
8351 * subr.el (with-selected-window): Fix last change.
8352
8353 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * subr.el (internal--before-with-seleted-window)
8356 (internal--after-with-seleted-window): New functions.
8357 (with-selected-window): Use them, to replace dependency on
8358 tty-top-frame.
8359
8360 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8361
8362 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8363 binding for `newline'.
8364 (ruby-move-to-block): When moving backward, stop at block opening,
8365 not indentation.
8366 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8367 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8368 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8369 `ruby-toggle-block'.
8370
8371 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * ibuffer.el (ibuffer-do-toggle-read-only):
8374 * dired.el (dired-toggle-read-only):
8375 * buff-menu.el (Buffer-menu-toggle-read-only):
8376 * bindings.el (mode-line-toggle-read-only):
8377 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8378
8379 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8380
8381 * descr-text.el (describe-char): Put the overlays over the
8382 "displayed as" character.
8383
8384 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8385
8386 * calc/calc-units.el (math-default-units-table): Give an
8387 initial value.
8388 (math-put-default-units): Add options to put composite units and
8389 unit systems in the default units table.
8390 (calc-convert-units): Send composite units to
8391 `math-put-default-units' when appropriate.
8392
8393 2012-08-11 Glenn Morris <rgm@gnu.org>
8394
8395 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8396
8397 * tutorial.el (help-with-tutorial):
8398 * emacs-lisp/copyright.el (copyright-update-directory):
8399 * emacs-lisp/autoload.el (autoload-find-generated-file)
8400 (autoload-find-file): Disable local eval: (for insurance).
8401
8402 * files.el (hack-local-variables-filter): If an eval: form is not
8403 known to be safe, and enable-local-variables is :safe, then ignore
8404 the form totally, as is done for non-eval forms. (Bug#12155)
8405 This is CVE-2012-3479.
8406
8407 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8410 (rx-form): Simplify.
8411
8412 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8413
8414 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8415 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8416 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8417 (ruby-syntax-propertize-function): Adjust for changes in
8418 `ruby-syntax-propertize-heredoc'.
8419
8420 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8421
8422 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8423 binding (use `M-;' instead).
8424 (ruby-singleton-class-p): New function.
8425 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8426
8427 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8428
8429 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8430
8431 2012-08-10 Chong Yidong <cyd@gnu.org>
8432
8433 * progmodes/python.el (python-shell-get-process-name): Don't mess
8434 with same-window-buffer-names.
8435
8436 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8437 (eshell-remove-from-window-buffer-names): Make obsolete.
8438 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8439 (eshell): Just use pop-to-buffer-same-window instead.
8440
8441 2012-08-10 Chong Yidong <cyd@gnu.org>
8442
8443 * bindings.el: Bind M-= back to count-words-region.
8444
8445 * simple.el (count-words-region): Accept a prefix arg for acting
8446 on the entire buffer.
8447 (count-words--buffer-message): New helper function.
8448
8449 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8452 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8453 (event-start, event-end): Use posn-at-point to return a more
8454 informative posn.
8455 (posnp): New function.
8456 * mouse.el (popup-menu-normalize-position): Use it.
8457
8458 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8459
8460 * mouse.el (popup-menu-normalize-position): New function.
8461 (popup-menu): Use `popup-menu-normalize-position' to normalize
8462 the form for POSITION argument.
8463
8464 * term/x-win.el (x-menu-bar-open):
8465 Use the value returend from (posn-at-point) as position
8466 passed to `popup-menu'.
8467
8468 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8469
8470 * calc/calccomp.el (math-compose-expr): Add extra argument
8471 indicating that parentheses should be put around products in
8472 denominators. Give multiplication precedence over division during
8473 composition.
8474
8475 2012-08-09 Chong Yidong <cyd@gnu.org>
8476
8477 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8478 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8479 (Man-untabify-command, manual-program): Convert to defcustom
8480 (Bug#10429).
8481
8482 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8483
8484 * descr-text.el (describe-char): Don't insert extra newlines
8485 (Bug#10127).
8486
8487 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8488 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8489
8490 * align.el (align-region): Delete temporary markers (Bug#10047).
8491 Plus some code cleanups.
8492
8493 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8494
8495 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8496 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8497 (python-shell-internal-last-output): Use make-local-variable
8498 instead of make-variable-buffer-local.
8499
8500 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8501
8502 * progmodes/python.el: Enhancements to forward-sexp.
8503 (python-nav-forward-sexp): Rename from
8504 python-nav-forward-sexp-function.
8505 (python-nav--forward-sexp, python-nav--backward-sexp):
8506 New functions.
8507
8508 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8509
8510 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8511 modes and simplification modes.
8512
8513 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * delsel.el (delete-selection-pre-hook): Don't propagate the
8516 file-supersession signals (bug#12161).
8517
8518 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8521 (cl-map-extents): Add compatibility aliases (bug#12135).
8522
8523 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8524
8525 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8526 tests by `ignore-error'.
8527 (tramp-find-shell): Open also a new shell, when cache is already
8528 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8529
8530 2012-08-08 Juri Linkov <juri@jurta.org>
8531
8532 * bookmark.el: Add `defaults' property to the bookmark record.
8533 (bookmark-current-buffer): Doc fix.
8534 (bookmark-make-record): Add `defaults' property with default values
8535 to the bookmark record.
8536 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8537 with `bookmark-insert-current-bookmark'.
8538 (bookmark-set): Get `defaults' property from the bookmark record
8539 and use it in `read-from-minibuffer'.
8540 (bookmark-insert-current-bookmark): Remove function.
8541
8542 * info.el (Info-bookmark-make-record): Add `defaults' property
8543 with values of canonical Info node name, the current Info file
8544 name and the current Info node name. (Bug#12107)
8545
8546 2012-08-08 Juri Linkov <juri@jurta.org>
8547
8548 * files.el (basic-save-buffer): Use `buffer-name' as the default
8549 of `read-file-name' when buffer is not visiting a file (bug#12128).
8550
8551 2012-08-08 Juri Linkov <juri@jurta.org>
8552
8553 * info.el (Info-isearch-search): Doc fix.
8554 (Info-search): Change search-failed message from "initial node" to
8555 "end of node" (bug#12078).
8556 (Info-isearch-search): Change `isearch-string-state' to
8557 `isearch--state-string'.
8558
8559 2012-08-08 Glenn Morris <rgm@gnu.org>
8560
8561 * language/persian.el: Remove file.
8562 * language/misc-lang.el: Move unique part of persian.el here.
8563 * loadup.el: Remove language/persian.
8564
8565 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8566
8567 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8568
8569 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8570
8571 * progmodes/python.el: Fix defsubst warning.
8572 (python-syntax-context) Rename from python-info-ppss-context.
8573 (python-syntax-context-type): Rename from
8574 python-info-ppss-context-type.
8575 (python-syntax-comment-or-string-p): Rename from
8576 python-info-ppss-comment-or-string-p.
8577
8578 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8579
8580 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8581
8582 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8583
8584 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8585 a defcustom that is quoted with backquote.
8586
8587 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8588 Fix handling of interactive spec when the body uses return.
8589 (math-do-arg-check, math-define-function-body): Use backquote forms.
8590 * calc/calc-ext.el (math-defcache): Likewise.
8591 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8592 * allout.el (allout-new-exposure): Likewise.
8593 * calc/calcalg2.el (math-tracing-integral): Likewise.
8594 * info.el (Info-last-menu-item): Likewise.
8595 * emulation/vip.el (vip-loop): Likewise.
8596 * textmodes/artist.el (artist-funcall): Likewise.
8597 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8598 Construct menu-item directly.
8599
8600 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8601 Don't declare.
8602
8603 2012-08-07 Chong Yidong <cyd@gnu.org>
8604
8605 * simple.el (deactivate-mark): Preserve text properties when
8606 saving the primary selection (Bug#8384).
8607
8608 2012-08-07 Kevin Ryde <user42@zip.com.au>
8609
8610 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8611 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8612 and continue processing (Bug#12110).
8613
8614 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8617 syntax-propertize-function (bug#10095).
8618
8619 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8622 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8623 describe-function-1.
8624 (describe-function-1): Use them. Move compiler macro after sig.
8625 (help-fns--compiler-macro): Use function-get. Assume we're already in
8626 standard-output. Adjust layout to new call order.
8627
8628 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8629 re-binding a symbol that has a symbol-macro (bug#12119).
8630
8631 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8632
8633 * language/persian.el: New file. (Bug#11812)
8634 * loadup.el: Add language/persian.el.
8635
8636 2012-08-06 Chong Yidong <cyd@gnu.org>
8637
8638 * window.el (window--maybe-raise-frame): New function.
8639 (window--display-buffer): Split off from here.
8640 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8641 (display-buffer-pop-up-window, display-buffer-use-some-window):
8642 Obey an inhibit-switch-frame action alist entry.
8643 (display-buffer): Update doc.
8644
8645 * replace.el (occur-after-change-function): Avoid losing focus by
8646 using the inhibit-switch-frame display parameter (Bug#12139).
8647
8648 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8649
8650 Make internal shell process buffer names start with space.
8651 * progmodes/python.el (python-shell-make-comint): Add optional
8652 argument INTERNAL.
8653 (run-python-internal): Use it.
8654 (python-shell-internal-get-or-create-process): Check for new
8655 internal buffer names.
8656
8657 2012-08-06 Glenn Morris <rgm@gnu.org>
8658
8659 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8660 Do less getting and setting of environment variables.
8661
8662 2012-08-05 Chong Yidong <cyd@gnu.org>
8663
8664 * proced.el (proced): Add substitution string to docstring to
8665 trigger autoloading of the proced library on C-h f (Bug#1768).
8666
8667 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8668 Don't show defvars which have no second argument (Bug#8638).
8669
8670 * imenu.el (imenu-generic-expression): Move documentation here
8671 from imenu--generic-function.
8672 (imenu--generic-function): Refer to imenu-generic-expression.
8673
8674 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8675
8676 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8677 indentation declaration.
8678 (viper-loop): Add indentation declaration (Bug#7025).
8679
8680 2012-08-05 Chong Yidong <cyd@gnu.org>
8681
8682 * help-fns.el (describe-variable): Add hyperlink for
8683 directory-local variables files. Improve buffer-local and
8684 permanent-local reporting; suggested by MON KEY (Bug#6644).
8685
8686 * help-mode.el (help-dir-local-var-def): New button type.
8687
8688 * files.el (kill-buffer-hook): Provide a defvar.
8689
8690 2012-08-05 Glenn Morris <rgm@gnu.org>
8691
8692 * eshell/esh-ext.el (eshell/addpath):
8693 Also update eshell-path-env. (Bug#12013)
8694
8695 2012-08-05 Chong Yidong <cyd@gnu.org>
8696
8697 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8698
8699 * fringe.el (fringe-styles): Add docstring.
8700 (fringe--check-mode): New function.
8701 (set-fringe-mode, set-fringe-style): Use it.
8702 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8703
8704 * files.el (set-auto-mode): Fix invalid setq call.
8705
8706 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * isearch.el: Misc simplification; use defstruct.
8709 (isearch-mode-map): Dense maps now work like sparse ones.
8710 (isearch--state): New defstruct.
8711 (isearch-string-state, isearch-message-state, isearch-point-state)
8712 (isearch-success-state, isearch-forward-state)
8713 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8714 (isearch-wrapped-state, isearch-barrier-state)
8715 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8716 replaced by defstruct's accessors.
8717 (isearch--set-state): Rename from isearch-top-state and change
8718 calling convention.
8719 (isearch-push-state): Use new isearch--get-state.
8720 (isearch-toggle-word): Disable regexp when enabling word.
8721 (isearch-message-prefix): Remove unused arg _c-q-hack.
8722 (isearch-message-suffix): Remove unused arg _ellipsis.
8723
8724 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8725
8726 * simple.el (list-processes--refresh): For a server use :host or
8727 :local as the address.
8728 (list-processes): Doc fix.
8729
8730 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8731
8732 * lisp/mpc.el: Support password in host argument.
8733 (mpc--proc-connect): Parse and use new password element.
8734 Set mpc-proc variable instead of returning process.
8735 (mpc-proc): Adjust accordingly.
8736
8737 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8738
8739 * whitespace.el (whitespace-display-mappings): Use Unicode
8740 codepoints, instead of emacs-mule codepoints. See
8741 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8742 for the details.
8743
8744 * files.el (file-truename): Don't skip symlink-chasing part on
8745 windows-nt. Incorporate the resolution of 8+3 short aliases on
8746 Windows into the loop that recursively chases symlinks.
8747 Compare directory and its parent case-insensitively on MS-Windows and
8748 MS-DOS.
8749
8750 2012-08-03 Chong Yidong <cyd@gnu.org>
8751
8752 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8753
8754 * sort.el (sort-regexp-fields): Doc fix.
8755
8756 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8757
8758 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8759 labels regex position point at the expected place.
8760
8761 2012-08-03 MON KEY <monkey@sandpframing.com>
8762
8763 * net/imap.el (imap-interactive-login, imap-authenticate)
8764 (imap-mailbox-lsub, imap-mailbox-list)
8765 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8766 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8767 (imap-parse-response): Doc fix.
8768
8769 2012-08-03 João Távora <joaotavora@gmail.com>
8770
8771 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8772 if sexp scanning does not move point (Bug#5734).
8773
8774 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8775
8776 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8777 Add listings, minted, and ctable packages.
8778 (reftex-label-alist-builtin): Move listings, minted, and ctable
8779 entries before LaTeX.
8780 (reftex-label-alist): Docfix.
8781
8782 2012-08-02 Bastien Guerry <bzg@gnu.org>
8783
8784 * replace.el (occur): Fix docstring (bug#12122).
8785
8786 2012-08-02 Glenn Morris <rgm@gnu.org>
8787
8788 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8789
8790 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8791
8792 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8793 * international/mule-cmds.el: Create
8794 inactivate-current-input-method-function as an obsolete alias for
8795 deactivate-current-input-method-function. See Katsumi Yamaoka in
8796 <http://bugs.gnu.org/10150#46>.
8797
8798 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8799
8800 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8801 of nested `if's.
8802
8803 2012-08-01 Glenn Morris <rgm@gnu.org>
8804
8805 * progmodes/autoconf.el (autoconf-definition-regexp):
8806 Add AH_TEMPLATE, adjust submatch numbering.
8807 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8808 (autoconf-current-defun-function): Update for above change.
8809 (autoconf-current-defun-function): First skip to end of current word.
8810
8811 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8812
8813 * calendar/cal-html.el (cal-html-insert-agenda-days):
8814 Fix typo. (Bug#12018)
8815
8816 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8817
8818 Shell processes: enhancements to startup and CEDET compatibility.
8819 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8820 (python-shell-make-comint): accept-process-output at startup.
8821 (run-python-internal): Set inferior-python-mode-hook to nil.
8822 (python-shell-internal-get-or-create-process): call sit-for.
8823 (python-preoutput-result): Add obsolete alias.
8824 (python-shell-internal-send-string): Use it.
8825 (python-shell-send-setup-code): Remove call to
8826 accept-process-output.
8827
8828 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8829
8830 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8831 (Bug#12108)
8832
8833 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8834
8835 * calc-mode.el (calc-basic-simplification-mode): Rename from
8836 `calc-limited-simplification-mode'.
8837 (calc-alg-simplification-mode): New function.
8838 (calc-set-simplify-mode): Adjust message.
8839
8840 * calc.el (calc-set-mode-line): Adjust mode line display for
8841 basic simplification mode.
8842
8843 * calc-help.el (calc-m-prefix-help): Update help message.
8844
8845 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8846 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8847
8848 2012-07-31 Bastien Guerry <bzg@gnu.org>
8849
8850 * man.el (man): Fix comment. (bug#12101)
8851
8852 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8853
8854 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8855 Don't return a non-nil value when no suitable buffer was found.
8856
8857 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8858
8859 * progmodes/python.el (run-python-internal): Disable font lock for
8860 internal shells.
8861
8862 2012-07-30 Stefan Merten <smerten@oekonux.de>
8863
8864 * textmodes/rst.el: Silence `checkdoc-ispell'.
8865 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8866 (rst-official-version, rst-official-cvs-rev)
8867 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8868 (rst-mode-map): New key binding.
8869
8870 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8871
8872 Update .PHONY listings in makefiles.
8873 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8874 autoloads, update-subdirs, updates, bzr-update, update-authors,
8875 compile-onefile, compile-calc, backup-compiled-files,
8876 compile-after-backup, compile-one-process, mh-autoloads,
8877 bootstrap-clean, distclean, maintainer-clean.
8878
8879 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8880
8881 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8882 (calc-set-mode-line): Don't display "AlgSimp ".
8883
8884 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8885 (calc-lim-simplify-mode): New function.
8886 (calc-set-simplify-mode): Default to 'alg.
8887 (calc-default-simplify-mode): Make algebraic simplifications
8888 the default.
8889
8890 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8891 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8892
8893 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8894 indicate new simplification modes.
8895
8896 * calc/README: Mention new default simplification mode.
8897
8898 * calc/calc.el (math-normalize-error): New variable.
8899 (math-normalize): Set `math-normalize-error' to t
8900 when there's an error.
8901
8902 * calc/calc-alg.el (math-simplify): Don't simplify when
8903 `math-normalize' returns an error.
8904
8905 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8906
8907 * international/mule-cmds.el (set-locale-environment): Revert last
8908 change, since display-graphic-p returns nil when this function is
8909 called during startup. Instead...
8910
8911 * term/w32console.el (terminal-init-w32console): ...setup the
8912 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8913
8914 2012-07-29 Juri Linkov <juri@jurta.org>
8915
8916 * simple.el (goto-line): Don't display default line number in the
8917 prompt because it should be displayed by `read-number' (bug#9952).
8918 Add the current line number to the defaults of `goto-line' to
8919 allow its easier modification by users with `M-n' (bug#9201).
8920
8921 * subr.el (read-number): Support multiple default values like in
8922 other minibuffer reading functions. Replace `read' with
8923 `string-to-number' for consistency with `number-to-string'.
8924
8925 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8926
8927 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8928 * emulation/viper-init.el (viper-deactivate-input-method-action):
8929 Rename from viper-inactivate-input-method-action.
8930 (viper-deactivate-input-method):
8931 Rename from viper-inactivate-input-method.
8932 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8933 * international/mule-cmds.el (deactivate-input-method):
8934 Rename from inactivate-input-method.
8935 Also run input-method-deactivate-hook.
8936 (deactivate-current-input-method-function):
8937 Rename from inactivate-current-input-method-function.
8938 (input-method-deactivate-hook): New hook.
8939 (input-method-inactivate-hook): Mark obsolete.
8940 (inactivate-input-method): Mark obsolete.
8941
8942 * international/quail.el (quail-activate):
8943 Also run quail-deactivate-hook.
8944 (quail-deactivate): Rename from quail-inactivate.
8945 * international/robin.el (robin-activate):
8946 Also run robin-deactivate-hook.
8947 (robin-deactivate): Rename from robin-inactivate.
8948
8949 2012-07-29 Chong Yidong <cyd@gnu.org>
8950
8951 * simple.el (indicate-copied-region): New function.
8952 (kill-ring-save): Split off from here.
8953
8954 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8955 (kill-rectangle): Set deactivate-mark to t on read-only error.
8956
8957 * register.el (copy-to-register, copy-rectangle-to-register):
8958 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8959 (append-to-register, prepend-to-register): Call indicate-copied-region.
8960
8961 2012-07-29 Juri Linkov <juri@jurta.org>
8962
8963 * simple.el (async-shell-command-buffer): New defcustom.
8964 (shell-command): Use it. (Bug#4719)
8965
8966 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8967
8968 * international/mule-cmds.el (set-locale-environment): In a
8969 console session on MS-Windows, set up keyboard and terminal
8970 encoding from the OEM codepage, not the ANSI codepage.
8971 (Bug#12055)
8972
8973 2012-07-28 Chong Yidong <cyd@gnu.org>
8974
8975 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8976 gdb-get-location.
8977
8978 2012-07-28 Leo Liu <sdl.web@gmail.com>
8979
8980 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8981 the alist (bug#12029).
8982
8983 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8984
8985 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8986 (compile-always, compile-first)
8987 ($(lisp)/calendar/cal-loaddefs.el)
8988 ($(lisp)/calendar/diary-loaddefs.el)
8989 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8990 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8991 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8992 instead of on update-subdirs.
8993 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8994
8995 2012-07-28 Chong Yidong <cyd@gnu.org>
8996
8997 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8998 directory if vc-deduce-backend returns nil (Bug#7350).
8999
9000 * simple.el (delete-trailing-lines): New option.
9001 (delete-trailing-whitespace): Obey it (Bug#11879).
9002
9003 2012-07-28 David Engster <deng@randomsample.de>
9004
9005 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9006 Explanation of new 'symbol-qnames feature in doc-strings.
9007 (xml-maybe-do-ns): Return expanded names as plain symbols if
9008 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9009 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9010
9011 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9012
9013 Consistent completion in inferior python with emacs -nw.
9014 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9015 binding in inferior-python-mode-map with "\t".
9016 (python-shell-completion-complete-at-point)
9017 (python-completion-complete-at-point): Remove interactive spec.
9018
9019 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9020
9021 * calc/calccomp.el (math-compose-expr): Undo previous change.
9022
9023 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9024
9025 * progmodes/python.el (python-mode-map): Add keybinding for
9026 run-python.
9027 (python-shell-make-comint): Fix pop-to-buffer call.
9028 (run-python): Autoload. New arg SHOW.
9029 (python-shell-get-or-create-process): Do not pop python process
9030 buffer.
9031
9032 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9033
9034 * notifications.el (notifications-on-action-signal)
9035 (notifications-on-closed-signal): Use also the bus address for the map.
9036 (notifications-notify, notifications-close-notification)
9037 (notifications-get-capabilities): Add optional argument BUS.
9038
9039 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9040
9041 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9042 Add support for the lstlisting and minted environments, and for the
9043 ctable macro.
9044 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9045 labels written in keyvals syntax.
9046
9047 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9048
9049 * calc/calccomp.el (math-compose-expr): Use parentheses when
9050 there is a product in the denominator of a fraction.
9051
9052 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9053
9054 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9055 ($(lisp)/calendar/diary-loaddefs.el)
9056 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9057 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9058 Fixes failures in parallel bootstrap because subdirs.el is being
9059 rewritten while the autoload files are built at the same time,
9060 which needs to load subdirs.el.
9061
9062 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9063
9064 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9065 (mouse-drag-line): Don't exit tracking when a switch-frame or
9066 switch-window event occurs (Bug#12006).
9067
9068 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * mouse.el (popup-menu): Fix last change.
9071
9072 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 Autoload from Lisp with more care. Follow aliases when looking for
9075 function properties.
9076 * subr.el (autoloadp): New function.
9077 (symbol-file): Use it.
9078 (function-get): New function.
9079 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9080 autoload-do-load.
9081 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9082 (lisp-indent-function):
9083 * emacs-lisp/gv.el (gv-get):
9084 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9085 * emacs-lisp/byte-opt.el (byte-optimize-form):
9086 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9087 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9088 Use function-get.
9089 * emacs-lisp/cl.el: Don't propagate function properties any more.
9090
9091 * speedbar.el (speedbar-add-localized-speedbar-support):
9092 * emacs-lisp/disass.el (disassemble-internal):
9093 * desktop.el (desktop-load-file):
9094 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9095 (describe-function-1):
9096 * emacs-lisp/find-func.el (find-function-noselect):
9097 * emacs-lisp/elp.el (elp-instrument-function):
9098 * emacs-lisp/advice.el (ad-has-proper-definition):
9099 * apropos.el (apropos-safe-documentation, apropos-macrop):
9100 * emacs-lisp/debug.el (debug-on-entry):
9101 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9102 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9103 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9104
9105 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9106
9107 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9108 function, not an obsolete variable (Bug#12046).
9109
9110 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9111
9112 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9113
9114 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9115
9116 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9117 window only if it is still live (Bug#12034).
9118
9119 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9120
9121 * subr.el (redirect-frame-focus): Add advertised calling
9122 convention (Bug#12030).
9123
9124 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9125
9126 Prefer typical American spelling for "acknowledgment".
9127 * vc/add-log.el (change-log-acknowledgment): Rename from
9128 change-log-acknowledgement, with an alias for the old name.
9129
9130 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9131
9132 * calc-alg.el (math-simplify-divide): Don't cross multiply
9133 in an equation when the lhs is a variable.
9134
9135 2012-07-24 Julien Danjou <julien@danjou.info>
9136
9137 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9138 Remove, unused.
9139
9140 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9141
9142 * startup.el (command-line): Don't display an empty user name in
9143 the error message about non-existent home directory, when
9144 init-file-user was set to an empty string. See
9145 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9146 for the details and context.
9147
9148 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9149
9150 * ses.el (ses-cell-formula-aset): New macro.
9151 (ses-cell-references-aset): New macro.
9152 (ses-cell-p): New function.
9153 (ses-rename-cell): Do no longer rely on complex operations like
9154 ses-cell-set-formula or ses-set-cell to change the cell and handle
9155 the undo at the same time, but rather use lower level new macros
9156 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9157 the undo directly. Refresh the mode line.
9158
9159 2012-07-21 Leo Liu <sdl.web@gmail.com>
9160
9161 * progmodes/cc-cmds.el (c-defun-name):
9162 Use match-string-no-properties instead for consistency.
9163
9164 2012-07-20 Leo Liu <sdl.web@gmail.com>
9165
9166 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9167 (Bug#7879)
9168
9169 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9170
9171 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9174 * progmodes/bug-reference.el, misearch.el: Provide themselves
9175 (bug#11915).
9176
9177 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9178 of narrowed buffer (bug#11966).
9179
9180 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9181
9182 * ses.el (ses-rename-cell): Set new name also in reference list of
9183 cells of which the renamed cell depends.
9184
9185 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9186
9187 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9188 to check whether menu-bar is shown or not. If not shown,
9189 show the menu-bar as a popup menu instead of using tmm.
9190 * mouse.el (popup-menu): Accept `point' as `position' argument.
9191
9192 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9193
9194 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9195 up inside string symbol literal (bug#11923).
9196
9197 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9198
9199 * startup.el (fancy-startup-text): Read the whole tutorial, not
9200 just its first 256 bytes. Prevents gibberish in display of the
9201 tutorial title.
9202
9203 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9204
9205 Drop idle buffer compaction due to an absence of the
9206 proved efficiency.
9207 * compact.el: Remove.
9208
9209 2012-07-19 Sam Steingold <sds@gnu.org>
9210
9211 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9212 vc-bzr-pull & vc-bzr-merge-branch.
9213 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9214 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9215 for consistency with compilation-error-regexp-alist.
9216 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9217 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9218 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9219 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9220
9221 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * emacs-lisp/chart.el: Use lexical-binding.
9224 (chart-emacs-storage): Don't hardcode the list of entries.
9225
9226 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9227
9228 Next round of tweaks caused by Fgarbage_collect changes.
9229 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9230
9231 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9232
9233 Compact buffers when idle.
9234 * compact.el: New file.
9235
9236 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * subr.el (eventp): Presume that if it looks vaguely like an event,
9239 it's an event (bug#10190).
9240
9241 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9242
9243 Enhancements to ppss related code (thanks Stefan).
9244 * progmodes/python.el (python-indent-context)
9245 (python-indent-calculate-indentation, python-indent-dedent-line)
9246 (python-indent-electric-colon, python-nav-forward-block)
9247 (python-mode-abbrev-table)
9248 (python-info-assignment-continuation-line-p): Simplify checks
9249 for ppss context.
9250 (python-info-continuation-line-p): Cleanup.
9251 (python-info-ppss-context): Do not catch 'quote.
9252 (python-info-ppss-context-type)
9253 (python-info-ppss-comment-or-string-p): Simplify.
9254
9255 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9256
9257 * progmodes/python.el: Enhancements to eldoc support.
9258 (python-info-current-symbol): New function.
9259 (python-eldoc-at-point): Use python-info-current-symbol.
9260 (python-info-current-defun): Fix cornercase on first defun scan.
9261 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9262 and signal error when no inferior python process is available.
9263
9264 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9265
9266 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9267 assume it's always t.
9268 (vc-git-registered): Remove caching, the function is only called
9269 once.
9270 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9271
9272 2012-07-18 Chong Yidong <cyd@gnu.org>
9273
9274 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9275
9276 * simple.el (count-words): Report on narrowing (Bug#9959).
9277
9278 * bindings.el: Bind M-= to count-words.
9279
9280 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9281
9282 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9283
9284 * progmodes/sh-script.el (sh-imenu-generic-expression):
9285 Capture a function with `function' keyword and without parentheses
9286 like "function FOO" (bug#11856).
9287
9288 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9289
9290 * window.el (split-window-sensibly): Make WINDOW argument
9291 optional.
9292
9293 2012-07-18 Chong Yidong <cyd@gnu.org>
9294
9295 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9296
9297 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9298 and make C-x 8 RET exit isearch (Bug#11439).
9299
9300 * international/iso-transl.el: Move isearch-mode-map key
9301 definitions to isearch.el.
9302
9303 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9306 (eieio-defclass): Use gv-define-setter when possible.
9307
9308 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9309
9310 Reflect recent changes in Fgarbage_collect.
9311 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9312 reflect new format of data returned by Fgarbage_collect.
9313
9314 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9315
9316 New utility functions + python-info-ppss-context fix (Bug#11910).
9317 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9318 (python-info-ppss-comment-or-string-p): New functions.
9319 (python-info-ppss-context): Small fix for string check.
9320
9321 2012-07-17 Juri Linkov <juri@jurta.org>
9322
9323 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9324 (dired-do-async-shell-command): Don't add `*' at the end of the
9325 command (Bug#11815).
9326 (dired-do-shell-command): Doc fix.
9327 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9328 Join the individual commands using either "&" or ";" as the
9329 separator depending on the values of these trailing characters.
9330 At the end re-add the trailing "&". (Bug#10598)
9331
9332 * simple.el (async-shell-command): Sync the interactive spec with
9333 `shell-command'. Doc fix.
9334 (shell-command): Doc fix.
9335
9336 2012-07-17 Juri Linkov <juri@jurta.org>
9337
9338 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9339
9340 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9341
9342 Final renames and doc fixes for movement commands (bug#11899).
9343 * progmodes/python.el (python-nav-beginning-of-statement):
9344 Rename from python-nav-statement-start.
9345 (python-nav-end-of-statement): Rename from
9346 python-nav-statement-end.
9347 (python-nav-beginning-of-block): Rename from
9348 python-nav-block-start.
9349 (python-nav-end-of-block): Rename from python-nav-block-end.
9350
9351 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9352
9353 * progmodes/python.el (python-shell-send-string-no-output):
9354 Allow accept-process-output to quit, keeping shell process ready for
9355 future interactions (Bug#11868).
9356
9357 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9360
9361 * emacs-lisp/elint.el (elint-find-args-in-code):
9362 Use help-function-arglist, so as to handle lexical byte-code.
9363
9364 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9365 change (bug#11826).
9366
9367 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9370 Avoid spuriously marking the buffer as modified because of c-is-sws.
9371
9372 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9373 as not-a-comment (bug#11946).
9374
9375 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9376 for uninterned vars.
9377
9378 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9379 Use read-event since we don't really want to read chars but bytes.
9380
9381 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9382 $$..$$ but also $..$ using regexps (bug#11953).
9383 Use tex-verbatim for \url and \path.
9384 (tex-font-lock-keywords): Define as defconst like the others.
9385 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9386
9387 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9388
9389 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9390 alias for insert-char.
9391
9392 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9393
9394 * progmodes/python.el: Simplified imenu implementation.
9395 (python-nav-jump-to-defun): Remove command.
9396 (python-mode-map): Use `imenu' instead.
9397 (python-nav-list-defun-positions-cache)
9398 (python-imenu-include-defun-type, python-imenu-make-tree)
9399 (python-imenu-subtree-root-label, python-imenu-index-alist):
9400 Remove vars.
9401 (python-nav-list-defun-positions, python-nav-read-defun)
9402 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9403 (python-imenu-make-tree, python-imenu-create-index):
9404 Remove functions.
9405 (python-mode): Update to interact with imenu by setting
9406 `imenu-extract-index-name-function' only.
9407
9408 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9409
9410 * progmodes/python.el: Enhancements to navigation commands.
9411 (python-nav-backward-sentence)
9412 (python-nav-forward-sentence): Remove.
9413 (python-nav-backward-statement, python-nav-forward-statement)
9414 (python-nav-statement-start, python-nav-statement-end)
9415 (python-nav-backward-block, python-nav-forward-block)
9416 (python-nav-block-start, python-nav-block-end)
9417 (python-nav-forward-sexp-function)
9418 (python-info-current-line-comment-p)
9419 (python-info-current-line-empty-p): New functions.
9420 (python-indent-context): Use `python-nav-statement-start'.
9421
9422 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9423
9424 * eshell/em-ls.el (eshell/ls): Use `apply'.
9425
9426 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9427 multi-hops, instead of Tramp internals.
9428
9429 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9430
9431 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9432 when F1 and F2 are located on different hosts.
9433
9434 2012-07-14 Chong Yidong <cyd@gnu.org>
9435
9436 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9437 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9438 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9439 (xterm-mouse--read-event-sequence-1000)
9440 (xterm-mouse--read-event-sequence-1006): New functions. For old
9441 mouse protocol, handle M-mouse-X events correctly.
9442 (xterm-mouse-event): New arg specifying mouse protocol.
9443 (turn-on-xterm-mouse-tracking-on-terminal)
9444 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9445 sequence to toggle extended coordinates on newer XTerms.
9446 This appears to be harmless on terminals which do not support this.
9447
9448 2012-07-14 Leo Liu <sdl.web@gmail.com>
9449
9450 Add fringe bitmap indicators for flymake. (Bug#11253)
9451 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9452 (flymake-make-overlay): New arg BITMAP.
9453 (flymake-error-bitmap, flymake-warning-bitmap)
9454 (flymake-fringe-indicator-position): New user variables.
9455
9456 * fringe.el: New bitmap exclamation-mark.
9457
9458 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9459
9460 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9461 also (Bug#7879).
9462
9463 2012-07-14 Chong Yidong <cyd@gnu.org>
9464
9465 * electric.el (electric-pair-post-self-insert-function): Fix pair
9466 insertion in empty-region case (Bug#11520).
9467
9468 2012-07-14 Chong Yidong <cyd@gnu.org>
9469
9470 * bindings.el: Consolidate ctl-x-r-map bindings.
9471 Bind copy-rectangle-as-kill to C-x r w.
9472
9473 * rect.el, register.el: Move bindings to bindings.el.
9474
9475 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9476
9477 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9478
9479 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9480
9481 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9482
9483 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9484
9485 * bindings.el (top): Use `mapc' instead of `mapcar'.
9486
9487 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9488
9489 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9490
9491 * progmodes/sql.el (sql-comint): Suppress the check for program on
9492 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9493 (Bug#11908)
9494
9495 2012-07-13 Chong Yidong <cyd@gnu.org>
9496
9497 * bindings.el: Assign a non-nil permanent-local property to
9498 per-buffer variables which lack a default value (Bug#11930).
9499
9500 * help-fns.el (describe-variable): In the "automatically becomes
9501 local" notice, take note of permanent-local variables.
9502
9503 2012-07-13 Chong Yidong <cyd@gnu.org>
9504
9505 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9506 to allow printing the message when called from Lisp.
9507
9508 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9509 Remove toggle-read-only.
9510
9511 * bs.el (bs-toggle-readonly):
9512 * buff-menu.el (Buffer-menu-toggle-read-only):
9513 Remove with-no-warnings around toggle-read-only.
9514
9515 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9516 Remove with-no-warnings around toggle-read-only.
9517 (ffap-read-only, ffap-read-only-other-window)
9518 (ffap-read-only-other-frame): Callers changed.
9519
9520 * help-mode.el: Don't require view package.
9521 (help-mode-finish): Set buffer-read-only instead of calling
9522 toggle-read-only.
9523
9524 * bindings.el (mode-line-toggle-read-only):
9525 * dired.el (dired-toggle-read-only):
9526 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9527 with non-nil second arg.
9528
9529 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9530 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9531 directly.
9532
9533 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9534
9535 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9536 not incf.
9537
9538 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 More CL cleanups and reduction of use of cl.el.
9541 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9542 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9543 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9544 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9545 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9546 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9547 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9548 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9549 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9550 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9551 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9552 * eshell/em-cmpl.el, eshell/em-banner.el:
9553 * calendar/parse-time.el: Use cl-lib.
9554 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9555 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9556 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9557 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9558 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9559 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9560 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9561 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9562 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9563 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9564 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9565 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9566 `lambda' rather than with `quote'.
9567 (eshell-do-opt): Adjust accordingly.
9568 (eshell-process-option): Simplify.
9569 * eshell/esh-var.el:
9570 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9571 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9572 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9573 to `pcase--dontcare'.
9574 * emacs-lisp/cl.el (labels): Mark obsolete.
9575 (cl--letf, letf): Move to cl-lib.
9576 (cl--letf*, letf*): Remove.
9577 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9578 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9579 (cl-progv): Rewrite.
9580 (cl--letf, cl-letf): Move from cl.el.
9581 (cl-letf*): New macro.
9582 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9583
9584 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9587
9588 2012-07-11 Chong Yidong <cyd@gnu.org>
9589
9590 * vc/log-edit.el (log-edit-vc-backend): New variable.
9591 (log-edit): Doc fix.
9592
9593 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9594 argument of log-edit to set up all local variables.
9595 (vc-start-logentry): New optional arg specifying VC backend.
9596
9597 * vc/vc.el (vc-checkin): Use it.
9598 (vc-deduce-fileset): Handle Log Edit buffers.
9599 (vc-diff): Make first argument optional too.
9600
9601 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9602
9603 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9604
9605 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9606 command, just in case. The function is not needed anymore.
9607 (eshell-external-command): Do not call `eshell-remote-command'.
9608
9609 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 Reduce use of (require 'cl).
9612 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9613 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9614 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9615 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9616 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9617 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9618 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9619 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9620 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9621 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9622 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9623 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9624 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9625 (byte-compile-unfold-bcf, byte-compile-check-variable):
9626 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9627 (byte-compile-nilconstp):
9628 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9629 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9630
9631 * emacs-lisp/gv.el (cond): Make it a valid place.
9632 (if): Simplify slightly.
9633
9634 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9635 (pcase--self-quoting-p): New function.
9636 (pcase--u1): Use it.
9637
9638 2012-07-10 Glenn Morris <rgm@gnu.org>
9639
9640 * emacs-lisp/authors.el (authors-fixed-entries):
9641 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9642
9643 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9644
9645 Rename configure.in to configure.ac (Bug#11603).
9646 * emacs-lisp/authors.el (authors-canonical-file-name):
9647 * progmodes/autoconf.el (autoconf-mode):
9648 Prefer configure.ac to configure.in.
9649
9650 2012-07-08 Chong Yidong <cyd@gnu.org>
9651
9652 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9653 Implement the mouse-1-click-follows-link handling properly.
9654
9655 * info.el (Info-link-keymap): Use follow-link mechanism for
9656 header-line links (Bug#374).
9657
9658 * simple.el (deactivate-mark): Do not set the primary selection
9659 if another program has acquired it (Bug#11772).
9660
9661 2012-07-07 Kevin Ryde <user42@zip.com.au>
9662
9663 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9664 (woman-decode-region): Replace escaped-escapes without destroying
9665 bold or underline (Bug#11552).
9666 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9667
9668 2012-07-07 Chong Yidong <cyd@gnu.org>
9669
9670 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9671 (interprogram-cut-function, interprogram-paste-function):
9672 Mention that we typically mean the clipboard.
9673
9674 2012-07-06 Glenn Morris <rgm@gnu.org>
9675
9676 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9677
9678 * files.el (toggle-read-only): Restrict message to interactive use.
9679
9680 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9681
9682 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9683
9684 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9685
9686 2012-07-06 Glenn Morris <rgm@gnu.org>
9687
9688 * Makefile.in (compile-one-process): Rename from "recompile".
9689
9690 * Makefile.in (bzr-update): "compile" is the same as "recompile
9691 autoloads", but parallelizable, so use that instead.
9692
9693 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9694
9695 * window.el (quit-window): Always restore window height when
9696 it's saved in quit-restore parameter (Bug#11810).
9697
9698 2012-07-06 Glenn Morris <rgm@gnu.org>
9699
9700 * simple.el (kill-whole-line): Doc tweak.
9701
9702 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9703
9704 * files.el (file-relative-name): Compare file names
9705 case-insensitively if on MS-Windows or MS-DOS, or if
9706 read-file-name-completion-ignore-case is non-nil. Don't use
9707 case-fold-search for this purpose. (Bug#11827)
9708
9709 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9710
9711 * calendar/cal-dst.el (calendar-current-time-zone):
9712 Return calendar-current-time-zone-cache if non-nil.
9713
9714 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9715 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9716
9717 * calendar/cal-dst.el (calendar-current-time-zone):
9718 Return calendar-current-time-zone-cache if non-nil.
9719
9720 2012-07-06 Glenn Morris <rgm@gnu.org>
9721
9722 * Makefile.in (cvs-update): Remove old alias.
9723
9724 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9725
9726 Sync with Tramp 2.2.6-pre.
9727
9728 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9729 compatible declaration.
9730
9731 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9732 Protect `list-load-path-shadows' call.
9733
9734 * net/tramp-compat.el (top): Require packages, which aren't
9735 autoloaded anymore for XEmacs. Protect call of
9736 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9737 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9738 it hurts at least for SXEmacs.
9739 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9740 standard-value for `temporary-file-directory'.
9741
9742 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9743 Redirect stderr to /dev/null.
9744 (tramp-sh-handle-write-region): uid and gid can be floats.
9745 Reported by Russell Sim <russell.sim@gmail.com>.
9746 (tramp-sh-handle-vc-registered): Hide errors.
9747 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9748 and `start-file-process'.
9749 (tramp-maybe-open-connection): Check also whether `non-essential'
9750 is bound.
9751
9752 2012-07-04 Chong Yidong <cyd@gnu.org>
9753
9754 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9755 (xml-parse-tag): Likewise, and avoid changing entity tables.
9756 (xml-syntax-table): Define from scratch, making sure not to give
9757 x2000 and other Unicode spaces whitespace syntax, since those are
9758 not spaces in XML.
9759 (xml-parse-fragment): Delete unused function.
9760 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9761 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9762 (xml-entity-ref, xml-pe-reference-re)
9763 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9764 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9765 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9766 (xml-entity-value-re): Use syntax references in regexps where
9767 possible; no need to define inside a let-binding.
9768 (xml-parse-dtd): Use xml-pe-reference-re.
9769 (xml-entity-or-char-ref-re): New defconst.
9770 (xml-parse-string, xml-substitute-special): Use it.
9771
9772 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9775 (find-file--read-only): New function.
9776 (find-file-read-only, find-file-read-only-other-window)
9777 (find-file-read-only-other-frame): Use it.
9778 (insert-file-contents-literally): Don't `fset'.
9779 (get-free-disk-space): Use locate-dominating-file.
9780
9781 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9782 function is already compiled.
9783
9784 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9785
9786 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9787
9788 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9789 files on the same host.
9790
9791 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9792
9793 * help-fns.el (describe-function-1): Only call
9794 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9795
9796 2012-07-03 Chong Yidong <cyd@gnu.org>
9797
9798 * xml.el: Protect parser against XML bombs.
9799 (xml-entity-expansion-limit): New variable.
9800 (xml-parse-string, xml-substitute-special): Use it.
9801 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9802
9803 2012-07-03 Glenn Morris <rgm@gnu.org>
9804
9805 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9806 Allow linking to specific messages in debbugs reports (eg 123#5).
9807
9808 2012-07-02 Chong Yidong <cyd@gnu.org>
9809
9810 * xml.el: Fix entity and character reference expansion, allowing
9811 them to expand into markup as per XML spec.
9812 (xml-default-ns): New variable.
9813 (xml-entity-alist): Use XML spec definitions for lt and amp.
9814 (xml-parse-region): Make first two arguments optional.
9815 Discard text properties.
9816 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9817 All callers changed.
9818 (xml-parse-tag): Call xml-parse-tag-1. For backward
9819 compatibility, this function should not modify buffer contents.
9820 (xml-parse-tag-1): Fix opening-tag regexp.
9821 (xml-parse-string): Rewrite, handling entity and character
9822 references properly.
9823 (xml--entity-replacement-text): Signal an error if a parameter
9824 entity is undefined.
9825
9826 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * comint.el (comint-output-filter): Filter out repeated prompts.
9829
9830 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9831 and file-name-absolute-p.
9832 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9833 internal calls.
9834
9835 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9836
9837 Spelling fixes.
9838 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9839 Rename from byte-compile--refiy-function. All uses changed.
9840
9841 2012-07-01 Chong Yidong <cyd@gnu.org>
9842
9843 * xml.el (xml--parse-buffer): New function. Move most of
9844 xml-parse-region here.
9845 (xml-parse-region): Copy region into a temporary buffer, since
9846 parameter entity substitution requires changing buffer contents.
9847 Use xml--parse-buffer.
9848 (xml-parse-file): Use xml--parse-buffer.
9849 (xml-parse-dtd): Make parameter entity substitution work right.
9850 Use proper regexps for ELEMENT declarations (Bug#7172).
9851
9852 2012-06-30 Glenn Morris <rgm@gnu.org>
9853
9854 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9855
9856 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9857 Remove outdated and unnecessary dbus declarations.
9858
9859 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9860
9861 * emacs-lisp/timer.el (timer-until): Subtract results of
9862 float-time, instead of taking float-time of the result of
9863 time-subtract, since float-time signals an error for negative time
9864 arguments.
9865
9866 2012-06-30 Chong Yidong <cyd@gnu.org>
9867
9868 * xml.el (xml-*-re): Convert defvars into defconsts, and
9869 eval-and-compile them so eval-and-compile works on derivatives.
9870 (xml--entity-replacement-text): Use eval-and-comple.
9871
9872 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9873
9874 * vc/vc-git.el (vc-git-registered): Use cache property
9875 `git-registered'.
9876 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9877 `vc-git-working-revision' in order to benefit from the cache.
9878 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9879
9880 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9881
9882 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9883 removed (likely outside Emacs). (Bug#11757)
9884
9885 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * emacs-lisp/cl-lib.el: Require macroexp.
9888
9889 2012-06-30 Chong Yidong <cyd@gnu.org>
9890
9891 * xml.el: Implement XML parameter entities.
9892 (xml-parameter-entity-alist): New variable.
9893 (xml-parse-region, xml-parse-fragment): Preserve previous values
9894 of xml-entity-alist and xml-parameter-entity-alist, so that
9895 repeated calls on different documents do not change them.
9896 (xml-parse-tag): Fix doctype regexp.
9897 (xml--entity-replacement-text): New function.
9898 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9899 properly requires url retrieval which is unimplemented.
9900 (xml-escape-string): Doc fix.
9901
9902 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9905
9906 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9907
9908 * fringe.el (fringe-mode): Doc fix.
9909
9910 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9911
9912 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9913 is non-nil.
9914 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9915 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9916
9917 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9918
9919 * calendar/cal-dst.el (calendar-current-time-zone):
9920 Return calendar-current-time-zone-cache if non-nil.
9921
9922 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9923
9924 * progmodes/which-func.el (which-func-format):
9925 Add mouse-face. (Bug#11698)
9926
9927 2012-06-29 Leo Liu <sdl.web@gmail.com>
9928
9929 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9930
9931 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * minibuffer.el (minibuffer-confirm-exit-commands):
9934 Add completion-at-point (bug#11725).
9935
9936 2012-06-29 Glenn Morris <rgm@gnu.org>
9937
9938 * progmodes/f90.el (f90-font-lock-keywords-2):
9939 Add some preprocessor elements. (Bug#10499)
9940
9941 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9944 Use syntax-propertize (bug#11739).
9945
9946 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9947
9948 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9949
9950 2012-06-28 Julien Danjou <julien@danjou.info>
9951
9952 * term.el (term-handle-colors-array): Use a set of new faces to
9953 color the terminal. Also uses :inverse-video property.
9954 (term-default-fg-color): Set to nil by default, deprecate in favor
9955 of `term-face'.
9956 (term-default-bg-color): Set to nil by default, deprecate in favor
9957 of `term-face'.
9958 (term-current-face): Use `term-face' by default.
9959 (term-bold-attribute): Variable deleted.
9960
9961 2012-06-28 Glenn Morris <rgm@gnu.org>
9962
9963 * simple.el (completion-list-mode-finish):
9964 Don't use toggle-read-only. (Since completion-list-mode has
9965 a special mode-class, it wasn't doing anything extra anyway.)
9966
9967 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 Make inlining of other-mode interpreted functions work (bug#11799).
9970 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9971 (byte-compile): Use it to fix compilation of lexical-binding closures.
9972 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9973 function, if needed.
9974
9975 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * help-mode.el (help-make-xrefs): Don't just withstand
9978 cyclic-variable-indirection but any error in documentation-property.
9979
9980 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9981 memory use.
9982 * bindings.el (bindings--define-key): New function.
9983 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9984 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9985 * bindings.el: Use it to purecopy define-key bindings.
9986
9987 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9988
9989 * emacs-lisp/cl.el (flet): Mark obsolete.
9990 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9991 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9992 * progmodes/js.el (js-c-fill-paragraph):
9993 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9994 (ebrowse-switch-member-buffer-to-derived-class):
9995 * play/5x5.el (5x5-solver): Use cl-flet.
9996
9997 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9998 (cl--symbol-function): New macro.
9999 (cl--letf, cl--letf*): Use it.
10000
10001 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10002 Strip "toggle-" if any.
10003
10004 2012-06-27 Glenn Morris <rgm@gnu.org>
10005
10006 * info.el (Info-default-directory-list): Move here from paths.el.
10007 * paths.el: Remove file, which is now empty.
10008 * loadup.el: No longer load "paths".
10009
10010 * custom.el (custom-initialize-delay): Doc fix.
10011
10012 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10013 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10014 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10015 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10016 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10017 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10018 * eshell/eshell.el (eshell-defgroup): Remove alias.
10019
10020 2012-06-27 Chong Yidong <cyd@gnu.org>
10021
10022 * help.el (help-enable-auto-load): New variable.
10023
10024 * help-fns.el (help-fns--autoloaded-p): New function.
10025 (describe-function-1): Refer to a function as "autoloaded" if it
10026 was autoloaded at any time in the past. Perform autoloading if
10027 help-enable-auto-load is non-nil.
10028
10029 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10030
10031 * makefile.w32-in (compile, compile-always): Depend on
10032 update-subdirs, not on subdirs.el. Otherwise, several different
10033 sub-targets of 'bootstrap' running in parallel could
10034 simultaneously write to subdirs.el, producing a garbled file.
10035
10036 2012-06-26 Sam Steingold <sds@gnu.org>
10037
10038 * files.el (file-name-base): New convenience function.
10039 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10040 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10041 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10042 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10043 * textmodes/ispell.el, textmodes/reftex-ref.el:
10044 * textmodes/tex-mode.el: Use it.
10045 Did not touch cedet and org because they are maintained elsewhere.
10046
10047 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10048
10049 * calendar/calendar.el (calendar-exit): Don't try to delete or
10050 iconify last frame. See:
10051 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10052
10053 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10054
10055 * server.el (server-process-filter): Remember dir in the
10056 process's `server-client-directory' properties.
10057
10058 2012-06-24 Chong Yidong <cyd@gnu.org>
10059
10060 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10061 non-tag text.
10062
10063 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10064
10065 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10066
10067 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * help-fns.el (describe-variable): Don't croak when doc is not found.
10070 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10071 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10072 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10073 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10074 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10075 ((lambda ..) ..).
10076 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10077
10078 2012-06-23 Chong Yidong <cyd@gnu.org>
10079
10080 * info.el (Info-mouse-follow-link): Accept symbol values of
10081 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10082 (Info-fontify-node): Use Info-link-keymap for all navigation
10083 buttons, with link-args property to perform the desired action.
10084 (Info-link-keymap): Doc fix.
10085 (Info-next-link-keymap, Info-prev-link-keymap)
10086 (Info-up-link-keymap): Delete now-unused keymaps.
10087
10088 2012-06-23 Chong Yidong <cyd@gnu.org>
10089
10090 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10091
10092 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10093 system abbrevs.
10094
10095 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10096
10097 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10100 (bug#11719).
10101
10102 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10103 the requote function doesn't work properly (bug#11714).
10104
10105 2012-06-23 Glenn Morris <rgm@gnu.org>
10106
10107 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10108
10109 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 Further GV/CL cleanups.
10112 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10113 gv-expander.
10114 (gv--defun-declaration): New function.
10115 (defun-declarations-alist): Use it.
10116 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10117 (gv-place): Autoload.
10118 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10119 original definition of dotimes and dolist.
10120 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10121 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10122 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10123 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10124 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10125 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10126 to the function's definition.
10127 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10128 * window.el:
10129 * files.el:
10130 * faces.el:
10131 * env.el: Don't use CL.
10132
10133 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10134
10135 Support higher-resolution time stamps (Bug#9000).
10136
10137 * calendar/time-date.el (with-decoded-time-value): New arg
10138 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10139 (encode-time-value): New optional arg PICO. New type 3.
10140 (time-to-seconds) [!float-time]: Support the new picoseconds
10141 component if it's used.
10142 (seconds-to-time, time-subtract, time-add):
10143 Support ps-resolution time stamps as well.
10144
10145 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10146 (timerp): Timer vectors now have length 9, not 8.
10147 (timer--time): Support new-style (4-part) time stamps.
10148 (timer-next-integral-multiple-of-time): Time stamps now have
10149 picosecond resolution, so take a bit more care about rounding.
10150 (timer-relative-time, timer-inc-time): New optional arg psecs.
10151 (timer-set-time-with-usecs): Set psecs to 0.
10152 (timer--activate): Check psecs component, too.
10153
10154 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10155
10156 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10159 Move the non-essential binding to the post/pre-command-hook where it is
10160 more obviously correct.
10161
10162 * subr.el (read-passwd): Don't use a history at all.
10163 * savehist.el (savehist-save): Remove password saved accidentally
10164 because of the above bug.
10165
10166 2012-06-22 Bastien Guerry <bzg@gnu.org>
10167
10168 * files.el (toggle-read-only): Display a message telling whether
10169 the buffer is read-only or not (bug#11726).
10170
10171 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/gv.el: New file.
10174 * subr.el (push, pop): Extend to generalized variables.
10175 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10176 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10177 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10178 gv-define-simple-setter, and gv-define-expander.
10179 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10180 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10181 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10182 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10183 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10184 gv-letplace.
10185 (cl-defstruct): Don't define setf-method any more.
10186 * emacs-lisp/cl.el (flet): Don't autoload.
10187 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10188 (define-setf-expander, defsetf, define-modify-macro)
10189 (cl-struct-setf-expander): Move from cl-lib.el.
10190 * emacs-lisp/syntax.el:
10191 * emacs-lisp/ewoc.el:
10192 * emacs-lisp/smie.el:
10193 * emacs-lisp/cconv.el:
10194 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10195 (timer--time): Use gv-define-simple-setter.
10196 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10197 to avoid coding-system problems in subr.el. Adjust all users.
10198 (macroexp--maxsize, macroexp-small-p): New functions.
10199 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10200 * scroll-bar.el (scroll-bar-mode):
10201 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10202 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10203 * winner.el (winner-configuration, winner-make-point-alist)
10204 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10205 * files.el (locate-file-completion-table): Avoid list*.
10206
10207 2012-06-22 Chong Yidong <cyd@gnu.org>
10208
10209 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10210 (dired-create-files): Doc fix (Bug#11329).
10211 (dired-do-copy): Doc fix (Bug#11334).
10212 (dired-mark-read-string): Doc fix (Bug#11553).
10213
10214 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10215 Doc fix (Bug#11326).
10216 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10217 (dired-dwim-target): Doc fix.
10218
10219 * wdired.el (wdired-mode): Doc fix.
10220
10221 2012-06-22 Glenn Morris <rgm@gnu.org>
10222
10223 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10224 (pcmpl-rpm-cache-stamp-file): New constant.
10225 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10226 (pcmpl-rpm-packages): Optionally cache list of packages.
10227
10228 * pcmpl-rpm.el (pcmpl-rpm): New group.
10229 (pcmpl-rpm-query-options): New option.
10230 (pcmpl-rpm-packages): No need to inline it.
10231 Use pcmpl-rpm-query-options.
10232
10233 * calendar/calendar.el (calendar-in-read-only-buffer):
10234 Avoid some needless mode changes.
10235
10236 2012-06-21 Chong Yidong <cyd@gnu.org>
10237
10238 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10239 (desktop-path): Remove . from the default value (Bug#10977).
10240 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10241
10242 2012-06-20 Chong Yidong <cyd@gnu.org>
10243
10244 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10245
10246 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10247
10248 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10249 (bug#11201).
10250
10251 2012-06-20 Chong Yidong <cyd@gnu.org>
10252
10253 * term.el (term-window-width): Handle the case of a missing right
10254 fringe (Bug#8837).
10255 (term-check-size): Use window-text-height (Bug#5445).
10256 (term-mode): Use define-derived-mode. Minor cleanups.
10257 Set font-lock-defaults (Bug#7692).
10258 (term-move-columns, term-insert-char, term-emulate-terminal)
10259 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10260
10261 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10262
10263 * net/ange-ftp.el (ange-ftp-get-passwd):
10264 Bind `enable-recursive-minibuffers'.
10265 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10266
10267 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10268
10269 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10270
10271 2012-06-19 Glenn Morris <rgm@gnu.org>
10272
10273 * progmodes/python.el (python-mode): Derive from prog-mode.
10274
10275 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10276
10277 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10278 (edt-user-menu-bar-update-buffers): New functions.
10279 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10280
10281 2012-06-19 Chong Yidong <cyd@gnu.org>
10282
10283 * subr.el (with-selected-window): Preserve the selected window's
10284 terminal's top-frame (Bug#4702).
10285
10286 * window.el (save-selected-window): Likewise.
10287
10288 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10289
10290 * progmodes/python.el (python-rx-constituents): Move backquote.
10291 (python-skeleton-define, python-define-auxiliary-skeleton):
10292 Use `declare'.
10293
10294 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10295
10296 * minibuffer.el (read-file-name-default): Revert the patch from
10297 2012-06-17.
10298
10299 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10302 (pcase--u1, pcase--q1): Don't use apply-partially.
10303
10304 2012-06-18 Glenn Morris <rgm@gnu.org>
10305
10306 * progmodes/python.el (python-proc, python-buffer)
10307 (python-send-receive, python-send-string): Fix obsolete versions.
10308
10309 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10310
10311 * window.el (special-display-p): Completely remove stringp
10312 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10313
10314 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10315
10316 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10317
10318 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10319
10320 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10321 * net/tramp-sh.el (tramp-maybe-open-connection):
10322 Throw if `non-essential' is non-nil.
10323
10324 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10325
10326 * window.el (special-display-p): Signal an error if BUFFER-NAME
10327 is not a string (Bug#11713).
10328
10329 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10330
10331 * progmodes/python.el (python-info-beginning-of-backslash):
10332 Rename from python-info-beginning-of-backlash, as a spelling fix.
10333
10334 2012-06-17 Chong Yidong <cyd@gnu.org>
10335
10336 * term.el (term-emulate-terminal): If term-check-size is called,
10337 move point to the process mark without resetting point (Bug#4635).
10338
10339 2012-06-17 Glenn Morris <rgm@gnu.org>
10340
10341 * international/mule-cmds.el (mule-menu-keymap)
10342 (set-language-environment, set-locale-environment): Doc tweaks.
10343
10344 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10345
10346 * cus-face.el (custom-face-attributes): Add wave-style underline
10347 attribute.
10348 * faces.el (set-face-attribute): Update docstring to describe
10349 wave-style underline attribute.
10350
10351 2012-06-16 Chong Yidong <cyd@gnu.org>
10352
10353 * term/xterm.el (terminal-init-xterm): Discard input before
10354 querying background mode (Bug#10959).
10355
10356 2012-06-16 Stefan Merten <smerten@oekonux.de>
10357
10358 * textmodes/rst.el: Added and corrected some comments.
10359 (rst-re-alist-def): Improve symbol syntax.
10360 (rst-mode-syntax-table): Correct syntax entries.
10361 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10362 (rst-official-version, rst-official-cvs-rev): Update version
10363 information.
10364
10365 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10366
10367 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10368 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10369
10370 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10371
10372 * progmodes/python.el: New python.el merge.
10373 (python-guess-indent): Obsolete var.
10374 (python-indent-guess-indent-offset): New defcustom.
10375 (python-indent): Obsolete var.
10376 (python-indent-offset): New defcustom.
10377 (python-python-command, python-jython-command): Delete var.
10378 (python-shell-interpreter): New defcustom.
10379 (python-pdbtrack-do-tracking-p): Delete var.
10380 (python-pdbtrack-activate): New defcustom.
10381 (python-use-skeletons): Obsolete var.
10382 (python-skeleton-autoinsert): New defcustom.
10383 (inferior-python-filter-regexp, python-continuation-offset)
10384 (python-honour-comment-indentation, python-indent-string-contents)
10385 (python-jython-packages, python-mode-hook)
10386 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10387 (python-shell-prompt-alist)
10388 (python-source-modes): Delete defcustoms.
10389 (python-check-buffer-name, python-eldoc-setup-code)
10390 (python-eldoc-string-code, python-ffap-setup-code)
10391 (python-ffap-string-code, python-fill-comment-function)
10392 (python-fill-decorator-function, python-fill-paren-function)
10393 (python-fill-string-function, python-imenu-include-defun-type)
10394 (python-imenu-make-tree, python-imenu-subtree-root-label)
10395 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10396 (python-shell-compilation-regexp-alist)
10397 (python-shell-completion-module-string-code)
10398 (python-shell-completion-pdb-string-code)
10399 (python-shell-completion-setup-code)
10400 (python-shell-completion-string-code)
10401 (python-shell-enable-font-lock, python-shell-exec-path)
10402 (python-shell-extra-pythonpaths)
10403 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10404 (python-shell-process-environment)
10405 (python-shell-prompt-block-regexp)
10406 (python-shell-prompt-output-regexp)
10407 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10408 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10409 (python-shell-virtualenv-path): New defcustoms.
10410 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10411 (inferior-python-mode-syntax-table, python--prompt-regexp)
10412 (python-buffer, python-command python-python-command)
10413 (python-default-template, python-imports, python-indent-index)
10414 (python-indent-list, python-indent-list-length)
10415 (python-mode-running, python-pdbtrack-is-tracking-p)
10416 (python-preoutput-continuation, python-preoutput-leftover)
10417 (python-preoutput-result, python-preoutput-skip-next-prompt)
10418 (python-prev-dir/file, python-recursing)
10419 (python-saved-check-command, python-version-checked)
10420 (python-which-func-length-limit)
10421 (view-return-to-alist): Delete vars.
10422 (python-check-custom-command, python-dotty-syntax-table)
10423 (python-imenu-index-alist, python-indent-current-level)
10424 (python-indent-dedenters, python-indent-levels)
10425 (python-nav-beginning-of-defun-regexp)
10426 (python-nav-list-defun-positions-cache)
10427 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10428 (python-shell-internal-buffer)
10429 (python-skeleton-available): New vars.
10430 (def-python-skeleton): Delete macro.
10431 (python-skeleton-define): New macro.
10432 (python-define-auxiliary-skeleton, python-rx): New macros.
10433 (python-insert-class): Delete command.
10434 (python-skeleton-class): New command.
10435 (python-insert-def): Delete command.
10436 (python-skeleton-def): New command.
10437 (python-insert-for): Delete command.
10438 (python-skeleton-for): New command.
10439 (python-insert-if): Delete command.
10440 (python-skeleton-if): New command.
10441 (python-insert-try/except, python-insert-try/finally): Delete commands.
10442 (python-skeleton-try): New command.
10443 (python-insert-while): Delete command.
10444 (python-skeleton-while): New command.
10445 (python-backspace): Delete command.
10446 (python-indent-dedent-line-backspace): New command.
10447 (python-electric-colon): Delete command.
10448 (python-indent-electric-colon): New command.
10449 (python-guess-indent): Delete command.
10450 (python-indent-guess-indent-offset): New command.
10451 (python-shift-left): Delete command.
10452 (python-indent-shift-left): New command.
10453 (python-shift-right): Delete command.
10454 (python-indent-shift-right): New command.
10455 (python-find-function): Delete command.
10456 (python-nav-jump-to-defun): New command.
10457 (python-next-statement): Delete command.
10458 (python-nav-forward-sentence): New command.
10459 (python-previous-statement): Delete command.
10460 (python-nav-backward-sentence): New command.
10461 (python-fill-paragraph): Delete command.
10462 (python-fill-paragraph-function): New command.
10463 (python-send-buffer): Delete command.
10464 (python-shell-send-buffer): New command.
10465 (python-send-defun): Delete command.
10466 (python-shell-send-defun): New command.
10467 (python-send-region, python-send-region-and-go): Delete commands.
10468 (python-shell-send-region)
10469 (python-shell-switch-to-shell): New commands.
10470 (python-send-string): Delete command.
10471 (python-shell-send-string): New command.
10472 (python-switch-to-python): Delete command.
10473 (python-shell-switch-to-shell): New command.
10474 (python-describe-symbol): Delete command.
10475 (python-eldoc-at-point): New command.
10476 (python--set-prompt-regexp, python-args-to-list)
10477 (python-after-info-look, python-check-version)
10478 (python-check-comint-prompt, python-find-imports)
10479 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10480 (python-unload-function, python-expand-template)
10481 (python-maybe-jython, python-preoutput-filter)
10482 (python-pdbtrack-get-source-buffer)
10483 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10484 (python-pdbtrack-toggle-stack-tracking)
10485 (python-pdbtrack-track-stack-file, python-initial-text)
10486 (python-first-word, python-comment-line-p, python-send-command)
10487 (python-setup-brm, python-sentinel, python-set-proc)
10488 (python-skip-out, python-input-filter, python-outdent-p)
10489 (python-outline-level, python-backslash-continuation-line-p)
10490 (python-end-of-block, python-end-of-statement, python-mark-block)
10491 (python-beginning-of-block, python-beginning-of-statement)
10492 (python-blank-line-p, python-beginning-of-string)
10493 (python-open-block-statement-p): Delete functions.
10494 (python-indent-line, python-indent-line-1): Delete functions.
10495 (python-indent-line): New function.
10496 (python-indentation-levels): Delete function.
10497 (python-indent-calculate-levels): New function.
10498 (python-proc): Delete function.
10499 (python-shell-get-process): New function.
10500 (python-send-receive): Delete function.
10501 (python-shell-send-string-no-output): New function.
10502 (python-module-path): Delete function.
10503 (python-ffap-module-path): New function.
10504 (python-completion-at-point)
10505 (python-symbol-completions): Delete functions.
10506 (python-completion-complete-at-point): New function.
10507 (python-load-file): Delete function.
10508 (python-shell-send-file): New function.
10509 (python-calculate-indentation): Delete function.
10510 (python-indent-calculate-indentation): New function.
10511 (python-skip-comments/blanks): Delete function.
10512 (python-util-forward-comment): New function.
10513 (python-continuation-line-p): Delete function.
10514 (python-info-continuation-line-p): New function.
10515 (python-which-func, python-current-defun): Delete function.
10516 (python-info-current-defun): New function.
10517 (python-beginning-of-defun): Delete function.
10518 (python-nav-beginning-of-defun): New function.
10519 (python-close-block-statement-p)
10520 (python-block-end-p): Delete function.
10521 (python-info-closing-block): New function.
10522 (python-comint-output-filter-function)
10523 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10524 (python-fill-comment, python-fill-decorator, python-fill-paren)
10525 (python-fill-string, python-imenu-make-element-tree)
10526 (python-imenu-make-tree, python-imenu-tree-assoc)
10527 (python-indent-context, python-indent-dedent-line)
10528 (python-indent-line-function)
10529 (python-indent-post-self-insert-function)
10530 (python-indent-toggle-levels)
10531 (python-info-assignment-continuation-line-p)
10532 (python-info-beginning-of-backlash)
10533 (python-info-block-continuation-line-p)
10534 (python-info-closing-block-message)
10535 (python-info-line-ends-backslash-p)
10536 (python-info-looking-at-beginning-of-defun)
10537 (python-info-ppss-context, python-info-ppss-context-type)
10538 (python-nav-list-defun-positions, python-nav-read-defun)
10539 (python-nav-sentence-end, python-nav-sentence-start)
10540 (python-pdbtrack-comint-output-filter-function)
10541 (python-pdbtrack-set-tracked-buffer)
10542 (python-shell-calculate-exec-path)
10543 (python-shell-calculate-process-environment)
10544 (python-shell-completion--do-completion-at-point)
10545 (python-shell-completion--get-completions)
10546 (python-shell-completion-complete-at-point)
10547 (python-shell-completion-complete-or-indent)
10548 (python-shell-get-or-create-process)
10549 (python-shell-get-process-name)
10550 (python-shell-internal-get-or-create-process)
10551 (python-shell-internal-get-process-name)
10552 (python-shell-internal-send-string, python-shell-make-comint)
10553 (python-shell-parse-command, python-shell-send-setup-code)
10554 (python-skeleton-add-menu-items)
10555 (python-util-clone-local-variables, python-util-position)
10556 (run-python-internal, python-indentation-levels)
10557 (python-nav-beginning-of-defun)
10558 (python-completion-complete-at-point): New functions.
10559 (run-python): Change arguments. New API requirements.
10560
10561 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10564 (bug#11649).
10565
10566 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10567 (macroexp--expand-all): Use it.
10568
10569 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10570 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10571 Use `cl-function' instead.
10572
10573 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10574
10575 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10576 Suggested by Stefan Monnier while discussing bug#11657.
10577
10578 2012-06-14 Sam Steingold <sds@gnu.org>
10579
10580 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10581
10582 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * play/doctor.el (doctor-doc): Remove parameter and use
10585 doctor-sent instead of sent.
10586 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10587
10588 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * files.el: Require cl-lib.
10591 (file-name-non-special): Replace case -> cl-case.
10592
10593 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10594
10595 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10596 mapping from #' to function*.
10597
10598 2012-06-13 Chong Yidong <cyd@gnu.org>
10599
10600 * mouse.el (mouse-drag-track): Do not set the mark if the user
10601 releases the mouse without selecting anything (Bug#11588).
10602
10603 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10604
10605 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10606 as well (bug#11646).
10607
10608 * loadup.el: Count byte-code functions as well.
10609
10610 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10611 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10612
10613 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10614 (bug#11649). Add cl-defun and cl-defmacro.
10615
10616 2012-06-13 Drew Adams <drew.adams@oracle.com>
10617
10618 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10619 Fix last change.
10620
10621 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10622
10623 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10624 Otherwise, it blocks in batch mode.
10625
10626 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * help-mode.el (bookmark-make-record-default): Declare.
10629
10630 2012-06-13 Chong Yidong <cyd@gnu.org>
10631
10632 * emacs-lisp/package.el (list-packages): Compute a list of
10633 packages that are newly-available since the last list-packages
10634 invocation.
10635 (package-menu--new-package-list): New var.
10636 (package-menu--generate, package-menu--print-info)
10637 (package-menu--status-predicate, package-menu-mark-install):
10638 Handle new status label "new".
10639
10640 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10643 conversion to backquotes.
10644
10645 2012-06-12 Chong Yidong <cyd@gnu.org>
10646
10647 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10648 Rename from gud-inhibit-global-bindings.
10649
10650 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10651
10652 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10653 hook from nxml-glyph-set-hook.
10654
10655 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10656 declaration.
10657
10658 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10659
10660 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10661 Convert to defcustom.
10662
10663 2012-06-12 Drew Adams <drew.adams@oracle.com>
10664
10665 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10666 New functions.
10667 (help-mode): Use them.
10668
10669 2012-06-11 Glenn Morris <rgm@gnu.org>
10670
10671 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10672 Use preprocessor face for directives.
10673 (fortran-directive-re): Doc fix.
10674
10675 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10678 conversion to backquotes (bug#11652).
10679
10680 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10681 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10682 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10683 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10684 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10685 (cl-ninth, cl-tenth): Mark them as inlinable.
10686 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10687 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10688 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10689 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10690 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10691 (cl-list*, cl-adjoin): Don't put an autoload manually.
10692 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10693 (cl--compiler-macro-list*): Add autoload cookie.
10694 (cl--compiler-macro-cXXr): New function.
10695
10696 * help-fns.el (help-fns--compiler-macro): New function extracted from
10697 describe-function-1; follow aliases and use `compiler-macro' property.
10698 (describe-function-1): Use it.
10699
10700 2012-06-11 Chong Yidong <cyd@gnu.org>
10701
10702 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10703 is uninstalled, if imagemagick is installed.
10704
10705 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10706
10707 * emacs-lisp/cl-lib.el: Use lexical-binding.
10708 (cl-map-extents, cl-maclisp-member): Remove.
10709 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10710 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10711 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10712 * emacs-lisp/cl-extra.el: Use lexical-binding.
10713 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10714 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10715 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10716 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10717 * emacs-lisp/cl-seq.el: Use lexical-binding.
10718 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10719 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10720 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10721 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10722 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10723 CL's internals.
10724
10725 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10726
10727 Sync with Tramp 2.2.6-pre.
10728
10729 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10730 `print-length' and `print-level' to nil, in order to avoid
10731 truncation. Reported by Christopher Schmidt
10732 <christopher@ristopher.com>.
10733
10734 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10735
10736 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10737 New defmacro.
10738 (tramp-compat-copy-directory): Add optional argument
10739 COPY-CONTENTS. It is not handled yet.
10740
10741 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10742 (tramp-ftp-file-name-p): Simplify.
10743
10744 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10745 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10746 connection vector.
10747
10748 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10749 (tramp-methods): Do not use `tramp-password-end-of-line'.
10750 (tramp-completion-function-alist-putty): Handle UNIX case.
10751 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10752 (tramp-do-file-attributes-with-stat)
10753 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10754 gid as real numbers. They could run out of integer range on cygwin.
10755 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10756 (tramp-sh-handle-expand-file-name): Handle hops.
10757 (tramp-open-connection-setup-interactive-shell):
10758 Use `tramp-cleanup'. Move check for busyboxes ...
10759 (tramp-find-shell): ... here. Simplify implementation.
10760 Set "remote-shell" property also for alternative shells.
10761 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10762 If failing, a regular file would be written otherwise.
10763 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10764 (tramp-find-inline-encoding): Cache the coding commands in the
10765 process cache. Apply test command on the remote side, if defined.
10766 (tramp-find-inline-compress): Cache the compress commands in the
10767 process cache.
10768 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10769 when requested. Handle hops.
10770 (tramp-current-connection): New defvar.
10771 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10772 Throw `suppress', if there was a failed connection shortly before.
10773 Handle user interrupt. (Bug#10187)
10774 (tramp-get-inline-compress, tramp-get-inline-coding):
10775 Read connection properties from the process cache.
10776
10777 * net/tramp-smb.el (tramp-smb-server-version)
10778 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10779 New defconsts.
10780 (tramp-smb-prompt): Extend for powershell prompt.
10781 (tramp-smb-file-name-handler-alist): Add handlers for
10782 `process-file', `shell-command' and `start-file-process'.
10783 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10784 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10785 (tramp-smb-file-name-p): Simplify.
10786 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10787 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10788 (tramp-smb-shell-quote-argument): New defuns.
10789 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10790 Implement using "tar". By this, time-stamps are preserved.
10791 (tramp-smb-handle-copy-file): Handle also the case of directories.
10792 (tramp-smb-do-file-attributes-with-stat)
10793 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10794 Use `tramp-get-connection-buffer').
10795 (tramp-smb-handle-rename-file): Use "rename", when source and
10796 target are on the same share.
10797 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10798 Use `tramp-smb-server-version'.
10799 (tramp-smb-wait-for-output): Remove prompt.
10800
10801 * net/tramp.el (top): Require 'cl.
10802 (tramp-methods, tramp-rsh-end-of-line):
10803 Remove `tramp-password-end-of-line' from docstring.
10804 (tramp-save-ad-hoc-proxies): New defcustom.
10805 (tramp-completion-function-alist): Adapt docstring.
10806 (tramp-default-password-end-of-line): Remove defcustom.
10807 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10808 (tramp-user-regexp, tramp-file-name-regexp-unified)
10809 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10810 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10811 (tramp-remote-file-name-spec-regexp): New defconst.
10812 (tramp-file-name-structure): Extend structure for hops.
10813 (tramp-get-method-parameter): Move up.
10814 (tramp-file-name-p, tramp-dissect-file-name)
10815 (with-parsed-tramp-file-name): Handle hops.
10816 (tramp-file-name-hop): New defun.
10817 (tramp-make-tramp-file-name): New optional arg HOP.
10818 (tramp-message-show-progress-reporter-message): New defvar.
10819 (tramp-with-progress-reporter): Use it. We cannot use
10820 `tramp-message-show-message' here, because this suppresses also
10821 error buffers.
10822 (tramp-error-with-buffer): Suppress buffer view, if
10823 `tramp-message-show-message' is nil.
10824 Use `tramp-get-connection-buffer'.
10825 (tramp-cleanup): New defun.
10826 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10827 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10828 an error unchanged.
10829 (tramp-completion-handle-file-name-all-completions): Handle hops.
10830 Fix an error when called from ido.
10831 (tramp-completion-dissect-file-name): Use better local variable
10832 name. Add hop to the vector.
10833 (tramp-handle-insert-file-contents): Use progress-reporter for the
10834 whole scenario.
10835 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10836 to `t'.
10837 (tramp-check-for-regexp): Simplify search.
10838 (tramp-enter-password): Remove it. Move implementation ...
10839 (tramp-action-password): ... here.
10840 (tramp-mode-string-to-int, tramp-local-host-p)
10841 (tramp-make-tramp-temp-file, tramp-read-passwd)
10842 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10843 Set tramp-autoload cookie.
10844
10845 * net/trampver.el: Update release number.
10846
10847 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10848 Michael Albinus <michael.albinus@gmx.de>
10849
10850 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10851 (tramp-parse-group, tramp-parse-file)
10852 (tramp-parse-shostkeys-sknownhosts): New defuns.
10853 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10854 (tramp-parse-shosts-group, tramp-parse-sconfig)
10855 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10856 (tramp-parse-sknownhosts, tramp-parse-hosts)
10857 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10858 Use them.
10859 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10860 (tramp-parse-putty-group): Don't narrow.
10861 (tramp-parse-putty): Make a loop.
10862 (tramp-file-name-handler): Catch the `suppress' signal.
10863
10864 2012-06-11 Chong Yidong <cyd@gnu.org>
10865
10866 * image.el (imagemagick-register-types): Put the ImageMagick entry
10867 at the end of image-type-file-name-regexps.
10868
10869 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10870
10871 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10872 (pcase, pcase-let*, pcase-dolist): Use them.
10873
10874 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * emacs-lisp/pcase.el (pcase--let*): New function.
10877 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10878 (pcase--expand): Use macroexp-let².
10879
10880 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10883 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10884 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10885 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10886 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10887 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10888
10889 2012-06-10 Glenn Morris <rgm@gnu.org>
10890
10891 * mail/rmail.el (rmail-yank-current-message): Leave point at
10892 correct position. (Bug#11660)
10893
10894 2012-06-10 Chong Yidong <cyd@gnu.org>
10895
10896 * allout-widgets.el: Fix code header.
10897
10898 2012-06-10 Chong Yidong <cyd@gnu.org>
10899
10900 * cus-edit.el (customize-changed-options-previous-release):
10901 Bump to 24.1.
10902
10903 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10904
10905 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10906
10907 2012-06-09 Chong Yidong <cyd@gnu.org>
10908
10909 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10910
10911 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10912
10913 * window.el (special-display-popup-frame): Don't use
10914 window--display-buffer (Bug#11651).
10915
10916 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10917
10918 Fix parallel builds: make sure loaddefs.el is not being written
10919 while Lisp files are compiled.
10920 (compile): Don't depend on 'mh-autoloads'.
10921 (compile-CMD, compile-SH): Depend on 'autoloads'.
10922 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10923
10924 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10925
10926 2012-06-09 Chong Yidong <cyd@gnu.org>
10927
10928 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10929 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10930 Doc fixes (Bug#11225).
10931
10932 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10935 a function if there's a clear indication that it has a compiler-macro.
10936 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10937 (macro-declarations-alist): Add arglist to declaration functions.
10938 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10939 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10940 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10941 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10942 Also add autoload to find the compiler macro.
10943 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10944 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10945 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10946 (cl--compiler-macro-get): New functions, replacing calls to
10947 cl-define-compiler-macro.
10948 (cl-typep) [compiler-macro]: Use macroexp-let².
10949
10950 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10951
10952 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10953 string properly, fixes Bug#11473.
10954
10955 2012-06-08 Chong Yidong <cyd@gnu.org>
10956
10957 * faces.el (set-face-attribute): Doc fix.
10958 (modify-face): Don't use :bold and :italic.
10959 (error, warning, success): Tweak definitions.
10960
10961 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10962 (custom-modified, custom-set, custom-changed, custom-themed)
10963 (custom-saved, custom-button, custom-button-mouse)
10964 (custom-button-pressed, custom-state, custom-comment-tag)
10965 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10966 (custom-group-subtitle): Use new-style face specs.
10967 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10968 (custom-set-face, custom-changed-face, custom-saved-face)
10969 (custom-button-face, custom-button-pressed-face)
10970 (custom-documentation-face, custom-state-face)
10971 (custom-comment-face, custom-comment-tag-face)
10972 (custom-variable-tag-face, custom-variable-button-face)
10973 (custom-face-tag-face, custom-group-tag-face-1)
10974 (custom-group-tag-face): Remove obsolete face alias.
10975
10976 * epa.el (epa-validity-high, epa-validity-medium)
10977 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10978 (epa-field-name, epa-field-body):
10979 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10980 (font-lock-keyword-face, font-lock-builtin-face)
10981 (font-lock-function-name-face, font-lock-variable-name-face)
10982 (font-lock-type-face, font-lock-constant-face):
10983 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10984 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10985 * speedbar.el (speedbar-button-face, speedbar-file-face)
10986 (speedbar-directory-face, speedbar-tag-face)
10987 (speedbar-selected-face, speedbar-highlight-face)
10988 (speedbar-separator-face):
10989 * whitespace.el (whitespace-newline, whitespace-space)
10990 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10991 (whitespace-line, whitespace-space-before-tab)
10992 (whitespace-space-after-tab, whitespace-indentation)
10993 (whitespace-empty):
10994 * emulation/cua-base.el (cua-global-mark):
10995 * eshell/em-prompt.el (eshell-prompt):
10996 * net/newst-plainview.el (newsticker-new-item-face)
10997 (newsticker-old-item-face, newsticker-immortal-item-face)
10998 (newsticker-obsolete-item-face, newsticker-date-face)
10999 (newsticker-statistics-face, newsticker-default-face):
11000 * net/newst-reader.el (newsticker-feed-face)
11001 (newsticker-extra-face, newsticker-enclosure-face):
11002 * net/newst-treeview.el (newsticker-treeview-face)
11003 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11004 (newsticker-treeview-immortal-face)
11005 (newsticker-treeview-obsolete-face)
11006 (newsticker-treeview-selection-face):
11007 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11008 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11009 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11010 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11011 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11012 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11013 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11014 (mpuz-text):
11015 * progmodes/vera-mode.el (vera-font-lock-number)
11016 (vera-font-lock-function, vera-font-lock-interface):
11017 * textmodes/table.el (table-cell): Use new-style face specs, and
11018 don't use the old :bold and :italic attributes.
11019
11020 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11021 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11022 (ebrowse-member-class, ebrowse-progress): Likewise.
11023 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11024 (ebrowse-file-name-face, ebrowse-default-face)
11025 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11026 (ebrowse-progress-face): Remove obsolete faces.
11027
11028 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11029 Inherit from error and warning faces respectively.
11030
11031 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11032 Likewise.
11033 (flyspell-incorrect-face, flyspell-duplicate-face):
11034 Remove obsolete aliases.
11035
11036 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11037
11038 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11039 Avoid infloop.
11040
11041 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * startup.el (argv, argi): Make lexically scoped.
11044 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11045 * emacs-lisp/cl-macs.el: Use lexical-binding.
11046 Rename cl-bind-* to cl--bind-*.
11047 * files.el: Don't require `cl' since it doesn't use it.
11048 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11049
11050 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11051
11052 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11053 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11054 instead of calling external sort utility.
11055 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11056
11057 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11058
11059 * descr-text.el (describe-char): Mention how to insert the
11060 character, if the current input method doesn't support it.
11061 See the discussion in this thread for the details:
11062 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11063
11064 2012-06-08 Sam Steingold <sds@gnu.org>
11065
11066 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11067 XF86Back to previous-buffer.
11068 (minibuffer-local-map): Bind them to next-history-element and
11069 previous-history-element respectively.
11070 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11071 help-go-back respectively.
11072 * info.el (Info-mode-map): Bind them to Info-history-forward and
11073 Info-history-back respectively.
11074 These are the keys next to Up on the ThinkPad keyboard.
11075
11076 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11079 * emacs-lisp/cl-macs.el: Provide itself.
11080 (cl--labels-convert-cache): New var.
11081 (cl--labels-convert): New function.
11082 (cl-flet, cl-labels): New implementation with new semantics, relying on
11083 lexical-binding.
11084 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11085 (cl-closure-vars, cl--function-convert-cache)
11086 (cl--function-convert): Move from cl-macs.el.
11087 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11088 rename by removing the "cl-" prefix.
11089 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11090
11091 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11094 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11095 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11096 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11097 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11098 (cl-hash-table-count): Add old compatibility aliases.
11099
11100 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11101 Use macroexpand-all-environment instead.
11102 (cl--old-macroexpand): New var.
11103 (cl--sm-macroexpand): New function.
11104 (cl-symbol-macrolet): Use it during macro expansion.
11105 (cl--function-convert-cache): New var.
11106 (cl--function-convert): New function, extracted from
11107 cl-macroexpand-all.
11108 (cl-lexical-let): Use it.
11109
11110 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11111 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11112 (cl-member): Remove old alias.
11113
11114 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11115 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11116 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11117 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11118 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11119 (cl-macroexpand-cmacs): Remove var.
11120 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11121 Use macroexpand-all instead.
11122
11123 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11126 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11127 (macroexp-copyable-p): New functions and macros.
11128 * emacs-lisp/edebug.el (edebug-unwrap):
11129 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11130 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11131 (pcase--let*): Remove.
11132 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11133 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11134 macroexp-const-p instead.
11135 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11136
11137 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11138 instead of "cl-" for internal definitions. Use macroexp-const-p.
11139 (cl-old-bc-file-form): Remove var.
11140 (cl-const-exprs-p): Remove fun.
11141 (cl-labels, cl-macrolet): Use backquote.
11142 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11143 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11144 (cl-define-setf-expander): Rename from cl-define-setf-method.
11145 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11146
11147 * international/mule-cmds.el: Don't require CL.
11148 (view-hello-file): Don't use `letf'.
11149
11150 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 * tmm.el (tmm-prompt): Use string-prefix-p.
11153 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11154 (tmm-add-prompt): Use minibuffer-completion-help.
11155 (tmm-delete-map): Remove.
11156
11157 * subr.el (kbd): Make it its own function.
11158
11159 2012-06-07 Stefan Merten <smerten@oekonux.de>
11160
11161 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11162 Silence compiler warnings. Fix versions.
11163 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11164 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11165 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11166 (rst-package-emacs-version-alist): Correct Emacs version to
11167 represent major merge with upstream.
11168 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11169
11170 2012-06-06 Glenn Morris <rgm@gnu.org>
11171
11172 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11173 Only print environment variables if set.
11174
11175 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11178 (macroexp--cons): Rename from maybe-cons.
11179 (macroexp--accumulate): Rename from macroexp-accumulate.
11180 (macroexp--all-forms): Rename from macroexpand-all-forms.
11181 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11182 (macroexp--expand-all): Rename from macroexpand-all-1.
11183
11184 2012-06-06 Sam Steingold <sds@gnu.org>
11185
11186 * calendar/calendar.el (calendar-in-read-only-buffer):
11187 Call `special-mode' to enable the standard read-only keybindings.
11188
11189 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11192 with "loading" messages (bug#11635).
11193
11194 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11195
11196 * files.el (enable-remote-dir-locals): New option.
11197 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11198
11199 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11200 Ensure, that the temp directory is local.
11201
11202 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11203 `temporary-file-directory'.
11204
11205 * progmodes/python.el (python-send-region): Ensure, that the
11206 temporary file is created also in the remote case.
11207
11208 2012-06-06 Glenn Morris <rgm@gnu.org>
11209
11210 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11211 (vc-rcs-update-changelog): Use it.
11212
11213 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11214
11215 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11216 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11217 (vc-sccs-diff): Replace use of the external vcdiff script.
11218
11219 2012-06-05 Glenn Morris <rgm@gnu.org>
11220
11221 * ledit.el: Move to obsolete/.
11222
11223 2012-06-05 Sam Steingold <sds@gnu.org>
11224
11225 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11226 patch (Bug#11140).
11227
11228 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11229
11230 * emacs-lisp/cust-print.el: Move to obsolete.
11231
11232 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11233 compiler-macro expansion.
11234
11235 Add native compiler-macro support.
11236 * emacs-lisp/macroexp.el (macroexpand-all-1):
11237 Support compiler-macros directly. Properly follow aliases and apply
11238 the compiler macros more thoroughly.
11239 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11240 macroexpand now properly follows aliases.
11241 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11242 (cl-compiler-macroexpand): Use new prop.
11243 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11244
11245 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11246
11247 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11248
11249 * window.el (get-lru-window, get-mru-window, get-largest-window):
11250 New argument NOT-SELECTED to avoid picking the selected window.
11251 (window--display-buffer-1, window--display-buffer-2): Replace by
11252 new function window--display-buffer
11253 (display-buffer-same-window, display-buffer-reuse-window)
11254 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11255 Use window--display-buffer.
11256 (display-buffer-use-some-window): Remove temporary dedication
11257 hack by calling get-lru-window and get-largest-window with
11258 NOT-SELECTED argument non-nil. Call window--display-buffer.
11259
11260 2012-06-05 Glenn Morris <rgm@gnu.org>
11261
11262 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11263 Replace external vcdiff script.
11264
11265 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11268
11269 2012-06-04 Chong Yidong <cyd@gnu.org>
11270
11271 * image.el (imagemagick-types-inhibit): Revert last change.
11272 Add INFO and M.
11273 (imagemagick-enabled-types): Remove CIN and EPS*.
11274
11275 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * emacs-lisp/cl-lib.el: Rename from cl.el.
11278 * emacs-lisp/cl.el: New compatibility file.
11279 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11280 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11281 to obey the "cl-" prefix.
11282 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11283
11284 2012-06-03 Glenn Morris <rgm@gnu.org>
11285
11286 * emacs-lisp/authors.el (authors-aliases): Addition.
11287
11288 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11289 Fix :version.
11290
11291 2012-06-03 Stefan Merten <smerten@oekonux.de>
11292
11293 * textmodes/rst.el: Add comments.
11294 (rst-transition, rst-adornment): New faces.
11295 (rst-adornment-faces-alist): Make default safe to reevaluate.
11296 Fixes
11297 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11298 Improve customization tags.
11299 (rst-define-level-faces): Clarify meaning.
11300
11301 2012-06-03 Chong Yidong <cyd@gnu.org>
11302
11303 * progmodes/compile.el (compilation-mode-line-fail)
11304 (compilation-mode-line-run, compilation-mode-line-exit):
11305 New faces.
11306 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11307
11308 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11309
11310 * progmodes/which-func.el (which-func-update-ediff-windows):
11311 New function. Use it in ediff-select-hook (Bug#11478).
11312
11313 2012-06-03 Chong Yidong <cyd@gnu.org>
11314
11315 * bindings.el: Remove explicit help text from format-mode-line.
11316 It is now supplied by mode-line-default-help-echo.
11317 (mode-line-front-space, mode-line-end-spaces)
11318 (mode-line-misc-info): New variables.
11319 (mode-line-modes, mode-line-position): Move the default value to
11320 the variable definition.
11321 (mode-line-default-help-echo): New defcustom.
11322 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11323 (mode-line-modified-help-echo): New functions.
11324 (mode-line-mule-info, mode-line-modified): Use them.
11325 (mode-line-eol-desc, propertized-buffer-identification):
11326 Consistency fixes for help text.
11327 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11328 set-buffer-file-coding-system (Bug#289).
11329 (mode-line-mule-info-help-echo): Update help text.
11330
11331 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * simple.el (execute-extended-command): Set real-this-command
11334 (bug#11506).
11335
11336 2012-06-02 Chong Yidong <cyd@gnu.org>
11337
11338 Remove incorrect uses of "modeline" in comments, docstrings, and
11339 function/variable names (Bug#10329).
11340
11341 * cus-edit.el (mode-line):
11342 * dframe.el (dframe-mouse-hscroll):
11343 * emacs-lisp/re-builder.el:
11344 * emacs-lisp/easy-mmode.el (define-minor-mode):
11345 * frame.el (set-frame-name):
11346 * help.el (lookup-minor-mode-from-indicator):
11347 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11348 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11349 (c-toggle-hungry-state):
11350 * progmodes/antlr-mode.el (antlr-language-alist):
11351 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11352 * progmodes/vhdl-mode.el (vhdl-mode):
11353 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11354 * term/ns-win.el (ns-face-at-pos):
11355 * term/sup-mouse.el (sup-mouse-report):
11356 * textmodes/flyspell.el (flyspell-mode-line-string):
11357 * textmodes/ispell.el (ispell-highlight-face):
11358 * textmodes/reftex-global.el:
11359 * vc/vc-arch.el (vc-arch-mode-line-string):
11360 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11361 * vc/vc-git.el (vc-git-mode-line-string):
11362 * vc/vc-hooks.el (vc-display-status)
11363 (vc-default-mode-line-string):
11364 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11365
11366 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11367
11368 * dired.el (dired-sort-set-mode-line): Rename from
11369 dired-sort-set-modeline. All callers changed.
11370
11371 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11372 eshell-status-in-modeline.
11373
11374 * foldout.el (foldout-mode-line-string): Rename from
11375 foldout-modeline-string. All callers changed.
11376 (foldout-update-mode-line): Rename from foldout-update-modeline.
11377
11378 * subr.el (redraw-modeline): Make into obsolete alias.
11379
11380 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11381 timeclock-modeline-display. Make old name an alias.
11382 (timeclock-update-mode-line): Likewise. All callers changed.
11383 (timeclock-mode-line-display): No need to check before using
11384 add-hook.
11385 (timeclock-relative, timeclock-day-over-hook)
11386 (timeclock-use-elapsed, timeclock-mode-string)
11387 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11388
11389 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11390 crisp-mode-modeline-string.
11391
11392 * play/solitaire.el (solitaire-build-mode-line): Rename from
11393 solitaire-build-modeline. All callers changed.
11394
11395 * play/zone.el (zone-hiding-mode-line): Rename from
11396 zone-hiding-modeline. All callers changed.
11397 (zone): Remove unusued `modeline-hidden-level' property.
11398
11399 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11400 xscheme-modeline-initialize. All callers changed.
11401
11402 * strokes.el (strokes-lighter): Rename from
11403 strokes-modeline-string.
11404
11405 * textmodes/sgml-mode.el (html-face-tag-alist)
11406 (html-tag-face-alist): Use mode-line face instead of obsolete
11407 alias modeline.
11408
11409 2012-06-02 Stefan Merten <smerten@oekonux.de>
11410
11411 * textmodes/rst.el: Always require `cl'.
11412 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11413
11414 2012-06-02 Chong Yidong <cyd@gnu.org>
11415
11416 * image.el (imagemagick-enabled-types): Rename from
11417 imagemagick-types-enable. Add many more types.
11418 (imagemagick-types-inhibit): Change default to nil.
11419 (imagemagick-filter-types): Caller changed.
11420
11421 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11422
11423 * emacs-lisp/cl-macs.el: Use backquotes.
11424 (cl-transform-function-property): Use eval-and-compile rather than
11425 abusing `require'.
11426 (defstruct): Use declare-function instead of with-no-warnings.
11427
11428 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11429 (byte-compile-output-docform): Re-add the print-circle bindings.
11430 (byte-compile-fix-header): Use #$ just because it's shorter.
11431 (byte-compile-output-file-form): Remove defun/defmacro.
11432
11433 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11434
11435 * simple.el (choose-completion): Remove now obsolete binding for
11436 owindow.
11437
11438 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11439
11440 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11441 in order to avoid "Stack overflow in regexp matcher".
11442
11443 2012-05-31 Glenn Morris <rgm@gnu.org>
11444
11445 * image.el: For clarity, call imagemagick-register-types at
11446 top-level, rather than relying on a custom :initialize.
11447 (imagemagick-types-enable): New option. (Bug#11557)
11448 (imagemagick-filter-types): New function. (Bug#7406)
11449 (imagemagick-register-types): Use imagemagick-filter-types.
11450 If disabling support, remove elements altogether rather
11451 than using an impossible regexp.
11452 (imagemagick-types-inhibit): Give it the default init function.
11453
11454 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11457 Handle arbitrary file name lengths (Bug#11585).
11458
11459 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11460
11461 * desktop.el (desktop-read): Clear previous and next buffers for
11462 all windows and bury *Messages* buffer (bug#11556).
11463
11464 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 Add `declare' for `defun'. Align `defmacro's with it.
11467 * emacs-lisp/easy-mmode.el (define-minor-mode)
11468 (define-globalized-minor-mode): Don't autoload the var definitions.
11469 * emacs-lisp/byte-run.el: Use lexical-binding.
11470 (defun-declarations-alist, macro-declarations-alist): New vars.
11471 (defmacro, defun): Use them.
11472 (make-obsolete, define-obsolete-function-alias)
11473 (make-obsolete-variable, define-obsolete-variable-alias):
11474 Use `declare'.
11475 (macro-declaration-function): Mark obsolete.
11476 * emacs-lisp/autoload.el: Use lexical-binding.
11477 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11478
11479 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11480
11481 * textmodes/ispell.el (ispell-with-no-warnings):
11482 Define as a macro.
11483 (ispell-kill-ispell, ispell-change-dictionary):
11484 Use `called-interactively-p' for Emacs instead of obsolete
11485 `interactive-p'.
11486
11487 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11490 (macro-declaration-function): Move var from C code.
11491 (macro-declaration-function): Define function with defalias.
11492 * emacs-lisp/macroexp.el (macroexpand-all-1):
11493 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11494 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11495 defun/defmacro any more.
11496 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11497 Provide fallback for unknown arglist.
11498 (byte-compile-arglist-warn): Change calling convention.
11499 (byte-compile-output-file-form): Move print-vars binding.
11500 (byte-compile-output-docform): Simplify accordingly.
11501 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11502 (byte-compile-defmacro-declaration): Remove.
11503 (byte-compile-file-form-defmumble): Generalize to defalias.
11504 (byte-compile-output-as-comment): Return byte-positions.
11505 Simplify callers accordingly.
11506 (byte-compile-lambda): Use `assert'.
11507 (byte-compile-defun, byte-compile-defmacro): Remove.
11508 (byte-compile-file-form-defalias):
11509 Use byte-compile-file-form-defmumble.
11510 (byte-compile-defalias-warn): Remove.
11511
11512 2012-05-29 Stefan Merten <smerten@oekonux.de>
11513
11514 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11515 possible. Fix authors. Improve comments. Improve loading of `cl'.
11516
11517 (rst-mode-abbrev-table): Merge definition.
11518 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11519 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11520
11521 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11522
11523 * calendar/icalendar.el
11524 (icalendar-export-region): Export UID properly.
11525
11526 2012-05-29 Leo Liu <sdl.web@gmail.com>
11527 * calendar/icalendar.el (icalendar-import-format):
11528 Add `icalendar-import-format-uid' (Bug#11525).
11529 (icalendar-import-format-uid): New.
11530 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11531 Export UID.
11532
11533 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11536 different alternative patterns.
11537 (pcase-codegen): Be more careful to preserve identity.
11538 (pcase--u1): Don't forget to mark vars as used.
11539
11540 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11541 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11542 (byte-compile-from-buffer): ...rather than here.
11543
11544 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11545 functions from byte-compile-function-environment.
11546
11547 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11548
11549 * window.el (window-deletable-p): Avoid deleting the root window
11550 of a frame with an active minibuffer.
11551
11552 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11553
11554 * simple.el (choose-completion): Use quit-window (Bug#11567).
11555
11556 2012-05-29 Chong Yidong <cyd@gnu.org>
11557
11558 * whitespace.el (whitespace-cleanup): Fix usage of
11559 whitespace-empty-at-bob-regexp (Bug#11492).
11560
11561 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11562
11563 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11564 revert (Bug#11488).
11565
11566 2012-05-29 Juri Linkov <juri@jurta.org>
11567
11568 * isearch.el (isearch-mode-map): Bind `M-s _' to
11569 `isearch-toggle-symbol'. Bind `M-s c' to
11570 `isearch-toggle-case-fold'.
11571 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11572 (isearch-forward): Add `M-s _' to the docstring.
11573 (isearch-forward-symbol, isearch-toggle-case-fold)
11574 (isearch-symbol-regexp): New functions. (Bug#11381)
11575
11576 2012-05-29 Juri Linkov <juri@jurta.org>
11577
11578 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11579 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11580 a function, call it to get the regexp.
11581 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11582 property `isearch-message-prefix' instead of the string "word ".
11583 (isearch-search-fun-default): For the case of `isearch-word',
11584 return a lambda that calls re-search-forward/re-search-backward
11585 with a regexp returned by `word-search-regexp' or by the function
11586 in `isearch-word'.
11587
11588 2012-05-29 Juri Linkov <juri@jurta.org>
11589
11590 * isearch.el (isearch-search-fun-default): New function.
11591 (isearch-search-fun): Move default part to the new function
11592 `isearch-search-fun-default'.
11593 (isearch-search-fun-function): Set the default value to
11594 `isearch-search-fun-default'. (Bug#11381)
11595
11596 * comint.el (comint-history-isearch-end):
11597 Use `isearch-search-fun-default'.
11598 (comint-history-isearch-search): Use `isearch-search-fun-default'
11599 and remove spacial case for `isearch-word'.
11600 (comint-history-isearch-wrap): Remove spacial case for
11601 `isearch-word'.
11602
11603 * hexl.el (hexl-isearch-search-function):
11604 Use `isearch-search-fun-default'.
11605
11606 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11607 Use `word-search-regexp' for `isearch-word'.
11608
11609 * misearch.el (multi-isearch-search-fun):
11610 Use `isearch-search-fun-default'.
11611
11612 * simple.el (minibuffer-history-isearch-search):
11613 Use `isearch-search-fun-default' and remove spacial case for
11614 `isearch-word'.
11615 (minibuffer-history-isearch-wrap): Remove spacial case for
11616 `isearch-word'.
11617
11618 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11619 Remove spacial case for `isearch-word'.
11620 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11621
11622 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11623
11624 Decrease XEmacs incompatibilities.
11625 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11626 Use `string-match'.
11627 (flyspell-delete-region-overlays): Use alternative definition for
11628 XEmacs.
11629 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11630 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11631 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11632 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11633 `define-obsolete-face-alias' under XEmacs, but old method.
11634
11635 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11636 `with-no-warnings' definition or Emacs alias.
11637 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11638 (ispell-word): Do not use `region-p' if XEmacs.
11639
11640 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11641
11642 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11643 Check for `ispell-dictionary-base-alist' instead of full
11644 `ispell-dictionary-alist'.
11645 (ispell-init-process): Show spellchecker when starting new Ispell
11646 process.
11647
11648 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11651 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11652
11653 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11654
11655 * version.el (motif-version-string, gtk-version-string)
11656 (ns-version-string): Declare.
11657
11658 2012-05-27 Juri Linkov <juri@jurta.org>
11659
11660 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11661 after the `eval-defun-1' specialcaseing
11662 like in `edebug-eval-defun' (bug#10181).
11663
11664 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11665 like in `eval-defun-1'.
11666
11667 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11668
11669 * mail/sendmail.el (mail-yank-region):
11670 Recognize rmail-yank-current-message in addition to insert-buffer.
11671 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11672 a *mail* buffer created through rmail-start-mail with sendmail as
11673 mail-user-agent.
11674
11675 2012-05-27 Chong Yidong <cyd@gnu.org>
11676
11677 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11678 Default to 256 (Bug#11267).
11679
11680 * help.el (describe-mode): Doc fix.
11681
11682 2012-05-26 Glenn Morris <rgm@gnu.org>
11683
11684 * w32-fns.el (w32-init-info): Remove.
11685 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11686
11687 * info.el (info-initialize): For self-contained NS builds, put the
11688 included info/ directory at the front. (Bug#2791)
11689
11690 * paths.el (Info-default-directory-list): Make it a defcustom,
11691 mainly so that we can use custom-initialize-delay.
11692
11693 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * subr.el (buffer-has-markers-at): Mark obsolete.
11696
11697 * subr.el (lambda): Use declare.
11698
11699 * emacs-lisp/lisp-mode.el (lambda):
11700 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11701
11702 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11703
11704 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11705
11706 2012-05-26 Glenn Morris <rgm@gnu.org>
11707
11708 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11709
11710 2012-05-25 Glenn Morris <rgm@gnu.org>
11711
11712 * paths.el: Remove no-byte-compile.
11713 * loadup.el: No need to load paths.el uncompiled.
11714
11715 * image.el (imagemagick-types-inhibit): Doc fix.
11716
11717 * version.el: Remove no-byte-compile and associated formatting.
11718 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11719 is ancient code from when there was an "inc-vers.el".
11720
11721 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * progmodes/gdb-mi.el: Minor style changes.
11724 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11725 Turn into minor modes.
11726 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11727 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11728 (gdb-shell): Remove unneeded let-binding.
11729 (gdb-get-many-fields): Eliminate O(n²) behavior.
11730
11731 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11732
11733 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11734 platforms that don't link in fontset.c.
11735
11736 2012-05-25 Juri Linkov <juri@jurta.org>
11737
11738 Use the same diff color scheme as in modern VCSes (bug#10181).
11739
11740 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11741 to avoid confusion with `diff-added' that now uses green colors.
11742 (diff-removed): Use shades of red.
11743 (diff-added): Use shades of green.
11744 (diff-changed): Leave just the yellow color.
11745 (diff-use-changed-face): New variable.
11746 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11747 how to highlight context diff changes.
11748 (diff-refine-change): Use shades of yellow.
11749 (diff-refine-removed): New face that uses shades of red.
11750 (diff-refine-added): New face that uses shades of green.
11751 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11752 `diff-refine-removed' in the call to `smerge-refine-subst'
11753 depending on the value of `diff-use-changed-face'.
11754
11755 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11756 (smerge-other): Use shades of green.
11757 (smerge-base): Use shades of yellow.
11758 (smerge-refined-change): Empty face.
11759 (smerge-refined-removed): New face that uses shades of red.
11760 (smerge-refined-added): New face that uses shades of green.
11761 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11762 args `props-r' and `props-a', and use them. Doc fix.
11763 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11764 on its value use different faces `smerge-refined-change',
11765 `smerge-refined-removed', `smerge-refined-added' in the call to
11766 `smerge-refine-subst'.
11767
11768 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11769 Add face condition `min-colors 88' with shades of red.
11770 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11771 `min-colors 88' with shades of green.
11772 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11773 `min-colors 88' with shades of yellow.
11774
11775 2012-05-24 Glenn Morris <rgm@gnu.org>
11776
11777 * paths.el (prune-directory-list, remote-shell-program): Move to...
11778 * files.el (prune-directory-list, remote-shell-program): ...here.
11779 For the latter, delay initialization, prefer ssh, just search PATH.
11780
11781 * paths.el (term-file-prefix): Move to faces.el (the only user).
11782 * faces.el (term-file-prefix): Move here, make it a defcustom.
11783
11784 * paths.el (news-directory, news-path, news-inews-program):
11785 Move to gnus/nnspool.el.
11786
11787 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11788
11789 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11790 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11791 Make the latter a defcustom, with a delayed initialization.
11792
11793 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11794 These were deleted from Gnus itself late 2010.
11795
11796 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11797
11798 * progmodes/which-func.el (which-func-ff-hook):
11799 Check against user-error, not error.
11800
11801 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11802 cl-specs.el, which no longer exists.
11803
11804 2012-05-22 Glenn Morris <rgm@gnu.org>
11805
11806 * info.el (info-emacs-bug): New command.
11807 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11808 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11809
11810 2012-05-21 Glenn Morris <rgm@gnu.org>
11811
11812 * makefile.w32-in (update-subdirs-SH):
11813 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11814
11815 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11818
11819 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11820 Simplify Maven regexp, and make sure the file can't start with a space
11821 (bug#11517).
11822
11823 2012-05-21 Glenn Morris <rgm@gnu.org>
11824
11825 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11826 Scrap superfluous subshells.
11827
11828 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11831 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11832
11833 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11834
11835 * calc/calc.el (calc-ensure-consistent-units): New variable.
11836
11837 * calc/calc-units.el (math-consistent-units-p)
11838 (math-check-unit-consistency): New functions.
11839 (calc-quick-units, calc-convert-units):
11840 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11841 is non-nil.
11842 (calc-extract-units): Fix typo.
11843
11844 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11847
11848 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11849 (flyspell-default-deplacement-commands): Don't spell check after
11850 repeated window/frame switches (e.g. triggered by mouse-movement).
11851 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11852 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11853 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11854 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11855 Remove unused vars.
11856 (flyspell-get-casechars, flyspell-get-not-casechars):
11857 Simplify; Don't bother removing a ] just to add it back.
11858 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11859
11860 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11861
11862 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11863 New functions.
11864 (math-function-table): Add support for more C functions.
11865
11866 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11867
11868 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11869 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11870 Protect delay handling for otherchars against empty otherchars.
11871
11872 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11875 their respective macro declarations.
11876 * skeleton.el (define-skeleton):
11877 * progmodes/compile.el (define-compilation-mode):
11878 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11879 (define-ibuffer-filter):
11880 * emacs-lisp/generic.el (define-generic-mode):
11881 * emacs-lisp/easy-mmode.el (define-minor-mode)
11882 (define-globalized-minor-mode):
11883 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11884 * emacs-lisp/byte-run.el (defsubst):
11885 * custom.el (deftheme): Add doc-string metadata.
11886
11887 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11890
11891 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11894
11895 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11896 * emacs-lisp/cl-macs.el: Idem.
11897 * emacs-lisp/cl-specs.el: Remove.
11898
11899 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 Minor renaming of internal CL functions and variables.
11902 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11903 (cl--position): Rename from cl-position.
11904 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11905 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11906 (cl--random-state): Rename from *random-state*.
11907
11908 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11911 parens around the arg list (bug#11499).
11912
11913 2012-05-17 Juri Linkov <juri@jurta.org>
11914
11915 * isearch.el (word-search-regexp, word-search-backward)
11916 (word-search-forward, word-search-backward-lax)
11917 (word-search-forward-lax): Move functions from search.c
11918 (bug#10145, bug#11381).
11919
11920 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11921
11922 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11923 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11924 Delay for otherchars as for normal word components.
11925
11926 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * minibuffer.el (completion--sifn-requote): Fix last change.
11929 (minibuffer-local-must-match-filename-map):
11930 Move define-obsolete-variable-alias before its var.
11931
11932 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11933
11934 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11935
11936 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11937 behavior.
11938 (completion--string-equal-p): New function.
11939 (completion--twq-all): Use it to get better assertion failure data.
11940
11941 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11942 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11943 (shell--requote-argument): New functions.
11944 (shell-completion-vars): Use them.
11945 (shell--parse-pcomplete-arguments): Rename from
11946 shell-parse-pcomplete-arguments.
11947 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11948 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11949 Obey comint-file-name-quote-list.
11950
11951 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11952 (smie-indent-keyword): Use it.
11953
11954 2012-05-14 Stefan Merten <smerten@oekonux.de>
11955
11956 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11957
11958 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11959
11960 * net/rlogin.el (rlogin-mode-map): Fix last change.
11961
11962 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11963
11964 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11965 the following \r\n using a single `process-send-string', since the
11966 Lotus SMTP server refuses to accept any commands if they are sent
11967 with two `process-send-string's (Bug#11444).
11968
11969 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * shell.el (shell-parse-pcomplete-arguments):
11972 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11973
11974 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11975
11976 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11977 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11978 (image-transform-width, image-transform-fit-width): New functions.
11979 (image-transform-properties): Use them.
11980 (image-transform-check-size): New function.
11981 (image-toggle-display-image): Use it (for testing).
11982 (image-transform-set-rotation): Reduce angle mod 360.
11983 Delete obsolete comment.
11984
11985 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11986
11987 * image-mode.el: Fix scaling (bug#11399).
11988 (image-transform-resize): Doc fix.
11989 (image-transform-properties): Default scale is 1 and height should
11990 be an integer.
11991
11992 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11993
11994 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11995 than hard-coding `car', to fix misbehavior when moving forward.
11996
11997 2012-05-13 Chong Yidong <cyd@gnu.org>
11998
11999 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12000 (tabulated-list-entries, tabulated-list-padding)
12001 (tabulated-list-sort-key): Make permanent-local.
12002
12003 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12004 (electric-buffer-list): Put electric buffer menu
12005 command descriptions in this docstring, instead of the docstring
12006 of electric-buffer-menu-mode. Code cleanups.
12007 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12008 Electric-buffer-menu-mode.
12009 (electric-buffer-update-highlight): Minor code cleanup.
12010
12011 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12012
12013 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12014 (Bug#11447)
12015
12016 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 Move define-obsolete-variable-alias before the var's definition.
12019 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12020 * tooltip.el (tooltip-hook):
12021 * textmodes/reftex-toc.el (reftex-toc-map):
12022 * textmodes/reftex-sel.el (reftex-select-label-map)
12023 (reftex-select-bib-map):
12024 * textmodes/reftex-index.el (reftex-index-map)
12025 (reftex-index-phrases-map):
12026 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12027 * progmodes/meta-mode.el (meta-mode-map):
12028 * novice.el (disabled-command-hook):
12029 * loadhist.el (unload-hook-features-list):
12030 * frame.el (blink-cursor):
12031 * files.el (find-file-not-found-hooks, write-file-hooks)
12032 (write-contents-hooks):
12033 * emulation/tpu-edt.el (GOLD-map):
12034 * emacs-lock.el (emacs-lock-from-exiting):
12035 * emacs-lisp/generic.el (generic-font-lock-defaults):
12036 * emacs-lisp/chart.el (chart-map):
12037 * dos-fns.el (register-name-alist):
12038 * dired-x.el (dired-omit-files-p):
12039 * desktop.el (desktop-enable):
12040 * cus-edit.el (custom-mode-hook):
12041 * buff-menu.el (buffer-menu-mode-hook):
12042 * bookmark.el (bookmark-read-annotation-text-func)
12043 (bookmark-exit-hooks):
12044 * allout.el (allout-mode-deactivate-hook)
12045 (allout-exposure-change-hook, allout-structure-added-hook)
12046 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12047 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12048 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12049 comes before the corresponding variable's definition.
12050
12051 2012-05-12 Chong Yidong <cyd@gnu.org>
12052
12053 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12054 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12055 (Buffer-menu-mode-map): Bind it.
12056 (Buffer-menu--pretty-name): Add a mouse-face property.
12057
12058 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12061 (prolog-upper-case-string, prolog-lower-case-string)
12062 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12063 (prolog-use-smie, prolog-smie-grammar): New vars.
12064 (prolog-smie-forward-token, prolog-smie-backward-token)
12065 (prolog-smie-rules): New funs.
12066 (prolog-comment-indent): Remove.
12067 (prolog-mode-variables): Use default comment indentation instead.
12068 Setup SMIE.
12069 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12070 (prolog-mode): Don't call them any more.
12071 (prolog-electric-colon, prolog-electric-dash)
12072 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12073
12074 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12075
12076 * minibuffer.el (completion--twq-all): Again, allow case differences.
12077
12078 * term.el: Move keymap initialization code to be more idiomatic.
12079 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12080 (term-terminal-menu): Move initialization into declaration.
12081 (term-escape-char): Let the user set it in her .emacs.
12082
12083 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12084 Provide SMIE-based indentation (not enabled by default yet).
12085 (sh-mode-map): Don't bind electric keys.
12086 Use electric-pair-mode instead of skeleton-pair.
12087 (sh-assignment-regexp): Fit within 80 columns.
12088 (sh-indent-supported): Specify actual shell name instead of boolean.
12089 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12090 (sh-maybe-here-document): Use it. Make obsolete.
12091 (sh-electric-here-document-mode) New minor mode.
12092 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12093 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12094 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12095 (sh-smie-rc-grammar, sh-use-smie): New vars.
12096 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12097 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12098 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12099 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12100 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12101 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12102 (sh-set-shell): Use smie-setup if requested.
12103
12104 * term.el (term-set-escape-char): Properly set term-escape-char.
12105 See http://stackoverflow.com/questions/10524656.
12106
12107 2012-05-10 Chong Yidong <cyd@gnu.org>
12108
12109 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12110 Use url-generic-parse-url, and handle host names and Windows
12111 filenames properly.
12112 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12113 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12114 URL schemes to work on.
12115 (ffap--toggle-read-only): New function.
12116 (ffap-read-only, ffap-read-only-other-window)
12117 (ffap-read-only-other-frame): Use it.
12118 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12119 necessary for ffap-url-unwrap-remote.
12120
12121 2012-05-10 Dave Abrahams <dave@boostpro.com>
12122
12123 * cus-start.el (create-lockfiles): Add it.
12124
12125 2012-05-09 Chong Yidong <cyd@gnu.org>
12126
12127 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12128 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12129
12130 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12133
12134 2012-05-09 Chong Yidong <cyd@gnu.org>
12135
12136 * ansi-color.el (ansi-color-process-output): Check for validity of
12137 comint-last-output-start before using it. This avoids a bad
12138 interaction with gdb-mi's input/output buffer.
12139
12140 2012-05-09 Glenn Morris <rgm@gnu.org>
12141
12142 * files.el (dir-locals-read-from-file):
12143 Mention dir-locals in any error message.
12144
12145 2012-05-09 Chong Yidong <cyd@gnu.org>
12146
12147 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12148 package (Bug#11410).
12149
12150 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12151 variables into description.
12152
12153 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12156 shell-delimiter-argument-list (bug#11348).
12157 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12158
12159 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * textmodes/rst.el: Silence byte-compiler warnings.
12162 (rst-re-alist, rst-reset-section-caches): Move around.
12163 (rst-re): Use `characterp', not `char-valid-p'.
12164 (font-lock-beg, font-lock-end): Declare.
12165
12166 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12167 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12168
12169 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12170
12171 2012-05-08 Glenn Morris <rgm@gnu.org>
12172
12173 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12174
12175 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12176
12177 * vc/log-edit.el: Add GNU coding standards highlighting.
12178 (log-edit-font-lock-gnu-style)
12179 (log-edit-font-lock-gnu-keywords): New vars.
12180 (log-edit-font-lock-keywords): New fun.
12181 (log-edit-mode): Don't fold case in font-lock.
12182 (log-edit-font-lock-keywords): Do not assume case-folding.
12183
12184 * imenu.el: Misc cleanup. Make docstrings out of comments.
12185 Use lexical-binding.
12186 (imenu--index-alist, imenu--last-menubar-index-alist)
12187 (imenu-menubar-modified-tick): Use defvar-local.
12188 (imenu--split-menu): Remove unused var.
12189 (imenu--cleanup-seen): Declare as global.
12190 (imenu--cleanup): Use dolist.
12191
12192 * subr.el (defvar-local): Add debug spec and doc-string position.
12193
12194 2012-05-08 Glenn Morris <rgm@gnu.org>
12195
12196 * language/burmese.el, language/cham.el, language/czech.el:
12197 * language/english.el, language/georgian.el, language/greek.el:
12198 * language/japanese.el, language/khmer.el, language/korean.el:
12199 * language/lao.el, language/misc-lang.el, language/romanian.el:
12200 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12201 * language/thai.el, language/utf-8-lang.el:
12202 Remove no-byte-compile setting.
12203
12204 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12205
12206 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12207
12208 * progmodes/make-mode.el (makefile-browse):
12209 Remove unnecessary interactive. (Bug#11324)
12210
12211 2012-05-07 Glenn Morris <rgm@gnu.org>
12212
12213 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12214
12215 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12216
12217 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12218
12219 * loadup.el: Preload newcomment.el.
12220 * newcomment.el: Move autoload-only code to toplevel.
12221
12222 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12223 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12224 Handle new :right-align column property.
12225 (tabulated-list-print-col): Idem, plus use `display' text-property to
12226 try and preserve alignment for variable pitch fonts.
12227
12228 2012-05-07 Chong Yidong <cyd@gnu.org>
12229
12230 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12231 (tabulated-list-use-header-line): New var.
12232 (tabulated-list-init-header): Use it.
12233 (tabulated-list-print-fake-header): New function.
12234 (tabulated-list-print): Use it.
12235 (tabulated-list-sort-button-map): Add non-header-line commands.
12236 (tabulated-list-init-header): Add column name property to basic
12237 labels as well.
12238 (tabulated-list-col-sort): Handle non-header-line button case.
12239 (tabulated-list--sort-by-column-name): Fix a corner case.
12240
12241 * buff-menu.el (list-buffers--refresh):
12242 Handle Buffer-menu-use-header-line.
12243
12244 2012-05-06 Chong Yidong <cyd@gnu.org>
12245
12246 * buff-menu.el: Convert to Tabulated List mode.
12247 (Buffer-menu-buffer+size-width): Make obsolete.
12248 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12249 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12250 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12251 documentation into docstring of buffer-menu.
12252 (Buffer-menu-toggle-files-only): Add an informative message.
12253 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12254 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12255 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12256 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12257 (Buffer-menu-execute, Buffer-menu-select)
12258 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12259 (Buffer-menu-bury): Use Tabulated List machinery.
12260 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12261 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12262 Delete.
12263 (list-buffers--refresh): New function.
12264 (list-buffers-noselect): Use it.
12265 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12266 (Buffer-menu--pretty-file-name): New helper functions.
12267
12268 * loadup.el: Preload tabulated-list.
12269
12270 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12271 tabulated-list-sort-column.
12272 (tabulated-list-init-header): Add the initial aligning space even
12273 if tabulated-list-padding is zero.
12274
12275 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12276
12277 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12278 whose cdr is not a cons cell correctly (bug#11038).
12279
12280 2012-05-06 Chong Yidong <cyd@gnu.org>
12281
12282 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12283 Accept additional plist in column descriptors.
12284 (tabulated-list-init-header): Obey it.
12285 (tabulated-list-get-entry): New function.
12286 (tabulated-list-put-tag): Use it. Use string-width instead of
12287 length.
12288 (tabulated-list--column-number): New function.
12289 (tabulated-list-print): Use it.
12290 (tabulated-list-print-col): New function.
12291 Set `tabulated-list-column-name' property on each column's text.
12292 (tabulated-list-print-entry): Use it.
12293 (tabulated-list-delete-entry, tabulated-list-set-col):
12294 New functions.
12295 (tabulated-list-sort-column): New command (Bug#11337).
12296
12297 * buff-menu.el (list-buffers): Move C-x C-b binding from
12298 buff-menu.el to bindings.el.
12299
12300 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12301 :advertised-binding feature.
12302
12303 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12304
12305 * progmodes/compile.el (compilation-internal-error-properties):
12306 Calculate start position correctly when end-col is set but
12307 end-line is not (Bug#11382).
12308
12309 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12310
12311 * man.el (Man-unindent): Use text-property-default-nonsticky to
12312 prevent untabify from inheriting face properties (Bug#11408).
12313
12314 2012-05-05 Stefan Merten <smerten@oekonux.de>
12315
12316 * textmodes/rst.el: Major merge with upstream development up to
12317 Docutils SVN r7399 / rst.el V1.2.1.
12318
12319 Clarify maintainership and authors.
12320
12321 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12322 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12323 (rst-official-version, rst-official-cvs-rev, rst-version)
12324 (rst-package-emacs-version-alist): New functions and variables
12325 for version information.
12326
12327 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12328 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12329 (rst-mode-syntax-table, rst-mode): New and corrected functions
12330 and variables representing reStructuredText features.
12331
12332 (rst-re): New function for reStructuredText regexes. Use in
12333 many places.
12334
12335 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12336 (rst-mode-map): Rebind keys.
12337
12338 (rst-mode-lazy, rst-font-lock-keywords)
12339 (rst-font-lock-extend-region)
12340 (rst-font-lock-extend-region-internal)
12341 (rst-font-lock-extend-region-extend)
12342 (rst-font-lock-find-unindented-line-limit)
12343 (rst-font-lock-find-unindented-line-match)
12344 (rst-adornment-level, rst-font-lock-adornment-level)
12345 (rst-font-lock-adornment-match)
12346 (rst-font-lock-handle-adornment-pre-match-form)
12347 (rst-font-lock-handle-adornment-matcher): Major revision of
12348 font-locking. Integrate with other code. Use `jit-lock-mode'.
12349
12350 (rst-preferred-adornments, rst-adjust-hook)
12351 (rst-new-adornment-down, rst-preferred-bullets)
12352 (rst-preferred-bullets, rst-indent, rst-indent-width)
12353 (rst-indent-field, rst-indent-literal-normal)
12354 (rst-indent-literal-minimized, rst-indent-comment): Change,
12355 extend and improve customization.
12356
12357 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12358 (rst-normalize-cursor-position, rst-get-decoration)
12359 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12360 (rst-rstrip, rst-toc-insert-find-delete-contents)
12361 (rst-shift-fill-region, rst-compute-bullet-tabs)
12362 (rst-debug-print-tabs, rst-debug-mark-found)
12363 (rst-shift-region-guts, rst-shift-region-right)
12364 (rst-shift-region-left, rst-use-char-classes)
12365 (rst-font-lock-keywords-function)
12366 (rst-font-lock-indentation-point)
12367 (rst-font-lock-find-unindented-line-begin)
12368 (rst-font-lock-find-unindented-line-end)
12369 (rst-font-lock-find-unindented-line)
12370 (rst-font-lock-adornment-point, rst-font-lock-level)
12371 (rst-adornment-level-alist): Remove functions and variables.
12372
12373 (rst-compare-adornments, rst-get-adornment-match)
12374 (rst-suggest-new-adornment, rst-get-adornments-around)
12375 (rst-adornment-complete-p, rst-get-next-adornment)
12376 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12377 (rst-straighten-adornments): Standardize function names to
12378 use "adornment" instead of "decoration". Correct callers.
12379 Similar standardizing in many places.
12380
12381 (rst-update-section, rst-adjust, rst-promote-region)
12382 (rst-enumerate-region, rst-bullet-list-region)
12383 (rst-repeat-last-character): Correct use of `interactive'.
12384
12385 (rst-classify-adornment, rst-find-all-adornments)
12386 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12387 (rst-find-leftmost-column, rst-repeat-last-character):
12388 Refactor functions.
12389
12390 (rst-find-title-line, rst-reset-section-caches)
12391 (rst-get-adornments-around, rst-adjust-adornment-work)
12392 (rst-arabic-to-roman, rst-roman-to-arabic)
12393 (rst-insert-list-pos, rst-insert-list-new-item)
12394 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12395 New functions.
12396
12397 (rst-all-sections, rst-section-hierarchy)
12398 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12399 New variables.
12400
12401 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12402 configuration instead of only buffer. Change where necessary.
12403
12404 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12405 (rst-shift-region, rst-adaptive-fill): New functions for
12406 indentation and filling.
12407
12408 (rst-comment-line-break, rst-comment-indent)
12409 (rst-comment-insert-comment, rst-comment-region)
12410 (rst-uncomment-region): New functions for handling comments.
12411
12412 (rst-compile): Quote shell arguments.
12413
12414 (rst-compile-pdf-preview, rst-compile-slides-preview):
12415 Delete temporary files after use.
12416
12417 2012-05-05 Glenn Morris <rgm@gnu.org>
12418
12419 * calendar/cal-html.el: Optionally include holidays in the output.
12420 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12421 (cal-html-holidays): New option.
12422 (cal-html-css-default): Add holiday entry.
12423 (holiday-in-range): Autoload it.
12424 (cal-html-htmlify-entry): Add optional class argument.
12425 (cal-html-htmlify-list): Add optional holidays argument.
12426 (cal-html-insert-agenda-days): Include holidays in the output.
12427 (cal-html-one-month): Maybe include holidays.
12428
12429 * calendar/holidays.el (holiday-in-range):
12430 Move here from cal-tex-list-holidays.
12431 * calendar/cal-tex.el (cal-tex-list-holidays):
12432 Make it an obsolete alias for holiday-in-range. Update all callers.
12433
12434 2012-05-05 Chong Yidong <cyd@gnu.org>
12435
12436 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12437 Nextstep.
12438
12439 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12440
12441 * files.el (file-auto-mode-skip): New var.
12442 (set-auto-mode-1): Use it.
12443
12444 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 * repeat.el: Use lexical-binding.
12447 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12448 (repeat-undo-count): Remove.
12449 (repeat):
12450 * progmodes/octave-mod.el (octave-abbrev-start):
12451 * progmodes/f90.el (f90-abbrev-start):
12452 * face-remap.el (text-scale-adjust):
12453 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12454
12455 * emacs-lisp/pcase.el (pcase--let*): New function.
12456 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12457 a bit more.
12458 (pcase--split-pred): Be more clever about ruling out overlap between
12459 a predicate and some constant pattern.
12460 (pcase--q1): Use `null' instead of (eq foo nil).
12461
12462 * subr.el (setq-local, defvar-local): New macros.
12463 (kbd): Redefine as an alias.
12464 (with-selected-window): Leave unrelated frames alone.
12465 (set-temporary-overlay-map): New function.
12466
12467 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * subr.el (user-error): New function.
12470 * window.el (switch-to-buffer):
12471 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12472 (smerge-match-conflict):
12473 * simple.el (previous-matching-history-element)
12474 (next-matching-history-element, goto-history-element, undo-more)
12475 (undo-start):
12476 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12477 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12478 (next-file, tags-loop-scan, list-tags, complete-tag):
12479 * progmodes/compile.el (compilation-loop):
12480 * mouse.el (mouse-minibuffer-check):
12481 * man.el (Man-bgproc-sentinel, Man-goto-page):
12482 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12483 (Info-history-forward, Info-follow-reference, Info-menu)
12484 (Info-extract-menu-item, Info-extract-menu-counting)
12485 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12486 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12487 (Info-next-reference, Info-prev-reference, Info-index)
12488 (Info-index-next, Info-follow-nearest-node)
12489 (Info-copy-current-node-name):
12490 * imenu.el (imenu--make-index-alist)
12491 (imenu-default-create-index-function, imenu-add-to-menubar):
12492 * files.el (basic-save-buffer, recover-file):
12493 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12494 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12495 (checkdoc-message-text, checkdoc-defun):
12496 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12497 * cus-edit.el (customize-changed-options, customize-rogue)
12498 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12499 (custom-variable-mark-to-reset-standard)
12500 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12501 (custom-file):
12502 * completion.el (check-completion-length):
12503 * comint.el (comint-search-arg)
12504 (comint-previous-matching-input-string-position)
12505 (comint-previous-matching-input)
12506 (comint-replace-by-expanded-history-before-point, comint-send-input)
12507 (comint-copy-old-input, comint-backward-matching-input)
12508 (comint-goto-process-mark, comint-set-process-mark):
12509 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12510 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12511
12512 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * dabbrev.el (dabbrev--ignore-case-p): New function.
12515 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12516 Use it.
12517
12518 * files.el (automount-dir-prefix): Mark as obsolete.
12519
12520 2012-05-04 Glenn Morris <rgm@gnu.org>
12521
12522 * patcomp.el, play/bruce.el: Move to obsolete/.
12523
12524 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12525
12526 Fix minor Y10k bugs.
12527 * arc-mode.el (archive-unixdate):
12528 * autoinsert.el (auto-insert-alist):
12529 * calc/calc-forms.el (math-this-year):
12530 * emacs-lisp/copyright.el (copyright-current-year)
12531 (copyright-update-year, copyright):
12532 * tar-mode.el (tar-clip-time-string):
12533 * time.el (display-time-update):
12534 Don't assume years have 4 digits.
12535
12536 2012-05-04 Chong Yidong <cyd@gnu.org>
12537
12538 * dos-w32.el (file-name-buffer-file-type-alist)
12539 (direct-print-region-use-command-dot-com):
12540 * ffap.el (ffap-menu-regexp):
12541 * find-file.el (ff-special-constructs):
12542 * follow.el (follow-debug):
12543 * forms.el (forms--debug):
12544 * iswitchb.el (iswitchb-all-frames):
12545 * ido.el (ido-all-frames):
12546 * emacs-lisp/timer.el (timer-max-repeats):
12547 * mail/feedmail.el (feedmail-mail-send-hook)
12548 (feedmail-mail-send-hook-queued):
12549 * mail/footnote.el (footnote-signature-separator):
12550 * mail/mailabbrev.el (mail-alias-separator-string)
12551 (mail-abbrev-mode-regexp):
12552 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12553 * progmodes/idlwave.el (idlwave-libinfo-file)
12554 (idlwave-default-completion-case-is-down)
12555 (idlwave-library-routines): Convert defvars to defcustoms.
12556
12557 * mail/rmail.el (rmail-decode-mime-charset):
12558 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12559 (idlwave-shell-fix-inserted-breaks)
12560 (idlwave-shell-activate-alt-keybindings)
12561 (idlwave-shell-use-breakpoint-glyph):
12562 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12563
12564 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12567
12568 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12569
12570 * progmodes/verilog-mode.el (font-lock-keywords):
12571 Fix mis-highligting auto. Reported by Craig Barner.
12572 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12573 defines from global name space. Reported by Dan Dever.
12574 (verilog-auto-reset, verilog-auto-reset-widths)
12575 (verilog-auto-tieoff): Support using unbased numbers for
12576 AUTORESET and AUTOTIEOFF.
12577 (verilog-submit-bug-report): Update variable list.
12578 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12579 parenthesis from not matching. Reported by Michael Rytting.
12580 (verilog-auto-template-lint): Fix hash error when linting modules
12581 with no used templates.
12582 (verilog-warn, verilog-warn-error)
12583 (verilog-warn-fatal): When non-interactive report multiple
12584 warnings before exiting. Suggested by Brad Dobbie.
12585 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12586 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12587 to report unused template errors. Reported by Brad Dobbie.
12588 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12589 nets, bug438. Reported by Vns Blore.
12590 (verilog-auto-inout-module, verilog-auto-reg)
12591 (verilog-read-decls, verilog-read-sub-decls-sig)
12592 (verilog-signals-edit-wire-reg, verilog-signals-with):
12593 Fix passing of Verilog data types in ANSI input/output ports
12594 such as "output logic" into the AUTOs. Special case "wire" and
12595 "reg" for backwards compatibility presuming Verilog 2001.
12596 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12597 (verilog-preprocess): Fix replication of preprocess output.
12598 Reported by Brad Dobbie.
12599 (verilog-auto-inst-interfaced-ports):
12600 Create verilog-auto-inst-interfaced-ports, bug429.
12601 Reported by Julian Gorfajn.
12602 (verilog-after-save-font-hook)
12603 (verilog-before-save-font-hook): New variable.
12604 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12605 (verilog-save-font-mods): Wrap disabling fontification, reported
12606 by David Rogoff.
12607 (verilog-do-indent, verilog-pretty-declarations-auto)
12608 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12609 Reported by Pierre-David Pfister.
12610 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12611 of class declarations, bug292. Reported by Kevin Heilman.
12612 (verilog-read-decls): Fix 'parameter type' not appearing in
12613 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12614 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12615 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12616 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12617 Reported by David Kravitz.
12618
12619 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12620
12621 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12622 assignment with tests in ifs and for loops.
12623 (verilog-extended-complete-re, verilog-complete-reg): Change so
12624 that DPI inport functions don't look like fuction declarations.
12625 (verilog-pretty-expr): Don't line up assignment
12626 operations to the test and increment in if and for loops
12627 (verilog-extended-complete-re, verilog-complete-reg): Change so
12628 that DPI inport functions don't look like fuction declarations.
12629
12630 2012-05-03 Kenichi Handa <handa@m17n.org>
12631
12632 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12633 decoding, and show a warning message without signaling an error
12634 (Bug#11282).
12635
12636 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * emacs-lisp/bytecomp.el
12639 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12640 since cconv.el might have introduced :fun-body, internal-make-closure,
12641 and friends for bytecomp to handle (bug#11391).
12642 * custom.el (defcustom): Avoid ((λ ..) ..).
12643
12644 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12647
12648 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12649
12650 * notifications.el (dbus-debug):
12651 * term/linux.el (gpm-mouse-enable):
12652 * term/screen.el (xterm-register-default-colors): Declare.
12653
12654 2012-05-02 Chong Yidong <cyd@gnu.org>
12655
12656 * cus-start.el (gc-cons-percentage, exec-suffixes)
12657 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12658 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12659 (make-cursor-line-fully-visible, void-text-area-pointer)
12660 (font-list-limit): Add customization data.
12661
12662 * allout.el (allout-exposure-change-functions)
12663 (allout-structure-added-functions)
12664 (allout-structure-deleted-functions)
12665 (allout-structure-shifted-functions): Rename abnormal hooks from
12666 *-hook, and convert to defcustoms.
12667 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12668 Convert to defcustoms.
12669 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12670
12671 * allout-widgets.el: Hook callers changed.
12672
12673 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12674
12675 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12676 the yanked message in preference to the default value of
12677 buffer-file-coding-system.
12678
12679 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12680
12681 * window.el (display-buffer--action-function-custom-type):
12682 Fix entry.
12683
12684 2012-05-02 Alan Mackenzie <acm@muc.de>
12685
12686 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12687
12688 2012-05-01 Glenn Morris <rgm@gnu.org>
12689
12690 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12691
12692 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12693
12694 * cus-edit.el (custom-variable-documentation): Simplify with format.
12695
12696 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12697 Stefan Monnier <monnier@iro.umontreal.ca>
12698
12699 * simple.el (suggest-key-bindings, execute-extended-command):
12700 Move from keyboard.c.
12701
12702 2012-05-01 Chong Yidong <cyd@gnu.org>
12703
12704 * follow.el: Eliminate advice.
12705 (set-process-filter, process-filter, sit-for): Advice deleted.
12706 (follow-mode-off-hook): Obsolete hook removed.
12707 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12708 Vars deleted.
12709 (follow-auto): Use a :set function.
12710 (follow-mode): Rewritten. Don't advise process filters.
12711 (follow-switch-to-current-buffer-all, follow-scroll-up)
12712 (follow-scroll-down): Assume follow-mode is bound.
12713 (follow-comint-scroll-to-bottom)
12714 (follow-align-compilation-windows): New functions.
12715 (follow--window-sorter): New function.
12716 (follow-all-followers): Use it to explicitly sort windows by their
12717 positions; don't make assumptions about next-window order.
12718 (follow-windows-start-end, follow-delete-other-windows-and-split)
12719 (follow-calc-win-start): Doc fix.
12720 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12721 vertical-motion unnecessarily.
12722 (follow-adjust-window): New function.
12723 (follow-post-command-hook): Use it.
12724 (follow-call-set-process-filter, follow-call-process-filter)
12725 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12726 (follow-stop-intercept-process-output, follow-generic-filter):
12727 Functions deleted.
12728 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12729 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12730 New functions, replacing advice on scroll-bar-* commands.
12731 (follow-mwheel-scroll): New function (Bug#4112).
12732
12733 * comint.el (comint-adjust-point): New function.
12734 (comint-postoutput-scroll-to-bottom): Use it.
12735 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12736
12737 2012-05-01 Glenn Morris <rgm@gnu.org>
12738
12739 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12740 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12741 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12742 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12743 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12744 Remove no-byte-compile setting.
12745
12746 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12747
12748 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12749 all-completions code to not return a number in the last cdr.
12750
12751 2012-04-30 Leo Liu <sdl.web@gmail.com>
12752
12753 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12754 read-only error.
12755
12756 2012-04-29 Chong Yidong <cyd@gnu.org>
12757
12758 * follow.el (follow-calc-win-end): Rewrite to handle partial
12759 screen lines correctly (Bug#8390).
12760 (follow-avoid-tail-recenter): Minor cleanup.
12761
12762 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12763
12764 Avoid the obsolete `assoc' package.
12765 * speedbar.el (speedbar-refresh): Avoid adelete.
12766 (speedbar-file-lists): Simplify and avoid aput.
12767 * man.el (Man--sections, Man--refpages): New vars, replacing
12768 Man-sections-alist and Man-refpages-alist.
12769 (Man-build-section-alist, Man-build-references-alist):
12770 Use them; avoid aput.
12771 (Man--last-section, Man--last-refpage): New vars.
12772 (Man-follow-manual-reference): Use them.
12773 Use the `default' arg of completing-read.
12774 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12775
12776 2012-04-27 Chong Yidong <cyd@gnu.org>
12777
12778 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12779
12780 * startup.el (x-apply-session-resources): New function.
12781
12782 * term/ns-win.el (ns-initialize-window-system):
12783 * term/w32-win.el (w32-initialize-window-system):
12784 * term/x-win.el (x-initialize-window-system): Use it to properly
12785 set menu-bar-mode and other vars from X resources, even if the
12786 initial frame is not a window-system frame (Bug#2299).
12787
12788 * subr.el (read-key): Avoid running filter function when setting
12789 up temporary tool bar entries (Bug#9922).
12790
12791 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12792
12793 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12794 (Bug#11344)
12795
12796 2012-04-27 Chong Yidong <cyd@gnu.org>
12797
12798 * select.el (xselect--encode-string): New function, split from
12799 xselect-convert-to-string.
12800 (xselect-convert-to-string): Use it.
12801 (xselect-convert-to-filename, xselect-convert-to-os)
12802 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12803 returned strings are properly encoded (Bug#11315).
12804
12805 2012-04-27 Chong Yidong <cyd@gnu.org>
12806
12807 * simple.el (delete-active-region): Move to killing custom group.
12808
12809 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12810
12811 * progmodes/which-func.el (which-func-current): Quote %
12812 characters for mode-line processing.
12813
12814 2012-04-27 Chong Yidong <cyd@gnu.org>
12815
12816 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12817 reaching eob (Bug#11286).
12818
12819 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12820
12821 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12822 (gdb): Make it buffer-local and init to zero.
12823 (gdb-control-commands-regexp): New variable.
12824 (gdb-send): Don't wrap in "-interpreter-exec console" if
12825 gdb-control-level is positive. Increment gdb-control-level
12826 whenever the command matches gdb-control-commands-regexp, and
12827 decrement it each time the command is "end". (Bug#11279)
12828
12829 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12830
12831 * window.el (adjust-window-trailing-edge, enlarge-window)
12832 (shrink-window, window-resize):
12833 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12834 windows (Bug#11276).
12835
12836 2012-04-27 Chong Yidong <cyd@gnu.org>
12837
12838 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12839 fix "missing prefix" warning. All callers changed.
12840
12841 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * emacs-lisp/assoc.el: Move to obsolete/.
12844
12845 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12848
12849 * term/ns-win.el (ns-define-service):
12850 * progmodes/pascal.el (pascal-goto-defun):
12851 * progmodes/js.el (js--read-tab):
12852 * progmodes/etags.el (tags-lazy-completion-table):
12853 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12854 * emacs-lisp/ewoc.el (ewoc--wrap):
12855 * emacs-lisp/assoc.el (aput, adelete, amake):
12856 * doc-view.el (doc-view-convert-current-doc):
12857 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12858
12859 2012-04-26 Chong Yidong <cyd@gnu.org>
12860
12861 * image.el (image-type-from-buffer): Only return supported image
12862 type (Bug#9045).
12863
12864 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12865 value, for symmetry with diff-end-of-hunk.
12866 (diff-split-hunk, diff-find-source-location)
12867 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12868 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12869 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12870 compute the relevant hunk or file properly (Bug#6005).
12871 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12872
12873 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * vc/vc-mtn.el:
12876 * vc/vc-hg.el:
12877 * vc/vc-git.el:
12878 * vc/vc-dir.el:
12879 * vc/vc-cvs.el:
12880 * vc/vc-bzr.el:
12881 * vc/vc-arch.el:
12882 * vc/vc.el: Replace lexical-let by lexical-binding.
12883 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12884 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12885 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12886
12887 2012-04-26 Chong Yidong <cyd@gnu.org>
12888
12889 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12890 (diff-mode-shared-map): Bind it to / and [remap undo].
12891
12892 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12893 (ediff-window-setup-function): Use it as the default, to set up
12894 windows based on whether the current frame is graphical (Bug#2138).
12895 (ediff-choose-window-setup-function-automatically): Make obsolete.
12896
12897 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12898
12899 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * ffap.el: Remove old code for obsolete package.
12902 (ffap-complete-as-file-p): Remove.
12903
12904 Use completion-table-with-quoting for comint and pcomplete.
12905 * comint.el (comint--unquote&requote-argument)
12906 (comint--unquote-argument, comint--requote-argument): New functions.
12907 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12908 (comint-quote-filename): Use regexp-opt-charset.
12909 (comint--common-suffix, comint--common-quoted-suffix)
12910 (comint--table-subvert): Remove.
12911 (comint-unquote-function, comint-requote-function): New vars.
12912 (comint--complete-file-name-data): Use them with
12913 completion-table-with-quoting.
12914 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12915 * pcomplete.el (pcomplete-arg-quote-list)
12916 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12917 (pcomplete-unquote-argument-function): Default to non-nil.
12918 (pcomplete-unquote-argument): Simplify.
12919 (pcomplete--common-quoted-suffix): Remove.
12920 (pcomplete-requote-argument-function): New var.
12921 (pcomplete--common-suffix): New function.
12922 (pcomplete-completions-at-point): Use completion-table-with-quoting
12923 and completion-table-subvert.
12924
12925 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12926 (minibuffer--double-dollars): Preserve properties.
12927 (completion--sifn-requote): New function.
12928 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12929
12930 * minibuffer.el: Add support for completion of quoted/escaped data.
12931 (completion-table-with-quoting, completion-table-subvert): New funs.
12932 (completion--twq-try, completion--twq-all): New functions.
12933 (completion--nth-completion): New function.
12934 (completion-try-completion, completion-all-completions): Use it.
12935
12936 2012-04-25 Leo Liu <sdl.web@gmail.com>
12937
12938 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12939 Use compilation-message if available to find real filename.
12940
12941 2012-04-25 Chong Yidong <cyd@gnu.org>
12942
12943 * vc/diff-mode.el (diff-setup-whitespace): New function.
12944 (diff-mode): Use it.
12945
12946 * vc/diff.el (diff-sentinel):
12947 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12948 Whitespace mode variables based on diff style (Bug#8612).
12949
12950 2012-04-25 Leo Liu <sdl.web@gmail.com>
12951
12952 * progmodes/python.el (python-send-region): Add suffix .py to the
12953 temp file.
12954
12955 * files.el (auto-mode-alist): Use javascript-mode instead.
12956
12957 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12958
12959 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12960
12961 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12962 (soap-resolve-references-for-array-type): Hack to prevent self
12963 references, see Bug#9.
12964 (soap-parse-envelope): Report the contents of the 'detail' node
12965 when receiving a fault reply.
12966 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12967
12968 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12969 (soap-inspect-simple-type): New function.
12970
12971 * net/soap-client.el (soap-simple-type): New struct.
12972 (soap-default-xsd-types, soap-default-soapenc-types)
12973 (soap-decode-basic-type, soap-encode-basic-type):
12974 support unsignedInt and double basic types.
12975 (soap-resolve-references-for-simple-type)
12976 (soap-parse-simple-type, soap-encode-simple-type): New function.
12977 (soap-parse-schema): Parse xsd:simpleType declarations.
12978
12979 * net/soap-client.el (soap-default-xsd-types)
12980 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12981 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12982 the local name of "soapenc:Array".
12983 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12984 decoding integer, byte and anyURI xsd types.
12985
12986 2012-04-25 Chong Yidong <cyd@gnu.org>
12987
12988 * cus-edit.el (custom-buffer-create-internal): Update header text.
12989
12990 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12991
12992 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12993 settings on 'system-type', not on 'window-system'. On MS-Windows,
12994 set interactive-mode on in GDB.
12995
12996 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12997
12998 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12999 (ruby-syntax-propertize-regexp): Remove.
13000 (ruby-syntax-propertize-function): Split regexp into chunks.
13001 Match following code directly.
13002
13003 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13004
13005 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13006 (ruby-syntax-propertize-regexp): New function.
13007 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13008 by a special keyword.
13009
13010 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13011 (ruby-syntax-general-delimiters-goto-beg)
13012 (ruby-syntax-propertize-general-delimiters): New functions.
13013 (ruby-syntax-propertize-function): Use them to handle GDL.
13014 (ruby-font-lock-keywords): Move old handling of GDL...
13015 (ruby-font-lock-syntactic-keywords): .. to here.
13016 (ruby-calculate-indent): Adjust indentation for GDL.
13017
13018 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * notifications.el (top): Remove unneeded declarations.
13021 (notifications-specification-version): Change to "1.2".
13022 (notifications-interface, notifications-notify-method)
13023 (notifications-close-notification-method): Fix docstring.
13024 (notifications-get-capabilities-method): New defconst.
13025 (notifications-notify): Add :action-items, :resident and
13026 :transient hints. Change "image_data" to "image-data" and
13027 "image_path" to "image-path".
13028 (notifications-get-capabilities): New defun.
13029
13030 2012-04-24 Leo Liu <sdl.web@gmail.com>
13031
13032 * progmodes/python.el: Move hideshow setup to the end.
13033
13034 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13035
13036 * window.el (handle-select-window): Clear echo area since this is
13037 no more done by read_char (Bug#11304).
13038
13039 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13042 and `/ M' to filter-derived-mode.
13043 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13044 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13045 (ibuffer-mark-by-mode): Use default rather than initial-input.
13046 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13047
13048 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13049
13050 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13051 (ibuffer-filter-by-derived-mode): New filter.
13052 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13053
13054 2012-04-23 Andreas Politz <politza@fh-trier.de>
13055
13056 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13057
13058 2012-04-23 Chong Yidong <cyd@gnu.org>
13059
13060 * cus-edit.el (customize-apropos, customize-apropos-options):
13061 Disable matching of non-option variables (Bug#11176).
13062 (customize-option, customize-option-other-window)
13063 (customize-changed-options): Doc fix.
13064 (customize-apropos-options, customize-apropos-faces)
13065 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13066
13067 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13068 Fix word list splitting (Bug#11132).
13069 (apropos-symbol, apropos-keybinding, apropos-label)
13070 (apropos-property, apropos-function-button)
13071 (apropos-variable-button, apropos-misc-button): New faces.
13072 (apropos-symbol-face, apropos-keybinding-face)
13073 (apropos-label-face, apropos-property-face, apropos-match-face):
13074 Variables removed (Bug#8396).
13075 (apropos-library-button, apropos-format-plist, apropos-print)
13076 (apropos-print-doc, apropos-describe-plist): Callers changed.
13077
13078 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13079
13080 * net/xesam.el (xesam-mode-map): Use let-bound map in
13081 initialization. (Bug#11292)
13082
13083 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13084
13085 Preserve ispell session localwords when switching back to
13086 original buffer.
13087
13088 * textmodes/ispell.el (ispell-buffer-session-localwords):
13089 New buffer-local variable to hold buffer session localwords.
13090 (ispell-kill-ispell): Add option 'clear to delete session
13091 localwords.
13092 (ispell-command-loop, ispell-change-dictionary)
13093 (ispell-buffer-local-words): Preserve session localwords when
13094 needed.
13095
13096 * textmodes/flyspell.el (flyspell-process-localwords)
13097 (flyspell-do-correct): Preserve session localwords when needed.
13098
13099 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13100
13101 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13102 using obsolete `translation-table-for-input'.
13103 (ispell-word, ispell-process-line, ispell-complete-word):
13104 Use plain `insert' instead of removed `ispell-insert-word'.
13105
13106 2012-04-22 Chong Yidong <cyd@gnu.org>
13107
13108 * cus-edit.el (custom-variable-menu)
13109 (custom-variable-reset-saved, custom-face-menu)
13110 (custom-face-reset-saved): If there is no saved value, make the
13111 "reset-saved" operation bring back the default (Bug#9509).
13112 (custom-face-state): Properly detect themed faces.
13113
13114 * faces.el (face-spec-set): Stop supporting deprecated form of
13115 third arg.
13116
13117 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13118
13119 Move functions from C to Lisp. Make non-blocking method calls
13120 the default. Implement further D-Bus standard interfaces.
13121
13122 * net/dbus.el (dbus-message-internal): Declare function.
13123 Remove unneeded function declarations.
13124 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13125 (dbus-message-type-method-return, dbus-message-type-error)
13126 (dbus-message-type-signal): Declare variables. Remove local
13127 definitions.
13128 (dbus-interface-dbus, dbus-interface-peer)
13129 (dbus-interface-introspectable, dbus-interface-properties)
13130 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13131 Adapt docstring.
13132 (dbus-interface-objectmanager): New defconst.
13133 (dbus-call-method, dbus-call-method-asynchronously)
13134 (dbus-send-signal, dbus-method-return-internal)
13135 (dbus-method-error-internal, dbus-register-service)
13136 (dbus-register-signal, dbus-register-method): New defuns, moved
13137 from dbusbind.c
13138 (dbus-call-method-handler, dbus-setenv)
13139 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13140 New defuns.
13141 (dbus-call-method-non-blocking): Make it an obsolete function.
13142 (dbus-unregister-object, dbus-unregister-service)
13143 (dbus-handle-event, dbus-register-property)
13144 (dbus-property-handler): Obey the new structure of
13145 `bus-registered-objects'.
13146 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13147 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13148 Use `dbus-call-method'.
13149
13150 2012-04-22 Chong Yidong <cyd@gnu.org>
13151
13152 * cus-edit.el (custom-commands, custom-reset-menu)
13153 (Custom-reset-standard): Tweak labels.
13154 (custom-reset-button-menu): Change default to t.
13155 (custom-buffer-create-internal): For the custom-reset-button-menu
13156 case, put the revert button first.
13157 (custom-group-subtitle): New face.
13158 (custom-group-value-create): Align docstring to a specific column.
13159
13160 * wid-edit.el (widget-documentation-link-add): Don't handle
13161 indentation in this function.
13162 (widget-documentation-string-indent-to): New function.
13163 (widget-documentation-string-value-create): Use it.
13164
13165 * autorevert.el (auto-revert):
13166 * epg-config.el (epg):
13167 * ibuffer.el (ibuffer):
13168 * mpc.el (mpc):
13169 * ses.el (ses):
13170 * eshell/eshell.el (eshell):
13171 * net/ange-ftp.el (ange-ftp):
13172 * progmodes/ebnf2ps.el (postscript):
13173 * progmodes/flymake.el (flymake):
13174 * progmodes/prolog.el (prolog):
13175 * progmodes/verilog-mode.el (verilog-mode):
13176 * progmodes/which-func.el (which-func):
13177 * term/xterm.el (xterm):
13178 * textmodes/picture.el (picture):
13179 * textmodes/tildify.el (tildify):
13180 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13181 customization buffers.
13182
13183 2012-04-22 Alan Mackenzie <acm@muc.de>
13184
13185 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13186 Adding a ) can hide the resulting (..) from searches. Fix it.
13187 Bound the backward search to the position of the existing (.
13188
13189 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13190
13191 * progmodes/verilog-mode.el (verilog-mode): Check whether
13192 which-func-modes is t before adding verilog-mode.
13193 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13194
13195 2012-04-21 Leo Liu <sdl.web@gmail.com>
13196
13197 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13198
13199 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13200
13201 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13202 filling of the last column of a table (Bug#5635).
13203 (woman-find-next-control-line): New arg, specifying an additional
13204 regexp component for the control line.
13205 (woman2-roff-buffer): Use it.
13206 (woman-break-table): New function.
13207 (woman2-TS): Use it.
13208
13209 2012-04-21 Chong Yidong <cyd@gnu.org>
13210
13211 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13212 (woman-horizontal-escapes, woman-negative-vertical-space)
13213 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13214 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13215
13216 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * minibuffer.el (completion-file-name-table): Complete user names.
13219
13220 2012-04-20 Leo Liu <sdl.web@gmail.com>
13221
13222 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13223 and pcase-let*.
13224
13225 2012-04-20 Chong Yidong <cyd@gnu.org>
13226
13227 * server.el (server-execute): Respect initial-buffer-choice if it
13228 is a string and there are no files to open (Bug#2825).
13229 (server-create-window-system-frame, server-create-tty-frame):
13230 Don't switch buffers here.
13231 (server-process-filter): Only try to open a window system frame if
13232 compiled with graphical support (Bug#8314).
13233
13234 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13235
13236 * battery.el (battery-echo-area-format): Display remaining time
13237 for sysfs backend too (Bug#11269).
13238 (battery-linux-sysfs): Fix conditional for the charge.
13239
13240 2012-04-20 Chong Yidong <cyd@gnu.org>
13241
13242 * progmodes/gdb-mi.el (gdb): Revert previous change.
13243 (gdb-inferior-io--init-proc): New function.
13244 (gdb-init-1): Use it.
13245 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13246 responsible for allocating a new pty and hooking it to gdb when
13247 the old pty gets an EIO due to process exit.
13248 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13249 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13250 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13251
13252 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13253
13254 * window.el (window-min-size, window-sizable, window-min-delta)
13255 (window-max-delta, window--resizable, window-resizable)
13256 (window-total-size, window-full-height-p, window-full-width-p)
13257 (window-in-direction, window--resize-mini-window, window-resize)
13258 (window--resize-child-windows-normal)
13259 (window--resize-child-windows, window--resize-siblings)
13260 (window--resize-this-window, adjust-window-trailing-edge)
13261 (enlarge-window, shrink-window): Doc fixes.
13262
13263 2012-04-20 Chong Yidong <cyd@gnu.org>
13264
13265 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13266 New function to call delete-process on the gdb-inferior buffer's pty.
13267 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13268 pty process (Bug#11273).
13269 (gdb-update): New arg to suppress talking to the gdb process.
13270 (gdb-done-or-error): Use it.
13271 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13272 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13273 sentinel not being called.
13274
13275 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13276
13277 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13278
13279 2012-04-20 Glenn Morris <rgm@gnu.org>
13280
13281 * net/network-stream.el (open-network-stream): Doc fix.
13282
13283 2012-04-20 Chong Yidong <cyd@gnu.org>
13284
13285 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13286
13287 2012-04-20 Alan Mackenzie <acm@muc.de>
13288
13289 Ensure searching for keywords is case sensitive.
13290
13291 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13292 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13293 (c-defun-name, c-mark-function, c-cpp-define-name)
13294 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13295 (c-context-line-break): Bind case-fold-search to nil.
13296
13297 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13298 Bind case-fold-search to nil.
13299
13300 2012-04-20 Chong Yidong <cyd@gnu.org>
13301
13302 * mail/sendmail.el (mail-bury): Call return action with the right
13303 Rmail buffer (Bug#11242).
13304
13305 * server.el (server-process-filter): Handle corner case where both
13306 tty and nowait options are present (Bug#11102).
13307
13308 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13309
13310 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13311 (top level): Put into the executable the ident-style '$Id:' tag on
13312 windows-nt as well.
13313
13314 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13315
13316 * electric.el (electric-indent-post-self-insert-function): Check that
13317 electric-indent-mode is enabled in current buffer.
13318
13319 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13320
13321 * imenu.el (imenu-progress-message): Restore; it is "used" in
13322 erc/erc-imenu.el and net/snmp-mode.el.
13323
13324 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13325
13326 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13327 (mouse-avoidance-nudge-mouse): Remove unused binding.
13328
13329 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13330
13331 * descr-text.el (describe-char):
13332 * progmodes/python.el (python-describe-symbol):
13333 Don't call `toggle-read-only', set `buffer-read-only'.
13334
13335 * imenu.el (imenu-default-goto-function): Mark unused args.
13336 (imenu-progress-message): Remove obsolete macro; all callers changed.
13337
13338 * subr.el (keymap-canonicalize): Remove unused binding.
13339 (read-passwd): Mark unused arg.
13340
13341 * tutorial.el (tutorial--display-changes): Remove unused binding.
13342 (tutorial--save-tutorial-to): Remove unused variable.
13343
13344 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13345 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13346 (package-generate-autoloads, package-menu--generate)
13347 (package-menu--find-upgrades): Remove unused bindings.
13348
13349 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13350 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13351 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13352 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13353 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13354 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13355 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13356 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13357 (cua-delete-char-rectangle): Mark unused args.
13358 (cua-align-rectangle): Remove unused binding.
13359
13360 * mail/rmail.el (compilation--message->loc)
13361 (epa--find-coding-system-for-mime-charset): Declare.
13362
13363 * net/dbus.el (dbus-register-service): Declare.
13364 (dbus-name-owner-changed-handler): Remove unused binding.
13365
13366 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13367 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13368 (nxml-scan-backward-within): Mark unused arg.
13369 (nxml-dynamic-markup-word): Remove unused binding.
13370
13371 * mouse.el (mouse-menu-major-mode-map):
13372 * emacs-lisp/authors.el (authors-scan-change-log)
13373 (authors-add-to-author-list):
13374 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13375 * emacs-lisp/smie.el (smie-auto-fill):
13376 * mail/sendmail.el (mail-bury):
13377 * mail/unrmail.el (unrmail):
13378 * net/tls.el (open-tls-stream):
13379 * textmodes/picture.el (picture-mouse-set-point):
13380 Remove unused bindings.
13381
13382 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13383
13384 * net/tramp.el (tramp-action-password): Let-bind
13385 `enable-recursive-minibuffers' to t.
13386
13387 2012-04-18 Sam Steingold <sds@gnu.org>
13388
13389 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13390 instead of 'string to accommodate values like [f11].
13391 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13392 * progmodes/gdb-mi.el: Likewise.
13393
13394 2012-04-18 Leo Liu <sdl.web@gmail.com>
13395
13396 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13397 current buffer.
13398 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13399 LOCAL is nil.
13400
13401 2012-04-18 Chong Yidong <cyd@gnu.org>
13402
13403 * simple.el (line-move): Use forward-line if in batch mode
13404 (Bug#11053).
13405
13406 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13407
13408 * files.el (after-find-file): Do not try to add a final newline if
13409 the buffer is read-only (Bug#11156).
13410
13411 2012-04-17 Richard Stallman <rms@gnu.org>
13412
13413 * mail/rmail.el (rmail-start-mail):
13414 Pass (rmail-mail-return...) for the return-action.
13415 Pass (rmail-yank-current-message...) for the yank-action.
13416 (rmail-yank-current-message): New function.
13417 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13418 (rmail-reply): Likewise.
13419 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13420
13421 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13422 buffer, not the last. Reject temp buffers. Use the rmail-mode
13423 buffer, not newbuf.
13424
13425 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13426
13427 * server.el (server-ensure-safe-dir): Simplify.
13428
13429 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * emacs-lisp/smie.el: Provide smarter auto-filling.
13432 (smie-auto-fill): New function.
13433 (smie-setup): Use it.
13434
13435 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13436
13437 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13438
13439 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13440 (comment-indent): Use it.
13441
13442 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13443
13444 * ses.el: The overall change is to add cell renaming, that is
13445 setting fancy names for cell symbols other than name matching
13446 "\\`[A-Z]+[0-9]+\\'" regexp .
13447 (ses-localvars): Add ses--renamed-cell-symb-list.
13448 (ses-create-cell-variable): New defun.
13449 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13450 (ses-relocate-formula): Relocate formulas only for cells the
13451 symbols of which are not renamed, i.e. symbols whose names do not
13452 match regexp "\\`[A-Z]+[0-9]+\\'".
13453 (ses-relocate-all): Relocate values only for cells the symbols of
13454 which are not renamed.
13455 (ses-load): Create cells variables as the (ses-cell ...) are read,
13456 in order to check row col consistency with cell symbol name only
13457 for cells that are not renamed.
13458 (ses-replace-name-in-formula): New defun.
13459 (ses-rename-cell): New defun.
13460
13461 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13462
13463 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13464 New option (bug#11118).
13465 (perl-calculate-indent): Respect it.
13466
13467 2012-04-17 Glenn Morris <rgm@gnu.org>
13468
13469 * dired-aux.el (dired-mark-read-string): Doc fix.
13470
13471 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13472
13473 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13474 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13475
13476 2012-04-17 Glenn Morris <rgm@gnu.org>
13477
13478 * mouse.el (mouse-drag-track):
13479 * speedbar.el (speedbar-frame-mode):
13480 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13481
13482 2012-04-16 Leo Liu <sdl.web@gmail.com>
13483
13484 * progmodes/python.el: Trivial cleanup.
13485
13486 2012-04-16 Glenn Morris <rgm@gnu.org>
13487
13488 * vc/vc.el (vc-string-prefix-p):
13489 * vc/pcvs-util.el (cvs-string-prefix-p):
13490 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13491 * mpc.el (mpc-string-prefix-p):
13492 Make all of these into obsolete aliases for string-prefix-p.
13493 Update callers.
13494 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13495
13496 * textmodes/two-column.el: Move custom options to the start.
13497 (frame-width): Remove compat definition.
13498 (2C-associate-buffer, 2C-dissociate):
13499 Use with-current-buffer rather than save-excursion.
13500 (2C-dissociate): Force a mode-line update.
13501 (2C-autoscroll): Use ignore-errors.
13502
13503 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13504 Autoload trivia.
13505
13506 * emacs-lisp/cl-extra.el (*random-state*):
13507 Remove unnecessary declaration.
13508
13509 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13510
13511 * play/cookie1.el (cookie-snarf):
13512 Give an explicit error if input file cannot be read.
13513
13514 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13515
13516 * progmodes/perl-mode.el (c-macro-expand):
13517 Remove unnecessary autoload (it is in loaddefs.el).
13518
13519 * textmodes/picture.el (picture-desired-column)
13520 (picture-update-desired-column): Convert comments to doc-strings.
13521 (picture-substitute): Remove function.
13522 (picture-mode-map): Initialize in the defvar.
13523
13524 * woman.el: Remove eval-after-load for tar-mode.
13525 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13526 (woman-tar-extract-file): Autoload it.
13527
13528 * frame.el (automatic-hscrolling): Make this alias obsolete.
13529
13530 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13531
13532 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13533 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13534 (ispell-dictionary-base-alist): Revert to original XEmacs
13535 friendly version for default. [:alpha:] will be added in
13536 `ispell-set-spellchecker-params' if needed.
13537
13538 2012-04-16 Chong Yidong <cyd@gnu.org>
13539
13540 * image.el (imagemagick--file-regexp): New variable.
13541 (imagemagick-register-types): Use it.
13542 (imagemagick-types-inhibit): Add :set function. Allow new value
13543 of t to inhibit all types.
13544
13545 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13546 so we can preload it.
13547
13548 * loadup.el (fboundp): Preload regexp-opt, needed by
13549 imagemagick-register-types.
13550
13551 2012-04-15 Chong Yidong <cyd@gnu.org>
13552
13553 * frame.el (scrolling): Remove nearly unused customization group.
13554
13555 * scroll-all.el (scroll-all-mode): Move to windows group.
13556
13557 2012-04-15 Chong Yidong <cyd@gnu.org>
13558
13559 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13560
13561 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13564 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13565
13566 2012-04-15 Glenn Morris <rgm@gnu.org>
13567
13568 * simple.el (process-file-side-effects): Doc fix.
13569
13570 2012-04-15 Glenn Morris <rgm@gnu.org>
13571
13572 * international/mule-cmds.el (set-language-environment): Doc fix.
13573
13574 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13575
13576 * server.el (server-auth-key, server-generate-key): Doc fixes.
13577 (server-get-auth-key): Doc fix. Use `string-match-p'.
13578 (server-start): Reflow docstring.
13579
13580 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13581
13582 * server.el (server-generate-key): `called-interactively-p'
13583 requires a parameter.
13584
13585 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13586
13587 * server.el (server-auth-key): New variable.
13588 (server-generate-key, server-get-auth-key): New function.
13589 (server-start): Use the new variable and functions to allow
13590 setting a permanent server key (bug#9423).
13591
13592 2012-04-14 Leo Liu <sdl.web@gmail.com>
13593
13594 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13595
13596 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13597
13598 Spelling fixes.
13599 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13600 Emacs uses American spelling.
13601
13602 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13603
13604 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13605 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13606 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13607 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13608
13609 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * progmodes/which-func.el (which-func-modes): Change default.
13612
13613 2012-04-14 Kim F. Storm <storm@cua.dk>
13614
13615 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13616 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13617
13618 2012-04-14 Chong Yidong <cyd@gnu.org>
13619
13620 * custom.el (custom-theme-set-variables): Doc fix.
13621
13622 2012-04-14 Glenn Morris <rgm@gnu.org>
13623
13624 * international/mule.el (set-auto-coding-for-load): Doc fix.
13625
13626 2012-04-14 Alan Mackenzie <acm@muc.de>
13627
13628 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13629 imenu work again for Objective C Mode. Correct the *-index values,
13630 these having been disturbed by a previous change in 2011-08.
13631
13632 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13633 Correct two search limits.
13634
13635 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13638
13639 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13640
13641 * international/characters.el: Fix sorting.
13642
13643 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13644
13645 * international/characters.el: Add more missing Latin case pairs.
13646
13647 2012-04-14 Glenn Morris <rgm@gnu.org>
13648
13649 * files.el (dir-locals-set-class-variables): Doc fix.
13650
13651 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13652
13653 * international/characters.el: Add set-case-syntax-pair call for
13654 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13655 counterpart. (Bug#11209)
13656
13657 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13658
13659 2012-04-14 Glenn Morris <rgm@gnu.org>
13660
13661 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13662
13663 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13664
13665 * textmodes/ispell.el (ispell-dictionary-base-alist):
13666 Add data for Hebrew.
13667
13668 2012-04-14 Chong Yidong <cyd@gnu.org>
13669
13670 * net/rcirc.el (rcirc-cmd-quit):
13671 Revert 2012-03-18 change (Bug#11192).
13672
13673 2012-04-14 Glenn Morris <rgm@gnu.org>
13674
13675 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13676
13677 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13678
13679 * minibuffer.el (completion-in-region-mode-map):
13680 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13681
13682 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13683
13684 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13685
13686 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13687
13688 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13689 to allow `C-M-f' and `C-M-b' to move to the nearest path
13690 separator (bug#9511).
13691
13692 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13693
13694 * avoid.el: Require cl when compiling. And also move the
13695 `provide' to the end.
13696
13697 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13698
13699 * avoid.el (mouse-avoidance-banish-position): New variable.
13700 (mouse-avoidance-banish-destination): Use it (bug#10165).
13701
13702 2012-04-13 Leo Liu <sdl.web@gmail.com>
13703
13704 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13705
13706 2012-04-13 Ken Brown <kbrown@cornell.edu>
13707
13708 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13709 this is no longer needed now that cygstart understands file:// URLs.
13710 (browse-url-filename-alist): For the same reason, don't modify
13711 file:// URLs on Cygwin.
13712
13713 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13716 the region on shift if the binding is already shifted (bug#11221).
13717
13718 2012-04-12 Glenn Morris <rgm@gnu.org>
13719
13720 * mail/mailpost.el: Move to obsolete/.
13721
13722 2012-04-12 Drew Adams <drew.adams@oracle.com>
13723
13724 * imenu.el (imenu--generic-function): Ignore invisible definitions
13725 (bug#10123).
13726
13727 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13728
13729 * hexl.el (hexl-bits): New variable.
13730 (hexl-options): Mention the variable in the doc string.
13731 (hexl-rulerise, hexl-line-displen): New functions.
13732 (hexl-mode): Mention the new variable.
13733 (hexl-mode, hexl-current-address, hexl-current-address):
13734 Use the displen.
13735 (hexl-ascii-start-column): New function.
13736 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13737 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13738
13739 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13740
13741 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13742 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13743 the encoding, as expected by hunspell.
13744
13745 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * battery.el (battery--linux-sysfs-regexp): New const.
13748 (battery-status-function): Use it. Remove yeeloong special case.
13749 (battery-yeeloong-sysfs): Remove.
13750 (battery-echo-area-format): Remove yeeloong special case.
13751
13752 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13755 Reported by Noah Friedman.
13756
13757 * subr.el (read-passwd): Use read-string.
13758
13759 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13760
13761 * vcursor.el (vcursor-move): Increase the priority of the overlay
13762 (bug#9663).
13763
13764 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13765
13766 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13767 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13768
13769 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13770
13771 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13772 define-minor-mode (bug#10760).
13773
13774 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13775
13776 * progmodes/grep.el (rgrep): Tweak the find command line so
13777 that directories matching `grep-find-ignored-files' won't be
13778 pruned (bug#10351).
13779
13780 2012-04-11 Chong Yidong <cyd@gnu.org>
13781
13782 * startup.el (command-line): Remove support for long-obsolete
13783 variable font-lock-face-attributes.
13784
13785 2012-04-11 Glenn Morris <rgm@gnu.org>
13786
13787 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13788
13789 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * window.el (window--state-get-1): Obey window-point-insertion-type.
13792
13793 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13794
13795 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13796 to previous function when point is on the first character of a
13797 function. Take care of that in `narrow-to-defun' (bug#6157).
13798
13799 2012-04-11 Glenn Morris <rgm@gnu.org>
13800
13801 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13802 not just file-errors.
13803
13804 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13805 (vc-bzr-sha1): Use internal sha1.
13806
13807 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13810
13811 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13812
13813 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13814 that start in the middle of the line (bug#10496).
13815
13816 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13817
13818 * battery.el (battery-linux-proc-acpi): Only one battery is
13819 discharged at a time, but that seems to confuse battery.el when
13820 computing `rate-type' for the battery not being discharged
13821 (bug#10332).
13822
13823 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13826
13827 * international/quail.el: Use dolist and simplify.
13828 (quail-define-package, quail-update-keyboard-layout)
13829 (quail-define-rules): Use dolist.
13830 (quail-insert-kbd-layout, quail-get-translation): CSE.
13831
13832 * tmm.el: Use dolist, remove left over hook.
13833 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13834 Use dolist.
13835 (calendar-load-hook): Don't mess with it.
13836
13837 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13838 Use derived-mode-p. Run the diff asynchronously.
13839
13840 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13841
13842 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13843
13844 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13845
13846 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13847 (list-dynamic-libraries--loaded): New function.
13848 (list-dynamic-libraries--refresh): Use it.
13849
13850 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13851
13852 * progmodes/python.el (python-fill-paragraph):
13853 Make python-fill-region in a multiline string work when font-lock is
13854 disabled (bug#7018).
13855
13856 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13857
13858 * language/european.el (cp775): Add oem/legacy (en)coding on
13859 DOS/MS Windows for the Baltic languages. There are still plenty
13860 of texts written in this encoding/codepage (bug#6519).
13861
13862 2012-04-10 Glenn Morris <rgm@gnu.org>
13863
13864 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13865 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13866
13867 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13868
13869 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13870 next-line "n" and previous-line "p" in order to make recentf more
13871 consistent with ibuffer, dired or org-mode (bug#9387).
13872
13873 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13874
13875 * image.el (put-image): Return the overlay created instead of the
13876 optional input string (bug#7834). Note that this may break code
13877 that is (for some reason or other) depending on `put-image'
13878 returning the string.
13879
13880 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13881
13882 * simple.el (zap-to-char): Allow zapping using input methods
13883 (bug#1580).
13884
13885 * textmodes/fill.el (fill-region): Leave point and mark where they
13886 were before filling (bug#5399).
13887
13888 2012-04-09 Glenn Morris <rgm@gnu.org>
13889
13890 * version.el (emacs-bzr-get-version):
13891 Handle lightweight checkouts of local branches.
13892
13893 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13894
13895 * international/characters.el: Recover lost case pairs. (Bug#11209)
13896
13897 2012-04-09 Chong Yidong <cyd@gnu.org>
13898
13899 * custom.el (custom-variable-p): Return nil for non-symbol
13900 arguments instead of signaling an error.
13901 (user-variable-p): Obsolete alias for custom-variable-p.
13902
13903 * apropos.el (apropos-variable):
13904 * files-x.el (read-file-local-variable):
13905 * simple.el (set-variable):
13906 * woman.el (woman-mini-help):
13907 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13908
13909 2012-04-09 Glenn Morris <rgm@gnu.org>
13910
13911 * startup.el (normal-top-level): Don't look for leim-list.el
13912 in places where it will not be found. (Bug#910)
13913
13914 * international/mule-cmds.el (set-default-coding-systems):
13915 * files.el (normal-mode):
13916 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13917 This function was removed with ucs-tables.el in 2008.
13918
13919 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13920
13921 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13922 ispell-encoding8-command to "-i", without a trailing space.
13923 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13924 separate command-line arguments, to specify the encoding, since
13925 that's how hunspell expects it.
13926
13927 2012-04-08 Glenn Morris <rgm@gnu.org>
13928
13929 * loadup.el: Load bindings before cus-start.
13930 This reduces somewhat the number of "rogue" settings in emacs -Q.
13931
13932 2012-04-07 Glenn Morris <rgm@gnu.org>
13933
13934 * version.el (emacs-bzr-get-version): New function.
13935 (emacs-bzr-version): New variable.
13936 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13937 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13938
13939 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13940
13941 * international/uni-bidi.el, international/uni-category.el:
13942 * international/uni-combining.el, international/uni-decimal.el:
13943 * international/uni-decomposition.el, international/uni-digit.el:
13944 * international/uni-lowercase.el, international/uni-mirrored.el:
13945 * international/uni-name.el, international/uni-numeric.el:
13946 * international/uni-titlecase.el, international/uni-uppercase.el:
13947 Update for Unicode 6.1.
13948
13949 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13950
13951 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13952
13953 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13954
13955 * window.el (shrink-window): Mention the `window-min-height'
13956 variable in the doc string.
13957
13958 2012-04-05 Bastien Guerry <bzg@altern.org>
13959
13960 * color.el (color-lighten-name): Fix typo.
13961
13962 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * server.el (server--on-display-p): New function.
13965 (server--on-display-p): Use it.
13966
13967 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13968
13969 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13970 (bug#11145).
13971
13972 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13973
13974 * comint.el (comint--common-quoted-suffix): Check string boundary
13975 before comparing (bug#11158).
13976 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13977
13978 2012-04-04 Chong Yidong <cyd@gnu.org>
13979
13980 * minibuffer.el (completion-extra-properties): Doc fix.
13981
13982 * subr.el (delayed-warnings-hook): Doc fix.
13983
13984 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13985
13986 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13987 selection (Bug#11159).
13988 (epa-insert-keys): Inform that the default public key will be
13989 exported if no key is selected.
13990
13991 2012-04-04 Richard Stallman <rms@gnu.org>
13992
13993 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13994
13995 2012-04-03 Chong Yidong <cyd@gnu.org>
13996
13997 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13998 mail-insert-file, not its obsolete alias mail-attach-file.
13999
14000 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14001
14002 * notifications.el (notifications-notify): Fix docstring.
14003
14004 2012-04-02 Glenn Morris <rgm@gnu.org>
14005
14006 * emacs-lisp/authors.el (authors-aliases): Another addition.
14007
14008 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14009
14010 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14011 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14012 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14013
14014 2012-04-01 Chong Yidong <cyd@gnu.org>
14015
14016 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14017 Handle root directory properly.
14018 (copy-directory): Caller changed.
14019
14020 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14021 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14022
14023 2012-03-31 Glenn Morris <rgm@gnu.org>
14024
14025 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14026
14027 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14028
14029 * calendar/calendar.el (calendar-window-list)
14030 (calendar-hide-window): Restore. (Bug#11140)
14031 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14032
14033 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14034
14035 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14036
14037 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14038 Check if file is a symlink (Bug#10489).
14039
14040 * files.el (copy-directory): Likewise.
14041
14042 2012-03-30 Chong Yidong <cyd@gnu.org>
14043
14044 * image.el (imagemagick-types-inhibit)
14045 (imagemagick-register-types): Doc fix.
14046
14047 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14048
14049 * textmodes/ispell.el (ispell-get-extended-character-mode):
14050 Disable extended-char-mode for hunspell. hunspell does not support it
14051 and treats ~word as ordinary words in pipe mode.
14052
14053 2012-03-30 Glenn Morris <rgm@gnu.org>
14054
14055 * tutorial.el (help-with-tutorial): Ensure local variables don't
14056 happen to make the buffer read-only. (Bug#11127)
14057
14058 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14059
14060 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14061 (perl-calculate-indent): Return `noindent' in strings.
14062
14063 2012-03-28 Sam Steingold <sds@gnu.org>
14064
14065 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14066 instead of the broken adhockery which does not prevent calendar
14067 buffers from being displayed at random after exit.
14068 (calendar-window-list, calendar-hide-window): Remove the broken
14069 adhockery.
14070
14071 2012-03-28 Glenn Morris <rgm@gnu.org>
14072
14073 * replace.el (query-replace-map): Doc fix.
14074
14075 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14076
14077 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14078 contents. (Bug#11109)
14079
14080 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14083 (bug#11077).
14084 (avl-tree--check, avl-tree--check-node): New funs.
14085
14086 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14087
14088 * window.el (switch-to-visible-buffer): New option.
14089 (switch-to-prev-buffer, switch-to-next-buffer):
14090 Observe switch-to-visible-buffer. Make sure that checking for a window
14091 showing a buffer already is done on the same frame.
14092
14093 2012-03-27 Glenn Morris <rgm@gnu.org>
14094
14095 * startup.el (mail-host-address): Doc fix.
14096
14097 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14098
14099 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14100 than 197 variables.
14101
14102 2012-03-26 Ami Fischman <ami@fischman.org>
14103
14104 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14105
14106 2012-03-26 Glenn Morris <rgm@gnu.org>
14107
14108 * files.el (save-buffers-kill-emacs): Doc fix.
14109
14110 * startup.el (normal-top-level, command-line, command-line-1):
14111 Give them doc strings.
14112
14113 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14114
14115 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14116 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14117
14118 2012-03-25 Chong Yidong <cyd@gnu.org>
14119
14120 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14121 theme if it was previously enabled before (Bug#11031).
14122
14123 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14124 spec with custom-face-get-current-spec if its :shown-value is not
14125 determined yet (Bug#9337).
14126 (customize-create-theme, custom-theme-revert): Doc fixes.
14127
14128 * button.el (button-at): Minor addition to docstring.
14129
14130 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14131
14132 * vc/vc.el (vc-merge): Fix a prompt.
14133
14134 2012-03-24 Chong Yidong <cyd@gnu.org>
14135
14136 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14137 point (Bug#9623).
14138
14139 * button.el (button-at): Minor addition to docstring.
14140
14141 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * newcomment.el (comment-choose-indent): No space after BOL.
14144
14145 2012-03-22 Sam Steingold <sds@gnu.org>
14146
14147 * window.el (switch-to-prev-buffer): Revert last patch because the
14148 bug turned out to be an advertised feature (Elisp manual 28.14).
14149
14150 2012-03-22 Glenn Morris <rgm@gnu.org>
14151
14152 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14153 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14154
14155 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14156
14157 * net/network-stream.el (network-stream-open-starttls): Make error
14158 message under Windows be less misleading.
14159
14160 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14161
14162 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14163 understands (bug#9942).
14164
14165 2012-03-22 Chong Yidong <cyd@gnu.org>
14166
14167 * simple.el (end-of-visible-line): Handle return value of
14168 next-single-property-change properly (Bug#9371).
14169
14170 2012-03-22 Kenichi Handa <handa@m17n.org>
14171
14172 * international/quail.el (quail-insert-kbd-layout): Fix previous
14173 change. To avoid unwanted bidi reordering, use
14174 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14175
14176 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14177
14178 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14179 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14180 (ruby-beginning-of-indent): Be more careful with the difference
14181 between word-boundary and symbol boundary.
14182 (ruby-mode-syntax-table): Make : a symbol constituent.
14183
14184 2012-03-21 Andreas Politz <politza@fh-trier.de>
14185
14186 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14187
14188 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * progmodes/etags.el (tags-completion-at-point-function):
14191 Improve last fix.
14192
14193 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14194
14195 2012-03-21 Sam Steingold <sds@gnu.org>
14196
14197 * progmodes/etags.el (tags-completion-at-point-function):
14198 Avoid the error when point is inside the pattern.
14199
14200 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14201
14202 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14203 line (Bug#10855).
14204
14205 2012-03-21 Drew Adams <drew.adams@oracle.com>
14206
14207 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14208
14209 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14210
14211 * ido.el (ido-set-current-directory, ido-read-internal)
14212 (ido-choose-completion-string, ido-completion-help): Handle nil
14213 value of ido-completion-buffer (Bug#11008).
14214
14215 2012-03-21 Sam Steingold <sds@gnu.org>
14216
14217 * window.el (switch-to-prev-buffer): Do not switch to a visible
14218 window previous buffer, just like with the frame previous buffers.
14219
14220 2012-03-21 Chong Yidong <cyd@gnu.org>
14221
14222 * faces.el (make-face, make-empty-face, copy-face):
14223 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14224 Doc fixes.
14225
14226 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14229 (widget-complete): Remove broken use of it.
14230
14231 2012-03-20 Chong Yidong <cyd@gnu.org>
14232
14233 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14234 Use string-width and truncate-string-width to handle arbitrary
14235 characters.
14236
14237 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14238
14239 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14240 to draw rectangles, not squares. (Regression introduced by revno
14241 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14242
14243 2012-03-18 Chong Yidong <cyd@gnu.org>
14244
14245 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14246 it is not yet defined (for temacs).
14247
14248 2012-03-18 Leo Liu <sdl.web@gmail.com>
14249
14250 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14251 prefix.
14252
14253 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14254
14255 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14256 (ispell-choices-win-default-height, ispell-silently-savep)
14257 (ispell-dictionary-alist, ispell-encoding8-command)
14258 (ispell-check-version, ispell-aspell-find-dictionary)
14259 (ispell-valid-dictionary-list, ispell-words-keyword)
14260 (ispell-get-word, ispell-internal-change-dictionary)
14261 (ispell-region, ispell-skip-region-list)
14262 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14263 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14264 (ispell-message-text-end, ispell-message)
14265 (ispell-buffer-local-parsing): Doc fix.
14266
14267 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14268
14269 * htmlfontify.el: Add support for code block fontification for ODT
14270 export (Bug #9914).
14271 (hfy-optimisations): Define new option
14272 `body-text-only'
14273 (hfy-fontify-buffer): Honor above setting.
14274 (hfy-begin-span, hfy-end-span): New routines factored out form
14275 `hfy-fontify-buffer'.
14276 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14277 that permit insertion of custom tags.
14278 (hfy-fontify-buffer): Use above handlers.
14279 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14280 (hfy-face-to-css): Re-defined to be a variable.
14281 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14282 over multiple runs. This is made possible by having the caller let
14283 bind a special variable `hfy-user-sheet-assoc'.
14284 (htmlfontify-string): New defun.
14285 (hfy-compile-face-map): Make sure that the last char in the
14286 buffer is correctly fontified.
14287 (hfy-face-resolve-face): Whitespace only change.
14288
14289 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14290
14291 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14292 message more clear.
14293
14294 2012-03-16 Leo Liu <sdl.web@gmail.com>
14295
14296 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14297
14298 2012-03-16 Alan Mackenzie <acm@muc.de>
14299
14300 Further optimize the handling of large macros.
14301
14302 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14303 limit to a call of `c-literal-limits'.
14304 (c-determine-+ve-limit): New function.
14305 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14306 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14307 In CASE 5B, restrict a search limit to 500.
14308 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14309
14310 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14311 Restrict macro bounds to +-500 from after-change's BEG END.
14312
14313 2012-03-16 Leo Liu <sdl.web@gmail.com>
14314
14315 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14316
14317 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14318
14319 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14320 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14321
14322 2012-03-16 Glenn Morris <rgm@gnu.org>
14323
14324 * view.el (view-buffer, view-buffer-other-window)
14325 (view-buffer-other-frame): Doc fixes re special mode-class.
14326
14327 * subr.el (eval-after-load): If named feature is provided not from
14328 a file, run after-load forms. (Bug#10946)
14329
14330 * calendar/calendar.el (calendar-insert-at-column):
14331 Handle non-unit-width characters a bit better. (Bug#10978)
14332
14333 2012-03-15 Chong Yidong <cyd@gnu.org>
14334
14335 * emacs-lisp/ring.el (ring-extend): New function.
14336 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14337
14338 * comint.el (comint-read-input-ring)
14339 (comint-add-to-input-history): Grow comint-input-ring lazily.
14340
14341 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14342
14343 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14344 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14345
14346 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14347 (imenu-add-to-menubar): Don't add a redundant index.
14348 (imenu-update-menubar): Handle a dynamically composed keymap.
14349
14350 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14351
14352 * mail/sendmail.el (mail-encode-header):
14353 Bind rfc2047-encode-encoded-words to nil.
14354
14355 2012-03-13 Glenn Morris <rgm@gnu.org>
14356
14357 * calendar/calendar.el (calendar-string-spread):
14358 Handle non-unit-width characters a bit better. (Bug#10978)
14359
14360 2012-03-13 Leo Liu <sdl.web@gmail.com>
14361
14362 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14363 directory and file as argument (Bug#10822).
14364
14365 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14366
14367 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14368 For dynamically generated code, follow $PC.
14369 (gdb-disassembly-handler-custom): Handle no function name case.
14370
14371 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14372
14373 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14374 * emulation/ws-mode.el (ws-query-replace):
14375 * sort.el (sort-regexp-fields):
14376 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14377
14378 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14379
14380 * dabbrev.el: Fix cycle completion order (bug#10963).
14381 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14382 (dabbrev-completion): Don't use an obarray; provide
14383 a cycle-sort-function.
14384
14385 2012-03-12 Leo Liu <sdl.web@gmail.com>
14386
14387 * simple.el (kill-new): Use equal-including-properties for comparison.
14388 (kill-do-not-save-duplicates): Doc fix.
14389
14390 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14391
14392 * dabbrev.el: Fix cycle completion (bug#10963).
14393 Use lexical binding and wrap to 80 columns.
14394 (dabbrev-completion): Delay computing the list of completions.
14395
14396 2012-03-12 Kenichi Handa <handa@m17n.org>
14397
14398 * international/quail.el (quail-insert-kbd-layout): Surround each
14399 row by LRO and PDF instead of inserting many LRMs. Pad the left
14400 and right of each non-spacing marks. Insert invisible space
14401 between lower and upper characters to prevent composition.
14402
14403 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * minibuffer.el (minibuffer-complete): Don't get confused when the
14406 function is run twice via different commands (bug#10958).
14407 (complete-with-action): Fix docstring.
14408
14409 2012-03-12 Chong Yidong <cyd@gnu.org>
14410
14411 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14412 (nxml-completion-at-point-function): New function.
14413 (nxml-mode): Use it.
14414 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14415
14416 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14417 Load generated autoloads file before byte compiling (Bug#10970).
14418 (package--make-autoloads-and-compile): New helper fun.
14419
14420 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14421
14422 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14423
14424 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14425
14426 * autorevert.el (auto-revert-handler): Ensure, that
14427 file-readable-p is applied only for local files or in
14428 auto-revert-tail-mode.
14429
14430 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14431
14432 * server.el (server-eval-at): Handle non-tcp connections.
14433 Decode result string.
14434
14435 * server.el (server-msg-size): New constant.
14436 (server-reply-print): New function.
14437 (server-eval-and-print): Use it.
14438 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14439 Handle -print-nonl.
14440
14441 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14442
14443 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14444 (Bug#10987).
14445
14446 2012-03-11 Chong Yidong <cyd@gnu.org>
14447
14448 * simple.el (goto-line): Doc fix (Bug#9938).
14449
14450 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14451
14452 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14453 when finished (Bug#10963).
14454
14455 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14456
14457 * window.el (split-window-below): Fix bug in case where
14458 split-window-keep-point is nil (Bug#10971).
14459
14460 2012-03-11 Juri Linkov <juri@jurta.org>
14461
14462 * replace.el (replace-highlight): Set isearch-word to nil
14463 unconditionally. (Bug#10887)
14464
14465 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14466
14467 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14468 mairix-replace-illegal-chars; all callers changed. Don't remove
14469 ^, ~, and = characters: they are meaningful in mairix search specs.
14470 (mairix-widget-create-query): Add usage information about mairix
14471 search forms: negating words, searching for substrings, etc.
14472
14473 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14474
14475 * international/fontset.el (font-encoding-alist): Add an entry for
14476 ksx1001 (Bug#5667).
14477
14478 2012-03-10 Richard Stallman <rms@gnu.org>
14479
14480 * mail/sendmail.el (mail-encode-header):
14481 Set rfc2047-encode-encoded-words.
14482
14483 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14484
14485 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14486 view buffer means not swapped.
14487 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14488 (rmail-write-region-annotate): Error if real text has disappeared.
14489
14490 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14491
14492 2012-03-10 Chong Yidong <cyd@gnu.org>
14493
14494 * emulation/cua-rect.el (cua--init-rectangles):
14495 * emulation/cua-base.el (cua--init-keymaps):
14496 Add delete-forward-char to remappings (Bug#9666).
14497
14498 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14499
14500 * speedbar.el (speedbar-unhighlight-one-tag-line):
14501 Avoid unhighlighting due to frame switching (Bug#10275).
14502
14503 2012-03-10 Chong Yidong <cyd@gnu.org>
14504
14505 * minibuffer.el (completion-in-region, completion-help-at-point):
14506 Give the completion field overlay a high priority (Bug#6830).
14507
14508 * dired.el (dired-goto-file): Recognize absolute file name
14509 listings (Bug#7126).
14510 (dired-goto-file-1): New helper function.
14511 (dired-toggle-read-only): Inhibit warnings.
14512
14513 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14514
14515 * net/dbus.el (dbus-property-handler): Return empty array if
14516 there are no properties.
14517
14518 2012-03-09 Leo Liu <sdl.web@gmail.com>
14519
14520 * savehist.el (savehist-printable): Stricter check for string
14521 value (Bug#10937).
14522
14523 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14524
14525 * mail/smtpmail.el (smtpmail-send-it):
14526 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14527 valid mbox format.
14528
14529 2012-03-09 Glenn Morris <rgm@gnu.org>
14530
14531 * files.el (dir-locals-find-file):
14532 Don't check result is regular, readable.
14533 (dir-locals-read-from-file): Demote errors.
14534
14535 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14536
14537 * international/quail.el (quail-insert-kbd-layout):
14538 Insert invisible LRM characters before each character in a keyboard
14539 layout cell, to prevent their reordering by bidi display engine.
14540 For details, see the discussion in
14541 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14542
14543 2012-03-08 Alan Mackenzie <acm@muc.de>
14544
14545 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14546 the starting position; make it extend the marked region when
14547 invoked repeatedly - all under appropriate circumstances.
14548 Fixes bugs #5525, #10906.
14549
14550 2012-03-08 Glenn Morris <rgm@gnu.org>
14551
14552 * files.el (locate-dominating-file, dir-locals-find-file):
14553 Undo 2012-03-06 change.
14554
14555 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14556
14557 * international/quail.el (quail-help):
14558 Force bidi-paragraph-direction be left-to-right. See discussion in
14559 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14560 for the reason.
14561
14562 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14563
14564 Avoid superfluous registering of signals. (Bug#10807)
14565
14566 * notifications.el (notifications-on-action-object)
14567 (notifications-on-close-object): New defvars.
14568 (notifications-on-action-signal, notifications-on-closed-signal):
14569 Unregister the signal if not needed any longer.
14570 (notifications-notify): Register `notifications-action-signal' or
14571 `notifications-closed-signal', if :on-action or :on-close has been
14572 passed as argument.
14573
14574 2012-03-07 Chong Yidong <cyd@gnu.org>
14575
14576 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14577 non-X platforms.
14578
14579 2012-03-06 Glenn Morris <rgm@gnu.org>
14580
14581 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14582 (x-disown-selection-internal, x-get-selection-internal):
14583 Doc fix (add arglist signatures). (Bug#10783)
14584
14585 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14586
14587 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14588 Handle breakpoints with no "type".
14589
14590 2012-03-06 Glenn Morris <rgm@gnu.org>
14591
14592 * files.el (locate-dominating-file): Add optional predicate argument.
14593 (dir-locals-find-file): Make use of above change.
14594
14595 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14596
14597 * info.el (Info-insert-dir): Also try "dir.gz".
14598
14599 2012-03-06 Glenn Morris <rgm@gnu.org>
14600
14601 * files.el (dir-locals-find-file):
14602 Ignore non-readable or non-regular files. (Bug#10928)
14603
14604 * files.el (locate-dominating-file): Doc fix.
14605
14606 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14607
14608 * calendar/calendar.el (calendar-set-mode-line):
14609 `getenv' returns a string. (Bug#10951)
14610
14611 2012-03-05 Leo Liu <sdl.web@gmail.com>
14612
14613 * simple.el (backward-delete-char-untabify): Constrain point to
14614 field (Bug#10939).
14615
14616 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14617
14618 2012-03-05 Chong Yidong <cyd@gnu.org>
14619
14620 * simple.el (count-words): If called from Lisp, return the word
14621 count, for symmetry with `count-lines'. Arglist changed.
14622 (count-words--message): Args changed. Consolidate counting code
14623 from count-words and count-words-region.
14624 (count-words-region): Caller changed.
14625 (count-lines-region): Make it an obsolete alias.
14626
14627 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14628
14629 * saveplace.el (save-place-to-alist)
14630 (save-place-ignore-files-regexp): Allow value nil to disable this
14631 feature.
14632
14633 2012-03-04 Chong Yidong <cyd@gnu.org>
14634
14635 * faces.el (face-spec-reset-face): For the default face, reset the
14636 attributes to default values (Bug#10748).
14637
14638 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14639
14640 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14641 previous patch: Check `message-send-mail-function', and not the
14642 default function (bug#10897).
14643
14644 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14645
14646 * notifications.el (notifications-on-action-signal)
14647 (notifications-on-closed-signal): Check for unique service name of
14648 incoming event. Fix error in removing entry.
14649 (top): Register for signals with wildcard service name.
14650 (notifications-notify): Use daemon unique service name for map entries.
14651
14652 2012-03-04 Chong Yidong <cyd@gnu.org>
14653
14654 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14655
14656 2012-03-04 Glenn Morris <rgm@gnu.org>
14657
14658 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14659 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14660 (expand-abbrev, define-abbrev-table): Doc fixes.
14661
14662 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14663
14664 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14665 `message-default-send-mail-function' and not `send-mail-function'
14666 when doing the prompting for `sendmail-query-once' before sending
14667 in Message buffers (bug#10897).
14668
14669 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14670 This is inconsistent with all the other stream functions, which leave
14671 the setting up to the higher levels (if so wanted) (bug#10931).
14672
14673 2012-03-02 Alan Mackenzie <acm@muc.de>
14674
14675 Depessimize the handling of very large macros.
14676
14677 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14678 (c-macro-cache-syntactic): New variables to implement a one
14679 element macro cache.
14680 (c-invalidate-macro-cache): New function.
14681 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14682 Adapt to use the new cache.
14683 (c-state-safe-place): Use better the cache of safe positions.
14684 (c-state-semi-nonlit-pos-cache)
14685 (c-state-semi-nonlit-pos-cache-limit):
14686 New variables for...
14687 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14688 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14689 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14690 Use c-state-semi-safe-place.
14691
14692 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14693 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14694
14695 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14696
14697 * jka-compr.el (jka-compr-call-process):
14698 Apply `file-accessible-directory-p' only when the default directory is
14699 not remote.
14700
14701 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14702
14703 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14704 access of FILE2, if FILE1 does not exist.
14705
14706 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14707 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14708
14709 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14710 Add "PAGER=" to `process-environment'.
14711
14712 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14713
14714 * progmodes/sql.el: Bug fix
14715 (sql-get-login-ext): Save login values in globals.
14716 (sql-get-login): Use new version of `sql-get-login-ext'.
14717 (sql-interactive-mode): Set global `sql-connection' to nil.
14718 (sql-connect): Set global values for connection.
14719 (sql-product-interactive): Save global values as buffer local.
14720
14721 2012-02-29 Leo Liu <sdl.web@gmail.com>
14722
14723 * abbrev.el (define-abbrevs): Reset sys to nil.
14724
14725 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14726
14727 * files.el (file-equal-p): Rename from `files-equal-p'.
14728 Return nil when one or both files don't exist.
14729 (file-subdir-of-p): Now only top directory must exists,
14730 return nil if it doesn't.
14731 (copy-directory): No need to test with `file-subdir-of-p' after
14732 creating dir.
14733 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14734 to `file-equal-p'.
14735
14736 2012-02-28 Glenn Morris <rgm@gnu.org>
14737
14738 * shell.el (shell-mode):
14739 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14740 * play/landmark.el (landmark-font-lock-face-O):
14741 * play/handwrite.el (handwrite):
14742 * play/gomoku.el (gomoku-O):
14743 * net/browse-url.el (browse-url-browser-display):
14744 * international/mule.el (define-charset):
14745 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14746 * filesets.el (filesets-find-file-delay):
14747 * eshell/em-xtra.el (eshell-xtra):
14748 * eshell/em-unix.el (eshell-grep):
14749 * emulation/viper.el (viper-mode):
14750 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14751 * emacs-lisp/easymenu.el (easy-menu-define):
14752 * calendar/timeclock.el (timeclock-use-display-time):
14753 * bs.el (bs-mode):
14754 * bookmark.el (bookmark-save-flag):
14755 Doc fix (standardize possessive apostrophe usage).
14756
14757 2012-02-27 Chong Yidong <cyd@gnu.org>
14758
14759 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14760 Fix key-binding lookup for ESC key (Bug#9146).
14761
14762 * font-lock.el (font-lock-specified-p): Rename from
14763 font-lock-spec-present. Callers changed.
14764
14765 2012-02-27 Daniel Hackney <dan@haxney.org>
14766
14767 * emacs-lisp/package.el (package-compute-transaction):
14768 Handle holding a package version to t in package-load-list.
14769
14770 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14771
14772 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14773 (tramp-get-inode, tramp-get-device): Use cached values.
14774
14775 2012-02-26 Alan Mackenzie <acm@muc.de>
14776
14777 Check there is a font-lock specification before doing initial
14778 fontification.
14779
14780 * font-core.el (font-lock-mode): Move the conditional from
14781 :after-hook to font-lock-initial-fontify.
14782 (font-lock-default-function): Move the check for a specification
14783 to font-lock-spec-present.
14784
14785 * font-lock.el (font-lock-initial-fontify): Call ...
14786 (font-lock-spec-present): New function.
14787
14788 2012-02-26 Jim Blandy <jimb@red-bean.com>
14789
14790 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14791 (gdb-send): Apply it to the operand of the '-interpreter-exec
14792 console' command, so that we can pass arguments with (say) quotes
14793 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14794
14795 2012-02-26 Chong Yidong <cyd@gnu.org>
14796
14797 * help-fns.el (describe-function-1): Clarify description of
14798 remapping (Bug#10844).
14799
14800 * files.el (files-equal-p): Doc fix.
14801 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14802 and quit the loop once a mismatch is found.
14803
14804 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14805
14806 * bs.el (bs--show-with-configuration): Don't throw an error
14807 if the window cannot be split; otherwise, subsequent calls to
14808 bs-show fail, restoring a stale window config. (Bug#10882)
14809
14810 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14811
14812 * term/ns-win.el (global-map): Bind ns-drag-file to
14813 ns-find-file (Bug#5855, Bug#10050).
14814
14815 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14816
14817 * calendar/parse-time.el (parse-time-string): Allow extractor to
14818 return nil.
14819
14820 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14821
14822 * net/tramp.el (tramp-file-name-for-operation):
14823 Add `files-equal-p' and `file-subdir-of-p'.
14824
14825 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14826 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14827 Add COPY-CONTENTS argument.
14828
14829 2012-02-25 Chong Yidong <cyd@gnu.org>
14830
14831 Add custom groups for VC backends, for consistency with vc-bzr.
14832
14833 * vc/vc-arch.el (vc-arch):
14834 * vc/vc-cvs.el (vc-cvs):
14835 * vc/vc-git.el (vc-git):
14836 * vc/vc-hg.el (vc-hg):
14837 * vc/vc-mtn.el (vc-mtn):
14838 * vc/vc-rcs.el (vc-rcs):
14839 * vc/vc-sccs.el (vc-sccs):
14840 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14841 All relevant defcustoms reassigned.
14842
14843 2012-02-25 Chong Yidong <cyd@gnu.org>
14844
14845 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14846
14847 * term/x-win.el (x-initialize-window-system): Reduce default for
14848 x-selection-timeout to 5 seconds (Bug#8869).
14849
14850 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14851
14852 * files.el (files-equal-p, file-subdir-of-p): New functions.
14853 (copy-directory): Error when trying to copy a directory on itself.
14854 Add missing copy-contents arg to tramp handler.
14855 * dired-aux.el (dired-copy-file-recursive): Same.
14856 (dired-create-files): Modify destination when source is equal to
14857 dest when copying files.
14858 Return also when dest is a subdir of source. (Bug#10489)
14859
14860 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14861
14862 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14863 (Bug#10874)
14864
14865 2012-02-23 Alan Mackenzie <acm@muc.de>
14866
14867 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14868 parameter "after-hook:" to allow the expansion to run code after
14869 the execution of the mode hooks.
14870
14871 * font-lock.el (font-lock-initial-fontify): New function extracted
14872 from font-lock-mode-internal.
14873
14874 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14875 :after-hook.
14876
14877 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14878
14879 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14880 (completion--cache-all-sorted-completions): New function.
14881 (completion-all-sorted-completions): Use it.
14882 (completion--do-completion, minibuffer-force-complete):
14883 Use it to re-instate the flush hook.
14884
14885 * icomplete.el (icomplete-completions): Replace last fix with a better
14886 one (bug#10850).
14887
14888 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14889
14890 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14891 when it might call us back infinitely (bug#10797).
14892
14893 2012-02-23 Glenn Morris <rgm@gnu.org>
14894
14895 * minibuffer.el (completion-category-overrides): Doc fix.
14896
14897 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14900 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14901
14902 2012-02-23 Glenn Morris <rgm@gnu.org>
14903
14904 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14905 (authors-obsolete-files-regexps, authors-ignored-files)
14906 (authors-ambiguous-files, authors-renamed-files-alist):
14907 Add more entries.
14908
14909 2012-02-23 Juri Linkov <juri@jurta.org>
14910
14911 * isearch.el (isearch-occur): Sync interactive spec with occur's
14912 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14913
14914 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14915
14916 2012-02-22 Juri Linkov <juri@jurta.org>
14917
14918 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14919 (ucs-insert): Doc fix. Check for hex digits in the string.
14920 Don't display `nil' in the error message. (Bug#10857)
14921
14922 2012-02-22 Alan Mackenzie <acm@muc.de>
14923
14924 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14925
14926 2012-02-22 Glenn Morris <rgm@gnu.org>
14927
14928 * ffap.el (ffap-c-path):
14929 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14930
14931 2012-02-22 Chong Yidong <cyd@gnu.org>
14932
14933 * custom.el (load-theme): Doc fix.
14934
14935 2012-02-22 Glenn Morris <rgm@gnu.org>
14936
14937 * dired-x.el (dired-guess-shell-alist-default):
14938 Remove escape sequences from nroff output. (Bug#172)
14939
14940 2012-02-21 Glenn Morris <rgm@gnu.org>
14941
14942 * vc/emerge.el (emerge-defvar-local):
14943 Set `permanent-local' property rather than unused `preserved'.
14944
14945 * textmodes/picture.el (picture-delete-char): New alias.
14946 (picture-mode-map): Use it. (Bug#10860)
14947 (picture-mode): Doc fix.
14948
14949 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14950
14951 * newcomment.el (uncomment-region-default): Remove unused binding.
14952
14953 2012-02-21 Glenn Morris <rgm@gnu.org>
14954
14955 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14956 (picture-self-insert, picture-tab-chars): Doc fix.
14957 (picture-mode-map): Fix C-a, C-e.
14958
14959 2012-02-20 Glenn Morris <rgm@gnu.org>
14960
14961 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14962
14963 2012-02-20 Leo Liu <sdl.web@gmail.com>
14964
14965 * icomplete.el (icomplete-completions): Check FROM arg before
14966 passing to substring (Bug#10850).
14967
14968 2012-02-19 Chong Yidong <cyd@gnu.org>
14969
14970 * comint.el: Require ansi-color.
14971 (comint-output-filter-functions): Add ansi-color-process-output.
14972
14973 * ansi-color.el: Don't set comint-output-filter-functions; it is
14974 now in the initial value defined in comint.el.
14975 (ansi-color-apply-face-function): New variable.
14976 (ansi-color-apply-on-region): Use it.
14977 (ansi-color-apply-overlay-face): New function.
14978
14979 * shell.el (shell): No need to require ansi-color.
14980 (shell-mode): Use ansi-color-apply-face-function to highlight
14981 color escapes using font-lock-face property (Bug#10835).
14982
14983 2012-02-19 Chong Yidong <cyd@gnu.org>
14984
14985 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14986 mode-line formats (Bug#10839).
14987
14988 2012-02-18 Glenn Morris <rgm@gnu.org>
14989
14990 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14991
14992 * mail/undigest.el (unforward-rmail-message): Doc fix.
14993
14994 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14995
14996 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14997
14998 * international/characters.el (script-list): Sync with the latest
14999 Unicode Character Database.
15000
15001 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15002
15003 * international/titdic-cnv.el: Remove duplicate coding tag.
15004 * language/cham.el: Likewise.
15005 * language/tai-viet.el: Likewise.
15006
15007 2012-02-18 Glenn Morris <rgm@gnu.org>
15008
15009 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15010 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15011 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15012 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15013 * calendar/holidays.el (holiday-bahai-holidays)
15014 (calendar-holidays, list-holidays):
15015 Use utf-8 Bahá'í in doc-strings, menus, etc.
15016
15017 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15018
15019 * saveplace.el (save-place-ignore-files-regexp): New variable
15020 allowing for excluding files from saving their location of point.
15021 The default value matches the temporary commit message editing
15022 files from Git, SVN, Bazaar, and Mercurial.
15023 (save-place-to-alist): Use it.
15024
15025 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15026 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * newcomment.el (uncomment-region-default): Don't leave extra space
15029 when an arg is provided (bug#8150).
15030
15031 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15032
15033 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15034
15035 2012-02-17 Glenn Morris <rgm@gnu.org>
15036
15037 * net/socks.el: Require network-stream. (Bug#10599)
15038
15039 2012-02-17 Kenichi Handa <handa@m17n.org>
15040
15041 * international/charprop.el:
15042 * international/uni-name.el:
15043 * international/uni-old-name.el:
15044 * international/uni-comment.el: Regenerate.
15045
15046 2012-02-16 Glenn Morris <rgm@gnu.org>
15047
15048 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15049 Interactively in calendar buffer, give an error if not on a date.
15050
15051 2012-02-15 Glenn Morris <rgm@gnu.org>
15052
15053 * shell.el (shell-delimiter-argument-list):
15054 Revert 2011-02-17 change. (Bug#8027)
15055
15056 2012-02-15 Chong Yidong <cyd@gnu.org>
15057
15058 * minibuffer.el (completion-at-point-functions): Doc fix.
15059
15060 * custom.el (defcustom): Doc fix; note use of defvar.
15061
15062 2012-02-15 Glenn Morris <rgm@gnu.org>
15063
15064 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15065 Doc fixes.
15066
15067 2012-02-14 Glenn Morris <rgm@gnu.org>
15068
15069 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15070
15071 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15072
15073 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15074 way the ports list is computed.
15075 (smtpmail-query-smtp-server): Prompt the user for a port number if
15076 we can't connect to any of the standard ports (bug#10810).
15077
15078 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15079
15080 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15081
15082 2012-02-13 Glenn Morris <rgm@gnu.org>
15083
15084 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15085
15086 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15087
15088 * net/gnutls.el (gnutls-trustfiles): New variable.
15089 (gnutls-negotiate): Use it.
15090
15091 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15092
15093 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15094 does its stuff if Gnus is running.
15095
15096 2012-02-13 Alan Mackenzie <acm@muc.de>
15097
15098 Fix a loop in c-set-fl-decl-start.
15099
15100 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15101 c-backward-syntactic-ws actually moves backwards.
15102
15103 2012-02-13 Leo Liu <sdl.web@gmail.com>
15104
15105 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15106 beginning so that all \C-o chars are removed.
15107
15108 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15109
15110 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15111
15112 2012-02-12 Alan Mackenzie <acm@muc.de>
15113
15114 Fix infinite loop with long macros.
15115 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15116
15117 2012-02-12 Chong Yidong <cyd@gnu.org>
15118
15119 * window.el (display-buffer): Doc fix (Bug#10785).
15120
15121 2012-02-12 Glenn Morris <rgm@gnu.org>
15122
15123 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15124 (x-disown-selection-internal, x-get-selection-internal):
15125 Sync docs with the xselect.c versions.
15126
15127 * allout-widgets.el: Add missing license notice.
15128
15129 2012-02-11 Glenn Morris <rgm@gnu.org>
15130
15131 * select.el (x-get-selection-internal, x-own-selection-internal)
15132 (x-disown-selection-internal):
15133 * x-dnd.el (x-get-selection-internal): Update declarations.
15134
15135 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15136
15137 * window.el (window-sides-slots):
15138 * tool-bar.el (tool-bar-position):
15139 * term/xterm.el (xterm-extra-capabilities):
15140 * ses.el (ses-self-reference-early-detection):
15141 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15142 (verilog-auto-wire-type)
15143 (verilog-auto-delete-trailing-whitespace)
15144 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15145 (verilog-auto-tieoff-declaration):
15146 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15147 (sql-oracle-statement-starters, sql-oracle-scan-on):
15148 * progmodes/prolog.el (prolog-align-comments-flag)
15149 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15150 (prolog-left-indent-regexp, prolog-paren-indent-p)
15151 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15152 (prolog-types, prolog-mode-specificators)
15153 (prolog-determinism-specificators, prolog-directives)
15154 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15155 (prolog-electric-dot-flag)
15156 (prolog-electric-dot-full-predicate-template)
15157 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15158 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15159 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15160 (prolog-program-switches, prolog-prompt-regexp)
15161 (prolog-debug-on-string, prolog-debug-off-string)
15162 (prolog-trace-on-string, prolog-trace-off-string)
15163 (prolog-zip-on-string, prolog-zip-off-string)
15164 (prolog-use-standard-consult-compile-method-flag)
15165 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15166 (prolog-imenu-max-lines, prolog-info-predicate-index)
15167 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15168 (prolog-char-quote-workaround):
15169 * progmodes/cc-vars.el (c-defun-tactic):
15170 * net/tramp.el (tramp-encoding-command-interactive)
15171 (tramp-local-end-of-line):
15172 * net/soap-client.el (soap-client):
15173 * net/netrc.el (netrc-file):
15174 * net/gnutls.el (gnutls):
15175 * minibuffer.el (completion-category-overrides)
15176 (completion-cycle-threshold)
15177 (completion-pcm-complete-word-inserts-delimiters):
15178 * man.el (Man-name-local-regexp):
15179 * mail/feedmail.el (feedmail-display-full-frame):
15180 * international/characters.el (glyphless-char-display-control):
15181 * eshell/em-ls.el (eshell-ls-date-format):
15182 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15183 (lisp-lambda-list-keyword-parameter-indentation)
15184 (lisp-lambda-list-keyword-parameter-alignment):
15185 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15186 * dired-x.el (dired-omit-verbose):
15187 * cus-theme.el (custom-theme-allow-multiple-selections):
15188 * calc/calc.el (calc-highlight-selections-with-faces)
15189 (calc-lu-field-reference, calc-lu-power-reference)
15190 (calc-note-threshold):
15191 * battery.el (battery-mode-line-limit):
15192 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15193 (archive-7z-update):
15194 * allout.el (allout-prefixed-keybindings)
15195 (allout-unprefixed-keybindings)
15196 (allout-inhibit-auto-fill-on-headline)
15197 (allout-flattened-numbering-abbreviation):
15198 * allout-widgets.el (allout-widgets-auto-activation)
15199 (allout-widgets-icons-dark-subdir)
15200 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15201 (allout-widgets-theme-dark-background)
15202 (allout-widgets-theme-light-background)
15203 (allout-widgets-item-image-properties-emacs)
15204 (allout-widgets-item-image-properties-xemacs)
15205 (allout-widgets-run-unit-tests-on-load)
15206 (allout-widgets-time-decoration-activity)
15207 (allout-widgets-hook-error-post-time)
15208 (allout-widgets-track-decoration):
15209 Add missing :version tags to new defcustoms and defgroups.
15210
15211 * progmodes/sql.el (sql-ansi-statement-starters)
15212 (sql-oracle-statement-starters): Add custom type.
15213
15214 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15215 (prolog-system-version): Give it a type.
15216
15217 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15218
15219 * term/pc-win.el (x-select-text, x-selection-owner-p)
15220 (x-own-selection-internal, x-disown-selection-internal)
15221 (x-get-selection-internal): Sync doc strings and argument lists
15222 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15223
15224 2012-02-11 Leo Liu <sdl.web@gmail.com>
15225
15226 * progmodes/python.el (python-end-of-statement): Fix infinite
15227 loop. (Bug#10788)
15228
15229 2012-02-10 Glenn Morris <rgm@gnu.org>
15230
15231 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15232 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15233
15234 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15235
15236 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15237 about SMTP before checking the From header.
15238
15239 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15240 into own function for reuse by emacsbug.el.
15241
15242 2012-02-10 Leo Liu <sdl.web@gmail.com>
15243
15244 * subr.el (condition-case-unless-debug): Rename from
15245 condition-case-no-debug. All callers changed.
15246 (with-demoted-errors): Fix caller.
15247
15248 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15249 * nxml/rng-valid.el (rng-do-some-validation):
15250 * emacs-lisp/package.el (package-refresh-contents)
15251 (package-menu-execute):
15252 * desktop.el (desktop-create-buffer):
15253 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15254
15255 2012-02-10 Glenn Morris <rgm@gnu.org>
15256
15257 * textmodes/bibtex.el:
15258 Add missing :version tags for new/changed defcustoms.
15259
15260 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15261
15262 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15263
15264 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15265 (smtpmail-via-smtp): Use it, or fall back on the From address.
15266 (smtpmail-send-it): Ditto.
15267
15268 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15269
15270 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15271 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15272 (byte-compile-tmp-var): New const.
15273 (byte-compile-defvar): Use it to minimize .elc size.
15274 Just use `defvar' rather than simulate it (bug#10761).
15275
15276 2012-02-09 Glenn Morris <rgm@gnu.org>
15277
15278 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15279
15280 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15281 Add :version tags.
15282
15283 * progmodes/compile.el (compilation-error-screen-columns)
15284 (compilation-first-column, compilation-filter-start): Doc fixes.
15285
15286 * vc/log-view.el (log-view-toggle-entry-display):
15287 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15288
15289 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15290 (report-emacs-bug-can-use-xdg-email):
15291 (report-emacs-bug-insert-to-mailer): Doc fixes.
15292 (report-emacs-bug): Message fix.
15293
15294 * net/browse-url.el (browse-url-can-use-xdg-open)
15295 (browse-url-xdg-open): Doc fixes.
15296
15297 * electric.el (electric-indent-mode, electric-pair-mode)
15298 (electric-layout-rules, electric-layout-mode): Doc fixes.
15299 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15300
15301 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15302
15303 * server.el (server-unselect-display): Don't inadvertently kill
15304 the current buffer. (Bug#10729)
15305
15306 2012-02-08 Glenn Morris <rgm@gnu.org>
15307
15308 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15309 (sql-list-table): Doc fixes.
15310
15311 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15312 Comment out (does nothing).
15313
15314 * completion.el (dynamic-completion-mode):
15315 * dirtrack.el (dirtrack-debug-mode):
15316 * electric.el (electric-layout-mode):
15317 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15318 * face-remap.el (text-scale-mode, buffer-face-mode):
15319 * iimage.el (iimage-mode):
15320 * image-mode.el (image-transform-mode):
15321 * minibuffer.el (completion-in-region-mode):
15322 * scroll-lock.el (scroll-lock-mode):
15323 * simple.el (next-error-follow-minor-mode):
15324 * tar-mode.el (tar-subfile-mode):
15325 * tooltip.el (tooltip-mode):
15326 * vcursor.el (vcursor-use-vcursor-map):
15327 * wid-browse.el (widget-minor-mode):
15328 * emulation/tpu-edt.el (tpu-edt-mode):
15329 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15330 * international/iso-ascii.el (iso-ascii-mode):
15331 * language/thai-util.el (thai-word-mode):
15332 * mail/supercite.el (sc-minor-mode):
15333 * net/goto-addr.el (goto-address-mode):
15334 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15335 * progmodes/cwarn.el (cwarn-mode):
15336 * progmodes/flymake.el (flymake-mode):
15337 * progmodes/glasses.el (glasses-mode):
15338 * progmodes/hideshow.el (hs-minor-mode):
15339 * progmodes/pascal.el (pascal-outline-mode):
15340 * textmodes/enriched.el (enriched-mode):
15341 * vc/smerge-mode.el (smerge-mode):
15342 Doc fixes (minor mode argument).
15343
15344 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15345
15346 * ls-lisp.el (ls-lisp-sanitize): New function.
15347 (ls-lisp-insert-directory): Use it to fix or remove any elements
15348 in file-alist with missing attributes. (Bug#4673)
15349
15350 2012-02-07 Alan Mackenzie <acm@muc.de>
15351
15352 Fix spurious recognition of c-in-knr-argdecl.
15353
15354 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15355 putative K&R region.
15356
15357 2012-02-07 Alan Mackenzie <acm@muc.de>
15358
15359 * progmodes/cc-engine.el (c-forward-objc-directive):
15360 Prevent looping in "#pragma mark @implementation".
15361
15362 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15363
15364 * notifications.el (notifications-on-closed-signal): Make `reason'
15365 optional. (Bug#10744)
15366
15367 2012-02-07 Glenn Morris <rgm@gnu.org>
15368
15369 * emacs-lisp/easy-mmode.el (define-minor-mode):
15370 Doc fixes for the macro and the mode it defines.
15371
15372 * image.el (imagemagick-types-inhibit): Doc fix.
15373
15374 * cus-start.el (imagemagick-render-type): Add it.
15375
15376 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15377
15378 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15379 Set the default at load time, too, so that `font-lock-fontify-buffer'
15380 can be called without setting up the entire mode first. This fixes
15381 a bug in `mm-inline-text' with C MIME parts.
15382
15383 2012-02-06 Chong Yidong <cyd@gnu.org>
15384
15385 * simple.el (list-processes--refresh): Delete exited processes
15386 (Bug#8094).
15387
15388 * comint.el (comint-next-prompt): next-single-char-property-change
15389 and prev-single-char-property-change never return nil (Bug#8657).
15390
15391 * custom.el (defcustom): Doc fix (Bug#9711).
15392
15393 2012-02-05 Chong Yidong <cyd@gnu.org>
15394
15395 * cus-edit.el (custom-variable-reset-backup): Quote the value
15396 before storing it in the customized-value property (Bug#6712).
15397 (custom-display): Add a customization type tag.
15398 (custom-buffer-create-internal): Improve tooltip message.
15399
15400 * wid-edit.el (widget-field-value-get): New optional arg to
15401 suppress trailing whitespace truncation.
15402 (character): Use it (Bug#2689).
15403
15404 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15405
15406 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15407 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15408
15409 2012-02-05 Chong Yidong <cyd@gnu.org>
15410
15411 * cus-edit.el (custom-variable-value-create): For mismatched
15412 types, show the current value (Bug#7600).
15413
15414 * custom.el (defcustom): Doc fix.
15415
15416 2012-02-05 Glenn Morris <rgm@gnu.org>
15417
15418 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15419
15420 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15421
15422 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15423 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15424 (pp-last-sexp): Use `looking-at-p'.
15425
15426 2012-02-04 Glenn Morris <rgm@gnu.org>
15427
15428 * files.el (revert-buffer):
15429 Doc fix (mention revert-buffer-in-progress-p).
15430
15431 * emacs-lisp/ert-x.el (ert-simulate-command):
15432 Check deferred-action-list (which is obsolete) is bound.
15433
15434 * subr.el (with-wrapper-hook): Doc fixes.
15435
15436 * simple.el (filter-buffer-substring-functions)
15437 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15438
15439 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15440
15441 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15442 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15443
15444 2012-02-04 Leo Liu <sdl.web@gmail.com>
15445
15446 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15447
15448 2012-02-04 Glenn Morris <rgm@gnu.org>
15449
15450 * image.el (image-extension-data): Add obsolete alias.
15451
15452 * isearch.el (isearch-update): Doc fix.
15453
15454 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15455
15456 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15457
15458 2012-02-03 Glenn Morris <rgm@gnu.org>
15459
15460 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15461 (image-animate-timeout): Doc fix.
15462
15463 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15464
15465 2012-02-02 Glenn Morris <rgm@gnu.org>
15466
15467 * server.el (server-auth-dir): Doc fix.
15468 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15469
15470 * subr.el (run-mode-hooks): Doc fix.
15471
15472 2012-02-02 Juri Linkov <juri@jurta.org>
15473
15474 * image-mode.el (image-toggle-display-image): Remove tautological
15475 `major-mode' from the `derived-mode-p' test.
15476
15477 2012-02-02 Kenichi Handa <handa@m17n.org>
15478
15479 * composite.el (compose-region): Cancel previous change.
15480
15481 2012-02-02 Kenichi Handa <handa@m17n.org>
15482
15483 * composite.el (compose-region, compose-string): Signal error for
15484 a null string component (Bug#6988).
15485
15486 2012-02-01 Chong Yidong <cyd@gnu.org>
15487
15488 * view.el (view-buffer-other-window, view-buffer-other-frame):
15489 Handle special modes like view-buffer (Bug#10650).
15490 (view-buffer): Simplify.
15491
15492 * frame.el (set-frame-font): Tweak meaning of third argument.
15493
15494 * dynamic-setting.el (font-setting-change-default-font):
15495 Use set-frame-font (Bug#9982).
15496
15497 2012-02-01 Glenn Morris <rgm@gnu.org>
15498
15499 * progmodes/compile.el (compilation-internal-error-properties):
15500 Respect compilation-first-column in the "*compilation*" buffer.
15501
15502 * emacs-lisp/easy-mmode.el (define-minor-mode):
15503 Relax :variable's test for a named function.
15504
15505 2012-01-31 Alan Mackenzie <acm@muc.de>
15506
15507 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15508 off by one error.
15509
15510 2012-01-31 Chong Yidong <cyd@gnu.org>
15511
15512 * frame.el (set-frame-font): New arg ALL-FRAMES.
15513
15514 * menu-bar.el (menu-set-font): Use set-frame-font.
15515
15516 * faces.el (face-spec-reset-face): Don't apply unspecified
15517 attribute values to the default face.
15518
15519 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15520
15521 * progmodes/cwarn.el (cwarn): Remove dead link.
15522 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15523 Remove * from defcustom docstrings.
15524 (turn-on-cwarn-mode): Make obsolete.
15525 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15526 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15527
15528 2012-01-31 Glenn Morris <rgm@gnu.org>
15529
15530 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15531 Fix :variable handling of mode a symbol not equal to modefun.
15532 Allow named functions to be used as the cdr of :variable.
15533
15534 2012-01-30 Glenn Morris <rgm@gnu.org>
15535
15536 * emacs-lisp/authors.el (authors-fixed-entries):
15537 Remove reference to deleted file rnewspost.el.
15538
15539 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15540
15541 * window.el (window-with-parameter): Remove unused variable `windows'.
15542 (window--side-check): Remove unused variable `code'.
15543 (window--resize-siblings): Remove unused variable `first'.
15544 (adjust-window-trailing-edge): Remove unused variable `failed'.
15545 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15546 Use `let', not `let*'.
15547 (balance-windows-2): Remove unused variable `found'.
15548 (window--state-put-2): Remove unused variable `splits'.
15549 (window-state-put): Remove unused variable `selected'.
15550 (same-window-p): Use `string-match-p'.
15551 (display-buffer-assq-regexp): Remove unused variable `value'.
15552 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15553 Mark argument ALIST as ignored.
15554 (pop-to-buffer): Remove unused variable `old-window'.
15555
15556 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15557
15558 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15559 and .lzma compressed files.
15560
15561 2012-01-29 Chong Yidong <cyd@gnu.org>
15562
15563 * frame.el (window-system-default-frame-alist): Doc fix.
15564
15565 * dynamic-setting.el (font-setting-change-default-font): Don't
15566 change the default face if SET-FONT argument is non-nil (Bug#9982).
15567
15568 2012-01-29 Samuel Bronson <naesten@gmail.com>
15569
15570 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15571
15572 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15573
15574 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15575 breakpoints in files outside current directory (Bug#6098).
15576
15577 2012-01-29 Chong Yidong <cyd@gnu.org>
15578
15579 * progmodes/python.el: Require ansi-color at top-level.
15580
15581 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15582 Define and use in Emacs Lisp mode (Bug#9360).
15583 (lisp-mode-abbrev-table): Add doc.
15584 (lisp-mode-variables): Don't set local-abbrev-table.
15585 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15586
15587 2012-01-28 Roland Winkler <winkler@gnu.org>
15588
15589 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15590
15591 2012-01-28 Roland Winkler <winkler@gnu.org>
15592
15593 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15594 (bibtex-set-dialect): Use it. Either set global values of
15595 dialect-dependent variables or bind these variables buffer-locally
15596 (Bug#10254).
15597 (bibtex-mode): Call bibtex-set-dialect via
15598 hack-local-variables-hook.
15599 (bibtex-dialect): Update docstring.
15600 Add safe-local-variable predicate.
15601 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15602 bibtex-set-dialect.
15603 (bibtex-mode-map): Define menu for each dialect.
15604 (bibtex-entry): Fix docstring.
15605
15606 2012-01-28 Chong Yidong <cyd@gnu.org>
15607
15608 * eshell/esh-arg.el (eshell-quote-argument): New function.
15609
15610 * eshell/esh-ext.el (eshell-invoke-batch-file):
15611 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15612 first arg to eshell-parse-command (Bug#10523).
15613
15614 2012-01-28 Drew Adams <drew.adams@oracle.com>
15615
15616 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15617 `default-directory' is non-nil.
15618
15619 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15620
15621 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15622 line that displays system-configuration-options. (Bug#9924)
15623
15624 2012-01-28 Drew Adams <drew.adams@oracle.com>
15625
15626 * descr-text.el (describe-char): Show information about POS, in
15627 addition to information about the character at POS. Improve and
15628 update the doc string. Change "code point" to "code point in
15629 charset", to avoid confusion with the character's Unicode code
15630 point shown above that. (Bug#10129)
15631
15632 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15633
15634 * descr-text.el (describe-char): Show the raw character, not only
15635 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15636 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15637 for the reasons.
15638
15639 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15640
15641 * emacs-lisp/package.el (package-install):
15642 Run package-refresh-contents if there is no archive yet (Bug#9798).
15643
15644 2012-01-28 Chong Yidong <cyd@gnu.org>
15645
15646 * emacs-lisp/package.el (package-maybe-load-descriptor):
15647 New function, split from package-maybe-load-descriptor.
15648 (package-maybe-load-descriptor): Use it.
15649 (package-download-transaction): Fully load required packages
15650 inside the loop, so that `require' calls work (Bug#10593).
15651 (package-install): No need to call package-initialize now.
15652
15653 2012-01-28 Chong Yidong <cyd@gnu.org>
15654
15655 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15656
15657 * tooltip.el (tooltip-mode): Doc fix.
15658 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15659
15660 * frame.el (set-cursor-color): Doc fix (Bug#352).
15661
15662 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15663 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15664
15665 * cus-edit.el (custom-buffer-create-internal): Fix search button
15666 action (Bug#10542).
15667 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15668
15669 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15670
15671 * dired.el (dired-mark-files-regexp):
15672 Include any subdirectory components. (Bug#10445)
15673
15674 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15675
15676 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15677 Handle [host]:port syntax. (Bug#10533)
15678
15679 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15680
15681 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15682
15683 2012-01-26 Glenn Morris <rgm@gnu.org>
15684
15685 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15686 * term.el (term-raw-escape-map): Use Control-X-prefix.
15687 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15688
15689 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15690
15691 * window.el (window-state-get, window--state-get-1): Don't deal
15692 with fixed-sizeness of windows. Simplify code.
15693
15694 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15695
15696 * window.el (window--state-get-1, window--state-put-2):
15697 Don't save and restore the mark.
15698
15699 2012-01-25 Chong Yidong <cyd@gnu.org>
15700
15701 * custom.el (custom-variable-p): Doc fix.
15702
15703 2012-01-25 Glenn Morris <rgm@gnu.org>
15704
15705 * dired.el (dired-goto-file): Handle some of the more common
15706 characters that `ls -b' escapes. (Bug#10596)
15707
15708 * progmodes/compile.el (compilation-next-error-function):
15709 Respect compilation-first-column in the "*compilation*" buffer.
15710 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15711
15712 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15713
15714 2012-01-24 Glenn Morris <rgm@gnu.org>
15715
15716 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15717
15718 2012-01-24 Julien Danjou <julien@danjou.info>
15719
15720 * color.el (color-rgb-to-hsl): Fix value computing.
15721 (color-hue-to-rgb): New function.
15722 (color-hsl-to-rgb): New function.
15723 (color-clamp, color-saturate-hsl, color-saturate-name)
15724 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15725 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15726
15727 2012-01-24 Glenn Morris <rgm@gnu.org>
15728
15729 * vc/vc-rcs.el (vc-rcs-create-tag):
15730 * vc/vc-sccs.el (vc-sccs-create-tag):
15731 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15732
15733 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15734
15735 * eshell/esh-util.el (eshell-read-hosts-file):
15736 Skip comment lines. (Bug#10549)
15737
15738 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15739
15740 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15741
15742 * subr.el (display-delayed-warnings): Doc fix.
15743 (collapse-delayed-warnings): New function to collapse identical
15744 adjacent warnings.
15745 (delayed-warnings-hook): Add it.
15746
15747 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15748
15749 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15750
15751 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15752 (tramp-default-user-alist): Don't add "pscp".
15753 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15754 property "login-as", if set. (Bug#10530)
15755
15756 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15757
15758 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15759 "plink1" and "psftp". (Bug#10530)
15760
15761 2012-01-21 Kenichi Handa <handa@m17n.org>
15762
15763 * international/mule-cmds.el (prefer-coding-system): Show a
15764 warning message if the default value of file-name-coding-system
15765 was not changed.
15766
15767 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15768
15769 * windmove.el (windmove-reference-loc):
15770 Fix windmove-reference-loc miscalculation.
15771
15772 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15773
15774 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15775 default unit.
15776
15777 2012-01-21 Glenn Morris <rgm@gnu.org>
15778
15779 * international/mule.el (auto-coding-alist): Add .tbz.
15780
15781 * files.el (local-enable-local-variables): Doc fix.
15782 (inhibit-local-variables-regexps): Rename from
15783 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15784 Doc fix. Add some extensions from auto-coding-alist.
15785 (inhibit-local-variables-suffixes):
15786 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15787 (inhibit-local-variables-p):
15788 New function, extracted from set-auto-mode-1.
15789 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15790 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15791 (hack-local-variables): Doc fix. Make the mode-only case
15792 respect enable-local-variables and friends.
15793 Respect inhibit-local-variables-regexps for file-locals, but
15794 not for directory-locals.
15795 (set-visited-file-name):
15796 Take account of inhibit-local-variables-regexps.
15797 Whether it applies may change as the file name is changed.
15798 * jka-cmpr-hook.el (jka-compr-install):
15799 * jka-compr.el (jka-compr-uninstall):
15800 Update for inhibit-first-line-modes-suffixes name change.
15801
15802 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15803
15804 * help-macro.el (make-help-screen): Temporarily restore original
15805 binding for minor-mode-map-alist (Bug#10454).
15806
15807 2012-01-19 Julien Danjou <julien@danjou.info>
15808
15809 * color.el (color-name-to-rgb): Use the white color to find the max
15810 color component value and return correctly computed values.
15811 (color-name-to-rgb): Add missing float conversion for max value.
15812
15813 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15814
15815 * window.el (window--state-get-1, window-state-get): Do not use
15816 special state value for window-persistent-parameters.
15817 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15818 (window--state-put-2): Reset all window parameters to nil before
15819 assigning values of persistent parameters.
15820
15821 2012-01-18 Alan Mackenzie <acm@muc.de>
15822
15823 Eliminate sluggishness and hangs in fontification of "semicolon
15824 deserts".
15825
15826 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15827 Change value 10000 -> 3000.
15828 (c-state-safe-place): Reformulate so it doesn't stack up an
15829 infinite number of wrong entries in c-state-nonlit-pos-cache.
15830 (c-determine-limit-get-base, c-determine-limit): New functions to
15831 determine backward search limits disregarding literals.
15832 (c-find-decl-spots): Amend commenting.
15833 (c-cheap-inside-bracelist-p): New function which detects "={".
15834
15835 * progmodes/cc-fonts.el
15836 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15837 backward search.
15838 (c-font-lock-declarations): Fix an occurrence of point being
15839 undefined. Check additionally for point being in a bracelist or
15840 near a macro invocation without a semicolon so as to avoid a
15841 fruitless time consuming search for a declarator. Give a more
15842 precise search limit for declarators using the new
15843 c-determine-limit.
15844
15845 2012-01-18 Glenn Morris <rgm@gnu.org>
15846
15847 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15848 (set-auto-mode): Doc fixes.
15849
15850 2012-01-17 Glenn Morris <rgm@gnu.org>
15851
15852 * isearch.el (search-nonincremental-instead): Fix doc typo.
15853
15854 * dired.el (dired-insert-directory): Handle newlines in directory name.
15855 (dired-build-subdir-alist): Unescape newlines in directory name.
15856
15857 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15858
15859 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15860 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15861 (tramp-action-terminal): Use it. (Bug#10530)
15862
15863 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15866
15867 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15868
15869 * window.el (window-state-ignored-parameters): Remove variable.
15870 (window--state-get-1): Rename argument MARKERS to IGNORE.
15871 Handle persistent window parameters. Make copy of clone-of
15872 parameter only if requested. (Bug#10348)
15873 (window--state-put-2): Install a window parameter only if it has
15874 a non-nil value or an existing parameter shall be overwritten.
15875
15876 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15877
15878 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15879
15880 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15881
15882 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15883 don't pass the (nil) value of `upnode' to string-match.
15884
15885 2012-01-14 Chong Yidong <cyd@gnu.org>
15886
15887 * startup.el (command-line): Fix X resource class for cursorColor.
15888 Fix values recognized by the cursorBlink resource.
15889
15890 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15891
15892 * epg.el (epg--make-temp-file): Avoid permission race condition
15893 when running on old Emacs versions (bug#10403).
15894
15895 2012-01-14 Glenn Morris <rgm@gnu.org>
15896
15897 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15898
15899 2012-01-13 Alan Mackenzie <acm@muc.de>
15900
15901 Fix filling for when filladapt mode is enabled.
15902
15903 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15904 c-mask-paragraph, pass in `fill-paragraph' rather than
15905 `fill-region-as-paragraph'. (This is a reversion of a previous
15906 change.)
15907 * progmodes/cc-mode.el (c-basic-common-init):
15908 Make fill-paragraph-handle-comment buffer local and set it to nil.
15909
15910 2012-01-13 Glenn Morris <rgm@gnu.org>
15911
15912 * dired.el (dired-switches-escape-p): New function.
15913 (dired-insert-directory): Use dired-switches-escape-p.
15914 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15915
15916 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15917
15918 2012-01-12 Glenn Morris <rgm@gnu.org>
15919
15920 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15921 changes in adaptive-fill-regexp. (Bug#10276)
15922
15923 2012-01-11 Alan Mackenzie <acm@muc.de>
15924
15925 Fix Emacs bug #10463 - put `widen's around the critical spots.
15926
15927 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15928 widen around each invocation of c-state-pp-to-literal. Remove an
15929 unused let variable.
15930
15931 2012-01-11 Glenn Morris <rgm@gnu.org>
15932
15933 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15934 Doc fix.
15935
15936 2012-01-10 Chong Yidong <cyd@gnu.org>
15937
15938 * net/network-stream.el (network-stream-open-starttls):
15939 Avoid emitting a confusing error message when the server gives a bad
15940 response to the capability command.
15941
15942 2012-01-10 Glenn Morris <rgm@gnu.org>
15943
15944 * mail/unrmail.el (unrmail): Tweak previous change.
15945
15946 2012-01-09 Chong Yidong <cyd@gnu.org>
15947
15948 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15949
15950 2012-01-08 Alan Mackenzie <acm@muc.de>
15951
15952 Optimize font locking in long enum definitions.
15953
15954 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15955 arm to a cond form to handle enums.
15956 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15957 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15958
15959 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15960
15961 * files.el (move-file-to-trash): Preserve default file modes on error.
15962 (Bug#10401)
15963
15964 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15965
15966 * faces.el (set-face-attribute): Clarify the meaning of the nil
15967 frame (bug#10294).
15968
15969 * subr.el (with-selected-frame): Mention that the selected frame
15970 is restored (bug#9980).
15971
15972 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15973 (bug#9759).
15974
15975 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15976 (password-read): Don't autoload unused function.
15977
15978 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15979
15980 * progmodes/which-func.el (which-func-mode): Turn into a
15981 non-interactive function and mark as obsolete (bug#10428).
15982
15983 2012-01-06 Chong Yidong <cyd@gnu.org>
15984
15985 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15986 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15987 functions, along with 1 and -1.
15988
15989 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15990
15991 * time.el (display-time-load-average)
15992 (display-time-default-load-average): Doc fixes. See the thread
15993 starting at
15994 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15995 for the details.
15996
15997 2012-01-06 Glenn Morris <rgm@gnu.org>
15998
15999 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16000 has no messages. (Bug#10377)
16001
16002 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16003 than Info-edit. (Bug#10385)
16004
16005 * time.el (display-time-load-average, display-time-next-load-average):
16006 Doc fixes.
16007
16008 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16009 local setting of buffer-read-only to the input buffer. (Bug#10419)
16010
16011 * calendar/calendar.el (calendar-mode):
16012 Locally set scroll-margin to 0. (Bug#10379)
16013
16014 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16015
16016 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16017
16018 2012-01-05 Glenn Morris <rgm@gnu.org>
16019
16020 * eshell/em-unix.el (diff-no-select): Autoload it.
16021 (eshell/diff): Use diff-no-select. (Bug#10420)
16022
16023 2012-01-05 Chong Yidong <cyd@gnu.org>
16024
16025 * shell.el (shell-dynamic-complete-functions): Revert last change.
16026 (shell-command-completion-function): New function.
16027 (shell-completion-vars): Use it to implement
16028 shell-completion-execonly (Bug#10417).
16029
16030 * custom.el (enable-theme): Don't set custom-safe-themes.
16031
16032 * cus-theme.el (custom-theme-merge-theme):
16033 Ignore custom-enabled-themes and custom-safe-themes.
16034
16035 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16036
16037 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16038 first prompt in `sql-interacive-mode'.
16039 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16040 keywords.
16041 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16042 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16043 context of original buffer. Invoke `sql-login-hook'.
16044
16045 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16046
16047 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16048 letters in cite-prefix.
16049
16050 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16051
16052 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16053
16054 2012-01-03 Chong Yidong <cyd@gnu.org>
16055
16056 * shell.el (shell-dynamic-complete-functions):
16057 Put pcomplete-completions-at-point, so as to try
16058 comint-filename-completion first (Bug#10417).
16059
16060 2012-01-02 Richard Stallman <rms@gnu.org>
16061
16062 * battery.el (battery-status-function):
16063 Detect when to use battery-yeeloong-sysfs.
16064 (battery-echo-area-format): Add string for Yeeloong.
16065 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16066 (battery-yeeloong-sysfs): New function.
16067
16068 2012-01-02 Chong Yidong <cyd@gnu.org>
16069
16070 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16071 (dirtrack): Merge code for handling relative filenames in prompt
16072 from shell-dir-cookie-watcher.
16073 (dirtrack-debug-message): New arg to avoid excess format calls.
16074
16075 * shell.el (shell-dir-cookie-re): Variable deleted.
16076 (shell-dir-cookie-watcher): Function deleted.
16077 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16078 with dirtrack-mode.
16079
16080 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16081
16082 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16083 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16084 libgnutls-26.dll.
16085
16086 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16087
16088 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16089
16090 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16091
16092 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16093 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16094
16095 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16096
16097 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16098 also for alternative shells.
16099 (tramp-open-connection-setup-interactive-shell): Check, whether
16100 the shell is a busybox.
16101 (tramp-send-command): Don't suppress multiple prompts for
16102 busyboxes, it hurts.
16103
16104 2011-12-28 Chong Yidong <cyd@gnu.org>
16105
16106 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16107 (gdb-get-source-file): Move mode line update to
16108 gdb-get-source-file (Bug#10087).
16109
16110 2011-12-25 Chong Yidong <cyd@gnu.org>
16111
16112 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16113 gud-gdb-marker-filter without taking it as an argument.
16114 (gud-gdb-run-command-fetch-lines): Caller changed.
16115 (gud-gdb-completion-function): New variable.
16116 (gud-gdb-completion-at-point): Use it.
16117 (gud-gdb-completions-1): Split from gud-gdb-completions.
16118
16119 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16120 function as separate arguments.
16121 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16122 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16123 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16124 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16125 (gdb-stopped, def-gdb-auto-update-trigger)
16126 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16127 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16128 Callers changed.
16129 (gud-gdbmi-completions): New function.
16130 (gdb): Use it for generating the completion table.
16131
16132 2011-12-24 Alan Mackenzie <acm@muc.de>
16133
16134 Introduce a mechanism to widen the region used in context font
16135 locking. Use this to protect declarations from losing their contexts.
16136
16137 * progmodes/cc-langs.el (c-before-font-lock-functions):
16138 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16139 (c-before-context-fontification-functions): New defvar, a list of
16140 functions to be run just before context (etc.) font locking.
16141
16142 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16143 New, functionality extracted from
16144 c-neutralize-syntax-in-and-mark-CPP.
16145 (c-in-after-change-fontification): New variable.
16146 (c-after-change): Set c-in-after-change-fontification.
16147 (c-set-fl-decl-start): Rejig its interface, so it can be called
16148 from both after-change and context fontifying.
16149 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16150 New functions.
16151 (c-standard-font-lock-fontify-region-function): New variable.
16152 (c-font-lock-fontify-region): New function.
16153
16154 2011-12-24 Juri Linkov <juri@jurta.org>
16155
16156 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16157 (Bug#10348)
16158
16159 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16160
16161 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16162 existence of source file. (Bug#10325)
16163
16164 2011-12-23 Alan Mackenzie <acm@muc.de>
16165
16166 Fix unstable fontification inside templates.
16167
16168 * progmodes/cc-langs.el (c-before-font-lock-functions):
16169 Newly created from the singular version. The (c c++ objc) entry now
16170 additionally has c-set-fl-decl-start. The other languages (apart
16171 from AWK) have that as a single entry.
16172
16173 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16174 The functionality for "local" declarations has been extracted to
16175 c-set-fl-decl-start.
16176
16177 * progmodes/cc-mode.el (c-common-init, c-after-change):
16178 Changes due to pluralisation of c-before-font-lock-functions.
16179 (c-set-fl-decl-start): New function, extracted from
16180 c-font-lock-enclosing-decls and enhanced.
16181
16182 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16183
16184 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16185
16186 2011-12-22 Juri Linkov <juri@jurta.org>
16187
16188 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16189
16190 2011-12-22 Chong Yidong <cyd@gnu.org>
16191
16192 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16193
16194 2011-12-21 Drew Adams <drew.adams@oracle.com>
16195
16196 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16197
16198 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16199
16200 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16201
16202 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16203
16204 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16205 highlighting and support. Fix up comments for capitalization.
16206 (cfengine-mode-debug): New var.
16207 (cfengine3-mode): Change the modeline indicator to "CFE3".
16208 (cfengine3-font-lock-keywords): Improve defun highlighting.
16209 (cfengine2-actions): Rename from `cfengine-actions'.
16210 (cfengine2-font-lock-keywords): Rename from
16211 `cfengine-font-lock-keywords'.
16212 (cfengine2-imenu-expression): Rename from
16213 `cfengine-imenu-expression'.
16214 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16215 (cfengine2-beginning-of-defun): Rename from
16216 `cfengine-beginning-of-defun'.
16217 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16218 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16219 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16220 modeline indicator to "CFE2".
16221 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16222 (cfengine-mode-abbrevs): Mark obsolete.
16223
16224 2011-12-21 Chong Yidong <cyd@gnu.org>
16225
16226 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16227 filename argument.
16228
16229 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16230
16231 * window.el (window-normalize-buffer-to-display): Remove.
16232 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16233
16234 2011-12-19 Chong Yidong <cyd@gnu.org>
16235
16236 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16237 Don't signal an error in a predicate function; return non-nil.
16238 (vc-dir-mark-file): Move the error here.
16239 (vc-dir-mark-unmark): If acting on the region, keep going if one
16240 of the entries cannot be marked/unmarked.
16241 (vc-dir-mark-all-files): If current entry is a directory, mark
16242 only child files, as documented.
16243
16244 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16245
16246 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16247 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16248 addition.
16249
16250 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16251
16252 * term/ns-win.el (ns-get-selection-internal)
16253 (ns-store-selection-internal): Declare.
16254 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16255 Declare as obsolete.
16256 (ns-get-pasteboard, ns-paste-secondary):
16257 Use ns-get-selection-internal.
16258 (ns-set-pasteboard, ns-copy-including-secondary):
16259 Use ns-store-selection-internal.
16260
16261 2011-12-17 Chong Yidong <cyd@gnu.org>
16262
16263 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16264 (vc-deduce-fileset): Doc fix.
16265
16266 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16267
16268 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16269
16270 2011-12-13 Sam Steingold <sds@gnu.org>
16271
16272 * man.el (Man-getpage-in-background): When running under a
16273 window-system, ignore $MANWIDTH and $COLUMNS.
16274
16275 2011-12-15 Kenichi Handa <handa@m17n.org>
16276
16277 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16278 (setup-ethiopic-environment-internal): Comment out key-binding for
16279 ethio-toggle-punctuation.
16280
16281 2011-12-13 Alan Mackenzie <acm@muc.de>
16282
16283 Add the switch statement to AWK Mode.
16284
16285 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16286 "default" to the keywords regexp.
16287
16288 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16289 expression as the rest.
16290 (c-nonlabel-token-key): Allow string literals for AWK.
16291 Refactor for the other modes.
16292
16293 Large brace-block initialisation makes CC Mode slow: Fix.
16294 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16295 routines. Limit backward searching in c-font-lock-enclosing.decl.
16296
16297 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16298 pp-state and literal type in addition to the limits.
16299 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16300 (c-state-literal-at): Use the above new defun.
16301 (c-slow-in-literal, c-fast-in-literal): Remove.
16302 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16303
16304 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16305 being in a literal. Add a limit for backward searching.
16306
16307 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16308 c-slow-in-literal.
16309
16310 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16313
16314 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16315
16316 * window.el (delete-other-windows): Use correct frame in call to
16317 window-with-parameter.
16318
16319 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16320
16321 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16322 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16323 (makefile-gmake-statements, makefile-makepp-statements):
16324 Use it and add new makepp keywords.
16325 (makefile-makepp-font-lock-keywords): Add new patterns.
16326 (makefile-match-function-end): Match new [...] and [[...]].
16327
16328 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16329
16330 * ses.el (ses-call-printer-return, ses-cell-property-get)
16331 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16332 (ses-create-cell-variable, ses-reset-header-string)
16333 (ses-cell-set-formula, ses-repair-cell-reference-all)
16334 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16335 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16336 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16337 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16338 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16339 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16340 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16341 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16342 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16343 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16344 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16345 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16346
16347 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16348
16349 * ses.el: The overall change is to add cell renaming, that is
16350 setting fancy names for cell symbols other than name matching
16351 "\\`[A-Z]+[0-9]+\\'" regexp .
16352 (ses-create-cell-variable): New defun.
16353 (ses-relocate-formula): Relocate formulas only for cells the
16354 symbols of which are not renamed, i.e. symbols whose names do not
16355 match regexp "\\`[A-Z]+[0-9]+\\'".
16356 (ses-relocate-all): Relocate values only for cells the symbols of
16357 which are not renamed.
16358 (ses-load): Create cells variables as the (ses-cell ...) are read,
16359 in order to check row col consistency with cell symbol name only
16360 for cells that are not renamed.
16361 (ses-replace-name-in-formula): New defun.
16362 (ses-rename-cell): New defun.
16363
16364 2011-12-11 Chong Yidong <cyd@gnu.org>
16365
16366 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16367 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16368
16369 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16370
16371 * window.el (other-window): Fix docstring.
16372
16373 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16374
16375 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16376 `from' or `to' address before taking its substring.
16377 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16378 encoded name is chopped in the middle of the encoded string, and
16379 thus displayed encoded.
16380
16381 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16382
16383 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16384
16385 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16386
16387 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16388 to use texinfo-update-node and commands that call it if the
16389 Texinfo file uses @node lines without next/prev/up pointers.
16390 Correct outdated description about texinfo-master-menu.
16391 (texinfo-all-menus-update, texinfo-master-menu)
16392 (texinfo-update-node, texinfo-every-node-update)
16393 (texinfo-multiple-files-update): Doc fix. Warn against updating
16394 all the @node lines.
16395 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16396 argument is numeric. Explain better in the doc string what the
16397 function really does.
16398 (texinfo-insert-master-menu-list): Improve the error message
16399 displayed if there's no menu in the Top node.
16400 (Bug#2975) See also this thread:
16401 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16402
16403 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16404
16405 * speedbar.el (speedbar-supported-extension-expressions):
16406 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16407
16408 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16409
16410 * printing.el (pr-mode-alist):
16411 * simple.el (filter-buffer-substring-functions)
16412 (completion-list-insert-choice-function):
16413 * window.el (window-with-parameter, window-atom-root)
16414 (window-sides-slots, window-size-fixed, window-min-delta)
16415 (window-max-delta, window--resize-mini-window)
16416 (window--resize-child-windows-normal, window-tree)
16417 (delete-other-windows, quit-window, split-window)
16418 (display-buffer-record-window, special-display-buffer-names)
16419 (special-display-regexps, special-display-popup-frame)
16420 (same-window-p, split-window-sensibly)
16421 (display-buffer-overriding-action, display-buffer-alist)
16422 (display-buffer-base-action, display-buffer, switch-to-buffer)
16423 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16424 (fit-window-to-buffer, recenter-positions)
16425 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16426 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16427 and remove unneeded backslashes in docstrings.
16428
16429 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16430
16431 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16432
16433 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16434 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16435 end in ".mk".
16436 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16437 when reading the makefile (bug#10116).
16438
16439 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16440
16441 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16442 (bug#10116).
16443
16444 2011-12-06 Glenn Morris <rgm@gnu.org>
16445
16446 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16447
16448 2011-12-06 Chong Yidong <cyd@gnu.org>
16449
16450 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16451
16452 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16453
16454 * textmodes/table.el (table-shorten-cell): Fix typo.
16455
16456 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16457
16458 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16459
16460 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16461
16462 * descr-text.el (describe-char): Fix display of strong
16463 right-to-left characters and directional embeddings and overrides.
16464
16465 * simple.el (what-cursor-position): Fix display of codepoints of
16466 strong right-to-left characters.
16467
16468 2011-12-05 Chong Yidong <cyd@gnu.org>
16469
16470 * faces.el (read-color): Doc fix.
16471
16472 2011-12-05 Glenn Morris <rgm@gnu.org>
16473
16474 * align.el (align--set-marker): Add doc-string.
16475 Don't try to move something that is not a marker. (Bug#10216)
16476
16477 2011-12-04 Glenn Morris <rgm@gnu.org>
16478
16479 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16480 overly zealous deletion of trailing whitespace.
16481
16482 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16483
16484 * server.el (server-delete-client): On Windows, do not try to delete
16485 the only terminal.
16486 (server-process-filter): On Windows, treat requests for a tty frame as
16487 if they were for a GUI frame if the running server is in GUI mode.
16488
16489 2011-12-03 Glenn Morris <rgm@gnu.org>
16490
16491 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16492
16493 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16494
16495 * electric.el: Streamline electric-indent's hook.
16496 (electric-indent-chars): Revert to simple list.
16497 (electric-indent-functions): New var.
16498 (electric-indent-post-self-insert-function): Use it.
16499
16500 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16501 there's no inferior buffer (bug#10196).
16502 (prolog-consult-compile): Don't use toggle-read-only.
16503
16504 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16505
16506 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16507 interrupt. (Bug#10187)
16508
16509 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16510
16511 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16512 (bug#9160).
16513
16514 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16515 (bug#10191).
16516
16517 2011-12-02 Juri Linkov <juri@jurta.org>
16518
16519 * info.el (Info-search): Display "end of manual" when Isearch
16520 reaches the end of single-file Info manual. (Bug#9918)
16521
16522 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16523
16524 * isearch.el (isearch-message-prefix): Run the input method part
16525 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16526
16527 2011-12-02 Juri Linkov <juri@jurta.org>
16528
16529 * isearch.el (isearch-occur): Use `word-search-regexp' for
16530 `isearch-word'.
16531 (isearch-search-and-update): Add condition for `isearch-word' and
16532 call `word-search-regexp'. (Bug#10145)
16533
16534 2011-12-01 Glenn Morris <rgm@gnu.org>
16535
16536 * eshell/em-hist.el (eshell-hist-initialize):
16537 Handle eshell-history-size nil and HISTSIZE set or unset.
16538 (eshell-history-file-name, eshell-history-size): Fix custom type.
16539
16540 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16543
16544 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16545
16546 * progmodes/verilog-mode.el (verilog-pretty-expr):
16547 Rework verilog-pretty-expr to handle new assignment operators in system
16548 verilog, such as += *= and the like.
16549 (verilog-assignment-operator-re): Regular expression to find the
16550 assigment operator in a verilog assignment.
16551 (verilog-assignment-operation-re): Regular expression to find an
16552 assignment statement for pretty-expr.
16553 (verilog-in-attribute-p): Query returns true if point is in an
16554 attribute context; used to skip these for expression line up from
16555 pretty-expr.
16556 (verilog-in-parameter-p): Query returns true if point is in an
16557 parameter definition context; used to skip these for expression
16558 line up from pretty-expr.
16559 (verilog-in-parenthesis-p): Query returns true if point is in a
16560 parenthetical expression, specifically ( ) but not [ ] or { };
16561 used by pretty-expr.
16562 (verilog-just-one-space): If there is no space, don't add one.
16563 (verilog-get-lineup-indent-2): Specifically skip just attribute
16564 contexts for expression lineup, rather than skipping all
16565 parenthetical expressions.
16566 (verilog-calculate-indent): Fix comment, and fix indent.
16567 (verilog-do-indent): Indent declarations in lists (suggested by
16568 Joachim Lechner).
16569 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16570 skeleton items.
16571 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16572 by Alain Mellan).
16573
16574 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16575
16576 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16577 parameters with embedded comments. Reported by Ray Stevens.
16578 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16579 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16580 Reported by Tim Holt.
16581 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16582 instantiated by upper module causing wrong expansion until AUTOed a
16583 second time. Reported by K C Buckenmaier.
16584 (verilog-diff-auto): Fix showing .* as a difference when
16585 `verilog-auto-star-save' off. Reported by Dan Dever.
16586 (verilog-auto-reset, verilog-read-always-signals)
16587 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16588 temporary signals in reset list if
16589 verilog-auto-reset-blocking-in-non is nil, and match assignment
16590 style to each signal's assignment type, bug381.
16591 Reported by Thomas Esposito.
16592 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16593 (verilog-uvm-statement-re): Support UVM indentation and
16594 highlighting, with old OVM keywords only.
16595 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16596 Support AUTOTIEOFF creating non-wire data types.
16597 Suggested by Jonathan Greenlaw.
16598 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16599 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16600 (verilog-inject-sense, verilog-read-inst-pins)
16601 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16602 Fix mismatching parenthesis inside commented out code when deleting
16603 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16604 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16605 non-numeric vector width. Reported by Alex Reed.
16606 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16607 detecting signals with parameter widths. Reported by Alex Reed.
16608 (verilog-auto-delete-trailing-whitespace):
16609 With `verilog-auto-delete-trailing-whitespace' remove trailing
16610 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16611 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16612 Fix verilog-scan-cache corruption when running user AUTO expansion
16613 hooks that call indentation routines.
16614 (verilog-simplify-range-expression): Fix typo ignoring lower case
16615 identifiers.
16616 (verilog-delete-auto): Fix delete-autos to also remove user created
16617 automatics, as long as they start with AUTO.
16618 (verilog-batch-diff-auto, verilog-diff-auto)
16619 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16620 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16621 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16622 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16623 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16624 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16625 is disabled and its cache will get corrupt, causing AUTOS not to
16626 expand. Instead use only -quick functions.
16627 (verilog-scan-region): Fix scanning over escaped quotes.
16628 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16629 (verilog-re-search-backward-quick)
16630 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16631 related functions now ignore strings, to fix misparsing of strings
16632 with magic comments embedded in them.
16633 (verilog-read-auto-template):
16634 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16635 Reported by Brad Dobbie.
16636 (verilog-read-auto-template):
16637 Fix 'verilog-auto-inst-template-numbers' with comments.
16638 Reported by Brad Dobbie.
16639 (verilog-auto-inst, verilog-auto-inst-param)
16640 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16641 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16642 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16643 debugging templates without merge conflicts, bug357.
16644 Reported by Brad Dobbie.
16645 (verilog-read-auto-template):
16646 Fix verilog-auto-inst-template-numbers with multiple templates.
16647 Reported by Brad Dobbie.
16648 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16649 abbrevs so user won't be asked to save.
16650 (verilog-read-auto-lisp-present): Fix to start at beginning of
16651 buffer in case called outside of verilog-auto.
16652 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16653 to "X-2". Reported by Matthew Myers.
16654 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16655 all inputs from module templates. Reported by Leith Johnson.
16656 (verilog-module-inside-filename-p): Fix locating programs as with
16657 modules.
16658 (verilog-auto-inst-port): Fix vl-width expressions when using
16659 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16660 (verilog-decls-get-regs, verilog-decls-get-signals,
16661 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16662 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16663 verilog-read-decls): Combine reg and wire structures into one var
16664 structure to represent SystemVerilog concepts.
16665 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16666 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16667 (verilog-auto-wire-type, verilog-insert-definition):
16668 Add verilog-auto-wire-type and AUTOLOGIC to support using
16669 SystemVerilog "logic" keyword instead of "wire"/"reg".
16670 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16671 to declares outputs that also have assignments (presumably in an
16672 ifdef or generate if so there's not a driver conflict).
16673 Reported by Matthew Myers.
16674 (verilog-auto-declare-nettype, verilog-insert-definition):
16675 Add verilog-auto-declare-nettype to fix declarations using
16676 `default_nettype none. Reported by Julian Gorfajn.
16677 (verilog-read-always-signals-recurse, verilog-read-decls)
16678 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16679 malformed end statement, bug325. Reported by Joshua Wise and
16680 Andrew Drake.
16681 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16682 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16683 when expanding .* in interfaces, bug320.
16684 Reported by Pierre-David Pfister.
16685 (verilog-read-module-name): Fix import statements between module
16686 name and open parenthesis, bug317.
16687 Reported by Pierre-David Pfister.
16688 (verilog-simplify-range-expression): Fix simplification of
16689 multiplications inside AUTOWIRE connections, bug303.
16690 (verilog-auto-inst-port): Support parameter expansion in
16691 multidimensional arrays.
16692 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16693 after "assert property". Reported by Julian Gorfajn.
16694 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16695 with multiplication, bug303.
16696 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16697 Reported by Jan Frode Lonnum.
16698
16699 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16700
16701 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16702 (hfy-shell-file-name, hfy-shell):
16703 * international/fontset.el (x-decompose-font-name): Fix typos.
16704
16705 2011-11-29 Ken Brown <kbrown@cornell.edu>
16706
16707 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16708 (gdb-version): Remove defvar.
16709 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16710 (gdb-gud-context-command, gdb-non-stop-handler)
16711 (gdb-current-context-command, gdb-stopped): Use it.
16712 (gdb-init-1): Enable pretty printing here.
16713 (gdb-non-stop-handler): Don't enable pretty-printing here.
16714 Check to see if the target supports non-stop mode; if not, turn off
16715 non-stop mode. Use the following.
16716 (gdb-check-target-async): New defun.
16717 (gud-watch, gdb-stopped): Fix whitespace.
16718 (gdb-get-source-file): Don't try to display the source file if
16719 `gdb-main-file' is nil.
16720
16721 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16722
16723 * align.el: Try to generate fewer markers (bug#10047).
16724 (align--set-marker): New macro.
16725 (align-region): Use it.
16726
16727 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16728
16729 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16730
16731 2011-11-29 Chong Yidong <cyd@gnu.org>
16732
16733 * indent.el (indent-for-tab-command, indent-according-to-mode):
16734 Doc fix.
16735 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16736
16737 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16738
16739 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16740 aware of remote file names. (Bug#10124)
16741
16742 2011-11-29 Chong Yidong <cyd@gnu.org>
16743
16744 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16745
16746 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16747
16748 * files.el (find-file): Don't use force-same-window (bug#10144).
16749 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16750 use pop-to-buffer if the selected window can't be used.
16751 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16752
16753 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16754
16755 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16756 special-mode-map.
16757
16758 2011-11-28 Chong Yidong <cyd@gnu.org>
16759
16760 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16761
16762 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16763
16764 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16765 gdb-get-source-file-list on gdb-create-source-file-list.
16766
16767 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16768
16769 * whitespace.el (whitespace-newline): Use a different foreground
16770 color for 16-color light-background displays.
16771
16772 2011-11-24 Chong Yidong <cyd@gnu.org>
16773
16774 * window.el (display-buffer--special-action): Doc fix.
16775
16776 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16777
16778 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16779 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16780 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16781 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16782 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16783 (avl-tree-stack-first):
16784 * emacs-lisp/cconv.el (cconv--analyse-use):
16785 * net/gnutls.el (gnutls-negotiate): Fix typos.
16786
16787 2011-11-24 Glenn Morris <rgm@gnu.org>
16788
16789 * lpr.el (lpr-windows-system, lpr-lp-system):
16790 * mail/binhex.el (binhex-begin-line):
16791 * progmodes/grep.el (grep-history, grep-find-history):
16792 * textmodes/flyspell.el:
16793 * vc/pcvs-defs.el (cvs-global-menu):
16794 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16795 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16796 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16797
16798 * net/tls.el: Fix case of "GnuTLS".
16799
16800 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16801
16802 * version.el (emacs-build-system): Give it a doc-string.
16803
16804 2011-11-24 Juri Linkov <juri@jurta.org>
16805
16806 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16807
16808 2011-11-24 Glenn Morris <rgm@gnu.org>
16809
16810 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16811 if called on a non-mime message just toggle the headers. (Bug#8006)
16812
16813 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16814
16815 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16816 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16817 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16818 (allout-rebullet-heading, allout-open-sibtopic)
16819 (allout-toggle-current-subtree-encryption)
16820 (allout-toggle-subtree-encryption, allout-encrypt-string)
16821 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16822 (allout-distinctive-bullets-string, allout-auto-activation):
16823 * window.el (window-normalize-buffer-to-display):
16824 * progmodes/verilog-mode.el (verilog-batch-indent):
16825 * textmodes/bibtex.el (bibtex-field-braces-opt)
16826 (bibtex-field-strings-opt):
16827 * vc/cvs-status.el (cvs-tree-merge):
16828 Fix typos.
16829
16830 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16831
16832 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16833 `non-essential' to t, in order to avoid remote connections.
16834
16835 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16836
16837 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16838 On MS-DOS and MS-Windows, compare with loaddefs.el
16839 case-insensitively.
16840
16841 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16842
16843 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16844
16845 2011-11-23 Glenn Morris <rgm@gnu.org>
16846
16847 * paths.el (rmail-file-name): Reformat the doc-string so that it
16848 is picked up.
16849
16850 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16851 (rmail-auto-file): Ignore case in the "special" field names,
16852 as mail-fetch-field does for all others.
16853
16854 * mail/rmail.el (rmail-forward):
16855 * mail/rmailkwd.el (rmail-set-label):
16856 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16857 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16858
16859 * mail/rmail.el (rmail-current-message): Doc fix.
16860
16861 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16862
16863 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16864
16865 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16866
16867 2011-11-22 Glenn Morris <rgm@gnu.org>
16868
16869 * mail/rmailmm.el (test-rmail-mime-handler)
16870 (test-rmail-mime-bulk-handler)
16871 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16872
16873 2011-11-21 Juri Linkov <juri@jurta.org>
16874
16875 * calc/calc.el (calc-read-key-sequence):
16876 Let-bind `input-method-function' to nil. (Bug#10018)
16877
16878 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16879
16880 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16881 Tell the caller that the next line needs recomputation, even
16882 though it doesn't start a sexp (bug#10094).
16883
16884 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16885
16886 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16887
16888 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16889
16890 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16891 Use force-same-window.
16892
16893 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16894
16895 * descr-text.el (describe-char-unicode-data):
16896 * json.el (json-string-escape):
16897 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16898 (Footnote-unicode, Footnote-style-p):
16899 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16900
16901 2011-11-20 Chong Yidong <cyd@gnu.org>
16902
16903 * window.el (replace-buffer-in-windows): Restore interactive spec.
16904
16905 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16908
16909 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16910 (byte-compile-global-not-obsolete-vars): New var.
16911 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16912 Use it.
16913 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16914
16915 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16916
16917 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16918 * progmodes/pascal.el (electric-pascal-equal):
16919 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16920 * xml.el (xml-substitute-special): Fix typos.
16921
16922 2011-11-20 Glenn Morris <rgm@gnu.org>
16923
16924 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16925 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16926 Doc fixes.
16927 (rmail-decode-mime-charset): Mark as obsolete.
16928
16929 * mail/rmailsum.el (rmail-message-regexp-p-1):
16930 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16931 Before using mime functions, check they are set. (Bug#10077)
16932
16933 2011-11-19 Juri Linkov <juri@jurta.org>
16934
16935 * info.el (Info-finder-find-node): Use `package--builtins' instead
16936 of `package-alist'. Use node names formed by the pattern "Keyword "
16937 and the keyword name.
16938
16939 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16940
16941 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16942
16943 2011-11-19 Juri Linkov <juri@jurta.org>
16944
16945 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16946 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16947 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16948 `old-history', `old-history-forward'. Add let-binding
16949 `window-selected'. Remove calls to `kill-buffer',
16950 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16951 before calling `Info-find-node', so `Info-find-node-2' will reread
16952 the Info file. Restore window positions only when `window-selected'
16953 is non-nil.
16954
16955 2011-11-19 Juri Linkov <juri@jurta.org>
16956
16957 * isearch.el (isearch-lazy-highlight-new-loop):
16958 Remove condition `(not isearch-error)'. (Bug#9918)
16959
16960 * misearch.el (multi-isearch-search-fun): Add condition
16961 `(not bound)' to ignore lazy-highlighting search.
16962 Add the search-failed message "end of multi" when the end of
16963 multi-sequence is reached. Uncapitalize the search-failed
16964 message "Repeat for next buffer".
16965
16966 * info.el (Info-search): Add the search-failed message
16967 "end of the manual" when the end of the manual is reached
16968 in Isearch mode.
16969
16970 2011-11-19 Juri Linkov <juri@jurta.org>
16971
16972 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16973 Use non-destructive `remove' instead of `delete' because
16974 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16975 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16976
16977 2011-11-19 Juri Linkov <juri@jurta.org>
16978
16979 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16980 to nil instead of binding `search-ring' and `regexp-search-ring'.
16981 (Bug#9185)
16982
16983 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16984
16985 * simple.el (line-move): Force movement by logical lines for any
16986 hscrolled window, not only when auto-hscroll-mode is on.
16987 (line-move-visual): Update doc string to that effect. (Bug#10076)
16988
16989 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16990
16991 * language/european.el (macintosh): Define as alias for mac-roman.
16992
16993 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16994
16995 * mail/rmailmm.el (rmail-mime-display-header)
16996 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16997 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16998 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16999 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17000 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17001 of a raw aref.
17002 (rmail-mime-entity-segment): To get past the tagline, move forward
17003 2 more lines, to account for the 2 empty lines that precede and
17004 follow the line with the buttons.
17005 (rmail-mime-update-tagline): Move one more line, to get past the
17006 empty line that follows the buttons in the tagline. (Bug#9520)
17007
17008 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17009
17010 * window.el (window-max-delta-1, window-min-delta-1)
17011 (window-min-size-1, window-state-get-1, window-state-put-1)
17012 (window-state-put-2): Use "window--" prefix.
17013
17014 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17015
17016 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17017 (smie-warning-count): New var.
17018 (smie-set-prec2tab): Use it.
17019 (smie-bnf->prec2): Improve warnings. Add docstring.
17020 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17021 (smie-bnf--set-class): New function.
17022 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17023 corner case.
17024
17025 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17026 (compilation-error-properties, compilation-move-to-column):
17027 Handle compilation-first-column while in the target buffer.
17028
17029 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17030 Don't hardcode point-min==1.
17031
17032 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17033 (eshell-rewrite-for-command): Remove workaround.
17034 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17035 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17036 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17037
17038 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17039
17040 2011-11-17 Glenn Morris <rgm@gnu.org>
17041
17042 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17043 Ignore buffer-local generated-autoload-file if it is the same
17044 as the global value. (Bug#10049)
17045
17046 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17047
17048 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17049 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17050 (reftex-toc-previous-heading, reftex-toc-max-level)
17051 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17052 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17053 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17054 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17055 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17056 (reftex-toc-rename-label, reftex-toc-visit-location)
17057 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17058 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17059 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17060 leaving "*toc*" only for references to the buffer.
17061
17062 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17063
17064 * window.el (window-resize, delete-window, split-window):
17065 Replace window-splits by window-combination-resize.
17066 * cus-start.el (window-splits): Replace by window-combination-resize.
17067
17068 2011-11-17 Glenn Morris <rgm@gnu.org>
17069
17070 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17071 Make bash entry derive from sh entry, not shell entry.
17072
17073 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17074
17075 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17076 local file name.
17077
17078 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17079
17080 * menu-bar.el (menu-bar-file-menu):
17081 * printing.el (pr-ps-utility):
17082 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17083 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17084 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17085 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17086 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17087 (icalendar--convert-cyclic-to-ical)
17088 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17089 (icalendar--convert-ical-to-diary)
17090 (icalendar--convert-recurring-to-diary)
17091 (icalendar--convert-non-recurring-all-day-to-diary)
17092 (icalendar-import-format-sample):
17093 * progmodes/idlw-shell.el (idlwave-shell-mode):
17094 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17095 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17096 (vhdl-ps-print-init): Fix typos.
17097
17098 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17099
17100 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17101 FSF and collapse date sequence, obscure author/maintainer email address
17102 better, remove extra version line, track relocation of author's webpage.
17103
17104 * progmodes/python.el (python-pdbtrack-input-prompt)
17105 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17106 regular python pdb prompts. Adjustments shamelessly taken exactly as
17107 suggested in EmacsWiki page (tiny change):
17108 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17109
17110 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17111
17112 * expand.el (expand-pos, expand-index, expand-point):
17113 Remove redundant info from docstring.
17114 (expand-add-abbrevs): Doc fix.
17115 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17116 (expand-sample-perl-mode-expand-list): Fix typos.
17117
17118 * net/dbus.el (dbus-event-member-name):
17119 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17120 * term/pc-win.el (msdos-create-frame-with-faces):
17121 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17122
17123 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17124
17125 * window.el (split-window, window-state-get-1)
17126 (window-state-put-1, window-state-put-2): Rename occurrences of
17127 window-nest to window-combination-limit.
17128 * cus-start.el (window-nest): Rename to window-combination-limit.
17129
17130 2011-11-16 Chong Yidong <cyd@gnu.org>
17131
17132 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17133 regexp (Bug#10033).
17134
17135 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17136
17137 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17138 `completing-read' will remove *Completions* and will preserve
17139 current-buffer for us.
17140 (tmm-add-prompt): Users of *Completions* will always (re)set its
17141 major mode.
17142 (tmm-old-comp-map): Remove.
17143
17144 2011-11-16 Glenn Morris <rgm@gnu.org>
17145
17146 * mail/rmailedit.el: Require rmailmm when compiling.
17147 (rmail-old-mime-state): New declaration.
17148 (rmail-edit-current-message): If editing a mime message,
17149 edit the "raw" message from the mbox buffer.
17150 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17151
17152 2011-11-15 Glenn Morris <rgm@gnu.org>
17153
17154 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17155 which wasn't being used. Add optional arg to force given state.
17156 (rmail-mime): Add optional arg to force given state.
17157
17158 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17159
17160 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17161 * frame.el (display-mm-dimensions-alist):
17162 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17163 (outline-move-subtree-down):
17164 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17165 (newsticker--treeview-do-get-node):
17166 * net/quickurl.el (quickurl-list-buffer-name):
17167 * progmodes/dcl-mode.el (dcl-mode):
17168 * progmodes/gdb-mi.el (gdb-mapcar*):
17169 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17170
17171 2011-11-15 Glenn Morris <rgm@gnu.org>
17172
17173 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17174 in a boolean sense, so just make it a boolean, and fix the doc.
17175 (rmail-show-mime-function, rmail-mime-feature)
17176 (rmail-require-mime-maybe): Doc fixes.
17177 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17178
17179 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17180
17181 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17182
17183 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17184 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17185 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17186 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17187
17188 2011-11-15 Glenn Morris <rgm@gnu.org>
17189
17190 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17191 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17192 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17193 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17194 (rmail-mime, rmail-show-mime): Doc fixes.
17195
17196 * term/ns-win.el (mode-line-frame-identification):
17197 Leave it alone. (Bug#10051)
17198
17199 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17200
17201 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17202 Handle empty buffers. (Bug#9978)
17203
17204 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17205
17206 * international/mule.el (define-charset):
17207 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17208 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17209 * progmodes/verilog-mode.el (verilog-backward-token):
17210 * textmodes/ispell.el (lookup-words):
17211 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17212
17213 2011-11-14 Glenn Morris <rgm@gnu.org>
17214
17215 * progmodes/executable.el
17216 (executable-make-buffer-file-executable-if-script-p):
17217 Handle file-modes returning nil.
17218
17219 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17220 message - not necessary, and causes problems. (Bug#9831)
17221
17222 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17223
17224 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17225
17226 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17227 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17228 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17229
17230 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17231
17232 * window.el (window-resize, delete-window): Use window-splits
17233 variable instead of function.
17234 (window-state-get-1, window-state-put-2, window-state-put):
17235 Don't deal with windows' splits status.
17236
17237 2011-11-12 Glenn Morris <rgm@gnu.org>
17238
17239 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17240 (apropos-documentation): Doc fixes.
17241
17242 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17243
17244 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17245 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17246
17247 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17248
17249 * electric.el (electric-indent-post-self-insert-function): Make it
17250 possible for a char to only indent in some circumstances.
17251 (electric-indent-mode): Simplify.
17252
17253 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17254
17255 * window.el (windows-with-parameter): Remove unused function.
17256 (windows-at-side): Rename to window-at-side-list.
17257 (window-check, window-atom-check, window-atom-check-1)
17258 (window-side-check, window-size-ignore, window-size-fixed-1)
17259 (window-in-direction-2): Prefix with "window--".
17260 (window-tree-1): Rename to window--subtree, fix doc-string.
17261
17262 2011-11-11 Glenn Morris <rgm@gnu.org>
17263
17264 * subr.el (eval-after-load): If FILE is already loaded,
17265 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17266
17267 2011-11-10 Glenn Morris <rgm@gnu.org>
17268
17269 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17270 Call svn via vc-svn-command rather than vc-do-command.
17271 (vc-svn-command): Add --non-interactive. (Bug#9993)
17272 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17273
17274 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17275 Add toggle-read-only. (Bug#7292)
17276 * files.el (toggle-read-only): Mention that it should only
17277 be used interactively. (Bug#10006)
17278
17279 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17280
17281 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17282 Adjust regexp for OCaml warnings.
17283
17284 * electric.el (electric-pair-post-self-insert-function): Let user
17285 turn it off buffer-locally (bug#9932).
17286
17287 * progmodes/python.el (python-beginning-of-statement):
17288 Rewrite (bug#2703).
17289
17290 * progmodes/compile.el: Better handle TABs (bug#9749).
17291 (compilation-internal-error-properties)
17292 (compilation-next-error-function): Obey the target buffer's
17293 compilation-error-screen-columns.
17294
17295 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17296
17297 * progmodes/meta-mode.el: Remove obsolete comments.
17298 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17299 Fix typos in docstrings.
17300
17301 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17302
17303 * window.el (window-size-fixed-p): Rewrite doc-string.
17304 (window-resizable-p): Rename to window--resizable-p. Update callers.
17305 (window--resizable): New function. Make all callers of
17306 window-resizable call window--resizable instead.
17307 (window-resizable): Rewrite in terms of window--resizable.
17308
17309 2011-11-08 Glenn Morris <rgm@gnu.org>
17310
17311 * progmodes/delphi.el (delphi-mode-syntax-table):
17312 Let define-derived-mode define a proper syntax table. (Bug#9994)
17313
17314 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17315
17316 * window.el: Stay away from defsubst.
17317 (window-list-no-nils): Remove.
17318 (window-state-get-1, window-state-get): Use backquote instead.
17319
17320 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17321
17322 * emacs-lisp/find-func.el (find-function-read):
17323 Fix incorrect use of default argument in `completing-read'.
17324
17325 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17326
17327 * window.el (display-buffer-function, special-display-function):
17328 Mention display-buffer-record-window but do not mention
17329 help-setup parameter in doc-strings.
17330 (window-min-delta): Fix doc-string typo.
17331
17332 2011-11-08 Chong Yidong <cyd@gnu.org>
17333
17334 * window.el (window-total-height, window-total-width): Doc fix.
17335 (window-body-size): Move from C.
17336 (window-body-height, window-body-width): Move to C.
17337
17338 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * window.el: Make special-display like display-buffer-alist (bug#9532).
17341 (display-buffer--special-action): New function, morphed
17342 from display-buffer--special.
17343 (display-buffer): Use it to handle special-display-buffers at higher
17344 priority (just after display-buffer-alist).
17345 (display-buffer-fallback-action, display-buffer--other-frame-action)
17346 (pop-to-buffer-same-window): Remove display-buffer--special.
17347
17348 2011-11-07 Glenn Morris <rgm@gnu.org>
17349
17350 * calendar/cal-menu.el (cal-menu-set-date-title):
17351 Do nothing if not in a calendar. (Bug#9976)
17352
17353 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17354
17355 * files.el (find-file): Always use selected-window.
17356
17357 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17358
17359 * window.el (window-combinations): Make WINDOW argument
17360 mandatory. Rewrite doc-string.
17361 (walk-window-subtree, window-atom-check, window-min-delta)
17362 (window-max-delta, window--resize-this-window)
17363 (window--resize-root-window-vertically, window-tree)
17364 (balance-windows, window-state-put): Rewrite doc-strings as to
17365 not mention the term "subwindow".
17366 (window--resize-subwindows-skip-p): Rename to
17367 window--resize-child-windows-skip-p.
17368 (window--resize-subwindows-normal): Rename to
17369 window--resize-child-windows-normal.
17370 (window--resize-subwindows): Rename to
17371 window--resize-child-windows.
17372 (window-or-subwindow-p): Rename to window--in-subtree-p.
17373
17374 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17375
17376 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17377 Ensure that mbox format messages end in two newlines (Bug#9974).
17378
17379 2011-11-06 Chong Yidong <cyd@gnu.org>
17380
17381 * window.el (window-combination-p): Function deleted; its
17382 side-effect is not used in any existing code.
17383 (window-combinations, window-combined-p): Call window-*-child
17384 directly.
17385
17386 2011-11-05 Chong Yidong <cyd@gnu.org>
17387
17388 * window.el (window-valid-p): Rename from window-any-p.
17389 (window-size-ignore, window-state-get): Callers changed.
17390 (window-normalize-window): Rename from window-normalize-any-window.
17391 New arg LIVE-ONLY, replacing window-normalize-live-window.
17392 (window-normalize-live-window): Delete.
17393 (window-combination-p, window-combined-p, window-combinations)
17394 (walk-window-subtree, window-atom-root, window-min-size)
17395 (window-sizable, window-sizable-p, window-size-fixed-p)
17396 (window-min-delta, window-max-delta, window-resizable)
17397 (window-resizable-p, window-full-height-p, window-full-width-p)
17398 (window-current-scroll-bars, window-point-1, set-window-point-1)
17399 (window-at-side-p, window-in-direction, window-resize)
17400 (adjust-window-trailing-edge, maximize-window, minimize-window)
17401 (window-deletable-p, delete-window, delete-other-windows)
17402 (record-window-buffer, unrecord-window-buffer)
17403 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17404 (quit-window, split-window, window-state-put)
17405 (set-window-text-height, fit-window-to-buffer)
17406 (shrink-window-if-larger-than-buffer): Callers changed.
17407
17408 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17409
17410 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17411 rfc2047-decode-string.
17412 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17413 warnings.
17414
17415 * window.el (window-body-height, window-body-width): Mention in
17416 the doc string that the return values are in frame's canonical
17417 units. (Bug#9949)
17418
17419 2011-11-03 Alan Mackenzie <acm@muc.de>
17420
17421 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17422 change in cc-engine.el.
17423
17424 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17425
17426 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17427
17428 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17429
17430 * window.el (quit-window): Call unrecord-window-buffer after
17431 showing another buffer in the window. (Bug#9937)
17432 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17433
17434 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17435
17436 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17437 Accept status with more than 9 shelves. (Bug#9935)
17438 Reported by Colin D Bennett <colin@gibibit.com>.
17439
17440 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17441
17442 * help.el (with-help-window): Don't reference
17443 temp-buffer-show-specifiers in doc-string.
17444
17445 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17446
17447 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17448 menu-item.
17449
17450 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17451
17452 * whitespace.el: New version 13.2.2.
17453 (whitespace-newline-mode): Disable properly. Reported by Sarah
17454 <EmacsWiki>.
17455
17456 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17457
17458 * net/newst-treeview.el: Remove "Time-stamp".
17459 (newsticker--group-manage-orphan-feeds): Do not call
17460 newsticker--treeview-tree-update.
17461 (newsticker-treeview-update, newsticker-treeview):
17462 Call newsticker--treeview-tree-update if necessary.
17463
17464 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17465
17466 * window.el (window-iso-combination-p, window-iso-combined-p)
17467 (window-iso-combinations): Remove "iso-" infix.
17468 Suggested by Chong Yidong.
17469 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17470 (window-max-delta-1, window-resize, window--resize-siblings)
17471 (window--resize-this-window, adjust-window-trailing-edge)
17472 (split-window, balance-windows-1)
17473 (shrink-window-if-larger-than-buffer):
17474 * calendar/calendar.el (calendar-generate-window):
17475 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17476
17477 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17478
17479 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17480 in place (bug#9907).
17481 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17482 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17483 (eshell-structure-basic-command, eshell-rewrite-while-command)
17484 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17485 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17486 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17487 (eshell-do-pipelines-synchronously, eshell-eval-command):
17488 Use backquotes and prefer setq to set.
17489 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17490 (eshell-macrop): Use functionp.
17491 (eshell-do-eval): Handle multiple expressions in `while' body.
17492
17493 2011-10-30 Chong Yidong <cyd@gnu.org>
17494
17495 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17496 instead of set-mark (Bug#9810).
17497
17498 2011-10-30 Chong Yidong <cyd@gnu.org>
17499
17500 * window.el (split-window-below, split-window-right): Rename from
17501 split-window-above-each-other and split-window-side-by-side
17502 respectively. All callers changed.
17503 (split-window-sensibly, split-window-sensibly): Use them.
17504 (split-window-keep-point): Doc fix.
17505
17506 * isearch.el: Add isearch-scroll property to split-window-below
17507 and split-window-right.
17508
17509 * follow.el (follow-mode):
17510 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17511 * progmodes/ada-xref.el (ada-gdb-application):
17512 * emulation/vip.el (vip-buffer-in-two-windows):
17513 * image-dired.el (image-dired-dired-with-window-configuration):
17514 * dired-x.el (dired-do-find-marked-files):
17515 * dired.el (dired-pop-to-buffer):
17516 * bs.el (bs--show-with-configuration):
17517 * vc/emerge.el (emerge-setup-windows):
17518 * textmodes/two-column.el (2C-two-columns):
17519 * textmodes/reftex-toc.el (reftex-toc):
17520 * progmodes/gdb-mi.el (gdb-setup-windows):
17521 * progmodes/fortran.el (fortran-window-create):
17522 * net/newst-treeview.el (newsticker--treeview-window-init):
17523 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17524 * emulation/tpu-edt.el (tpu-gold-map):
17525 * emulation/crisp.el (crisp-mode-map):
17526 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17527
17528 2011-10-29 Chong Yidong <cyd@gnu.org>
17529
17530 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17531
17532 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17533
17534 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17535 forged Ispell output (Bug#7904).
17536
17537 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17538
17539 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17540
17541 * doc-view.el: Avoid ugly errors about not finding nil.
17542 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17543 (doc-view-dvipdf-program, doc-view-unoconv-program)
17544 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17545 Avoid nil or absolute file name as default value.
17546 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17547
17548 2011-10-28 Alan Mackenzie <acm@muc.de>
17549
17550 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17551
17552 2011-10-28 Alan Mackenzie <acm@muc.de>
17553
17554 Amend the handling of c-beginning/end-of-defun in nested declaration
17555 scopes.
17556
17557 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17558 cc-langs.el. Change it to a defcustom.
17559
17560 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17561 cc-vars.el.
17562
17563 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17564 Prevent "class foo : bar" being spuriously recognized as a label.
17565
17566 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17567 Add parameter `inclusive' (to include enclosing braces in the region).
17568 (c-widen-to-enclosing-decl-scope): New function.
17569 (c-while-widening-to-decl-block): New macro.
17570 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17571 outward for defun boundaries, and correspondingly change symbol
17572 `respect-enclosure' to `go-outward'.
17573 (c-declaration-limits): Change algorithm to report only the "innermost"
17574 defun's boundaries.
17575
17576 2011-10-28 Deniz Dogan <deniz@dogan.se>
17577
17578 * net/rcirc.el (rcirc-mode): Use hard newlines.
17579
17580 2011-10-28 Alan Mackenzie <acm@muc.de>
17581
17582 Amend to indent and fontify macros "which include their own semicolon"
17583 correctly, using the "virtual semicolon" mechanism.
17584
17585 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17586
17587 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17588 Recode to scan one line at a time rather than having \n and \r
17589 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17590 (c-forward-label): Amend for virtual semicolons.
17591 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17592
17593 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17594 of the new C macros.
17595
17596 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17597 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17598 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17599 (c-opt-cpp-macro-define): Make into a full language variable.
17600 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17601 AWK Mode (including \n, \r) removed, no longer needed.
17602
17603 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17604 Invoke c-make-macro-with-semi-re.
17605
17606 * progmodes/cc-vars.el (c-macro-with-semi-re):
17607 (c-macro-names-with-semicolon): New variables.
17608 (c-make-macro-with-semi-re): New function.
17609
17610 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 * vc/log-edit.el: Fill empty field rather than adding new one.
17613 (log-edit-add-field): New function.
17614 (log-edit-insert-changelog): Use it.
17615
17616 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17617
17618 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17619
17620 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17621
17622 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17623 (gdb--check-interpreter): New function.
17624 (gdb): Use it.
17625
17626 2011-10-27 Glenn Morris <rgm@gnu.org>
17627
17628 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17629 (least-positive-float, least-negative-float)
17630 (least-positive-normalized-float, least-negative-normalized-float)
17631 (float-epsilon, float-negative-epsilon):
17632 Remove unnecessary declarations.
17633
17634 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17635 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17636 (least-positive-float, least-negative-float)
17637 (least-positive-normalized-float, least-negative-normalized-float)
17638 (float-epsilon, float-negative-epsilon): Add doc-strings,
17639 based on those in cl.texi.
17640
17641 * files.el (set-visited-file-name): If the major-mode changed,
17642 reload the local variables. (Bug#9796)
17643
17644 2011-10-27 Chong Yidong <cyd@gnu.org>
17645
17646 * subr.el (change-major-mode-after-body-hook): New hook.
17647 (run-mode-hooks): Run it.
17648
17649 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17650 Use change-major-mode-before-body-hook.
17651
17652 * simple.el (fundamental-mode):
17653 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17654 change introducing fundamental-mode-hook.
17655
17656 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17657
17658 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17659
17660 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17661
17662 * ido.el (ido-file-name-all-completions-1): Do not require
17663 tramp.el explicitly. (Bug#7583)
17664
17665 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17666
17667 * progmodes/octave-mod.el:
17668 * progmodes/octave-inf.el: Update maintainer.
17669
17670 2011-10-26 Chong Yidong <cyd@gnu.org>
17671
17672 * subr.el (with-wrapper-hook): Rewrite doc.
17673
17674 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17675
17676 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17677 filenames "/method:foo:". (Bug#9793)
17678
17679 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17680
17681 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17682 (bug#9865).
17683
17684 2011-10-24 Glenn Morris <rgm@gnu.org>
17685
17686 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17687
17688 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17689
17690 * notifications.el: Add the requirement of a running D-Bus session
17691 bus to the Commentary.
17692
17693 2011-10-24 Juri Linkov <juri@jurta.org>
17694
17695 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17696 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17697 (Bug#9364)
17698
17699 2011-10-24 Juri Linkov <juri@jurta.org>
17700
17701 * info.el (Info-following-node-name-re): Add newline to the list
17702 of allowed characters for leading space. (Bug#9824)
17703
17704 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17705
17706 * progmodes/octave-inf.el (inferior-octave-mode-map):
17707 Fix C-c C-h binding.
17708 * progmodes/octave-mod.el (octave-help): Remove.
17709
17710 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17711
17712 Sync with Tramp 2.2.3.
17713
17714 * net/tramp-cache.el (top): Pacify byte-compiler using
17715 `init-file-user' and `site-run-file'.
17716
17717 * net/trampver.el: Update release number.
17718
17719 2011-10-23 Chong Yidong <cyd@gnu.org>
17720
17721 * files.el (toggle-read-only): Remove obsolete comment about
17722 version control.
17723
17724 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17725 for toggle-read-only. Note that this hasn't called vc-next-action
17726 since 2008-05-02, though it wasn't documented at the time.
17727
17728 * vc/ediff-init.el (ediff-toggle-read-only-function):
17729 Use toggle-read-only.
17730
17731 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17732
17733 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17734 of c-parse-state.
17735
17736 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17737 correct faulty logical expression.
17738 (c-parse-state-state, c-record-parse-state-state):
17739 (c-replay-parse-state-state): New defvar/defuns.
17740 (c-debug-parse-state): Use new functions.
17741
17742 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17743
17744 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17745 last fix. Use window-in-direction correctly.
17746
17747 2011-10-21 Chong Yidong <cyd@gnu.org>
17748
17749 * progmodes/idlwave.el (idlwave-mode):
17750 * progmodes/vera-mode.el (vera-mode): No need to set
17751 require-final-newline; that's done in prog-mode.
17752 Suggested by Stefan Monnier.
17753
17754 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17755
17756 * mouse.el (mouse-drag-window-above)
17757 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17758 (mouse-drag-mode-line-1, mouse-drag-header-line)
17759 (mouse-drag-vertical-line-rightward-window): Remove.
17760 (mouse-drag-line): New function.
17761 (mouse-drag-mode-line, mouse-drag-header-line)
17762 (mouse-drag-vertical-line): Call mouse-drag-line.
17763 * window.el (window-at-side-p, windows-at-side): New functions.
17764
17765 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17766
17767 * tar-mode.el (tar-grind-file-mode):
17768 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17769
17770 2011-10-21 Chong Yidong <cyd@gnu.org>
17771
17772 * progmodes/idlwave.el (idlwave-mode):
17773 * progmodes/vera-mode.el (vera-mode):
17774 Use mode-require-final-newline.
17775
17776 2011-10-20 Glenn Morris <rgm@gnu.org>
17777
17778 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17779
17780 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17781
17782 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17783
17784 2011-10-20 Chong Yidong <cyd@gnu.org>
17785
17786 * emulation/cua-base.el (cua-mode):
17787 * mail/footnote.el (footnote-mode):
17788 * mail/mailabbrev.el (mail-abbrevs-mode):
17789 * net/xesam.el (xesam-minor-mode):
17790 * progmodes/bug-reference.el (bug-reference-mode):
17791 * progmodes/cap-words.el (capitalized-words-mode):
17792 * progmodes/compile.el (compilation-minor-mode)
17793 (compilation-shell-minor-mode):
17794 * progmodes/gud.el (gud-tooltip-mode):
17795 * progmodes/hideif.el (hide-ifdef-mode):
17796 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17797 * progmodes/subword.el (subword-mode):
17798 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17799 * progmodes/which-func.el (which-function-mode):
17800 * term/tvi970.el (tvi970-set-keypad-mode):
17801 * term/vt100.el (vt100-wide-mode):
17802 * textmodes/flyspell.el (flyspell-mode):
17803 * textmodes/ispell.el (ispell-minor-mode):
17804 * textmodes/nroff-mode.el (nroff-electric-mode):
17805 * textmodes/paragraphs.el (use-hard-newlines):
17806 * textmodes/refill.el (refill-mode):
17807 * textmodes/reftex.el (reftex-mode):
17808 * textmodes/rst.el (rst-minor-mode):
17809 * textmodes/sgml-mode.el (html-autoview-mode)
17810 (sgml-electric-tag-pair-mode):
17811 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17812 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17813 * emulation/crisp.el (crisp-mode):
17814 * emacs-lisp/eldoc.el (eldoc-mode):
17815 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17816 minor mode behavior.
17817
17818 2011-10-19 Juri Linkov <juri@jurta.org>
17819
17820 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17821 the list of hard-coded chars with escape-glyph face.
17822
17823 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17824
17825 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17826
17827 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17828
17829 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17830 running process.
17831
17832 2011-10-19 Glenn Morris <rgm@gnu.org>
17833
17834 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17835 Ignore ignored files. (Bug#9726)
17836
17837 2011-10-19 Chong Yidong <cyd@gnu.org>
17838
17839 Doc fix for minor modes, stating that an omitted argument enables
17840 the mode unconditionally when called from Lisp.
17841
17842 * abbrev.el (abbrev-mode):
17843 * allout.el (allout-mode):
17844 * autoinsert.el (auto-insert-mode):
17845 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17846 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17847 (global-auto-revert-mode):
17848 * battery.el (display-battery-mode):
17849 * composite.el (global-auto-composition-mode)
17850 (auto-composition-mode):
17851 * delsel.el (delete-selection-mode):
17852 * desktop.el (desktop-save-mode):
17853 * dired-x.el (dired-omit-mode):
17854 * dirtrack.el (dirtrack-mode):
17855 * doc-view.el (doc-view-minor-mode):
17856 * double.el (double-mode):
17857 * electric.el (electric-indent-mode, electric-pair-mode):
17858 * emacs-lock.el (emacs-lock-mode):
17859 * epa-hook.el (auto-encryption-mode):
17860 * follow.el (follow-mode):
17861 * font-core.el (font-lock-mode):
17862 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17863 * help.el (temp-buffer-resize-mode):
17864 * hilit-chg.el (highlight-changes-mode)
17865 (highlight-changes-visible-mode):
17866 * hi-lock.el (hi-lock-mode):
17867 * hl-line.el (hl-line-mode, global-hl-line-mode):
17868 * icomplete.el (icomplete-mode):
17869 * ido.el (ido-everywhere):
17870 * image-file.el (auto-image-file-mode):
17871 * image-mode.el (image-minor-mode):
17872 * iswitchb.el (iswitchb-mode):
17873 * jka-cmpr-hook.el (auto-compression-mode):
17874 * linum.el (linum-mode):
17875 * longlines.el (longlines-mode):
17876 * master.el (master-mode):
17877 * mb-depth.el (minibuffer-depth-indicate-mode):
17878 * menu-bar.el (menu-bar-mode):
17879 * minibuf-eldef.el (minibuffer-electric-default-mode):
17880 * mouse-sel.el (mouse-sel-mode):
17881 * msb.el (msb-mode):
17882 * mwheel.el (mouse-wheel-mode):
17883 * outline.el (outline-minor-mode):
17884 * paren.el (show-paren-mode):
17885 * recentf.el (recentf-mode):
17886 * reveal.el (reveal-mode, global-reveal-mode):
17887 * rfn-eshadow.el (file-name-shadow-mode):
17888 * ruler-mode.el (ruler-mode):
17889 * savehist.el (savehist-mode):
17890 * scroll-all.el (scroll-all-mode):
17891 * scroll-bar.el (scroll-bar-mode):
17892 * server.el (server-mode):
17893 * shell.el (shell-dirtrack-mode):
17894 * simple.el (auto-fill-mode, transient-mark-mode)
17895 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17896 (line-number-mode, column-number-mode, size-indication-mode)
17897 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17898 * strokes.el (strokes-mode):
17899 * time.el (display-time-mode):
17900 * t-mouse.el (gpm-mouse-mode):
17901 * tool-bar.el (tool-bar-mode):
17902 * tooltip.el (tooltip-mode):
17903 * type-break.el (type-break-mode-line-message-mode)
17904 (type-break-query-mode):
17905 * view.el (view-mode):
17906 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17907 (global-whitespace-mode, global-whitespace-newline-mode):
17908 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17909
17910 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17911 Fix autogenerated docstring.
17912
17913 2011-10-19 Juri Linkov <juri@jurta.org>
17914
17915 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17916 by checking environment variables "DESKTOP_SESSION" and
17917 "XDG_CURRENT_DESKTOP". (Bug#9779)
17918
17919 2011-10-19 Juri Linkov <juri@jurta.org>
17920
17921 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17922 (browse-url-chromium-program, browse-url-chromium-arguments):
17923 New defcustoms.
17924 (browse-url-default-browser): Check for `browse-url-chromium' and
17925 call `browse-url-chromium-program'.
17926 (browse-url-chromium): New command. (Bug#9779)
17927
17928 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17929
17930 * facemenu.el (list-colors-duplicates): On Windows, detect more
17931 duplicates by assuming that only colors matching "^System" are
17932 special "system colors". (Bug#9722)
17933
17934 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17935
17936 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17937 to distinguish the author from the committer.
17938
17939 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17940
17941 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17942
17943 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17944
17945 * international/mule.el (sgml-html-meta-auto-coding-function):
17946 Add support for detecting encoding in HTML5 specified only as
17947 <meta charset="UTF-8">. Implementation just makes http-equiv and
17948 content-type parts from HTML4 encoding string optional. (Bug#9716)
17949
17950 2011-10-18 Glenn Morris <rgm@gnu.org>
17951
17952 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17953
17954 2011-10-18 Chong Yidong <cyd@gnu.org>
17955
17956 * faces.el (cursor): Doc fix.
17957
17958 2011-10-17 Chong Yidong <cyd@gnu.org>
17959
17960 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17961
17962 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17963
17964 * dirtrack.el (dirtrack): Support shell buffers with path
17965 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17966
17967 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17968
17969 * json.el: Bump version to 1.3 and note change in History.
17970 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17971
17972 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17973
17974 * comint.el (comint-insert-input, comint-send-input)
17975 (comint-get-old-input-default, comint-backward-matching-input)
17976 (comint-next-prompt): Use nil instead of `input' for field property of
17977 past user input (bug#114).
17978
17979 * minibuffer.el (completion--replace): Inherit surrounding properties
17980 (bug#114).
17981 (minibuffer-complete-and-exit): Use it.
17982
17983 * comint.el (comint--table-subvert): Quote the all-completions output
17984 (bug#9160).
17985
17986 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17987
17988 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17989
17990 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17991 window on right of selected. (Bug#9350) Reword other window
17992 entries and separate them from frame entries.
17993
17994 2011-10-15 Glenn Morris <rgm@gnu.org>
17995
17996 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17997 Doc fixes.
17998
17999 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18000
18001 * net/network-stream.el (network-stream-open-starttls):
18002 Improve detection of failure due to lack of TLS support.
18003
18004 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18005 putting the input text in front and in bold.
18006
18007 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18010
18011 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18012 empty buffer.
18013
18014 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18015 unread-command-events rather than pushing yet-another event.
18016
18017 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18018
18019 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18020 the explanation of the possible choices. Make the options passed
18021 to completing-read shorter.
18022
18023 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18024
18025 * textmodes/flyspell.el (flyspell-large-region): Make sure
18026 extended character mode is used if defined (Bug#1339).
18027
18028 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18029
18030 * simple.el (what-cursor-position): Fix the display of the
18031 character info for LRE, LRO, RLE, and RLO characters by appending
18032 an invisible PDF.
18033
18034 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18035
18036 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18037 even in case of error; add debug spec; simplify data flow.
18038 (with-timeout-handler): Remove.
18039
18040 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18041
18042 Fix Bug#6019, Bug#9315.
18043
18044 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18045 complete `buffer-file-name', the local file name part could look
18046 remotely (for example on VMS).
18047
18048 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18049 `tramp-run-real-handler'.
18050 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18051 already quoted by '"'.
18052
18053 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18054 Let `file-name-handler-alist' be nil, the local file name part
18055 could look remotely (for example on VMS).
18056
18057 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18058
18059 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18060 from here...
18061 (flyspell-post-command-hook): ...to here.
18062
18063 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18064
18065 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18066 if not needed.
18067 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18068 using completion. Protect against "slow" callers.
18069 Remove the "message hack".
18070
18071 2011-10-11 Juri Linkov <juri@jurta.org>
18072
18073 * isearch.el (isearch-lazy-highlight-word): New variable.
18074 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18075 Use it. (Bug#9727)
18076
18077 2011-10-11 Glenn Morris <rgm@gnu.org>
18078
18079 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18080 like f90-previous-statement does.
18081
18082 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18083
18084 * eshell/eshell.el (eshell-command): History should be saved
18085 only in interactive use, to avoid error.
18086
18087 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * minibuffer.el (completion-file-name-table): Fix last change,
18090 i.e. ignore normal errors but not the other ones.
18091
18092 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18093
18094 * window.el (special-display-buffer-names)
18095 (special-display-regexps): Remove some remnants of earlier
18096 changes from doc-strings.
18097 (quit-windows-on): New function.
18098
18099 * vc/vc.el (vc-revert, vc-rollback):
18100 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18101 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18102 (Bug#6183) (Bug#7074) (Bug#7447)
18103
18104 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18105
18106 * window.el (frame-auto-hide-function): Add version tag.
18107 (Bug#9699)
18108
18109 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18110
18111 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18112 condition.
18113
18114 2011-10-09 Leo Liu <sdl.web@gmail.com>
18115
18116 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18117 (Bug#9701)
18118
18119 2011-10-08 Glenn Morris <rgm@gnu.org>
18120
18121 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18122 before the first code statement zero indent. (Bug#9690)
18123
18124 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18125
18126 * simple.el (count-words-region): Always count in the region.
18127 Report the number of lines and characters too.
18128 (count-words): New command, which counts in the buffer if the
18129 region is inactive, as count-words-region used to.
18130 (count-words--message): New function. Handle plurals.
18131 (count-lines-region): Make it an alias for count-words-region.
18132
18133 * bindings.el (esc-map): Replace count-lines-region with
18134 count-words-region.
18135
18136 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18137
18138 * window.el (window--delete): Delete dedicated frame
18139 unconditionally when argument KILL is non-nil. (Bug#9699)
18140 (switch-to-buffer): Fix doc-string typo.
18141
18142 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18143
18144 * eshell/eshell.el (eshell-command): Avoid using hooks.
18145
18146 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18147
18148 * bindings.el ([M-left],[M-right]): Bind to left-word and
18149 right-word respectively.
18150
18151 2011-10-07 Glenn Morris <rgm@gnu.org>
18152
18153 * cus-start.el (debug-on-quit): Fix custom type.
18154
18155 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18156
18157 * subr.el (define-key-after): Clarify that the function is not
18158 useful for non-menu keymaps.
18159
18160 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18161
18162 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18163
18164 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18165 in current minibuffer (Fix bug with recursive minibuffers).
18166
18167 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18168
18169 * progmodes/gdb-mi.el (gdb): Doc fix.
18170
18171 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18172
18173 * window.el (frame-auto-hide-function): New option replacing
18174 frame-auto-delete. Suggested by Stefan Monnier.
18175 (window--delete): Call frame-auto-hide-function instead of
18176 investigating frame-auto-delete.
18177 (window-point-1, set-window-point-1): New functions.
18178 (window-in-direction, record-window-buffer, window-state-get-1)
18179 (display-buffer-record-window): Use window-point-1 instead of
18180 window-point.
18181 (set-window-buffer-start-and-point): Use set-window-point-1.
18182
18183 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18186
18187 2011-10-05 Glenn Morris <rgm@gnu.org>
18188
18189 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18190 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18191
18192 2011-10-05 Leo Liu <sdl.web@gmail.com>
18193
18194 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18195 works with buffer object.
18196
18197 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * mpc.el (mpc-tool-bar-map): Add labels.
18200
18201 2011-10-04 Glenn Morris <rgm@gnu.org>
18202
18203 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18204
18205 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18206
18207 * window.el (window--delete): New function.
18208 (frame-auto-delete): Resuscitate option.
18209 (bury-buffer, replace-buffer-in-windows)
18210 (quit-window): Rewrite using window--delete.
18211 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18212 Pass display-buffer-mark-dedicated to window--display-buffer-2
18213 (Bug#9639).
18214
18215 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18216
18217 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18218 returns a list (bug#9554). Add remote file name completion.
18219 * comint.el (comint--table-subvert): Curry and get quote&unquote
18220 functions as arguments.
18221 (comint--complete-file-name-data): Adjust call accordingly.
18222 * pcomplete.el (pcomplete--table-subvert): Remove.
18223 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18224
18225 * minibuffer.el (completion-table-case-fold): Use currying.
18226 (completion--styles-type, completion--cycling-threshold-type):
18227 New constants.
18228 (completion-styles, completion-category-overrides)
18229 (completion-cycle-threshold): Use them.
18230 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18231 completion-table-case-fold.
18232
18233 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18234
18235 * minibuffer.el (completion-category-overrides): Fix type of styles
18236 and add more user friendly tags (bug#9660).
18237
18238 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18239
18240 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18241 (mule-input-method-string): New widget.
18242 (default-input-method, language-info-custom-alist): Use it.
18243
18244 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18245
18246 * pcomplete.el: Require comint.
18247 (pcomplete--common-suffix): Remove.
18248 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18249 (pcomplete--table-subvert): Sync with comint--table-subvert.
18250 (pcomplete--entries): Use comint-completion-file-name-table.
18251 * comint.el (comint-unquote-filename): Simplify.
18252 (comint-completion-file-name-table): New function (bug#9616).
18253 (comint--complete-file-name-data): Use it.
18254
18255 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18256 (pcmpl-gnu-tar-buffer): Remove.
18257 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18258 around. Make sure pcomplete-suffix-list is only changed temporarily.
18259 Don't look inside the tar's file if it's too large.
18260
18261 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18262
18263 * cus-edit.el (custom-mode-map):
18264 * epa.el (epa-key-list-mode-map):
18265 * man.el (Man-mode-map):
18266 * startup.el (splash-screen-keymap):
18267 * simple.el (special-mode-map): Use scroll-up-command and
18268 scroll-down-command.
18269
18270 * progmodes/idlw-help.el (idlwave-help-mode-map):
18271 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18272 * net/newst-plainview.el (newsticker-mode-map):
18273 * emulation/ws-mode.el (wordstar-mode-map):
18274 * emulation/vi.el (vi-com-map):
18275 * calc/calc-graph.el (calc-graph-show-dumb):
18276 * term/sun.el (terminal-init-sun):
18277 * term/ns-win.el (global-map):
18278 * progmodes/grep.el (grep-mode-map):
18279 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18280 * mail/rmail.el (rmail-mode-map):
18281 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18282
18283 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18284 custom-safe-themes as special.
18285
18286 2011-10-01 Julien Danjou <julien@danjou.info>
18287
18288 * notifications.el (notifications-notify): Fix docstring.
18289
18290 2011-10-01 Per Starbäck <per@starback.se>
18291
18292 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18293
18294 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18295
18296 * startup.el (command-line-1): Fix last fix by inserting
18297 initial-scratch-message into *scratch* before displaying it.
18298 (Bug#9605) and (Bug#9636)
18299
18300 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18301
18302 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18303 window is hscrolled, move by logical lines. (Bug#9607)
18304 (line-move-visual): Update the doc string to the above effect.
18305
18306 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18307
18308 * window.el (display-buffer-record-window): When WINDOW is the
18309 selected window use `point' instead of `window-point'. (Bug#9626)
18310
18311 * startup.el (command-line-1): Use insert-before-markers when
18312 inserting initial-scratch-message. (Bug#9605)
18313
18314 * help.el (help-window): Remove variable.
18315
18316 2011-09-29 Glenn Morris <rgm@gnu.org>
18317
18318 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18319
18320 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18321
18322 * descr-text.el (describe-char-categories): Accept category
18323 descriptions more than one line long.
18324
18325 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18326
18327 * simple.el (delete-trailing-whitespace): Fix last change.
18328
18329 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18330 Don't confuse "y => 3" as the beginning of a `y' operation.
18331
18332 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18333 object has more than 4 slots (bug#9613).
18334
18335 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18336
18337 * subr.el (with-output-to-temp-buffer):
18338 * net/quickurl.el (quickurl, quickurl-browse-url):
18339 Fix typos in docstrings.
18340
18341 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18342
18343 * minibuffer.el (completion-styles)
18344 (completion-category-overrides): Cross reference each other in doc
18345 strings.
18346
18347 2011-09-27 Glenn Morris <rgm@gnu.org>
18348
18349 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18350 to split-string. (Bug#9606)
18351
18352 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18353
18354 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18355 (bug#9615).
18356
18357 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18358
18359 * emacs-lisp/package.el (list-packages): Fix echo area message.
18360
18361 2011-09-27 Leo Liu <sdl.web@gmail.com>
18362
18363 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18364
18365 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18366
18367 * net/dbus.el (dbus-unregister-object): Don't release services for
18368 registered signals. (Bug#9581)
18369
18370 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18371
18372 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18373 function that picks between cfengine 2 and 3 support
18374 automatically. Update docs accordingly.
18375
18376 2011-09-22 Kenichi Handa <handa@m17n.org>
18377
18378 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18379 ZERO.
18380 (indian-itrans-v5-table-for-tamil): New variable.
18381 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18382
18383 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18384
18385 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18386 that's true if the current command involved collapsing of text.
18387 It's reset to false at the beginning of the next command.
18388 (allout-post-command-business): Move the cursor to the beginning
18389 of entry if the cursor is hidden and collapsing activity just
18390 happened.
18391
18392 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18393
18394 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18395 tracking (Bug#9541).
18396
18397 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18398
18399 * net/newst-reader.el (newsticker-html-renderer)
18400 (newsticker-show-news): Automatically load html rendering package
18401 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18402 because w3m-fill-column is let-bound" and the error "Symbol's value
18403 as variable is void: w3m-fill-column".
18404
18405 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18406
18407 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18408 Release services only if they are defined. (Bug#9581)
18409
18410 2011-09-23 Richard Stallman <rms@gnu.org>
18411
18412 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18413 distinguish start of paragraph from start of its text.
18414
18415 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18416
18417 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18418 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18419 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18420
18421 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18422
18423 * international/mule-diag.el (mule-diag): Insert a newline after
18424 each fontset description.
18425
18426 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18427
18428 * simple.el (delete-trailing-whitespace):
18429 Document last change; simplify.
18430
18431 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18432
18433 * simple.el (delete-trailing-whitespace): Also delete
18434 extra newlines at the end of the buffer.
18435
18436 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18437 (picture-newline): Use forward-line so as to ignore fields.
18438
18439 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18440
18441 * subr.el (with-wrapper-hook): Fix edebug spec.
18442
18443 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18444
18445 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18446 (bug#4538).
18447
18448 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18449
18450 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18451 Fix nasty bug using wrong cached values.
18452
18453 2011-09-23 Alan Mackenzie <acm@muc.de>
18454
18455 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18456
18457 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18458
18459 * window.el (pop-to-buffer): Ensure right window is selected if we
18460 chose another frame.
18461
18462 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18463
18464 * simple.el (what-cursor-position): Use get-char-property-change
18465 and next-single-char-property-change, to be able to show display
18466 properties that come from overlays as well as text properties.
18467
18468 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18469
18470 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18471
18472 * cmuscheme.el (run-scheme, switch-to-scheme):
18473 * cus-edit.el (customize-group, custom-buffer-create)
18474 (customize-browse):
18475 * info.el (info):
18476 * shell.el (shell):
18477 * mail/sendmail.el (mail):
18478 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18479
18480 2011-09-22 Richard Stallman <rms@gnu.org>
18481
18482 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18483 move back only to line beg, don't move back over blank lines.
18484
18485 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18486
18487 * files.el (copy-directory): Set directory attributes only in case
18488 they could be retrieved from the source directory. (Bug#9565)
18489
18490 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18491
18492 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18493 (hs-find-block-beginning, hs-hide-level-recursive):
18494 Ignore strings as well as comments. (Bug#9502)
18495
18496 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18497
18498 * progmodes/sql.el (sql-comint-postgres):
18499 Convert port number to a string. (Bug#9566)
18500
18501 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18502
18503 * window.el (quit-window): Undedicate window when switching to
18504 previous buffer. Reported by Thierry Volpiatto
18505 <thierry.volpiatto@gmail.com>.
18506 (special-display-popup-frame): When popping up a new frame reset
18507 its previous buffers to nil. Simplify code.
18508
18509 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18510
18511 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18512 and process filter, as done also in `shell-command'.
18513
18514 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18515
18516 * window.el (set-window-buffer-start-and-point):
18517 Call set-window-start with NOFORCE argument t.
18518 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18519 (quit-window): Reword doc-string. Handle new format of
18520 quit-restore parameter. Don't delete window if it has a
18521 previous buffer we can show instead of the present one.
18522 (display-buffer-record-window): Rewrite using a new format for
18523 the quit-restore window parameter
18524 (special-display-popup-frame, display-buffer-same-window)
18525 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18526 (display-buffer-pop-up-window, display-buffer-use-some-window):
18527 Adapt symbol passed to display-buffer-record-window.
18528 * help.el (help-window-setup): Handle new format of quit-restore
18529 parameter.
18530
18531 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18532
18533 * faces.el (face-list): Fix docstring (bug#9564).
18534
18535 * window.el (display-buffer--action-function-custom-type):
18536 Don't include internal functions in the Custom interface.
18537
18538 2011-09-20 Juri Linkov <juri@jurta.org>
18539
18540 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18541 (Info-forward-node, Info-backward-node, Info-next-preorder)
18542 (Info-last-preorder): Use it. (Bug#9528)
18543
18544 2011-09-20 Juri Linkov <juri@jurta.org>
18545
18546 * info.el (Info-last-preorder): Visit last menu item only when
18547 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18548
18549 2011-09-20 Julien Danjou <julien@danjou.info>
18550
18551 * password-cache.el (password-cache-remove): Remove entries even if the
18552 value is nil, so that password with a nil value (negative caching) is
18553 possible to invalidate.
18554
18555 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18556
18557 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18558 all whitespace around breakpoint. (Bug#9553)
18559 (f90-find-breakpoint): Only break at whitespace inside a comment.
18560
18561 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * minibuffer.el (completion-file-name-table): Keep track of errors.
18564 (completion-table-with-predicate): Handle the case where pred1 is nil.
18565 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18566
18567 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18568
18569 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18570 (debugger-return-value): Signal an error if the debugging context does
18571 not await any return value.
18572
18573 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18574 * image-mode.el (image-toggle-display-text)
18575 (image-toggle-display-image): Stay away from evil `intangible'.
18576
18577 2011-09-19 Leo Liu <sdl.web@gmail.com>
18578
18579 * replace.el (occur-revert-arguments): Make it permanent-local.
18580 (occur-mode): Don't call font-lock-defontify.
18581
18582 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18583
18584 * net/ldap.el (ldap-search-internal): Don't push empty search
18585 result (Bug#9508).
18586
18587 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18588
18589 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18590
18591 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18592
18593 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18594 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18595
18596 2011-09-18 Juri Linkov <juri@jurta.org>
18597
18598 * buff-menu.el (Buffer-menu-mode-map):
18599 * dired.el (dired-mode-map):
18600 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18601 (lisp-interaction-mode-map):
18602 * emacs-lisp/package.el (package-menu-mode-map):
18603 * epa.el (epa-key-list-mode-map):
18604 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18605 (menu-bar-options-menu):
18606 * outline.el (outline-mode-menu-bar-map):
18607 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18608 * vc/vc-dir.el (vc-dir-menu-map):
18609 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18610 Capitalize non-function content words in menu item strings.
18611
18612 * dired.el (dired-mode-map): Add menu item for
18613 `image-dired-dired-toggle-marked-thumbs'.
18614
18615 2011-09-18 Juri Linkov <juri@jurta.org>
18616
18617 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18618 to `isearch-case-fold-search' and restore its original value
18619 after the `isearch-mode' call.
18620
18621 2011-09-18 Juri Linkov <juri@jurta.org>
18622
18623 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18624 because `zgrep' returns 1 for successful matches (bug#9226).
18625
18626 2011-09-18 Juri Linkov <juri@jurta.org>
18627
18628 * info.el (Info-extract-menu-node-name): Check the second match
18629 for empty string (second test-case of bug#9528).
18630 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18631 intermediate nodes to the history (first test-case of bug#9528).
18632
18633 2011-09-18 Juri Linkov <juri@jurta.org>
18634
18635 * info.el (Info-mode-syntax-table): New variable.
18636 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18637
18638 2011-09-18 Juri Linkov <juri@jurta.org>
18639
18640 * info.el (Info-file-supports-index-cookies):
18641 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18642 outputs one more line for long file names (bug#4142).
18643
18644 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18645
18646 * newcomment.el (comment-normalize-vars): If prompting for
18647 comment-start, set comment-start-skip too (Bug#8424).
18648
18649 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18650
18651 * icomplete.el: Fix previous fix of Bug#5849.
18652 (icomplete-mode): Don't set completion-show-inline-help.
18653 (icomplete-minibuffer-setup): Set completion-show-inline-help
18654 locally during icompletion.
18655
18656 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18657
18658 * woman.el (woman2-process-escapes): Don't delete unrecognized
18659 escapes (Bug#7843).
18660
18661 * files.el (inhibit-first-line-modes-regexps): Add image files.
18662 (hack-local-variables-prop-line): Return nil for malformed
18663 prop-lines (Bug#9044).
18664
18665 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18666
18667 * net/tramp.el (top): Don't require 'shell.
18668 (tramp-methods): Fix docstring.
18669 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18670 Return complete remote file name. Handle "smb" case.
18671 Use `tramp-tmpdir', if defined for the respective method.
18672 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18673
18674 * net/tramp-compat.el (top): Require 'shell.
18675
18676 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18677 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18678 `tramp-current-host'.
18679 (tramp-get-remote-tmpdir): Remove.
18680
18681 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18682 `tramp-tmpdir' entries.
18683 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18684 (tramp-smb-handle-file-attributes): Ignore errors.
18685 (tramp-smb-wait-for-output): Check also for process end.
18686
18687 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18688
18689 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18690 when sending QUIT (bug#9312).
18691
18692 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18693
18694 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18695 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18696 occur-mode-display-occurrence.
18697 (occur-edit-mode): Add usage message.
18698 (occur-cease-edit): New command.
18699 (occur-after-change-function): Use text properties to find the
18700 position of the prefix text.
18701 (occur-engine): Set stickiness of prefix text properties.
18702
18703 2011-09-17 Glenn Morris <rgm@gnu.org>
18704
18705 * progmodes/etags.el (complete-tag):
18706 Fix call to completion-in-region. (Bug#9526)
18707
18708 2011-09-17 Juri Linkov <juri@jurta.org>
18709
18710 * textmodes/ispell.el (ispell-word): Add to the error message
18711 the word, ispell program name and current dictionary (bug#9121).
18712 (ispell-tex-arg-end): Capitalize "error" in the error message.
18713
18714 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18715
18716 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18717 check. (Bug#4251)
18718
18719 2011-09-17 Juri Linkov <juri@jurta.org>
18720
18721 * window.el (window-safe-min-height, window-safe-min-width):
18722 Fix typos (followup to bug#9522).
18723
18724 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18725
18726 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18727
18728 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18729
18730 * simple.el (line-move): If goal-column is set, move by logical
18731 lines, not by display lines. (Bug#971)
18732 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18733 to reflect the above change.
18734
18735 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18736
18737 * image.el (imagemagick-register-types): Use regexp-opt.
18738
18739 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18740
18741 * window.el (display-buffer-base-action): Rename from
18742 display-buffer-default-action. Make default value empty.
18743 (display-buffer-overriding-action): Convert to defvar.
18744 (display-buffer-fallback-action): New var.
18745
18746 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18747
18748 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18749 declaration.
18750 (package--add-to-archive-contents): If there is a duplicate entry
18751 with an older version, remove it.
18752 (package-menu-mark-delete, package-menu-mark-install)
18753 (package-menu-mark-unmark): Make unused args optional.
18754 (package-menu-mark-obsolete-for-deletion):
18755 Use package-menu-get-status instead of a regexp search.
18756 (package-menu-get-status): Use tabulated-list-entry.
18757 (package-menu-mark-upgrades): New command.
18758 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18759 (package-menu-execute): Do installation before deletion.
18760 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18761 instead of checking major-mode.
18762 (package-menu--find-upgrades): New function.
18763
18764 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18765
18766 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18767 passwords in the log buffer.
18768 (smtpmail-process-filter): Update the process marker so that the
18769 "broken by peer" status message is inserted in the right place.
18770
18771 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18772
18773 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18774 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18775 bibtex-completion-at-point-function.
18776 (bibtex-completion-at-point-function): Use them.
18777
18778 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18779
18780 * mpc.el (mpc-constraints-tag-lookup): New function.
18781 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18782 also to browser "album|playlist".
18783
18784 2011-09-14 Juri Linkov <juri@jurta.org>
18785
18786 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18787 (isearch-edit-string): Use length of `isearch-string' when
18788 `isearch-fail-pos' returns nil.
18789 (isearch-message): Remove duplicate code and call
18790 `isearch-fail-pos' with arg `t'.
18791
18792 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18793
18794 * replace.el (occur-mode-goto-occurrence): Don't force using other
18795 window (Bug#9499).
18796
18797 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18798
18799 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18800
18801 * window.el (display-buffer-window): Remove.
18802 (display-buffer-record-window): Use help-setup window parameter
18803 instead of variable display-buffer-window.
18804 (display-buffer-function, special-display-buffer-names)
18805 (special-display-function): Mention help-setup parameter instead
18806 of display-buffer-window in doc-string.
18807 * help.el (help-window-setup): New argument help-window.
18808 Use help-window-setup parameter instead of display-buffer-window.
18809 Reword some messages.
18810 (with-help-window): Pass window used for displaying the buffer
18811 to help-window-setup. Don't set display-buffer-window.
18812
18813 2011-09-13 Glenn Morris <rgm@gnu.org>
18814
18815 * emacs-lisp/debug.el (debugger-make-xrefs):
18816 Preserve point. (Bug#9462)
18817
18818 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18819
18820 * window.el (window-deletable-p): Use next-frame.
18821
18822 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18823
18824 * window.el (window-auto-delete): Remove.
18825 (window-deletable-p): Remove argument FORCE. Don't deal with
18826 dedication and previous buffers.
18827 (switch-to-prev-buffer): Don't delete window.
18828 (delete-windows-on): Delete a window's frame if and only if the
18829 window is dedicated.
18830 (replace-buffer-in-windows): Delete buffer's window or frame if
18831 and only if window is dedicated.
18832 (quit-window): Handle quit-restore as before last change.
18833 (bury-buffer): Delete window only if window-deletable-p returns t.
18834
18835 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18836
18837 * window.el (window-deletable-p): Never delete the last frame on a
18838 given terminal.
18839
18840 2011-09-13 Glenn Morris <rgm@gnu.org>
18841
18842 * help.el (describe-key-briefly): Copy previous standard-output change.
18843
18844 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18845
18846 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18847
18848 2011-09-13 Glenn Morris <rgm@gnu.org>
18849
18850 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18851 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18852
18853 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18854
18855 * dired-aux.el (dired-mark-read-string): Don't return default
18856 value on empty input (Bug#9361).
18857 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18858 Omit initial minibuffer contents.
18859 (dired-do-chmod): Signal an error on empty input.
18860 (dired-mark-read-string): Don't return default on empty input.
18861
18862 * files.el (file-modes-symbolic-to-number): Doc fix.
18863
18864 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * international/mule-cmds.el (ucs-completions): Remove.
18867 (read-char-by-name): Use complete-with-action instead; add metadata.
18868
18869 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18870
18871 * window.el (display-buffer--action-function-custom-type)
18872 (display-buffer--action-custom-type): New vars.
18873 (display-buffer-alist, display-buffer-default-action)
18874 (display-buffer-overriding-action): Add defcustom types.
18875
18876 * frame.el (delete-other-frames): Doc fix (Bug#276).
18877
18878 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18879
18880 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18881
18882 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18883
18884 Change modes that used same-window-* vars to use switch-to-buffer.
18885
18886 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18887 Use switch-to-buffer.
18888
18889 * cus-edit.el (customize-group, custom-buffer-create)
18890 (customize-browse, custom-buffer-create-other-window):
18891 Use switch-to-buffer or switch-to-buffer-other-window.
18892
18893 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18894 (Info-prev, Info-up, Info-speedbar-goto-node)
18895 (info-display-manual): Use switch-to-buffer.
18896 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18897
18898 * mail/sendmail.el (mail): Use switch-to-buffer.
18899 (mail-recover): Use switch-to-buffer-other-window.
18900
18901 * cmuscheme.el (run-scheme, switch-to-scheme):
18902 * ielm.el (ielm):
18903 * shell.el (shell):
18904 * net/rlogin.el (rlogin):
18905 * net/telnet.el (telnet, rsh):
18906 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18907
18908 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18909
18910 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18911
18912 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18913
18914 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18915 so don't mention it (bug#9301).
18916 (dired-sort-toggle-or-edit): Clarify string further.
18917
18918 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18919 match `x', `w32' and `ns', like the manual says (bug#9029).
18920
18921 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18922 (process-kill-buffer-query-function): Mention the buffer name in
18923 the query.
18924
18925 * image-mode.el (image-next-line): The line parameter is mandatory
18926 (bug#9258).
18927
18928 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18929 which can be useful (bug#9301).
18930
18931 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18932
18933 * subr.el (match-string): Mention that the current buffer should
18934 be the same as the search was done in (bug#9282).
18935
18936 * facemenu.el: Disable the remove-* commands if the mark isn't
18937 active (bug#9162).
18938
18939 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18940
18941 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18942 of display-buffer.
18943 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18944
18945 * replace.el (occur-mode-goto-occurrence)
18946 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18947 and display-buffer.
18948
18949 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18950 display-buffer.
18951
18952 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18953 special-display and same-window variables.
18954 (mail-other-window): Use switch-to-buffer-other-window.
18955 (mail-other-frame): USe switch-to-buffer-other-frame.
18956
18957 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18958 Use display-buffer-other-frame.
18959 (gdb-display-gdb-buffer): Use pop-to-buffer.
18960
18961 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18962
18963 * progmodes/python.el: Don't set same-window-buffer-names.
18964
18965 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18966
18967 * window.el (display-buffer-alist): Add *Python*.
18968
18969 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18970
18971 * window.el (display-buffer-alist): Add entry for buffers
18972 previously handled same-window-*.
18973 (display-buffer-alist, display-buffer-default-action)
18974 (display-buffer-overriding-action): Mark as risky.
18975 (display-buffer-alist): Document action function changes.
18976 (display-buffer--same-window-action)
18977 (display-buffer--other-frame-action): New variables.
18978 (switch-to-buffer, display-buffer-other-frame): Use them.
18979 (display-buffer): Rename reuse-frame entry to reusable-frames.
18980 (display-buffer-reuse-selected-window): Function deleted.
18981 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18982 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18983 (display-buffer-special): New function.
18984 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18985 display-buffer-reuse-or-pop-window. Split off special-display
18986 part into display-buffer-special.
18987 (display-buffer-use-some-window): Don't perform any special
18988 pop-up-frames handling.
18989 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18990 (display-buffer--maybe-same-window): Rename from
18991 display-buffer-maybe-same-window.
18992
18993 * info.el: Don't set same-window-regexps.
18994 (info-setup): New function.
18995 (info-other-window, info): Call it.
18996
18997 * cus-edit.el: Don't set same-window-regexps.
18998 (customize-group): New argument.
18999 (customize-group-other-window): Use it.
19000 (customize-face, customize-face-other-window): Likewise.
19001 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19002
19003 * net/rlogin.el:
19004 * net/telnet.el:
19005 * progmodes/gud.el: Don't set same-window-regexps.
19006
19007 * cmuscheme.el:
19008 * ielm.el:
19009 * shell.el:
19010 * mail/sendmail.el:
19011 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19012
19013 2011-09-10 Juri Linkov <juri@jurta.org>
19014
19015 * isearch.el (isearch-edit-string): Remove obsolete mention of
19016 `C-w' (`isearch-yank-word-or-char') from docstring.
19017 (isearch-query-replace): Fix typo in docstring (bug#9466).
19018
19019 2011-09-10 Juri Linkov <juri@jurta.org>
19020
19021 * paren.el (show-paren-function): Don't show escaped parens.
19022 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19023
19024 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19025
19026 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19027 (mm-default-file-encoding): Remove autoload forms, they are
19028 replaced with autoload cookies in mml.el and mm-encode.el.
19029 (mail-add-attachment): New command.
19030 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19031 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19032 the doc string.
19033 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19034
19035 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19036
19037 * simple.el (count-words-region): Use buffer if there's no region
19038 (bug#9429).
19039
19040 2011-09-09 Juri Linkov <juri@jurta.org>
19041
19042 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19043 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19044 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19045
19046 2011-09-09 Alan Mackenzie <acm@muc.de>
19047
19048 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19049 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19050
19051 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19052
19053 Fix for Savannah bug#9392.
19054 * simple.el (mail-encode-mml): New defvar.
19055
19056 * mail/rmail.el (mail-encode-mml): Add a defvar.
19057 (rmail-enable-mime-composing): Default to t.
19058 (rmail-forward): Use MIME method of forwarding only if both
19059 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19060 Set mail-encode-mml non-nil if the MIME method was used.
19061
19062 * mail/sendmail.el (mml-to-mime): Add autoload form.
19063 (mail-encode-mml): Add a defvar.
19064 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19065 to nil.
19066 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19067 message through mml-to-mime, and reset mail-encode-mml to nil.
19068
19069 2011-09-09 Glenn Morris <rgm@gnu.org>
19070
19071 * woman.el (woman-if-body): When processing an .el block,
19072 do not delete the next .el block as well. (Bug#9447)
19073 (woman-special-characters): Add oq, cq, and hy characters.
19074
19075 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19076
19077 * window.el (window-deletable-p): Make sure window is live before
19078 invoking window-prev-buffers.
19079
19080 2011-09-08 Leo Liu <sdl.web@gmail.com>
19081
19082 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19083
19084 2011-09-08 Juri Linkov <juri@jurta.org>
19085
19086 * progmodes/compile.el (compilation-environment): Make it
19087 a defcustom (bug#8340).
19088
19089 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19090
19091 * window.el (frame-auto-delete): Rename to window-auto-delete.
19092 Make it control auto-deletion of windows and/or frames.
19093 (window-deletable-p): New argument FORCE. Rewrite conditions
19094 for deleting window/frame. (Bug#9419)
19095 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19096 Rewrite handling of case when window/frame can be deleted.
19097 (delete-windows-on): Call window-deletable-p with new FORCE
19098 argument t. (Bug#9456)
19099
19100 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * help-mode.el (help-mode): Restore autoload.
19103
19104 2011-09-07 Juri Linkov <juri@jurta.org>
19105
19106 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19107 `compilation-environment'. Set buffer-local
19108 `compilation-environment' to `thisenv' later after (funcall mode).
19109 (Bug#8340)
19110
19111 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19112 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19113 instead of replacing its value. (Bug#8340)
19114
19115 2011-09-07 Juri Linkov <juri@jurta.org>
19116
19117 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19118 based on text properties put by `grep-filter' instead of matching
19119 escape sequences.
19120 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19121 to the value of `grep-error-screen-columns' (bug#9438).
19122
19123 2011-09-07 Juri Linkov <juri@jurta.org>
19124
19125 * simple.el (next-error-highlight, next-error-highlight-no-select):
19126 Doc fix (bug#9432).
19127
19128 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19129
19130 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19131 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19132
19133 2011-09-07 Leo Liu <sdl.web@gmail.com>
19134
19135 * net/rcirc.el (rcirc-mode): Conditionally initialize
19136 rcirc-input-ring.
19137
19138 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19139
19140 * emacs-lisp/find-func.el (find-function-C-source): Only set
19141 find-function-C-source-directory after checking that we found a source
19142 file there (bug#9440).
19143
19144 2011-09-06 Alan Mackenzie <acm@muc.de>
19145
19146 * isearch.el (isearch-other-meta-char): Wherever a key list is
19147 unread, "unread" the prefix arg, too. This fixes bug #8901.
19148
19149 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19150
19151 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19152
19153 2011-09-05 Juri Linkov <juri@jurta.org>
19154
19155 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19156
19157 2011-09-05 Juri Linkov <juri@jurta.org>
19158
19159 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19160 keeping point where processing of grep matches begins, and
19161 continue to delete remaining escape sequences from the same point.
19162 (grep-filter): Make leading zero optional in "0?1;31m" because
19163 git-grep emits "\033[1;31m" escape sequences unlike expected
19164 "\033[01;31m" as GNU Grep does (bug#9408).
19165 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19166
19167 2011-09-05 Juri Linkov <juri@jurta.org>
19168
19169 * subr.el (y-or-n-p): Capitalize "yes".
19170
19171 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19172
19173 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19174 `tramp-cache-unload-hook' where appropriate.
19175 (tramp-methods): Rename `tramp-remote-sh' to
19176 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19177 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19178
19179 * net/tramp-sh.el (top): Don't require 'shell.
19180 (tramp-methods): Add `tramp-remote-shell' and
19181 `tramp-remote-shell-args' entries.
19182 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19183 (tramp-sh-handle-shell-command): Remove.
19184 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19185 Use `tramp-remote-shell'.
19186
19187 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19188
19189 * mail/sendmail.el (sendmail-query-once-function): Delete.
19190 (sendmail-query-once): Save directly to send-mail-function.
19191 Update message-send-mail-function too.
19192
19193 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19194
19195 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19196
19197 * progmodes/python.el (python-mode-map): Use correct function to
19198 start python interpreter from menu-bar (as reported by Geert
19199 Kloosterman).
19200 (inferior-python-mode-map): Fix typo.
19201 (python-shell-map): Remove.
19202
19203 2011-09-03 Deniz Dogan <deniz@dogan.se>
19204
19205 * net/rcirc.el (rcirc-print): Simplify code for
19206 rcirc-scroll-show-maximum-output. There is no need to walk
19207 through all windows to find the right one.
19208
19209 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19210
19211 * help.el (help-return-method): Doc fix.
19212
19213 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19214
19215 * window.el (window-deletable-p): Don't return a non-nil value
19216 when there's a buffer that was shown in the window before.
19217 (Bug#9419)
19218 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19219 Set window's previous buffers to nil.
19220
19221 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19222
19223 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19224 newline before and after the tag line, so it doesn't interfere
19225 with determining the paragraph direction of bidirectional text.
19226
19227 2011-09-03 Leo Liu <sdl.web@gmail.com>
19228
19229 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19230
19231 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19232
19233 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19234 (pop-to-buffer): Change interactive spec. Pass second argument
19235 directly to display-buffer.
19236 (display-buffer): Fix interactive spec. Use functionp to
19237 distinguish between a function and a list of functions.
19238
19239 * abbrev.el (edit-abbrevs):
19240 * arc-mode.el (archive-extract):
19241 * autoinsert.el (auto-insert):
19242 * bookmark.el (bookmark-bmenu-list):
19243 * files.el (find-file):
19244 * view.el (view-buffer):
19245 * progmodes/compile.el (compilation-goto-locus):
19246 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19247
19248 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19249
19250 * window.el (display-buffer-alist): Doc fix.
19251 (display-buffer): Add docstring. Don't treat
19252 display-buffer-default specially.
19253 (display-buffer-reuse-selected-window)
19254 (display-buffer-same-window, display-buffer-maybe-same-window)
19255 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19256 (display-buffer-pop-up-window)
19257 (display-buffer-reuse-or-pop-window)
19258 (display-buffer-use-some-window): New functions.
19259 (display-buffer-default-action): Use them.
19260 (display-buffer-default): Delete.
19261 (pop-to-buffer-1): Fix choice of actions.
19262
19263 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19264
19265 * minibuffer.el (completion--insert-strings): Don't get confused by
19266 completion entries that end with an LF char.
19267
19268 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19269
19270 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19271
19272 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19273
19274 * window.el (display-buffer): Restore interactive spec.
19275 (display-buffer-same-window, display-buffer-other-window):
19276 New functions.
19277 (pop-to-buffer-1): New function. Use the above.
19278 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19279 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19280
19281 * view.el (view-buffer-other-window, view-buffer-other-frame):
19282 Just use pop-to-buffer.
19283
19284 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19285
19286 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19287
19288 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19289
19290 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19291
19292 2011-08-31 Richard Stallman <rms@gnu.org>
19293
19294 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19295 of the separation of rmail-view-buffer from rmail-buffer.
19296 If you say no to "replace original", the decrypt is in the
19297 view buffer. If you say yes, the decrypt goes into the
19298 rmail buffer also.
19299
19300 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19301
19302 * window.el (display-buffer-window): Rewrite doc-string.
19303 (display-buffer-record-window): New function.
19304 (display-buffer-macro-specifiers)
19305 (display-buffer-even-window-sizes, display-buffer-set-height)
19306 (display-buffer-set-width, display-buffer-in-window)
19307 (display-buffer-reuse-window, display-buffer-split-specifiers)
19308 (display-buffer-side-specifiers, display-buffer-split-window-1)
19309 (display-buffer-split-window, display-buffer-split-atom-window)
19310 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19311 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19312 (display-buffer-other-window-means-other-frame)
19313 (display-buffer-normalize-special)
19314 (display-buffer-normalize-default)
19315 (display-buffer-normalize-argument)
19316 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19317 (display-buffer-normalize-specifiers, display-buffer-frame)
19318 (display-buffer-same-window, display-buffer-same-frame)
19319 (display-buffer-other-window)
19320 (display-buffer-same-frame-other-window)
19321 (display-buffer-other-frame, pop-to-buffer-same-window)
19322 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19323 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19324 (switch-to-buffer-same-frame)
19325 (switch-to-buffer-other-window-same-frame)
19326 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19327 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19328 (display-buffer-alist-set): Remove.
19329 (display-buffer-function, special-display-buffer-names)
19330 (special-display-regexps, special-display-function):
19331 In doc-string refer to display-buffer-window and quit-restore
19332 parameter.
19333 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19334 (special-display-frame-alist, special-display-popup-frame)
19335 (same-window-buffer-names, same-window-regexps, same-window-p)
19336 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19337 (split-window-preferred-function, split-height-threshold)
19338 (split-width-threshold, window-splittable-p)
19339 (split-window-sensibly, window--try-to-split-window)
19340 (window--frame-usable-p, even-window-heights)
19341 (window--even-window-heights, window--display-buffer-1)
19342 (window--display-buffer-2, display-buffer-other-frame):
19343 Restore old Emacs 23 code, order and doc-strings where applicable.
19344 (display-buffer-default, display-buffer-assq-regexp): New functions.
19345 (display-buffer-alist): Rewrite doc-string.
19346 (display-buffer-default-action)
19347 (display-buffer-overriding-action): New variables.
19348 (display-buffer, switch-to-buffer): Rewrite.
19349 (pop-to-buffer): Restore Emacs 23 behavior but use
19350 window-normalize-buffer-to-display.
19351 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19352 Restore Emacs 23 behavior but use
19353 window-normalize-buffer-to-switch-to.
19354 (pop-to-buffer-same-window): Rewrite.
19355 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19356 Rewrite using Emacs 23 options.
19357
19358 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19359
19360 * net/tramp.el (tramp-root-regexp): Remove.
19361 (tramp-completion-file-name-regexp-unified)
19362 (tramp-completion-file-name-regexp-separate)
19363 (tramp-completion-file-name-regexp-url): Don't use leading volume
19364 letter on w32 systems. (Bug#5303, Bug#9311)
19365 (tramp-drop-volume-letter): Simplify definition.
19366 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19367
19368 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19369
19370 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19371 (bug#9356).
19372
19373 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19374
19375 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19376
19377 2011-08-29 Juri Linkov <juri@jurta.org>
19378
19379 * isearch.el (isearch-done): Don't display message "Mark saved"
19380 when arg `edit' is non-nil to prevent its flicker in the echo area.
19381
19382 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19383
19384 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19385 obsolete packages for deletion.
19386
19387 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19388
19389 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19390 (help-mode): Derive help-mode from special-mode. Don't invoke
19391 view-mode from help-mode.
19392 (help-xref-override-view-map): Remove.
19393 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19394 view-mode is not used anymore.
19395
19396 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19397
19398 * server.el (server-port): Doc fix.
19399
19400 * cus-theme.el (custom-theme-choose-mode): Inherit from
19401 special-mode (Bug#9124).
19402 (custom-theme-choose-mode-map): Add special-mode to parent.
19403
19404 2011-08-28 Alan Mackenzie <acm@muc.de>
19405
19406 * progmodes/cc-fonts.el
19407 (c-make-font-lock-BO-decl-search-function): New function.
19408 (c-basic-matchers-after - "Fontify the clauses after various
19409 keywords"): Extract the three keyword lists for the 3 erroneous
19410 constructs from the list of four, and use the new function above
19411 in place of an old one.
19412
19413 2011-08-28 Deniz Dogan <deniz@dogan.se>
19414
19415 * net/rcirc.el (rcirc-insert-prev-input)
19416 (rcirc-insert-next-input): Remove unused argument.
19417
19418 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19419
19420 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19421
19422 2011-08-27 Alan Mackenzie <acm@muc.de>
19423
19424 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19425 handle function pointer parameters properly.
19426
19427 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19428
19429 * window.el (display-buffer-reuse-window): Fix case where
19430 selected window was reused with non-nil OTHER-WINDOW argument.
19431 (Bug#9381)
19432
19433 2011-08-27 Deniz Dogan <deniz@dogan.se>
19434
19435 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19436 oftc's NickServ messages.
19437
19438 2011-08-27 Glenn Morris <rgm@gnu.org>
19439
19440 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19441
19442 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19443
19444 * emacs-lisp/package.el (package-install): Call package-initialize
19445 if called interactively.
19446
19447 2011-08-26 Leo Liu <sdl.web@gmail.com>
19448
19449 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19450
19451 2011-08-25 Juri Linkov <juri@jurta.org>
19452
19453 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19454 `search-whitespace-regexp' (bug#9364).
19455
19456 2011-08-25 Juri Linkov <juri@jurta.org>
19457
19458 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19459 `regexp-search-ring' to their global values to protect from
19460 updating by `read-from-minibuffer' (bug#9185).
19461
19462 2011-08-25 Juri Linkov <juri@jurta.org>
19463
19464 * textmodes/ispell.el (ispell-command-loop): Add newline
19465 at the end of the "Use option `i'..." line.
19466
19467 2011-08-25 Juri Linkov <juri@jurta.org>
19468
19469 * battery.el (display-battery-mode): If `battery-status-function'
19470 or `battery-mode-line-format' is nil, display the message and set
19471 `display-battery-mode' to nil (bug#9363).
19472
19473 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19474
19475 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19476 bidi-string-mark-left-to-right; they are unnecessary now.
19477
19478 2011-08-25 Deniz Dogan <deniz@dogan.se>
19479
19480 * net/quickurl.el: Documentation typo fixes.
19481
19482 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19483
19484 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19485
19486 2011-08-25 Glenn Morris <rgm@gnu.org>
19487
19488 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19489
19490 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19491 (smtpmail-via-smtp): Handle nil response from smtp.
19492
19493 2011-08-24 Juri Linkov <juri@jurta.org>
19494
19495 * proced.el (proced-marked): Inherit from `error' instead of
19496 `font-lock-warning-face'.
19497
19498 * ibuffer.el (ibuffer-marked-face): Change default face from
19499 `font-lock-warning-face' to `warning'.
19500 (ibuffer-deletion-face): Change default face from
19501 `font-lock-type-face' to `error'.
19502
19503 * battery.el (battery-update): Use the face `error' instead of
19504 `font-lock-warning-face' (bug#6117).
19505
19506 2011-08-24 Juri Linkov <juri@jurta.org>
19507
19508 * faces.el (success): Change face color from "Green3" to
19509 "ForestGreen" on light background (bug#9353).
19510
19511 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19512
19513 * window.el (quit-window): Rename from quit-restore-window.
19514 Use same arglist as old quit-window.
19515 (frame-auto-delete): Doc fix.
19516
19517 * view.el (view-mode-exit): Use quit-window.
19518
19519 2011-08-24 Juri Linkov <juri@jurta.org>
19520
19521 * isearch.el (isearch-ring-adjust1): Start visiting previous
19522 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19523 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19524 for empty search string (when the last search string is reused
19525 automatically) to adjust the isearch ring to the last element and
19526 prepare the correct index for further M-p commands (bug#9185).
19527
19528 2011-08-24 Kenichi Handa <handa@m17n.org>
19529
19530 * international/ucs-normalize.el: If decomposition property of
19531 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19532 nil.
19533 (nfd, nfkd): Likewise.
19534
19535 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19536
19537 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19538 from process filters aren't reliably transmitted to the surrounding
19539 accept-process-output.
19540 (mpc-proc-check): New function.
19541 (mpc-proc-sync): Use it (bug#8293)
19542
19543 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19544
19545 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19546 Add compatibility functions (bug#9313).
19547
19548 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19549
19550 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19551
19552 * international/uni-bidi.el: Regenerate.
19553
19554 2011-08-23 Kenichi Handa <handa@m17n.org>
19555
19556 * international/charprop.el:
19557 * international/uni-bidi.el:
19558 * international/uni-category.el:
19559 * international/uni-combining.el:
19560 * international/uni-comment.el:
19561 * international/uni-decimal.el:
19562 * international/uni-decomposition.el:
19563 * international/uni-digit.el:
19564 * international/uni-lowercase.el:
19565 * international/uni-mirrored.el:
19566 * international/uni-name.el:
19567 * international/uni-numeric.el:
19568 * international/uni-old-name.el:
19569 * international/uni-titlecase.el:
19570 * international/uni-uppercase.el: Regenerate.
19571
19572 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19573
19574 * help.el (help-window-setup): Fix message displayed when other
19575 window is reused. (Bug#9341)
19576
19577 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19578
19579 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19580 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19581
19582 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19583 Mark obsolete.
19584 * shell.el (shell-parse-pcomplete-arguments): New function.
19585 (shell-completion-vars): Use it instead (bug#9160).
19586
19587 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19588
19589 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19590 strings and comments (bug#9333).
19591
19592 * emacs-lisp/debug.el (debug-arglist): New function.
19593 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19594 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19595
19596 2011-08-22 Juri Linkov <juri@jurta.org>
19597
19598 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19599 Revert regexp that highlights output switches to its old
19600 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19601
19602 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19603 to check for empty output (bug#9226).
19604
19605 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19606
19607 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19608 symbol-constituent as the default, as that stops font-lock from
19609 working properly (Bug#8843).
19610
19611 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19612
19613 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19614 `coding-system-for-*' around the process open call to avoid
19615 auth-source side effects.
19616 (smtpmail-try-auth-methods): Expand the secret password.
19617 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19618 probe hangs.
19619
19620 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19621
19622 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19623
19624 * emacs-lisp/find-func.el (find-function-noselect): New arg
19625 lisp-only.
19626
19627 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19628 signal an error for built-in functions (Bug#6664).
19629
19630 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19631
19632 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19633 (smtpmail-try-auth-methods): Use it.
19634
19635 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19636
19637 * font-lock.el (font-lock-fontify-region)
19638 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19639 (font-lock-default-unfontify-buffer)
19640 (font-lock-default-fontify-region)
19641 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19642
19643 * progmodes/compile.el (compilation-error-properties):
19644 Fix confusion between file struct and message struct (Bug#9319).
19645 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19646 `ant' regexp.
19647
19648 * net/browse-url.el (browse-url-firefox): Don't call
19649 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19650
19651 2011-08-20 Glenn Morris <rgm@gnu.org>
19652
19653 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19654
19655 * tutorial.el (tutorial--default-keys): Update some default bindings.
19656
19657 * files.el (hack-local-variables): Fully ignore case for "mode:".
19658
19659 2011-08-20 Alan Mackenzie <acm@muc.de>
19660
19661 Resolve invalid use of a regexp in regexp-opt.
19662
19663 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19664 detection for a java annotation.
19665
19666 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19667 detection for a java annotation.
19668
19669 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19670 handling for java.
19671 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19672
19673 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19674
19675 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19676 (Bug#9274).
19677
19678 2011-08-20 Alan Mackenzie <acm@muc.de>
19679
19680 Fontify CPP expressions correctly when starting in the middle of
19681 such a construct. Mainly for when jit-lock etc. starts a chunk
19682 here.
19683
19684 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19685 variable.
19686 (c-make-font-lock-search-form): New function, extracted from
19687 c-make-font-lock-search-function.
19688 (c-make-font-lock-search-function): Use the above function.
19689 (c-make-font-lock-context-search-function): New function.
19690 (c-cpp-matchers): Enhance the preprocessor expression case with
19691 the above function
19692 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19693 which takes an expression.
19694
19695 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19696
19697 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19698
19699 * window.el (display-buffer-reuse-window)
19700 (display-buffer-pop-up-window): Don't reuse or split a side
19701 window.
19702
19703 2011-08-19 Glenn Morris <rgm@gnu.org>
19704
19705 * files.el (hack-local-variables-prop-line, hack-local-variables):
19706 Downcase "Mode:". (Bug#9331)
19707
19708 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19709
19710 * international/characters.el: Add L and R categories.
19711
19712 * subr.el (bidi-string-mark-left-to-right): Rename from
19713 string-mark-left-to-right. Use category search.
19714
19715 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19716
19717 2011-08-18 Juri Linkov <juri@jurta.org>
19718
19719 * faces.el (error, warning, success): New faces with definitions
19720 copied from old default values of `font-lock-warning-face',
19721 `compilation-warning', `compilation-info' (bug#6117).
19722
19723 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19724
19725 * progmodes/compile.el (compilation-error): Inherit from `error'.
19726 (compilation-warning): Inherit from `warning'.
19727 (compilation-info): Inherit from `success'.
19728
19729 * dired.el (dired-marked): Inherit from `warning'.
19730 (dired-flagged): Inherit from `error'.
19731
19732 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19733
19734 * mail/smtpmail.el (auth-source): Require to avoid problems with
19735 binding variables (bug#9298). Also clean up some unused
19736 autoloads.
19737
19738 * net/network-stream.el (network-stream-open-starttls):
19739 Support using starttls.el without using gnutls-cli.
19740
19741 2011-08-17 Juri Linkov <juri@jurta.org>
19742
19743 * progmodes/grep.el (rgrep): Handle the case when
19744 `grep-find-command' is a cons cell (bug#9278).
19745
19746 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19747
19748 * window.el (display-buffer-pop-up-frame): Run frame creation
19749 function with BUFFER current (as special-display-popup-frame
19750 does). Reported by Drew Adams.
19751
19752 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19753
19754 * epa-mail.el: Simplify GnuPG group expansion using
19755 epg-expand-group.
19756 (epa-mail-group-alist, epa-mail-group-modtime)
19757 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19758 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19759 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19760 Remove.
19761
19762 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19763
19764 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19765
19766 2011-08-16 Alan Mackenzie <acm@muc.de>
19767
19768 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19769 Correct, to avoid the inside of macros.
19770
19771 2011-08-16 Richard Stallman <rms@gnu.org>
19772
19773 * epa-mail.el: Handle GnuPG group definitions.
19774 (epa-mail-group-alist, epa-mail-group-modtime)
19775 (epa-mail-gnupg-conf-file): New variables.
19776 (epa-mail-parse-groups, epa-mail-sync-groups)
19777 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19778 (epa-mail-expand-recipients): New functions.
19779 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19780
19781 * mail/rmail.el (rmail-epa-decrypt): New command.
19782
19783 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19784 Don't bind buffer-read-only, just inhibit-read-only.
19785 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19786 (epa-decrypt-armor-in-region): Make error message clearer.
19787
19788 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19789
19790 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19791 and "a2b" to "ab" for `prefix'.
19792
19793 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19794
19795 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19796 filter groups.
19797 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19798 Fourquet (Bug#8804).
19799
19800 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19801
19802 * startup.el (argi): Declare as global variable (bug#9275).
19803
19804 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19805
19806 * subr.el (string-mark-left-to-right): Search the entire string
19807 for RTL script, not just the terminating character. Doc fix.
19808
19809 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19810
19811 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19812 New function.
19813 (js--regexp-literal, js-syntax-propertize-function): Remove.
19814 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19815 (js-mode-map): Don't rebind electric keys.
19816 (js-insert-and-indent): Remove.
19817 (js-mode): Setup electric-layout and electric-indent instead.
19818
19819 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19820
19821 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19822
19823 * epa.el (epa-progress-callback-function): Fix the logic of
19824 displaying progress.
19825 * epa-file.el (epa-file-insert-file-contents): Make progress
19826 display more user-friendly.
19827 (epa-file-write-region): Ditto.
19828
19829 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19830
19831 * subr.el (string-mark-left-to-right): New function.
19832
19833 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19834 Use string-mark-left-to-right.
19835 (list-buffers-noselect): Caller changed.
19836
19837 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19838 Use string-mark-left-to-right.
19839 (tabulated-list-print): Recenter after moving point.
19840
19841 2011-08-10 Juri Linkov <juri@jurta.org>
19842
19843 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19844 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19845 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19846
19847 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19850 (Bug#7554).
19851
19852 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19853
19854 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19855 character. (Bug#6594)
19856
19857 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19858
19859 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19860 (image-dired--with-db-file): New macro.
19861 (image-dired-write-tags, image-dired-remove-tag)
19862 (image-dired-create-gallery-lists, image-dired-write-comments)
19863 (image-dired-get-comment, image-dired-mark-tagged-files)
19864 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19865 (image-dired-gallery-generate): Use insert-file-contents.
19866
19867 * time.el (display-time-world-list, display-time-world-display):
19868 * time-stamp.el (time-stamp-string):
19869 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19870 set-time-zone-rule (Bug#7337).
19871
19872 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19873
19874 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19875 (epg-error-to-string, epg-errors-to-string): New function.
19876 (epg-wait-for-completion): Reverse errors list.
19877 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19878 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19879 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19880 (epg-sign-keys, epg-generate-key-from-file)
19881 (epg-generate-key-from-string): Format errors by using
19882 epg-errors-to-string (bug#9255).
19883 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19884
19885 2011-08-07 Juri Linkov <juri@jurta.org>
19886
19887 * faces.el (list-faces-display): Remove extra angle bracket
19888 from `help-mode-map'.
19889
19890 * info.el (Info-history-toc-nodes): Doc fix.
19891
19892 * longlines.el (longlines-mode): Doc fix.
19893
19894 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19895
19896 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19897 of statements and in a few more cases (bug#9183).
19898
19899 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19900 New functions.
19901 (cl-transform-lambda): Use them (bug#9239).
19902
19903 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19904
19905 * window.el (display-buffer-same-window)
19906 (display-buffer-same-frame, display-buffer-other-window)
19907 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19908 (pop-to-buffer-other-window)
19909 (pop-to-buffer-same-frame-other-window)
19910 (pop-to-buffer-other-frame): Make them defuns.
19911 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19912
19913 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19914
19915 * subr.el (make-composed-keymap): Move from C. Change calling
19916 convention, and improve docstring to bring attention to a subtle point.
19917 * minibuffer.el (completing-read-default): Adjust accordingly.
19918
19919 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19920
19921 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19922 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19923
19924 * net/trampver.el: Update release number.
19925
19926 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19927
19928 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19929 "in" (bug#9190).
19930
19931 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19932
19933 * mail/sendmail.el (sendmail-query-once): Restore the current
19934 buffer after querying (bug#9074).
19935
19936 * dired.el (dired-flagged): Use different faces for marked and
19937 flagged files (bug#6117).
19938
19939 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19940 (bug#4433).
19941
19942 * ido.el (ido-mode): Switch off the message if called
19943 non-interactively.
19944
19945 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19946 before 587, since it appears that that's more likely to work for
19947 more people.
19948
19949 * cus-edit.el (custom-file): When running under emacs -q, always
19950 refuse to save the customizations, even if the .emacs file doesn't
19951 exist.
19952
19953 * info.el: Remove the `Info-beginning-of-buffer' function
19954 (bug#8325).
19955
19956 * net/network-stream.el (network-stream-open-starttls):
19957 Use `starttls-available-p' to see whether starttls.el can be used.
19958
19959 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19960
19961 * window.el (display-buffer-in-window): Don't set dedicated status
19962 of window here (Bug#9215).
19963 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19964 (display-buffer-pop-up-side-window)
19965 (display-buffer-in-side-window): Set dedicated status of window here.
19966
19967 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19968
19969 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19970 before binding generated-autoload-file.
19971
19972 2011-08-01 Deniz Dogan <deniz@dogan.se>
19973
19974 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19975
19976 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19977
19978 Sync with Tramp 2.2.2.
19979
19980 * net/trampver.el: Update release number.
19981
19982 2011-07-30 Juri Linkov <juri@jurta.org>
19983
19984 * dired-aux.el (dired-touch-initial): Remove function.
19985 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19986 current time, and `default' to the last modification time of the
19987 current marked file (bug#6887).
19988
19989 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19990
19991 * simple.el (goto-line): Use string-to-number to provide a
19992 numeric argument to read-number (bug#9163).
19993
19994 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19995
19996 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19997 connection process, it could be nil.
19998
19999 2011-07-27 Leo Liu <sdl.web@gmail.com>
20000
20001 Simplify url handling in rcirc-mode.
20002
20003 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20004 (rcirc-browse-url-at-mouse): Remove.
20005 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20006
20007 2011-07-26 Alan Mackenzie <acm@muc.de>
20008
20009 Fontify bitfield declarations properly.
20010
20011 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20012 (c-symbol-chars): Now exported as a lang variable.
20013 (c-not-primitive-type-keywords): New lang variable.
20014
20015 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20016 QT keyword "more" to prevent "more slots: ...." being spuriously
20017 parsed as a bitfield declaration.
20018
20019 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20020 Refactor and enhance to handle bitfield declarations.
20021 (c-punctuation-in): New function.
20022 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20023 declarations properly.
20024
20025 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20026
20027 * calendar/icalendar.el (icalendar--all-events): Take care of
20028 multiple vcalendars in a single file.
20029 (icalendar--convert-float-to-ical): Checkdoc fixes.
20030
20031 2011-07-25 Deniz Dogan <deniz@dogan.se>
20032
20033 * image.el (insert-image): Clarifying docstring.
20034
20035 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20036
20037 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20038 `tramp-send-command-and-check' if there is no error.
20039 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20040
20041 2011-07-22 Alan Mackenzie <acm@muc.de>
20042
20043 Prevent cc-langs.elc being loaded at run time.
20044
20045 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20046 cc-langs.
20047
20048 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20049 "(require 'cc-langs)". Quote a form so it will evaluate at
20050 (cc-mode's) compilation time.
20051
20052 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20053
20054 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20055 loading. (Bug#9114)
20056
20057 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20058
20059 * window.el (display-buffer-pop-up-window)
20060 (display-buffer-pop-up-side-window)
20061 (display-buffer-in-side-window): Call display-buffer-set-height
20062 and display-buffer-set-width after setting the new window's
20063 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20064
20065 2011-07-20 Sam Steingold <sds@gnu.org>
20066
20067 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20068 (etags-tags-included-tables): Call `convert-standard-filename' on
20069 the file names contained in TAGS so that windows Emacs can handle
20070 TAGS files created by cygwin ctags.
20071
20072 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20073
20074 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20075 which apparently didn't work.
20076
20077 2011-07-19 Roland Winkler <winkler@gnu.org>
20078
20079 * proced.el (proced-send-signal): For *Marked Processes* buffer
20080 put point at beginning of buffer.
20081
20082 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20083
20084 * proced.el (proced-format): Make header lines align with the text
20085 (bug#1779).
20086
20087 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20088
20089 * view.el (view-buffer): Allow running in `special' modes if we're
20090 visiting a file (bug#8615).
20091
20092 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20093
20094 * window.el (display-buffer-alist-of-strings-p)
20095 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20096 New functions.
20097 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20098 more accurately.
20099
20100 2011-07-18 Alan Mackenzie <acm@muc.de>
20101
20102 Fontify declarators properly when, e.g., a jit-lock chunk begins
20103 inside a declaration.
20104
20105 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20106
20107 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20108 New function.
20109 (c-complex-decl-matchers): Insert reference to
20110 c-font-lock-enclosing-decls.
20111
20112 * progmodes/cc-engine.el (c-backward-single-comment):
20113 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20114 to nil around calls to (forward-comment -1).
20115
20116 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20117
20118 * image.el (put-image): Doc typo fix.
20119
20120 * progmodes/etags.el (tags-search): Doc typo fix.
20121
20122 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20123 password if we get errors 550 to 554.
20124
20125 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20126
20127 * net/gnutls.el (gnutls-log-level): Remove.
20128
20129 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20130 indentation character (bug#6380).
20131
20132 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20133
20134 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20135 to clarify what the problem is (bug#4291).
20136
20137 * simple.el (current-kill): Clarify what
20138 `interprogram-paste-function' does (bug#7500).
20139 (auto-fill-mode): Document `auto-fill-function' in relation to
20140 `auto-fill-mode' (bug#2470).
20141
20142 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20143
20144 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20145 method if slot is read-only (bug#9035).
20146
20147 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20148
20149 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20150 * window.el (pop-to-buffer): Select window used even if it was
20151 selected before, see discussion of (Bug#8615), (Bug#6954).
20152 Pass argument NORECORD on to select-frame-set-input-focus.
20153
20154 2011-07-15 Glenn Morris <rgm@gnu.org>
20155
20156 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20157 Respect help-form.
20158
20159 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20160
20161 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20162 (gnutls-negotiate): Use it.
20163
20164 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20165
20166 * net/gnutls.el (gnutls-negotiate):
20167 Upcase `gnutls-algorithm-priority'.
20168
20169 2011-07-15 Glenn Morris <rgm@gnu.org>
20170
20171 * jka-compr.el (jka-compr-verbose): Move from here...
20172 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20173 Add missing :version tag.
20174 * info.el: No need to require jka-compr when compiling.
20175
20176 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20177
20178 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20179 (gnutls-negotiate): Use it.
20180
20181 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20182
20183 * info.el (Info-beginning-of-buffer): New command.
20184 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20185 announcing `b' as the key (bug#8325).
20186 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20187
20188 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20189
20190 * international/mule-cmds.el
20191 (describe-specified-language-support): Make the error message
20192 clearer (bug#8905).
20193
20194 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20195
20196 * isearch.el (isearch-barrier): Add a doc string, since it's
20197 mentioned in a function doc string (bug#8678).
20198
20199 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20200
20201 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20202 buffer argument (Bug#9083) and self-identifying label argument.
20203
20204 2011-07-15 Glenn Morris <rgm@gnu.org>
20205
20206 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20207
20208 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20209
20210 * man.el (Man-fontify-manpage): Fix message when formatting the
20211 man page (bug#7929).
20212
20213 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20214
20215 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20216 argument LRM; if non-nil, append an invisible LRM character to the
20217 buffer name.
20218 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20219 last argument non-nil, when formatting buffer names.
20220 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20221 paragraph direction.
20222
20223 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20224
20225 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20226 the man page name (bug#7929).
20227
20228 * image.el (put-image): Mention the `put-image' overlay property
20229 (bug#7834).
20230
20231 * scroll-bar.el (set-scroll-bar-mode): Mention that
20232 `scroll-bar-mode' lists the values (bug#7772).
20233
20234 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20235 command (bug#7729).
20236
20237 * rect.el (apply-on-rectangle): Return the point after the last
20238 operation.
20239 (string-rectangle): Go to the point after the last operation
20240 (bug#7522).
20241
20242 * printing.el (pr-toggle-region): Clarify the documentation
20243 slightly (bug#7493).
20244
20245 * time.el (display-time-update):
20246 Allow `display-time-mail-function' to return nil (bug#7158).
20247 Fix suggested by Detlev Zundel.
20248
20249 * vc/diff.el (diff): Clarify the order the file names are read
20250 (bug#7111).
20251
20252 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20253 the doc string (bug#7015).
20254
20255 * font-lock.el (font-lock-maximum-decoration): Mention what
20256 numeric levels mean (bug#6935).
20257
20258 * startup.el (initial-buffer-choice): Don't mention the `none'
20259 selection, which is against policy.
20260
20261 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20262
20263 * window.el (display-buffer-normalize-special):
20264 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20265
20266 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20267
20268 * subr.el (version<, version<=, version=): Mention "-CVS" and
20269 "-12345" alpha version numbers.
20270
20271 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20272
20273 * bindings.el: Add advertised binding for set-mark-command
20274 (Bug#5772).
20275
20276 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20277
20278 * bindings.el (mode-line-other-buffer):
20279 * bookmark.el (bookmark-bmenu-2-window):
20280 * bs.el (bs-cycle-next, bs-cycle-previous):
20281 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20282 switch-to-buffer.
20283
20284 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20285 Delete.
20286
20287 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20288
20289 * follow.el (follow-debug-message, follow-redisplay):
20290 * jka-cmpr-hook.el (with-auto-compression-mode):
20291 Fix typos in docstrings.
20292
20293 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20294
20295 * subr.el (with-silent-modifications): Clarify somewhat what the
20296 macro inhibits (bug#6525).
20297
20298 * simple.el (eval-expression): Note what it does if called
20299 interactively (bug#6495).
20300
20301 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20302
20303 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20304 Use pop-to-buffer buffer-or-name if it is nil.
20305
20306 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20307 Remove switch-to-buffer.
20308
20309 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20310
20311 * files.el (make-directory): Clarify that an error will be raised
20312 if there's an error (bug#6397).
20313
20314 * startup.el (initial-buffer-choice): Add `none' as a choice
20315 (bug#6234).
20316
20317 * subr.el (add-hook): Clarify section about buffer-local hooks
20318 (bug#6218).
20319
20320 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20321
20322 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20323
20324 * tabify.el (untabify): Preserve the current column so that point
20325 doesn't move (bug#6032).
20326
20327 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20328
20329 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20330 Rewrite to avoid awkward possessive "s" (bug#5986).
20331
20332 2011-07-13 Glenn Morris <rgm@gnu.org>
20333
20334 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20335 (dired-insert-directory): Give a message the first time
20336 if ls is found not to support --dired.
20337
20338 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20339
20340 * simple.el (toggle-truncate-lines): Clarify what is toggled
20341 (bug#5580). Text by Drew Adams.
20342
20343 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20344
20345 * simple.el (blink-matching-open): Make the error message from the
20346 last change less verbose.
20347
20348 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20349
20350 * font-lock.el (font-lock-comment-face): Use the high contrast
20351 "yellow" color for font-lock-comment-face on low color terminals
20352 using a dark background color (bug#4221).
20353
20354 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20355
20356 * dired.el (dired-insert-set-properties): Make the doc string
20357 reflect what it does now (bug#5325).
20358
20359 * simple.el (blink-matching-open): Say that we were unable to find
20360 the match within the limit, if we're limited (bug#5122).
20361
20362 * international/mule-cmds.el (prefer-coding-system): Add an
20363 example (bug#4869).
20364
20365 * progmodes/etags.el (tags-search): Document `file-list-form'
20366 (bug#4731).
20367
20368 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20369
20370 * net/browse-url.el (browse-url-default-browser)
20371 (browse-url-browser-function): Make the default browser choice a
20372 bit more logical (bug#4300). Also clean up the doc string.
20373
20374 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20375
20376 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20377 binary endings (bug#4440).
20378
20379 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380
20381 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20382 which can be pretty annoying (bug#8971).
20383
20384 * jka-compr.el (jka-compr-verbose): New variable, and use
20385 throughout (bug#8971).
20386
20387 * info.el (Info-find-file): Fall back on the installation
20388 directory if we can't find the info node anywhere else.
20389
20390 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20391
20392 * vc/vc.el (vc-revert-file):
20393 Don't set file time-stamp in the past. (Bug#5181)
20394
20395 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20396
20397 * files.el (after-find-file): Give a better error message when
20398 trying to find a symlink that points to a file that doesn't exist
20399 (bug#4398).
20400
20401 * progmodes/cc-vars.el: Remove (probably) misleading comment
20402 (bug#4396).
20403
20404 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20405
20406 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20407
20408 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20409
20410 * mouse-sel.el: Hack restoring functionality, while keeping
20411 compatibility with 2010-07-03 changes to mouse selection.
20412 (mouse-sel-primary-overlay): New var.
20413 (mouse-sel-selection-alist): Use it.
20414 (mouse-sel-mode): Doc fix; remove points that are default features
20415 of mouse.el.
20416
20417 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20418
20419 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20420 Fix previous fix (bug#2490).
20421
20422 2011-07-12 Roland Winkler <winkler@gnu.org>
20423
20424 * textmodes/bibtex.el (bibtex-initialize):
20425 Use pop-to-buffer-same-window.
20426 (bibtex-search-entries): Fix interactive call.
20427
20428 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20429
20430 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20431 Fontise bytecomp Error lines more correctly (bug#2490).
20432 Fix suggested by Johan Bockgård.
20433
20434 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20435
20436 * dired-x.el (dired-guess-default): Use `delete-dups'.
20437
20438 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20439
20440 * dired.el (dired-mark-prompt):
20441 * dired-aux.el (dired-read-shell-command): Doc fix.
20442
20443 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20444
20445 * mail/sendmail.el (sendmail-query-once):
20446 Use `customize-save-variable' unconditionally, now that it works under
20447 emacs -Q.
20448
20449 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20450
20451 * cus-edit.el (custom-file): Take an optional no-error variable.
20452 (customize-save-variable): Set the variable, and give a warning if
20453 running under "emacs -q".
20454
20455 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20456
20457 * loadhist.el (unload-feature-special-hooks):
20458 Add `auto-coding-functions', `fill-nobreak-predicate' and
20459 `find-directory-functions' (bug#5327).
20460
20461 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20462
20463 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20464
20465 * cus-edit.el (custom-guess-name-alist): -alist variables should
20466 use the `alist' type (bug#3120). Suggested by Drew Adams.
20467
20468 * printing.el: Add documentation to all the `pr-toggle-' commands.
20469
20470 2011-07-11 Leo Liu <sdl.web@gmail.com>
20471
20472 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20473 backends where it makes sense (bug#2623).
20474
20475 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20476
20477 * dired-x.el (dired-guess-default): Remove duplicate shell command
20478 entries (bug#2028).
20479 (dired-guess-default): Fix grammar in doc string (bug#2028).
20480 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20481
20482 * subr.el (remove-duplicates): New conveniency function.
20483
20484 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20485
20486 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20487 (bug#1526).
20488
20489 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20490
20491 * window.el (display-buffer-normalize-default): Don't invert
20492 meaning of even-window-heights. Reported by Eli Zaretskii
20493 <eliz@gnu.org>.
20494
20495 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20496
20497 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20498
20499 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20500
20501 * window.el (display-buffer): Fix arguments to
20502 display-buffer-reuse-window in last change.
20503
20504 * faces.el (link): Use a less saturated blue on light backgrounds.
20505
20506 * startup.el (fancy-startup-text, fancy-about-text)
20507 (fancy-startup-tail): Use font-lock faces, for background safety.
20508
20509 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20510
20511 * emulation/viper-cmd.el (viper-change-state-to-vi):
20512 Limit triggering of abbrev expansion (Bug#9038).
20513
20514 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20515
20516 * window.el (display-buffer-default-specifiers): Remove.
20517 (display-buffer-macro-specifiers): Remove default specifiers.
20518 (display-buffer-alist): Default to nil.
20519 (display-buffer-reuse-window): New optional argument other-window.
20520 (display-buffer-pop-up-window): Allow splitting internal
20521 windows. Check whether a live window was created.
20522 (display-buffer-other-window-means-other-frame)
20523 (display-buffer-normalize-arguments): Rename to
20524 display-buffer-normalize-argument and rewrite. Set the
20525 other-window specifier.
20526 (display-buffer-normalize-special): New function.
20527 (display-buffer-normalize-options): Rename to
20528 display-buffer-normalize-default and rewrite.
20529 (display-buffer-normalize-options-inhibit): Remove.
20530 (display-buffer-normalize-specifiers): Rewrite.
20531 (display-buffer): Process other-window specifier and call
20532 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20533 more faithfully.
20534 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20535 (display-buffer-alist-set): Don't handle 'unset default values.
20536 (display-buffer-in-window, display-buffer-alist-set):
20537 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20538 <tassilo@member.fsf.org>.
20539
20540 2011-07-09 Leo Liu <sdl.web@gmail.com>
20541
20542 * register.el (insert-register): Restore accidental change on
20543 2011-06-26. (Bug#9028)
20544
20545 2011-07-09 Glenn Morris <rgm@gnu.org>
20546
20547 * subr.el (remq): Handle the empty list. (Bug#9024)
20548
20549 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20550
20551 * mail/sendmail.el (send-mail-function): No longer delay custom
20552 initialization.
20553 * custom.el (custom-initialize-delay): Doc fix.
20554
20555 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20556
20557 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20558
20559 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20560
20561 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20562 human-friendly prompt.
20563
20564 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20565
20566 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20567 provided by a particular plugin.
20568
20569 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20570
20571 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20572 save customizations (with "emacs -Q"), just set the variable
20573 instead of erroring out.
20574
20575 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20576
20577 2011-07-08 Juri Linkov <juri@jurta.org>
20578
20579 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20580 (archive-zip-update-case): Use 7z if found by `executable-find'.
20581 The order of searching the available programs is the same as in
20582 `archive-zip-extract' (bug#8968).
20583
20584 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20585
20586 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20587 (menu-bar-options-menu): Tweak descriptions.
20588
20589 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20590
20591 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20592 menu items into verb phrases (bug#1421). Also refill to fit under
20593 80 columns.
20594
20595 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20596
20597 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20598 (Info-read-node-name): Doc fix (Bug#1084).
20599
20600 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20601 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20602 (end-of-sexp, beginning-of-sexp)
20603 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20604 (forward-symbol, forward-same-syntax, word-at-point)
20605 (sentence-at-point): Doc fix (Bug#1144).
20606
20607 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20608
20609 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20610 should cover it (bug#1281).
20611
20612 * cus-edit.el (custom-show): Mark as obsolete.
20613
20614 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20615 negotiation fails, then possibly try again with a non-encrypted
20616 connection (bug#9017).
20617
20618 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20619 be used.
20620
20621 2011-07-07 Richard Stallman <rms@gnu.org>
20622
20623 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20624 property, and handle its changed format.
20625 Look for the correct line number.
20626 Use file's line contents (but not past first =) to find
20627 correct line in message.
20628
20629 2011-07-07 Kenichi Handa <handa@m17n.org>
20630
20631 * international/characters.el (build-unicode-category-table):
20632 Delete it.
20633 (unicode-category-table): Set it by unicode-property-table-internal.
20634
20635 * international/mule-cmds.el (char-code-property-alist): Move to
20636 to src/chartab.c.
20637 (get-char-code-property): Call unicode-property-table-internal to
20638 load a file. Call get-unicode-property-internal where necessary.
20639 (put-char-code-property): Call unicode-property-table-internal to
20640 load a file. Call put-unicode-property-internal where necessary.
20641 put-unicode-property-internal where necessary.
20642 (char-code-property-description):
20643 Call unicode-property-table-internal to load a file.
20644
20645 * international/charprop.el:
20646 * international/uni-bidi.el:
20647 * international/uni-category.el:
20648 * international/uni-combining.el:
20649 * international/uni-comment.el:
20650 * international/uni-decimal.el:
20651 * international/uni-decomposition.el:
20652 * international/uni-digit.el:
20653 * international/uni-lowercase.el:
20654 * international/uni-mirrored.el:
20655 * international/uni-name.el:
20656 * international/uni-numeric.el:
20657 * international/uni-old-name.el:
20658 * international/uni-titlecase.el:
20659 * international/uni-uppercase.el: Regenerate.
20660
20661 * loadup.el: Load international/charprop.el before
20662 international/characters.
20663
20664 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20665
20666 * window.el (next-buffer, previous-buffer): Signal an error if
20667 called from a minibuffer window.
20668
20669 * bindings.el: Revert 2011-07-04 change.
20670
20671 2011-07-06 Richard Stallman <rms@gnu.org>
20672
20673 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20674 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20675 Treat markers like ints.
20676 (rmail-mime-entity): Doc fix.
20677
20678 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20679
20680 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20681 defcustom again for backwards compatibility.
20682
20683 * simple.el (shell-command-on-region): Fill.
20684
20685 * dired-aux.el (dired-kill-line): Add a doc string.
20686
20687 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20688 to "\\sw\\|\\s_" (bug#358).
20689
20690 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20691 (dired-unmark-backward): Ditto.
20692 (dired-flag-backup-files): Ditto.
20693
20694 * dired-x.el (dired-mark-sexp): Ditto.
20695
20696 2011-07-06 Richard Stallman <rms@gnu.org>
20697
20698 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20699 (rmail-mime-entity): New arg TRUNCATED.
20700 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20701 New functions.
20702 (rmail-mime-save): Warn if entity is truncated.
20703 (rmail-mime-toggle-hidden): Likewise, for showing.
20704 (rmail-mime-process-multipart): Record when an entity is truncated.
20705
20706 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20707 if ENTITY is a string.
20708
20709 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20710
20711 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20712 of faces when `M-C-x'-ing their definitions (bug#8378).
20713 Also clean up the code slightly.
20714
20715 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20716 because that makes the colors go away.
20717
20718 * mail/sendmail.el (send-mail-function): Change the default to
20719 `sendmail-query-once'.
20720 (sendmail-query-once): Add an autoload cookie.
20721
20722 * net/network-stream.el (network-stream-open-starttls): Try using
20723 a plain connection even if the server offered STARTTLS, and we
20724 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20725 capability. This should make smtpmail.el work in slightly more
20726 configurations.
20727
20728 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20729
20730 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20731 New defun.
20732 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20733
20734 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20735
20736 * progmodes/sql.el: Version 3.0
20737 (sql-product-alist): Add product :completion-object,
20738 :completion-column, and :statement attributes.
20739 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20740 (sql-mode-syntax-table): Mark all punctuation.
20741 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20742 ansi keywords.
20743 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20744 (sql-mode-oracle-font-lock-keywords): Improve.
20745 (sql-oracle-show-reserved-words): New function for development.
20746 (sql-product-font-lock): Simplify for source code buffers.
20747 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20748 New functions.
20749 (sql-highlight-product): Set product specific syntax table.
20750 (sql-mode-map): Add statement movement functions.
20751 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20752 New variable.
20753 (sql-statement-regexp, sql-beginning-of-statement)
20754 (sql-end-of-statement, sql-signum): New functions.
20755 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20756 (sql-show-sqli-buffer): Bug fix.
20757 (sql-interactive-mode): Store connection data as buffer local.
20758 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20759 with sql-interactive-mode.
20760 (sql-save-connection): Save buffer local settings.
20761 (sql-connection-menu-filter): Change menu entry name.
20762 (sql-product-interactive): Bug fix.
20763 (sql-preoutput-hold): New variable.
20764 (sql-interactive-remove-continuation-prompt): Bug fixes.
20765 (sql-debug-redirect): New variable.
20766 (sql-str-literal): New function.
20767 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20768 Redesign.
20769 (sql-oracle-save-settings, sql-oracle-restore-settings)
20770 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20771 (sql-completion-object, sql-completion-column)
20772 (sql-completion-sqlbuf): New variables.
20773 (sql-build-completions-1, sql-build-completions)
20774 (sql-try-completion): New functions.
20775 (sql-read-table-name): Use them.
20776 (sql-contains-names): New buffer local variable.
20777 (sql-list-all, sql-list-table): Use it.
20778 (sql-oracle-completion-types): New variable.
20779 (sql-oracle-completion-object, sql-sqlite-completion-object)
20780 (sql-postgres-completion-object): New functions.
20781
20782 2011-07-06 Glenn Morris <rgm@gnu.org>
20783
20784 * window.el (pop-to-buffer): Doc fix.
20785
20786 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20787
20788 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20789
20790 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20791
20792 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20793
20794 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20795
20796 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20797
20798 * button.el (button): Inherit from link face. Suggested by Dan
20799 Nicolaescu.
20800
20801 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20802
20803 * progmodes/gdb-mi.el: Fit in 80 columns.
20804 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20805 switch-to-buffer.
20806
20807 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20808 if imenu is simply not configured (bug#8941).
20809
20810 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20811
20812 * allout.el (allout-post-undo-hook): New allout outline-change
20813 event hook to signal undo activity.
20814 (allout-post-command-business): Run allout-post-undo-hook if an
20815 undo just occurred.
20816 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20817 * allout-widgets.el (allout-widgets-after-undo-function):
20818 Ensure the integrity of the current item's decoration after it has been
20819 in the vicinity of an undo.
20820 (allout-widgets-mode): Include allout-widgets-after-undo-function
20821 on the new allout-post-undo-hook.
20822
20823 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20824
20825 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20826 Let define-derived-mode define it.
20827 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20828 cycles of abbrev-table inheritance (bug#8998).
20829
20830 2011-07-05 Roland Winkler <winkler@gnu.org>
20831
20832 * textmodes/bibtex.el: Add support for biblatex.
20833 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20834 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20835 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20836 (bibtex-entry-alist, bibtex-field-alist): New variables.
20837 (bibtex-entry-field-alist): Obsolete alias for
20838 bibtex-BibTeX-entry-alist.
20839 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20840 (bibtex-set-dialect): New command.
20841 (bibtex-entry-type, bibtex-entry-head)
20842 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20843 Bind via bibtex-set-dialect.
20844 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20845 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20846 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20847 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20848 Define via bibtex-set-dialect.
20849 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20850 Obey bibtex-no-opt-remove-re.
20851 (bibtex-vec-push, bibtex-vec-incr): New functions.
20852 (bibtex-format-entry, bibtex-field-list)
20853 (bibtex-print-help-message, bibtex-validate)
20854 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20855
20856 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20857
20858 * progmodes/compile.el (compilation-goto-locus):
20859 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20860 * bs.el (bs-cycle-next, bs-cycle-previous):
20861 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20862 * bindings.el (mode-line-other-buffer):
20863 * autoinsert.el (auto-insert):
20864 * arc-mode.el (archive-extract):
20865 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20866
20867 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20868
20869 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20870 Fix check of `emacs-lock-unlockable-modes'.
20871 Coerce true values of `emacs-lock--try-unlocking' to t.
20872
20873 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20874
20875 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20876 * emacs-lock.el: New file.
20877
20878 2011-07-05 Julien Danjou <julien@danjou.info>
20879
20880 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20881 than `boundp' to check if face is set.
20882
20883 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20884
20885 * register.el (registerv-make):
20886 * window.el (window-min-height): Fix typos in docstrings.
20887
20888 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20889
20890 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20891 Update doc string.
20892
20893 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20894
20895 * server.el (server-execute): Catch quit and call
20896 `server-return-error' to pass the error back to emacsclient and
20897 close the connection (bug#8942).
20898
20899 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20900
20901 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20902 insecure exception for current topic. Also note that auto-saves
20903 are handled differently.
20904
20905 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20906 State variables for tracking auto-save inhibition situation.
20907
20908 (allout-write-contents-hook-handler): Rename from
20909 'allout-write-file-hook-handler', and describe how it depends on
20910 write-contents-functions sensitivity to non-nil value to prevent
20911 file write.
20912
20913 (allout-auto-save-hook-handler): Remove. auto-save does not check
20914 this in individual buffers, only in the starting buffer, so this
20915 is not the right way for us to inhibit auto-save in a buffer
20916 according to its condition.
20917
20918 (allout-mode): Use new allout-write-contents-hook-handler, and
20919 only with write-contents-functions. Remove auto-save provisions -
20920 they're implemented elsewhere.
20921
20922 (allout-before-change-handler): If undo is in progress, note that
20923 for attention of allout-post-command-business.
20924
20925 (allout-post-command-business): If the command we're following was
20926 an undo, check for change in the status of encrypted items and
20927 adjust auto-save inhibitions accordingly.
20928
20929 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20930 according to whether there are or aren't any plain-text topics
20931 pending encryption.
20932
20933 (allout-inhibit-auto-save-info-for-decryption):
20934 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20935 if there are plain-text topics pending encryption.
20936
20937 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20938 buffer-saved-size and some allout state to not inhibit auto-saves
20939 if there are no longer any plain-text topics pending encryption.
20940
20941 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20942 No longer provide for exemption of the current topic.
20943
20944 2011-07-04 Juri Linkov <juri@jurta.org>
20945
20946 Add 7z operations to delete and save changed members (bug#8968).
20947 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20948 New defcustoms.
20949 (archive-7z-write-file-member): New function.
20950 (archive-7z-summarize): Fix the number of dashes in the
20951 listing output.
20952
20953 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20954
20955 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20956 (bug#8958).
20957
20958 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20959
20960 * bindings.el: Ignore next-buffer and previous-buffer in
20961 minibuffer-local-map.
20962
20963 * font-lock.el (font-lock-builtin-face): Change light background
20964 color to dark slate blue (Bug#6693).
20965
20966 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20967
20968 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20969
20970 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20971
20972 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20973 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20974 Add switch-to-buffer.
20975
20976 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20977
20978 * isearch.el (isearch-search-fun-function): Clarify further the
20979 meaning of the function returned.
20980
20981 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20982
20983 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20984
20985 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20986 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20987 Use it.
20988 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20989 `tramp-default-remote-path' does not exist.
20990 (tramp-send-command-and-read): New optional argument NOERROR.
20991 (tramp-open-connection-setup-interactive-shell)
20992 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20993 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20994 (tramp-process-sentinel): Flush also process' connection property.
20995 (tramp-sh-handle-start-file-process): Do not set process
20996 sentinel. It is done now ...
20997 (tramp-maybe-open-connection): ... here. (Bug#8929)
20998
20999 2011-07-04 MON KEY <monkey@sandpframing.com>
21000
21001 * play/animate.el (animate-string): Doc fixes and allow changing
21002 the buffer name (bug#5417).
21003
21004 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21005
21006 * play/animate.el (animation-buffer-name): Rename from *animate*.
21007
21008 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21009
21010 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21011 This is simpler and helps future-proof the code.
21012 (timer-until): Use time-subtract and float-time.
21013 (timer--time-less-p): Use time-less-p.
21014
21015 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21016
21017 * type-break.el (timep): Use the value of `float-time' to avoid a
21018 byte-compiler warning.
21019
21020 * server.el (server-eval-and-print): Return any result, even nil.
21021
21022 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21023
21024 * type-break.el: Accept time formats that the builtins accept.
21025 (timep, type-break-time-difference): Accept any format that
21026 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21027 This is simpler and helps future-proof the code.
21028 (type-break-time-difference): Round rather than ignoring
21029 subseconds components.
21030
21031 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21032
21033 * info.el (Info-apropos-matches): Make non-interactive, since it
21034 doesn't seem to do anything useful as a command (bug#8829).
21035
21036 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21037
21038 * frame.el (frame-background-mode, frame-set-background-mode):
21039 Move from faces.el.
21040 (frame-default-terminal-background): New function.
21041
21042 * custom.el (custom-push-theme): Don't record faces in `changed'
21043 theme; this doesn't work correctly for per-frame face settings.
21044 (disable-theme): Use face-set-after-frame-default to reset faces.
21045 (custom--frame-color-default): New function.
21046
21047 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21048
21049 * dired.el (dired-flagging-regexp): Remove unused variable
21050 (bug#8769).
21051
21052 2011-03-29 Kevin Ryde <user42@zip.com.au>
21053
21054 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21055 `perl-Test2' extend to match possible "fail #N" rep count
21056 (bug#8377).
21057
21058 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21059
21060 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21061 `smtpmail-via-smtp' now returns the error instead of nil.
21062
21063 * isearch.el (isearch-search-fun-function): Clarify the doc string
21064 (bug#8101).
21065
21066 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21067
21068 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21069 unnecessary spaces (bug#8987).
21070
21071 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21072
21073 * net/network-stream.el (open-network-stream): Use the
21074 :end-of-capability command thoughout.
21075
21076 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21077
21078 * net/network-stream.el (open-network-stream): Add the
21079 :end-of-capability command parameter, used by pop3.el.
21080
21081 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21082
21083 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21084
21085 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21086 for list)" (bug#6475).
21087
21088 * files.el (file-expand-wildcards): Ignore non-readable
21089 sub-directories while trying to find matches instead of signaling
21090 an error (bug#6297).
21091
21092 * man.el (Man-reference-regexp): Allow matching possible
21093 word-wrapped references (bug#6289).
21094
21095 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21096 for consistency with the other vc buffers (bug#6197).
21097 (vc-checkin): Ditto.
21098
21099 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21100
21101 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21102
21103 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21104
21105 * custom.el (defcustom): Clarify that :set is only used in the
21106 Customize user interface (bug#6089).
21107
21108 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21109 associated with a file, refuse to run instead of erroring out
21110 (bug#6084).
21111
21112 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21113 the doc string, since it appears that using `fill-column' always
21114 controls the width (bug#7845).
21115
21116 * simple.el (shell-command-on-region): Say where the error output
21117 went if `shell-command-default-error-buffer' is set (bug#6857).
21118
21119 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21120
21121 * allout.el (allout-yank-processing): Adjust cursor position for
21122 backwards-deleted space.
21123
21124 (allout-rebullet-heading): Register changes with
21125 allout-exposure-changed-hook, so the modified topic is properly
21126 decorated.
21127
21128 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21129
21130 * minibuffer.el (completion-in-region): Document PREDICATE
21131 (bug#7136).
21132
21133 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21134 of keyword/argument pairs (bug#6904).
21135
21136 * replace.el (multi-occur):
21137 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21138
21139 2011-07-02 Drew Adams <drew.adams@oracle.com>
21140
21141 * dired.el (dired-mark-if): Make the message about whether it's
21142 marking or unmarking clearer (bug#8523).
21143
21144 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21145
21146 * disp-table.el (display-table-print-array): New function.
21147 (describe-display-table): Use it to print the vectors more pretty
21148 (Bug#8859).
21149
21150 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21151
21152 * window.el (window-state-get-1): Don't assign clone numbers.
21153 Add clone-of item to list of window parameters.
21154 (window-state-put-2): Don't process clone numbers.
21155 (display-buffer-alist): Fix doc-string.
21156
21157 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21158
21159 * subr.el (remq): Don't allocate if it's not needed.
21160 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21161 (keymap--merge-bindings): New functions.
21162 (keymap-canonicalize): Use them to refine the canonicalization.
21163 * minibuffer.el (minibuffer-local-completion-map)
21164 (minibuffer-local-must-match-map): Move initialization from C.
21165 (minibuffer-local-filename-completion-map): Move initialization from C;
21166 don't inherit from anything here.
21167 (minibuffer-local-filename-must-match-map): Make obsolete.
21168 (completing-read-default): Use make-composed-keymap to combine
21169 minibuffer-local-filename-completion-map with either
21170 minibuffer-local-must-match-map or
21171 minibuffer-local-filename-completion-map.
21172
21173 2011-07-01 Glenn Morris <rgm@gnu.org>
21174
21175 * type-break.el (type-break-time-sum): Use dolist.
21176
21177 * textmodes/flyspell.el (flyspell-word-search-backward):
21178 Replace CL function.
21179
21180 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21181
21182 * mouse.el (mouse--strip-first-event): New function.
21183 (function-key-map): Use it to map fringe clicks to normal clicks
21184 by default.
21185
21186 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21187 (vc-bzr-revision-completion-table): Add support for annotate and date.
21188
21189 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21190 inherit from parent.
21191
21192 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21193
21194 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21195 (dired-show-file-type): Doc fixup (bug#8818).
21196
21197 * dired.el (dired-mode): Fix up the doc string as suggested by
21198 Drew Adams (bug#8817).
21199
21200 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21201 cookie, since the manual says that it should be possible to add
21202 this function to `find-file-hook' (bug#8709).
21203
21204 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21205
21206 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21207 here. Noted Ted Zlatanov as the maintainer.
21208 (cfengine-common-settings, cfengine-common-syntax): New functions
21209 to set up common things between `cfengine-mode' and
21210 `cfengine3-mode'.
21211 (cfengine3-mode): New mode.
21212 (cfengine3-defuns cfengine3-defuns-regex
21213 (cfengine3-class-selector-regex cfengine3-category-regex)
21214 (cfengine3-vartypes cfengine3-font-lock-keywords)
21215 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21216 (cfengine3-indent-line): Add from cfengine3.el.
21217
21218 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21219
21220 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21221
21222 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21223
21224 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21225
21226 * window.el (same-window-buffer-names, same-window-regexps)
21227 (same-window-p, special-display-frame-alist)
21228 (special-display-popup-frame, special-display-function)
21229 (special-display-buffer-names, special-display-regexps)
21230 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21231 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21232 (split-window-preferred-function, split-height-threshold)
21233 (split-width-threshold, even-window-heights)
21234 (display-buffer-mark-dedicated, window-splittable-p)
21235 (split-window-sensibly, window-safely-shrinkable-p):
21236 Un-obsolete.
21237 (display-buffer): Don't spread args with function specifier
21238 because special-display-popup-frame won't like it.
21239
21240 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21241
21242 Time-stamp simplifications and fixes.
21243 These improve accuracy slightly, and future-proof the code
21244 against some potential changes to current-time format.
21245
21246 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21247 by using time-since and float-time.
21248
21249 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21250 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21251 + NNN microseconds".
21252
21253 * type-break.el (type-break-time-sum): Rewrite using time-add.
21254
21255 * play/hanoi.el (hanoi-current-time-float): Remove.
21256 All uses replaced by float-time.
21257
21258 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21259 This yields a more-accurate answer.
21260 (rng-time-to-float): Remove; no longer needed.
21261
21262 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21263
21264 * calendar/timeclock.el (timeclock-seconds-to-time):
21265 Defalias to seconds-to-time, since they're the same thing.
21266
21267 * emacs-lisp/elp.el (elp-elapsed-time):
21268 * emacs-lisp/benchmark.el (benchmark-elapse):
21269 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21270
21271 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21272
21273 * window.el (bury-buffer): Don't iconify the only frame.
21274 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21275 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21276
21277 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21278
21279 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21280 Add mouse-yank-primary.
21281
21282 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21283
21284 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21285
21286 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21287
21288 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21289 (find-library-name): Use it to find relative load names when provided
21290 absolute file name (bug#8803).
21291
21292 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21293
21294 * textmodes/flyspell.el (flyspell-word): Consider words that
21295 differ only in case as potential doublons (bug#5687).
21296
21297 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21298 Remove two rather uninteresting debugging-like messages to make
21299 debbugs.el more silent.
21300
21301 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21302 a password-like phrase.
21303
21304 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21305
21306 * progmodes/cc-guess.el: New file.
21307
21308 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21309
21310 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21311 derived from `c-basic-common-init'.
21312
21313 * progmodes/cc-mode.el (top-level): Require cc-guess.
21314 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21315
21316 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21317
21318 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21319
21320 2011-06-30 Alan Mackenzie <acm@muc.de>
21321
21322 * progmodes/cc-engine.el (c-guess-continued-construct):
21323 Correct the handling of template-args-cont, particularly for when font
21324 lock is disabled. Name this case as "CASE G".
21325
21326 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21327
21328 * allout.el (allout-yank-processing): Fix injection of extra space
21329 between bullet and non-whitespace character in first topic when
21330 pasting, ensuring that the actual spacing in the pasted topic
21331 following the bullet char is preserved. This extra space was
21332 causing pasted encrypted topics to get a decrypted status even
21333 when the content was actually still encrypted. Now the decryption
21334 status from before the paste is preserved.
21335
21336 (allout-flag-region): Set all allout overlays so they evaporate
21337 when reduced to zero length (evanescent), to prevent overlay
21338 leakage.
21339
21340 2011-06-30 Glenn Morris <rgm@gnu.org>
21341
21342 * w32-fns.el (w32-charset-info-alist): Declare.
21343
21344 * find-dired.el (find-grep-options): Simplify.
21345
21346 * term/ns-win.el (ns-set-resource): Declare.
21347
21348 * ses.el (row, col): Declare dynamic variables honestly.
21349
21350 * textmodes/reftex-parse.el (index-tags): Declare.
21351
21352 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21353
21354 * cus-edit.el (customize-push-and-save): New function.
21355
21356 * files.el (hack-local-variables-confirm): Use it.
21357
21358 * custom.el (load-theme): New arg NO-CONFIRM.
21359 Use customize-push-and-save (Bug#8720).
21360 (custom-enabled-themes): Doc fix.
21361
21362 * cus-theme.el (customize-create-theme)
21363 (custom-theme-merge-theme): Callers to load-theme changed.
21364
21365 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21366
21367 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21368 short URLs have at least one dot in them (bug #7614).
21369
21370 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21371 nil, because using a pty is apparently too slow (bug #895).
21372
21373 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21374
21375 * mail/sendmail.el (sendmail-query-once): New function.
21376 (sendmail-query-once-function): New variable.
21377
21378 2011-06-29 Glenn Morris <rgm@gnu.org>
21379
21380 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21381
21382 * ses.el (top-level): Require cl when compiling.
21383 (ses-set-localvars): Fix error statement.
21384 Call it at compile time to silence a storm of warnings.
21385
21386 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21387
21388 * window.el (normalize-live-buffer): Rename to
21389 window-normalize-buffer.
21390 (normalize-live-frame): Rename to window-normalize-frame.
21391 (normalize-any-window): Rename to window-normalize-any-window.
21392 (normalize-live-window): Rename to window-normalize-live-window.
21393 (make-window-atom): Rename to window-make-atom.
21394 (window-resize-reset): Rename to window--resize-reset.
21395 (window-resize-reset-1): Rename to window--resize-reset-1.
21396 (resize-mini-window): Rename to window--resize-mini-window.
21397 (resize-subwindows-skip-p): Rename to
21398 window--resize-subwindows-skip-p.
21399 (resize-subwindows-normal): Rename to
21400 window--resize-subwindows-normal.
21401 (resize-subwindows): Rename to window--resize-subwindows.
21402 (resize-other-windows): Rename to window--resize-siblings.
21403 (resize-this-window): Rename to window--resize-this-window.
21404 (resize-root-window): Rename to window--resize-root-window.
21405 (resize-root-window-vertically): Rename to
21406 window--resize-root-window-vertically.
21407 (normalize-buffer-to-display): Rename to
21408 window-normalize-buffer-to-display.
21409 (normalize-buffer-to-switch-to): Rename to
21410 window-normalize-buffer-to-switch-to.
21411 Correspondingly update all callers of the functions listed
21412 above.
21413 (display-buffer-alist, display-buffer-normalize-arguments)
21414 (display-buffer-normalize-options, display-buffer)
21415 (display-buffer-alist-set): Use "function" instead of
21416 "fun-with-args".
21417
21418 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21419
21420 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21421 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21422 debbugs.gnu.org. Mention acknowledgment email.
21423
21424 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21425
21426 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21427 buffer multibyteness, since it shouldn't matter.
21428
21429 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21430
21431 * window.el (display-buffer-in-side-window): Handle dedicated
21432 windows as in display-buffer-reuse-window.
21433 (display-buffer-normalize-alist): Use value of override
21434 specifier.
21435 (display-buffer-normalize-specifiers): Use value of
21436 other-window-means-other-frame specifier.
21437 (display-buffer-alist): Rewrite some texts in widgets.
21438 (display-buffer): Spread arguments when calling function
21439 specified by fun-with-args.
21440
21441 2011-06-28 Deniz Dogan <deniz@dogan.se>
21442
21443 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21444 Unnest `let'.
21445
21446 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21447 selectors (Bug#5732).
21448 (css-proprietary-nmstart-re): Use `regexp-opt'.
21449
21450 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21451
21452 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21453 (eshell-ls-date-format): New defcustom.
21454 (eshell-ls-file): Use it.
21455
21456 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21457
21458 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21459
21460 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21461
21462 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21463 (ange-ftp-make-tmp-name): New arg.
21464 (ange-ftp-file-local-copy): Use it.
21465
21466 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21467
21468 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21469 no-conversion (Bug#8870).
21470
21471 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21472
21473 * window.el (window-right, window-left, window-child)
21474 (window-child-count, window-last-child)
21475 (window-iso-combination-p, walk-window-tree-1)
21476 (window-atom-check-1, window-tree-1, delete-window)
21477 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21478 new naming conventions - window-vchild, window-hchild,
21479 window-next and window-prev are now called window-top-child,
21480 window-left-child, window-next-sibling and window-prev-sibling
21481 respectively.
21482 (resize-window-reset): Rename to window-resize-reset.
21483 (resize-window-reset-1): Rename to window-resize-reset-1.
21484 (resize-window): Rename to window-resize.
21485 (window-min-height, window-min-width)
21486 (resize-mini-window, resize-this-window, resize-root-window)
21487 (resize-root-window-vertically, adjust-window-trailing-edge)
21488 (enlarge-window, shrink-window, maximize-window)
21489 (minimize-window, delete-window, quit-restore-window)
21490 (split-window, balance-windows, balance-windows-area-adjust)
21491 (balance-windows-area, window-state-put-2)
21492 (display-buffer-even-window-sizes, display-buffer-set-height)
21493 (display-buffer-set-width, set-window-text-height)
21494 (fit-window-to-buffer): Rename all "resize-window" prefixed
21495 calls to use the "window-resize" prefix convention.
21496 (display-buffer-alist): Fix symbol for label specifier.
21497 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21498 corresponding specifier.
21499 Reported by Juanma Barranquero <lekktu@gmail.com>.
21500
21501 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21502
21503 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21504 convention.
21505 (ses-call-printer): Does not pass an empty string to formatter when the
21506 cell is empty to keep from barking printer Calc math-format-value.
21507
21508 2011-06-27 Richard Stallman <rms@gnu.org>
21509
21510 * battery.el (battery-mode-line-limit): New variable.
21511 (battery-update): Handle it.
21512
21513 * mail/rmailmm.el (rmail-mime-process-multipart):
21514 Handle truncated messages.
21515
21516 2011-06-27 Glenn Morris <rgm@gnu.org>
21517
21518 * progmodes/flymake.el (flymake-err-line-patterns):
21519 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21520
21521 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21522
21523 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21524 (ses--clean-!, ses--clean-_): New functions.
21525 (ses-range): Add configurability of readout order, and conversion
21526 to Calc vector.
21527
21528 * ses.el (ses-repair-cell-reference-all): New function.
21529 (ses-cell-symbol): Set macro as safe, so that it can be used in
21530 formulas.
21531
21532 * ses.el: Update cycle detection algorithm.
21533 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21534 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21535 (ses-set-localvars): New function.
21536 (ses-make-cell): Add property-list as a cell element.
21537 (ses-cell-property-get-fun, ses-cell-property-get)
21538 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21539 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21540 New functions.
21541 (ses-cell-property-set, ses-cell-property-pop)
21542 (ses-cell-property-get-handle): New macro.
21543 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21544 New aliases, used for code readability.
21545 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21546 cycle detection.
21547 (ses-self-reference-early-detection): New defcustom.
21548 (ses-formula-references): Robustify against self-referring cells.
21549 (ses-mode): Use ses-set-localvars.
21550 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21551 before lauching the update processing.
21552 (ses-initialize-Dijkstra-attempt): New function.
21553 (ses-recalculate-cell): Update for cycle detection based on
21554 Dijkstra algorithm.
21555
21556 * ses.el: Fix commenting and indenting convention.
21557
21558 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21559
21560 * bs.el (bs-cycle-next): Complete last change.
21561
21562 2011-06-27 Drew Adams <drew.adams@oracle.com>
21563
21564 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21565
21566 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21567
21568 * net/network-stream.el (network-stream-open-starttls):
21569 Don't re-get capabilities unless we've reestablished connection.
21570 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21571
21572 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21573 to binary to possibly avoid line encoding issues on Windows (among
21574 other things).
21575
21576 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21577
21578 * net/network-stream.el (open-network-stream): Return an :error
21579 saying what the problem was, if possible.
21580
21581 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21582 server.
21583
21584 * net/network-stream.el (network-stream-open-starttls): If we
21585 wanted to use STARTTLS, and the server offered it, but we weren't
21586 able to because we had no STARTTLS support, then close the connection.
21587 (open-network-stream): Return an :error element, if present.
21588
21589 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21590
21591 * hl-line.el (hl-line-sticky-flag): Doc fix.
21592 (global-hl-line-sticky-flag): New option (Bug#8323).
21593 (global-hl-line-highlight): Obey it.
21594
21595 * vc/vc.el (vc-revert-show-diff): Default to t.
21596
21597 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21598
21599 * allout-widgets.el (allout-widgets-post-command-business):
21600 Stop decorating intermediate isearch matches. They're not being
21601 undecorated when an isearch is continued past, and isearch
21602 automatically collapses them. This leads to "widget leaks", where
21603 decorated items accumulate in collapsed areas. Lines with lots of
21604 hidden widgets can slow down cursor travel, substantially.
21605 Too much complicated machinery would be needed to ensure undecoration,
21606 so we're doing without this nicety.
21607
21608 (allout-widgets-tally-string): Don't try to do a hash-table-count
21609 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21610 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21611 *Messages* when allout-widgets-maintain-tally is t.
21612
21613 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21614
21615 * window.el (display-buffer-normalize-argument): Rename to
21616 display-buffer-normalize-arguments. Handle special meaning of
21617 LABEL argument. Respect special-display-function when popping up
21618 a new frame. Fix code searching for a window showing the buffer
21619 on another frame.
21620 (display-buffer-normalize-specifiers):
21621 Call display-buffer-normalize-arguments.
21622 (display-buffer-in-window): Don't undedicate the window if its
21623 buffer remains the same.
21624 Reported by Drew Adams <drew.adams@oracle.com>.
21625 (display-buffer-alist): Add choice for same-window macro
21626 specfier.
21627 (display-buffer): Mention special meaning of LABEL argument in
21628 doc-string. Fix quoting. Don't pop up a new frame even as
21629 fallback.
21630
21631 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21632
21633 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21634 avoid deleting the current window in some cases (bug#8911).
21635
21636 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21637
21638 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21639 (Bug#8934)
21640
21641 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21642
21643 * net/network-stream.el (network-stream-open-starttls):
21644 Use built-in TLS support if `gnutls-available-p' is true.
21645 (network-stream-open-tls): Ditto.
21646
21647 2011-06-26 Leo Liu <sdl.web@gmail.com>
21648
21649 * register.el (registerv): New struct.
21650 (registerv-make): New function.
21651 (jump-to-register, describe-register-1, insert-register):
21652 Support the jump-func, print-func and insert-func slot of a registerv
21653 struct. (Bug#8415)
21654
21655 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21656
21657 * vc/vc.el (vc-revert-show-diff): New defcustom.
21658 (vc-diff-internal): New arg specifying diff buffer.
21659 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21660 reuse an existing *vc-diff* buffer (Bug#8927).
21661
21662 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21663
21664 2011-06-26 Glenn Morris <rgm@gnu.org>
21665
21666 * progmodes/f90.el (f90-critical-indent): New option.
21667 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21668 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21669 (f90-mode): Doc fix.
21670 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21671 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21672 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21673 (f90-match-end): Handle block, critical.
21674
21675 2011-06-25 Glenn Morris <rgm@gnu.org>
21676
21677 * calendar/diary-lib.el (diary-included-files): Doc fix.
21678 (diary-include-files): New function, extracted from
21679 diary-include-other-diary-files and diary-mark-included-diary-files.
21680 (diary-include-other-diary-files, diary-mark-included-diary-files):
21681 Just call diary-include-files.
21682 (diary-mark-entries): Reset diary-included-files on first call.
21683
21684 * calendar/diary-lib.el (diary-mark-entries)
21685 (diary-mark-included-diary-files):
21686 Visit included diary-files in temp buffers.
21687
21688 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21689 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21690 (f90-start-block-re, f90-imenu-generic-expression)
21691 (f90-looking-at-program-block-start, f90-no-block-limit):
21692 Add support for submodules.
21693
21694 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21695 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21696
21697 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21698
21699 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21700 buffer-file-type before setting its value, to avoid disastrous
21701 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21702
21703 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21704
21705 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21706
21707 * ses.el (ses-unload-function):
21708 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21709
21710 * proced.el (proced-unload-function):
21711 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21712
21713 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21714
21715 * server.el (server-create-window-system-frame): Add parameters arg.
21716 (server-process-filter): Doc fix. Handle frame-parameters.
21717
21718 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21719
21720 Fix bug#8730, bug#8781.
21721
21722 * loadhist.el (unload--set-major-mode): New function.
21723 (unload-feature): Use it.
21724
21725 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21726 (python-unload-function): New function.
21727
21728 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21729
21730 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21731
21732 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21733
21734 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21735 the candidates list.
21736
21737 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21738
21739 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21740
21741 2011-06-23 Richard Stallman <rms@gnu.org>
21742
21743 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21744 (rmail-variables): Set next-error-move-function.
21745 (rmail-what-message): Take argument POS.
21746 (rmail-next-error-move): New function.
21747
21748 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21749
21750 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21751 messages for adjacent non-terminals.
21752
21753 2011-06-23 Richard Stallman <rms@gnu.org>
21754
21755 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21756 (rmail-show-message-1): Preserve buffer modified flag.
21757 (rmail-start-mail): Don't specify use of rmail-mail-return;
21758 that's done by mail-bury now.
21759 (rmail-mail-return): Handle arg NEWBUF.
21760
21761 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21762
21763 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21764 SIZE is a number.
21765
21766 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21767
21768 * window.el (get-lru-window, get-mru-window)
21769 (get-largest-window): Never return a minibuffer window.
21770 (display-buffer-pop-up-window): Fix a bug that could lead to
21771 reusing the minibuffer window.
21772 (display-buffer): Pass original specifier argument to
21773 display-buffer-function instead of the normalized one.
21774 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21775
21776 2011-06-22 Leo Liu <sdl.web@gmail.com>
21777
21778 * minibuffer.el (completing-read-function)
21779 (completing-read-default): Move from minibuf.c.
21780
21781 2011-06-22 Richard Stallman <rms@gnu.org>
21782
21783 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21784 to Rmail even if not started by a special Rmail command.
21785
21786 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21787 Copy the buffer currently showing just one message.
21788
21789 2011-06-22 Roland Winkler <winkler@gnu.org>
21790
21791 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21792 (bibtex-clean-entry): First delete the old key so that a
21793 customized algorithm for generating the new key does not get
21794 confused by the old key.
21795 (bibtex-url): Obey regexp of first step.
21796 (bibtex-search-entries): Do not use add-to-list with local
21797 list-var.
21798
21799 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21800
21801 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21802 stored a user name, then query for the password first, instead of
21803 waiting for SMTP to give an error message and the trying again.
21804
21805 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21806
21807 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21808 BUFFER in call-process.
21809
21810 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21811
21812 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21813 QUIT twice.
21814 (smtpmail-try-auth-methods): Require user name and password from
21815 auth-source.
21816
21817 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21818
21819 * window.el (display-buffer-default-specifiers)
21820 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21821 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21822 (split-window): Normalize SIDE argument (Bug#8916).
21823
21824 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21825 (special-display-frame-alist, special-display-popup-frame):
21826 Remove duplicate declarations. These are now in window.el.
21827
21828 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21829
21830 * mail/smtpmail.el (smtpmail-via-smtp):
21831 Set :use-starttls-if-possible so that we always use STARTTLS if the
21832 server supports it. SMTP servers that support STARTTLS commonly
21833 require it.
21834
21835 * net/network-stream.el (network-stream-open-starttls): Support
21836 upgrading to STARTTLS always, even if we don't have built-in support.
21837 (open-network-stream): Add the :always-query-capabilities keyword.
21838
21839 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21840 upgrades with `open-network-stream', and rely solely on
21841 auth-source for all credentials. Big changes throughout the file,
21842 but in particular:
21843 (smtpmail-auth-credentials): Remove.
21844 (smtpmail-starttls-credentials): Remove.
21845 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21846 MAIL FROM, too.
21847
21848 * net/network-stream.el (network-stream-open-starttls):
21849 Provide support for client certificates both for external and built-in
21850 STARTTLS.
21851 (auth-source): Require.
21852 (open-network-stream): Document the :client-certificate keyword.
21853 (network-stream-certificate): Change cert-cert to cert and
21854 cert-key to key.
21855
21856 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21857
21858 * net/tramp-cache.el (top): Don't load the persistency file when
21859 "emacs -Q" has been called.
21860
21861 2011-06-21 Tim Harper <timcharper@gmail.com>
21862
21863 * term/ns-win.el (ns-initialize-window-system):
21864 Set application-specific `ApplePressAndHoldEnabled' system
21865 resource to NO as it is not yet supported by the NS port.
21866
21867 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21868
21869 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21870 (list-dynamic-libraries): ...not here.
21871
21872 2011-06-21 Leo Liu <sdl.web@gmail.com>
21873
21874 * subr.el (sha1): Implement sha1 using secure-hash.
21875
21876 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21877
21878 * window.el (display-buffer-alist): In default value do not
21879 enforce searching a window on any but the selected frame.
21880 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21881 (display-buffer-select-window): Remove function.
21882 (display-buffer-in-window): When a window on another frame gets
21883 reused, do not select it any more but just raise its frame if
21884 necessary (Bug#8851) and (Bug#8856).
21885 (display-buffer-normalize-options): Handle pop-up-frames related
21886 options more faithfully.
21887 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21888 window if it is on another frame.
21889 (display-buffer-alist, display-buffer-default-specifiers):
21890 Don't make new frame unsplittable by default.
21891 (display-buffer-normalize-argument): Fix doc-string typo and use
21892 'same-frame-other-window instead of 'other-window when associating
21893 with display-buffer-macro-specifiers.
21894
21895 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21896
21897 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21898 New functions.
21899 (5x5-mode-map, 5x5-mode-menu): Bind them.
21900 (5x5-draw-grid): Tweak the solver's rendering.
21901
21902 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21903
21904 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21905 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21906
21907 2011-06-21 Drew Adams <drew.adams@oracle.com>
21908
21909 * menu-bar.el: Use function variable instead of switch-to-buffer.
21910 (menu-bar-select-buffer-function): New variable.
21911 (menu-bar-update-buffers): Use it (bug#8876).
21912
21913 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21914
21915 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21916 variable's status.
21917
21918 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21919
21920 * x-dnd.el (x-dnd-version-from-flags)
21921 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21922 and long as number (Bug#8899).
21923 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21924
21925 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21926
21927 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21928 (completion-try-completion, completion-all-completions): Compute the
21929 metadata argument if it's missing; make it optional (bug#8795).
21930
21931 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21932 (widget-complete): Use new :completion-function property.
21933 (widget-completions-at-point): New function.
21934 (default): Use :completion-function instead of :complete.
21935 (widget-default-completions): Rename from widget-default-complete;
21936 Rewrite.
21937 (widget-string-complete, widget-file-complete, widget-color-complete):
21938 Remove functions.
21939 (file, symbol, function, variable, coding-system, color):
21940 * international/mule-cmds.el (default-input-method, charset)
21941 (language-info-custom-alist):
21942 * cus-edit.el (face): Use new property :completions.
21943
21944 * progmodes/pascal.el (pascal-completions-at-point): New function.
21945 (pascal-mode): Use it.
21946 (pascal-mode-map): Use completion-at-point.
21947 (pascal-toggle-completions): Make obsolete.
21948 (pascal-complete-word, pascal-show-completions):
21949 * progmodes/octave-mod.el (octave-complete-symbol):
21950 Redefine as obsolete alias.
21951 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21952 Signal absence of completion info for old Octave,
21953 (inferior-octave-complete): Redefine as obsolete alias.
21954 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21955 (meta-completions-at-point): Rename from meta-complete-symbol and
21956 adapt it for use on completion-at-point-functions.
21957 (meta-common-mode): Use it.
21958 (meta-looking-at-backward, meta-match-buffer): Remove.
21959 (meta-complete-symbol): Redefine as obsolete alias.
21960 (meta-common-mode-map): Use completion-at-point.
21961 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21962 (makefile-mode-map): Use completion-at-point.
21963 (makefile-completions-at-point): Rename from makefile-complete and
21964 adapt it for use on completion-at-point-functions.
21965 (makefile-mode): Use it.
21966 (makefile-complete): Redefine as obsolete alias.
21967
21968 2011-06-20 Deniz Dogan <deniz@dogan.se>
21969
21970 * net/rcirc.el: Delete trailing whitespaces once and for all.
21971
21972 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21973
21974 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21975
21976 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21977
21978 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21979
21980 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21981
21982 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21983
21984 * window.el (display-buffer-other-window-means-other-frame):
21985 Call display-buffer-normalize-alist.
21986 (display-buffer-normalize-specifiers-1): Rename to
21987 display-buffer-normalize-argument. New argument other-frame.
21988 Rewrite.
21989 (display-buffer-normalize-specifiers-2): Rename to
21990 display-buffer-normalize-options.
21991 (display-buffer-normalize-alist-1): New function.
21992 (display-buffer-normalize-specifiers-3): Rename to
21993 display-buffer-normalize-alist.
21994 Call display-buffer-normalize-alist-1.
21995 (display-buffer-normalize-options-inhibit): New variable.
21996 (display-buffer-normalize-specifiers): Rewrite calling
21997 display-buffer-normalize-alist,
21998 display-buffer-normalize-argument, and
21999 display-buffer-normalize-options. Don't call the latter if
22000 display-buffer-normalize-options-inhibit is non-nil.
22001 (frame-auto-delete): New option.
22002 (window-deletable-p): Use frame-auto-delete.
22003 (window-list-no-nils, window-state-ignored-parameters)
22004 (window-state-get-1, window-state-get, window-state-put-list)
22005 (window-state-put-1, window-state-put-2, window-state-put):
22006 New functions.
22007 (display-buffer-normalize-options): Move special-display-p group
22008 after pop-up-frame group (Bug#8851) and (Bug#8856).
22009
22010 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22011
22012 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22013 groups (Bug#8776).
22014 (rx-submatch-n): New function.
22015 (rx): Document it.
22016
22017 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22018 (Bug#8768).
22019
22020 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22021
22022 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22023
22024 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22025 anytime existing face settings are present (Bug#8889).
22026
22027 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22028 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22029 Remove unused argument.
22030
22031 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22032
22033 * window.el (display-buffer-default-specifiers):
22034 Remove pop-up-frame. Add pop-up-window-min-height,
22035 pop-up-window-min-width, and another reuse-window specifier
22036 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22037 (display-buffer-normalize-specifiers-2):
22038 Handle split-height-threshold and split-width-threshold also when
22039 pop-up-windows is unset. Add a reuse-window specifier for the
22040 case popping up a new window fails.
22041 (special-display-popup-frame): Remove double quoting.
22042 (display-buffer-normalize-specifiers-1): Fix thinko.
22043
22044 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22045
22046 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22047 according to comint-completion-addsuffix.
22048
22049 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22050 (pcomplete-suffix-list): Mark as obsolete.
22051 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22052 pcomplete-seen in the closure.
22053 (pcomplete-comint-setup): Setup completion-at-point as well.
22054 (pcomplete--entries): New function.
22055 (pcomplete--env-regexp): New var.
22056 (pcomplete-entries): Rewrite to work with partial-completion and
22057 without relying on pcomplete-suffix-list.
22058 (pcomplete-pare-list): Remove, unused.
22059
22060 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22061
22062 * window.el (display-buffer-alist): Set pop-up-window-min-height
22063 and pop-up-window-min-width in default value. Reported by
22064 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22065 other-window-means-other-frame.
22066 (display-buffer-macro-specifiers): Comment out entry for
22067 other-window specifier.
22068 (display-buffer-other-window-means-other-frame): New function.
22069 (display-buffer-normalize-specifiers-1): New arguments
22070 buffer-name and label. Treat other-window case specially.
22071 (display-buffer-normalize-specifiers-2): Treat other-window case
22072 specially.
22073 (display-buffer-normalize-specifiers-3): New function.
22074 (display-buffer-normalize-specifiers):
22075 Call display-buffer-normalize-specifiers-3.
22076
22077 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22078
22079 * window.el (same-window-p): Fix two typos introduced when
22080 adding with-no-warnings.
22081 (display-buffer-normalize-specifiers-1): Don't check
22082 pop-up-frames for 'unset initialization.
22083 (display-buffer-normalize-specifiers-2): Major rewrite using
22084 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22085 (pop-up-frames, display-buffer-reuse-frames)
22086 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22087 Suggested by David Engster <deng@randomsample.de>.
22088 (even-window-heights): Initialize to 'unset.
22089 (display-buffer-alist-set): Handle new 'unset initializations.
22090 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22091 other window case.
22092
22093 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22094
22095 * window.el (display-buffer-normalize-specifiers-1):
22096 Respect current value of pop-up-frames for most reasonable values of
22097 second argument of display-buffer (Bug#8865).
22098 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22099 (switch-to-buffer-other-window-same-frame)
22100 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22101 Adams (Bug#8875).
22102 (display-buffer): Don't check noninteractive when calling
22103 display-buffer-pop-up-frame.
22104 (display-buffer-pop-up-frame): Never pop up a frame in
22105 noninteractive mode (Bug#8857).
22106 (enlarge-window, shrink-window): Don't report an error when the
22107 window can't be resized as requested (Bug#8862).
22108
22109 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22110
22111 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22112
22113 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22114
22115 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22116
22117 2011-06-15 Alan Mackenzie <acm@muc.de>
22118
22119 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22120 for declarators, disable knr checking to speed up for normal files.
22121 2: Refactor, replacing a sequence of nested if forms by a cond form.
22122
22123 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22124
22125 * net/network-stream.el (open-network-stream): Add the keyword
22126 :always-query-capabilities for the case where you want to force a
22127 `plain' network connection, but the protocol still requires the
22128 capabilitiy command (i.e., SMTP and EHLO).
22129
22130 * subr.el (process-live-p): Rename from `process-alive-p' for
22131 consistency with other `-live-p' functions.
22132
22133 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22134
22135 * window.el (same-window-buffer-names, same-window-regexps)
22136 (special-display-frame-alist, special-display-popup-frame)
22137 (special-display-function, special-display-buffer-names)
22138 (special-display-regexps, pop-up-frame-alist)
22139 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22140 (pop-up-windows, split-window-preferred-function)
22141 (split-height-threshold, split-width-threshold, even-window-heights)
22142 (display-buffer-mark-dedicated): Don't encourage the use of
22143 display-buffer-alist from Elisp code.
22144
22145 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22146
22147 * progmodes/python.el (python-mode): Derive from prog-mode.
22148 * progmodes/ps-mode.el (ps-mode):
22149 * progmodes/mixal-mode.el (mixal-mode):
22150 * progmodes/cfengine.el (cfengine-mode):
22151 * progmodes/ld-script.el (ld-script-mode): Likewise.
22152
22153 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22154
22155 * window.el (display-buffer-alist): Trim default value to avoid
22156 popping up a new frame (Bug#8857) or reusing an arbitrary window
22157 on another frame.
22158 (display-buffer): Do not fall back on popping up a new frame in
22159 batch mode (Bug#8857).
22160
22161 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22162
22163 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22164 (custom-theme-summary): New function.
22165 (customize-themes): Use it.
22166
22167 2011-06-13 Glenn Morris <rgm@gnu.org>
22168
22169 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22170
22171 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22172
22173 * help.el (help-window): Remove variable.
22174 (help-window-point-marker, temp-buffer-max-height)
22175 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22176 (help-print-return-message): Don't set help-window.
22177 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22178 (help-window-setup-finish): Remove.
22179 (help-window-display-message, help-window-setup)
22180 (with-help-window): Major rewrite based on new
22181 display-buffer-window variable.
22182
22183 * help-mode.el (help-mode-finish): Remove help-window related
22184 code.
22185
22186 * view.el (view-exits-all-viewing-windows): Remove reference to
22187 view-return-to-alist in doc-string.
22188 (view-return-to-alist): Make obsolete.
22189 (view-buffer): Call pop-to-buffer-same-window and remove
22190 undo-window code.
22191 (view-buffer-other-window): Call pop-to-buffer-other-window and
22192 simplify code. Ignore second argument.
22193 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22194 simplify code. Ignore second argument.
22195 (view-return-to-alist-update): Make obsolete.
22196 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22197 Rewrite using quit-restore window parameters.
22198 (view-mode-exit): Rename second argument to EXIT-ONLY.
22199 Rewrite using quit-restore-window.
22200 (View-exit, View-exit-and-edit, View-leave, View-quit)
22201 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22202 appropriate arguments.
22203 (view-end-message): Use quit-restore window parameter.
22204
22205 * window.el (display-buffer-function): Rewrite doc-string.
22206 (display-buffer-window, display-buffer-alist): New variables.
22207 (display-buffer-split-specifiers)
22208 (display-buffer-side-specifiers)
22209 (display-buffer-macro-specifiers): New constants.
22210 (display-buffer-even-window-sizes, display-buffer-set-height)
22211 (display-buffer-set-width, display-buffer-select-window)
22212 (display-buffer-in-window, display-buffer-reuse-window)
22213 (display-buffer-split-window-1, display-buffer-split-window)
22214 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22215 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22216 (display-buffer-in-side-window, normalize-buffer-to-display)
22217 (display-buffer-normalize-specifiers-1)
22218 (display-buffer-normalize-specifiers-2)
22219 (display-buffer-normalize-specifiers, display-buffer-frame):
22220 New functions.
22221 (display-buffer): Major rewrite.
22222 (display-buffer-other-window, display-buffer-other-frame)
22223 (pop-to-buffer, switch-to-buffer-other-window)
22224 (switch-to-buffer-other-frame): Rewrite.
22225 (display-buffer-same-window, display-buffer-same-frame)
22226 (display-buffer-same-frame-other-window)
22227 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22228 (pop-to-buffer-other-window)
22229 (pop-to-buffer-same-frame-other-window)
22230 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22231 (switch-to-buffer-other-window-same-frame): New functions.
22232 (same-window-p, special-display-p): Rewrite disabling warnings.
22233 Make obsolete.
22234 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22235 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22236 Make obsolete
22237 (same-window-buffer-names, same-window-regexps)
22238 (special-display-frame-alist, special-display-popup-frame)
22239 (special-display-function, special-display-buffer-names)
22240 (special-display-regexps, pop-up-frame-alist)
22241 (pop-up-frame-function, split-window-preferred-function)
22242 (split-height-threshold, split-width-threshold)
22243 (even-window-heights): Make obsolete.
22244
22245 2011-06-12 Glenn Morris <rgm@gnu.org>
22246
22247 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22248 Misc simplifications.
22249
22250 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22251
22252 * window.el (window-safely-shrinkable-p): Restore function which
22253 was inadvertently removed in change from 2011-06-11. Declare as
22254 obsolete.
22255
22256 * calendar/calendar.el (calendar-generate-window):
22257 Use window-iso-combined-p instead of combination of one-window-p and
22258 window-safely-shrinkable-p.
22259
22260 2011-06-12 Glenn Morris <rgm@gnu.org>
22261
22262 * progmodes/fortran.el (fortran-mode-syntax-table):
22263 * progmodes/f90.el (f90-mode-syntax-table):
22264 Set % to punctuation. (Bug#8820)
22265 (f90-find-tag-default): Remove, no longer needed.
22266
22267 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22268
22269 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22270
22271 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22272
22273 * image.el (image-animated-p): Return animation delay in seconds.
22274 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22275 (image-animate-timeout): Remove DELAY argument. Don't assume
22276 every subimage has the same delay; get it from image-animated-p.
22277 (image-animate): Caller changed.
22278
22279 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22280
22281 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22282 to ignored backtrace functions.
22283
22284 2011-06-11 Glenn Morris <rgm@gnu.org>
22285
22286 * calendar/appt.el (appt-disp-window-function): Doc fix.
22287 (appt-check): Handle overlapping appointments. (Bug#8337)
22288
22289 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22290
22291 * window.el (window-tree-1, window-tree): New functions, moving
22292 the latter to window.el.
22293 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22294 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22295 (bw-refresh-edges): Remove.
22296 (balance-windows-1, balance-windows-2): New functions.
22297 (balance-windows): Rewrite in terms of window tree functions,
22298 balance-windows-1 and balance-windows-2.
22299 (bw-adjust-window): Remove.
22300 (balance-windows-area-adjust): New function with functionality of
22301 bw-adjust-window but using resize-window.
22302 (set-window-text-height): Rewrite doc-string.
22303 Use normalize-live-window and resize-window.
22304 (enlarge-window-horizontally, shrink-window-horizontally):
22305 Rename argument to DELTA.
22306 (window-buffer-height): New function.
22307 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22308 Rewrite using new window resize routines.
22309 (kill-buffer-and-window, mouse-autoselect-window-select):
22310 Use ignore-errors instead of condition-case.
22311 (quit-window): Call delete-frame instead of delete-windows-on
22312 for the only buffer on frame.
22313
22314 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22315
22316 * loadup.el (top-level): Load window before files for the sake
22317 of replace-buffer-in-windows.
22318
22319 * files.el (read-buffer-to-switch)
22320 (switch-to-buffer-other-window)
22321 (switch-to-buffer-other-frame, display-buffer-other-frame):
22322 Move to window.el.
22323
22324 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22325 (previous-buffer): Move to window.el.
22326
22327 * bindings.el (unbury-buffer): Move to window.el.
22328
22329 * window.el (delete-other-windows-vertically): Move after
22330 definition of delete-other-windows.
22331 (other-window, delete-windows-on, replace-buffer-in-windows):
22332 Move here from window.c.
22333 (record-window-buffer, unrecord-window-buffer)
22334 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22335 (switch-to-next-buffer): New functions.
22336 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22337 from simple.el. Call switch-to-next-buffer.
22338 (previous-buffer): Move here from simple.el.
22339 Call switch-to-prev-buffer.
22340 (bury-buffer): Move here from buffer.c. Switch to previous
22341 buffer when window cannot be deleted.
22342 (unbury-buffer): Move here from bindings.el.
22343 (ctl-x-map): Move binding for other-window from window.c to
22344 here.
22345 (read-buffer-to-switch, switch-to-buffer-other-window)
22346 (switch-to-buffer-other-frame): Move here from files.el.
22347 (normalize-buffer-to-switch-to): New functions.
22348 (switch-to-buffer): Move here from buffer.c.
22349 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22350
22351 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22352
22353 * window.el (window-min-height, window-min-width): Move here
22354 from window.c. Add defcustoms and rewrite doc-strings.
22355 (resize-mini-window, resize-window): New functions.
22356 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22357 Move here from window.c.
22358 (maximize-window, minimize-window): New functions.
22359 (delete-window, delete-other-windows, split-window): Move here
22360 from window.c.
22361 (window-split-min-size): New function.
22362 (split-window-keep-point): Mention split-window-above-each-other
22363 instead of split-window-vertically.
22364 (split-window-above-each-other, split-window-vertically):
22365 Rename split-window-vertically to split-window-above-each-other
22366 and provide defalias for old definition.
22367 (split-window-side-by-side, split-window-horizontally):
22368 Rename split-window-horizontally to split-window-side-by-side
22369 and provide defalias for the old definition.
22370 (ctl-x-map): Move bindings for delete-window,
22371 delete-other-windows and enlarge-window here from window.c.
22372 Replace bindings for split-window-vertically and
22373 split-window-horizontally by bindings for
22374 split-window-above-each-other and split-window-side-by-side.
22375
22376 * cus-start.el (all): Remove entries for window-min-height and
22377 window-min-width. Add entries for window-splits and
22378 window-nest.
22379
22380 2011-06-09 Glenn Morris <rgm@gnu.org>
22381
22382 * calendar/appt.el (appt-mode-line): New function.
22383 (appt-check, appt-disp-window): Use it.
22384
22385 * files.el (hack-one-local-variable-eval-safep):
22386 Allow minor-modes with explicit +/-1 arguments.
22387
22388 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22389
22390 * term/xterm.el (xterm): Add defgroup.
22391 (xterm-extra-capabilities): Add defcustom to supply known xterm
22392 capabilities, skip querying them, or query them (default).
22393 (terminal-init-xterm): Use it.
22394 (terminal-init-xterm-modify-other-keys): New function to set up
22395 modifyOtherKeys support to simplify `terminal-init-xterm'.
22396
22397 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22398
22399 * window.el (resize-window-reset, resize-window-reset-1)
22400 (resize-subwindows-skip-p, resize-subwindows-normal)
22401 (resize-subwindows, resize-other-windows, resize-this-window)
22402 (resize-root-window, resize-root-window-vertically)
22403 (window-deletable-p, window-or-subwindow-p)
22404 (frame-root-window-p): New functions.
22405
22406 2011-06-09 Glenn Morris <rgm@gnu.org>
22407
22408 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22409 (ange-ftp-get-files): Use it.
22410
22411 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22412
22413 * mail/sendmail.el (mail-recover-1, mail-recover):
22414 * files.el (recover-file, recover-session):
22415 Handle dired-listing-switches not being just a single short option.
22416
22417 2011-06-09 Glenn Morris <rgm@gnu.org>
22418
22419 * calendar/appt.el (appt-display-message, appt-disp-window):
22420 Handle lists of appointments.
22421
22422 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22423
22424 * window.el (one-window-p): Move down in code.
22425 Rewrite doc-string.
22426 (window-current-scroll-bars): Rewrite doc-string.
22427 Normalize live window argument.
22428 (walk-windows, get-window-with-predicate, count-windows):
22429 Rewrite doc-string. Use window-list-1.
22430 (window-in-direction-2, window-in-direction, get-mru-window):
22431 New functions.
22432
22433 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22434
22435 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22436 Doc fix (Bug#8713).
22437
22438 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22439
22440 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22441
22442 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22443
22444 * loadhist.el (unload-feature-special-hooks):
22445 Add `comint-output-filter-functions'.
22446
22447 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22448
22449 * calendar/appt.el (appt-check): Move some initializations into the let.
22450
22451 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22452
22453 * window.el (window-height): Defalias to window-total-height.
22454 (window-width): Defalias to window-body-width.
22455
22456 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22457
22458 * image-mode.el (image-toggle-animation): New command.
22459 (image-mode-map): Bind it to RET.
22460 (image-mode): Update message.
22461 (image-toggle-display-image): Avoid a spurious cache flush.
22462 (image-transform-rotation): Doc fix.
22463 (image-transform-properties): Return quickly in the normal case.
22464 (image-animate-loop): Rename from image-animate-max-time.
22465
22466 * image.el (image-animate-max-time): Move to image-mode.el.
22467 (create-animated-image): Remove unnecessary function.
22468 (image-animate): Rename from image-animate-start. New arg.
22469 (image-animate-stop): Remove; just use image-animate-timer.
22470 (image-animate-timer): Use car-safe.
22471 (image-animate-timeout): Rename argument.
22472
22473 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22474
22475 * window.el (get-lru-window, get-largest-window): Move here from
22476 window.c. Rename first argument to ALL-FRAMES.
22477 Rephrase doc-strings.
22478 (get-buffer-window-list): Rewrite using window-list-1.
22479 Rephrase doc-string.
22480 (window-safe-min-height, window-safe-min-width): New constants.
22481 (window-size-ignore, window-min-size, window-min-size-1)
22482 (window-sizable, window-sizable-p, window-size-fixed-1)
22483 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22484 (window-max-delta-1, window-max-delta, window-resizable)
22485 (window-resizable-p, window-total-height, window-total-width)
22486 (window-body-width): New functions.
22487 (window-full-height-p, window-full-width-p): Rewrite using
22488 window-total-size.
22489 (window-body-height): Rewrite using window-body-size.
22490
22491 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22492
22493 * window.el (window-right, window-left, window-child)
22494 (window-child-count, window-last-child, window-any-p)
22495 (normalize-live-buffer, normalize-live-frame)
22496 (normalize-any-window, normalize-live-window)
22497 (window-iso-combination-p, window-iso-combined-p)
22498 (window-iso-combinations)
22499 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22500 (windows-with-parameter, window-with-parameter)
22501 (window-atom-root, make-window-atom, window-atom-check-1)
22502 (window-atom-check, window-side-check, window-check):
22503 New functions.
22504 (ignore-window-parameters, window-sides, window-sides-vertical)
22505 (window-sides-slots): New variables.
22506 (window-size-fixed): Move down in code. Minor doc-string fix.
22507
22508 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22509
22510 * comint.el (comint-dynamic-complete-as-filename)
22511 (comint-dynamic-complete-filename): Correctly call
22512 completion-in-region.
22513
22514 2011-06-05 Deniz Dogan <deniz@dogan.se>
22515
22516 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22517 in last change.
22518
22519 2011-06-05 Deniz Dogan <deniz@dogan.se>
22520
22521 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22522 (rcirc): Use it to prompt for encryption.
22523
22524 2011-06-05 Roland Winkler <winkler@gnu.org>
22525
22526 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22527 (bibtex-search-entries): New command bound to C-c C-a.
22528 (bibtex-display-entries): New function.
22529
22530 2011-06-05 Roland Winkler <winkler@gnu.org>
22531
22532 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22533 (bibtex-insert-kill): After yanking insert newline if necessary.
22534 (bibtex-initialize): Call bibtex-string-files-init only once.
22535 (bibtex-mode): Do not call easy-menu-add.
22536 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22537 (bibtex-yank): Set arg properly if nil.
22538
22539 2011-06-05 Roland Winkler <winkler@gnu.org>
22540
22541 * textmodes/bibtex.el (bibtex-search-entry-globally):
22542 New variable.
22543 (bibtex-search-entry): Use it.
22544
22545 2011-06-05 Roland Winkler <winkler@gnu.org>
22546
22547 * textmodes/bibtex.el (bibtex-entry-format): New option
22548 sort-fields.
22549 (bibtex-format-entry, bibtex-reformat): Honor this option.
22550 (bibtex-parse-entry): Return fields in proper order.
22551
22552 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22553
22554 * doc-view.el (doc-view-remove-if): Move computation of result out
22555 of `dolist' to silence misleading lexical-binding warning.
22556
22557 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22558
22559 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22560 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22561
22562 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22563
22564 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22565 "SunOS 5.10".
22566
22567 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22568
22569 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22570 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22571 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22572 (tramp-parse-putty):
22573 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22574 (tramp-completion-function-alist-ssh)
22575 (tramp-completion-function-alist-telnet)
22576 (tramp-completion-function-alist-su)
22577 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22578 cookie.
22579
22580 * net/tramp-ftp.el:
22581 * net/tramp-sh.el:
22582 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22583 load "tramp.el" `tramp-set-completion-function'.
22584
22585 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22586
22587 * shell.el: Require and use pcomplete.
22588 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22589 (shell-completion-vars): Set pcomplete-default-completion-function.
22590
22591 2011-06-04 Deniz Dogan <deniz@dogan.se>
22592
22593 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22594 `memq' (Bug#8799).
22595
22596 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22597
22598 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22599
22600 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22601
22602 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22603 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22604 * vc/log-view.el (log-view-beginning-of-defun):
22605 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22606 (smerge-refine-forward, smerge-refine-chopup-region):
22607 Silence warning for unused `dotimes' counter variables.
22608
22609 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22610
22611 * net/tramp.el (tramp-with-progress-reporter): Rename from
22612 with-progress-reporter. Use `declare'.
22613 * net/tramp-smb.el:
22614 * net/tramp-sh.el:
22615 * net/tramp-gvfs.el: Update all uses.
22616
22617 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22618
22619 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22620 buffer isn't killed before making it current.
22621
22622 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22623
22624 Silence various byte-compiler warnings.
22625 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22626 `access-type' and new obsolescence format.
22627 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22628 new format.
22629 (byte-compile-check-variable): New `access-type' argument.
22630 Only warn if the access-type is obsolete.
22631 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22632 (byte-compile-variable-set): Adjust callers.
22633 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22634 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22635 setting it as obsolete.
22636 * simple.el (minibuffer-completing-symbol):
22637 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22638 access as obsolete.
22639 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22640 obsolete yet.
22641 * international/quail.el (quail-mouse-choose-completion): Remove unused
22642 code referring to obsolete var.
22643 (quail-choose-completion-string): Remove.
22644 * server.el (server-clients-with, server-kill-buffer-query-function)
22645 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22646 * proced.el (proced-send-signal):
22647 * emacs-lisp/lisp.el (lisp-complete-symbol):
22648 Replace completion-annotate-function with completion-extra-properties.
22649
22650 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22651
22652 * simple.el (goto-line): Use read-number.
22653 (overriding-map-is-bound): Remove.
22654 (saved-overriding-map): Change default.
22655 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22656 Take the map as argument.
22657 (universal-argument, negative-argument, digit-argument): Use it.
22658 (restore-overriding-map): Adjust.
22659 (do-auto-fill): Use fill-forward-paragraph.
22660 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22661
22662 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22663 (minibuffer-inactive-mode): New major mode.
22664 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22665 the *Messages* buffer" hack.
22666 (mouse-popup-menubar): Don't burp if the event is a normal key.
22667
22668 Miscellaneous tweaks.
22669 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22670 lexical scoping as in subr.el's dolist and dotimes.
22671 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22672 Silence compiler warning.
22673 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22674 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22675 * international/ccl.el (ccl-compile): Trivial simplification.
22676 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22677 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22678 `printflag' argument.
22679 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22680 Purecopy the whole obsolescence data.
22681
22682 2011-06-01 Leo Liu <sdl.web@gmail.com>
22683
22684 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22685 improve doc-string as suggested by Marco Pessotto
22686 <melmothx@gmail.com>.
22687 (rcirc-print): Fix last change.
22688
22689 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22690
22691 * minibuffer.el (complete-with-action): Return nil for the metadata and
22692 boundaries of non-functional tables.
22693 (completion-table-dynamic): Return nil for the metadata.
22694 (completion-table-with-terminator): Add default case, using
22695 complete-with-action.
22696 (completion--metadata): New function.
22697 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22698 to try and avoid pathological performance problems.
22699 (completion--embedded-envvar-table): Return `category' metadata.
22700
22701 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22702
22703 * subr.el (process-alive-p): New tiny convenience function.
22704
22705 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22706
22707 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22708 content but also its previous major mode.
22709
22710 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22711
22712 * emacs-lisp/debug.el (debug): Restore the previous content of the
22713 *Backtrace* buffer when we exit with C-M-c.
22714
22715 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22716
22717 * minibuffer.el: Add metadata method to completion tables.
22718 (completion-category-overrides): New defcustom.
22719 (completion-metadata, completion--field-metadata)
22720 (completion-metadata-get, completion--styles)
22721 (completion--cycle-threshold): New functions.
22722 (completion-try-completion, completion-all-completions):
22723 Add `metadata' argument to choose completion-styles.
22724 (completion--do-completion): Use metadata to choose cycling.
22725 (completion-all-sorted-completions): Use metadata for sorting.
22726 Remove :completion-cycle-penalty which is not needed any more.
22727 (completion--try-word-completion): Add `metadata' argument.
22728 (minibuffer-completion-help): Check metadata for annotation function
22729 and sorting.
22730 (completion-file-name-table): Return `category' metadata.
22731 (minibuffer-completing-file-name): Make obsolete.
22732 * simple.el (minibuffer-completing-symbol): Make obsolete.
22733 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22734 completion-try-completion.
22735
22736 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22737
22738 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22739
22740 2011-05-30 Leo Liu <sdl.web@gmail.com>
22741
22742 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22743 (rcirc-print): Decode all incoming messages (bug#8744).
22744 (rcirc-decode-coding-system): Allow value nil for automatic coding
22745 system detection.
22746
22747 2011-06-01 Glenn Morris <rgm@gnu.org>
22748
22749 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22750
22751 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22752
22753 * image.el (image-animate-max-time): Allow nil and t values.
22754 Default to nil.
22755 (create-animated-image): Doc fix.
22756 (image-animate-start): Remove second arg; just use
22757 image-animate-max-time.
22758 (image-animate-timeout): Doc fix. Args changed.
22759
22760 * image-mode.el (image-toggle-display-image): Ensure that the
22761 image spec passed to the animate timer is the same object as in
22762 the buffer's display property (Bug#6981).
22763 (image-transform-properties): Doc fix.
22764
22765 * image.el (image-animate-max-time): Default to nil.
22766
22767 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22768
22769 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22770 entire buffer list (Bug#8184).
22771
22772 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22773
22774 * image.el (imagemagick-types-inhibit)
22775 (imagemagick-register-types): Doc fix.
22776
22777 2011-05-29 Deniz Dogan <deniz@dogan.se>
22778
22779 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22780 default.
22781
22782 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22783
22784 * select.el: Don't perform clipboard-manager saving in hooks;
22785 leave the hooks empty.
22786
22787 2011-05-28 Leo Liu <sdl.web@gmail.com>
22788
22789 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22790 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22791 (occur-edit-mode): New major mode (Bug#8463).
22792 (occur-after-change-function): New function.
22793 (occur-engine): Give Occur tags a read-only property.
22794
22795 2011-05-28 Kevin Ryde <user42@zip.com.au>
22796
22797 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22798
22799 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22800
22801 * bindings.el (help-echo): Make the initial non-indicator dash
22802 empty on graphical terminals (Bug#7295).
22803
22804 * files.el (auto-mode-alist): Move config rule after the
22805 in-stripping one (Bug#8547).
22806
22807 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22808
22809 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22810 setting (Bug#8740).
22811
22812 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22813
22814 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22815 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22816 (Bug#8539).
22817
22818 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22819
22820 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22821
22822 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22823
22824 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22825 (hs-hide-block-at-point, hs-find-block-beginning)
22826 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22827 (Bug#8279).
22828
22829 2011-05-28 Glenn Morris <rgm@gnu.org>
22830
22831 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22832
22833 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22834
22835 * help-fns.el (describe-function-1): If the function is a derived
22836 major mode, print the parent mode.
22837
22838 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22839 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22840
22841 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22842
22843 * minibuffer.el (completion--capf-wrapper): Check applicability before
22844 returning non-nil for non-exclusive completion data.
22845 * progmodes/etags.el (tags-completion-at-point-function):
22846 * info-look.el (info-lookup-completions-at-point): Mark as
22847 non-exclusive.
22848 (info-complete): Adjust accordingly.
22849
22850 * info-look.el: Convert to lexical-binding and completion-at-point.
22851 (info-lookup-completions-at-point): New function.
22852 (info-complete): Use it and completion-in-region.
22853
22854 2011-05-28 Drew Adams <drew.adams@oracle.com>
22855
22856 * isearch.el: Let M-e start with point at the first mismatched char.
22857 (isearch-fail-pos): New function.
22858 (isearch-edit-string): Use it.
22859
22860 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22861
22862 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22863
22864 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22865
22866 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22867 traversal functions for avl-trees.
22868 (avl-tree--stack): New struct.
22869 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22870 (avl-tree-enter): Add optional `updatefun' arg.
22871 (avl-tree--do-enter): Add optional `updatefun' arg.
22872 Change return value.
22873 (avl-tree-delete): Add optional `test' and `nilflag' args.
22874 (avl-tree--do-delete): Add `test' and `nilflag' args.
22875 Change return value.
22876 (avl-tree-member): Add optional `nilflag'
22877 (avl-tree-member-p): New function.
22878 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22879 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22880 (avl-tree-stack-empty-p): New functions.
22881
22882 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22883 avl-tree--del-balance1 and make it work both ways.
22884 (avl-tree--del-balance2): Remove.
22885 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22886 make it work both ways.
22887 (avl-tree--enter-balance2): Remove.
22888 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22889 New macros.
22890 (avl-tree--mapc, avl-tree-map): Add direction argument.
22891
22892 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22893
22894 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22895
22896 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22897
22898 * select.el: Support clipboard managers with built-in function
22899 x-clipboard-manager-save, via delete-frame-functions and
22900 kill-emacs-hook.
22901 (xselect-convert-to-targets): Add MULTIPLE target to list.
22902 (xselect-convert-to-save-targets): New function.
22903
22904 2011-05-27 Kenichi Handa <handa@m17n.org>
22905
22906 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22907 let-binding rfc2047-encode-encoded-words to nil.
22908
22909 2011-05-27 Glenn Morris <rgm@gnu.org>
22910
22911 * mail/emacsbug.el: Don't require url-util.
22912
22913 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22914
22915 * files.el (set-auto-mode):
22916 Also respect mode: entries at the end of the file. (Bug#8586)
22917
22918 2011-05-26 Glenn Morris <rgm@gnu.org>
22919
22920 * files.el (hack-local-variables-prop-line, hack-local-variables):
22921 Downcase mode names, as seems to be traditional.
22922 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22923
22924 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22925 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22926
22927 2011-05-25 Julien Danjou <julien@danjou.info>
22928
22929 * textmodes/rst.el (rst-define-level-faces): Do not define face
22930 symbol if it is already defined.
22931
22932 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22933
22934 * play/5x5.el (5x5-new-game, 5x5-randomize):
22935 Reset 5x5-solver-output to nil when a new grid is cast.
22936 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22937 these debugging traces, as defmacro breaks the compiled code.
22938
22939 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22940
22941 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22942
22943 2011-05-24 Leo Liu <sdl.web@gmail.com>
22944
22945 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22946 (vc-bzr-sha1): Adapt.
22947
22948 * sha1.el: Remove. Function `sha1' is now builtin.
22949
22950 * bindings.el: Provide sha1 feature.
22951
22952 2011-05-24 Kenichi Handa <handa@m17n.org>
22953
22954 * mail/sendmail.el: Require `rfc2047'.
22955 (mail-insert-from-field): Do not perform RFC2047 encoding.
22956 (mail-encode-header): New function.
22957 (sendmail-send-it): Set buffer-file-coding-system of the work
22958 buffer to the return value of select-message-coding-system.
22959 Call mail-encode-header.
22960
22961 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22962
22963 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22964
22965 * mail/supercite.el (sc-default-cite-frame):
22966 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22967
22968 2011-05-24 Glenn Morris <rgm@gnu.org>
22969
22970 * progmodes/python.el (brm-menu): Declare.
22971
22972 * emulation/viper.el (viper-set-hooks): Declare.
22973
22974 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22975 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22976 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22977 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22978 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22979 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22980
22981 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22982
22983 Add an :exit-function for completion-at-point.
22984
22985 * minibuffer.el (completion--done): New fun.
22986 (completion--do-completion): Use it. New arg `expect-exact'.
22987 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22988 since completion--do-completion does it for us now.
22989 (minibuffer-force-complete): Use completion--done and
22990 completion--replace. Handle sole-completion case with more care.
22991 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22992 (completion-extra-properties): New var.
22993 (completion-annotate-function): Make obsolete.
22994 (minibuffer-completion-help): Adjust accordingly.
22995 Use completion-list-insert-choice-function.
22996 (completion-at-point, completion-help-at-point):
22997 Bind completion-extra-properties.
22998 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22999 * simple.el (completion-list-insert-choice-function): New var.
23000 (completion-setup-function): Preserve it.
23001 (choose-completion): Pay attention to it, shuffle the code a bit.
23002 (choose-completion-string): New arg `insert-function'.
23003
23004 * textmodes/bibtex.el: Convert to lexical binding.
23005 (bibtex-mode-map): Use completion-at-point.
23006 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23007 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23008 (bibtex-complete): Define as obsolete alias.
23009 (bibtex-complete-internal): Remove.
23010 (bibtex-format-entry): Remove unused sub-group in regexp.
23011 * shell.el (shell--command-completion-data)
23012 (shell-environment-variable-completion):
23013 * pcomplete.el (pcomplete-completions-at-point):
23014 * comint.el (comint--complete-file-name-data): Use :exit-function
23015 instead of completion-table-with-terminator so it also works for
23016 choose-completion.
23017
23018 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23019
23020 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23021
23022 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23023 (bug#8710).
23024
23025 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23026
23027 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23028
23029 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23030 customization variable and implement: If non-nil, auto-fill will
23031 be inhibited while on topic's header line.
23032
23033 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23034
23035 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23036 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23037 always have a solution in grid size = 5 cases.
23038 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23039 (5x5-solver-output, 5x5-log-buffer): New vars.
23040 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23041 Make these variables buffer local to achieve 5x5 multi-session-ness.
23042 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23043 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23044 (5x5-solve-suggest): New funs.
23045 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23046 randomize a grid so that we ensure that there is always a solution.
23047 (5x5-make-random-grid): Allow other movement than flipping.
23048
23049 2011-05-23 Kevin Ryde <user42@zip.com.au>
23050
23051 * emacs-lisp/advice.el (ad-read-advised-function):
23052 Use `function-called-at-point' as the default, if it has
23053 advice and passes PREDICATE.
23054
23055 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23056
23057 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23058 byte-compile-lambda if it's actually a lambda.
23059
23060 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23061 Fix function quoting. Use backquote better.
23062
23063 2011-05-22 Yuanle Song <sylecn@gmail.com>
23064
23065 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23066 matching (Bug#8516).
23067
23068 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23069
23070 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23071 different face (Bug#8178).
23072
23073 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23074
23075 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23076 defface (Bug#8144).
23077
23078 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23079
23080 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23081 funcall as well (bug#8712). Warn when performing those conversions.
23082 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23083
23084 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23085
23086 2011-05-22 Glenn Morris <rgm@gnu.org>
23087
23088 * files.el (hack-local-variables-prop-line): Small simplifications.
23089 (hack-local-variables, hack-local-variables-prop-line):
23090 If MODE-ONLY, return the mode, rather than just `t'.
23091
23092 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23093
23094 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23095
23096 2011-05-21 Glenn Morris <rgm@gnu.org>
23097
23098 * files.el (hack-local-variables-prop-line, hack-local-variables):
23099 If only interested in the mode, don't bother doing the other stuff.
23100
23101 * image-mode.el (image-after-revert-hook):
23102 Redraw all frames on which the image is visible. (Bug#8567)
23103
23104 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23105
23106 * wid-edit.el (widget-checklist-match-inline):
23107 Fix 2011-04-19 change. (Bug#8649)
23108
23109 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23110
23111 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23112 Also allow singlespace after single-letter capitals followed by a dot.
23113
23114 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23115 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23116
23117 2011-05-20 Nix <nix@esperi.org.uk>
23118
23119 * files.el (basic-save-buffer-2):
23120 Fix handling of break-hardlink-on-save with non-existent files.
23121
23122 2011-05-19 Deniz Dogan <deniz@dogan.se>
23123
23124 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23125 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23126
23127 2011-05-19 Glenn Morris <rgm@gnu.org>
23128
23129 * progmodes/f90.el (f90-type-def-re):
23130 Handle "type, bind(c)". (Bug#8691)
23131
23132 * emacs-lisp/autoload.el (batch-update-autoloads):
23133 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23134
23135 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23136
23137 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23138 property for the correct connection in case of multihops.
23139
23140 2011-05-18 Glenn Morris <rgm@gnu.org>
23141
23142 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23143 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23144
23145 Rationalize calendar handling of day and month abbrev-arrays.
23146 * calendar/calendar.el (calendar-customized-p): New function.
23147 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23148 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23149 Add :set function.
23150 (calendar-abbrev-length, calendar-day-abbrev-array)
23151 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23152 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23153 Elements may no longer be nil.
23154 (calendar-day-name, calendar-month-name):
23155 Update for changed nature of abbrev arrays.
23156 * calendar/diary-lib.el (diary-name-pattern):
23157 Update for changed nature of abbrev arrays.
23158 (diary-mark-entries-1): Update calendar-make-alist calls.
23159 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23160 * calendar/cal-html.el (cal-html-day-abbrev-array):
23161 Simply inherit from calendar-day-abbrev-array.
23162
23163 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23164
23165 * progmodes/grep.el (grep-mode): Disable default
23166 compilation-directory-matcher setting (bug#8684).
23167
23168 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23169
23170 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23171 instead of "head" and "tail". There were problems with SunOS 5.9,
23172 and it performs better.
23173
23174 2011-05-17 Glenn Morris <rgm@gnu.org>
23175
23176 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23177
23178 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23179 Replace obsolete function.
23180
23181 * shell.el (pcomplete-parse-arguments-function): Declare.
23182
23183 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23184 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23185 (appt-check): Doc fixes.
23186 (appt-disp-window-function, appt-delete-window-function):
23187 Remove needless special case in custom :type.
23188 (appt-display-count): Default to 0, not nil.
23189 (appt-check): Reset appt-display-count to 0, not nil.
23190
23191 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23192
23193 * progmodes/python.el (python-font-lock-keywords):
23194 Add the Python 3.X keyword "nonlocal" (bug#8639).
23195
23196 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23197
23198 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23199
23200 2011-05-16 Kevin Ryde <user42@zip.com.au>
23201
23202 * info-look.el (makefile-automake-mode): New setups, looking in
23203 automake manual, then makefile-mode.
23204 (makefile-mode): Remove automake manual, have it just in
23205 makefile-automake-mode since there's various things different or
23206 not relevant to plain make.
23207 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23208 believe a hypothetical automake-mode would go to makefile-mode,
23209 not the other way around.
23210
23211 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23212
23213 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23214 hunk-end tags (Bug#8672).
23215
23216 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23217 vc-annotate-show-diff-revision-at-line (Bug#8671).
23218
23219 2011-05-14 Glenn Morris <rgm@gnu.org>
23220
23221 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23222 in the middle of an existing one with multiple authors. (Bug#8645)
23223 (change-log-font-lock-keywords): Also handle multiple author lines
23224 with leading tabs. (Bug#8644)
23225
23226 * calendar/appt.el (appt-check): Rename some local variables.
23227 Some simplification/reordering.
23228
23229 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23230 (feedmail-sendmail-f-doesnt-sell-me-out)
23231 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23232 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23233 (feedmail-queue-runner-message-sender): Set :version.
23234 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23235 (bbdb-dwim-net-address, vm-mail): Declare.
23236 (feedmail-binmail-gnulinuxish-template):
23237 Rename from feedmail-binmail-linuxish-template.
23238 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23239 Use insert-buffer-substring.
23240
23241 2011-05-14 Bill Carpenter <bill@carpenter.org>
23242
23243 * mail/feedmail.el (feedmail-patch-level): Increase.
23244 (feedmail-debug): New custom group.
23245 (feedmail-confirm-outgoing-timeout)
23246 (feedmail-sendmail-f-doesnt-sell-me-out)
23247 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23248 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23249 (feedmail-sender-line, feedmail-from-line)
23250 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23251 (feedmail-spray-this-address)
23252 (feedmail-spray-address-fiddle-plex-list)
23253 (feedmail-queue-use-send-time-for-date)
23254 (feedmail-queue-use-send-time-for-message-id)
23255 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23256 (feedmail-buffer-eating-function):
23257 Doc fixes.
23258 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23259 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23260 (feedmail-message-action-scroll-down): New functions.
23261 (feedmail-queue-directory, feedmail-queue-draft-directory):
23262 Use expand-file-name.
23263 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23264 Remove C-v help entry.
23265 (feedmail-queue-buffer-file-name): New variable.
23266 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23267 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23268 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23269 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23270 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23271 (feedmail-message-action-toggle-spray)
23272 (feedmail-run-the-queue-no-prompts)
23273 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23274 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23275 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23276 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23277 (feedmail-envelope-deducer, feedmail-fiddle-from)
23278 (feedmail-fiddle-sender, feedmail-default-date-generator)
23279 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23280 (feedmail-fiddle-spray-address)
23281 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23282 (feedmail-fiddle-list-of-fiddle-plexes)
23283 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23284 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23285 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23286 Change default. Doc fix.
23287 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23288 (feedmail-binmail-linuxish-template): New constant.
23289 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23290 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23291 (feedmail-send-it): Add debug call.
23292 Use feedmail-queue-buffer-file-name, and
23293 feedmail-send-it-immediately-wrapper.
23294 (feedmail-message-action-send): Add debug call.
23295 Use feedmail-send-it-immediately-wrapper.
23296 (feedmail-queue-express-to-queue): Add debug call.
23297 Run feedmail-queue-express-hook.
23298 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23299 (feedmail-message-action-help-blat):
23300 Rename from feedmail-queue-send-edit-prompt-help-first.
23301 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23302 Check line-endings. Handle errors better.
23303 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23304 Doc fix. Add debug call.
23305 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23306 Use feedmail-queue-send-edit-prompt-inner.
23307 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23308 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23309 from feedmail-queue-send-edit-prompt.
23310 (feedmail-queue-send-edit-prompt-help)
23311 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23312 (feedmail-tidy-up-slug): Add debug call.
23313 Respect feedmail-queue-slug-suspect-regexp.
23314 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23315 (feedmail-dump-message-to-queue): Add debug call.
23316 Expand queue-directory.
23317 (feedmail-dump-message-to-queue): Change message slightly.
23318 Use feedmail-say-chatter.
23319 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23320 (feedmail-send-it-immediately-wrapper): New function.
23321 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23322 Insert empty string rather than newline. Handle full-frame case.
23323 Use catch/throw. Use feedmail-say-chatter.
23324 (feedmail-fiddle-from): Try mail-host-address.
23325 (feedmail-default-message-id-generator): Doc fix.
23326 Bind system-time-locale. Handle missing end.
23327 (feedmail-fiddle-x-mailer): Add debug call.
23328 Handle feedmail-x-mailer-line being nil.
23329 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23330 Add debug call. Use buffer-substring-no-properties.
23331 (feedmail-say-debug, feedmail-say-chatter): New functions.
23332 (feedmail-find-eoh): Give an explicit error.
23333
23334 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23335
23336 * net/newst-treeview.el (newsticker-treeview-face): Change default
23337 family from helvetica to sans.
23338 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23339 etc/images/newsticker.
23340
23341 * net/newst-reader.el (newsticker-feed-face): Change default
23342 family from helvetica to sans.
23343
23344 * net/newst-plainview.el (newsticker-new-item-face)
23345 (newsticker-old-item-face, newsticker-immortal-item-face)
23346 (newsticker-obsolete-item-face, newsticker-date-face)
23347 (newsticker-statistics-face): Change default family from
23348 helvetica to sans.
23349 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23350 etc/images/newsticker.
23351
23352 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23353 (newsticker--process-auto-mark-filter-match): Tell user about
23354 auto-marking.
23355
23356 2011-05-13 Didier Verna <didier@xemacs.org>
23357
23358 Common Lisp indentation improvements on defmethod and lambda-lists.
23359 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23360 TODO entries.
23361 (lisp-lambda-list-keyword-parameter-indentation)
23362 (lisp-lambda-list-keyword-parameter-alignment)
23363 (lisp-lambda-list-keyword-alignment): New customizable user options.
23364 (lisp-indent-defun-method): Improve docstring.
23365 (extended-loop-p): Fix comment.
23366 (lisp-indent-lambda-list-keywords-regexp): New variable.
23367 (lisp-indent-lambda-list): New function.
23368 (lisp-indent-259): Use it.
23369 (lisp-indent-defmethod): Support for more than one
23370 method qualifier and properly indent methods lambda-lists.
23371 (defgeneric): Provide a missing common-lisp-indent-function property.
23372
23373 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23374
23375 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23376 bounds for the empty string (bug#8667).
23377
23378 2011-05-13 Glenn Morris <rgm@gnu.org>
23379
23380 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23381
23382 * mail/sendmail.el (sendmail-program): Try executable-find first.
23383 (sendmail-send-it): `sendmail-program' cannot be unbound.
23384
23385 * calendar/appt.el (appt-make-list): Simplify.
23386 (appt-time-msg-list): Doc fix.
23387 (appt-check): Change mode-line message at the time of the appointment.
23388
23389 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23390
23391 * progmodes/ld-script.el (ld-script-keywords)
23392 (ld-script-builtins): Update keywords list.
23393
23394 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23395
23396 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23397
23398 * shell.el (shell-completion-vars): New function.
23399 (shell-mode):
23400 * simple.el (read-shell-command): Use it.
23401 (blink-matching-open): No need for " [...]" in minibuffer-message.
23402
23403 2011-05-12 Glenn Morris <rgm@gnu.org>
23404
23405 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23406 (appt-check): Simplify.
23407
23408 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23409
23410 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23411 literal "/dev/null".
23412
23413 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23414
23415 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23416 Fix typo.
23417
23418 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23419
23420 * progmodes/which-func.el (which-function):
23421 Use add-log-current-defun instead of add-log-current-defun-function,
23422 which might not be defined (Bug#8260).
23423
23424 2011-05-12 Glenn Morris <rgm@gnu.org>
23425
23426 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23427 Let byte-compile-initial-macro-environment always take precedence.
23428
23429 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23430
23431 * net/rcirc.el: Add support for SSL/TLS connections.
23432 (rcirc-server-alist): New field `encryption'.
23433 (rcirc): Check `encryption' settings.
23434 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23435 Merge make-local-variable into `set'.
23436 (rcirc--connection-open-p): New function.
23437 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23438 the process is not a network process (e.g. running gnutls-cli).
23439 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23440 Make rcirc-(en|de)code-coding-system local here.
23441 (rcirc-mode): Merge make-local-variable into `set'.
23442 (rcirc-parent-buffer): Make permanent buffer-local.
23443 (rcirc-multiline-minor-mode): Don't do it here.
23444 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23445 there's no server buffer.
23446
23447 2011-05-11 Glenn Morris <rgm@gnu.org>
23448
23449 * newcomment.el (comment-kill): Prefix "unused" local.
23450
23451 * term/w32console.el (get-screen-color): Declare.
23452
23453 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23454 Handle symbol elements of byte-compile-initial-macro-environment.
23455
23456 2011-05-10 Leo Liu <sdl.web@gmail.com>
23457
23458 * bookmark.el (bookmark-bmenu-mode-map):
23459 Bind bookmark-bmenu-search to `/'.
23460
23461 * mail/footnote.el: Convert to utf-8 encoding.
23462 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23463 (Footnote-unicode): New function.
23464 (footnote-style-alist): Add unicode style to the list.
23465 (footnote-style): Doc fix.
23466
23467 2011-05-10 Jim Meyering <meyering@redhat.com>
23468
23469 Fix doubled-word typos.
23470 * international/quail.el (quail-insert-kbd-layout): and and -> and
23471 * kermit.el: and and -> and
23472 * net/ldap.el (ldap-search-internal): to to -> to
23473 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23474 * progmodes/js.el (js-mode): and and -> and
23475 * textmodes/artist.el (artist-move-to-xy): at at -> at
23476 (artist-draw-region-trim-line-endings): if if -> if
23477 And Safetyc -> Safety.
23478 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23479
23480 2011-05-10 Glenn Morris <rgm@gnu.org>
23481 Stefan Monnier <monnier@iro.umontreal.ca>
23482
23483 * files.el (hack-one-local-variable-eval-safep):
23484 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23485
23486 2011-05-10 Glenn Morris <rgm@gnu.org>
23487
23488 * calendar/diary-lib.el (diary-list-entries-hook)
23489 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23490 (diary-nongregorian-marking-hook, diary-list-entries)
23491 (diary-include-other-diary-files, diary-mark-entries)
23492 (diary-mark-included-diary-files): Doc fixes.
23493
23494 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23495
23496 * misc.el: Require tabulated-list.el during compilation.
23497
23498 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23499
23500 * progmodes/compile.el (compilation-start):
23501 Run compilation-filter-hook for the async case too.
23502 (compilation-filter-hook): Doc fix.
23503
23504 2011-05-09 Deniz Dogan <deniz@dogan.se>
23505
23506 * wdired.el: Remove outdated installation comment. Fix usage
23507 comment.
23508
23509 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23510
23511 * misc.el: Implement new command `list-dynamic-libraries'.
23512 (list-dynamic-libraries--loaded-only-p): New variable.
23513 (list-dynamic-libraries--refresh): New function.
23514 (list-dynamic-libraries): New command.
23515
23516 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23517
23518 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23519 Fix the ant regexp to handle end-line and end-column info from jikes.
23520 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23521 higher priority to avoid clobbering by gnu.
23522
23523 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23524
23525 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23526 if the face has existing theme settings (Bug#8454).
23527
23528 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23529
23530 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23531 Only match variables declared via `my' or `our' (Bug#8261).
23532
23533 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23534 special file names `.' and `..' (Bug#8259).
23535
23536 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23537
23538 * progmodes/grep.el (grep-mode-font-lock-keywords):
23539 Remove buffer-changing entries.
23540 (grep-filter): New function.
23541 (grep-mode): Add it to compilation-filter-hook.
23542
23543 * progmodes/compile.el (compilation-filter-hook)
23544 (compilation-filter-start): New defvars.
23545 (compilation-filter): Call compilation-filter-hook prior to
23546 updating the process mark.
23547
23548 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23549
23550 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23551
23552 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23553
23554 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23555 mailclient-send-it even if window-system is nil. (Bug#8595)
23556
23557 * term/w32console.el (terminal-init-w32console):
23558 Call get-screen-color and use its output to set the frame
23559 background-mode. (Bug#8597)
23560
23561 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23562
23563 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23564 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23565 New functions.
23566 (defgeneric, eieio--defmethod): Use them.
23567 (eieio-defgeneric): Remove.
23568 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23569
23570 2011-05-07 Glenn Morris <rgm@gnu.org>
23571
23572 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23573 Use let rather than let*.
23574 (timeclock-find-discrep): Remove unused local.
23575
23576 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23577
23578 * calendar/appt.el (appt-time-msg-list): Doc fix.
23579
23580 2011-05-06 Noah Friedman <friedman@splode.com>
23581
23582 * apropos.el (apropos-print-doc): Only use
23583 emacs-lisp-docstring-fill-column when it is bound to an integer,
23584 per that variable's documentation.
23585
23586 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23587
23588 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23589 and warnings are not silently discarded (e.g. use -d instead of -P).
23590
23591 2011-05-06 Glenn Morris <rgm@gnu.org>
23592
23593 * calendar/appt.el (appt-message-warning-time): Doc fix.
23594 (appt-warning-time-regexp): New option.
23595 (appt-make-list): Respect appt-message-warning-time.
23596
23597 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23598 New options.
23599 (diary-add-to-list): Strip comments from the displayed string.
23600 (diary-mode): Set comment-start and comment-end.
23601
23602 * vc/diff-mode.el (smerge-refine-subst): Declare.
23603 (diff-refine-hunk): Don't require smerge-mode when compiling.
23604
23605 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23606
23607 * simple.el (list-processes): Return nil as the docstring says.
23608
23609 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23610
23611 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23612 to "".
23613 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23614 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23615 determining of binary transfer. (Bug#7383)
23616
23617 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23618
23619 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23620 Fix port computation bug. (Bug#8618)
23621
23622 2011-05-05 Glenn Morris <rgm@gnu.org>
23623
23624 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23625
23626 * simple.el (shell-dynamic-complete-functions)
23627 (comint-dynamic-complete-functions): Declare.
23628
23629 * net/network-stream.el (gnutls-negotiate):
23630 * simple.el (tabulated-list-print): Fix declarations.
23631
23632 * progmodes/gud.el (syntax-symbol, syntax-point):
23633 Remove unnecessary and incorrect declarations.
23634
23635 * emacs-lisp/check-declare.el (check-declare-scan):
23636 Handle byte-compile-initial-macro-environment in bytecomp.el.
23637
23638 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23639
23640 Fix earlier half-done eieio-defmethod change (bug#8338).
23641 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23642 Streamline and change calling convention.
23643 (defmethod): Adjust accordingly and simplify.
23644 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23645 new eieio--defmethod.
23646 (slot-boundp): Minor CSE simplification.
23647
23648 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23649
23650 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23651 (glasses-make-readable): Use glasses-separate-capital-groups.
23652
23653 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23654
23655 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23656 (warning-series): Doc fix.
23657 (display-warning): Don't try to create the buffer if we just found it.
23658
23659 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23660
23661 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23662 (autoload-find-generated-file): New function.
23663 (generate-file-autoloads): Bind generated-autoload-file to
23664 buffer-file-name.
23665 (update-file-autoloads, update-directory-autoloads):
23666 Use autoload-find-generated-file. If called interactively, prompt for
23667 output file (Bug#7989).
23668 (batch-update-autoloads): Doc fix.
23669
23670 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23671
23672 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23673
23674 2011-05-04 Glenn Morris <rgm@gnu.org>
23675
23676 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23677 function, so it follows changes in calendar-date-style.
23678 (diary-fancy-date-matcher): New function.
23679 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23680 (diary-fancy-font-lock-fontify-region-function):
23681 Use diary-fancy-date-pattern as a function.
23682
23683 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23684 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23685
23686 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23687
23688 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23689 instead of positional arguments. Allow :keylist and :crlfiles
23690 arguments.
23691 (open-gnutls-stream): Call it.
23692
23693 * net/network-stream.el (network-stream-open-starttls): Adjust to
23694 call `gnutls-negotiate' with :process and :hostname arguments.
23695
23696 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23697
23698 * minibuffer.el (completion--message): New function.
23699 (completion--do-completion, minibuffer-complete)
23700 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23701 (completion--do-completion): Don't ignore completion-auto-help when in
23702 icomplete-mode.
23703
23704 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23705 internal encoding (e.g. tibetan zero is not whitespace).
23706 (global-whitespace-mode): Prefer save-current-buffer.
23707 (whitespace-trailing-regexp): Remove useless save-match-data.
23708 (whitespace-empty-at-bob-regexp): Minor simplification.
23709
23710 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23711
23712 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23713
23714 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23715
23716 * textmodes/ispell.el (ispell-add-per-file-word-list):
23717 Use `concat' to create string for insertion.
23718
23719 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23720
23721 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23722 Avoid open-line which runs post-self-insert-hook.
23723 (bibtex-fill-entry): Remove unused `end' var.
23724
23725 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23726
23727 * textmodes/ispell.el (ispell-add-per-file-word-list):
23728 Protect against `nil' value of `comment-start' (Bug#8579).
23729
23730 2011-05-03 Leo Liu <sdl.web@gmail.com>
23731
23732 * isearch.el (isearch-yank-pop): New command.
23733 (isearch-mode-map): Bind it to `M-y'.
23734 (isearch-forward): Mention it.
23735
23736 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23737
23738 * simple.el (minibuffer-complete-shell-command): Remove.
23739 (minibuffer-local-shell-command-map): Use completion-at-point.
23740 (read-shell-command): Setup completion vars here instead.
23741 (read-expression-map): Bind TAB to symbol completion.
23742
23743 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23744 error directly rather via storing it into `results'.
23745
23746 2011-05-02 Leo Liu <sdl.web@gmail.com>
23747
23748 * vc/diff.el: Fix description.
23749
23750 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23751
23752 * server.el (server-eval-at): New function.
23753
23754 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23755
23756 * net/network-stream.el (open-network-stream): Take a :nowait
23757 parameter and pass it on to `make-network-process'.
23758 (network-stream-open-plain): Ditto.
23759
23760 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23761
23762 * faces.el (face-spec-set-match-display): Don't match toolkit
23763 options on terminal frames.
23764
23765 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23766
23767 * progmodes/pascal.el: Use lexical binding.
23768 (pascal-mode-map): Remove author preferences.
23769
23770 * pcomplete.el (pcomplete-std-complete): Don't abuse
23771 completion-at-point.
23772
23773 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23774
23775 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23776 removing code that has been dead since 1991 or so.
23777
23778 * startup.el (command-line): When warning about "_emacs", use a
23779 delayed warning to allow the user to filter it out.
23780
23781 2011-04-28 Deniz Dogan <deniz@dogan.se>
23782
23783 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23784 user has not joined.
23785
23786 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23787
23788 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23789 aren't any completions at point.
23790
23791 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23792
23793 * subr.el (display-delayed-warnings): New function.
23794 (delayed-warnings-hook): New variable.
23795
23796 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23797
23798 * minibuffer.el (completion-at-point, completion-help-at-point):
23799 Don't presume that a given completion-at-point-function will always
23800 use the same calling convention.
23801
23802 * pcomplete.el (pcomplete-completions-at-point):
23803 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23804 pcomplete-seen is non-nil.
23805 (pcomplete-comint-setup): Also recognize the new comint/shell
23806 completion functions.
23807 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23808 pcomplete-seen is non-nil.
23809
23810 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23811
23812 * calendar/icalendar.el (diary-lib): Add require statement.
23813 (icalendar--create-uid): Read out a uid from a text-property on
23814 the first character in the entry. This allows for code to add its
23815 own uid to the entry.
23816 (icalendar--convert-float-to-ical): Add export of
23817 `diary-float'-entries save for those with the optional DAY
23818 argument.
23819
23820 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23821
23822 * subr.el (shell-quote-argument): Use alternate escaping strategy
23823 when we spot a variable reference in a string.
23824
23825 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23826
23827 * cus-start.el (all): Define customization for debug-on-event.
23828
23829 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23830
23831 * subr.el (shell-quote-argument): Escape correctly under Windows.
23832
23833 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23834
23835 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23836
23837 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23838
23839 * net/tramp.el (tramp-process-actions): Add POS argument.
23840 Delete region between POS and (pos).
23841
23842 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23843 Use `nil' position in `tramp-process-actions' call.
23844 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23845
23846 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23847 position in `tramp-process-actions' call.
23848
23849 * net/trampver.el: Update release number.
23850
23851 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23852
23853 * custom.el (defcustom): Obey lexical-binding.
23854
23855 Fix octave-inf completion problems reported by Alexander Klimov.
23856 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23857 Inherit from octave-mode-syntax-table.
23858 (inferior-octave-mode): Set info-lookup-mode.
23859 (inferior-octave-completion-at-point): New function.
23860 (inferior-octave-complete): Use it and completion-in-region.
23861 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23862 comint-filename-completion.
23863 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23864 symbol elements which shouldn't be word elements.
23865 (octave-font-lock-keywords, octave-beginning-of-defun)
23866 (octave-function-header-regexp): Adjust regexps accordingly.
23867 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23868
23869 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23870
23871 * net/gnutls.el (gnutls-errorp): Declare before first use.
23872
23873 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23874
23875 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23876 verify-error, and verify-hostname-error parameters. Check whether
23877 default trustfile exists before going to use it. Add missing
23878 argument to gnutls-message-maybe call. Return value.
23879 Reported by Claudio Bley <claudio.bley@gmail.com>.
23880 (open-gnutls-stream): Add usage example.
23881
23882 * net/network-stream.el (network-stream-open-starttls): Give host
23883 parameter to `gnutls-negotiate'.
23884 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23885 * subr.el (shell-quote-argument): Escape correctly under Windows.
23886
23887 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23888
23889 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23890 Use correct match group (bug#8438).
23891
23892 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23893
23894 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23895 (package-menu--generate): New arg specifying packages to show.
23896 (package-menu-refresh, package-menu-execute, list-packages):
23897 Callers changed.
23898 (package-show-package-list): New function, replacing deleted
23899 package--list-packages (renamed because it is non-internal).
23900
23901 * finder.el (finder-list-matches): Use package-show-package-list
23902 instead of deleted package--list-packages.
23903
23904 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23905 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23906 (vc-annotate-mode-map): Bind it to RET.
23907
23908 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23909
23910 * progmodes/etags.el (next-file): Don't use set-buffer to change
23911 buffers (Bug#8478).
23912
23913 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23914
23915 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23916
23917 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23918 (apropos-accumulator): Doc fix.
23919 (apropos-function, apropos-macro, apropos-command)
23920 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23921 (apropos-plist): Add face property.
23922 (apropos-symbols-internal): Fix indentation.
23923 (apropos-print): Simplify help, and recognize apropos-multi-type.
23924 (apropos-print-doc): Use button-type-get to extract the button's
23925 face property. Fill docstring (Bug#8352).
23926
23927 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23928
23929 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23930
23931 * play/mpuz.el (mpuz-silent): Doc fix.
23932 (mpuz-mode-map): Use mapc.
23933 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23934 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23935 Fix typos in docstrings.
23936
23937 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23938 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23939
23940 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23941
23942 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23943
23944 * minibuffer.el (completion--do-completion): Avoid the "Next char
23945 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23946
23947 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23948 mouse-2 into unread-command-events, it is interpreted correctly.
23949
23950 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23951 (image-toggle-display): Doc fix.
23952
23953 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23954
23955 * textmodes/page.el (what-page): Use line-number-at-pos to
23956 calculate line number (Bug#6825).
23957
23958 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23959
23960 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23961 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23962 Pass argument NO-DEFAULT to `find-tag-interactive'.
23963
23964 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23965
23966 Lexical-binding cleanup.
23967
23968 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23969 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23970 * progmodes/ada-prj.el (ada-prj-initialize-values)
23971 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23972 (ada-prj-show-value):
23973 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23974 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23975 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23976 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23977 * progmodes/bug-reference.el (bug-reference-push-button):
23978 * progmodes/fortran.el (fortran-line-length):
23979 * progmodes/glasses.el (glasses-change):
23980 * progmodes/octave-mod.el (octave-fill-paragraph):
23981 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23982 (python-pdbtrack-grub-for-buffer, python-sentinel):
23983 * progmodes/sql.el (sql-save-connection):
23984 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23985 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23986 Mark unused parameters.
23987
23988 * progmodes/compile.el (compilation--flush-directory-cache)
23989 (compilation--flush-parse, compile-internal): Mark unused parameters.
23990 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23991 (compilation-next-error-function): Remove unused variable `timestamp'.
23992
23993 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23994 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23995
23996 * progmodes/dcl-mode.el (dcl-end-of-command):
23997 Remove unused variable `start'.
23998 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23999 (dcl-option-value-basic, dcl-option-value-offset)
24000 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24001 Mark unused parameters.
24002 (dcl-save-local-variable): Remove unused variable `val'.
24003 (mode): Declare.
24004
24005 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24006 Mark unused parameters.
24007 (delphi-ignore-changes): Move before first use.
24008 (delphi-charset-token-at): Remove unused variable `start'.
24009 (delphi-else-start): Remove unused variable `if-count'.
24010 (delphi-comment-block-start, delphi-comment-block-end):
24011 Remove unused variable `kind'.
24012 (delphi-indent-line): Remove unused variable `new-point'.
24013
24014 * progmodes/ebrowse.el (ebrowse-files-list)
24015 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24016 Mark unused parameters. Don't quote `lambda'.
24017 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24018 Don't quote `lambda'.
24019 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24020 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24021 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24022 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24023 Use `ignore-errors'.
24024 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24025 (ebrowse-view/find-file-and-search-pattern)
24026 (ebrowse-view/find-member-declaration/definition):
24027 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24028 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24029 Rename parameter PREFIX-ARG to PREFIX.
24030 (ebrowse-tags-read-name): Remove unused variables `start' and
24031 `member-info'.
24032 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24033 to `tags-file'.
24034
24035 * progmodes/etags.el (local-find-tag-hook): Declare.
24036 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24037 Mark unused parameters.
24038
24039 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24040 (executable-interpret): Mark unused parameter.
24041
24042 * progmodes/flymake.el (flymake-process-sentinel)
24043 (flymake-after-change-function)
24044 (flymake-create-temp-with-folder-structure)
24045 (flymake-get-include-dirs-dot): Mark unused parameters.
24046 (flymake-safe-delete-directory): Remove unused variable `err'.
24047
24048 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24049 (speedbar-timer-fn, speedbar-line-text)
24050 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24051 (speedbar-center-buffer-smartly): Declare functions.
24052 (gdb-find-watch-expression): Remove unused variable `array'.
24053 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24054 (gdb-starting): Mark unused parameters.
24055 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24056 (gdb-table-string): Remove unused variable `res'.
24057 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24058 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24059 (gdb-display-buffer): Remove unused variable `cur-size'.
24060
24061 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24062 allow lexical-binding compilation.
24063 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24064 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24065 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24066 Mark unused parameters.
24067 (gud-gdb-marker-filter): Remove unused variable `match'.
24068 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24069 lambda expressions and funcall them, instead of using `fset'.
24070
24071 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24072 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24073
24074 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24075 variable `header-beg'; use `let'.
24076
24077 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24078 `restart', `last-sexp' and `at-do'.
24079
24080 * progmodes/js.el (js--debug): Mark unused parameter.
24081 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24082 (js--splice-into-items): Remove unused variable `item'.
24083 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24084
24085 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24086 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24087 (makefile-complete): Remove unused variable `try'.
24088 (makefile-fill-paragraph, makefile-match-function-end):
24089 Mark unused parameters.
24090
24091 * progmodes/octave-inf.el (inferior-octave-complete):
24092 Remove unused variable `proc'.
24093 (inferior-octave-output-digest): Mark unused parameter.
24094
24095 * progmodes/perl-mode.el (perl-calculate-indent):
24096 Remove unused variable `err'.
24097
24098 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24099 (prolog-indent-line): Mark unused parameters.
24100 (prolog-indent-line): Remove unused variable `beg'.
24101
24102 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24103 (reporter-dont-compact-list): Declare.
24104
24105 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24106 Remove unused variable `char'.
24107 (sh-debug): Mark unused parameter.
24108 (sh-get-indent-info): Remove unused variable `start'.
24109 (sh-calculate-indent): Remove unused variable `var'.
24110
24111 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24112 (simula-electric-keyword): Remove unused variable `null'.
24113 (simula-search-backward, simula-search-forward): Remove unused
24114 variables `begin' and `end'.
24115
24116 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24117 Remove unused variable `pos'.
24118 (vera-electric-tab, vera-comment-uncomment-region):
24119 Mark unused parameters.
24120 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24121
24122 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24123
24124 * emacs-lisp/package.el (package--builtins, package-alist)
24125 (package-load-descriptor, package-built-in-p, package-activate)
24126 (define-package, package-installed-p)
24127 (package-compute-transaction, package-buffer-info)
24128 (package--push): Doc fix. Distinguish more clearly between
24129 version strings and version lists.
24130
24131 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24132
24133 Lexical-binding cleanup.
24134
24135 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24136 (5x5-make-mutate-best):
24137 * play/fortune.el (fortune-in-buffer):
24138 * play/gomoku.el (gomoku-init-display):
24139 * play/solitaire.el (solitaire, solitaire-do-check):
24140 * play/tetris.el (tetris-default-update-speed-function):
24141 Mark unused parameters.
24142
24143 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24144 (bubbles--shift): Remove unused variable `char-org'.
24145 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24146 (bubbles--show-images): Remove unused variable `char'.
24147
24148 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24149 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24150 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24151 (decipher-analyze-buffer): Use ?\s.
24152 (decipher-make-checkpoint): Remove unused variable `mapping'.
24153
24154 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24155
24156 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24157 Remove unused variable `result'; use `let'.
24158
24159 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24160 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24161 (gametree-children-shown-p, gametree-compute-reduced-score):
24162 Use `ignore-errors'.
24163
24164 * play/handwrite.el (ps-lpr-switches): Declare.
24165 (handwrite): Remove unused variables `pmin' and `lastp'.
24166
24167 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24168
24169 * play/landmark.el (landmark-init-display)
24170 (landmark-update-naught-weights): Mark unused parameters.
24171 (landmark-y): Remove unused variable `noise'. Simplify.
24172 (landmark-human-plays): Remove unused variable `score'.
24173
24174 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24175 (mpuz-try-proposal): Remove unused variable `game'.
24176
24177 * play/zone.el (life-patterns): Declare.
24178
24179 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24180
24181 * vc/vc.el (ediff-vc-internal): Declare function.
24182
24183 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24184
24185 * shell.el: Use lexical-binding and std completion UI.
24186 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24187 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24188 comint-preoutput-filter-functions rather than on
24189 comint-output-filter-functions.
24190 (shell-command-completion, shell--command-completion-data)
24191 (shell-filename-completion, shell-environment-variable-completion)
24192 (shell-c-a-p-replace-by-expanded-directory): New functions.
24193 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24194 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24195 (shell-dynamic-complete-environment-variable): Use them.
24196 (shell-dynamic-complete-as-environment-variable)
24197 (shell-dynamic-complete-as-command): Remove.
24198 (shell-match-partial-variable): Match past point.
24199 * comint.el: Clean up use of completion-at-point-functions.
24200 (comint-completion-at-point): New function.
24201 (comint-mode): Use it completion-at-point-functions.
24202 (comint-dynamic-complete): Make it obsolete.
24203 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24204 (comint-c-a-p-replace-by-expanded-history): New function.
24205 (comint-dynamic-complete-functions)
24206 (comint-replace-by-expanded-history): Use it.
24207 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24208 termination strings. Try harder to avoid second try-completion.
24209 (completion-in-region-mode-map): Disable bindings that don't work yet.
24210
24211 * comint.el: Use lexical-binding. Require CL.
24212 (comint-dynamic-complete-functions): Use comint-filename-completion.
24213 (comint-completion-addsuffix): Tweak custom type.
24214 (comint-filename-completion, comint--common-suffix)
24215 (comint--common-quoted-suffix, comint--table-subvert)
24216 (comint--complete-file-name-data): New functions.
24217 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24218 (comint-dynamic-list-filename-completions): Use them.
24219 (comint-dynamic-simple-complete): Make obsolete.
24220
24221 * minibuffer.el (completion-in-region-mode):
24222 Keep completion-in-region-mode--predicate global.
24223 (completion-in-region--postch):
24224 Assume completion-in-region-mode--predicate is not null.
24225
24226 * progmodes/flymake.el (flymake-start-syntax-check-process):
24227 Obey `dir'. Simplify.
24228
24229 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24230 we're in VC after all.
24231
24232 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24233
24234 * vc/vc.el (vc-diff-build-argument-list-internal)
24235 (vc-version-ediff, vc-ediff): New commands.
24236 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24237
24238 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24239
24240 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24241 add sanity check.
24242
24243 * obsolete/erc-hecomplete.el: Make obsolete.
24244 * obsolete/: Standardize obsolescence info in the header.
24245
24246 2011-04-20 Glenn Morris <rgm@gnu.org>
24247
24248 * calendar/solar.el (solar-horizontal-coordinates):
24249 Use the longitude argument rather than `calendar-longitude'.
24250 (solar-date-next-longitude): Remove unused locals.
24251
24252 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24253
24254 * whitespace.el: New version 13.2.1.
24255
24256 2011-04-20 felix <EmacsWiki> (tiny change)
24257
24258 * whitespace.el (global-whitespace-mode): Keep highlight when
24259 switching between major modes on a file.
24260
24261 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24262
24263 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24264 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24265 multi-line comments as well.
24266
24267 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24268
24269 Lexical-binding cleanup.
24270
24271 * arc-mode.el (archive-mode-revert):
24272 * cmuscheme.el (scheme-interactively-start-process):
24273 * custom.el (custom-initialize-delay):
24274 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24275 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24276 * emacs-lock.el (emacs-lock-clear-sentinel):
24277 * ezimage.el (defezimage):
24278 * follow.el (follow-avoid-tail-recenter):
24279 * fringe.el (set-fringe-mode-1):
24280 * generic-x.el (bat-generic-mode-compile):
24281 * help-mode.el (help-info-variable, help-do-xref)
24282 (help-mode-revert-buffer):
24283 * help.el (view-emacs-todo):
24284 * iswitchb.el (iswitchb-completion-help):
24285 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24286 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24287 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24288 * locate.el (locate-update):
24289 * longlines.el (longlines-encode-region)
24290 (longlines-after-change-function):
24291 * outline.el (outline-isearch-open-invisible):
24292 * ps-def.el (declare-function, charset-dimension, char-width)
24293 (encode-char):
24294 * ps-mule.el (ps-mule-plot-string):
24295 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24296 (recentf-edit-list-select, recentf-edit-list-validate)
24297 (recentf-open-files-action):
24298 * rect.el (delete-whitespace-rectangle-line)
24299 (rectangle-number-line-callback):
24300 * register.el (window-configuration-to-register)
24301 (frame-configuration-to-register):
24302 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24303 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24304 (xselect-convert-to-targets, xselect-convert-to-delete)
24305 (xselect-convert-to-filename, xselect-convert-to-charpos)
24306 (xselect-convert-to-lineno, xselect-convert-to-colno)
24307 (xselect-convert-to-os, xselect-convert-to-host)
24308 (xselect-convert-to-user, xselect-convert-to-class)
24309 (xselect-convert-to-name, xselect-convert-to-integer)
24310 (xselect-convert-to-atom, xselect-convert-to-identity):
24311 * subr.el (declare, ignore, process-kill-without-query)
24312 (text-clone-maintain):
24313 * terminal.el (te-get-char, te-tic-sentinel):
24314 * tool-bar.el (tool-bar-make-keymap):
24315 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24316 * type-break.el (type-break-mode, type-break-noninteractive-query):
24317 * view.el (View-back-to-mark):
24318 * wid-browse.el (widget-browse-action, widget-browse-widget)
24319 (widget-browse-widgets, widget-browse-sexp):
24320 * widget.el (define-widget-keywords):
24321 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24322 Mark unused parameters.
24323
24324 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24325 (align-areas): Remove unused variable `look'.
24326 (align-region): Remove unused variables `real-end' and `pos-list'.
24327
24328 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24329
24330 * bindings.el (mode-line-modified, mode-line-remote):
24331 Mark unused parameters.
24332 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24333
24334 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24335 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24336
24337 * comint.el (comint-history-isearch-pop-state)
24338 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24339 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24340 (comint-substitute-in-file-name): Doc fix.
24341
24342 * completion.el (cmpl-statistics-block): Mark unused parameter.
24343 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24344 (save-completions-to-file, load-completions-from-file):
24345 Remove unused local variable `e'.
24346
24347 * composite.el (compose-chars): Remove unused variable `len'.
24348 (lgstring-insert-glyph): Remove unused variable `g'.
24349 (compose-glyph-string): Remove unused variables `ascent',
24350 `descent', `lbearing' and `rbearing'.
24351 (compose-glyph-string-relative): Remove unused variables
24352 `lbearing', `rbearing' and `wadjust'.
24353 (compose-gstring-for-graphic): Remove unused variables `header',
24354 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24355 (compose-gstring-for-terminal): Remove unused variables `header'
24356 and `nchars'. Use `let', not `let*'.
24357
24358 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24359 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24360 (Custom-buffer-done, custom-buffer-create-internal)
24361 (custom-browse-visibility-action, custom-browse-group-tag-action)
24362 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24363 (widget-magic-mouse-down-action, custom-toggle-parent)
24364 (custom-add-parent-links, custom-toggle-hide-variable)
24365 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24366 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24367 (custom-face-menu-create, custom-variable-menu-create, get)
24368 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24369 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24370 (customize-apropos): Remove unused variable `tests'.
24371 (custom-group-value-create): Remove unused variable `hidden-p'.
24372 (sort-fold-case): Declare.
24373
24374 * cus-theme.el (custom-reset-standard-faces-list)
24375 (custom-reset-standard-variables-list): Declare.
24376 (customize-create-theme, custom-theme-revert, custom-theme-write)
24377 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24378 Mark unused parameters.
24379
24380 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24381
24382 * delim-col.el (delimit-columns-max): Move defvar before first use.
24383
24384 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24385 (describe-char): Don't quote `lambda'. Mark unused parameter.
24386
24387 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24388 (auto-insert): Declare.
24389 (desktop-restore-file-buffer): Rename desktop-* parameters;
24390 mark unused ones.
24391 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24392 (desktop-buffer): Rename desktop-* parameters.
24393
24394 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24395 (dframe-reposition-frame-xemacs, dframe-help-echo)
24396 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24397 Mark unused parameters.
24398
24399 * dired-aux.el (backup-extract-version-start, overwrite-query)
24400 (overwrite-backup-query, rename-regexp-query)
24401 (rename-non-directory-query): Declare.
24402 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24403 (dired-add-entry): Remove unused variable `orig-file-name'.
24404 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24405 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24406 `dired-copy-preserve-time' directly.
24407 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24408 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24409
24410 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24411 (dired-virtual-revert, dired-make-relative-symlink):
24412 Mark unused parameters.
24413 (manual-program): Declare.
24414 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24415 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24416 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24417
24418 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24419
24420 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24421
24422 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24423 Declare.
24424
24425 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24426
24427 * electric.el (Electric-command-loop): Rename parameter
24428 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24429
24430 * expand.el (expand-in-literal): Remove unused variable `here'.
24431
24432 * facemenu.el (facemenu-add-new-color):
24433 Remove unused variable `docstring'.
24434
24435 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24436 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24437 (face-attr-construct): Mark unused parameter. Doc fix.
24438 (read-color): Remove unused variable `hex-string'.
24439
24440 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24441 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24442 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24443 (display-buffer-other-frame): Remove unused variable `old-window'.
24444 (kill-buffer-hook): Declare.
24445 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24446 Mark unused parameters.
24447 (after-find-file): Pass 1 to `auto-save-mode', not t.
24448
24449 * files-x.el (auto-insert): Declare.
24450 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24451
24452 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24453 variable `buf'. Mark unused parameter.
24454 (find-lisp-insert-directory): Mark unused parameter.
24455
24456 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24457 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24458 (format-common-tail): Remove, unused.
24459 (format-deannotate-region): Remove unused variable `loc'.
24460 (format-annotate-region): Remove unused variable `p'.
24461 (format-annotate-single-property-change): Remove unused variables
24462 `default' and `tail'.
24463
24464 * forms.el (read-file-filter): Declare.
24465 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24466
24467 * frame.el (frame-creation-function-alist): Mark unused parameter.
24468 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24469
24470 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24471 Remove unused parameters.
24472 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24473 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24474
24475 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24476 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24477 (hfy-prepare-tag-map): Mark unused parameters.
24478 (htmlfontify-buffer): Use `called-interactively-p'.
24479
24480 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24481 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24482 (ibuffer-do-occur): Mark unused parameters.
24483 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24484 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24485
24486 * ibuffer.el: Don't quote `lambda'.
24487 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24488 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24489 Mark unused parameters.
24490
24491 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24492 (ido-completing-read): Mark unused parameters.
24493 (ido-copy-current-word): Mark unused parameters;
24494 remove unused variable `name'.
24495 (ido-sort-merged-list): Remove unused parameter `dirs'.
24496
24497 * ielm.el (ielm-input-sender): Mark unused parameter.
24498 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24499 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24500 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24501 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24502 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24503
24504 * image-dired.el (image-dired-display-thumbs): Remove unused
24505 variables `curr-file' and `count'.
24506 (image-dired-remove-tag): Remove unused variable `start'.
24507 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24508 variable `curr-file'
24509 (image-dired-rotate-original): Remove unused variable `temp-file'.
24510 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24511 Remove unused variable `file'.
24512 (image-dired-gallery-generate): Remove unused variable `curr'.
24513 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24514
24515 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24516
24517 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24518
24519 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24520
24521 * isearch.el (minibuffer-history-symbol): Declare.
24522 (isearch-edit-string): Remove unused variable `err'.
24523 (isearch-message-prefix, isearch-message-suffix):
24524 Mark unused parameters.
24525
24526 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24527
24528 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24529
24530 * makesum.el (double-column): Remove unused variable `cnt'.
24531
24532 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24533 (ido-ignore-item-temp-list): Declare.
24534
24535 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24536 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24537 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24538 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24539 `mouse-col-delta'.
24540
24541 * mouse-sel.el (mouse-extend-internal):
24542 Remove unused variable `orig-window-frame'.
24543
24544 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24545 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24546 Move declarations before first use.
24547 (pcomplete-opt): Mark unused parameters; doc fix.
24548
24549 * proced.el (proced-revert): Mark unused parameter.
24550 (proced-send-signal): Remove unused variable `err'.
24551
24552 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24553 Rename parameter PREFIX-ARG to ARG.
24554 (ps-basic-plot-string, ps-basic-plot-whitespace):
24555 Mark unused parameters.
24556
24557 * replace.el (replace-count): Define.
24558 (occur-revert-function): Mark unused parameters.
24559 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24560 (isearch-case-fold-search, isearch-string): Declare.
24561 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24562 bind `case-fold-search'. Remove unused variables `beg' and `end',
24563 and simplify.
24564 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24565 COUNT and bind `replace-count'.
24566 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24567 to COUNT.
24568
24569 * savehist.el (print-readably, print-string-length): Declare.
24570
24571 * shadowfile.el (shadow-expand-cluster-in-file-name):
24572 Remove unused variable `cluster'.
24573 (shadow-copy-file): Remove unused variable `i'.
24574 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24575 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24576 (shadow-define-literal-group, shadow-define-regexp-group)
24577 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24578
24579 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24580 (shell): Use `called-interactively-p'.
24581 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24582
24583 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24584 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24585 (delete-backward-char): Remove unused variable `ocol'.
24586 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24587 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24588 (event-apply-hyper-modifier, event-apply-shift-modifier)
24589 (event-apply-control-modifier, event-apply-meta-modifier):
24590 Mark unused parameters.
24591 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24592 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24593
24594 * speedbar.el (speedbar-ignored-directory-expressions)
24595 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24596 (speedbar-find-file, speedbar-dir-follow)
24597 (speedbar-directory-buttons-follow, speedbar-tag-find)
24598 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24599 (speedbar-buffers-line-directory, speedbar-buffer-click):
24600 Mark unused parameters.
24601 (speedbar-tag-file): Remove unused variable `mode'.
24602 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24603
24604 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24605
24606 * talk.el (talk): Remove unused variable `display'.
24607
24608 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24609 (tar-write-region-annotate): Mark unused parameter.
24610
24611 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24612 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24613 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24614 warning by another.
24615
24616 * time-stamp.el (time-stamp-string-preprocess):
24617 Remove unused variable `require-padding'.
24618
24619 * tree-widget.el (widget-glyph-enable): Declare.
24620 (tree-widget-action): Mark unused parameter.
24621
24622 * w32-fns.el (x-get-selection): Mark unused parameter.
24623 (autoload-make-program, generated-autoload-file): Declare.
24624
24625 * wdired.el (wdired-revert): Mark unused parameters.
24626 (wdired-xcase-word): Remove unused variable `err'.
24627
24628 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24629 (whitespace-help-scroll): Remove unused variable `data-help'.
24630
24631 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24632 (widget-image-insert, widget-after-change, default)
24633 (widget-default-format-handler, widget-default-notify)
24634 (widget-default-prompt-value, widget-info-link-action)
24635 (widget-url-link-action, widget-function-link-action)
24636 (widget-variable-link-action, widget-file-link-action)
24637 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24638 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24639 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24640 (widget-insert-button-action, widget-delete-button-action, visibility)
24641 (widget-documentation-link-action, widget-documentation-string-action)
24642 (widget-const-prompt-value, widget-regexp-match, symbol)
24643 (widget-coding-system-prompt-value)
24644 (widget-key-sequence-value-to-external, sexp)
24645 (widget-sexp-value-to-internal, character, vector, cons)
24646 (widget-choice-prompt-value, widget-boolean-prompt-value)
24647 (widget-color--choose-action): Mark unused parameters.
24648 (widget-item-match-inline, widget-choice-match-inline)
24649 (widget-checklist-match, widget-checklist-match-inline)
24650 (widget-group-match): Rename parameter VALUES to VALS.
24651 (widget-field-value-set): Remove unused variable `size'.
24652 (widget-color-action): Remove unused variables `value' and `start'.
24653
24654 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24655 variable `dir'. Doc fix.
24656 (windmove-find-other-window): Don't pass it.
24657
24658 * window.el (count-windows): Mark unused parameter.
24659 (bw-adjust-window): Remove unused variable `err'.
24660
24661 * woman.el (woman-file-name): Remove unused variable `default'.
24662 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24663 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24664 (global-font-lock-mode): Declare.
24665 (woman-decode-region): Mark unused parameter.
24666 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24667
24668 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24669 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24670 (x-dnd-handle-moz-url): Remove unused variable `title'.
24671 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24672
24673 * xml.el (xml-parse-tag, xml-parse-attlist):
24674 Remove unused variable `pos'.
24675
24676 2011-04-19 Glenn Morris <rgm@gnu.org>
24677
24678 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24679 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24680 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24681 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24682 * calendar/cal-html.el (cal-html-insert-minical):
24683 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24684 (calendar-mark-date-pattern):
24685 Prefix "unused" locals.
24686
24687 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24688 optional argument `style'.
24689
24690 * calendar/appt.el (appt-make-list):
24691 * calendar/cal-china.el (calendar-chinese-date-string):
24692 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24693 (diary-hebrew-yahrzeit):
24694 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24695 * calendar/calendar.el (calendar-generate-window):
24696 * calendar/time-date.el (time-to-days):
24697 Remove unused local variables.
24698
24699 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24700
24701 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24702 glyphless-char-display table.
24703 (tabulated-list-glyphless-char-display): New var.
24704
24705 2011-04-18 Sam Steingold <sds@gnu.org>
24706
24707 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24708 to acknowledgments.
24709
24710 2011-04-17 Glenn Morris <rgm@gnu.org>
24711
24712 * calendar/diary-lib.el (diary-sexp-entry):
24713 * calendar/holidays.el (holiday-sexp):
24714 Set debug-on-error rather than the removed stack-trace-on-error.
24715
24716 2011-04-16 Glenn Morris <rgm@gnu.org>
24717
24718 * progmodes/f90.el: Use lexical-binding.
24719 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24720
24721 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24722
24723 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24724 (mail-mode): Setup mailalias completion here instead.
24725 * mail/mailalias.el: Use lexical-binding.
24726 (pattern, mailalias-done): Declare dynamic.
24727 (mail-completion-at-point-function): New function, from mail-complete.
24728 (mail-complete): Use it.
24729 (mail-completion-expand): New function.
24730 (mail-get-names): Use it.
24731 (mail-directory, mail-directory-process, mail-directory-stream):
24732 Don't use `pattern' for lexically bound arg.
24733
24734 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24735
24736 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24737 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24738 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24739
24740 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24741 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24742 (byte-interactive-p): Define them again, for use when inlining
24743 old code.
24744
24745 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24746
24747 * loadup.el: Use `string-to-number', not `string-to-int'.
24748
24749 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24750
24751 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24752 gud-gdb-complete-command.
24753 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24754 (gud-gdb-completion-at-point): New function.
24755 (gud-gdb-completions): Remove.
24756
24757 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24758
24759 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24760 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24761 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24762 whether `executable-find' is bound.
24763
24764 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24765
24766 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24767
24768 * minibuffer.el (completion-in-region-mode-predicate)
24769 (completion-in-region-mode--predicate): New vars.
24770 (completion-in-region, completion-in-region--postch)
24771 (completion-in-region-mode): Use them.
24772 (completion--capf-wrapper): Also return the hook function.
24773 (completion-at-point, completion-help-at-point):
24774 Adjust and provide a predicate.
24775
24776 Preserve arg names for advice of subr and lexical functions (bug#8457).
24777 * help-fns.el (help-function-arglist): Consolidate the subr and
24778 new-byte-code cases. Add argument `preserve-names' to extract names
24779 from the docstring when needed.
24780 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24781 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24782 (ad-arglist): Use help-function-arglist's new arg.
24783 (ad-definition-type): Use cond.
24784
24785 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24786
24787 * autorevert.el (auto-revert-handler):
24788 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24789 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24790 Don't quote lambda.
24791
24792 * image-mode.el (image-transform-set-scale):
24793 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24794
24795 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24796
24797 * net/network-stream.el (network-stream-open-starttls): Only do
24798 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24799 Upgrades via gnutls-cli are too slow to be done opportunistically.
24800
24801 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24802
24803 * dframe.el (dframe-current-frame): Remove spurious quote.
24804
24805 2011-04-12 Glenn Morris <rgm@gnu.org>
24806
24807 * calendar/cal-tex.el (cal-tex-end-document):
24808 Try to automatically use latin1 input if needed.
24809
24810 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24811 Don't try to cons a mark onto an empty element.
24812
24813 2011-04-11 Leo Liu <sdl.web@gmail.com>
24814
24815 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24816 buffers.
24817 (ido-kill-buffer-at-head): Support killing virtual buffers.
24818
24819 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24820
24821 * minibuffer.el (completion-show-inline-help): New var.
24822 (completion--do-completion, minibuffer-complete)
24823 (minibuffer-force-complete, minibuffer-complete-word):
24824 Inhibit minibuffer messages if completion-show-inline-help is nil.
24825
24826 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24827 to avoid interference from inline help (Bug#5849).
24828
24829 2011-04-10 Leo Liu <sdl.web@gmail.com>
24830
24831 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24832 Fix typo.
24833
24834 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24835
24836 * image-mode.el (image-toggle-display-image): Signal an error if
24837 not in Image mode.
24838 (image-transform-mode, image-transform-resize)
24839 (image-transform-set-rotation): Doc fix.
24840 (image-transform-set-resize): Delete.
24841 (image-transform-set-scale, image-transform-fit-to-height)
24842 (image-transform-fit-to-width): Handle image-toggle-display-image
24843 and image-transform-resize directly.
24844
24845 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24846
24847 * doc-view.el (doc-view-fit-width-to-window)
24848 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24849 New functions for fitting the shown image to the Emacs window size.
24850 (doc-view-mode-map): Add bindings for the new functions.
24851
24852 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24853
24854 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24855 Fix typo in docstring.
24856
24857 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24858
24859 * files.el (file-size-human-readable): Produce one digit after
24860 decimal, like "ls -lh" does.
24861
24862 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24863 the file size representation.
24864
24865 * simple.el (list-processes): If async subprocesses are not
24866 available, error out with a clear error message.
24867
24868 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24869
24870 * help.el (help-form-show): New function, to be called from C.
24871 Put help-form output in a buffer named differently than *Help*.
24872
24873 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24874
24875 * files.el (file-size-human-readable): New function.
24876
24877 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24878 computing the representation inline. Don't require `cl'.
24879
24880 2011-04-08 Glenn Morris <rgm@gnu.org>
24881
24882 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24883
24884 * net/browse-url.el (browse-url-firefox):
24885 Test system-type, not system-configuration.
24886
24887 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24888 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24889 Use log-edit-empty-buffer-p. (Bug#7598)
24890
24891 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24892 (rlogin-mode-map): Initialize in the defvar.
24893 (rlogin): Use ignore-errors.
24894
24895 * replace.el (occur-mode-map): Some fixes for menu items.
24896
24897 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24898
24899 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24900
24901 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24902
24903 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24904 issuing unused warnings.
24905
24906 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24907 macro directly.
24908
24909 * simple.el: Lisp reimplement of list-processes. Based on an
24910 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24911 (process-menu-mode): New major mode.
24912 (list-processes--refresh, list-processes):
24913 (process-menu-visit-buffer): New functions.
24914
24915 * files.el (save-buffers-kill-emacs): Don't assume any return
24916 value of list-processes, which is undocumented anyway.
24917
24918 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24919
24920 * emacs-lisp/tabulated-list.el: New file.
24921
24922 * emacs-lisp/package.el: Use Tabulated List mode.
24923 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24924 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24925 table format using Tabulated List mode variables.
24926 (package--push): New macro, replacing package-list-maybe-add.
24927 (package-menu--generate): Use package--push. Renamed from
24928 package--generate-package-list.
24929 (package-menu-refresh, list-packages): Use it.
24930 (package-menu--print-info): Rename from package-print-package.
24931 Return insertion data instead of inserting it directly.
24932 (package-menu-describe-package, package-menu-execute):
24933 Use tabulated-list-get-id.
24934 (package-menu-mark-delete, package-menu-mark-install)
24935 (package-menu-mark-unmark, package-menu-backup-unmark)
24936 (package-menu-mark-obsolete-for-deletion):
24937 Use tabulated-list-put-tag.
24938 (package--list-packages, package-menu-revert)
24939 (package-menu-get-package, package-menu-get-version)
24940 (package-menu-sort-by-column): Functions deleted.
24941 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24942 (package-menu--status-predicate, package-menu--version-predicate)
24943 (package-menu--name-predicate)
24944 (package-menu--description-predicate): Handle arguments in the
24945 Tabulated List format.
24946 (package-list-packages-no-fetch): Call list-packages.
24947
24948 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24949
24950 * files.el (after-find-file-from-revert-buffer): Remove variable.
24951 (after-find-file): Don't bind it.
24952 (revert-buffer-in-progress-p): New variable.
24953 (revert-buffer): Bind it.
24954 Pass nil for `after-find-file-from-revert-buffer'.
24955
24956 * saveplace.el (save-place-find-file-hook): Use new variable
24957 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24958
24959 2011-04-06 Glenn Morris <rgm@gnu.org>
24960
24961 * Makefile.in (AUTOGEN_VCS): New variable.
24962 (autoloads): Use $AUTOGEN_VCS.
24963
24964 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24965 * calendar/calendar.el (calendar-mode-map):
24966 Check for toolkit scroll bars. (Bug#8305)
24967
24968 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24969
24970 * minibuffer.el (completion-in-region--postch)
24971 (completion-in-region-mode): Remove unnecessary messages.
24972
24973 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24974
24975 * font-lock.el (font-lock-refresh-defaults):
24976 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24977 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24978
24979 * info.el (Info-directory-list, Info-read-node-name-2)
24980 (Info-split-parameter-string): Doc fixes.
24981 (Info-virtual-nodes): Reflow docstring.
24982 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24983 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24984 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24985 Fix typos in docstrings.
24986 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24987 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24988 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24989 (Info-restore-desktop-buffer): Mark unused parameters.
24990 (Info-directory-find-file, Info-directory-find-node)
24991 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24992 (Info-virtual-index-find-node, Info-apropos-find-file)
24993 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24994 Mark unused parameters; fix typos in docstrings.
24995 (Info-virtual-index): Remove unused local variable `nodename'.
24996
24997 2011-04-05 Deniz Dogan <deniz@dogan.se>
24998
24999 * net/rcirc.el: Update my e-mail address.
25000 (rcirc-mode-map): Remove M-o binding.
25001
25002 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25003
25004 * startup.el (command-line): Save the cursor's theme-face
25005 directly, instead of using face-override-spec.
25006
25007 * custom.el (load-theme): Minor optimization in assigning faces.
25008
25009 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25010
25011 * help-fns.el (describe-variable): Complete all variables having
25012 documentation, including keywords.
25013 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25014
25015 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25016
25017 Convert to lexical-binding.
25018
25019 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25020 (bs--get-marked-string, bs--get-modified-string)
25021 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25022 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25023 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25024
25025 * ehelp.el (electric-help-execute-extended)
25026 (electric-help-ctrl-x-prefix):
25027 * hexl.el (hexl-revert-buffer-function):
25028 * linum.el (linum-after-change, linum-after-scroll):
25029 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25030
25031 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25032
25033 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25034
25035 * epa-dired.el:
25036 * epa-mail.el:
25037 * epa-hook.el:
25038 * epa-file.el:
25039 * epa.el:
25040 * epg.el: Use lexical binding.
25041
25042 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25043
25044 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25045
25046 * textmodes/flyspell.el (flyspell-word): Recognize default
25047 dictionary case for flyspell-mark-duplications-exceptions.
25048 Use regexp matching for languages.
25049 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25050 default dictionary (Bug#7926).
25051
25052 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25053
25054 * emacs-lisp/package.el (package--with-work-buffer):
25055 Recognize https URLs.
25056
25057 * net/network-stream.el: Move from gnus/proto-stream.el.
25058 Change prefix to network-stream throughout.
25059 (open-protocol-stream): Merge into open-network-stream, leaving
25060 open-protocol-stream as an alias. Handle nil BUFFER args.
25061
25062 * subr.el (open-network-stream): Move to net/network-stream.el.
25063
25064 2011-04-02 Glenn Morris <rgm@gnu.org>
25065
25066 * find-dired.el (find-exec-terminator): New option.
25067 (find-ls-option): Test for -ls support.
25068 (find-ls-subdir-switches): Test for -b in find-ls-option.
25069 (find-dired, find-grep-dired): Doc fixes.
25070 (find-dired): Use find-exec-terminator.
25071
25072 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25073 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25074 (find-name-arg): Remove purecopy.
25075
25076 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25077 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25078 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25079 accordingly. Don't add the null-device if not needed.
25080
25081 * files.el (save-some-buffers): Doc fix.
25082
25083 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25084
25085 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25086
25087 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25088
25089 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25090 Use `dolist' rather than `mapcar'.
25091
25092 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25093
25094 Add lexical binding.
25095
25096 * subr.el (apply-partially): Use new closures rather than CL.
25097 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25098 (dolist, dotimes): Use slightly different expansion for lexical code.
25099 (functionp): Move to C.
25100 (letrec): New macro.
25101 (with-wrapper-hook): Use it and apply-partially instead of CL.
25102 (eval-after-load): Preserve lexical-binding.
25103 (save-window-excursion, with-output-to-temp-buffer): Turn them
25104 into macros.
25105
25106 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25107
25108 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25109 than the arglist.
25110 (help-add-fundoc-usage): Don't add `Not documented'.
25111 (help-function-arglist): Handle closures, subroutines, and new
25112 byte-code-functions.
25113 (help-make-usage): Remove leading underscores.
25114 (describe-function-1): Handle closures.
25115 (describe-variable): Use special-variable-p for completion.
25116
25117 * files.el (lexical-binding): Declare safe.
25118
25119 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25120 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25121 (pcase): Add `let' pattern.
25122 Change memoization so it actually works.
25123 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25124 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25125 <let>: New case.
25126
25127 * emacs-lisp/macroexp.el: Use lexical binding.
25128 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25129 Don't convert ' to #' without checking that it's indeed quoting
25130 a lambda.
25131
25132 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25133 Use eval-sexp-add-defvars.
25134 (eval-sexp-add-defvars): New fun.
25135
25136 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25137
25138 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25139 Don't autoload.
25140 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25141 than the internal `byte-compile-lambda'.
25142 (defmethod): Don't hide code under quotes.
25143 (eieio-defmethod): New `code' argument.
25144
25145 * emacs-lisp/eieio-comp.el: Remove.
25146
25147 * emacs-lisp/edebug.el (edebug-eval-defun)
25148 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25149 (edebug-toggle): Avoid `eval'.
25150
25151 * emacs-lisp/disass.el (disassemble-internal): Handle new
25152 `closure' objects.
25153 (disassemble-1): Handle new byte codes.
25154
25155 * emacs-lisp/cl.el (pushnew): Silence warning.
25156
25157 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25158 (cl-byte-compile-throw): Remove.
25159 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25160
25161 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25162 closures.
25163
25164 * emacs-lisp/cconv.el: New file.
25165
25166 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25167 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25168 (byte-compile-initial-macro-environment):
25169 Handle declare-function here.
25170 (byte-compile--lexical-environment): New var.
25171 (byte-stack-ref, byte-stack-set, byte-discardN)
25172 (byte-discardN-preserve-tos): New lap codes.
25173 (byte-interactive-p): Don't use any more.
25174 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25175 New macros.
25176 (byte-compile-lapcode): Use them and handle new lap codes.
25177 (byte-compile-obsolete): Remove.
25178 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25179 (byte-compile-arglist-warn): Check late def of inlinable funs.
25180 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25181 since they should have been expanded by now.
25182 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25183 (byte-compile-from-buffer): Remove unused second arg.
25184 (byte-compile-preprocess): New function.
25185 (byte-compile-toplevel-file-form): New function to distinguish
25186 file-form calls from outside from file-form calls from hunk-handlers.
25187 (byte-compile-file-form): Simplify.
25188 (byte-compile-file-form-defsubst): Remove.
25189 (byte-compile-file-form-defmumble): Simplify now that
25190 byte-compile-lambda always returns a byte-code-function.
25191 (byte-compile): Preprocess.
25192 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25193 Remove, not used any more.
25194 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25195 (byte-compile-make-args-desc): New funs.
25196 (byte-compile-lambda): Handle lexical functions. Always return
25197 a byte-code-function.
25198 (byte-compile-reserved-constants): New var, to make up room for
25199 closed-over variables.
25200 (byte-compile-constants-vector): Obey it.
25201 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25202 (byte-compile-macroexpand-declare-function): New function.
25203 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25204 byte-code-functions.
25205 (byte-compile-form): Check obsolescence here.
25206 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25207 (byte-compile-variable-ref): Remove.
25208 (byte-compile-dynamic-variable-op): New fun.
25209 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25210 (byte-compile-variable-set): New funs.
25211 (byte-compile-discard): Add 2 args.
25212 (byte-compile-stack-ref, byte-compile-stack-set)
25213 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25214 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25215 macroexpand-all instead.
25216 (byte-compile-quote-form): Remove.
25217 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25218 (byte-compile-bind, byte-compile-unbind): New funs.
25219 (byte-compile-let): Handle let* and lexical binding.
25220 (byte-compile-let*): Remove.
25221 (byte-compile-catch, byte-compile-unwind-protect)
25222 (byte-compile-track-mouse, byte-compile-condition-case):
25223 Handle a new :fun-body form, used for lexical scoping.
25224 (byte-compile-save-window-excursion)
25225 (byte-compile-with-output-to-temp-buffer): Remove.
25226 (byte-compile-defun): Simplify.
25227 (byte-compile-stack-adjustment): New fun.
25228 (byte-compile-out): Use it.
25229 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25230
25231 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25232 handler any more.
25233
25234 * emacs-lisp/byte-opt.el: Use lexical binding.
25235 (byte-inline-lapcode): Remove (to bytecomp).
25236 (byte-compile-inline-expand): Pay attention to inlining to/from
25237 lexically bound code.
25238 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25239 any more.
25240 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25241 any more and don't call compiler-macros.
25242 (byte-compile-splice-in-already-compiled-code): Remove.
25243 (byte-code): Don't inline any more.
25244 (disassemble-offset): Receive `bytes' as argument rather than via
25245 dynamic scoping.
25246 (byte-compile-tag-number): Declare before first use.
25247 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25248 `return' even if make-spliceable.
25249 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25250 obsolete interactive-p.
25251 (byte-optimize-lapcode): Optimize new lap-codes.
25252 Don't trip up on new form of `byte-constant' lap code.
25253
25254 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25255
25256 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25257
25258 * custom.el (custom-initialize-default, custom-declare-variable):
25259 Use `defvar'.
25260
25261 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25262 New variables.
25263 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25264 (COMPILE_FIRST): Add macroexp and cconv.
25265 * makefile.w32-in: Mirror changes in Makefile.in.
25266
25267 * vc/cvs-status.el:
25268 * vc/diff-mode.el:
25269 * vc/log-edit.el:
25270 * vc/log-view.el:
25271 * vc/smerge-mode.el:
25272 * textmodes/bibtex-style.el:
25273 * textmodes/css-mode.el:
25274 * startup.el:
25275 * uniquify.el:
25276 * minibuffer.el:
25277 * newcomment.el:
25278 * reveal.el:
25279 * server.el:
25280 * mpc.el:
25281 * emacs-lisp/smie.el:
25282 * doc-view.el:
25283 * dired.el:
25284 * abbrev.el: Use lexical binding.
25285
25286 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25287
25288 * info.el (info-display-manual): New function.
25289
25290 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25291
25292 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25293
25294 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25295
25296 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25297 an entry for that server in rcirc-authinfo. (Bug#8385)
25298
25299 2011-03-31 Glenn Morris <rgm@gnu.org>
25300
25301 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25302
25303 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25304
25305 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25306
25307 * progmodes/python.el (python-default-interpreter)
25308 (python-python-command-args, python-jython-command-args)
25309 (python-which-shell, python-which-args, python-which-bufname)
25310 (python-file-queue, python-comint-output-filter-function)
25311 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25312 variables and functions.
25313
25314 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25315
25316 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25317 (completion-in-region-mode): New minor mode.
25318 (completion-in-region): Use it.
25319 (completion-in-region--data, completion-in-region-mode-map): New vars.
25320 (completion-in-region--postch): New function.
25321 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25322 New vars.
25323 (completion--capf-wrapper): New function.
25324 (completion-at-point): Use it to track well-behavedness of
25325 hook functions.
25326 (completion-help-at-point): New command.
25327
25328 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25329
25330 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25331 syntax class to search for whitespace on a single line
25332 (Message-ID: <4D938140.4030905@redhat.com>).
25333
25334 2011-03-30 Leo Liu <sdl.web@gmail.com>
25335
25336 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25337 New commands.
25338 (edit-abbrevs-map): Bind them here.
25339 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25340
25341 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25342
25343 * allout.el (allout-hide-by-annotation, allout-flag-region):
25344 Reduce possibility of overlay leakage by making them volatile.
25345
25346 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25347 hash is not shared between buffers. Mode initialization is
25348 responsible for giving it a useful starting value.
25349 (allout-item-span): Reduce possibility of overlay leakage by
25350 making them volatile.
25351 (allout-widgets-count-buttons-in-region): Add diagnostic function
25352 for tracking down button overlay leaks.
25353
25354 2011-03-29 Leo Liu <sdl.web@gmail.com>
25355
25356 * ido.el (ido-read-internal): Use the default history var
25357 minibuffer-history if no HISTORY is specified.
25358
25359 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25360
25361 * net/imap.el (imap-shell-open, imap-process-connection-type):
25362 Use imap-process-connection-type for 'shell' streams as well as
25363 Kerberos, SSL, other subprocesses.
25364
25365 2011-03-28 Leo Liu <sdl.web@gmail.com>
25366
25367 * abbrev.el (abbrev-table-empty-p): New function.
25368 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25369 nonempty ones. (Bug#5937)
25370
25371 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25372
25373 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25374
25375 2011-03-27 Leo Liu <sdl.web@gmail.com>
25376
25377 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25378 for foreground and background colors.
25379 (ansi-color-make-color-map): Adapt.
25380
25381 2011-03-25 Leo Liu <sdl.web@gmail.com>
25382
25383 * midnight.el (midnight-time-float): Remove. Note it calculates
25384 the microsecond component incorrectly and seconds-to-time does the
25385 same job.
25386 Remove redundant (require 'timer).
25387
25388 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25389 (ido-completions): Remove unused arguments. (Bug#8329)
25390
25391 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25392
25393 * minibuffer.el (completion--flush-all-sorted-completions):
25394 Remove itself from hook.
25395 (completion-at-point): Let the functions perform the completion
25396 immediately and return nil or t.
25397 * comint.el (comint-dynamic-complete-functions): Now identical to
25398 completion-at-point-functions.
25399 (comint-dynamic-list-input-ring): Remove unused var `index'.
25400 (comint--match-partial-filename, comint--unquote&expand-filename):
25401 New funs, split from comint-match-partial-filename.
25402 (comint-dynamic-complete): Use completion-at-point.
25403 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25404
25405 2011-03-24 Drew Adams <drew.adams@oracle.com>
25406
25407 * thingatpt.el: Support `defun'.
25408
25409 2011-03-23 Leo Liu <sdl.web@gmail.com>
25410
25411 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25412
25413 * help-mode.el (help-mode-finish): Tweak regexp.
25414
25415 2011-03-23 Glenn Morris <rgm@gnu.org>
25416
25417 * eshell/esh-opt.el (eshell-eval-using-options):
25418 Do not bind unused local variable `eshell-option-stub'.
25419
25420 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25421
25422 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25423
25424 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25425 keymap variable in `with-no-warnings' to avoid a warning when the
25426 keymap has been already `defconst'ed.
25427
25428 2011-03-22 Leo Liu <sdl.web@gmail.com>
25429
25430 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25431 encode all chars in abbrevs; otherwise use emacs-mule or
25432 utf-8-emacs. (Bug#8308)
25433
25434 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25435
25436 * simple.el (backward-delete-char-untabify):
25437 Avoid warning about using `delete-backward-char'.
25438
25439 * image.el (image-type-file-name-regexps): Make it variable.
25440 `imagemagick-register-types' modifies it, and the user may want
25441 to add new extensions for known image types.
25442 (imagemagick-register-types): Throw error if not using ImageMagick.
25443
25444 2011-03-22 Leo Liu <sdl.web@gmail.com>
25445
25446 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25447 located before rcirc-prompt-end-marker.
25448 (rcirc-complete): Error if point is not after rcirc prompt.
25449 Handle the case when table is nil.
25450 (rcirc-user-authenticated): Define to fix compiler warning.
25451
25452 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25453
25454 * custom.el (custom--inhibit-theme-enable): Make it affect only
25455 custom-theme-set-variables and custom-theme-set-faces.
25456 (provide-theme): Ignore custom--inhibit-theme-enable.
25457 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25458 (custom-enabling-themes): Delete variable.
25459 (enable-theme): Accept only loaded themes as arguments.
25460 Ignore the special custom-enabled-themes variable.
25461 (custom-enabled-themes): Forbid themes from setting this.
25462 Eliminate use of custom-enabling-themes.
25463 (custom-push-theme): Quote "changed" custom var entry.
25464
25465 2011-03-21 Leo Liu <sdl.web@gmail.com>
25466
25467 * ido.el (ido-read-internal): Add ido-selected to history instead
25468 of user input.
25469
25470 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25471
25472 * subr.el (deferred-action-list, deferred-action-function):
25473 Mark obsolete.
25474
25475 2011-03-21 Leo Liu <sdl.web@gmail.com>
25476
25477 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25478 change on 2011-02-13 (bug#8309).
25479
25480 * minibuffer.el (read-file-name-function): Change default value.
25481 (read-file-name--defaults): Rename from read-file-name-defaults.
25482 (read-file-name-default): Rename from read-file-name.
25483 (read-file-name): Call read-file-name-function.
25484
25485 2011-03-21 Glenn Morris <rgm@gnu.org>
25486
25487 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25488 Doc fixes.
25489
25490 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25491
25492 * cus-theme.el: Add missing provide statement.
25493 (customize-create-theme): Extract theme value correctly.
25494 (custom-theme-visit-theme): Autoload.
25495 (customize-create-theme): Prompt before inserting default faces.
25496
25497 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25498
25499 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25500 units and musical notes.
25501
25502 2011-03-20 Leo Liu <sdl.web@gmail.com>
25503
25504 * ido.el (ido-read-internal): Use completing-read-default.
25505 (ido-completing-read): Fix compatibility with completing-read.
25506
25507 2011-03-20 Christian Ohler <ohler@gnu.org>
25508
25509 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25510 (ert-delete-all-tests): Use `called-interactively-p' rather than
25511 `interactive-p'.
25512 (ert--make-xrefs-region): Respect END.
25513
25514 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25515
25516 * dired-aux.el (dired-create-directory): Signal an error if the
25517 directory already exists (Bug#8246).
25518
25519 * facemenu.el (list-colors-display): Call list-faces-display
25520 inside with-help-window.
25521 (list-colors-print): Use display property to align the final
25522 column, instead of checking window-width.
25523
25524 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25525
25526 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25527 windows-nt systems.
25528 (emerge-protect-metachars): Quote correctly for ms-dos and
25529 windows-nt systems.
25530
25531 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25532
25533 * info.el (info-initialize): Replace all uses of `:' with
25534 path-separator for compatibility with non-Unix systems.
25535 Cache quoting of path-separator. (Bug#8258)
25536
25537 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25538
25539 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25540 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25541 (mouse-avoidance-mode): Fix typos in docstrings.
25542
25543 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25544
25545 * startup.el (package-subdirectory-regexp): Move from package.el.
25546 Omit \\` and \\', and let callers add them.
25547
25548 * emacs-lisp/package.el (package-strip-version)
25549 (package-load-all-descriptors): Add \\` and \\' to
25550 package-subdirectory-regexp before using it.
25551 (package-untar-buffer): New arg DIR; ensure that file untars only
25552 into this expected directory. Remove superfluous delete-region.
25553 (package-unpack): Caller changed.
25554 (package-tar-file-info): Use package-subdirectory-regexp.
25555
25556 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25557
25558 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25559 diff-mode-shared-map (bug#8284).
25560 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25561
25562 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25563
25564 * calendar/time-date.el (format-seconds): Use assoc instead of
25565 assoc-string, since assoc-string doesn't exist in XEmacs.
25566
25567 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25568
25569 * custom.el (custom-known-themes): Reflow docstring.
25570 (custom-theme-load-path): Fix typo in docstring.
25571 (load-theme): Fix typo in error message.
25572 (custom-available-themes, custom-variable-theme-value):
25573 Use `let', not `let*'.
25574
25575 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25576
25577 * calc/README: Mention inclusion of musical notes.
25578
25579 * calc/calc-units.el (calc-lu-quant): Rename from
25580 `calc-logunits-quantity'.
25581 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25582 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25583 (calc-db): Rename from `calc-dblevel'.
25584 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25585 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25586 (calc-np): Rename from `calc-nplevel'.
25587 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25588 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25589 (calc-lu-plus): Rename from `calc-logunits-add'.
25590 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25591 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25592 (calc-lu-minus): Rename from `calc-logunits-sub'.
25593 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25594 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25595 (calc-lu-times): Rename from `calc-logunits-mul'.
25596 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25597 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25598 (calc-lu-divide): Rename from `calc-logunits-div'.
25599 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25600 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25601
25602 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25603 functions being autoloaded.
25604
25605 * calc/calc.el (calc-lu-power-reference): Rename from
25606 `calc-logunits-power-reference'.
25607 (calc-lu-field-reference): Rename from
25608 `calc-logunits-field-reference'.
25609
25610 * calc/calc-help.el (calc-l-prefix-help):
25611 Mention musical note functions.
25612
25613 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25614
25615 * minibuffer.el (completion-all-sorted-completions):
25616 Use :completion-cycle-penalty text property if present.
25617
25618 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25619
25620 * allout.el (allout-yank-processing): Adjust for new rebulleting
25621 regime so bullet being yanked is used without prompting the user
25622 for a choice.
25623
25624 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25625
25626 * startup.el (command-line): Warn the user that _emacs is deprecated.
25627
25628 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25629
25630 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25631 (delphi-verbose, delphi-comment-face, delphi-string-face)
25632 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25633 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25634 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25635 (delphi-new-comment-line, delphi-font-lock-defaults)
25636 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25637 Fix typos in docstrings.
25638
25639 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25640
25641 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25642 Invert the roles of character and string values for INSTEAD, so a
25643 string is used for the more common case of a defaulting prompt.
25644
25645 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25646
25647 * progmodes/ruby-mode.el (ruby-backward-sexp):
25648 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25649 * play/gamegrid.el (gamegrid-make-face):
25650 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25651 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25652 * notifications.el (notifications-notify):
25653 * net/xesam.el (xesam-search-engines):
25654 * net/quickurl.el (quickurl-list-insert):
25655 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25656
25657 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25658
25659 * startup.el (command-line): Update package subdirectory regexp.
25660
25661 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25662
25663 * allout.el (allout-abbreviate-flattened-numbering)
25664 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25665
25666 * subr.el (read-char-choice): Only show the cursor after the prompt,
25667 not after the answer.
25668
25669 2011-03-15 Kevin Ryde <user42@zip.com.au>
25670
25671 * help-fns.el (variable-at-point): Skip leading quotes, if any
25672 (bug#8253).
25673
25674 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25675
25676 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25677 warning message.
25678
25679 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25680
25681 * shell.el (shell): When called interactively, offer to change the
25682 shell file name on remote hosts.
25683
25684 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25685
25686 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25687 integration for LDAP parameters. The host, base, user or binddn,
25688 and secret tokens can be specified in a netrc file, for instance.
25689 This is optional because an `auth-source' parameter must be
25690 specified in the search attributes.
25691
25692 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25693
25694 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25695
25696 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25697
25698 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25699 into declaration. Remove redundant and harmful binding.
25700
25701 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25702
25703 * files.el (file-ownership-preserved-p): Pass `integer' as an
25704 explicit 2nd argument to `file-attributes'. If the file's owner
25705 is the Administrators group on Windows, and the current user is
25706 Administrator, consider that a match.
25707
25708 * server.el (server-ensure-safe-dir): Consider server directory
25709 safe on MS-Windows if its owner is the Administrators group while
25710 the current Emacs user is Administrator. Use `=' to compare
25711 numerical UIDs, since they could be integers or floats.
25712
25713 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25714
25715 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25716
25717 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25718
25719 Sync with Tramp 2.2.1.
25720
25721 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25722
25723 * net/trampver.el: Update release number.
25724
25725 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25726
25727 * progmodes/compile.el (compilation--previous-directory): Fix up
25728 various nil/dead-marker mismatches (bug#8014).
25729 (compilation-directory-properties, compilation-error-properties):
25730 Don't call it at a position past the one we're about to change.
25731
25732 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25733 Disable obsolescence warnings in the file that declares it.
25734
25735 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25736
25737 * allout-widgets.el (allout-widgets-tally):
25738 Initialize allout-widgets-tally as a hash table rather than nil to
25739 prevent mode-line redisplay warnings. Also, clarify the module
25740 description and fix a comment typo.
25741
25742 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25743
25744 * help-fns.el (describe-variable): Don't complete keywords.
25745 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25746
25747 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25748
25749 * emacs-lisp/package.el (package-version-join): Impose a standard
25750 string representation for pre/alpha/beta version lists.
25751 (package-unpack-single): Standardize the directory name by passing
25752 it through package-version-join.
25753 (package-strip-rcs-id): Accept any version string that does not
25754 signal an error in version-to-list.
25755
25756 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25757
25758 * simple.el (delete-trailing-whitespace): Return nil for the
25759 benefit of `write-file-functions'.
25760
25761 2011-03-10 Glenn Morris <rgm@gnu.org>
25762
25763 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25764
25765 * vc/vc-git.el (vc-git-program): New option.
25766 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25767 (vc-git--call): Use it.
25768
25769 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25770
25771 * cus-edit.el (Custom-newline): If no button at point, look
25772 for a subgroup button at start-of-line. (Bug#2298)
25773
25774 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25775
25776 2011-03-10 Julien Danjou <julien@danjou.info>
25777
25778 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25779 `cursor-type' is nil.
25780
25781 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25782
25783 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25784
25785 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25786
25787 * allout.el: Change so yank of distinctive-bullet items
25788 preserves the existing header prefix, rebulleting it if necessary,
25789 rather than replacing it. This is necessary for proper operation
25790 of cooperative addons like allout-widgets.
25791 (allout-make-topic-prefix, allout-rebullet-heading):
25792 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25793 value as alternate bullet to be used, instead of prompting the user
25794 for a bullet character.
25795
25796 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25797
25798 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25799 Do not use `tramp-file-name-port', because this returns also
25800 `tramp-default-port'.
25801
25802 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25803
25804 * net/rcirc.el (rcirc-handler-001): Remove useless
25805 with-rcirc-process-buffer.
25806 (rcirc-check-auth-status): Swap arguments to string-match.
25807
25808 2011-03-09 Glenn Morris <rgm@gnu.org>
25809
25810 * shell.el (shell-mode):
25811 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25812
25813 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25814 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25815
25816 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25817
25818 * emacs-lisp/package.el (package-refresh-contents)
25819 (package-menu-execute): Use condition-case-no-debug.
25820
25821 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25822
25823 * simple.el (shell-command-to-string): Use `process-file'.
25824
25825 * emacs-lisp/package.el (package-tar-file-info): Handle also
25826 remote files.
25827
25828 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25829 Use `equal' for upload base check.
25830
25831 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25832
25833 * textmodes/texinfo.el (texinfo-environments):
25834 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25835
25836 2011-03-08 Glenn Morris <rgm@gnu.org>
25837
25838 * cus-start.el (cursor-in-non-selected-windows):
25839 Fix :set quoting oddness. (Bug#8192)
25840
25841 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25842 in some setf expressions. (Bug#2159)
25843
25844 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25845
25846 * custom.el (custom-available-themes): Return themes in
25847 alphabetical order.
25848
25849 See ChangeLog.15 for earlier changes.
25850
25851 ;; Local Variables:
25852 ;; coding: utf-8
25853 ;; End:
25854
25855 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25856
25857 This file is part of GNU Emacs.
25858
25859 GNU Emacs is free software: you can redistribute it and/or modify
25860 it under the terms of the GNU General Public License as published by
25861 the Free Software Foundation, either version 3 of the License, or
25862 (at your option) any later version.
25863
25864 GNU Emacs is distributed in the hope that it will be useful,
25865 but WITHOUT ANY WARRANTY; without even the implied warranty of
25866 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25867 GNU General Public License for more details.
25868
25869 You should have received a copy of the GNU General Public License
25870 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.