* lisp/emacs-lisp/trace.el (trace-values): New function.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/trace.el (trace-values): New function.
4
5 * files.el: Allow : in local variables (bug#14089).
6 (hack-local-variable-regexp): New var.
7 (hack-local-variables-prop-line, hack-local-variables): Use it.
8
9 2013-04-13 Roland Winkler <winkler@gnu.org>
10
11 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12 data before it gets modified by bibtex-beginning-of-entry.
13
14 2013-04-13 Roland Winkler <winkler@gnu.org>
15
16 * textmodes/bibtex.el (bibtex-url): Doc fix.
17
18 2013-04-13 Roland Winkler <winkler@gnu.org>
19
20 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
21 does not visit a BibTeX file, exclude it from the list of buffers
22 returned by bibtex-initialize.
23
24 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25
26 * window.el (split-window): Remove interactive form, since as a
27 command this function is a special case of split-window-below.
28 Correct doc string.
29
30 2013-04-12 Roland Winkler <winkler@gnu.org>
31
32 * faces.el (read-face-name): Do not override value of arg default.
33 Allow single faces and strings as default values. Remove those
34 elements from return value that are not faces.
35 (describe-face): Simplify.
36 (face-at-point): New optional args thing and multiple so that this
37 function can provide the same functionality previously provided by
38 read-face-name.
39 (make-face-bold, make-face-unbold, make-face-italic)
40 (make-face-unitalic, make-face-bold-italic, invert-face)
41 (modify-face, read-face-and-attribute): Use face-at-point.
42
43 * cus-edit.el (customize-face, customize-face-other-window)
44 * cus-theme.el (custom-theme-add-face)
45 * face-remap.el (buffer-face-set)
46 * facemenu.el (facemenu-set-face): Use face-at-point.
47
48 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
49
50 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
51
52 2013-04-10 Tassilo Horn <tsdh@gnu.org>
53
54 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
55 off leading { and trailing } from field values.
56
57 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * emacs-lisp/timer.el (timer--check): New function.
60 (timer--time, timer-set-function, timer-event-handler): Use it.
61 (timer-set-idle-time): Simplify.
62 (timer--activate): CSE.
63 (timer-event-handler): Give more info in error message.
64 (internal-timer-start-idle): New function, moved from C.
65
66 * mpc.el (mpc-proc): Add `restart' argument.
67 (mpc-proc-cmd): Use it.
68 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
69 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
70 less often.
71
72 2013-04-10 Masatake YAMATO <yamato@redhat.com>
73
74 * progmodes/sh-script.el: Implement `sh-mode' own
75 `add-log-current-defun-function' (bug#14112).
76 (sh-current-defun-name): New function.
77 (sh-mode): Use the function.
78
79 2013-04-09 Bastien Guerry <bzg@gnu.org>
80
81 * simple.el (choose-completion-string): Fix docstring (bug#14163).
82
83 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
86
87 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
88 timer (bug#14156).
89
90 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
91
92 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
93 declaration.
94
95 2013-04-07 Leo Liu <sdl.web@gmail.com>
96
97 * pcmpl-x.el: New file.
98
99 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
100
101 Do not set x-display-name until X connection is established.
102 This is needed to prevent from weird situation described at
103 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
104 * frame.el (make-frame): Set x-display-name after call to
105 window system initialization function, not before.
106 * term/x-win.el (x-initialize-window-system): Add optional
107 display argument and use it.
108 * term/w32-win.el (w32-initialize-window-system):
109 * term/ns-win.el (ns-initialize-window-system):
110 * term/pc-win.el (msdos-initialize-window-system):
111 Add compatible optional display argument.
112
113 2013-04-06 Eli Zaretskii <eliz@gnu.org>
114
115 * files.el (normal-backup-enable-predicate): On MS-Windows and
116 MS-DOS compare truenames of temporary-file-directory and of the
117 file, so that 8+3 aliases (usually found in $TEMP on Windows)
118 don't fail comparison by compare-strings. Also, compare file
119 names case-insensitively on MS-Windows and MS-DOS.
120
121 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
124 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
125
126 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
127
128 * whitespace.el (whitespace-color-on, whitespace-color-off):
129 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
130
131 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
132
133 * ispell.el (ispell-set-spellchecker-params):
134 Really set `ispell-args' for all equivs.
135
136 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * ido.el (ido-completions): Use extra elements of ido-decorations
139 (bug#14143).
140 (ido-decorations): Update docstring.
141
142 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
143
144 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
145 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
146 nil during initialization, in order not to miss changes since the
147 file was opened. (Bug#14140)
148
149 2013-04-05 Leo Liu <sdl.web@gmail.com>
150
151 * kmacro.el (kmacro-call-macro): Fix bug#14135.
152
153 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
154
155 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
156
157 2013-04-04 Glenn Morris <rgm@gnu.org>
158
159 * electric.el (electric-pair-inhibit-predicate): Add :version.
160
161 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
164 when a package is required several times (bug#14082).
165
166 2013-04-04 Roland Winkler <winkler@gnu.org>
167
168 * faces.el (read-face-name): Behave as promised by the docstring.
169 Assume that arg default is a list of faces.
170 (describe-face): Call read-face-name with list of default faces.
171
172 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
173
174 * bookmark.el: Fix deletion of bookmarks (bug#13972).
175 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
176 (bookmark-bmenu-execute-deletions): Only skip first line if it's
177 the header.
178 (bookmark-exit-hook-internal): Save even if list is empty.
179
180 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
181
182 * emacs-lisp/package.el (package-pinned-packages): New var.
183 (package--add-to-archive-contents): Obey it (bug#14118).
184
185 2013-04-03 Alan Mackenzie <acm@muc.de>
186
187 Handle `parse-partial-sexp' landing inside a comment opener
188 (Bug#13244). Also adapt to the new values of element 7 of a parse
189 state.
190
191 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
192 parameter `not-in-delimiter'. Handle being inside comment opener.
193 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
194 character in case we're typing a '*' after a '/'.
195 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
196 instead by passing the parameter to c-state-pp-to-literal.
197
198 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
199 for elt. 7 of a parse state.
200
201 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
202
203 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
204 * international/latin1-disp.el, international/mule-util.el:
205 * language/cyril-util.el, language/european.el, language/ind-util.el:
206 * language/lao-util.el, language/thai.el, language/tibet-util.el:
207 * language/tibetan.el, language/viet-util.el:
208 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
209
210 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
213 (electric-pair-post-self-insert-function): Use it.
214 (electric-pair-default-inhibit): New function, extracted from
215 electric-pair-post-self-insert-function.
216
217 2013-03-31 Roland Winkler <winkler@gnu.org>
218
219 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
220
221 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
224
225 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
226
227 Un-indent after "pass" and "return" statements (Bug#13888)
228 * progmodes/python.el (python-indent-block-enders): New var.
229 (python-indent-calculate-indentation): Use it.
230
231 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
232
233 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
234 defun. Defining it as defalias could introduce too eager
235 byte-compiler optimization. (Bug#14030)
236
237 2013-03-30 Chong Yidong <cyd@gnu.org>
238
239 * iswitchb.el (iswitchb-read-buffer): Fix typo.
240
241 2013-03-30 Leo Liu <sdl.web@gmail.com>
242
243 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
244 (kmacro-execute-from-register): Pass the keyboard macro to
245 kmacro-call-macro or repeating won't work correctly.
246
247 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
248
249 * progmodes/subword.el: Back to using `forward-symbol'.
250
251 * subr.el (forward-whitespace, forward-symbol)
252 (forward-same-syntax): Move from thingatpt.el.
253
254 2013-03-29 Leo Liu <sdl.web@gmail.com>
255
256 * kmacro.el (kmacro-to-register): New command.
257 (kmacro-execute-from-register): New function.
258 (kmacro-keymap): Bind to 'x'. (Bug#14071)
259
260 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * mpc.el: Use defvar-local and setq-local.
263 (mpc--proc-connect): Connection failures are not bugs.
264 (mpc-mode-map): `follow-link' only applies to the buffer's content.
265 (mpc-volume-map): Bind to the up-events.
266
267 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
268
269 * progmodes/subword.el (superword-mode): Use `forward-sexp'
270 instead of `forward-symbol'.
271
272 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
275 (edebug--recursive-edit): Use it.
276 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
277 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
278
279 2013-03-28 Leo Liu <sdl.web@gmail.com>
280
281 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
282
283 2013-03-27 Eli Zaretskii <eliz@gnu.org>
284
285 * facemenu.el (list-colors-callback): New defvar.
286 (list-colors-redisplay): New function.
287 (list-colors-display): Install list-colors-redisplay as the
288 revert-buffer-function. (Bug#14063)
289
290 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
293 and suffixes don't overlap (bug#14061).
294
295 * case-table.el: Use lexical-binding.
296 (case-table-get-table): New function.
297 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
298
299 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
300
301 * progmodes/subword.el: Add `superword-mode' to do word motion
302 over symbol_words (parallels and leverages `subword-mode' which
303 does word motion inside MixedCaseWords).
304
305 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
306
307 * eshell/em-unix.el: Move su and sudo to...
308 * eshell/em-tramp.el: ...Eshell tramp module
309
310 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
313 Change return value to be a sexp. Delay `get-buffer' to after
314 restoring the desktop (bug#13951).
315
316 2013-03-26 Leo Liu <sdl.web@gmail.com>
317
318 * register.el: Move semantic tag handling back to
319 cedet/semantic/senator.el. (Bug#14052)
320
321 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
324 into the prompt either (bug#13963).
325
326 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
329 part of "(error-foo)".
330
331 2013-03-24 Juri Linkov <juri@jurta.org>
332
333 * replace.el (list-matching-lines-prefix-face): New defcustom.
334 (occur-1): Pass `list-matching-lines-prefix-face' to the function
335 `occur-engine' if `face-differs-from-default-p' returns t.
336 (occur-engine): Add `,' inside backquote construct to evaluate
337 `prefix-face'. Propertize the prefix with the `prefix-face' face.
338 Pass `prefix-face' to the functions `occur-context-lines' and
339 `occur-engine-add-prefix'.
340 (occur-engine-add-prefix, occur-context-lines): Add optional arg
341 `prefix-face' and propertize the prefix with `prefix-face'.
342 (Bug#14017)
343
344 2013-03-24 Leo Liu <sdl.web@gmail.com>
345
346 * nxml/rng-valid.el (rng-validate-while-idle)
347 (rng-validate-quick-while-idle): Guard against deleted buffer.
348 (Bug#13999)
349
350 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
351 is the last entry in kill-buffer-hook.
352
353 * files.el (kill-buffer-hook): Doc fix.
354
355 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
356
357 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
358 Make it safe-local.
359
360 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
361
362 2013-03-23 Leo Liu <sdl.web@gmail.com>
363
364 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
365 Remove.
366
367 * nxml/rng-valid.el (rng-validate-mode)
368 (rng-after-change-function, rng-do-some-validation):
369 * nxml/rng-maint.el (rng-validate-buffer):
370 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
371 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
372 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
373 (nxml-extend-after-change-region): Use with-silent-modifications.
374
375 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
376 timer-idle-list.
377
378 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
379 (rng-next-error-1, rng-previous-error-1): Do not let-bind
380 timer-idle-list. (Bug#13999)
381
382 2013-03-23 Juri Linkov <juri@jurta.org>
383
384 * info.el (info-index-match): New face.
385 (Info-index, Info-apropos-matches): Add a nested subgroup to the
386 main pattern and add text properties with the new face to matches
387 in index entries relative to the beginning of the index entry.
388 (Bug#14015)
389
390 2013-03-21 Eric Ludlam <zappo@gnu.org>
391
392 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
393 Inhibit read only while inserting objects.
394
395 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
396
397 * progmodes/cfengine.el: Update docs to mention
398 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
399 symbol motion. Remove "_" from the word syntax.
400
401 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
402
403 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
404 syntax for both `cfengine2-mode' and `cfengine3-mode'.
405
406 2013-03-20 Juri Linkov <juri@jurta.org>
407
408 * info.el (Info-next-reference-or-link)
409 (Info-prev-reference-or-link): New functions.
410 (Info-next-reference, Info-prev-reference): Use them.
411 (Info-try-follow-nearest-node): Handle footnote navigation.
412 (Info-fontify-node): Fontify footnotes. (Bug#13989)
413
414 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
417 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
418
419 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
420
421 Suppress unnecessary non-ASCII chatter during build process.
422 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
423 (batch-skkdic-convert): Suppress most of the chatter.
424 It's not needed so much now that machines are faster,
425 and its non-ASCII component was confusing; see Dmitry Gutov in
426 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
427
428 2013-03-20 Leo Liu <sdl.web@gmail.com>
429
430 * ido.el (ido-chop): Fix bug#10994.
431
432 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
433
434 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
435 Remove vars.
436 (whitespace-color-on, whitespace-color-off):
437 Use `font-lock-fontify-buffer' (Bug#13817).
438
439 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
442 remapping in mode-line.
443 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
444
445 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
446
447 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
448 value for `whitespace-line' face (Bug#13875).
449 (whitespace-font-lock-keywords): Change description.
450 (whitespace-color-on): Don't save `font-lock-keywords' value, save
451 the constructed keywords instead.
452 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
453
454 2013-03-19 Leo Liu <sdl.web@gmail.com>
455
456 * progmodes/compile.el (compilation-display-error): New command.
457 (compilation-mode-map, compilation-minor-mode-map): Bind it to
458 C-o. (Bug#13992)
459
460 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
461
462 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
463
464 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
465
466 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
467
468 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
469
470 * net/tramp-compat.el (tramp-compat-user-error): New defun.
471
472 * net/tramp-adb.el (tramp-adb-handle-shell-command):
473 * net/tramp-gvfs.el (top):
474 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
475 (tramp-handle-shell-command): Use it.
476 (tramp-dissect-file-name): Raise an error when hostname is a
477 method name, and neither method nor user is specified.
478
479 * net/trampver.el: Update release number.
480
481 2013-03-18 Leo Liu <sdl.web@gmail.com>
482
483 Make sure eldoc can be turned off properly.
484 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
485 eldoc-mode.
486 (eldoc-display-message-p): Revert last change.
487 (eldoc-display-message-no-interference-p)
488 (eldoc-print-current-symbol-info): Tweak.
489
490 2013-03-18 Tassilo Horn <tsdh@gnu.org>
491
492 * doc-view.el (doc-view-new-window-function): Check the new window
493 overlay's display property instead the char property of the
494 buffer's first char. Use `with-selected-window' instead of
495 `save-window-excursion' with `select-window'.
496 (doc-view-document->bitmap): Check the current doc-view overlay's
497 display property instead the char property of the buffer's first char.
498
499 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
500
501 Automate the build of ja-dic.el (Bug#13984).
502 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
503 from the input, rather than assume that it's been done for us by the
504 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
505 the current date into a ja-dic.el comment, as that complicates
506 regression testing.
507
508 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * whitespace.el: Fix double evaluation.
511 (whitespace-space, whitespace-hspace, whitespace-tab)
512 (whitespace-newline, whitespace-trailing, whitespace-line)
513 (whitespace-space-before-tab, whitespace-indentation)
514 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
515 obsolete defvars.
516 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
517 (whitespace-color-on): Use a single font-lock-add-keywords call.
518 Fix double-evaluation of face variables.
519
520 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
521
522 * net/tramp-adb.el (tramp-adb-parse-device-names):
523 Use `start-process' instead of `call-process'. Otherwise, the
524 function might be blocked under MS Windows. (Bug#13299)
525
526 2013-03-17 Leo Liu <sdl.web@gmail.com>
527
528 Extend eldoc to display info in the mode-line. (Bug#13978)
529 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
530 (eldoc-mode-line-string): New variable.
531 (eldoc-minibuffer-message): New function.
532 (eldoc-message-function): New variable.
533 (eldoc-message): Use it.
534 (eldoc-display-message-p)
535 (eldoc-display-message-no-interference-p):
536 Support eldoc-post-insert-mode.
537
538 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
539 (eval-expression): Run it.
540
541 2013-03-17 Roland Winkler <winkler@gnu.org>
542
543 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
544 strings in the list of return values.
545
546 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
547
548 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
549 radix before checking for HMS forms.
550
551 2013-03-16 Leo Liu <sdl.web@gmail.com>
552
553 * progmodes/scheme.el: Add indentation and font-locking for λ.
554 (Bug#13975)
555
556 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
559 token before point (bug#13942).
560
561 2013-03-16 Leo Liu <sdl.web@gmail.com>
562
563 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
564
565 2013-03-16 Eli Zaretskii <eliz@gnu.org>
566
567 * startup.el (command-line-normalize-file-name): Fix handling of
568 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
569 <xfq.free@gmail.com> in
570 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
571
572 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
573
574 Sync with Tramp 2.2.7.
575
576 * net/trampver.el: Update release number.
577
578 2013-03-14 Tassilo Horn <tsdh@gnu.org>
579
580 * doc-view.el Fix bug#13887.
581 (doc-view-insert-image): Don't modify overlay associated to
582 non-live windows, and implement horizontal centering of image in
583 case it's smaller than the window.
584 (doc-view-new-window-function): Force redisplay of new windows on
585 doc-view buffers.
586
587 2013-03-13 Karl Fogel <kfogel@red-bean.com>
588
589 * saveplace.el (save-place-alist-to-file): Don't sort
590 `save-place-alist', just pretty-print it (bug#13882).
591
592 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
593
594 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
595 whether `default-file-name-coding-system' is bound. It isn't in
596 XEmacs.
597
598 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
601 backquotes for `obsolete' (bug#13929).
602
603 * international/mule.el (find-auto-coding): Include file name in
604 obsolescence warning (bug#13922).
605
606 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
607
608 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
609 for CFEngine 3-specific indentation.
610 (cfengine3-indent-line): Use it. Fix up category regex.
611 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
612
613 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * type-break.el (type-break-file-name):
616 * textmodes/remember.el (remember-data-file):
617 * strokes.el (strokes-file):
618 * shadowfile.el (shadow-initialize):
619 * saveplace.el (save-place-file):
620 * ps-bdf.el (bdf-cache-file):
621 * progmodes/idlwave.el (idlwave-config-directory):
622 * net/quickurl.el (quickurl-url-file):
623 * international/kkc.el (kkc-init-file-name):
624 * ido.el (ido-save-directory-list-file):
625 * emulation/viper.el (viper-custom-file-name):
626 * emulation/vip.el (vip-startup-file):
627 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
628 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
629
630 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
631
632 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
633 * language/thai-word.el: Switch to UTF-8.
634
635 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
638
639 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
640
641 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
642 Use with-current-buffer and don't move point.
643 (net-utils-run-simple): Remove useless code.
644 (net-utils-remove-ctl-m): Remove unused custom.
645
646 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
647
648 * international/characters.el (glyphless-set-char-table-range): New fun.
649 (update-glyphless-char-display): Use it (bug#13744).
650
651 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
652
653 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
654 namespaces in the syntax, indent closer for hanging brace
655 correctly, allow single-quote delimited 'strings', and make
656 `cfengine3-mode' the default.
657
658 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
659
660 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
661 Use lexical-binding. Fix up docstring according to conventions.
662 (gdbmi-debug-mode): New var.
663 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
664 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
665 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
666 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
667 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
668 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
669 (gdbmi-bnf-incomplete-record-result): New functions.
670 (gdb-car<): Remove function.
671 (gdbmi-record-list): Remove variable.
672 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
673 (gdbmi-bnf-result-state-configs): New const.
674 (gud-gdbmi-marker-filter): Rewrite.
675 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
676 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
677 Add `token' argument.
678 (gdb-done, gdb-error): New functions.
679 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
680
681 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * term/xterm.el (xterm--report-background-handler): Don't burp
684 upon timeout.
685 (xterm--version-handler): Extract from terminal-init-xterm.
686 (xterm--query): Don't mishandle timeout. Remove debugging messages.
687 Allow multiple handlers.
688 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
689
690 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
691 (xterm--report-background-handler, xterm--query): New functions.
692 (terminal-init-xterm): Use them.
693
694 2013-03-11 Michael R. Mauger <michael@mauger.com>
695
696 * progmodes/sql.el Version 3.2
697 Please note that my address changed to <michael@mauger.com>;
698 the <mmaug@yahoo.com> address remains active.
699 (sql-connection-alist): Updates documentation to fix bug#13715.
700 (sql-connect): Handle missing `sql-connection-alist' correctly.
701 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
702 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
703 property.
704 (sql-default-value): New function.
705 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
706 values were not used.
707 (sql-rename-buffer): Make sure alternate buffer name has no text
708 properties.
709 (sql-input-sender, sql-execute-feature): Fetch variable with
710 `buffer-local-value' rather than `with-current-buffer'.
711 (sql-*): Use #' function syntax consistently.
712 (sql-*): Use message/error/user-error consistently.
713
714 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * xt-mouse.el (xterm-mouse-event-read): Remove.
717 (xterm-mouse--read-event-sequence-1000)
718 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
719
720 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * term/xterm.el (xterm-function-map): Support format used with
723 formatOtherKeys=1 (bug#13839).
724
725 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
726 (with-no-warnings): Use `declare'.
727
728 * whitespace.el (whitespace-enable-predicate): New variable.
729 (whitespace-enable-predicate): Use it.
730
731 * comint.el (comint-send-input, comint-snapshot-last-prompt)
732 (comint-output-filter, comint-update-fence):
733 Use with-silent-modifications.
734
735 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
736
737 * replace.el (occur-read-regexp-defaults-function): New var.
738 (occur-read-regexp-defaults): New defun.
739 (occur-read-primary-args): Propagate above change (bug#13892).
740
741 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * mouse.el (mouse-drag-track): Remove left-over debugging code.
744
745 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
746
747 Major rewrite due to changed D-Bus interface of GVFS 1.14.
748
749 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
750 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
751 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
752 New defconst.
753 (tramp-gvfs-file-name-handler-alist) [directory-files]
754 [directory-files-and-attributes, file-exists-p, file-modes]:
755 Use Tramp default handler.
756 [file-acl, file-selinux-context, process-file, set-file-acl]:
757 [set-file-modes, set-file-selinux-context, shell-command]:
758 [start-file-process]: Remove handler.
759 [verify-visited-file-modtime]: New handler.
760 (tramp-gvfs-dbus-string-to-byte-array)
761 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
762 calls of `dbus-string-to-byte-array' and
763 `tramp-gvfs-dbus-byte-array-to-string'.
764 (tramp-gvfs-handle-copy-file)
765 (tramp-gvfs-handle-delete-directory)
766 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
767 (tramp-gvfs-handle-file-directory-p)
768 (tramp-gvfs-handle-file-executable-p)
769 (tramp-gvfs-handle-file-name-all-completions)
770 (tramp-gvfs-handle-file-readable-p)
771 (tramp-gvfs-handle-file-writable-p)
772 (tramp-gvfs-handle-insert-directory)
773 (tramp-gvfs-handle-insert-file-contents)
774 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
775 (tramp-gvfs-handle-set-visited-file-modtime)
776 (tramp-gvfs-handle-write-region): Rewrite.
777 (tramp-gvfs-handle-file-acl)
778 (tramp-gvfs-handle-file-selinux-context)
779 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
780 (tramp-gvfs-handle-set-file-modes)
781 (tramp-gvfs-handle-set-file-selinux-context)
782 (tramp-gvfs-handle-shell-command)
783 (tramp-gvfs-handle-start-file-process)
784 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
785 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
786 over the symlinks. Fix user handling.
787 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
788 of the D-Bus signals.
789 (tramp-gvfs-connection-mounted-p): Handle different names of the
790 D-Bus methods.
791 (tramp-gvfs-mount-spec-entry): New defun.
792 (tramp-gvfs-mount-spec): Use it.
793 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
794 there is a share name. Handle different names of the D-Bus
795 signals and methods. Set connection properties needed for
796 `tramp-check-cached-permissions'.
797 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
798 Return t or nil.
799
800 * net/tramp.el (tramp-backtrace): Move up.
801 (tramp-error): Dump a backtrace into the debug buffer when
802 `tramp-verbose > 9.
803 (tramp-file-mode-type-map, tramp-file-mode-from-int)
804 (tramp-file-mode-permissions, tramp-get-local-uid)
805 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
806 tramp-sh.el.
807
808 * net/tramp-sh.el (tramp-file-mode-type-map)
809 (tramp-check-cached-permissions, tramp-file-mode-from-int)
810 (tramp-file-mode-permissions, tramp-get-local-uid)
811 (tramp-get-local-gid): Move to tramp.el.
812
813 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 Separate mouse-1-click-follows-link from mouse-drag-region.
816 * mouse.el (mouse--down-1-maybe-follows-link): New function.
817 (key-translation-map): Use it to implement mouse-1-click-follows-link.
818 (mouse-drag-line, mouse-drag-track):
819 Remove mouse-1-click-follows-link code.
820 (mouse--remap-link-click-p): Remove.
821
822 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
823
824 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
825 (hi-lock-read-regexp-defaults): New defun.
826 (hi-lock-line-face-buffer, hi-lock-face-buffer)
827 (hi-lock-face-phrase-buffer): Propagate above change.
828 Update docstring (bug#13892).
829
830 * subr.el (find-tag-default-as-regexp): New defun.
831 * replace.el (read-regexp): Propagate above change.
832
833 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
834
835 * calc/calc-units.el (calc-convert-units): Fix the way that default
836 new units are stored.
837
838 2013-03-07 Matthias Meulien <orontee@gmail.com>
839
840 * bookmark.el: Define a face to highlight bookmark names in
841 bookmark menu buffers, where the default is a bold face similarly
842 to buffer names in buffer menu buffers.
843 (bookmark-menu-bookmark): New face to highlight bookmark names.
844 (bookmark-insert-location): Remove duplicated text property to
845 conform to buffer list (see `list-buffers').
846 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
847 `bookmark-menu-bookmark' to bookmark names.
848
849 2013-03-07 Matthias Meulien <orontee@gmail.com>
850 Karl Fogel <kfogel@red-bean.com>
851
852 * bookmark.el: Display the bookmark list header similarly to the
853 buffer list header (see `list-buffers'), where the default is now
854 an immovable/immutable header line.
855 (bookmark-bmenu-use-header-line): New variable.
856 (bookmark-bmenu-inline-header-height): New name for
857 `bookmark-bmenu-header-height', to avoid confusion with the code
858 for the new immovable header. All references changed.
859 (bookmark-bmenu-set-header): New function.
860 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
861 Conditionalize header construction accordingly.
862 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
863 the inline header height.
864 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
865 Conditionalize the skipping of the inline header height.
866
867 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
868
869 * progmodes/js.el (js--multi-line-declaration-indentation):
870 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
871
872 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
873
874 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
875 Only propertize regexp when not inside a string (Bug#13885).
876
877 2013-03-06 Alan Mackenzie <acm@muc.de>
878
879 Correct the position of point in some line-up functions.
880 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
881 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
882 point at column 0 rather than at a random place in the line.
883
884 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
885
886 * net/tramp-compat.el (tramp-compat-delete-directory):
887 Implement TRASH argument.
888
889 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
890
891 Keep pre-existing highlighting in completion candidates (Bug#13250).
892 * minibuffer.el (completions-first-difference): State that the
893 face is "added" in the docstring.
894 (completions-common-part): Same. And don't inherit from default.
895 (completion-hilit-commonality): Prepend 'completions-common-part
896 and 'completion-first-difference faces to the 'face property,
897 instead of replacing the value(s).
898 (completion--insert-strings): Same with 'completions-annotations face.
899 (completion-hilit-commonality): Use 'face instead of
900 'font-lock-face, because it gets priority if the completion
901 strings already have 'face set.
902
903 2013-03-04 Alan Mackenzie <acm@muc.de>
904
905 Replace `last-command-event' by `last-command-char' in XEmacs.
906 * progmodes/cc-defs.el (c-last-command-char): New macro.
907 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
908 (c-semi&comma-no-newlines-before-nonblanks)
909 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
910 in place of `last-command-event'.
911 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
912 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
913 (c-electric-paren, c-electric-continued-statement): Use the new
914 macro in place of `last-command-event'.
915
916 2013-03-04 Glenn Morris <rgm@gnu.org>
917
918 * files.el (inhibit-local-variables-regexps):
919 Add .diff and .patch. (Bug#13862)
920
921 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
922
923 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
924 whether the "su" command is available on the device.
925
926 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
927
928 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
929 (tramp-adb-handle-process-file): Remove superfluous setting.
930 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
931 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
932 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
933
934 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
937 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
938 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
939 Use dict-key rather than dict-name for the error message.
940
941 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
942
943 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
944 when reverting (bug#13831).
945
946 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
947
948 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
949 Always expand affix-file before storing to protect against changed
950 `default-directory'.
951 (ispell-print-if-debug): Make sure message is printed at the end
952 of the debug buffer.
953
954 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
955
956 * net/tramp.el (tramp-obsolete-methods): New defconst.
957 (tramp-warned-obsolete-methods): New defvar.
958 (tramp-find-method): Check for obsolete methods. Map them to a
959 replacement method if appropriate.
960
961 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
962 Remove methods.
963 (top): Remove completion functions for "scp1", "scp2", "ssh1",
964 "ssh2" and "plink1".
965
966 2013-02-28 Dale Sedivec <dale@codefu.org>
967
968 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
969 Return valid syntax-table property value when converting
970 quotes within text from string syntax to punctuation syntax (bug#13844).
971
972 2013-02-28 Juri Linkov <juri@jurta.org>
973
974 * dired-aux.el (dired-diff): If file at point is a backup file,
975 use its original as the default value, and reverse the order
976 of arguments to the `diff' call. Doc fix. (Bug#13772)
977
978 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
979
980 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
981 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
982
983 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
984
985 Initial support for hunspell dictionaries auto-detection (Bug#13639)
986
987 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
988 Ask hunspell about available and default dictionaries.
989 (ispell-parse-hunspell-affix-file): Extract relevant info from
990 hunspell affix file.
991 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
992 `ispell-dictionary-alist' entry for given dictionary after info
993 provided by `ispell-parse-hunspell-affix-file'.
994 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
995 of parsed hunspell dicts and associated affix files.
996 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
997 of parsed hunspell dicts and associated parameters.
998 (ispell-set-spellchecker-params):
999 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1000 previously done.
1001 (ispell-start-process):
1002 Call `ispell-hunspell-fill-dictionary-entry' for current
1003 dictionary if it is not initialized.
1004
1005 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * imenu.el: Comment nitpicks.
1008
1009 2013-02-28 Sam Steingold <sds@gnu.org>
1010
1011 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1012 See <http://stackoverflow.com/questions/14720205>.
1013
1014 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1015
1016 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1017 (net-utils-mode): Use it.
1018 (net-utils--revert-cmd): New var.
1019 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1020 (traceroute): Use net-utils-run-simple.
1021
1022 2013-02-28 Glenn Morris <rgm@gnu.org>
1023
1024 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1025
1026 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1029 (doc-view-fallback-mode): Remove overlays here.
1030 (doc-view-toggle-display): Instead of here. Don't throw away
1031 image-mode-winprops-alist.
1032 (doc-view-goto-page): Don't mess with hscroll.
1033
1034 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1035
1036 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1037 &optional (bug#13819).
1038
1039 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1040
1041 * net/tramp-adb.el (tramp-adb-parse-device-names)
1042 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1043
1044 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1045
1046 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1047 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1048 defined. POSIX environments fall back to the "C" locale then and
1049 emit a warning, which shall be suppressed.
1050
1051 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1054 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1055
1056 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1059
1060 2013-02-25 Juri Linkov <juri@jurta.org>
1061
1062 * replace.el (read-regexp): Let-bind `default' to the first
1063 element of `defaults' if it's a list, otherwise it should be
1064 a string or nil. Let-bind `suggestions' to `defaults' if it's
1065 a list, otherwise make a list with the string value. Doc fix.
1066 (Bug#13805)
1067
1068 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1069
1070 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1071 that match "\`\.#", to avoid compiling lock files, even if they
1072 are readable (as they are on MS-Windows).
1073
1074 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * files.el (basic-save-buffer): Remove redundant directory-creation.
1077
1078 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1079
1080 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1081 Add option to force `pi' to remain symbolic.
1082 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1083 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1084 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1085 derivatives, when necessary.
1086
1087 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1088
1089 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1090 (ps-mode-octal-region): Use string-make-unibyte.
1091
1092 2013-02-23 Glenn Morris <rgm@gnu.org>
1093
1094 * emulation/viper-cmd.el (viper-submit-report):
1095 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1096 * progmodes/vera-mode.el (vera-mode-help-address):
1097 * textmodes/artist.el (artist-maintainer-address):
1098 * textmodes/reftex.el (reftex-report-bug):
1099 * vc/ediff-util.el (ediff-submit-report):
1100 Add bug-gnu-emacs to bug report address.
1101
1102 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1103 Remove bug report entries.
1104 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1105
1106 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1107 (byte-compile-file, byte-compile-from-buffer):
1108 Use separate input/output buffers for each level of recursive
1109 byte-compile-file calls. (Bug#13787)
1110
1111 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp.el (tramp-methods): Fix docstring.
1114 (tramp-ssh-controlmaster-options): Rename it from
1115 `tramp-ssh-controlmaster-template'. Return a string.
1116 (tramp-default-method): Adapt check for
1117 `tramp-ssh-controlmaster-options'.
1118
1119 * net/tramp-sh.el (tramp-methods):
1120 Replace `tramp-ssh-controlmaster-template' by "%c".
1121 (tramp-do-copy-or-rename-file-out-of-band)
1122 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1123 that it is applied for the first hop only.
1124
1125 2013-02-22 Juri Linkov <juri@jurta.org>
1126
1127 * isearch.el (isearch-lazy-highlight-new-loop):
1128 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1129 to `isearch-other-end' if it is not nil. (Bug#13402)
1130
1131 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1132 to `match-beg'.
1133
1134 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1135 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1136 and `isearch-error' to nil.
1137
1138 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1139
1140 * progmodes/python.el (python-info-current-defun):
1141 Enhance match-data cluttering prevention.
1142
1143 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1146
1147 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1148 Handle multibyte file names.
1149
1150 2013-02-22 Glenn Morris <rgm@gnu.org>
1151
1152 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1153 (sgml-transformation-function): Give it a :set function.
1154 (sgml-tag): Doc fix.
1155
1156 * cmuscheme.el (scheme-buffer):
1157 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1158 * progmodes/tcl.el (inferior-tcl-buffer):
1159 * textmodes/tex-mode.el (tex-command): Doc fixes.
1160
1161 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1162
1163 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1164
1165 2013-02-21 Bastien Guerry <bzg@gnu.org>
1166
1167 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1168
1169 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1170
1171 * progmodes/python.el (python-info-current-defun):
1172 Enhance match-data cluttering prevention.
1173
1174 2013-02-21 Glenn Morris <rgm@gnu.org>
1175
1176 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1177 loaded while outline-regexp is let bound. (Bug#9584)
1178
1179 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1180
1181 * progmodes/python.el (python-info-current-defun): Fix failed
1182 defun name retrieval because of unwanted match-data cluttering.
1183
1184 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1185
1186 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1187 defconst. Apply independent check for ControlPersist.
1188
1189 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1190 temporarily, via "env".
1191
1192 2013-02-21 Glenn Morris <rgm@gnu.org>
1193
1194 * info.el (Info-enable-edit): Remove.
1195 (Info-edit): Disable it rather than using Info-enable.
1196 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1197 (Info-cease-edit): Make editing of Info files obsolete.
1198
1199 * informat.el (Info-tagify):
1200 Handle buffers not visiting files. (Bug#13763)
1201
1202 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1203
1204 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1205
1206 2013-02-21 Glenn Morris <rgm@gnu.org>
1207
1208 * files.el (basic-save-buffer): Move check for existing parent
1209 directory after hooks. (Bug#13773)
1210
1211 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * simple.el (command-execute): Move from C. Add obsolete check.
1214 (extended-command-history): Move from C.
1215
1216 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1217
1218 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1219 (jka-compr-mode-alist-additions): Handle .txz suffix for
1220 XZ-compressed tar archives (bug#13770).
1221
1222 2013-02-20 Bastien Guerry <bzg@gnu.org>
1223
1224 * outline.el (outline-regexp, outline-heading-end-regexp):
1225 Make variables, not options (bug#13731).
1226
1227 2013-02-20 Glenn Morris <rgm@gnu.org>
1228
1229 * image.el (image-current-frame): Change from variable to function.
1230 (image-show-frame): Rename from image-nth-frame. Update callers.
1231 * image-mode.el (image-multi-frame): New variable.
1232 (image-mode-map, image-mode, image-goto-frame):
1233 Use image-multi-frame rather than image-current-frame.
1234 (image-mode, image-goto-frame): Use image-current-frame as
1235 function rather than as variable.
1236
1237 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1238 * emacs-lisp/cl-macs.el (cl--make-type-test)
1239 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1240
1241 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1244 (tramp-get-file-property, tramp-set-file-property)
1245 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1246 (tramp-flush-file-property, tramp-flush-directory-property):
1247 Rename argument to KEY.
1248 (tramp-flush-connection-property): Simplify a little bit.
1249 (tramp-connection-property-p): New defun.
1250 (top): Reapply saved values only if there isn't a corresponding
1251 entry in `tramp-connection-properties'.
1252
1253 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1254
1255 * progmodes/python.el (python-indent-context):
1256 Fix python-info-line-ends-backslash-p call.
1257 (python-info-line-ends-backslash-p)
1258 (python-info-beginning-of-backslash): Respect line-number argument.
1259 (python-info-current-line-comment-p):
1260 Fix behavior when not at beginning-of-line.
1261 (python-util-position): Remove function.
1262 (python-util-goto-line): New function.
1263
1264 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * eshell/em-unix.el (eshell/su): Require tramp.
1267 (eshell/sudo): Require tramp. Remove now unnecessary check.
1268
1269 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1270 `tramp-current-connection' in order to avoid an error when several
1271 commands are invoked in a short time in eshell and friends.
1272
1273 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 Cleanup some of EIEIO's namespace.
1276 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1277 Use it to define all the class-* and object-* field accessors (renamed
1278 to eieio--class-* and eieio--object-*). Update all uses.
1279 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1280 class-num-slots and object-num-slots.
1281 (eieio--check-type): New macro.
1282 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1283 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1284 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1285 (object-assoc-list-safe): Use it.
1286 (eieio-defclass): Tighten regexp.
1287 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1288 Remove unreachable code.
1289 (object-class-fast): Declare obsolete.
1290 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1291 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1292 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1293 Rename from class-name, object-name, object-set-name-string,
1294 object-class, object-class-name, class-parents, class-children,
1295 class-precedence-list, class-parent; with obsolete alias.
1296 (class-of, class-direct-superclasses, class-direct-subclasses):
1297 Declare obsolete.
1298 (eieio-defmethod): Use `memq'; remove unreachable code.
1299 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1300 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1301 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1302
1303
1304 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1305
1306 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1307 commentary.
1308
1309 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1310
1311 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1312 Use font-lock-keyword-face for macros and special forms (bug#8345).
1313
1314 2013-02-17 Didier Verna <didier@didierverna.net>
1315
1316 * net/network-stream.el (network-stream-open-starttls):
1317 Check that response to the starttls-command is non-nil. (Bug#13706)
1318
1319 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1322 Don't assume all identifier chars have syntax word.
1323 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1324 Remove bar-not-symbol. Adjust callers.
1325 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1326
1327 2013-02-17 Leo Liu <sdl.web@gmail.com>
1328
1329 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1330
1331 2013-02-17 Glenn Morris <rgm@gnu.org>
1332
1333 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1334
1335 * image-mode.el (image-mode-map): Add image-dired menu entry.
1336
1337 * image-dired.el (tumme): Make this alias obsolete.
1338
1339 2013-02-16 Glenn Morris <rgm@gnu.org>
1340
1341 * image.el (image-animated-types): Remove.
1342 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1343 (image-animated-p): Make obsolete alias.
1344 (image-animate, image-nth-frame, image-animate-timeout):
1345 Use image-multi-frame-p.
1346 (image-animate-timeout): If no delay, use image-default-frame-delay.
1347 * image-mode.el (image-mode, image-toggle-animation):
1348 Use image-multi-frame-p. (Bug#763, bug#10739)
1349 (image-mode): Adjust startup message for a multi-frame image.
1350
1351 * image-mode.el (image-mode-map): Give it a menu.
1352
1353 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * net/tramp-cache.el (tramp-connection-properties): New customer
1356 option.
1357 (tramp-get-connection-property): Use it.
1358
1359 * net/tramp-compat.el (top): Require 'trampver.
1360
1361 * net/tramp-sh.el (tramp-remote-process-environment):
1362 Set tramp-autoload cookie.
1363
1364 2013-02-16 Kevin Ryde <user42@zip.com.au>
1365
1366 * info-look.el (info-lookup-select-mode): If major-mode has no
1367 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1368
1369 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1370
1371 * replace.el (read-regexp): Tighten the regexp that matches tag.
1372 When tag is retrieved with `find-tag-default', use regexp that
1373 matches tag at point. Also update docstring (Bug#13687).
1374
1375 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1376
1377 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1378 add watch for the file, not its parent directory, since w32notify
1379 sets up the watch for the directory internally. (Bug#13725)
1380
1381 2013-02-16 Glenn Morris <rgm@gnu.org>
1382
1383 * image.el (image-default-frame-delay): New variable.
1384 (image-animated-p): Use image-default-frame-delay.
1385 (image-minimum-frame-delay): New constant.
1386 (image-animate-timeout): Use image-minimum-frame-delay.
1387
1388 * image.el (image-nth-frame): New, split from image-animate-timeout.
1389 (image-animate-timeout): Use image-nth-frame.
1390 * image-mode.el (image-goto-frame, image-next-frame)
1391 (image-previous-frame): New commands.
1392 (image-mode-map): Add new frame commands.
1393
1394 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1395
1396 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1397 If col-desc already has help-echo, use it. (Bug#13563)
1398
1399 2013-02-16 Glenn Morris <rgm@gnu.org>
1400
1401 * image.el (image-current-frame): New variable.
1402 (image-animate-timeout): Set image-current-frame.
1403 * image-mode.el (image-mode): For animated images,
1404 display a frame counter via mode-line-process.
1405
1406 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1407
1408 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1411
1412 2013-02-15 Alan Mackenzie <acm@muc.de>
1413
1414 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1415 global minor mode has been enabled, call the minor mode function
1416 for a new buffer once only, after the major mode hook, whilst
1417 allowing that hook explicitly to disable the minor mode.
1418 (MODE-disable-in-buffer): New (generated) function.
1419 (disable-MODE): New (generated) buffer local variable.
1420
1421 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1422
1423 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1424 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1425 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1426 `ido-next-match' and `ido-prev-match' resply.
1427 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1428 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1429 `icomplete-backward-completions' (Bug#13708).
1430
1431 2013-02-15 Glenn Morris <rgm@gnu.org>
1432
1433 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1434
1435 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1438 (goto-address-fontify-region): Use them instead of narrowing, so
1439 syntax-ppss has access to the whole buffer.
1440
1441 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1442
1443 * progmodes/python.el: Explain how to restore "cc-mode"-like
1444 forward-sexp movement in header documentation (Bug#13642).
1445 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1446 comments and strings (GH bug 114).
1447
1448 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1449
1450 * progmodes/python.el (python-info-current-defun): Fix current
1451 defun detection (Bug#13618).
1452
1453 2013-02-15 Chong Yidong <cyd@gnu.org>
1454
1455 * xml.el (xml-parse-string): Fix typo in handling of bad character
1456 references.
1457
1458 2013-02-15 Glenn Morris <rgm@gnu.org>
1459
1460 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1461
1462 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1463
1464 * net/tramp.el (tramp-debug-message):
1465 Add `tramp-condition-case-unless-debug'.
1466 (tramp-debug-on-error): New defvar.
1467 (tramp-condition-case-unless-debug): New defun.
1468 (tramp-file-name-handler): Use it.
1469
1470 2013-02-14 Juri Linkov <juri@jurta.org>
1471
1472 * info.el (Info-isearch-filter): Treat non-nil values of
1473 `search-invisible' including its default value `open'
1474 like the value `t' to match hidden text. (Bug#13402)
1475
1476 2013-02-14 Glenn Morris <rgm@gnu.org>
1477
1478 * help-fns.el (find-lisp-object-file-name): Give special treatment
1479 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1480
1481 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1482
1483 * net/quickurl.el (quickurl-save-urls):
1484 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1485
1486 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1487
1488 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1489 depth for unfinished percent literal. Not using it in the caller.
1490 (ruby-move-to-block): Jump over multiline literals of all types,
1491 ignoring code-looking contents inside them.
1492 (ruby-add-log-current-method): Improve performance at the expense
1493 of accuracy. `ruby-block-contains-point' is relatively slow, so
1494 only use it for method and singleton class blocks.
1495
1496 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1497
1498 Use ControlMaster where applicable. (Bug#13677)
1499
1500 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1501 replacing `tramp-detect-ssh-controlmaster'.
1502 (tramp-default-method): Use it.
1503
1504 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1505 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1506 arguments.
1507 [scpc, rsyncc]: Remove methods.
1508 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1509 and "ssh2_old".
1510 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1511 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1512
1513 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/package.el (package--initialized): Move before first use.
1516
1517 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1518
1519 * icomplete.el (icomplete-hide-common-prefix): New user option.
1520 (icomplete-first-match): New face.
1521 (icomplete-completions): Correct handling of "complete but not
1522 unique" (Bug#12638).
1523
1524 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1525
1526 * descr-text.el (describe-char): Display the script (bug#13698).
1527
1528 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * tmm.el: Use lexical-binding and current-active-maps.
1531 (tmm-menubar): Use map-keymap and pcase.
1532 (tmm--completion-table): New function.
1533 (tmm-prompt): Use it to fix the menu order.
1534 (tmm-get-keybind): Use current-active-maps.
1535
1536 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1537
1538 Add dired-hide-details-mode. (Bug#6799)
1539
1540 * locate.el (locate-mode): Set parent mode property to dired-mode.
1541
1542 * find-dired.el (find-dired): Call dired-insert-set-properties on
1543 initial information line. Set process mark on end of buffer.
1544 (find-dired-sentinel):
1545 Call dired-insert-set-properties on summary.
1546
1547 * dired.el (dired-hide-details-hide-symlink-targets)
1548 (dired-hide-details-hide-information-lines): New options.
1549 (dired-insert-directory):
1550 Set properties after final treatment of output.
1551 (dired-insert-set-properties):
1552 Set dired-hide-details-* properties.
1553 (dired-mode-map): Bind dired-hide-details-mode.
1554 (dired-mode): Set buffer-invisibility-spec to a list.
1555 (dired-next-line): Skip hidden lines.
1556 (dired-previous-line): Use dired-next-line.
1557 (dired-hide-details-mode): New minor mode.
1558 (dired-hide-details-update-invisibility-spec): New function.
1559
1560 2013-02-13 Glenn Morris <rgm@gnu.org>
1561
1562 * play/yow.el: Move to obsolete/. (Bug#9384)
1563
1564 2013-02-13 Juri Linkov <juri@jurta.org>
1565
1566 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1567 to select `ediff-control-frame' and set input focus correctly on Xfce.
1568 (Bug#12218)
1569
1570 2013-02-13 Juri Linkov <juri@jurta.org>
1571
1572 * image-mode.el (image-mode-map):
1573 * doc-view.el (doc-view-mode-map):
1574 * vc/ediff-util.el (ediff-setup-keymap):
1575 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1576
1577 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1580 performance. Instead of recalculating indentation fully for each
1581 line, sum up indentation depth based only on visited lines.
1582 (ruby-parse-partial): Increase the depth after "do" even when END
1583 is right after it.
1584 (ruby-parse-partial): When END is in the middle of a percent
1585 literal, increase the depth if the delimiter chars belong to the
1586 paren syntax class.
1587
1588 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1589
1590 * play/fortune.el (fortune-compile): Also make the compiled file
1591 if it does not exist at all, not just if it is old. (Bug#5338)
1592
1593 2013-02-13 Glenn Morris <rgm@gnu.org>
1594
1595 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1596
1597 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1598
1599 * lisp/emacs-lisp/package.el (package-menu-execute):
1600 Add optional noquery argument. (Bug#13625)
1601
1602 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1603
1604 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1605 if DIR exists and PARENTS is non-nil.
1606
1607 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1608
1609 * progmodes/js.el (js--multi-line-declaration-indentation):
1610 Silence byte-compiler warning.
1611
1612 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1613
1614 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1615
1616 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1617 only if it doesn't exist.
1618
1619 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1620 Set process marker.
1621
1622 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1623
1624 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1625 UserInstallation when calling soffice to work around LibreOffice
1626 bug 37531.
1627
1628 2013-02-12 Glenn Morris <rgm@gnu.org>
1629
1630 * files.el (basic-save-buffer):
1631 Offer to create a non-existing directory. (Bug#3016)
1632
1633 * calc/calc-graph.el (calc-graph-show-dumb):
1634 * calendar/calendar.el (calendar-mode-map):
1635 * cus-edit.el (custom-mode-map):
1636 * ehelp.el (electric-help-map):
1637 * emulation/vip.el (vip-mode-map):
1638 * epa.el (epa-key-list-mode-map):
1639 * info.el (Info-mode-map):
1640 * mail/rmail.el (rmail-mode-map):
1641 * mail/rmailsum.el (rmail-summary-mode-map):
1642 * man.el (Man-mode-map):
1643 * net/newst-plainview.el (newsticker-mode-map):
1644 * progmodes/cpp.el (cpp-edit-mode-map):
1645 * progmodes/grep.el (grep-mode-map):
1646 * progmodes/idlw-help.el (idlwave-help-mode-map):
1647 * simple.el (special-mode-map):
1648 * startup.el (splash-screen-keymap):
1649 * view.el (view-mode-map):
1650 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1651
1652 2013-02-11 Elias Pipping <pipping@lavabit.com>
1653
1654 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1655 (bug#13679).
1656
1657 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1660
1661 2013-02-11 Glenn Morris <rgm@gnu.org>
1662
1663 * vc/diff.el (diff-use-labels): New variable.
1664 (diff-no-select): Use --label rather than -L, and first
1665 check that it is supported. (Bug#11067)
1666
1667 * files.el (enable-dir-local-variables): New variable.
1668 (hack-dir-local-variables): Respect enable-dir-local-variables.
1669 * tutorial.el (help-with-tutorial):
1670 Ignore directory-local variables. (Bug#11127)
1671
1672 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1673 (vc-svn-global-switches): ... to here. (Bug#13513)
1674
1675 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1676
1677 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1678 Handle "foo (bar, default: xxx): " prompts.
1679
1680 2013-02-10 Chong Yidong <cyd@gnu.org>
1681
1682 * files.el (basic-save-buffer-1): Do not set
1683 buffer-file-coding-system-explicit (Bug#4533).
1684
1685 * mail/emacsbug.el (report-emacs-bug): Change binding of
1686 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1687
1688 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1689
1690 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1691 * calc/calc-units.el (calc-convert-units): Use new variable.
1692
1693 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1694
1695 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1696
1697 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1698 buffer-file-type.
1699
1700 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1701 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1702 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1703 coding-system-for-write instead.
1704
1705 * jka-compr.el (jka-compr-write-region): Don't bind
1706 buffer-file-type.
1707
1708 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1709 buffer-file-type.
1710
1711 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1712 (insert-file-contents-literally): Remove reference to
1713 file-name-buffer-file-type-alist.
1714
1715 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1716 make-obsolete.
1717 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1718 (find-buffer-file-type-coding-system): Remove references to
1719 find-buffer-file-type-match, find-buffer-file-type, and
1720 buffer-file-type.
1721 Don't put find-buffer-file-type-coding-system into
1722 file-coding-system-alist.
1723 (find-file-binary, find-file-text): Bind coding-system-for-read
1724 instead of file-name-buffer-file-type-alist.
1725
1726 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1727
1728 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1729 converter (Bug#13622).
1730 (doc-view-unoconv-program): Make obsolete alias.
1731 (doc-view-odf->pdf-converter-program): New variable.
1732 (doc-view-odf->pdf-converter-function): New variable.
1733 (doc-view-mode-p): Use it.
1734 (doc-view-odf->pdf-converter-unoconv):
1735 Rename from `doc-view-odf->pdf-converter-unoconv'.
1736 (doc-view-odf->pdf-converter-soffice): New function.
1737 (doc-view-convert-current-doc):
1738 Use `doc-view-odf->pdf-converter-function'.
1739
1740 2013-02-09 Chong Yidong <cyd@gnu.org>
1741
1742 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1743 view-echo-area-messages (Bug#13340).
1744
1745 * help.el (view-echo-area-messages): Use display-buffer.
1746
1747 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1748 (Bug#13561).
1749
1750 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1753 Eval body right away, now that we do eager macroexpansion (bug#13605).
1754
1755 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1756 (fundamental-mode): Use run-mode-hooks.
1757
1758 * eshell/esh-proc.el (eshell/kill): Fix last change.
1759 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1760
1761 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1762
1763 * eshell/esh-proc.el (eshell/kill): Rewrite.
1764
1765 * eshell/em-ls.el (show-almost-all): Declare.
1766 (eshell-do-ls): Add support for -A argument.
1767
1768 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1769
1770 * icomplete.el (icomplete-forward-completions)
1771 (icomplete-backward-completions): Handle corner case (bug#13602).
1772
1773 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1774
1775 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1776 be nil. Handle this. (Bug#13636)
1777
1778 2013-02-07 Richard Stallman <rms@gnu.org>
1779
1780 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1781 `save-buffer-coding-system'.
1782
1783 2013-02-07 Alan Mackenzie <acm@muc.de>
1784
1785 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1786 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1787 (c-parse-state-get-strategy): Don't return 'BOD any more.
1788 (c-append-lower-brace-pair-to-state-cache):
1789 Extra parameter HERE instead of narrowing.
1790 Widen to top of buffer before searching backwards for a brace pair.
1791 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1792 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1793 Narrow to parameter HERE, in place of being called narrowed.
1794 (c-remove-stale-state-cache): Extra parameter HERE in place of
1795 narrowing. Check there's an open brace in the cache before
1796 searching for its match.
1797 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1798 (c-parse-state-1): Don't narrow here for 'forward strategy,
1799 instead passing extra parameter HERE to several functions.
1800 Remove 'BOD strategy.
1801
1802 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1803
1804 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1805 used to install the package.
1806
1807 2013-02-06 Glenn Morris <rgm@gnu.org>
1808
1809 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1810 if we can't get user input. (Bug#6567)
1811
1812 * startup.el (command-line): If simple.el is missing,
1813 test and warn about for some possible causes.
1814
1815 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1816
1817 * cus-start.el (all): Add ns-use-native-fullscreen.
1818
1819 2013-02-05 Glenn Morris <rgm@gnu.org>
1820
1821 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1822
1823 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1824 Fix directory creation in fallback case.
1825
1826 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1827
1828 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1829 (vc-update-change-log): Use dolist.
1830
1831 2013-02-04 Chong Yidong <cyd@gnu.org>
1832
1833 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1834 code from ffap.el.
1835 (thing-at-point-beginning-of-url-regexp): New var.
1836 (thing-at-point-uri-schemes): Update list of URI schemes.
1837 (thing-at-point-url-regexp): Variable deleted.
1838 (thing-at-point-markedup-url-regexp): Disallow newlines.
1839 (thing-at-point-newsgroup-regexp)
1840 (thing-at-point-newsgroup-heads)
1841 (thing-at-point-default-mail-uri-scheme): New variables.
1842 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1843 method to find the possible bounds of the URI at point.
1844 New optional argument to find ill-formed URIs.
1845 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1846 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1847 the scheme-adding heuristics from ffap-url-at-point.
1848 (thing-at-point--bounds-of-well-formed-url): New function.
1849 Do parens matching to decide whether to include parens in the URI
1850 (Bug#9153).
1851
1852 * ffap.el: Require thingatpt.
1853 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1854 All URI-valid characters are now recognized (Bug#5673).
1855 (ffap-string-at-point): Use use-region-p.
1856 (ffap-url-regexp): Extra character is handled by thing-at-point.
1857 (ffap-string-at-point-mode-alist): Allow parentheses.
1858 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1859 Convert to aliases; code moved to thingatpt.el.
1860 (ffap-gnus-hook): Use setq-local.
1861
1862 2013-02-04 Glenn Morris <rgm@gnu.org>
1863
1864 * emacs-lisp/ert.el (ert--explain-format-atom):
1865 Don't try to print non-characters as characters. (Bug#13543)
1866
1867 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1868
1869 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1870 (tramp-backtrace): New defun.
1871 (tramp-handle-insert-file-contents): Use `visit' when inserting
1872 the local copy.
1873
1874 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1875 Use `remote-file-name-inhibit-cache'.
1876
1877 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1880 (bug#13614).
1881
1882 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1883 current-load-list (bug#13366).
1884
1885 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1886
1887 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1888 Identify g++ template instantiation trace. (Bug#12287)
1889 (compilation-mode-hook, compilation-start-hook)
1890 (compilation-window-height): Simplify docstrings. (Bug#13379)
1891
1892 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * mouse.el (mouse-drag-track): Always deactivate the mark before
1895 running the final event's command since that command is in charge of
1896 activating the mark if needed (bug#13523).
1897
1898 2013-02-02 Juri Linkov <juri@jurta.org>
1899
1900 * replace.el (perform-replace): Move let-bindings of isearch-*
1901 variables deeper to the loop that searches for the next match.
1902 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1903 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1904 (Bug#13579)
1905
1906 * isearch.el (isearch-search-fun-default): Check for null
1907 first element of isearch-cmds as a precaution when it's used
1908 with inactive isearch.
1909
1910 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1911
1912 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1913 error when buffer in question is narrowed so position 1 is out of
1914 visible part.
1915
1916 2013-02-02 Glenn Morris <rgm@gnu.org>
1917
1918 * textmodes/remember.el (remember-clipboard): Doc fix.
1919
1920 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1923 properties (bug#13179).
1924
1925 2013-02-02 Juri Linkov <juri@jurta.org>
1926
1927 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1928 instead of hard-coded default face `match'. (Bug#9438)
1929
1930 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1931
1932 * vc/vc-arch.el (vc-arch-registered):
1933 * vc/vc-bzr.el (vc-bzr-registered):
1934 * vc/vc-cvs.el (vc-cvs-registered):
1935 * vc/vc-git.el (vc-git-registered):
1936 * vc/vc-hg.el (vc-hg-registered):
1937 * vc/vc-mtn.el (vc-mtn-registered):
1938 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1939 (Bug#13139)
1940
1941 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1942 prefix argument. (Bug#11656)
1943
1944 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1947
1948 2013-02-01 Glenn Morris <rgm@gnu.org>
1949
1950 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1951 if the backend is known not to support it.
1952
1953 * imenu.el (imenu-default-create-index-function):
1954 Tweak infinite loop test to check for forward motion as well as none.
1955
1956 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1957
1958 * net/soap-client.el (soap-invoke): Encode the string for
1959 `url-request-data' as UTF-8.
1960 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1961
1962 2013-02-01 Glenn Morris <rgm@gnu.org>
1963
1964 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1965
1966 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1967
1968 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * net/tramp.el (tramp-tramp-file-p): Comment check for
1971 `string-as-unibyte'. The function does not exist on XEmacs, and
1972 likely we need another approach.
1973
1974 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1975 `tramp-gw-*' variables are bound.
1976
1977 2013-01-31 Glenn Morris <rgm@gnu.org>
1978
1979 * files.el (basic-save-buffer-2): Choose coding system for
1980 writing the file before backing it up, to reduce delay between
1981 backing up and writing the new version. (Bug#13522)
1982
1983 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1984
1985 * simple.el (cycle-spacing): New command.
1986 (just-one-space): Use it.
1987
1988 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1991 (opascal-newline-always-indents): Remove custom.
1992 (opascal-tab, opascal-newline): Remove commands.
1993 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1994 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1995 (opascal-save-match-data): Remove, use save-match-data instead.
1996 (opascal-save-state): Use with-silent-modifications.
1997
1998 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1999 (bug#13585).
2000
2001 2013-01-30 Juri Linkov <juri@jurta.org>
2002
2003 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2004 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2005 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2006
2007 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2010 column if we're just deleting the backslashes.
2011 (makefile-fill-paragraph): Use eolp.
2012
2013 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * autorevert.el (auto-revert-use-notify): Fix docstring.
2016
2017 2013-01-30 Leo Liu <sdl.web@gmail.com>
2018
2019 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2020
2021 2013-01-30 Glenn Morris <rgm@gnu.org>
2022
2023 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2024 unread-command-events twice in some cases. This tries to implement
2025 the 2012-07-26 changes in a different way. (Bug#13560)
2026
2027 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2028
2029 * progmodes/python.el
2030 (python-pdbtrack-comint-output-filter-function): Enhancements on
2031 stacktrace detection. (thanks @gnovak)
2032
2033 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2036 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2037 Use defvar-local.
2038 (jit-lock-register): Use setq-local.
2039
2040 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2041
2042 * calc-units.el (math-default-units-table): Remove initial value.
2043 (calc-convert-units): Treat expressions where all the units cancel as
2044 if they didn't have units.
2045
2046 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2049 (tramp-completion-reread-directory-timeout): Fix type.
2050 (tramp-connection-min-time-diff): New defcustom.
2051
2052 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2053
2054 2013-01-30 Glenn Morris <rgm@gnu.org>
2055
2056 * imenu.el (imenu-default-create-index-function):
2057 Put back a version of the infinite loop test removed 2013-01-23.
2058
2059 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2060
2061 * progmodes/python.el (python-shell-parse-command):
2062 Find python-shell-interpreter with modified environment.
2063
2064 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2067
2068 2013-01-29 Alan Mackenzie <acm@muc.de>
2069
2070 Amend to fontify /regexp/s in actions correctly.
2071 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2072 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2073 are no longer included.
2074 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2075 What used to be these variables without "-line" in the name.
2076 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2077 (c-awk-non-arith-op-bra-re): Now also matches {.
2078 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2079 "return", and "case".
2080 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2081 by /.
2082 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2083 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2084
2085 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2086
2087 * autorevert.el (auto-revert-use-notify):
2088 Use `custom-initialize-default' for initialization. (Bug#13583)
2089
2090 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2091
2092 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2093 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2094 in `tramp-file-name-handler'.
2095 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2096 compatibility.
2097 (tramp-compute-multi-hops): Check, whether
2098 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2099
2100 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2103 (bug#13297).
2104
2105 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2108 checks made superfluous by the \_< operator.
2109 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2110 temporarily) broken indentation.
2111 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2112 Highlight nested constants, too. \_< broke that.
2113
2114 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2115
2116 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2117 instead of "\\b".
2118
2119 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * autorevert.el (auto-revert-handler): Notifications which result
2122 from a saved file shall not be taken into account. (Bug#13557)
2123
2124 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2125
2126 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2127 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2128 (lisp-mode): Pass t for it. (Bug#13556)
2129
2130 2013-01-25 Alan Mackenzie <acm@muc.de>
2131
2132 AWK Mode: Fix indentation bug at top level. Bug #12274.
2133
2134 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2135 just before CASE 5D.
2136
2137 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2138
2139 * net/socks.el (socks-nslookup-host): Use string-to-number.
2140
2141 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * autorevert.el (auto-revert-remote-files)
2144 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2145 (auto-revert-notify-enabled, auto-revert-use-notify)
2146 (auto-revert-notify-watch-descriptor-hash-list)
2147 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2148 (auto-revert-notify-event-descriptor)
2149 (auto-revert-notify-event-action)
2150 (auto-revert-notify-event-file-name): Doc fix.
2151 (global-auto-revert-mode): Reorder checks.
2152 (auto-revert-notify-rm-watch): Respect changed values of
2153 `auto-revert-notify-watch-descriptor-hash-list'.
2154 (auto-revert-notify-add-watch): Check for
2155 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2156 `inotify-add-watch'. Watch `default-directory' instead of
2157 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2158 has a changed meaning now. (Bug#13540)
2159 (auto-revert-notify-handler): Change implementation wrt events
2160 returning from a directory.
2161 (auto-revert-handler): Reorder implementation for checks of remote
2162 files.
2163 (auto-revert-buffers): Fix parentheses error.
2164
2165 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2166
2167 * progmodes/python.el: Enhancements to header documentation about
2168 skeletons. (Bug#5716)
2169
2170 * imenu.el (imenu-default-create-index-function): Remove useless
2171 infinite loop check. (Bug#13438)
2172
2173 2013-01-25 Alan Mackenzie <acm@muc.de>
2174
2175 Fix a bug in the state cache mechanism. Refactor this a bit.
2176
2177 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2178 `cache-pos' element from the return value.
2179 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2180 buffer to enable proper searching from beyond HERE. Amend the
2181 test for detecting the sought brace pair. Amend the value written
2182 to the "brace desert cache" when the brace isn't found.
2183 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2184 and several other variables analogously.
2185 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2186 parameter to a locally calculated variable.
2187 (c-parse-state-1): Change the calling conventions to the two
2188 defuns involving `cache-pos'.
2189
2190 2013-01-25 Chong Yidong <cyd@gnu.org>
2191
2192 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2193
2194 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2195
2196 * paren.el (show-paren-function): Make sure to set 'priority and
2197 'face only if the overlay does exist.
2198
2199 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2200
2201 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2202
2203 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2204 basic attributes.
2205 (tramp-sh-handle-set-file-acl): Improve error checking.
2206
2207 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2208
2209 * doc-view.el (doc-view-display): Force mode line update until all
2210 document is converted. Suggested by Stefan Monnier (Bug#13164).
2211
2212 2013-01-23 Bastien Guerry <bzg@gnu.org>
2213
2214 * paren.el (show-paren-function): Make sure an overlay exists
2215 before trying to delete it. Also use `pos' as a position only
2216 when it is an integer.
2217
2218 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2219
2220 * play/gametree.el (gametree-break-line-here): Use point-marker.
2221
2222 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2225 Mark descriptive parts with `display' property.
2226
2227 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2228
2229 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2230 New variable to map standard dict names to hunspell ones.
2231 (ispell-set-spellchecker-params): Make sure specific dict names
2232 are used for standard dicts with hunspell.
2233
2234 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2235
2236 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2237 chars for note (%N) and url (%U).
2238 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2239
2240 2013-01-21 Juri Linkov <juri@jurta.org>
2241
2242 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2243 in addition to existing separate binding `meta f10' in `global-map'.
2244 (Bug#13484)
2245
2246 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2247
2248 Improve XEmacs compatibility.
2249
2250 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2251
2252 * net/tramp-adb.el (top): Require `time-date'.
2253 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2254 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2255 Use `tramp-file-name-handler'.
2256 (tramp-adb-maybe-open-connection):
2257 Use `tramp-compat-set-process-query-on-exit-flag'.
2258
2259 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2260 Use `tramp-compat-funcall'.
2261
2262 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2263 `tramp-compat-funcall'.
2264
2265 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2266
2267 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2268 reimplementation using "adb shell command ..." instead of running
2269 remote shell interactively.
2270
2271 2013-01-20 Glenn Morris <rgm@gnu.org>
2272
2273 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2274 Add native profiler menu entries.
2275
2276 * profiler.el (profiler-running-p): New function.
2277 (profiler-cpu-profile): Use profiler-running-p.
2278 (profiler-report-mode-map): Add some more menu entries.
2279
2280 2013-01-19 Glenn Morris <rgm@gnu.org>
2281
2282 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2283 fixes 2012-12-07 change. (Bug#13499)
2284
2285 2013-01-19 Leo Liu <sdl.web@gmail.com>
2286
2287 * dired.el (dired-get-marked-files): Prune erroneous values due to
2288 last change. (Bug#13152)
2289
2290 2013-01-19 Glenn Morris <rgm@gnu.org>
2291
2292 * progmodes/etags.el (tags-table-check-computed-list):
2293 Preserve point in tags buffer. (Bug#13412)
2294
2295 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2296
2297 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2298 Chong Yidong <cyd@gnu.org>
2299
2300 * image-mode.el (image-next-file, image-previous-file):
2301 New commands (Bug#8453).
2302 (image-mode-map): Bind them to n and p.
2303 (image-mode--images-in-directory): New helper function.
2304
2305 2013-01-19 Chong Yidong <cyd@gnu.org>
2306
2307 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2308 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2309 save and restore the old window configuration.
2310
2311 2013-01-18 Leo Liu <sdl.web@gmail.com>
2312
2313 * progmodes/js.el: Tweak autoload cookie for alias.
2314
2315 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2316
2317 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2318 buffer local, again. This was lost with the fix on 2013-01-12.
2319
2320 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2321
2322 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2323 order to support several eshell buffers in parallel.
2324
2325 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2326
2327 * autorevert.el (auto-revert-use-notify): In the :set function, do
2328 not modify `kill-buffer-hook'.
2329 (auto-revert-notify-rm-watch):
2330 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2331 (auto-revert-notify-add-watch): Do not call
2332 `auto-revert-notify-rm-watch', but add it to a buffer local
2333 `kill-buffer-hook'.
2334
2335 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2338 call to `eval' rather than a backquoted lambda.
2339
2340 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2343 to return an explicit nil.
2344 (advice--remove-function): Change accordingly.
2345
2346 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2347 the use of nadvice.el.
2348
2349 * progmodes/which-func.el (which-function): Silence imenu errors
2350 (bug#13433).
2351
2352 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2353
2354 * progmodes/sql.el: (sql-imenu-generic-expression):
2355 (sql-mode-font-lock-object-name): Match schema qualified names.
2356 (sql-connect): Use string keys.
2357 (sql-product-interactive): Wait for interpreter prompt.
2358 (sql-comint-oracle): Set process coding based on NLS_LANG.
2359
2360 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2361
2362 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2363 (sql-interactive-remove-continuation-prompt):
2364 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2365
2366 2013-01-14 Leo Liu <sdl.web@gmail.com>
2367
2368 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2369 (Bug#13420)
2370
2371 2013-01-14 Glenn Morris <rgm@gnu.org>
2372
2373 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2374 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2375
2376 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2377
2378 * progmodes/python.el (python-nav-end-of-statement):
2379 Fix cornercase when handling multiline strings.
2380
2381 2013-01-13 Richard Stallman <rms@gnu.org>
2382
2383 * mail/sendmail.el (mail-position-on-field): Add doc string.
2384
2385 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2386 Get current message boundaries and pass them to
2387 message-forward-make-body-mime. Minor style changes.
2388
2389 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2390
2391 * cus-start.el (all): Avoid warnings about
2392 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2393
2394 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2395
2396 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2397
2398 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2401 (jit-lock--debug-fontifying): New var.
2402 (jit-lock--debug-fontify): New function.
2403 * subr.el (condition-case-unless-debug): Don't prevent catching the
2404 error, just let the debbugger run.
2405 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2406 timer code and don't drop errors silently.
2407
2408 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2411 `permanent-local' property.
2412 (auto-revert-notify-handler): Use `file-equal-p'.
2413
2414 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2415
2416 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2417 file notification by ACTION. For filtering by file name, compare
2418 only the non-directory part of the file name.
2419
2420 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * autorevert.el: Use cl-lib instead of cl.
2423
2424 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2425 (vc-bzr-checkin): Use it.
2426 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2427 will preserve match-data.
2428
2429 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2430
2431 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2432 (js--declaration-keyword-re): New var.
2433 (js--multi-line-declaration-indentation): New function.
2434 (js--proper-indentation): Use it.
2435
2436 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2437
2438 * calc/calc.el (calc-highlight-selections-with-faces)
2439 (calc-dispatch):
2440 * comint.el (comint-history-isearch-message):
2441 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2442 * ffap.el (ffap-string-at-point-region, ffap-next)
2443 (ffap-string-at-point, ffap-string-around)
2444 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2445 (ffap-literally):
2446 * font-lock.el (font-lock-keywords-alist)
2447 (font-lock-removed-keywords-alist):
2448 * help-mode.el (help-xref-symbol-regexp):
2449 * info.el (Info-find-emacs-command-nodes):
2450 * international/mule.el (add-to-coding-system-list):
2451 * isearch.el (isearch-message-function, isearch-fail-pos):
2452 * misearch.el (multi-isearch-next-buffer-function):
2453 * newcomment.el (comment-box):
2454 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2455 (pr-setting-database):
2456 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2457 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2458 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2459 (pike-font-lock-keywords-3):
2460 * progmodes/compile.el (compile):
2461 * progmodes/etags.el (tags-table-files)
2462 (tags-table-files-function, tags-included-tables-function):
2463 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2464 (gdb-restore-windows):
2465 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2466 (ps-n-up-filling-database):
2467 * server.el (server-buffer, server-log):
2468 * simple.el (newline, delete-backward-char, delete-forward-char)
2469 (minibuffer-history-isearch-message, kill-line, track-eol)
2470 (temporary-goal-column):
2471 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2472 (flyspell-default-deplacement-commands):
2473 * textmodes/ispell.el (ispell-accept-output):
2474 * textmodes/sgml-mode.el (html-tag-help):
2475 * vc/compare-w.el (compare-ignore-whitespace)
2476 (compare-ignore-case, compare-windows-dehighlight):
2477 * vc/diff.el (diff):
2478 * whitespace.el (whitespace-point)
2479 (whitespace-font-lock-refontify, whitespace-bob-marker)
2480 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2481
2482 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2485 (auto-revert-notify-rm-watch): Ignore errors.
2486 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2487 inotify, and '(size last-write-time) for w32notify.
2488 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2489 watch fails - this is a fallback to the file modification check.
2490 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2491 (auto-revert-notify-event-action)
2492 (auto-revert-notify-event-file-name): New defuns.
2493 (auto-revert-notify-handler): Use them. Implement first
2494 plausibility checks.
2495 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2496
2497 2013-01-11 Julien Danjou <julien@danjou.info>
2498
2499 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2500 max are almost equal. Also return the correct value for V which is
2501 already between 0 and 1.
2502
2503 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2504
2505 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2506
2507 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2508
2509 * autorevert.el (auto-revert-notify-rm-watch)
2510 (auto-revert-notify-add-watch): Fix typos in w32notify function
2511 names.
2512
2513 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2514
2515 * autorevert.el (auto-revert-notify-enabled): Move up.
2516 (auto-revert-use-notify): New defcustom.
2517 (auto-revert-mode, global-auto-revert-mode)
2518 (auto-revert-notify-add-watch, auto-revert-handler)
2519 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2520 `auto-revert-notify-enabled'.
2521
2522 2013-01-10 Elias Pipping <pipping@exherbo.org>
2523
2524 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2525 * doc-view.el (doc-view-document->bitmap):
2526 Use doc-view-single-page-converter-function instead of
2527 single-page-converter arg; adjust callers.
2528
2529 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2530
2531 * progmodes/which-func.el (which-function): Understand Semantic's use
2532 of overlays in imenu--index-alist.
2533
2534 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2535
2536 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2537 (Man-man-k-use-anchor): New var.
2538 (Man-parse-man-k): New function.
2539 (Man-completion-table): Use it.
2540 (man): Flush the completion cache between uses.
2541
2542 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2543
2544 * autorevert.el: Add file watch support.
2545 (auto-revert-notify-enabled): New defconst.
2546 (auto-revert-notify-watch-descriptor-hash-list)
2547 (auto-revert-notify-watch-descriptor)
2548 (auto-revert-notify-modified-p): New defvars.
2549 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2550 (auto-revert-notify-handler): New defuns.
2551 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2552 when mode is disabled.
2553 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2554 (auto-revert-buffers): Add file watches for active buffers.
2555
2556 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2557
2558 * cus-start.el (toplevel): Only allow float values for
2559 scroll-up-aggressively and scroll-down-aggressively.
2560 Allow any number for line-spacing.
2561
2562 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2565 (doc-view-pdf->png-converter-function): Use mupdf if available.
2566 (doc-view-djvu->png-converter-function)
2567 (doc-view-ps->png-converter-function): Remove.
2568 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2569 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2570 (doc-view-already-converted-p): Adjust accordingly.
2571 (doc-view-mode-p): Simplify.
2572 (doc-view-enlarge): Use setq-local.
2573 (doc-view-pdf->png-converter-ghostscript)
2574 (doc-view-djvu->png-converter-ddjvu)
2575 (doc-view-pdf->png-converter-mupdf): Rework to call
2576 doc-view-start-process directly.
2577 (doc-view-pdf/ps->png): Simplify accordingly.
2578 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2579 (doc-view-document->bitmap): Rename from doc-view-document->png.
2580 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2581 (doc-view-set-slice-from-bounding-box): Fix completion table.
2582 (doc-view-mode): Use add-hook for after-revert-hook.
2583
2584 2013-01-10 Glenn Morris <rgm@gnu.org>
2585
2586 * emacs-lisp/authors.el (authors-ignored-files)
2587 (authors-valid-file-names, authors-renamed-files-alist):
2588 Add some more entries.
2589
2590 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2593 `t' pseudo-window entry.
2594
2595 2013-01-10 Alan Mackenzie <acm@muc.de>
2596
2597 Fix bugs in the c-parse-state mechanism. Reuse some markers
2598 instead of continually generating new ones.
2599
2600 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2601 (c-state-old-cpp-end-marker): New variables.
2602 (c-append-lower-brace-pair-to-state-cache): Start a backward
2603 search for "}" definitively outside CPP constructs.
2604 (c-remove-stale-state-cache): Inform the caller of a need to
2605 search back for a brace pair in certain circumstances.
2606 (c-state-maybe-marker): New macro.
2607 (c-parse-state): Reuse markers when appropriate.
2608
2609 2013-01-10 Glenn Morris <rgm@gnu.org>
2610
2611 * simple.el (execute-extended-command): Doc fix.
2612 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2613
2614 2013-01-10 Chong Yidong <cyd@gnu.org>
2615
2616 * faces.el (read-face-name): Doc fix.
2617
2618 2013-01-10 Roland Winkler <winkler@gnu.org>
2619
2620 * emacs-lisp/crm.el: Allow any regexp for separators.
2621 (crm-default-separator): All spaces around the default comma separator.
2622 (crm--completion-command): New macro.
2623 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2624 (crm-complete-and-exit): Handle non-single-char separators.
2625
2626 2013-01-09 Elias Pipping <pipping@lavabit.com>
2627
2628 * doc-view.el: Add support for DjVu (bug#13164).
2629 (doc-view-djvu->png-converter-function): New config var.
2630 (doc-view-single-page-converter-function, doc-view--image-type)
2631 (doc-view--image-file-extension): New vars.
2632 (doc-view-mode): Initialize them.
2633 (doc-view-goto-page): Use them.
2634 (doc-view-mode-p): Add support for ddjvu.
2635 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2636 (doc-view-set-up-single-converter): New funs.
2637 (doc-view-pdf/ps->png): Extend for djvu.
2638 (doc-view-document->png): Rename from doc-view-pdf->png.
2639 (doc-view-convert-current-doc): Handle djvu.
2640 (doc-view-insert-image, doc-view-display)
2641 (doc-view-already-converted-p): Don't hardcode png.
2642 (doc-view-set-doc-type): Recognize djvu docs.
2643
2644 2013-01-09 Elias Pipping <pipping@lavabit.com>
2645
2646 * doc-view.el: Add support for mupdf converter (bug#13164).
2647 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2648 (doc-view-ps->png-converter-function): New config vars.
2649 (doc-view-pdf->png-converter-ghostscript)
2650 (doc-view-ps->png-converter-ghostscript)
2651 (doc-view-pdf->png-converter-mupdf): New functions.
2652 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2653
2654 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2655
2656 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2657 first in session cache: When `tramp-own-remote-path' is in
2658 `tramp-remote-path', the remote path is only set in the session
2659 cache.
2660
2661 2013-01-09 Glenn Morris <rgm@gnu.org>
2662
2663 * emacs-lisp/trace.el (trace-function-foreground)
2664 (trace-function-background): Doc fix.
2665
2666 2013-01-09 Juri Linkov <juri@jurta.org>
2667
2668 * international/mule-cmds.el (read-char-by-name): Move let-binding
2669 of completion-ignore-case around completing-read to fix regression
2670 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2671 `string-match-p' using the nil value of `case-fold-search' and
2672 `completion-ignore-case' in `completion-pcm--all-completions'.
2673 (Bug#12615).
2674
2675 2013-01-09 Glenn Morris <rgm@gnu.org>
2676
2677 * progmodes/compile.el (compilation-parse-errors):
2678 Fix typo. (Bug#13369)
2679
2680 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2681
2682 * comint.el (comint-send-input): Check size of buffer before
2683 waiting for process output, in case already accepted. (Bug#13290)
2684
2685 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2686
2687 Spelling fixes.
2688 * net/tramp-adb.el (tramp-adb-get-toolbox):
2689 Fix misspelling of 'unknown'.
2690
2691 2013-01-08 Juri Linkov <juri@jurta.org>
2692
2693 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2694 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2695 Use underline style wave on terminals that support it. (Bug#13000)
2696
2697 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2700 the predicate returns nil.
2701
2702 * simple.el: Use lexical-binding.
2703 (primitive-undo): Use pcase.
2704 (minibuffer-history-isearch-push-state): Use a closure.
2705
2706 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2707
2708 * simple.el (primitive-undo): Move from undo.c.
2709
2710 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2713 (cvs-mode-remove-handled): Use it (bug#13380).
2714
2715 * emacs-lisp/nadvice.el (advice--tweak): New function.
2716 (advice--remove-function, advice--subst-main): Use it.
2717
2718 * emacs-lisp/advice.el: Update commentary.
2719
2720 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2721
2722 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2723 Remove spurious entry.
2724
2725 2013-01-08 Glenn Morris <rgm@gnu.org>
2726
2727 * net/tramp.el (tramp-default-host-alist): Add :version.
2728
2729 2013-01-08 Juri Linkov <juri@jurta.org>
2730
2731 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2732 single completion. (Bug#12456)
2733 (info--manual-names): Expand node completions into an explicit list
2734 before appending it to another list. Filter out internal buffers
2735 with the leading space in the buffer name. (Bug#10771)
2736
2737 2013-01-08 Juri Linkov <juri@jurta.org>
2738
2739 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2740 that defaults to the Top node.
2741 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2742 the short format (FILENAME) goes to the Top node.
2743 (Info-build-node-completions): Rename arg `file' to `filename'.
2744 (Bug#13365)
2745
2746 2013-01-07 Bastien Guerry <bzg@gnu.org>
2747
2748 * menu-bar.el (menu-bar-search-documentation-menu):
2749 Use `apropos-user-option' and fix the help message.
2750
2751 2013-01-07 Bastien Guerry <bzg@gnu.org>
2752
2753 * apropos.el (apropos-do-all): Update docstring.
2754 (apropos-user-option-button): New face.
2755 (apropos-user-option): Rename from `apropos-variable' and update
2756 docstring.
2757 (apropos-variable): Rewrite, now show all variables by default.
2758 (apropos-print): Mention "User option" instead of "Variable" when
2759 printing doc for user options. (Bug#13276)
2760
2761 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2762
2763 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2764 Handle filename correctly, when parsing "source -> target" symlink
2765 output.
2766 (tramp-adb-handle-set-file-times): New defun.
2767
2768 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2771 advice list when the interactive-spec of ad-Advice-* changes.
2772
2773 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2774
2775 * wid-edit.el (widget-default-get): Work for inlined elements.
2776 (Bug#12670)
2777
2778 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * net/tramp.el (tramp-default-host-alist): New defcustom.
2781 (tramp-find-host): Use it.
2782 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2783 `eshell-directory-change-hook'.
2784
2785 * net/tramp-adb.el (top): Add adb specific entry in
2786 `tramp-default-host-alist'.
2787 (tramp-adb-file-name-host): Remove function.
2788 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2789 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2790
2791 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2792
2793 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2794
2795 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2796
2797 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2798
2799 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2800 consist of more than one digit.
2801 (tramp-adb-file-name-handler-alist):
2802 Use `tramp-handle-file-exists-p' consistently.
2803 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2804 (tramp-adb-handle-file-exists-p): Remove function.
2805 (tramp-adb-file-name-host): New defun.
2806 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2807 Use it.
2808 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2809
2810 2013-01-06 Chong Yidong <cyd@gnu.org>
2811
2812 * vc/vc.el (vc-next-action): Detect buffer modifications
2813 conflicting with locking VCS operation (Bug#11490).
2814
2815 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2816
2817 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2818
2819 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2820 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2821
2822 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2823
2824 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2825 parsing of ls output using regular expression (handle filenames
2826 with spaces). Use virtual device number.
2827 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2828 cleanup).
2829
2830 2013-01-04 Daiki Ueno <ueno@gnu.org>
2831
2832 * epg.el: Silence byte-compiler warnings.
2833 (epg--start): Use delete-char instead of delete-backward-char.
2834 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2835
2836 2013-01-04 Daiki Ueno <ueno@gnu.org>
2837
2838 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2839 Suggested by Eli Zaretskii <eliz@gnu.org>.
2840
2841 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2842
2843 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2844 non-negative integers. Otherwise, the default values are used.
2845 (tramp-convert-file-attributes): Convert uid and gid to integers.
2846
2847 2013-01-04 Glenn Morris <rgm@gnu.org>
2848
2849 * term.el (term-handle-colors-array): Ensure face attributes
2850 are fully specified, not nil. (Bug#13337)
2851
2852 * term.el (term-default-fg-color, term-default-bg-color):
2853 Fix custom type.
2854
2855 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2856 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2857 rather than 'jka-compr being loaded. (Bug#13338)
2858
2859 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2860
2861 * icomplete.el (icomplete-completions):
2862 Honor icomplete-prospects-height once more following
2863 2012-11-29 changes. (Bug#13224)
2864
2865 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2868 of called-interactively-p as well (bug#13237).
2869
2870 * view.el (view--enable, view--disable): Rename from view-mode-enable
2871 and view-mode-disable and assume it's called from view-mode.
2872 (view-mode-enable, view-mode-disable): Redefine as obsolete
2873 compatibility layer above view-mode.
2874 (view-mode-enter): Call `view-mode'.
2875
2876 * files.el (after-find-file): Call `view-mode'.
2877
2878 * doc-view.el (doc-view-scale-internally): New var.
2879 (doc-view-enlarge, doc-view-insert-image): Obey it.
2880
2881 2013-01-03 Daiki Ueno <ueno@gnu.org>
2882
2883 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2884 exist. (Bug#13344)
2885
2886 2013-01-03 Glenn Morris <rgm@gnu.org>
2887
2888 * mail/rmail.el (rmail-set-header-1): Ignore case.
2889 Handle multi-line headers. (Bug#13330)
2890
2891 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2892 Handle paragraph starting at beginning of buffer.
2893
2894 * subr.el (eval-after-load): Don't purecopy the form, so that it
2895 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2896
2897 * emacs-lisp/byte-run.el (defun): Place cl declarations
2898 after any interactive spec. (Bug#13265)
2899
2900 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2901
2902 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2903 defun. Don't check for DECL if DOCSTRING isn't a string.
2904 (defun): Likewise.
2905
2906 2013-01-02 Glenn Morris <rgm@gnu.org>
2907
2908 * eshell/em-cmpl.el (eshell-pcomplete):
2909 More thoroughly imitate pcomplete. (Bug#13293)
2910
2911 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2912 Return nil for empty path elements. (Bug#13296)
2913
2914 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2915
2916 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2917 order to improve efficiency (Based on Daniel Colascione's
2918 <dancol@dancol.org> patch). (Bug#13182)
2919
2920 2013-01-02 Glenn Morris <rgm@gnu.org>
2921
2922 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2923
2924 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2925
2926 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2927 neither DOCSTRING nor DECL was given. (Bug#13316)
2928
2929 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2932 `error' call.
2933 (tramp-do-copy-or-rename-file): Ignore errors when calling
2934 `set-file-extended-attributes'.
2935
2936 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2937 Add handler for `file-acl'.
2938 (tramp-smb-handle-file-acl): New defun.
2939
2940 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2941
2942 * calc/README: Mention ISO 8601 week-numbering dates.
2943
2944 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2945
2946 * view.el (view-mode-enable): New argument run-view-mode-hook.
2947 Run view-mode-hook only when it's non-nil (Bug#13315).
2948 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2949 argument t.
2950
2951 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2952
2953 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2954 (No device connected, invalid device name). (Bug #13299)
2955
2956 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2957
2958 * window.el (window-resizable--p): Rename to window-resizable-p.
2959 (window-resize-no-error): New function.
2960
2961 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2962 broken in fix from 2012-12-28.
2963
2964 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * subr.el (special-form-p): Don't signal errors on undef aliases.
2967
2968 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2969
2970 * calc/calc-forms.el (math-parse-date): Try using
2971 `math-parse-iso-date' when it looks like it might be needed.
2972 Allow times of 24:00.
2973 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2974 of 24:00.
2975
2976 2012-12-30 Glenn Morris <rgm@gnu.org>
2977
2978 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2979 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2980 (rmail-summary-displayed, rmail-summary): Declare.
2981 (mairix-rmail-display): Just require rmail.
2982
2983 2012-12-30 Chong Yidong <cyd@gnu.org>
2984
2985 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2986 check for the tarball contents.
2987
2988 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2989
2990 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2991 tarfile content listings (Bug#13136).
2992
2993 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2994
2995 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2996 Insert the undecoded text of the message being forwarded. (Bug#9521)
2997
2998 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2999
3000 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3001 integers, if they are real numbers. (Bug#13282)
3002
3003 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3004 Return `t' on success.
3005
3006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3007 Add handler for `set-file-selinux-context'.
3008
3009 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3010
3011 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3012 (tramp-sh-handle-set-file-acl): Return `t' on success.
3013
3014 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3015
3016 * files.el (backup-buffer-copy, basic-save-buffer-2):
3017 If set-file-extended-attributes fails, fall back on set-file-modes
3018 instead of signaling an error. (Bug#13298)
3019 (basic-save-buffer): Likewise.
3020
3021 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3022
3023 * progmodes/python.el: Support other commands triggering
3024 python-indent-line so indentation cycling continues to work.
3025 (python-indent-trigger-commands): New defcustom.
3026 (python-indent-line): Use it.
3027
3028 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3029
3030 * progmodes/python.el (python-shell-send-region): Add blank lines
3031 for non sent code so backtraces remain correct.
3032
3033 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3034
3035 * progmodes/python.el: Remove cl dependency.
3036 (python-syntax-count-quotes): Replace incf call.
3037 (python-fill-string): Replace setf call.
3038
3039 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3040
3041 * info.el (info-other-window): New arg, for consistency with info.
3042
3043 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3044
3045 * mail/rmail.el (rmail-maybe-display-summary):
3046 Rewrite (Bug#13066).
3047
3048 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3049
3050 * epg.el (epg--start): Modify process-environment locally.
3051
3052 2012-12-28 Daiki Ueno <ueno@gnu.org>
3053
3054 * epg.el: Support pinentry-curses.
3055 Suggested by Werner Koch in
3056 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3057 (epg-agent-file, epg-agent-mtime): New variable.
3058 (epg--start): Record the modified time of gpg-agent socket file,
3059 to restore Emacs frame after pinentry-curses termination.
3060 (epg-wait-for-completion): Restore Emacs frame here.
3061
3062 2012-12-27 Juri Linkov <juri@jurta.org>
3063
3064 * info.el (Info-file-completions): New variable.
3065 (Info-read-node-name-1): Complete node names in the Info file
3066 when a file name is given. Call `Info-build-node-completions'
3067 with a file name.
3068 (Info-build-node-completions): Add new arg `file'. When it is
3069 non-nil, visit it in a temporary buffer and cache its completions in
3070 `Info-current-file-completions'. Move most of the function body to
3071 `Info-build-node-completions-1'.
3072 (Info-build-node-completions-1): New function with the body from
3073 `Info-build-node-completions'. (Bug#12456)
3074
3075 2012-12-27 Juri Linkov <juri@jurta.org>
3076
3077 * frame.el (frame-maximization-style): Remove user option.
3078 (cycle-frame-maximized): Remove function.
3079 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3080 (toggle-frame-fullscreen): New command bound to <f11> instead of
3081 `toggle-frame-maximized'.
3082 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3083
3084 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3087
3088 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3089 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3090 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3091 for `file-accessible-directory-p'. (Bug#13275)
3092
3093 2012-12-27 Sam Steingold <sds@gnu.org>
3094
3095 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3096 continuations, see <http://stackoverflow.com/questions/3582436>.
3097
3098 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3101 "module" and "def" to have indentation before them.
3102 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3103
3104 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3105
3106 2012-12-27 Alan Mackenzie <acm@muc.de>
3107
3108 Speed up fontification where there's large brace blocks.
3109 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3110 to a call of c-beginning-of-decl-1.
3111
3112 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3113
3114 * comint.el (comint-adjust-window-point): New function.
3115 (comint-postoutput-scroll-to-bottom):
3116 Call comint-adjust-window-point (Bug#13248).
3117
3118 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3119
3120 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3121 Rakefile regexp.
3122 (auto-mode-alist): Associate .gemspec files with ruby-mode
3123 (https://bugs.ruby-lang.org/issues/5453).
3124
3125 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3126
3127 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3128 Suppress coloring, if possible (required for BusyBox based systems like
3129 CyanogenMod).
3130 (tramp-adb-handle-file-attributes)
3131 (tramp-adb-handle-insert-directory)
3132 (tramp-adb-handle-file-name-all-completions): Use it.
3133 (tramp-adb-get-toolbox): New defun. Check for remote shell
3134 implementation (BusyBox or Toolbox).
3135
3136 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3137
3138 * startup.el (initial-buffer-choice): Allow function as value
3139 (Bug#13251).
3140 (command-line-1): Handle case where initial-buffer-choice
3141 specifies a function.
3142 * server.el (server-execute): Handle case where
3143 initial-buffer-choice specifies a function.
3144
3145 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3146
3147 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3148 its own function.
3149 (smtpmail-try-auth-methods): Forget the user name/password if the
3150 login is unsuccessful (bug#12424).
3151
3152 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3153
3154 * notifications.el (notifications-notify): Protect body with
3155 `with-demoted-errors'.
3156
3157 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3158 Check properties of remote device. Restart connection, if there is a
3159 change.
3160
3161 2012-12-21 Chong Yidong <cyd@gnu.org>
3162
3163 * sort.el (sort-subr): Doc fix (Bug#13056).
3164
3165 2012-12-21 Bastien Guerry <bzg@gnu.org>
3166
3167 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3168
3169 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * simple.el (process-file): Overwrite stderr file, if exists.
3172
3173 2012-12-21 Daiki Ueno <ueno@gnu.org>
3174
3175 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3176 (epg-error): Set `error-message' property.
3177
3178 2012-12-21 Chong Yidong <cyd@gnu.org>
3179
3180 * international/mule-cmds.el (read-char-by-name): Signal an error
3181 if the user does not supply a valid character (Bug#13177).
3182
3183 * simple.el (transpose-subr-1): Preserve marker positions by
3184 changing the insertion sequence (Bug#13122).
3185
3186 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3187
3188 * simple.el (kill-region): Deactivate mark even for empty regions
3189 (Bug#13169).
3190
3191 2012-12-21 Chong Yidong <cyd@gnu.org>
3192
3193 * help-fns.el (describe-variable): Make sure we get the right
3194 buffer name (Bug#13105). Suggested by Kelly Dean.
3195
3196 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3197
3198 * comint.el (comint-redirect-previous-input-string): New variable.
3199 (comint-redirect-setup, comint-redirect-cleanup)
3200 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3201 (comint-redirect-preoutput-filter): Fix verbose message.
3202
3203 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3206 is too long for Tramp. See discussion in
3207 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3208
3209 * progmodes/compile.el (compilation-start): Remove line escape
3210 template.
3211
3212 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3213
3214 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3215 Adjust comment.
3216
3217 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3218
3219 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3220 following non-comment text (bug#13207).
3221 (lm-header-multiline): Continuation lines need to be indented more than
3222 the first line.
3223 (lm-homepage): New function.
3224 (lm-with-file): Don't be confused if narrowing is in effect.
3225
3226 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3229 very beginning of a hunk (e.g. killing the first line).
3230
3231 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3234 and text properties from returned ACL string.
3235 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3236 for "setfacl" command.
3237
3238 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3239
3240 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3241 `tramp-cleanup-this-connection', when the process has died.
3242 (Bug#13151)
3243
3244 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3247
3248 2012-12-17 Kevin Ryde <user42@zip.com.au>
3249
3250 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3251
3252 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3253
3254 Add support for preserving ACL entries of files.
3255
3256 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3257 `set-file-acl' handlers.
3258
3259 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3260 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3261
3262 * net/tramp-compat.el (tramp-compat-copy-file):
3263 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3264
3265 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3266 Add `file-acl' and `set-file-acl' handlers.
3267 (tramp-gvfs-handle-copy-file):
3268 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3269 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3270 New defuns.
3271
3272 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3273 Add `file-acl' and `set-file-acl' handlers.
3274 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3275 (tramp-sh-handle-set-file-acl): New defuns.
3276 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3277 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3278
3279 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3280 Add `file-acl' and `set-file-acl' handlers.
3281 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3282
3283 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3284
3285 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3286 use pop-to-buffer with NORECORD argument t. As buffer name, use
3287 *Metahelp* with a leading space (Bug#13190).
3288
3289 2012-12-16 Romain Francoise <romain@orebokech.com>
3290
3291 * files.el (file-extended-attributes)
3292 (set-file-extended-attributes): New functions.
3293 (backup-buffer): Use them to handle both SELinux context and ACL
3294 entries.
3295 (backup-buffer-copy): Work with an alist of extended attributes,
3296 rather than an SELinux context.
3297 (basic-save-buffer-2): Ditto.
3298
3299 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3300
3301 * battery.el (battery-bsd-apm): New function.
3302
3303 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3304
3305 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3306 standard date formats.
3307
3308 2012-12-15 Juri Linkov <juri@jurta.org>
3309
3310 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3311 `isearch-insert-char-by-name'.
3312 (with-isearch-suspended): New defmacro with body mostly from
3313 `isearch-edit-string' except the part that sets
3314 `isearch-new-string' and `isearch-new-message'.
3315 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3316 body that sets `isearch-new-string' and `isearch-new-message'.
3317 (isearch-insert-char-by-name): New command.
3318 * international/mule-cmds.el (read-char-by-name): Let-bind
3319 `enable-recursive-minibuffers' to t.
3320 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3321
3322 2012-12-15 Juri Linkov <juri@jurta.org>
3323
3324 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3325 (Bug#13175)
3326
3327 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3328
3329 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3330 the prompt. (Bug#13045)
3331
3332 2012-12-14 Glenn Morris <rgm@gnu.org>
3333
3334 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3335 Try to include filename in non-bytecomp warning. (Bug#13132)
3336
3337 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3338
3339 Fix permissions bugs with setgid directories etc. (Bug#13125)
3340 * files.el (backup-buffer): Don't rely on 9th output of
3341 file-attributes, as it's now a placeholder. Instead, use the new
3342 optional arg of file-ownership-preserved-p.
3343 (file-ownership-preserved-p): New optional arg GROUP.
3344 Fix mishandling of setuid directories that would cause this
3345 function to return t when it should have returned nil.
3346 Document what happens if the file does not exist, and when
3347 it's not known whether the ownership will be preserved.
3348 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3349 Likewise.
3350 (tramp-get-local-gid): Use group-gid for integer, as that's
3351 faster and more reliable.
3352
3353 2012-12-14 Julien Danjou <julien@danjou.info>
3354
3355 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3356 Update keywords list, data type and PL/pgSQL.
3357
3358 2012-12-14 Dave Abrahams <dave@boostpro.com>
3359
3360 * vc/ediff-util.el (ediff-buffer-type): New function.
3361 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3362 rather than taking it as as argument.
3363 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3364
3365 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3366
3367 * json.el: Add pretty-print option (bug#12634).
3368 (json-encoding-separator, json-encoding-default-indentation)
3369 (json--encoding-current-indentation, json-encoding-pretty-print)
3370 (json-encoding-lisp-style-closings): New vars.
3371 (json--with-indentation): New macro.
3372 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3373 (json-encode-array): Use it to obey json-encoding-pretty-print.
3374 (json-pretty-print-buffer, json-pretty-print): New commands.
3375
3376 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3377
3378 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3379 Extract `ruby-syntax-propertize-expansions'.
3380 (ruby-syntax-propertize-expansions): Only change syntax on
3381 certain string delimiters, to punctuation. This way the common
3382 functions like forward-word and thing-at-point still work.
3383 (ruby-match-expression-expansion): Improve readability.
3384 (ruby-block-contains-point): New function.
3385 (ruby-add-log-current-method): Handle several edge cases.
3386
3387 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3388
3389 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3390 unload-feature finishes even when aborting an ongoing edebug session.
3391 Also, do not worry about edebug-mode, unload-feature takes care of it.
3392
3393 2012-12-13 Andreas Schwab <schwab@suse.de>
3394
3395 * net/tls.el (tls-program): Update customize type.
3396
3397 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3398
3399 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3400 (edebug-setup-hook, cl-read-load-hooks): Use it.
3401 (edebug-unload-function): New function. (Bug#13163)
3402
3403 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3404
3405 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3406 Otherwise, there could be errors in autoloading. (Bug#13151)
3407
3408 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3409
3410 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3411 sequences.
3412
3413 2012-12-13 Alan Mackenzie <acm@muc.de>
3414
3415 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3416 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3417 around `forward-comment' not recognizing ^M as whitespace.
3418
3419 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3420
3421 * progmodes/python.el (python-skeleton-class)
3422 (python-skeleton-def): Do not add space after defun name.
3423
3424 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3427 (cl--symbol-function): Remove (now that funbound is like nil).
3428
3429 2012-12-12 Glenn Morris <rgm@gnu.org>
3430
3431 * button.el (button--area-button-p): Fix typo.
3432
3433 2012-12-12 Sam Steingold <sds@gnu.org>
3434
3435 * frame.el (frame-maximization-style): New user option.
3436 (toggle-frame-maximized): Toggle frame maximization according to
3437 `frame-maximization-style', bound to <f11>.
3438 (cycle-frame-maximized): Cycle between all maximization styles and
3439 non-maximized frame, bound to shift-<f11>.
3440
3441 2012-12-12 David Cadé <codename68@gmail.com>
3442
3443 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3444
3445 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3446
3447 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3448 (eieio-override-prin1): Don't quote kewords and booleans.
3449 (object-write) <eieio-default-superclass>: Don't put closing parens
3450 on new line, avoid needless empty lines, align values that are objects
3451 with the slot keyword (instead of beginning on the same line).
3452 (eieio-list-prin1): Align value with slot keyword; increase
3453 eieio-print-depth before printing members of the list.
3454
3455 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3458 a display text-property.
3459 (report-emacs-bug-hook): Don't bother deleting it any more.
3460
3461 * hilit-chg.el (highlight-save-buffer-state): Delete.
3462 Use with-silent-modifications instead.
3463 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3464
3465 * button.el: Handle buttons in display text-properties.
3466 (button--area-button-p, button--area-button-string):
3467 Use (STRING . STRING-POS) representation instead of just STRING.
3468
3469 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3470
3471 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3472 subdirectory be skipped.
3473
3474 2012-12-11 Glenn Morris <rgm@gnu.org>
3475
3476 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3477
3478 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3479 Treat preprocessor lines embedded in continuations like comments.
3480 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3481
3482 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3483
3484 * calc/calc.el (calc-standard-date-formats): Add more date
3485 formats.
3486 * calc/calc-forms.el (math-parse-iso-date): New function.
3487 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3488 (math-parse-iso-date-validate): Add extra error checking.
3489 (calc-date-notation): Add ability to access new date formats.
3490
3491 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3494 font-lock as well as when there's no text-property.
3495
3496 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3497
3498 * hi-lock.el: Refine the choice of default face.
3499 (hi-lock-keyword->face): New function. Use it wherever we used
3500 cadadadr instead.
3501 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3502 (hi-lock--last-face): Remove var.
3503 (hi-lock--unused-faces): New var to replace it.
3504 (hi-lock-read-face-name): Use/maintain it.
3505 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3506 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3507 if it has another face.
3508
3509 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3510
3511 * subr.el (w32notify-handle-event): New function.
3512 (inotify-handle-event): Doc fix.
3513
3514 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3515
3516 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3517
3518 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3519
3520 * simple.el (just-one-space): Doc fix.
3521
3522 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3523
3524 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3525
3526 2012-12-10 Le Wang <l26wang@gmail.com>
3527
3528 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3529 narrowed buffer (bug#12361).
3530
3531 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * vc/vc-hooks.el (vc-state): Doc fix.
3534
3535 2012-12-10 Glenn Morris <rgm@gnu.org>
3536
3537 * mail/rmail.el (rmail-maybe-display-summary):
3538 Preserve buffer, in case select-window changes it. (Bug#13066)
3539
3540 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3543 cl-load-hook where they belong.
3544
3545 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3546
3547 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3548
3549 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3550
3551 Parallelize byte compilation on MS-Windows.
3552 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3553 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3554 (WINS_BASIC): Define as concatenation of the above.
3555 (compile): Subdivide into 4 separate and independent jobs that can
3556 be run in parallel.
3557 (compile0-CMD, compile0-SH): New targets for compiling
3558 COMPILE_FIRST files, which are prerequisites for the rest of the
3559 byte-compilation.
3560 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3561 New targets for parallel compilation with cmd.exe.
3562 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3563 compiling under a Unixy shell.
3564
3565 2012-12-09 Chong Yidong <cyd@gnu.org>
3566
3567 * simple.el (set-mark-default-inactive): Delete this
3568 accidentally-introduced option.
3569 (set-mark-command, exchange-point-and-mark): Remove calls.
3570
3571 2012-12-09 Glenn Morris <rgm@gnu.org>
3572
3573 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3574 Respect a defcustom's :set function, if appropriate. (Bug#109)
3575 (eval-defun): Doc fix.
3576
3577 2012-12-08 Juri Linkov <juri@jurta.org>
3578
3579 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3580 (Info-fontify-node, Info-bookmark-make-record): Remove the
3581 file extension from Info-current-file (Bug#13016).
3582
3583 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3586 point, still provide some default.
3587 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3588 names, since we don't use it right now. Actually return the list.
3589 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3590
3591 2012-12-07 Chong Yidong <cyd@gnu.org>
3592
3593 * novice.el (disabled-command-function): Remove a spurious help
3594 xref (Bug#13043). Suggested by Kelly Dean.
3595
3596 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3597 syntax is specified (Bug#13025).
3598
3599 * info.el (Info-set-mode-line): Remove the file extension from
3600 Info-current-file if there is one (Bug#13016).
3601
3602 2012-12-07 Glenn Morris <rgm@gnu.org>
3603
3604 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3605 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3606 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3607 and rmail-mime-decoded. (Bug#9841)
3608
3609 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3610 (batch-unrmail, unrmail): Doc fixes.
3611 (unrmail): Respect unrmail-mbox-format.
3612 * mail/rmail.el (rmail-mbox-format): New option.
3613 (rmail-show-message-1): Respect rmail-mbox-format.
3614
3615 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3618
3619 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3622 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3623 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3624 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3625 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3626 (cl-progv): Don't rely on dynamic scoping to find the body.
3627 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3628 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3629 (cl-declaim): Use backquotes.
3630 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3631 Use "cl--" prefix for the object's tag.
3632
3633 * ses.el: Use advice-add/remove.
3634 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3635 (copy-region-as-kill, yank): Use advice-add.
3636 (ses-unload-function): Use advice-remove.
3637
3638 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3639
3640 * button.el: Make them work in header-lines (bug#12817).
3641 (button-map): Add bindings for header-line and mode-line use.
3642 (button-get, button-put, button-label): `button' may now be a string.
3643 (button-activate): Don't make it a defsubst.
3644 (button--area-button-p, button--area-button-string): New functions.
3645 (make-text-button): Fix the return value when `beg' was a string.
3646 (push-button): Handle the mode-line case.
3647
3648 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3651 (sql-signum): Remove. Use `cl-signum' instead.
3652 (sql-read-passwd): Remove; use read-passwd instread.
3653 (sql-get-login-ext): Use read-string.
3654 (sql-get-login): Use dolist and pcase.
3655 (sql--completion-table): Rename from sql-try-completion.
3656 Use complete-with-action.
3657 (sql-mode): Don't change abbrev-all-caps globally.
3658 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3659 (sql-postgres-completion-object): Initialize vars in their `let'.
3660 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3661 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3662 (sql-comint-interbase): Use a single append, without setq.
3663 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3664
3665 * hi-lock.el: Rework the default face and the serialize regexp code.
3666 (hi-lock--auto-select-face-defaults): Remove.
3667 (hi-lock-string-serialize-serial): Remove.
3668 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3669 make weak.
3670 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3671 equal string.
3672 (hi-lock-set-pattern): Adjust accordingly.
3673 (hi-lock--regexps-at-point): Simplify accordingly.
3674 (hi-lock--auto-select-face-defaults): Remove.
3675 (hi-lock--last-face): New var to replace it.
3676 (hi-lock-read-face-name): Rewrite (bug#11095).
3677 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3678
3679 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3680
3681 * net/tramp.el (tramp-replace-environment-variables):
3682 Hide compiler warning.
3683 (tramp-file-name-for-operation): Remove `executable-find',
3684 `start-process', `call-process' and `call-process-region'.
3685
3686 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3687
3688 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3689 compatibility.
3690
3691 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3692
3693 2012-12-06 Chong Yidong <cyd@gnu.org>
3694
3695 * ffap.el (ffap-replace-file-component): Fix typo.
3696
3697 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3700 fix open-paren-like token test (bug#12785).
3701
3702 2012-12-06 Glenn Morris <rgm@gnu.org>
3703
3704 * mail/rmailsum.el (rmail-new-summary): Tweak for
3705 rmail-maybe-display-summary changing buffer. (Bug#13066)
3706
3707 2012-12-06 Juri Linkov <juri@jurta.org>
3708
3709 * info.el (Info-fontify-node): Don't hide the last newline.
3710 (Bug#12272)
3711
3712 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3713
3714 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3715 so as to enable message-read-from-minibuffer to expand mail aliases.
3716
3717 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3720 the `intangible' property.
3721 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3722
3723 2012-12-05 Deniz Dogan <deniz@dogan.se>
3724
3725 * net/rcirc.el (rcirc-urls): Update documentation.
3726 (rcirc-condition-filter): New function.
3727 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3728 and exclude consecutive duplicate URLs (Bug#6082).
3729
3730 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3731
3732 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3733 Check return code of copy command.
3734
3735 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3736 Use group `tramp'. Add version.
3737
3738 2012-12-05 Chong Yidong <cyd@gnu.org>
3739
3740 * ffap.el (ffap-url-regexp): Don't require matching at front of
3741 string (Bug#4952).
3742 (ffap-url-p): If only a substring matches, return that.
3743 (ffap-url-at-point): Use the return value of ffap-url-p.
3744 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3745 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3746 (ffap-guess-file-name-at-point): Likewise.
3747 (ffap-replace-file-component): Fix typo.
3748
3749 * info.el (info-display-manual): Add existing Info buffers, whose
3750 files may not be in Info-directory-list, to the completion.
3751 (info--manual-names): New helper function.
3752
3753 2012-12-05 Glenn Morris <rgm@gnu.org>
3754
3755 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3756 New functions, for detecting and resolving conflicts. (Bug#10709)
3757
3758 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3759
3760 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3761 (hi-lock-auto-select-face-defaults): New buffer local variable.
3762 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3763 (hi-lock-unface-buffer): Prompt user with useful defaults.
3764 With prefix arg, unhighlight all hi-lock patterns in buffer.
3765
3766 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3769
3770 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3771
3772 * Makefile.in (TRAMP_SRC):
3773 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3774
3775 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3776
3777 * net/tramp-adb.el: New package.
3778
3779 2012-12-04 Chong Yidong <cyd@gnu.org>
3780
3781 * terminal.el: Move to obsolete/.
3782
3783 * longlines.el: Move to obsolete/.
3784
3785 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3786 Remove code referring to longlines mode.
3787
3788 2012-12-03 Juri Linkov <juri@jurta.org>
3789
3790 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3791
3792 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3793
3794 * textmodes/ispell.el (ispell-init-process)
3795 (ispell-start-process, ispell-internal-change-dictionary):
3796 Make sure personal dictionary name is expanded after initial
3797 `default-directory' value. Use expanded strings for
3798 keep/restart checks and for value (Bug#13019).
3799
3800 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3801
3802 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3803
3804 2012-12-03 Leo Liu <sdl.web@gmail.com>
3805
3806 * files.el (dir-locals-read-from-file): Check file non-empty
3807 before reading. (Bug#13038)
3808
3809 2012-12-03 Glenn Morris <rgm@gnu.org>
3810
3811 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3812 Remove any version extension before checking filename. (Bug#13006)
3813 (jka-compr-compression-info-list): Belated :version bump.
3814
3815 2012-12-03 Chong Yidong <cyd@gnu.org>
3816
3817 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3818
3819 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3820 (buffer-menu): Doc fix (Bug#12294).
3821
3822 2012-12-03 Roland Winkler <winkler@gnu.org>
3823
3824 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3825 of diary-show-all-entries in the diary buffer (Bug#12994).
3826
3827 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3830 "<STDIN>". This is binary safe.
3831
3832 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3833
3834 * calc/calc-forms.el (math-absolute-from-iso-dt)
3835 (math-date-to-iso-dt, math-parse-iso-date-validate)
3836 (math-iso-dt-to-date): New functions.
3837 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3838 (math-fd-isoweekday): New variables.
3839 (calc-date-notation, math-parse-standard-date, math-format-date)
3840 (math-format-date-part): Add support for more formatting codes.
3841
3842 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3843
3844 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3845 current buffer's file name when called interactively (Bug#12488).
3846
3847 2012-12-02 Juri Linkov <juri@jurta.org>
3848
3849 * info.el (info-display-manual): Don't clobber an existing Info
3850 buffer (Bug#10770). Add completion (Bug#10771).
3851
3852 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3853
3854 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3855 before using it for comparison (Bug#5297).
3856
3857 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3858
3859 * textmodes/css-mode.el (css-current-defun-name): New function.
3860 (css-mode): Use it.
3861
3862 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3863 (html-mode): Use it.
3864
3865 2012-12-01 Chong Yidong <cyd@gnu.org>
3866
3867 Modularize add-log-current-defun (Bug#2224).
3868 Suggested by Jari Aalto.
3869
3870 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3871 (add-log-current-defun): Move mode-specific code to other files.
3872 (add-log-lisp-like-modes, add-log-c-like-modes)
3873 (add-log-tex-like-modes): Variables deleted.
3874
3875 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3876 (lisp-mode-variables): Use it.
3877
3878 * progmodes/cc-mode.el (c-common-init):
3879 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3880 add-log-current-defun-function.
3881
3882 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3883 (m4-mode): Use it.
3884
3885 * progmodes/perl-mode.el (perl-current-defun-name): New.
3886 (perl-mode): Use it.
3887
3888 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3889 Use lisp-current-defun-name.
3890
3891 * textmodes/tex-mode.el (tex-current-defun-name): New.
3892 (tex-common-initialization): Use it.
3893
3894 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3895 (texinfo-mode): Use it.
3896
3897 2012-12-01 Chong Yidong <cyd@gnu.org>
3898
3899 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3900 * progmodes/autoconf.el (autoconf-mode):
3901 * progmodes/js.el (js-mode):
3902 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3903 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3904 * progmodes/perl-mode.el (perl-mode):
3905 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3906 * textmodes/css-mode.el (css-mode):
3907 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3908 (sgml-tags-invisible, sgml-guess-indent):
3909 * textmodes/tex-mode.el (tex-common-initialization)
3910 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3911 (doctex-mode, plain-tex-mode, latex-mode):
3912 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3913
3914 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3915
3916 * vc/vc-hg.el (vc-hg-next-revision):
3917 Ensure use of default "tip" output format. (Bug#6968)
3918
3919 2012-12-01 Kim F. Storm <storm@cua.dk>
3920
3921 * startup.el (fancy-startup-tail): Add a clickable link
3922 (Bug#2176).
3923
3924 2012-12-01 Chong Yidong <cyd@gnu.org>
3925
3926 * startup.el (fancy-startup-tail): Improve the message about
3927 auto-save files (Bug#2176).
3928
3929 * files.el (recover-session): Improve the descriptive message, and
3930 use substitute-command-keys.
3931
3932 2012-12-01 Glenn Morris <rgm@gnu.org>
3933
3934 * ido.el (ido-file-internal):
3935 Handle other-window, other-frame for dired. (Bug#13036)
3936
3937 2012-11-30 Glenn Morris <rgm@gnu.org>
3938
3939 * icomplete.el (icomplete-separator): Fix :version.
3940
3941 2012-11-30 Chong Yidong <cyd@gnu.org>
3942
3943 * shell.el (shell): For C-u M-x shell, use an inactive shell
3944 buffer as the default (Bug#1975).
3945 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3946 (shell-mode): Use them to reapply ansi colorization if Shell mode
3947 is re-enabled.
3948
3949 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3950
3951 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3952
3953 2012-11-30 Samuel Bronson <naesten@gmail.com>
3954
3955 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3956 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3957
3958 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3959
3960 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3961 by move-to-column (Bug#3234).
3962
3963 2012-11-30 Chong Yidong <cyd@gnu.org>
3964
3965 * longlines.el (longlines-wrap-line, longlines-encode-region):
3966 Preserve text properties (Bug#1425).
3967
3968 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3969
3970 * vc/vc.el (vc-register): Allow registering a file which is
3971 already registered with a different backend (Bug#10589).
3972
3973 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3974 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * icomplete.el: Change separator; add ido-style commands.
3977 (icomplete-show-key-bindings): Remove custom var.
3978 (icomplete-get-keys): Remove function.
3979 (icomplete-forward-completions, icomplete-backward-completions):
3980 New commands.
3981 (icomplete-minibuffer-map): New var.
3982 (icomplete-minibuffer-setup): Use it.
3983 (icomplete-exhibit): Don't delay if the list of completions is known.
3984 (icomplete-separator): New custom.
3985 (icomplete-completions): Use it.
3986 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3987 (minibuffer-force-complete-and-exit): New command.
3988 (minibuffer--complete-and-exit): New function extracted from
3989 minibuffer-complete-and-exit.
3990 (minibuffer-complete-and-exit): Use it.
3991
3992 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3993 error message when the file doesn't exist (bug#12974).
3994
3995 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3996
3997 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3998
3999 2012-11-29 Glenn Morris <rgm@gnu.org>
4000
4001 * files.el (hack-dir-local-variables): Warn if try to set
4002 coding via dir-locals, since it doesn't work. (Bug#7169)
4003
4004 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4005 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4006 Set buffer-local value of desktop-save-buffer.
4007 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4008 New functions.
4009 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4010 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4011
4012 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4013 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4014 Doc fix.
4015 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4016 Doc fixes.
4017
4018 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4019
4020 * calc/calc-forms.el (calc-date-notation): Fix regexp
4021 used to find time codes. Fix symbol for seconds.
4022
4023 2012-11-27 Glenn Morris <rgm@gnu.org>
4024
4025 * emacs-lisp/derived.el (derived-mode-make-docstring):
4026 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4027
4028 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4031 lexically scoped variables (bug#13005).
4032
4033 2012-11-27 Glenn Morris <rgm@gnu.org>
4034
4035 * vc/vc-hooks.el (vc-mistrust-permissions):
4036 Default to t, to avoid data-loss. (Bug#11490)
4037
4038 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4039
4040 * progmodes/python.el (python-indent-guess-indent-offset):
4041 If indentation is guessed make python-indent-offset buffer-local.
4042
4043 Fix Imenu regression.
4044 * progmodes/python.el (python-nav-beginning-of-defun):
4045 Fix forward movement when statement(s) separates point from defun.
4046 (python-imenu-prev-index-position): New function.
4047
4048 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4049
4050 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4051
4052 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4053 Don't set buffer-file-type. Return nil. (Bug#12989)
4054
4055 2012-11-27 Glenn Morris <rgm@gnu.org>
4056
4057 * hippie-exp.el (hippie-expand-try-functions-list):
4058 Re-autoload it. (Bug#12982)
4059
4060 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4061
4062 * descr-text.el (describe-char-padded-string):
4063 Call internal-char-font only on GUI frames. (Bug#11964)
4064
4065 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4066
4067 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4068 and obsoletion message.
4069
4070 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4073 the constructs to keep outside of the `cl-block' (bug#12977).
4074
4075 2012-11-27 Chong Yidong <cyd@gnu.org>
4076
4077 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4078 keep reading until we get the up-event anyway, in order to process
4079 the up-event for mouse-1-click-follows-link (Bug#12971).
4080
4081 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4084 base function is not yet defined (bug#12965).
4085 (ad-activate-advised-definition): Use ad-compile-function.
4086 (ad-activate): Use cond.
4087
4088 2012-11-25 Leo Liu <sdl.web@gmail.com>
4089
4090 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4091 (Bug#12979)
4092
4093 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4094
4095 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4096 reftex-section-info-function in order to be compatible with
4097 Texinfo integration.
4098
4099 * textmodes/reftex.el (reftex-section-pre-regexp)
4100 (reftex-section-post-regexp, reftex-section-info-function):
4101 New variable.
4102 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4103 reftex-section-post-regexp, and reftex-section-info-function in order
4104 to be compatible with Texinfo integration.
4105
4106 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4107 use reftex-section-pre-regexp variable in order to be compatible with
4108 Texinfo integration.
4109
4110 2012-11-25 Chong Yidong <cyd@gnu.org>
4111
4112 * faces.el: Make face-spec-set more analogous to setq.
4113 (face-spec-set): Change the third arg to specify whether this
4114 function is being called via defface, customize, or a third party.
4115 Set the appropriate symbol properties. Clear the override spec if
4116 setting via Custom. Initialize face if necessary. (Bug#4988)
4117 (face-spec-recalc): Allow theme faces to completely replace the
4118 defface spec, in the same way as custom faces (Bug#8454).
4119
4120 * cus-face.el (custom-declare-face): Move face initialization to
4121 face-spec-set.
4122 (custom-theme-set-faces): Don't initialize the face name here, as
4123 that is now done in face-spec-set.
4124
4125 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4126 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4127 Simplify by using the new arg to face-spec-set.
4128
4129 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4130 reset face-override-spec too, and use custom-declare-face.
4131
4132 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4133
4134 * term/ns-win.el (ns-initialize-window-system): Move creation of
4135 fontsets here (Bug#11964).
4136
4137 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4138
4139 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4140 cell renaming.
4141
4142 2012-11-24 Chong Yidong <cyd@gnu.org>
4143
4144 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4145 obsolete.
4146
4147 * custom.el (custom-theme-set-variables): Use a topological sort
4148 for ordering by custom dependencies (Bug#12952).
4149 (custom--sort-vars, custom--sort-vars-1): New functions.
4150
4151 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4154 lexical-binding (bug#12938).
4155
4156 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4157
4158 * image-mode.el (image-transform-check-size): Use assertions only
4159 for images of type imagemagick.
4160
4161 Otherwise no error, image-transform-fit-to-{width,height} is
4162 silently ignored, as before. Doc fix.
4163
4164 2012-11-24 Chong Yidong <cyd@gnu.org>
4165
4166 * faces.el (color-defined-p): Doc fix (Bug#12853).
4167
4168 2012-11-24 Juri Linkov <juri@jurta.org>
4169
4170 * dired.el (dired-mark): Add optional arg `interactive'.
4171 Check for `use-region-p' if `interactive' is non-nil.
4172 (dired-unmark, dired-flag-file-deletion): Add optional arg
4173 `interactive'. Call `dired-mark' with the arg `interactive'.
4174 (Bug#10624)
4175
4176 * wdired.el: Revert 2012-10-17 change partly and replace it with
4177 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4178 (wdired-finish-edit): Add marks for new file names to
4179 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4180 after `revert-buffer'.
4181 (wdired-do-renames): Remove calls to `dired-remove-file',
4182 `dired-add-file', `dired-add-entry'. (Bug#11795)
4183
4184 2012-11-24 Alan Mackenzie <acm@muc.de>
4185
4186 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4187
4188 Fix bugs in the state cache. Enhance a debugging mechanism.
4189 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4190 "brace at column zero" strategy for C++.
4191 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4192 (c-parse-state-point): New variable.
4193 (c-record-parse-state-state): Record old parse state with
4194 `copy-tree'. Record previous value of point.
4195 (c-debug-parse-state-double-cons): New debugging function.
4196 (c-debug-parse-state): Call the above new function.
4197 (c-toggle-parse-state-debug): Output a confirmatory message.
4198
4199 * progmodes/cc-mode.el (c-before-change, c-after-change):
4200 Call c-invalidate-state-cache from `c-before-change' instead of
4201 `c-after-change'.
4202
4203 2012-11-23 Chong Yidong <cyd@gnu.org>
4204
4205 * find-cmd.el (find-constituents): Add executable, ipath,
4206 readable, samefile, writable, daystart, regextype (Bug#12856).
4207
4208 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4211
4212 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4213
4214 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4215 definition. This fixes a bootstrap failure.
4216 (calc-gregorian-switch): In menu, put dates before regions.
4217 This is easier to follow, lines up better in the menu, and lets us
4218 coalesce regions that switch at the same time. Give country
4219 names, not "Vatican", as that's better for non-expert users.
4220 Use names that are stable between the date of switch and now, e.g.,
4221 Bohemia and Moravia (which existed then and now) and not
4222 Czechoslovakia (which didn't exist then and doesn't exist now).
4223 What is now the U.S. mostly did not switch at the same time as
4224 Britain, so omit the U.S. Correct spelling of "Britain".
4225 Catholic Switzerland was too much of a mess, so omit it.
4226
4227 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4228
4229 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4230 after the variable is changed.
4231
4232 2012-11-21 Daniel Colascione <dancol@dancol.org>
4233
4234 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4235 in SQL declarations for font-lock.
4236 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4237
4238 2012-11-21 Glenn Morris <rgm@gnu.org>
4239
4240 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4241 (face-italic-p): Add optional argument "inherit".
4242
4243 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4244 Remove -p suffix from names, for consistency with other set-face-*.
4245 (set-face-inverse-video): Fix interactive spec.
4246 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4247 * textmodes/table.el (table--update-cell-face):
4248 Use set-face-inverse-video rather than now obsolete alias.
4249
4250 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4251
4252 * simple.el (line-move): Don't call line-move-partial if
4253 scroll-conservatively is in effect. (Bug#12927)
4254
4255 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4256
4257 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4258 Fallback on completion-at-point rather than
4259 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4260 (eshell-cmpl-initialize): Setup completion-at-point.
4261
4262 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4263
4264 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4265
4266 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4269 are remote, check out-of-band property for both.
4270
4271 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4274 code rewrite.
4275
4276 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4277
4278 More minor time fixes.
4279 * calendar/time-date.el: Commentary fix.
4280 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4281 too much other code depends on (0 0) time stamps.
4282 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4283 Add a couple of FIXME comments.
4284
4285 Minor cleanup for times as lists of four integers.
4286 * files.el (dir-locals-directory-cache):
4287 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4288 Doc fixes.
4289 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4290 * ps-bdf.el (bdf-file-newer-than-time):
4291 Process four-integers time stamps, not two. Doc fixes.
4292
4293 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * uniquify.el (uniquify-managed): Use defvar-local.
4296 (rename-buffer, create-file-buffer): Advise with advice-add.
4297 (uniquify-unload-function): Unadvise accordingly.
4298
4299 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4300 (trace-buffer): Don't purecopy.
4301 (trace-entry-message, trace-exit-message): Add `context' arg.
4302 (trace--timer): New var.
4303 (trace-make-advice): Adjust for use in nadvice.
4304 Add `context' argument. Delay `display-buffer' via a timer.
4305 (trace-function-internal): Use advice-add.
4306 (trace--read-args): New function.
4307 (trace-function-foreground, trace-function-background): Use it.
4308 (trace-function): Rename to trace-function-foreground and redefine as
4309 an alias to that new name.
4310 (untrace-function, untrace-all): Adjust to the use of nadvice.
4311
4312 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4313
4314 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4315
4316 * subr.el (called-interactively-p-functions): New var.
4317 (internal--called-interactively-p--get-frame): New macro.
4318 (called-interactively-p, interactive-p): Rewrite in Lisp.
4319 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4320 (called-interactively-p-functions): Use it.
4321 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4322 (called-interactively-p-functions): Use it.
4323 * allout.el (allout-called-interactively-p): Don't assume
4324 called-interactively-p is a subr.
4325
4326 2012-11-20 Glenn Morris <rgm@gnu.org>
4327
4328 * profiler.el (profiler-report-mode-map): Add a menu.
4329 No need to bind `q' because we derive from special-mode.
4330 (profiler-report-find-entry): Handle calls from the menu-bar.
4331
4332 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * emacs-lisp/byte-run.el (defun-declarations-alist):
4335 Allow a compiler-macro to be a lambda expression.
4336
4337 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4338 eval-when-compile.
4339 (python-syntax-context): Add compiler-macro.
4340 (python-font-lock-keywords): Simplify with De Morgan.
4341
4342 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4343
4344 * files.el (load-file): Require match in minibuffer selection, as was
4345 the case in Emacs-20 before we changed the spec to allow .elc files
4346 (bug#12935).
4347
4348 * json.el: Don't require cl since we don't use it.
4349 * color.el: Don't require cl.
4350 (color-complement): `caddr' -> `nth 2'.
4351
4352 * calendar/time-date.el (time-to-seconds): De-obsolete.
4353
4354 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4355
4356 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4357 year numbers.
4358 (math-date-to-julian-dt): Adjust the initial approximation for the
4359 year to deal with the new definition of the DATE.
4360
4361 2012-11-19 Daniel Colascione <dancol@dancol.org>
4362
4363 * term/w32-win.el (cygwin-convert-path-from-windows):
4364 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4365
4366 2012-11-18 Chong Yidong <cyd@gnu.org>
4367
4368 * filecache.el (file-cache--read-list): New function.
4369 (file-cache-add-directory-list, file-cache-add-file-list)
4370 (file-cache-delete-file-list, file-cache-delete-directory-list):
4371 Use it to read a list of files or directories (Bug#12846).
4372 (file-cache-add-file, file-cache-add-directory)
4373 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4374 (file-cache-delete-directory): Print an message.
4375
4376 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4377
4378 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4379 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4380
4381 2012-11-18 Glenn Morris <rgm@gnu.org>
4382
4383 * image.el (insert-image, insert-sliced-image): Doc fix.
4384
4385 2012-11-18 Chong Yidong <cyd@gnu.org>
4386
4387 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4388 (Bug#12810).
4389
4390 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4391
4392 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4393 response when the target file is in a subdirectory (Bug#12757).
4394
4395 2012-11-18 Chong Yidong <cyd@gnu.org>
4396
4397 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4398
4399 2012-11-18 Glenn Morris <rgm@gnu.org>
4400
4401 * emacs-lisp/cl-lib.el (face-underline-p):
4402 Use set-face-underline rather than the alias set-face-underline-p.
4403
4404 * window.el (with-temp-buffer-window): Doc fix.
4405 * subr.el (with-output-to-temp-buffer):
4406 Add doc xref to with-temp-buffer-window.
4407
4408 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4411 * calc/calc.el (math-format-date-cache): Declare.
4412
4413 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4414
4415 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4416 It also uses January 1, 1 AD as its day number 1.
4417 * calc/calc-forms.el (math-julian-date-beginning)
4418 (math-julian-date-beginning-int): Implement this.
4419
4420 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4421
4422 * descr-text.el (quail-find-key):
4423 * dired.el (desktop-file-name):
4424 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4425 * generic-x.el (comint-mode, comint-exec):
4426 * image-dired.el (widget-forward):
4427 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4428 (speedbar-change-expand-button-char)
4429 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4430 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4431 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4432 (widget-field-action, widget-value-set):
4433 * speedbar.el (imenu--make-index-alist):
4434 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4435 (ring-length, ring-insert):
4436 * vcursor.el (compare-windows-skip-whitespace):
4437 * woman.el (dired-get-filename):
4438 Declare functions.
4439
4440 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4441
4442 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4443
4444 * calc/calc.el (calc-gregorian-switch): New variable.
4445
4446 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4447 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4448 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4449 (math-leap-year-p): Add option to distinguish between Julian
4450 and Gregorian calendars.
4451 (math-day-number): Use `math-day-in-year' to do the computations.
4452 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4453 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4454 to do the computations.
4455 (math-date-to-dt): Use `math-date-to-julian-dt' and
4456 `math-date-to-gregorian-dt' to do the computations.
4457 (calcFunc-weekday, math-format-date-part): Use the new version of
4458 the DATE to determine the weekday.
4459 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4460 when necessary.
4461
4462 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4463
4464 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4465 Cygwin; otherwise use 'file:'. (Bug#12914)
4466 (cygwin-convert-path-from-windows): Declare, to avoid
4467 byte-compiler warnings.
4468
4469 2012-11-17 Andreas Politz <politza@fh-trier.de>
4470
4471 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4472 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4473 prefix and negative numeric prefix args (Bug#12795).
4474
4475 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4476
4477 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4478 Don't signal an error with a score that is too low to add to the
4479 list of top scores. (Bug#12779)
4480
4481 2012-11-17 Chong Yidong <cyd@gnu.org>
4482
4483 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4484
4485 * filecache.el (file-cache-add-file): Handle relative file name in
4486 the argument (Bug#12694).
4487
4488 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4489
4490 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4491
4492 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4495
4496 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4497
4498 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4499
4500 * window.el (enlarge-window, shrink-window): Don't mention return
4501 value in doc-string (Bug#12896).
4502 (window--display-buffer): Don't resize frames - it won't work
4503 with all window managers and defeat pop-up-frame-alist.
4504 (display-buffer-alist): In doc-string explain that CONDITION can
4505 be a function and which arguments are passed to it (Bug#12854).
4506 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4507 expressions (Bug#12854).
4508 (display-buffer): Pass ACTION argument to
4509 display-buffer-assq-regexp.
4510
4511 2012-11-16 Glenn Morris <rgm@gnu.org>
4512
4513 * window.el (fit-frame-to-buffer-bottom-margin)
4514 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4515
4516 * faces.el (face-underline-p): Use face-attribute-specified-or.
4517
4518 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4519
4520 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4521
4522 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4525
4526 2012-11-16 Glenn Morris <rgm@gnu.org>
4527
4528 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4529 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4530
4531 * faces.el (face-underline-p): Doc fix. Handle :underline being
4532 things other than `t' (a string, a list).
4533 (face-inverse-video-p): Doc fix.
4534 (set-face-underline): Rename it back from set-face-underline-p.
4535 Doc fix. Allow interactive input of values other than t.
4536 (read-face-attribute): Apply formatting to :underline,
4537 since like :box and :stipple it can take list values.
4538
4539 * term.el (ansi-term): Don't let C-x escape-char binding
4540 clobber the more standard C-c binding. (Bug#12842)
4541
4542 * subr.el (set-temporary-overlay-map): Doc fix.
4543
4544 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4545
4546 * window.el (record-window-buffer)
4547 (display-buffer-record-window): When copying the markers to
4548 window-point preserve window-point-insertion-type. (Bug#12588)
4549
4550 2012-11-16 Glenn Morris <rgm@gnu.org>
4551
4552 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4553 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4554 Use new names for hooks rather than obsolete aliases.
4555
4556 2012-11-15 Daniel Colascione <dancol@dancol.org>
4557
4558 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4559 prefix instead of "file:" so that when FILE-NAME begins with "//",
4560 as it does when the target file is on a network share, url-handler
4561 isn't confused.
4562
4563 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4566 a preactivated advice from an old advice.el; they're not compatible!
4567
4568 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4569
4570 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4571 Fix string-spec case.
4572
4573 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4574
4575 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4578 (advice--buffer-local-function-sample): New var.
4579 (advice--set-buffer-local, advice--buffer-local): New functions.
4580 (add-function, remove-function): Use them.
4581
4582 2012-11-15 Drew Adams <drew.adams@oracle.com>
4583
4584 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4585
4586 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4589 potential binding of print-gensym to t, and prettify (back)quotes in
4590 case they appear in args's default values (bug#12884).
4591
4592 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4595 (advice-eval-interactive-spec): New function.
4596 (advice--make-interactive-form): Support around advice (bug#12844).
4597
4598 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4599
4600 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4601 more strict. Add docstring.
4602 (ruby-expression-expansion-re): Extract from
4603 `ruby-match-expression-expansion'.
4604 (ruby-syntax-propertize-function): After everything else, search
4605 for expansions in string literals, mark their insides as
4606 whitespace syntax and save match data for font-lock.
4607 (ruby-font-lock-keywords): Use the 2nd group from expression
4608 expansion matches.
4609 (ruby-match-expression-expansion): Use the match data saved to the
4610 text property in ruby-syntax-propertize-function.
4611
4612 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4615 (bug#12879).
4616
4617 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4618
4619 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4620 start/end keyword a bit harder. Works with different values of N.
4621 Add more comments.
4622 (ruby-end-of-block): Update accordingly.
4623
4624 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * woman.el (woman-file-name): Don't mess with unread-command-events
4627 (bug#12861).
4628
4629 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4630 Remove out of date self-require hack.
4631 (ad-do-advised-functions): Use simple `dolist'.
4632 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4633 (ad-advice-definition): Redefine as functions.
4634 (ad-advice-classes): Move before first use.
4635 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4636 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4637 (ad--defalias-fset): Remove functions.
4638 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4639 (ad-get-orig-definition): Rewrite.
4640 (ad-make-advised-definition-docstring): Change base docstring.
4641 (ad-real-orig-definition): Rewrite.
4642 (ad-map-arglists): Change name of called function.
4643 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4644 (ad-make-advised-definition): Simplify.
4645 (ad-assemble-advised-definition): Tweak for new calling context.
4646 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4647 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4648 function and call ad-activate if needed.
4649 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4650 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4651 (ad-compile-function): Compile ad-Advice-*.
4652 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4653 (ad-start-advice, ad-stop-advice): Remove.
4654
4655 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4656
4657 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4658 period before class method names, not after. Remove handling of
4659 one impossible case. Add comments.
4660
4661 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * emacs-lisp/advice.el: Remove support for freezing.
4664 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4665 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4666 Remove support for `freeze'.
4667
4668 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4669 override the default.
4670 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4671 cl--dotimes/dolist.
4672 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4673 `cl' is loaded.
4674
4675 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4676 from add-advice.
4677 (advice--strip-macro): New function.
4678 (advice--defalias-fset): Use them to handle macros.
4679 (advice-add): Use them.
4680 (advice-member-p): Correctly handle macros.
4681
4682 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4683
4684 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4685 Never font-lock the beginning of singleton class as heredoc.
4686
4687 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4690
4691 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4692
4693 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4694 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4695 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4696
4697 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4698
4699 Fix end-of-defun misbehavior.
4700 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4701 python-beginning-of-defun-function. Handle nested defuns
4702 correctly.
4703 (python-nav-end-of-defun): Rename from
4704 python-end-of-defun-function. Ensure forward movement.
4705 (python-info-current-defun): Reimplement to work as intended
4706 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4707 parent defuns as soon as possible.
4708
4709 2012-11-13 Glenn Morris <rgm@gnu.org>
4710
4711 * progmodes/flymake.el (flymake-error-bitmap)
4712 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4713 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4714
4715 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4716
4717 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4718 backward, always stop at indentation. Reverts the change from
4719 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4720
4721 2012-11-13 Glenn Morris <rgm@gnu.org>
4722
4723 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4724 Add ibuffer-filter-by-derived-mode.
4725
4726 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4727 the same name shadowing each other.
4728
4729 * window.el (with-temp-buffer-window): Doc tweak.
4730
4731 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4732
4733 * help.el (temp-buffer-max-height):
4734 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4735 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4736
4737 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * emacs-lisp/nadvice.el: New package.
4740 * subr.el (special-form-p): New function.
4741 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4742 (elp-all-instrumented-list): Remove var.
4743 (elp-not-profilable): Remove elp-wrapper.
4744 (elp-profilable-p): Use autoloadp and special-form-p.
4745 (elp--advice-name): New const.
4746 (elp-instrument-function): Use advice-add.
4747 (elp--instrumented-p): New predicate.
4748 (elp-restore-function): Use advice-remove.
4749 (elp-restore-all, elp-reset-all): Use mapatoms.
4750 (elp-set-master): Use elp--instrumented-p.
4751 (elp--make-wrapper): Rename from elp-wrapper, return a function
4752 suitable for advice-add. Use cl-inf.
4753 (elp-results): Use mapatoms+elp--instrumented-p.
4754 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4755 (debug-function-list): Remove var.
4756 (debug): Rename arg, and then let-bind it explicitly inside.
4757 (debugger-setup-buffer): Rename arg.
4758 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4759 (debugger-frame-number): Adjust to new debug-on-entry setup.
4760 (debug--implement-debug-on-entry): Rename from
4761 implement-debug-on-entry, add argument.
4762 (debugger-special-form-p): Remove, use special-form-p instead.
4763 (debug-on-entry): Use advice-add.
4764 (debug--function-list): New function.
4765 (cancel-debug-on-entry): Use it, along with advice-remove.
4766 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4767 (debugger-list-functions): Use debug--function-list instead of
4768 debug-function-list.
4769 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4770 (ad-special-form-p): Remove, use special-form-p instead.
4771 (ad-set-advice-info): Use add-function and remove-function.
4772 (ad--defalias-fset): Adjust accordingly.
4773
4774 2012-11-10 Glenn Morris <rgm@gnu.org>
4775
4776 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4777 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4778 (report-emacs-bug-create-existing-bugs-buffer)
4779 (report-emacs-bug-parse-query-results)
4780 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4781
4782 * term.el (term-default-fg-color, term-default-bg-color):
4783 Make obsolete, rather than just saying "deprecated" in the doc.
4784
4785 * term.el (term): Rename from `term-face'.
4786 (term-current-face, ansi-term-color-vector)
4787 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4788 Update all users.
4789
4790 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4791
4792 * server.el (server-create-window-system-frame): Handle Nextstep
4793 specially (Bug#12780).
4794
4795 2012-11-10 Glenn Morris <rgm@gnu.org>
4796
4797 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4798 Unautoload, and make obsolete. (Bug#7449)
4799
4800 2012-11-10 Chong Yidong <cyd@gnu.org>
4801
4802 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4803 rename from diff-remove-trailing-whitespace (Bug#12831).
4804
4805 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4808 miscompilation of trace.el.
4809
4810 2012-11-10 Glenn Morris <rgm@gnu.org>
4811
4812 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4813
4814 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4817 (bug#12812).
4818
4819 2012-11-10 Chong Yidong <cyd@gnu.org>
4820
4821 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4822 a defcustom with an appropriate :set function.
4823 (minibuffer-default--in-prompt-regexps): New function.
4824
4825 2012-11-10 Glenn Morris <rgm@gnu.org>
4826
4827 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4828 (define-modify-macro): Doc fixes.
4829
4830 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4831 (gv-define-simple-setter): Update doc of `fix-return'.
4832
4833 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4836 twice when `fix-return' is set (bug#12813).
4837
4838 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4839 gv-define-simple-setter (bug#12812).
4840
4841 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4842 (bug#12756).
4843
4844 2012-11-10 Glenn Morris <rgm@gnu.org>
4845
4846 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4847
4848 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4849 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4850 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4851 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4852
4853 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4854
4855 2012-11-10 Leo Liu <sdl.web@gmail.com>
4856
4857 * ido.el (ido-set-matches-1): Improve flex matching performance by
4858 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4859
4860 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4863 (ad--defalias-fset): New function.
4864 (ad-safe-fset): Remove.
4865 (ad-make-freeze-definition): Use cl-letf*.
4866
4867 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * subr.el (dolist): Don't bind VAR in RESULT.
4870
4871 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4872 (fset, documentation): Don't save real def since we don't advise.
4873 (ad-do-advised-functions): Remove problematic `result-form'.
4874 (ad-safe-fset): `ad-real-fset' => `fset'.
4875 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4876 uses CL's dolist internally.
4877 (ad-arglist): Remove unused arg `name'.
4878 (ad-docstring, ad-make-advised-docstring):
4879 `ad-real-documentation' => `documentation'.
4880 (warning-suppress-types): Declare.
4881 (ad-set-arguments): Simple CSE.
4882 (ad-recover-normality): Sanity check.
4883
4884 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4885 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4886
4887 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4888
4889 * ses.el: symbol to coordinate mapping is made by symbol property
4890 `ses-cell'. This means that the same mapping is done for all SES
4891 sheets. That is good enough for cells with standard A1 names, but
4892 not for named cell. So a hash map is added for the latter.
4893 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4894 (ses-sym-rowcol): Use hashmap for named cell.
4895 (ses-is-cell-sym-p): New defun.
4896 (ses-decode-cell-symbol): New defun.
4897 (ses-create-cell-variable): Add cell to hashmap when name is not
4898 A1-like.
4899 (ses-rename-cell): Check that cell new name is not already in
4900 spreadsheet with the use of ses-is-cell-sym-p
4901 (ses-rename-cell): Use hash map for named cells, but accept also
4902 renaming back to A1-like.
4903
4904 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * emacs-lisp/advice.el: Use new dynamic docstrings.
4907 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4908 Use dynamic-docstring-function instead of ad-advice-info.
4909 (ad--make-advised-docstring): New function extracted from
4910 ad-make-advised-docstring.
4911 (ad-make-advised-docstring): Use it.
4912 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4913 from sql-help.
4914 (sql-help): Use it with dynamic-docstring-function.
4915
4916 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4917
4918 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * files.el (hack-one-local-variable--obsolete): New function.
4921 (hack-one-local-variable): Use it for obsolete settings.
4922
4923 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4924 the new name.
4925
4926 * progmodes/js.el (js--filling-paragraph): New var.
4927 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4928 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4929 less sneaky.
4930
4931 2012-11-08 Julien Danjou <julien@danjou.info>
4932
4933 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4934 `auto-mode-alist' (Bug#12835).
4935
4936 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4937
4938 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4939 (perl--prettify-symbols-alist): New const.
4940 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4941 New functions.
4942 (perl-font-lock-keywords-2): Use them.
4943 (perl-electric-noindent-p): New function.
4944 (perl-mode): Use it to set up electric-indent-mode.
4945 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4946 (perl-mode-map): Remove bindings for them.
4947 (perl-imenu-generic-expression, perl-outline-level):
4948 Match functions&packages in column>0.
4949
4950 * env.el (env--substitute-vars-regexp): New const.
4951 (substitute-env-vars): Use it. Add `only-defined' arg.
4952 * net/tramp.el (tramp-replace-environment-variables): Use it.
4953
4954 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4955 Byte-compile *before* eval in eval-and-compile.
4956 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4957 (byte-compile-file-form-autoload): Don't hide actual definition.
4958 (byte-compile-maybe-guarded): Accept `functionp' as well.
4959
4960 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4961
4962 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4963
4964 * notifications.el (notifications-get-server-information-method):
4965 New defconst.
4966 (notifications-get-capabilities): Fix docstring.
4967 (notifications-get-server-information): New defun.
4968
4969 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4970
4971 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4972 readability.
4973
4974 * textmodes/ispell.el: Experimental support for support debugging.
4975 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4976 buffer for ispell.
4977 (ispell-print-if-debug): New function to print stuff to
4978 `ispell-debug-buffer' if debugging is enabled.
4979 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4980 show some debugging info.
4981 (ispell-buffer-with-debug): New function that creates a debugging
4982 buffer and calls `ispell-buffer' with debugging enabled.
4983
4984 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4985 comment in autoconf mode. (Bug#12768)
4986
4987 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4988
4989 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4990 frame-first-window, frame-root-window, frame-selected-window,
4991 minibuffer-selected-window, minibuffer-window,
4992 window-absolute-pixel-edges, window-at, window-body-height,
4993 window-body-width, window-display-table, window-combination-limit,
4994 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4995 window-inside-edges, window-inside-pixel-edges, window-left-child,
4996 window-left-column, window-margins, window-next-buffers,
4997 window-next-sibling, window-new-normal, window-new-total,
4998 window-normal-size, window-parameter, window-parameters, window-parent,
4999 window-pixel-edges, window-point, window-prev-buffers,
5000 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5001 window-start, window-text-height, window-top-child, window-top-line,
5002 window-total-height, window-total-width and window-use-time to the list
5003 of functions without side-effects.
5004 (toplevel): Add window-valid-p to the list of error-free functions
5005 without side-effects.
5006
5007 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5008
5009 * textmodes/ispell.el (ispell-program-name):
5010 Update spellchecker parameters when customized.
5011
5012 2012-11-04 Glenn Morris <rgm@gnu.org>
5013
5014 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5015
5016 2012-11-04 Chong Yidong <cyd@gnu.org>
5017
5018 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5019 same-window-* variables.
5020
5021 2012-11-04 Juri Linkov <juri@jurta.org>
5022
5023 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5024 (isearch-describe-key, isearch-describe-mode): Use a display
5025 action instead of binding same-window-* variables (Bug#10040).
5026
5027 2012-11-03 Glenn Morris <rgm@gnu.org>
5028
5029 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5030 Rename handler properties back from cl-- to cl-. (Bug#12788)
5031
5032 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5033
5034 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5035
5036 * term/pc-win.el: Don't load term/internal from here.
5037
5038 * loadup.el: Load term/internal from here.
5039
5040 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5041
5042 * progmodes/python.el (inferior-python-mode): Fix hang in
5043 jit-lock (Bug#12645).
5044
5045 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5046
5047 * window.el (switch-to-visible-buffer)
5048 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5049
5050 2012-11-03 Glenn Morris <rgm@gnu.org>
5051
5052 * emacs-lisp/cl-lib.el (cl--random-time):
5053 Rename from cl-random-time. (Bug#12773)
5054 (cl--gensym-counter, cl--random-state): Update callers.
5055 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5056
5057 2012-11-03 Chong Yidong <cyd@gnu.org>
5058
5059 * cus-start.el: Make cursor-type customizable (Bug#11633).
5060
5061 2012-11-02 Glenn Morris <rgm@gnu.org>
5062
5063 * filecache.el: No need to load find-lisp when compiling.
5064 (find-lisp-find-files): Autoload it.
5065 (file-cache-add-directory-recursively): Don't require find-lisp.
5066
5067 * image.el (image-type-from-file-name): Trivial simplification.
5068
5069 * emacs-lisp/bytecomp.el (byte-compile-eval):
5070 Decouple "noruntime" and "cl-functions" warnings.
5071
5072 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5073
5074 * play/gomoku.el (gomoku-display-statistics): Update mode line
5075 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5076
5077 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5078
5079 * window.el (quit-restore-window): If the window has been
5080 created on an existing frame and ended up as the sole window on
5081 that frame, do not delete it (Bug#12764).
5082
5083 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5086 Rename from sh--inside-arithmetic-expression, handle more cases
5087 (bug#11263).
5088
5089 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5090 (sh-font-lock-open-heredoc): Use it (bug#12770).
5091
5092 2012-10-30 Glenn Morris <rgm@gnu.org>
5093
5094 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5095
5096 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5097
5098 2012-10-29 Chong Yidong <cyd@gnu.org>
5099
5100 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5101 function key is stored in a keyboard macro (Bug#4894).
5102
5103 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5104
5105 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5108 header comments".
5109 (diff-unified->context, diff-context->unified)
5110 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5111
5112 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5113
5114 * files.el (find-alternate-file): Only ask one question (bug#12487).
5115
5116 2012-10-29 Chong Yidong <cyd@gnu.org>
5117
5118 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5119 Suggested by Dan Nicolaescu (Bug#6326).
5120
5121 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5122
5123 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5124
5125 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5126
5127 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5128
5129 * face-remap.el (face-remap-add-relative): Handle the case where a
5130 face-remapping-alist entry is a cons cell (Bug#12762).
5131
5132 2012-10-29 Kevin Ryde <user42@zip.com.au>
5133
5134 * woman.el (woman-parse-numeric-value): Handle picas correctly
5135 (Bug#12639).
5136
5137 2012-10-29 Glenn Morris <rgm@gnu.org>
5138
5139 * emacs-lisp/cl.el (defsetf): Doc fix.
5140
5141 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5144 syntax to the matching opener, if any (bug#12547).
5145 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5146 matching open as a "case-(".
5147 (sh-smie-rc-grammar): Add a corresponding rule for it.
5148
5149 2012-10-28 Daniel Hackney <dan@haxney.org>
5150
5151 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5152 "PKGNAME-autoloads.el" in case we created it.
5153
5154 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5157 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5158 (completion--twq-all): Disable too-strict assertions.
5159
5160 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5161
5162 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5163
5164 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5165 text to match the real keybindings.
5166
5167 2012-10-27 Juri Linkov <juri@jurta.org>
5168
5169 * wdired.el (wdired-keep-marker-rename): New defcustom.
5170 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5171 (Bug#11795)
5172
5173 * dired.el (dired-keep-marker-rename): Add reference to
5174 `wdired-keep-marker-rename' in the docstring.
5175 Add default character value ?R to display initially in
5176 Customization UI instead of ?@.
5177
5178 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5179
5180 * window.el (display-buffer): In doc-string describe
5181 window-height and window-width alist entries.
5182
5183 * time.el (display-time-world): Restore fit-window-to-buffer
5184 behavior.
5185
5186 2012-10-27 Chong Yidong <cyd@gnu.org>
5187
5188 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5189
5190 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5191
5192 * minibuffer.el (completion-category-overrides): New completion
5193 category `bookmark' (bug#11131).
5194
5195 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5198 Silence bogus compiler warnings for ad-do-it.
5199
5200 * bookmark.el (bookmark-completing-read): Set the completion category
5201 to `bookmark' (bug#11131).
5202
5203 2012-10-26 Bastien <bzg@altern.org>
5204 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * face-remap.el: Use lexical-binding.
5207 (text-scale-adjust): Improve docstring. Use itself for the temporary
5208 overlay-map bindings, so as to repeat the "Use..." message each time.
5209
5210 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/macroexp.el (macroexp--expand-all):
5213 Obey byte-compile-warning-enabled-p (bug#12486).
5214
5215 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5216 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5217
5218 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5219
5220 * mouse.el (mouse-drag-line): Move last form into preceding when
5221 clause (Bug#12731).
5222
5223 * help.el (resize-temp-buffer-window): Fix doc-string.
5224
5225 2012-10-25 David Engster <deng@randomsample.de>
5226
5227 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5228 Remove. This feature is already integrated in imenu.
5229
5230 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5231 always loaded. Require `speedbar' unconditionally.
5232
5233 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5236
5237 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5238
5239 * net/ldap.el (ldap-search-internal): The official ldif format starts
5240 with a "version: 1" header (bug#12724).
5241
5242 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5243 (bug#12721).
5244
5245 2012-10-25 Glenn Morris <rgm@gnu.org>
5246
5247 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5248
5249 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * minibuffer.el (minibuffer-force-complete): Use one more marker
5252 for the temporary-overlay-map command (bug#12619).
5253
5254 2012-10-24 Chong Yidong <cyd@gnu.org>
5255
5256 * time.el (display-time-world-mode): Derive from special-mode.
5257 (display-time-world): Use display-buffer (Bug#12708).
5258 (display-time-world-mode-map): Variable deleted.
5259 (display-time-world-display): Wrap the final delete-char inside
5260 inhibit-read-only.
5261
5262 2012-10-24 Chong Yidong <cyd@gnu.org>
5263
5264 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5265 Doc fix.
5266
5267 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5268
5269 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * minibuffer.el (completion--all-sorted-completions-location): New var.
5272 (completion--cache-all-sorted-completions)
5273 (completion--flush-all-sorted-completions): Use it.
5274 (completion-in-region, completion-in-region--postch)
5275 (completion-at-point, completion-help-at-point): Use markers in
5276 completion-in-region--data (bug#12619).
5277
5278 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * progmodes/compile.el (compilation-start): Try to handle common
5281 quoting of `cd' argument (bug#12640).
5282
5283 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5284 (bug#12671).
5285
5286 2012-10-23 Glenn Morris <rgm@gnu.org>
5287
5288 * progmodes/gud.el (gud-menu-map):
5289 Check gdb-active-process is bound. (Bug#12358)
5290
5291 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * repeat.el (repeat): Set real-this-command (bug#12232).
5294
5295 * htmlfontify.el (hfy-post-html-hook):
5296 * filesets.el (filesets-cache-fill-content-hook):
5297 * arc-mode.el (archive-extract-hook):
5298 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5299 * net/rcirc.el (rcirc-sentinel-functions)
5300 (rcirc-receive-message-functions, rcirc-activity-functions)
5301 (rcirc-print-functions):
5302 * net/dbus.el (dbus-event-error-functions):
5303 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5304 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5305 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5306 * term/sun.el (sun-raw-prefix-hooks):
5307 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5308
5309 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5310
5311 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5312 Set `tramp-chunksize' to 1. This improves the performance.
5313 (tramp-smb-wait-for-output): Add timeout to
5314 `tramp-accept-process-output' calls.
5315
5316 2012-10-23 Chong Yidong <cyd@gnu.org>
5317
5318 * faces.el (font-list-limit): Define as an obsolete variable.
5319
5320 * startup.el (command-line):
5321 * cus-start.el: Don't refer to font-list-limit.
5322
5323 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5324
5325 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * subr.el (internal-temp-output-buffer-show): Rename from
5328 temp-output-buffer-show, since previously compiled files expect this name.
5329
5330 2012-10-23 Glenn Morris <rgm@gnu.org>
5331
5332 * image.el (image-type-from-file-name): If multiple types match,
5333 return the first one that is supported. (Bug#9045)
5334
5335 2012-10-22 Glenn Morris <rgm@gnu.org>
5336
5337 * image.el (imagemagick-enabled-types): Doc fix.
5338
5339 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5340
5341 * progmodes/which-func.el (which-func-current): The hash-table may have
5342 an explicit nil (bug#12338).
5343
5344 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * electric.el (electric-pair-delete-selection-self-insert-function):
5347 Rename to electric-pair-will-use-region, return a boolean.
5348 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5349
5350 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5351 (delete-selection-pre-hook): Use use-region-p.
5352 (delete-selection-self-insert-function): Remove.
5353 (self-insert-command): Obey self-insert-uses-region-functions.
5354 (self-insert-iso): Revert to previous setting, since we don't actually
5355 know what that command does.
5356 (delete-selection-self-insert-hooks): Remove.
5357
5358 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5359
5360 * delsel.el (delete-selection-helper): New function, extracted from
5361 delete-selection-pre-hook.
5362 (delete-selection-pre-hook): Use it.
5363 (delete-selection-self-insert-function): New function.
5364 (delete-selection-self-insert-hooks): New hook.
5365 (self-insert-command, self-insert-iso): Use it.
5366 * electric.el (electric-pair-syntax): New function, extracted from
5367 electric-pair-post-self-insert-function.
5368 (electric-pair-post-self-insert-function): Use it.
5369 (electric-pair-delete-selection-self-insert-function): New function.
5370 (electric-pair-mode): Require delsel and setup
5371 delete-selection-self-insert-hooks (bug#11520).
5372
5373 2012-10-20 Chong Yidong <cyd@gnu.org>
5374
5375 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5376 no changes to show (Bug#12586).
5377
5378 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5379 list explicitly (Bug#12571).
5380
5381 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5382
5383 * progmodes/flymake.el (flymake-create-temp-inplace):
5384 Use file-truename.
5385
5386 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5387
5388 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5389
5390 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5391
5392 * calc/calc-units.el (math-extract-units): Properly extract powers
5393 of units.
5394
5395 2012-10-20 Daniel Colascione <dancol@dancol.org>
5396
5397 * frame.el (make-frame): Set x-display-name as we used to in order
5398 to unbreak creating an X11 frame from an Emacs daemon started
5399 without a display.
5400
5401 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5404 the same completion-field (bug#12221).
5405
5406 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5407
5408 * emacs-lisp/debug.el (debug): Record height of debugger window
5409 also when debugger will be back (Bug#8789).
5410
5411 2012-10-18 Chong Yidong <cyd@gnu.org>
5412
5413 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5414 Convert to defcustom.
5415 (gdb-get-source-file): Don't bind pop-up-windows.
5416
5417 * progmodes/gud.el (gud-display-line): Don't specially re-use
5418 other frames for the gdb-mi case (Bug#12648).
5419
5420 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * emacs-lisp/advice.el: Clean up commentary a bit.
5423 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5424 (byte-code-function-p): Never redefine.
5425
5426 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5427
5428 2012-10-18 Glenn Morris <rgm@gnu.org>
5429
5430 * dired.el (dired-sort-toggle): Some ls implementations only allow
5431 a single option string. (Bug#12666)
5432
5433 * minibuffer.el (completion-cycle-threshold): Doc fix.
5434
5435 2012-10-17 Kenichi Handa <handa@gnu.org>
5436
5437 * international/mule.el (set-keyboard-coding-system):
5438 Recover input meta mode when the new coding system doesn not use 8-bit.
5439 Supply TERMINAL arg to set-input-meta-mode.
5440
5441 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5442
5443 * wdired.el (wdired-old-marks): New variable.
5444 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5445 (wdired-do-renames): Move point with renamed file and don't lose
5446 mark status (Bug#11795).
5447
5448 2012-10-16 Juri Linkov <juri@jurta.org>
5449
5450 * replace.el (query-replace-help): Mention multi-buffer replacement
5451 keys in the Help message. (Bug#12655)
5452
5453 2012-10-15 Chong Yidong <cyd@gnu.org>
5454
5455 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5456
5457 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5458
5459 * window.el (display-buffer): Doc fix.
5460
5461 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5462 Adjust the msft regexp to the output of Studio 2010, and move msft
5463 before edg-1. See the discussion on emacs-devel,
5464 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5465 for the details.
5466
5467 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5470 (oset): Move uses of object-class-fast macro after its definition.
5471
5472 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5473
5474 2012-10-13 Chong Yidong <cyd@gnu.org>
5475
5476 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5477 enabled, re-enable it (Bug#11963).
5478
5479 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5480
5481 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5482 non-nil, restore window configuration (Bug#12623).
5483
5484 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * help-fns.el (describe-variable, describe-function-1):
5487 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5488
5489 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5490
5491 2012-10-12 Glenn Morris <rgm@gnu.org>
5492
5493 * mail/rmailsum.el (rmail-header-summary):
5494 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5495
5496 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5497
5498 * progmodes/python.el (python-mode-map):
5499 Replace subtitute-key-definition with proper command remapping.
5500 (python-nav--up-list): Fix behavior for blocks on the same level.
5501
5502 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5505
5506 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5507 changes to the format of load-history.
5508
5509 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5510 completion-ignore-case in case that var is buffer-local (bug#12615).
5511
5512 2012-10-11 Kenichi Handa <handa@gnu.org>
5513
5514 * international/eucjp-ms.el: Re-generated.
5515
5516 2012-10-10 Kenichi Handa <handa@gnu.org>
5517
5518 * select.el (xselect--encode-string): If a coding is specified for
5519 selection, and that is compatible with COMPOUND_TEXT, use it.
5520
5521 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (switch-to-buffer-preserve-window-point): New option.
5524 (switch-to-buffer):
5525 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5526
5527 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5530 Don't document nil as a useful value (bug#12583).
5531
5532 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5533
5534 * net/tramp.el (tramp-debug-message):
5535 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5536 (with-tramp-progress-reporter): Rename from
5537 `tramp-with-progress-reporter'.
5538 (with-tramp-file-property, with-tramp-connection-property):
5539 Move from tramp-cache.el, rename from `with-file-property' and
5540 `with-connection-property', respectively.
5541
5542 * net/tramp-cache.el: Remove `with-file-property' and
5543 `with-connection-property'.
5544
5545 * net/tramp.el:
5546 * net/tramp-gvfs.el:
5547 * net/tramp-sh.el:
5548 * net/tramp-smb.el: Adapt callees.
5549
5550 * net/trampver.el: Update release number.
5551
5552 2012-10-09 Glenn Morris <rgm@gnu.org>
5553
5554 * w32-fns.el (set-message-beep):
5555 * term/w32-win.el (set-message-beep): Update declarations.
5556
5557 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5560 (mode-line-widen, mode-line-input-method-map)
5561 (mode-line-coding-system-map, mode-line-remote)
5562 (mode-line-unbury-buffer, mode-line-bury-buffer)
5563 (mode-line-next-buffer, mode-line-previous-buffer):
5564 Replace save-selected-window+select-window => with-selected-window.
5565
5566 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5567 * progmodes/cc-vars.el (bq-process): Remove, unused.
5568
5569 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5570
5571 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5572
5573 Implemented `backward-up-list'-like navigation.
5574 * progmodes/python.el (python-nav-up-list)
5575 (python-nav-backward-up-list): New functions.
5576 (python-mode-map): Define substitute key for backward-up-list to
5577 python-nav-backward-up-list.
5578
5579 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5580
5581 * progmodes/python.el (python-fill-paragraph): Rename from
5582 python-fill-paragraph-function. Fixed fill-paragraph for
5583 decorators (Bug#12605).
5584
5585 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5586
5587 * progmodes/python.el (python-shell-output-filter): Handle extra
5588 carriage return in OSX (Bug#12409).
5589
5590 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5591
5592 Fix shell handling of unbalanced quotes and parens in output.
5593 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5594 (python-syntax-propertize-function): Use it.
5595 (python-shell-output-syntax-table): New var.
5596 (inferior-python-mode): Prevent unbalanced parens/quotes from
5597 previous output mess with current input context.
5598
5599 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5600
5601 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5602 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5603
5604 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5605
5606 * ffap.el (ffap-replace-file-component): Support Tramp file name
5607 syntax, not only ange-ftp's one.
5608
5609 2012-10-08 Glenn Morris <rgm@gnu.org>
5610
5611 * cus-start.el (message-log-max): Set :version.
5612
5613 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5614
5615 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5616
5617 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5618 the minibuffer window (Bug#10851).
5619
5620 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5621
5622 Enhancements on forward-sexp movement.
5623 * progmodes/python.el (python-nav-beginning-of-statement)
5624 (python-nav-end-of-statement): Return point-marker.
5625 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5626 (python-info-current-symbol)
5627 (python-info-statement-starts-block-p): Rename from
5628 python-info-beginning-of-block-p.
5629 (python-info-statement-ends-block-p): Rename from
5630 python-info-end-of-block-p.
5631 (python-info-beginning-of-statement-p)
5632 (python-info-end-of-statement-p)
5633 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5634 New functions.
5635
5636 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5639 frame-selected-windows.
5640
5641 2012-10-08 Daniel Colascione <dancol@dancol.org>
5642
5643 * battery.el (battery-status-function): Check for
5644 w32-battery-status itself, not system-time windows-nt.
5645
5646 * frame.el: Require cl-lib.
5647 (display-format-alist): New variable mapping frame types to
5648 functions that initialize them.
5649 (window-system-for-display): New function: interprets
5650 display-format-alist.
5651 (make-frame-on-display): Remove existing display-selection logic
5652 and just forward to make-frame, which will now DTRT.
5653 (make-frame): Restructure to use window-system-for-display to
5654 figure out how to create a frame on a given display.
5655 (display-mouse-p): Look for frame-type w32, not a particular
5656 system-type.
5657
5658 * loadup.el: Load w32 lisp code when we have the w32 feature.
5659
5660 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5661 system-type windows-nt.
5662
5663 * server.el (server-create-window-system-frame): Look for window
5664 type.
5665 (server-proces-filter): Only force a window system when windows-nt
5666 _and_ w32. Explain why.
5667
5668 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5669 of window systems we configure for the mode.
5670
5671 * startup.el (command-line): Mark window system is initialized
5672 after we've done it.
5673
5674 * common-win.el (x-select-text): Look for w32, not windows-nt.
5675
5676 * ns-win.el: Require cl-lib. Add ourselves to
5677 display-format-alist.
5678 (ns-initialize-window-system): Assert we're not initialized twice.
5679
5680 * w32-win.el: Enable lexical binding; require cl-lib; add
5681 ourselves to display-format-alist.
5682 (w32-handle-dropped-file): Convert incoming dropped files from
5683 Windows paths to Cygwin ones before passing them on to the rest of
5684 Emacs.
5685 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5686 (w32-initialize-window-system): Assert we're not initialized twice.
5687
5688 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5689 (x-initialize-window-system): Assert we're not initialized twice.
5690
5691 * w32-common-fns.el: New File.
5692 (w32-version, w32-using-nt, w32-get-clipboard-data)
5693 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5694 (w32-charset-info-alist, x-last-selected, text)
5695 (x-get-selection-value, x-selection-value): Move here.
5696
5697 * w32-fns.el: Require w32-common-fns.
5698 (w32-version, w32-using-nt, w32-get-clipboard-data)
5699 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5700 (w32-charset-info-alist, x-last-selected, text)
5701 (x-get-selection-value, x-selection-value): Move to
5702 w32-common-fns.
5703
5704 * w32-vars.el:
5705 (w32-allow-system-shell, w32-system-shells): Define only in
5706 non-cygwin case.
5707
5708 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5711 (read-passwd): Remove a few more potential sources of leaks.
5712
5713 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5714
5715 * progmodes/python.el (inferior-python-mode)
5716 (python-shell-make-comint): Fix initialization of local
5717 variables copied from parent buffer.
5718
5719 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5720
5721 * term/ns-win.el (ns-read-file-name): Update declaration to match
5722 nsfns.m.
5723 (ns-respond-to-change-font): Change fontsize separately so we are sure
5724 it is set when font is acted upon.
5725
5726 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5727
5728 Enhancements to indentation.
5729 * progmodes/python.el (python-indent-context): Give priority to
5730 inside-string context. Make comments indentation markers.
5731 (python-indent-region): Do not mess with strings, unless it's the
5732 enclosing set of quotes.
5733
5734 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * window.el (internal--before-save-selected-window)
5737 (internal--after-save-selected-window): New functions extracted from
5738 save-selected-window. Make sure we return the `alist' we construct.
5739 (save-selected-window): Use them.
5740
5741 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5742 Use with-selected-window.
5743
5744 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5745 forms that define macros (bug#12593).
5746
5747 2012-10-07 Kenichi Handa <handa@gnu.org>
5748
5749 * international/mule-conf.el (compound-text-with-extensions):
5750 Add :mime-charset property as x-ctext.
5751
5752 2012-10-07 Stefan Merten <smerten@oekonux.de>
5753
5754 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5755 (rst-indent-literal-normal, rst-indent-literal-minimized)
5756 (rst-indent-comment): Correct :version tag.
5757 (rst-official-cvs-rev): Correct version string.
5758
5759 2012-10-07 Glenn Morris <rgm@gnu.org>
5760
5761 * mail/rmailmm.el (rmail-mime-process-multipart):
5762 Do not confuse a multipart message with an epilogue
5763 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5764
5765 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5766
5767 Fix shell output retrieval and comint-prompt-regexp init.
5768 * progmodes/python.el (inferior-python-mode):
5769 (python-shell-make-comint): Fix initialization of
5770 comint-prompt-regexp from copied file local variables.
5771 (python-shell-fetched-lines): Remove var.
5772 (python-shell-output-filter-in-progress): Rename from
5773 python-shell-fetch-lines-in-progress.
5774 (python-shell-output-filter-buffer): Rename from
5775 python-shell-fetch-lines-string.
5776 (python-shell-fetch-lines-filter): Delete function.
5777 (python-shell-output-filter): New function.
5778 (python-shell-send-string-no-output): Use them.
5779
5780 2012-10-07 Glenn Morris <rgm@gnu.org>
5781
5782 * hi-lock.el (hi-lock-process-phrase):
5783 Try to make it less fragile. (Bug#7161)
5784
5785 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5786
5787 2012-10-06 Glenn Morris <rgm@gnu.org>
5788
5789 * ehelp.el (electric-help-mode): Use help-mode rather than
5790 non-existent mode `help'.
5791 (electric-help-map): Use button-buffer-map. (Bug#10917)
5792
5793 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5794 (reftex-create-bibtex-footer): Fix custom types.
5795
5796 * progmodes/sh-script.el (sh-indent-after-continuation):
5797 Add explicit :group.
5798
5799 * textmodes/rst.el (rst-preferred-decorations)
5800 (rst-shift-basic-offset): Clarify obsolescence versions.
5801
5802 * profiler.el (profiler): Add missing group :version tag.
5803 * avoid.el (mouse-avoidance-banish-position):
5804 * proced.el (proced-renice-command):
5805 * calc/calc.el (calc-ensure-consistent-units):
5806 * calendar/icalendar.el (icalendar-import-format-uid):
5807 * net/tramp.el (tramp-save-ad-hoc-proxies):
5808 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5809 * progmodes/flymake.el (flymake-error-bitmap)
5810 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5811 * progmodes/sh-script.el (sh-indent-after-continuation):
5812 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5813 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5814 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5815 (vhdl-array-index-record-field-in-sensitivity-list)
5816 (vhdl-indent-comment-like-next-code-line):
5817 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5818 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5819 (reftex-cite-key-separator, reftex-create-bibtex-header)
5820 (reftex-create-bibtex-footer):
5821 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5822 (rst-indent-literal-normal, rst-indent-literal-minimized)
5823 (rst-indent-comment): Add missing custom :version tags.
5824
5825 * calendar/timeclock.el (timeclock-modeline-display):
5826 Add missing obsolete alias for renamed user option.
5827
5828 * strokes.el (strokes-modeline-string):
5829 * emulation/crisp.el (crisp-mode-modeline-string):
5830 * eshell/esh-mode.el (eshell-status-in-modeline):
5831 Aliases to defcustoms must come before the defcustom.
5832
5833 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5834 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5835 (cal-tex-cursor-week-monday): Doc fixes.
5836 (cal-tex-cursor-week2-summary): Doc fix.
5837 Rename from cal-tex-cursor-week-at-a-glance.
5838
5839 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5840 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5841
5842 * calendar/calendar.el (calendar-mode-map):
5843 Add cal-tex-cursor-week2-summary.
5844
5845 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5848
5849 * subr.el (read-passwd-map): New var.
5850 (read-passwd): Use `read-string' again.
5851 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5852
5853 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5854
5855 * register.el (append-to-register, prepend-to-register):
5856 Deactivate mark, as does `copy-to-register' (bug#12389).
5857
5858 2012-10-06 Chong Yidong <cyd@gnu.org>
5859
5860 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5861
5862 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5863
5864 * international/characters.el: Fix simple mistake ((car chars) ->
5865 elt), delete duplicated code.
5866
5867 2012-10-06 Glenn Morris <rgm@gnu.org>
5868
5869 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5870
5871 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5872
5873 * color.el (color-hsl-to-rgb): Fix incorrect results for
5874 small and large hue values. (Bug#12559)
5875
5876 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5877
5878 Enhancements to docstring formatting when filling paragraphs.
5879 * progmodes/python.el (python-fill-docstring-style): Rename from
5880 python-fill-string-style. Added new style.
5881 (python-fill-string): Use new style. Better checks for
5882 docstrings.
5883
5884 2012-10-05 Glenn Morris <rgm@gnu.org>
5885
5886 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5887
5888 * color.el (color-name-to-rgb, color-rgb-to-hex)
5889 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5890 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5891 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5892 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5893
5894 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5895
5896 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5897
5898 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5899 to get the correct size across symlinks.
5900
5901 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5902
5903 2012-10-04 Juri Linkov <juri@jurta.org>
5904
5905 * replace.el (query-replace-interactive): Declare obsolete.
5906 (query-replace-read-from): Add the last incremental search string
5907 to the list of default values accessible via M-n.
5908 (map-query-replace-regexp): Use `read-regexp'.
5909 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5910 (map-query-replace-regexp, replace-string, replace-regexp):
5911 Fix docstrings to replace mentions of `query-replace-interactive'
5912 with alternatives. (Bug#12526)
5913
5914 2012-10-04 Juri Linkov <juri@jurta.org>
5915
5916 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5917 (dired-pop-to-buffer): Declare obsolete.
5918 (dired-mark-pop-up): Doc fix.
5919
5920 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5921
5922 Allow user to set docstring style for fill-paragraph.
5923 * progmodes/python.el
5924 (python-fill-comment-function, python-fill-string-function)
5925 (python-fill-decorator-function, python-fill-paren-function):
5926 Remove :safe for defcustoms.
5927 (python-fill-string-style): New defcustom
5928 (python-fill-paragraph-function): Enhance context detection.
5929 (python-fill-string): Honor python-fill-string-style settings.
5930
5931 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5932
5933 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5934 after setting its buffer (Bug#10805).
5935
5936 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5937
5938 Fix cornercase for string syntax.
5939 * progmodes/python.el (python-syntax-propertize-function):
5940 Simplify and enhance the regexp for unescaped quotes. Now it also
5941 matches quotes in weird situations like the single quote in
5942 "something\"'".
5943 (python-syntax-stringify): Simplify num-quotes detecting code.
5944
5945 2012-10-03 Glenn Morris <rgm@gnu.org>
5946
5947 * help-macro.el (three-step-help):
5948 Revert 2012-09-29 change. (Bug#12567)
5949
5950 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5951
5952 * menu-bar.el (kill-this-buffer): Don't do anything when
5953 `menu-frame' is not alive or visible (Bug#8184).
5954
5955 * emacs-lisp/debug.el (debug): When quitting the debugger window
5956 restore current buffer (Bug#12502).
5957
5958 2012-10-02 Chong Yidong <cyd@gnu.org>
5959
5960 * progmodes/hideif.el (hif-lookup, hif-defined):
5961 Handle semantic-c-takeover-hideif.
5962
5963 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5964
5965 Change sampling interval units from ms to ns.
5966 * profiler.el (profiler-sampling-interval): Change units
5967 from ms to ns, multiplying the default by 1000000 so that
5968 it remains 1 ms.
5969 (profiler-report-cpu-line-format): Give enough room for
5970 the maximum counters on 64-bit hosts.
5971 (profiler-report-render-calltree-1): Call them "CPU samples",
5972 not "Time (ms)", since they are not milliseconds now (and
5973 never really were).
5974
5975 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5976
5977 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5978 Fix querying BBDB for entries without a last name (Bug#11580).
5979
5980 2012-10-02 Chong Yidong <cyd@gnu.org>
5981
5982 * emacs-lisp/eieio.el: Restore Version header.
5983
5984 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * vc/diff-mode.el (diff--auto-refine-data): New var.
5987 (diff-hunk): Use it to delay refinement.
5988 (diff-mode): Remove overlays when we turn off font-lock.
5989
5990 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5991 (table-initialize-table-fixed-width-mode)
5992 (table-set-table-fixed-width-mode): Remove functions.
5993 (table-command-list): Move initialization into declaration.
5994 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5995 (table-with-cache-buffer): Use `declare'.
5996 (table-span-cell): Simplify via CSE.
5997 (table-fixed-width-mode): Use define-minor-mode.
5998 (table-call-interactively, table-funcall, table-apply): Remove.
5999 (table-function): New function, to replace them.
6000
6001 * bookmark.el (bookmark-search-pattern): Remove var.
6002 (bookmark-read-search-input): Remove function.
6003 (bookmark-bmenu-search): Reimplement using a minibuffer.
6004
6005 * faces.el (modeline): Remove obsolete face name.
6006
6007 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6008 and give a non-nil default value.
6009 (add-change-log-entry): Simplify accordingly.
6010
6011 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6012
6013 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6014 (vc-git-log-edit-toggle-amend): New function.
6015 (vc-git-log-edit-toggle-signoff): New function.
6016 (vc-git-log-edit-mode): New major mode.
6017 (vc-git-log-edit-mode-map): Keymap for it.
6018 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6019
6020 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6021 header names.
6022 (log-edit-toggle-header): New function.
6023 (log-edit-extract-headers): Accept function values in HEADERS alist.
6024
6025 2012-10-01 David Engster <deng@randomsample.de>
6026
6027 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6028 from symbol property and change message to be more consistent with
6029 Emacs proper.
6030 (eieio-describe-generic): Add filename for each implementation.
6031 Fix indices for generic and normal methods.
6032 (eieio-method-def, eieio-class-def): New buttons.
6033 (eieio-help-find-method-definition)
6034 (eieio-help-find-class-definition): New functions.
6035 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6036 class, constructor and method definitions.
6037
6038 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6039 information in symbol property.
6040 (scoped-class): Remove.
6041 (eieio-slot-name-index, call-next-method): Check if it is bound.
6042
6043 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6044
6045 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6046 (eieio-custom-mode): New major mode.
6047 (eieio-customize-object): Use it.
6048
6049 2012-10-01 Eric Ludlam <zappo@gnu.org>
6050
6051 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6052 specifying the expected class, and whether subclassing is allowed.
6053 (eieio-persistent-convert-list-to-object):
6054 (eieio-persistent-validate/fix-slot-value)
6055 (eieio-persistent-slot-type-is-class-p): New functions.
6056 (eieio-named::slot-missing): Doc fix.
6057
6058 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6059 Stop using unused publd variable.
6060
6061 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6062 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6063 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6064 (eieio-speedbar-handle-click): Do not specify a class for the
6065 method. Fixes method invocation order problems with EDE.
6066
6067 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6070 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6071
6072 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6073
6074 * bookmark.el (bookmark-version-control): Give tags in the
6075 :type choices (Bug#12309), and improve doc string.
6076 (bookmark-write-file): Bind `print-circle' to `t' to allow
6077 circular custom bookmark types. (Bug#12503)
6078
6079 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6080
6081 Revert the FOLLOW-SYMLINKS change for file-attributes.
6082 * files.el (remote-file-name-inhibit-cache, after-find-file):
6083 * time.el (display-time-file-nonempty-p): Undo last change.
6084
6085 * profiler.el (profiler-sampling-interval): Change default back to 1.
6086 See Stefan Monnier in
6087 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6088
6089 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6090
6091 Shell output catching a la gud-gdb.
6092 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6093 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6094 New Vars.
6095 (python-shell-fetch-lines-filter): New function.
6096 (python-shell-send-string-no-output): Use them.
6097
6098 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6099
6100 * profiler.el (profiler-sampling-interval): Rename from
6101 profiler-sample-interval.
6102 (profiler-sampling-interval): Default to 10.
6103 (profiler-find-profile): New command (was profiler-find-log).
6104 (profiler-find-profile-other-window): New command.
6105 (profiler-find-profile-other-frame): New command.
6106 (profiler-profile): Introduce API-level data structure.
6107
6108 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6109
6110 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6111 * files.el (remote-file-name-inhibit-cache):
6112 * time.el (display-time-file-nonempty-p): Use it.
6113 * files.el (after-find-file): Don't chase links before calling
6114 file-exists-p, as file-exists-p already does the right thing.
6115
6116 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6117
6118 Merge from standalone RefTeX repository.
6119
6120 The following ChangeLog entries are shortened versions of the
6121 original ones with file paths adapted. A not so strongly edited
6122 version of the original ChangeLog can be found in the commit log.
6123
6124 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6125 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6126 Correctly handle new value type returned by `reftex-citation'.
6127
6128 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6129 that entries with whitespace at various places are found.
6130 Doc fix. Include entries that are cross-referenced from cited entries.
6131 Include @String definitions in the resulting bib file. Add header
6132 and footer defined in `reftex-create-bibtex-header' and
6133 `reftex-create-bibtex-footer'.
6134 (reftex-do-citation): Make it possible again to insert
6135 non-existent entries. Save match data when asking for optional
6136 arguments. Return all keys, not just the first one.
6137 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6138 all citations in the same line.
6139 (reftex-parse-bibtex-entry): Accept additional optional argument
6140 `raw' and keep quotes or braces if it is non-nil. Match fields
6141 containing hyphens besides word constituents.
6142 (reftex-get-string-refs): New function.
6143 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6144 and ask if it should be reread in case it did.
6145 (reftex-pop-to-bibtex-entry)
6146 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6147 entries with spaces or tabs in front of arguments.
6148 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6149 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6150 Match entries containing numbers and symbol constituents.
6151 (reftex-do-citation, reftex-figure-out-cite-format):
6152 Use `reftex-cite-key-separator'.
6153
6154 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6155 (reftex-mouse-view-crossref): Explain why point is set.
6156
6157 * textmodes/reftex-global.el: Whitespace changes.
6158
6159 * textmodes/reftex-index.el: Move provide statement to end of
6160 file.
6161 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6162 (reftex-index-visit-phrases-buffer): Set marker when visiting
6163 buffer. This allows for returning from the phrases file to the
6164 file one was just editing instead of the file where the last
6165 phrases was added from.
6166 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6167 punctuation syntax as it usually is not used as string quote in
6168 TeX-related modes and may occur unmatched. The change also
6169 prevents fontification of quoted content.
6170 (reftex-index-phrases-mode): Use it.
6171
6172 * textmodes/reftex-parse.el (reftex-parse-from-file):
6173 Move backward one char if a `\' was matched after a section macro.
6174 (reftex-parse-from-file): Use beginning of match instead of end as
6175 bound.
6176
6177 * textmodes/reftex-ref.el: Adapt creation of
6178 `reftex-<package>-<macro>' functions to new structure of
6179 `reftex-ref-style-alist'.
6180 (reftex-reference): Use `reftex-ref-style-list' function.
6181 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6182 reference macro if `reftex-ref-macro-prompt' is non-nil.
6183 (reftex-reference): Pass refstyle to `reftex-format-special'.
6184 Determine reference macro by looking at
6185 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6186 Use only one special format function.
6187 (reftex-varioref-vref, reftex-fancyref-fref)
6188 (reftex-fancyref-Fref): Remove definitions. The functions are now
6189 generated from `reftex-ref-style-alist'.
6190 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6191 Remove.
6192 (reftex-format-special): New function.
6193
6194 * textmodes/reftex-sel.el
6195 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6196 of `reftex-ref-style-alist'. Remove code for testing macro type.
6197 (reftex-select-toggle-varioref)
6198 (reftex-select-toggle-fancyref): Remove.
6199 (reftex-select-cycle-ref-style-internal)
6200 (reftex-select-cycle-ref-style-forward)
6201 (reftex-select-cycle-ref-style-backward): New functions.
6202 (reftex-select-label-map): Use `v' and `V' for general cycling
6203 through reference styles. Add `p' for switching between number
6204 and page reference types.
6205
6206 * textmodes/reftex-toc.el (reftex-re-enlarge):
6207 Call `enlarge-window' only if there is something to do because in Emacs
6208 the horizontal version throws an error even if the parameter is 0.
6209
6210 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6211 (reftex-plug-into-AUCTeX): Doc fix.
6212 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6213 string. Adapt to new name.
6214 (reftex-ref-style-alist): Change structure so that it is not
6215 possible to use multiple different package names within a style.
6216 Remove the symbols for symbols for macro type distinction.
6217 Add characters for macro selection.
6218 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6219 (reftex-create-bibtex-footer): New variables.
6220 (reftex-format-ref-function): Mention third argument of special
6221 format function.
6222 (reftex-ref-style-alist, reftex-ref-style-default-list):
6223 New variables.
6224 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6225 to new implementation. Mark as obsolete. Add compatibility code
6226 for honoring the variable values in case they are set.
6227 (reftex-cite-format-builtin, reftex-bibliography-commands):
6228 Add support for ConTeXt.
6229 (reftex-format-ref-function, reftex-format-cite-function):
6230 Fix custom type.
6231 (reftex-cite-key-separator): New variable.
6232
6233 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6234 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6235 `reftex-syntax-table' because parens have to retain their paren
6236 syntax in order for parsing of BibTeX entries like @book(...) to
6237 work.
6238 (reftex-in-comment): Do not error out if `comment-start-skip' is
6239 not set. Deal correctly with escaped comment characters.
6240 (reftex-tie-multifile-symbols): Add doc string.
6241 Initialize `reftex-ref-style-list'.
6242 (reftex-untie-multifile-symbols): Add doc string.
6243 (reftex-add-index-macros): Doc fix.
6244 (reftex-ref-style-activate, reftex-ref-style-toggle)
6245 (reftex-ref-style-list): New functions.
6246 (reftex-mode-menu): Use them. Adapt to new structure of
6247 `reftex-ref-style-alist'.
6248 (reftex-select-with-char): Kill the RefTeX Select buffer when
6249 done.
6250 (reftex-remove-if): New function.
6251 (reftex-erase-all-selection-and-index-buffers)
6252 (reftex-mode-menu): Reference styles are now computed from
6253 `reftex-ref-style-alist'. Fix typo.
6254 (reftex-report-bug): New function.
6255 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6256 algorithms with O(n log n). Introduce optional argument SORT (not
6257 yet used).
6258
6259 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6260
6261 Enhancements for triple-quote string syntax.
6262 * progmodes/python.el (python-syntax-propertize-function):
6263 Match both quote cases in one regexp.
6264 (python-syntax-stringify): Handle matches properly.
6265
6266 2012-09-30 Juri Linkov <juri@jurta.org>
6267
6268 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6269 to nil around the call to `insert' to prevent
6270 directory time modification by lock_file. (Bug#2295)
6271 * tar-mode.el (tar-summarize-buffer): Idem.
6272
6273 2012-09-30 Juri Linkov <juri@jurta.org>
6274
6275 * facemenu.el (list-colors-sort): Add option "Luminance".
6276 (list-colors-sort-key): Implement it.
6277
6278 * vc/diff-mode.el (diff-refine-removed):
6279 * vc/ediff-init.el (ediff-fine-diff-A):
6280 * vc/smerge-mode.el (smerge-refined-removed):
6281 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6282
6283 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6284
6285 * term/ns-win.el (x-file-dialog): New function.
6286
6287 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * ido.el (ido-max-directory-size): Default to nil; the current
6290 default is small for POSIX systems, and impractical on Windows 7
6291 now that lstat returns directory sizes for NTFS.
6292
6293 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6294
6295 In buffer display functions handle window-height/window-width
6296 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6297 * window.el (window--display-buffer): New argument ALIST.
6298 Obey window-height and window-width alist entries.
6299 (window--try-to-split-window): New argument ALIST.
6300 Bind window-combination-limit to t when the window's size shall be
6301 changed and window-combination-limit equals `window-size'.
6302 (display-buffer-in-atom-window)
6303 (display-buffer-in-major-side-window)
6304 (display-buffer-in-side-window, display-buffer-same-window)
6305 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6306 (display-buffer-pop-up-window, display-buffer-below-selected)
6307 (display-buffer-at-bottom, display-buffer-in-previous-window)
6308 (display-buffer-use-some-window): Adjust all callers of
6309 window--display-buffer and window--try-to-split-window.
6310 (fit-frame-to-buffer): New option.
6311 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6312 is non-nil.
6313 (display-buffer-in-major-side-window): Evaluate window-height /
6314 window-width alist entries.
6315
6316 * help.el (temp-buffer-resize-frames)
6317 (temp-buffer-resize-regexps): Remove options.
6318 (temp-buffer-resize-mode): Adjust doc-string.
6319 (resize-temp-buffer-window): Don't consult
6320 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6321 temp-buffer-resize-frames.
6322
6323 * dired.el (dired-mark-pop-up):
6324 Call display-buffer-below-selected with a fit-window-to-buffer alist
6325 entry.
6326
6327 2012-09-30 Chong Yidong <cyd@gnu.org>
6328
6329 * server.el (server-host): Document the security implications.
6330 (server-auth-key): Doc fix.
6331
6332 * startup.el (initial-buffer-choice): Doc fix.
6333
6334 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6335
6336 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6337 restriction change.
6338
6339 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6340
6341 * help-fns.el (help-fns--obsolete): Fix last change.
6342
6343 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6346 (minor-mode-map-alist): Remove redundant code.
6347
6348 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6349 visited in a buffer.
6350 (cvs-insert-visited-file): New function.
6351 (find-file-hook): Use it.
6352
6353 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6354
6355 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6356 chose face.
6357 (log-edit-empty-buffer-p): Don't require a space after a header.
6358
6359 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6360
6361 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6362
6363 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6364 a proper minor-mode.
6365
6366 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6367
6368 2012-09-29 Glenn Morris <rgm@gnu.org>
6369
6370 * winner.el (winner-mode): Remove variable (let define-minor-mode
6371 handle it).
6372 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6373 Doc fixes.
6374 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6375 (winner-mode): Use define-minor-mode.
6376
6377 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6378 the full definition in loaddefs, rather than duplicating it.
6379
6380 * help-macro.el (three-step-help): No need to autoload defcustom.
6381
6382 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6383 (inferior-lisp-program, inferior-lisp-load-command)
6384 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6385 No need to autoload defcustoms.
6386
6387 * hippie-exp.el (hippie-expand-try-functions-list)
6388 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6389 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6390 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6391 (hippie-expand-only-buffers): No need to autoload defcustoms.
6392 * progmodes/vhdl-mode.el (vhdl-line-expand):
6393 Explicitly load hippie-exp, so it does not get autoloaded
6394 while hippie-expand-try-functions-list is let-bound.
6395
6396 2012-09-28 Glenn Morris <rgm@gnu.org>
6397
6398 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6399
6400 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6401 Only "cl.el" counts as cl these days.
6402
6403 2012-09-28 Juri Linkov <juri@jurta.org>
6404
6405 Display archive errors in the echo area instead of inserting
6406 to the file buffer.
6407
6408 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6409 to STDERR-TEST that can be a regexp matching a successful output.
6410 Create a temporary file and redirect stderr to it. Search for
6411 STDERR-TEST in the stderr output and display it in the echo area
6412 if no match is found.
6413 (archive-extract-by-file): New function like
6414 `archive-extract-by-stdout' but extracting archives to files
6415 and looking for successful matches in stdout. Function body is
6416 mostly copied from `archive-rar-extract'.
6417 (archive-rar-extract): Use `archive-extract-by-file'.
6418 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6419
6420 2012-09-28 Leo Liu <sdl.web@gmail.com>
6421
6422 * pcomplete.el (pcomplete-show-completions):
6423 Use minibuffer-message to make pcomplete usable in minibuffer.
6424
6425 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6426
6427 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 * type-break.el: Use lexical-binding.
6430 (type-break-mode): Use define-minor-mode.
6431
6432 * emacs-lisp/pcase.el (pcase--mark-used): New.
6433 (pcase--u1): Use it (bug#12512).
6434
6435 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6436 in load-history with the right file name.
6437
6438 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6439
6440 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6441 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6442 (doc-view-get-bounding-box): Make bounding box slicing work for
6443 ODF and DVI documents.
6444
6445 2012-09-28 Glenn Morris <rgm@gnu.org>
6446
6447 * type-break.el (type-break-mode, type-break-interval)
6448 (type-break-good-rest-interval, type-break-keystroke-threshold):
6449 No need to autoload.
6450 (type-break-good-rest-interval, type-break-keystroke-threshold):
6451 Add :set-after.
6452
6453 2012-09-28 Chong Yidong <cyd@gnu.org>
6454
6455 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6456 Add :version tag.
6457
6458 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6461
6462 2012-09-27 Glenn Morris <rgm@gnu.org>
6463
6464 * faces.el (x-display-name): Declare (for without-x builds).
6465
6466 * linum.el (linum-format): Don't autoload it. Improve :type.
6467
6468 * progmodes/tcl.el: Don't require outline when compiling.
6469 (outline-regexp, outline-level): Declare.
6470 * textmodes/sgml-mode.el: Don't require outline when compiling.
6471 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6472
6473 * term.el (term-ansi-reset):
6474 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6475
6476 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6477 files for RCS and SCCS. (Bug#9781)
6478
6479 2012-09-27 Chong Yidong <cyd@gnu.org>
6480
6481 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6482 change; value should be t.
6483
6484 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * image-mode.el: Use lexical-binding.
6487 (image-mode-winprops): Use t to stand for the window of
6488 a buffer that's not displayed.
6489 * doc-view.el (doc-view-new-window-function): Handle the new
6490 t in winprops.
6491 (doc-view-enlarge): Make it a real nop if the size is not changed.
6492 (doc-view-display): Handle the case where the buffer is not (yet?)
6493 displayed in any window.
6494 (doc-view-saved-settings): New var.
6495 (doc-view-mode): Use it.
6496 (doc-view-fallback-mode): Set it.
6497
6498 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6499 Set lexical-binding.
6500 (minibuffer-eldef-shorten-default): New var.
6501 (minibuffer-default-in-prompt-regexps): Use it for new default.
6502 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6503
6504 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6505
6506 * international/uni-bidi.el:
6507 * international/uni-category.el:
6508 * international/uni-name.el:
6509 * international/uni-numeric.el: Regenerate.
6510
6511 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6512 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * profiler.el: New file.
6515
6516 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6519 (testcover-reinstrument): Simplify with CSE.
6520
6521 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6522
6523 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6524
6525 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6526
6527 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6528 (verilog-auto-input, verilog-auto-insert-lisp)
6529 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6530 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6531 (verilog-auto-unused, verilog-auto-wire)
6532 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6533 newline. Reported by Andrew Jones.
6534 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6535 Reported by Brad Dobbie.
6536 (verilog-batch-delete-trailing-whitespace):
6537 Create verilog-batch-delete-trailing-whitespace.
6538 Reported by Brad Dobbie.
6539 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6540 parameters from another module. Reported by Dan Katz.
6541 (verilog-auto, verilog-auto-assign-modport)
6542 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6543 AUTOINOUTMODPORT for UVM interface module shell generation.
6544 Reported by Brad Dobbie.
6545 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6546 standard behavior.
6547 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6548 Reported by Matt Martin.
6549
6550 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6551
6552 * window.el (window--resize-child-windows): When resizing child
6553 windows proportionally, process them in reverse order to
6554 preserve the "when splitting a window the new one gets the odd
6555 line" behavior.
6556 (window--resize-root-window-vertically): When resizing the
6557 minibuffer window try to affect only windows at the bottom of the
6558 frame. (Bug#12419)
6559
6560 2012-09-25 Chong Yidong <cyd@gnu.org>
6561
6562 * subr.el (declare): Doc fix.
6563
6564 * help-fns.el (help-fns--obsolete): Handle macros properly.
6565
6566 2012-09-25 Chong Yidong <cyd@gnu.org>
6567
6568 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6569 this function obsolete.
6570
6571 * calendar/cal-x.el (calendar-two-frame-setup)
6572 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6573 * calendar/calendar.el (american-calendar, european-calendar)
6574 (calendar-for-loop):
6575 * comint.el (comint-dynamic-simple-complete)
6576 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6577 * desktop.el (desktop-load-default):
6578 * dired-x.el (dired-omit-here-always)
6579 (dired-hack-local-variables, dired-default-directory):
6580 * emacs-lisp/derived.el (derived-mode-class):
6581 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6582 * emacs-lock.el (toggle-emacs-lock):
6583 * epa.el (epa-display-verify-result):
6584 * epg.el (epg-sign-keys, epg-start-sign-keys)
6585 (epg-passphrase-callback-function):
6586 * eshell/esh-util.el (eshell-for):
6587 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6588 (eshell-add-to-window-buffer-names):
6589 * files.el (locate-file-completion):
6590 * imenu.el (imenu-example--create-c-index)
6591 (imenu-example--create-lisp-index)
6592 (imenu-example--lisp-extract-index-name)
6593 (imenu-example--name-and-position):
6594 * international/mule-cmds.el (princ-list):
6595 * international/mule-diag.el (decode-codepage-char):
6596 * international/mule-util.el (detect-coding-with-priority):
6597 * iswitchb.el (iswitchb-read-buffer):
6598 * mail/mailalias.el (mail-complete):
6599 * mail/sendmail.el (mail-sent-via):
6600 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6601 (mouse-major-mode-menu):
6602 * password-cache.el (password-read-and-add):
6603 * pcomplete.el (pcomplete-parse-comint-arguments):
6604 * progmodes/sh-script.el (sh-maybe-here-document):
6605 * replace.el (query-replace-regexp-eval):
6606 * savehist.el (savehist-load):
6607 * simple.el (choose-completion-delete-max-match):
6608 * term.el (term-dynamic-simple-complete):
6609 * vc/ediff-init.el (ediff-check-version):
6610 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6611 * vc/vc.el (vc-diff-switches-list):
6612 * view.el (view-return-to-alist-update): Likewise.
6613
6614 * subr.el (eval-next-after-load, makehash, insert-string)
6615 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6616 mark obsolete.
6617 (mode-line-inverse-video): Variable deleted.
6618
6619 * international/mule-util.el (string-to-sequence): Remove.
6620
6621 * calendar/calendar.el (calendar-version):
6622 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6623 (icalendar-convert-diary-to-ical):
6624 * cus-edit.el (custom-mode):
6625 * ansi-color.el (ansi-color-unfontify-region):
6626 * international/latin1-disp.el (latin1-char-displayable-p):
6627 * progmodes/cwarn.el (turn-on-cwarn-mode):
6628 * progmodes/which-func.el (which-func-update-1):
6629 Use define-obsolete-function-alias.
6630
6631 * net/newst-backend.el (newsticker-cache-filename):
6632 * net/newst-treeview.el (newsticker-groups-filename):
6633 Fix incorrect obsolescence declaration.
6634
6635 * allout.el (allout-passphrase-hint-string): Likewise.
6636 (allout-init): Use a declare form to mark obsolete.
6637
6638 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6639 this applies to functions.
6640
6641 * iswitchb.el (iswitchb-read-buffer): Move code of
6642 iswitchb-define-mode-map here, and delete that obsolete function.
6643
6644 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6645 font-lock-reference-face.
6646
6647 2012-09-25 Glenn Morris <rgm@gnu.org>
6648
6649 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6650 Doc fixes.
6651
6652 * eshell/em-term.el (eshell-term-name):
6653 Default to term-term-name. (Bug#12485)
6654
6655 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6656
6657 * progmodes/python.el (python-shell-send-buffer): Better handling
6658 of "if __name__ == '__main__':" conditionals when sending the buffer.
6659
6660 2012-09-24 Glenn Morris <rgm@gnu.org>
6661
6662 * eshell/esh-cmd.el (eshell-find-alias-function):
6663 Tighten up file-name regexp. (Bug#12499)
6664
6665 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6666
6667 Enhancements for triple-quote string syntax.
6668 * progmodes/python.el (python-quote-syntax): Remove.
6669 (python-syntax-propertize-function): New value.
6670 (python-syntax-count-quotes, python-syntax-stringify):
6671 New functions.
6672
6673 2012-09-24 Chong Yidong <cyd@gnu.org>
6674
6675 * mail/supercite.el (sc-version): Remove obsolete function.
6676 (sc-describe): Don't mark as obsolete, since it is bound.
6677 (sc-submit-bug-report): Remove.
6678
6679 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6680 (cvs-commit-buffer-require-final-newline): Remove.
6681 (log-edit-require-final-newline)
6682 (log-edit-changelog-full-paragraphs): Default to t.
6683
6684 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6685 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6686 * vc/vc.el (vc-checkout-carefully): Likewise.
6687
6688 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6689 (emerge-version): Remove.
6690
6691 * progmodes/compile.el (compile-internal): Remove.
6692 (compilation-parse-errors-function): Fix typo.
6693
6694 * international/mule.el (set-char-table-default): Remove.
6695 (set-coding-priority, make-coding-system, generic-char-p)
6696 (charset-list, charset-bytes, charset-id): Use declare to mark
6697 functions as obsolete.
6698
6699 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6700 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6701 * vc/vc-hooks.el (vc-default-registered): Don't use
6702 vc-master-templates.
6703
6704 * font-lock.el (font-lock-reference-face):
6705 Use define-obsolete-variable-alias.
6706
6707 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6708 * calendar/calendar.el (calendar-font-lock-keywords):
6709 * calendar/diary-lib.el (diary-font-lock-keywords)
6710 (diary-fancy-font-lock-keywords):
6711 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6712 * textmodes/reftex-index.el (reftex-insert-index):
6713 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6714 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6715 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6716 * progmodes/prolog.el (prolog-font-lock-keywords):
6717 * progmodes/idlwave.el (idlwave-idl-keywords):
6718 * progmodes/ada-mode.el (ada-font-lock-keywords):
6719 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6720
6721 2012-09-24 Glenn Morris <rgm@gnu.org>
6722
6723 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6724
6725 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6726
6727 * progmodes/python.el (python-indent-line): More consistent cursor
6728 movement behavior.
6729
6730 2012-09-23 Stefan Merten <smerten@oekonux.de>
6731
6732 * textmodes/rst.el: Fix compiler warning.
6733
6734 2012-09-23 Roland Winkler <winkler@gnu.org>
6735
6736 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6737 Transcribe also LaTeX hyphenation.
6738 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6739 bibtex-reformat-previous-options.
6740
6741 2012-09-23 Roland Winkler <winkler@gnu.org>
6742
6743 * proced.el (proced-renice-command): New variable.
6744 (proced-marked-processes): New function.
6745 (proced-with-processes-buffer): New macro.
6746 (proced-send-signal): Use them.
6747 (proced-renice): New command bound to r.
6748
6749 2012-09-23 Roland Winkler <winkler@gnu.org>
6750
6751 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6752 ibuffer-saved-filter-groups has one element, shortcut the call of
6753 completing-read. (Bug#12331)
6754
6755 2012-09-23 Chong Yidong <cyd@gnu.org>
6756
6757 * bindings.el (mode-line-toggle-read-only):
6758 * bs.el (bs-toggle-readonly):
6759 * buff-menu.el (Buffer-menu-toggle-read-only):
6760 * dired.el (dired-toggle-read-only):
6761 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6762
6763 2012-09-23 Chong Yidong <cyd@gnu.org>
6764
6765 * image.el (image-type-available-p): Adapt to init-image-library
6766 argument changes.
6767
6768 2012-09-22 Juri Linkov <juri@jurta.org>
6769
6770 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6771 `dired-toggle-read-only'. (Bug#12462)
6772
6773 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6774
6775 * subr.el (temp-output-buffer-show): New function.
6776 (with-output-to-temp-buffer): Call temp-output-buffer-show
6777 instead of internal-temp-output-buffer-show.
6778
6779 2012-09-22 Chong Yidong <cyd@gnu.org>
6780
6781 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6782 (Bug#12462).
6783
6784 * repeat.el (repeat): Doc fix (Bug#12348).
6785
6786 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6787 (Bug#10909).
6788
6789 * simple.el (shell-command-on-region): Doc fix.
6790 (read-only-mode): Doc fix.
6791
6792 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6793
6794 * emacs-lisp/timer.el (run-with-idle-timer)
6795 (timer-activate-when-idle): Warn against reinvoking an idle timer
6796 from within its own timer action. (Bug#12447)
6797
6798 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6799
6800 * cus-start.el (window-combination-limit): Add new optional
6801 values.
6802 * window.el (temp-buffer-window-show)
6803 (window--try-to-split-window): Handle new values of
6804 window-combination-limit (Bug#1806).
6805 (split-window): Test window-combination-limit for t instead of
6806 non-nil.
6807 (display-buffer-at-bottom): New buffer display action function.
6808 * help.el (temp-buffer-resize-regexps): New option.
6809 (temp-buffer-resize-mode): Rewrite doc-string.
6810 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6811 Don't resize reused window. Suggested by Glenn Morris.
6812
6813 2012-09-22 Stefan Merten <smerten@oekonux.de>
6814
6815 * textmodes/rst.el: Revamp section title faces.
6816 (rst-official-version)
6817 (rst-package-emacs-version-alist): Sync with official version
6818 V1.4.0.
6819 (rst-faces-defaults, rst-set-level-default)
6820 (rst-level-face-max, rst-level-face-base-color)
6821 (rst-level-face-base-light, rst-level-face-format-light)
6822 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6823 (rst-adornment-faces-alist): Match new setup.
6824 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6825 (rst-level-5, rst-level-6): New faces.
6826
6827 2012-09-22 Chong Yidong <cyd@gnu.org>
6828
6829 * simple.el (undo): Handle indirect buffers (Bug#8207).
6830
6831 2012-09-21 Leo Liu <sdl.web@gmail.com>
6832
6833 IDO: Disable match re-ordering for buffer switching.
6834 * ido.el (ido-buffer-disable-smart-matches): New variable.
6835 (ido-set-matches-1): Use it. (Bug#2042)
6836
6837 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6838
6839 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6840 Fix 2011-05-17 change. (Bug#12418)
6841
6842 2012-09-21 Leo Liu <sdl.web@gmail.com>
6843
6844 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6845
6846 2012-09-21 Glenn Morris <rgm@gnu.org>
6847
6848 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6849 Be more robust about locating simple.el.
6850
6851 2012-09-21 Glenn Morris <rgm@gnu.org>
6852
6853 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6854
6855 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6856
6857 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6858
6859 2012-09-20 Juri Linkov <juri@jurta.org>
6860
6861 * replace.el (query-replace-read-from): Use `read-regexp' instead
6862 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6863 (occur-read-primary-args): Use `read-regexp' instead of
6864 `read-string'.
6865 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6866 `read-from-minibuffer'.
6867 * isearch.el (isearch-occur): Use `read-regexp' instead of
6868 `read-string'.
6869 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6870 `read-from-minibuffer'.
6871 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6872 of `read-string'. (Bug#7567)
6873
6874 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6875 and allow accepting a list of strings prepended to a list of
6876 standard default values. Doc fix. (Bug#12321)
6877
6878 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6879
6880 * replace.el (read-regexp): Don't add ": " when PROMPT already
6881 ends with a colon and space. (Bug#12321)
6882
6883 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6884
6885 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6886 error.
6887
6888 2012-09-20 Stefan Merten <smerten@oekonux.de>
6889
6890 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6891 Fixes feature request bug#11711.
6892 (rst-mode): Create `imenu-create-index-function'.
6893 (rst-get-stripped-line): Delete after refactoring.
6894 (rst-section-tree, rst-section-tree-rec)
6895 (rst-section-tree-point): Refactor and document properly.
6896 (rst-imenu-find-adornments-for-position)
6897 (rst-imenu-convert-cell, rst-imenu-create-index):
6898 New function.
6899
6900 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6901
6902 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6903 (macroexp--expand-all): Use it.
6904 (macroexp--funcall-and-return): Remove by folding it into its sole
6905 caller (macroexp--warn-and-return).
6906 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6907 Use macroexp--obsolete-warning.
6908
6909 * calc/calc.el: Fix last change by removing the whole chunk, since it
6910 was only needed back when Calc was not bundled.
6911
6912 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6913
6914 * emacs-lisp/debug.el (debug): Restore assignment to
6915 debugger-old-buffer removed on 2012-09-08.
6916
6917 2012-09-20 Juri Linkov <juri@jurta.org>
6918
6919 * dired-aux.el (dired-diff): Remove (require 'diff) since
6920 `diff-latest-backup-file' is now autoloaded.
6921
6922 2012-09-20 Chong Yidong <cyd@gnu.org>
6923
6924 * vc/diff.el (diff-latest-backup-file): Autoload.
6925
6926 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * calc/calc.el: Remove redundant autoload shape check.
6929 (sel-mode): Don't defvar.
6930 (calc-get-stack-element): Add `sel-mode' arg instead.
6931 (calc-top, calc-top-list): Pass it this additional argument.
6932 * calc/calc-store.el (calc-store-map):
6933 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6934 (calc-map-equation, calc-outer-product, calc-inner-product):
6935 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6936
6937 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6938
6939 2012-09-19 Juri Linkov <juri@jurta.org>
6940
6941 * dired-aux.el (dired-diff): Add (require 'diff) because
6942 `diff-latest-backup-file' is not autoloaded.
6943 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6944 of `dired-get-filename' to t to not report error when there is
6945 no default file on the current line.
6946
6947 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6950 macroexp--eval-if-compile.
6951 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6952 (macroexp--expand-all): Use them (bug#12371).
6953
6954 * doc-view.el (doc-view-guess-paper-size)
6955 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6956
6957 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6958
6959 New feature: set optimal slice from BoundingBox information.
6960 * doc-view.el (doc-view-mode-map): Add keybinding.
6961 (doc-view-menu): Add menu entry.
6962 (doc-view-set-slice): Adapt docstring.
6963 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6964 (doc-view-scale-bounding-box)
6965 (doc-view-set-slice-from-bounding-box): New functions.
6966 (doc-view-paper-sizes): New defvar.
6967
6968 2012-09-19 Glenn Morris <rgm@gnu.org>
6969
6970 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6971 (byte-compile-log-warning): Autoload. (Bug#12371)
6972
6973 * calendar/calendar.el (calendar-american-month-header)
6974 (calendar-european-month-header, calendar-iso-month-header)
6975 (calendar-month-header): New options.
6976 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6977 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6978
6979 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6980
6981 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6982
6983 2012-09-18 Juri Linkov <juri@jurta.org>
6984
6985 * dired-aux.el (dired-diff): Restore original functionality of
6986 getting the default value, but keep new feature of using the
6987 latest existing backup file (`diff-latest-backup-file').
6988
6989 2012-09-18 Juri Linkov <juri@jurta.org>
6990
6991 * dired.el (dired-mark): If the region is active in Transient Mark
6992 mode, mark all files in the active region. Doc fix.
6993 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6994 Doc fix. (Bug#10624)
6995
6996 2012-09-18 Juri Linkov <juri@jurta.org>
6997
6998 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6999 attributes for M-n are pulled from the file at point.
7000 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7001 Suggested by Drew Adams. (Bug#10624)
7002
7003 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7004
7005 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7006 whitespace after "end".
7007 (ruby-do-end-to-brace): Collapse block to one line if it fits
7008 within fill-column.
7009
7010 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7011
7012 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7013 value.
7014 (debug): Don't remove debugger window when debugger is expected
7015 to be back.
7016
7017 2012-09-18 Chong Yidong <cyd@gnu.org>
7018
7019 * custom.el (defface): Doc fix.
7020
7021 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7022
7023 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7024
7025 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7026 to initialize query-on-exit; then test that instead (bug#12288).
7027
7028 2012-09-17 Stefan Merten <smerten@oekonux.de>
7029
7030 * textmodes/rst.el: Add support for `testcover'.
7031 (rst-defcustom-testcover, rst-testcover-add-compose)
7032 (rst-testcover-add-1value): New functions.
7033 (rst-portable-mark-active-p): Replace by `use-region-p'.
7034 (rst-update-section, rst-classify-adornment)
7035 (rst-find-title-line): Mark `1value' forms.
7036 (rst-classify-adornment): Remove superfluous form.
7037 (rst-update-section, rst-get-adornments-around)
7038 (rst-adornment-complete-p, rst-get-next-adornment)
7039 (rst-adjust, rst-promote-region)
7040 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7041 (rst-find-pfx-in-region, rst-section-tree-rec)
7042 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7043 (rst-toc-node, rst-toc, rst-forward-section)
7044 (rst-iterate-leftmost-paragraphs)
7045 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7046 (rst-bullet-list-region)
7047 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7048 (rst-compile-find-conf, rst-compile)
7049 (rst-repeat-last-character): Fix style.
7050
7051 2012-09-17 Chong Yidong <cyd@gnu.org>
7052
7053 * comint.el (comint--complete-file-name-data): Don't add a space
7054 if the status is `sole'; that adds a gratuitous space in the
7055 completion-cycling case (Bug#12092).
7056
7057 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7058
7059 2012-09-17 Richard Stallman <rms@gnu.org>
7060
7061 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7062 only in the mime-shown mode, not in raw mode.
7063 (rmail-mime): Toggle off mime by displaying the message without
7064 mime processing. (Bug#12305)
7065
7066 * mail/rmail.el (rmail-retry-failure):
7067 Turn off mime processing first. (Bug#12037)
7068
7069 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7070
7071 2012-09-17 Chong Yidong <cyd@gnu.org>
7072
7073 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7074 (shell-dynamic-complete-functions): Convert to defcustom.
7075 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7076
7077 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7078 * comint.el (comint-prompt-read-only):
7079 * custom.el (defcustom):
7080 * hi-lock.el (hi-lock-mode):
7081 * ibuffer.el (ibuffer-formats):
7082 * ielm.el (ielm-prompt-read-only):
7083 * novice.el (disable-command):
7084 * saveplace.el (toggle-save-place):
7085 * speedbar.el (speedbar-supported-extension-expressions):
7086 * startup.el (auto-save-list-file-prefix, init-file-user)
7087 (after-init-hook, inhibit-startup-echo-area-message):
7088 * strokes.el (strokes-help):
7089 * time-stamp.el (time-stamp):
7090 * calendar/calendar.el (calendar, diary-file):
7091 * calendar/diary-lib.el (diary-mail-entries, diary)
7092 (diary-list-entries-hook):
7093 * calendar/holidays.el (holidays, calendar-holidays):
7094 * calendar/lunar.el (lunar-phases):
7095 * calendar/solar.el (sunrise-sunset):
7096 * emulation/edt.el (edt-load-keys):
7097 * emulation/viper.el (viper-mode):
7098 * eshell/em-alias.el (eshell-command-aliases-list):
7099 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7100 * international/ogonek.el (ogonek-information):
7101 * net/tramp-cmds.el (tramp-bug):
7102 * net/quickurl.el (quickurl-reread-hook-postfix):
7103 * play/decipher.el (decipher-font-lock-keywords):
7104 * progmodes/cc-styles.el (c-set-style):
7105 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7106 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7107 * progmodes/octave-mod.el (octave-mode):
7108 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7109 * progmodes/verilog-mode.el (verilog-read-defines):
7110 * textmodes/two-column.el (2C-mode): Likewise.
7111
7112 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7113
7114 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7115 that holds many addresses.
7116
7117 2012-09-16 Chong Yidong <cyd@gnu.org>
7118
7119 * align.el (align-areas): Call the indication function with
7120 positions instead of markers for arguments (Bug#12343).
7121
7122 * files.el (parse-colon-path): Use split-string (Bug#12351).
7123
7124 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7125 (display-buffer-function): Mark as obsolete.
7126
7127 * progmodes/compile.el (compilation-parse-errors): Accept list
7128 values similar to font-lock-keywords (Bug#12136).
7129 Suggested by Oleksandr Manzyuk.
7130 (compilation-error-regexp-alist): Doc fix.
7131
7132 2012-09-15 Glenn Morris <rgm@gnu.org>
7133
7134 * version.el (emacs-bzr-version-bzr): New function.
7135 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7136
7137 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7138 checkouts, check the parent dirstate matches the branch.
7139 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7140 empty string.
7141
7142 * version.el (emacs-bzr-version): Doc fix.
7143 (emacs-bzr-version-dirstate): New function.
7144 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7145 is local try and check that it matches the branch. If not, just
7146 use dirstate information. (Bug#12441)
7147
7148 2012-09-14 Juri Linkov <juri@jurta.org>
7149
7150 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7151 (Bug#12399)
7152
7153 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7156
7157 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7158 Remove obsolete byte-compiler hack that tried to silence some warnings.
7159 (edebug-submit-bug-report): Remove.
7160 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7161 Remove aliases, use the un-prefixed name instead.
7162 (edebug-pop-to-buffer): Consider other frames.
7163 (edebug-original-read):: Make it more obvious that it's always defined.
7164 (edebug--make-form-data-entry, edebug--form-data-name)
7165 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7166 single-dashed name, and implement with cl-defstruct.
7167 (edebug-set-form-data-entry): Use the standard accessors.
7168 (edebug-make-top-form-data-entry): Use push.
7169 (edebug-no-match): Drop useless `funcall'.
7170 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7171 to functions.
7172 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7173 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7174 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7175 (easy-menu-define, with-custom-print): Remove redundant specs.
7176 (edebug-outside-overriding-local-map)
7177 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7178 (edebug--display): Bind unread-command-events directly to nil rather
7179 than binding it to unread-command-events and later setting it to nil.
7180 (edebug--display): Kill edebug-eval-buffer here...
7181 (edebug--recursive-edit): ...rather than here.
7182 Bind standard-output and standard-input.
7183 (edebug-eval): Check cl-macroexpand-all is fboundp.
7184 (edebug-temp-display-freq-count): Fix last change.
7185
7186 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7187 * subr.el (noreturn, 1value): Add `debug' spec.
7188 * emacs-lisp/advice.el: Require cl-lib.
7189 (ad-copy-tree): Remove, use copy-tree instead.
7190 (ad-dolist): Remove use dolist or cl-dolist instead.
7191 (ad-do-return): Remove, use cl-return instead.
7192 (defadvice): Add `debug' spec.
7193
7194 2012-09-13 Juri Linkov <juri@jurta.org>
7195
7196 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7197 (Bug#12399)
7198
7199 2012-09-13 Glenn Morris <rgm@gnu.org>
7200
7201 * calc/calc.el (math-compose-expr):
7202 * calc/calc-ext.el (math-compose-expr):
7203 * progmodes/cc-defs.el (cl-macroexpand-all):
7204 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7205 (cl-macroexpand-all): Update declarations.
7206
7207 * vc/vc.el: No need to require ediff.
7208 (ediff-load-version-control): Declare.
7209 (ediff-vc-internal): Fix declaration.
7210 (vc-version-ediff): Require ediff.
7211
7212 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7213
7214 Use a more backwards-compatible timer format (Bug#12430).
7215 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7216 being right after USECS, as that better supports old code that
7217 inadvisedly looked directly at the timer vector.
7218
7219 2012-09-13 Kenichi Handa <handa@gnu.org>
7220
7221 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7222 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7223 `coding-priority' property of these language environment.
7224
7225 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7226
7227 Fix glitches caused by addition of psec to timers (Bug#12430).
7228 * image.el (image-animate-timer):
7229 * time.el (display-time-world-timer):
7230 Use timer--function and timer--args rather than raw access to
7231 timer vector.
7232
7233 2012-09-13 Glenn Morris <rgm@gnu.org>
7234
7235 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7236 If not compiling a file, try using load-file-name.
7237
7238 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7241 Fix last change.
7242 (edebug-update-eval-list): Use `push'.
7243
7244 * emacs-lisp/edebug.el: Use lexical-binding.
7245 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7246 Mark unused args with underscore.
7247 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7248 (edebug-form-data): Use defvar-local.
7249 (edebug-make-before-and-after-form, edebug-make-after-form):
7250 Use backquote.
7251 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7252 Not dynamically scoped any more.
7253 (edebug--enter-trace): Add arguments `function' and `args'.
7254 Rename from edebug-enter-trace.
7255 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7256 (edebug--update-coverage): Add `after-index' and `value' args.
7257 Rename from edebug-update-coverage.
7258 (edebug-slow-after): Call it accordingly.
7259 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7260 edebug-recursive-edit.
7261 (edebug--display): Call it accordingly. Add args `value',
7262 `offset-index', and `arg-mode'. Rename from edebug-display.
7263 (edebug-debugger, edebug): Call it accordingly.
7264 (edebug-eval-display-list): Use dolist.
7265
7266 2012-09-12 Juri Linkov <juri@jurta.org>
7267
7268 * info.el (Info-search): Don't check for isearch-mode and
7269 isearch-regexp before let-binding search-spaces-regexp to
7270 Info-search-whitespace-regexp.
7271 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7272 search-whitespace-regexp if isearch-lax-whitespace or
7273 isearch-regexp-lax-whitespace is non-nil.
7274 (Info-mode): Don't set local variable search-whitespace-regexp.
7275 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7276
7277 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7280 (debugger-env-macro): Remove support for unread-command-char.
7281
7282 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7283 the temporary map re-appearing on emulation-mode-map-alists.
7284
7285 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7286 since 22.1.
7287
7288 * ehelp.el (with-electric-help): Accept functions in
7289 electric-help-form-to-execute.
7290 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7291 And replace unread-command-char -> unread-command-events.
7292
7293 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7294
7295 Sync with Tramp 2.2.6.
7296
7297 * net/tramp.el (tramp-accept-process-output): Don't use
7298 JUST-THIS-ONE in the XEmacs case.
7299
7300 * net/trampver.el: Update release number.
7301
7302 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7303
7304 * emacs-lisp/debug.el (debugger-previous-window-height):
7305 New variable.
7306 (debug): When debugger-jumping-flag is non-nil try to restore
7307 height of debugger window. (Bug#8789)
7308
7309 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7312 overriding-local-map and pre/post-command-hook here.
7313 (edebug-recursive-edit): Do it here instead (bug#12345).
7314 (edebug-outside-unread-command-char): Remove all uses of
7315 unread-command-char.
7316
7317 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7318 inhibit-debugger is bound instead.
7319
7320 2012-09-11 Bastien Guerry <bzg@gnu.org>
7321
7322 * subr.el (set-temporary-overlay-map): Add a docstring.
7323 (Bug#12346)
7324
7325 2012-09-11 Bastien Guerry <bzg@gnu.org>
7326
7327 * minibuffer.el (completion-table-subvert): Fix docstring.
7328 (Bug#12347)
7329
7330 2012-09-11 Bastien Guerry <bzg@gnu.org>
7331
7332 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7333
7334 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7335
7336 * progmodes/sql.el: Version 3.1
7337 (sql-db2-escape-newlines): New variable.
7338 (sql-escape-newlines-filter): Use it.
7339
7340 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7343
7344 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7345
7346 * vc/diff-mode.el (diff-mode-menu):
7347 Bind diff-remove-trailing-whitespace.
7348
7349 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7352 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7353 (emacs-lisp-byte-code-mode): New functions.
7354 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7355 (eval-defun-2): Remove bogus interactive spec.
7356 (lisp-indent-line): Remove redundant whole-exp code, now done in
7357 indent-according-to-mode.
7358 (save-match-data): Remove redundant indent data.
7359
7360 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7361 Use `declare'.
7362
7363 2012-09-09 Juri Linkov <juri@jurta.org>
7364
7365 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7366 (replace-lax-whitespace, query-replace-regexp)
7367 (query-replace-regexp-eval, replace-regexp): Doc fix.
7368 (perform-replace, replace-highlight): Let-bind
7369 isearch-lax-whitespace to replace-lax-whitespace and
7370 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7371
7372 * isearch.el (isearch-query-replace): Let-bind
7373 replace-lax-whitespace to isearch-lax-whitespace and
7374 replace-regexp-lax-whitespace to
7375 isearch-regexp-lax-whitespace. (Bug#10885)
7376
7377 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7380
7381 2012-09-09 Alan Mackenzie <acm@muc.de>
7382
7383 * progmodes/cc-engine.el (c-state-cache-init):
7384 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7385 (c-record-parse-state-state):
7386 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7387
7388 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7389
7390 * register.el (register-separator): Rename from
7391 separator-register. All uses changed. Doc fix.
7392 (register): Fix version.
7393
7394 2012-09-09 Chong Yidong <cyd@gnu.org>
7395
7396 * replace.el (query-replace-map): Bind four new symbols for
7397 requesting window scrolling.
7398
7399 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7400 query-replace-map (Bug#8948).
7401
7402 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7403
7404 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7405 since they are now in query-replace-map.
7406
7407 * window.el (scroll-other-window-down): Make the arg optional.
7408
7409 2012-09-09 Chong Yidong <cyd@gnu.org>
7410
7411 * files.el (hack-local-variables-confirm): Use quit-window to kill
7412 the *Local Variables* buffer.
7413
7414 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7415
7416 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7417 not just expect to be at its beginning. Adjust callees.
7418 Succeed when do-end block has no space before the pipe character.
7419 (ruby-brace-to-do-end): When the original block is one-liner,
7420 convert to multiline. Reindent the result.
7421
7422 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7423
7424 * register.el (register): New group.
7425 (separator-register): New user option.
7426 (increment-register): Route it to `append-to-register', if
7427 register contains text. Implication is that `C-x r +' can now be
7428 used for appending to a text register (bug#12217).
7429 (append-to-register, prepend-to-register): Add separator based on
7430 `separator-register'.
7431
7432 2012-09-08 Alan Mackenzie <acm@muc.de>
7433
7434 AWK Mode: make auto-newline work when there's "==" in the pattern.
7435 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7436 correctly.
7437 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7438 Test more rigorously for "=" token.
7439
7440 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7441
7442 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7443 Only fail when reached LIMIT.
7444
7445 2012-09-08 Chong Yidong <cyd@gnu.org>
7446
7447 * dired.el (dired-mode-map): Don't bind M-=.
7448
7449 * dired-aux.el (dired-diff): Use backup file as default.
7450
7451 2012-09-08 Drew Adams <drew.adams@oracle.com>
7452
7453 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7454
7455 2012-09-08 Chong Yidong <cyd@gnu.org>
7456
7457 * subr.el (syntax-after, syntax-class): Doc fix.
7458
7459 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7460
7461 * window.el (display-buffer-in-previous-window): New buffer
7462 display action function.
7463
7464 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7465 (debugger-previous-window): New variable.
7466 (debug): Rewrite using display-buffer-in-previous-window,
7467 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7468
7469 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7472
7473 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7474
7475 * progmodes/python.el (python-shell-send-string):
7476 When default-directory is remote, create temp file on remote
7477 filesystem.
7478 (python-shell-send-file): When file is remote, pass local view of
7479 file paths to remote Python interpreter. (Bug#12340)
7480
7481 2012-09-07 Chong Yidong <cyd@gnu.org>
7482
7483 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7484
7485 * files.el (after-find-file): Don't fail on a read-only buffer if
7486 require-final-newline is `visit' or `visit-save' (Bug#11156).
7487
7488 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7489
7490 * userlock.el (ask-user-about-supersession-threat):
7491 Use read-char-choice (Bug#12093).
7492
7493 2012-09-07 Chong Yidong <cyd@gnu.org>
7494
7495 * subr.el (buffer-narrowed-p): New function.
7496
7497 * ses.el (ses-widen):
7498 * simple.el (count-words--buffer-message):
7499 * net/browse-url.el (browse-url-of-buffer): Use it.
7500
7501 * simple.el (count-words-region): Don't signal an error if there
7502 is a non-nil prefix arg and the mark is not set.
7503
7504 * help.el (describe-key-briefly): Allow the message to be seen
7505 when invoked from the minibuffer (Bug#7014).
7506
7507 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7508
7509 * progmodes/ruby-mode.el (ruby-end-of-defun)
7510 (ruby-beginning-of-defun): Simplify, allow indentation before
7511 block beginning and end keywords.
7512 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7513 (ruby-end-of-defun): Expect that the point is at the beginning of
7514 the defun.
7515
7516 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7519 (bug#12367).
7520 (cl--make-usage-args): Strip _ from argument names.
7521
7522 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7523
7524 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7525 obsolete alias speedbar-key-map.
7526 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7527 (vhdl-index-menu-init): Don't use obsolete variable
7528 font-lock-maximum-size.
7529
7530 2012-09-06 Chong Yidong <cyd@gnu.org>
7531
7532 * frame.el (window-system-version): Mark as obsolete.
7533
7534 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7535 of obsolete variable speedbar-key-map.
7536
7537 2012-09-06 Juri Linkov <juri@jurta.org>
7538
7539 * replace.el (replace-lax-whitespace): New defcustom.
7540 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7541 (replace-string, replace-regexp): Mention it in docstrings.
7542 (perform-replace, replace-highlight): Let-bind
7543 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7544 to the values of replace-lax-whitespace and regexp-flag.
7545 Don't let-bind search-whitespace-regexp. (Bug#10885)
7546
7547 * isearch.el (isearch-query-replace): Let-bind
7548 replace-lax-whitespace instead of let-binding
7549 replace-search-function and replace-re-search-function.
7550 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7551 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7552 (isearch-toggle-symbol): Set isearch-regexp to nil
7553 in isearch-word mode (like in isearch-toggle-word).
7554
7555 2012-09-06 Juri Linkov <juri@jurta.org>
7556
7557 * replace.el (replace-search-function)
7558 (replace-re-search-function): Set default values to nil.
7559 (perform-replace): Let-bind isearch-related variables based on
7560 replace-related values, call `isearch-search-fun' and let-bind
7561 the result to `search-function'. Remove code that sets
7562 `search-function' and `search-string' separately for
7563 `delimited-flag'.
7564 (replace-highlight): Add new argument `delimited-flag' and
7565 rename other arguments to the names used in `perform-replace'.
7566 Let-bind `isearch-word' to the argument `delimited-flag'.
7567 (Bug#10885, bug#10887)
7568
7569 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7570
7571 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7572 ruby-beginning-of-indent, simplify, allow all keywords to have
7573 indentation before them.
7574 (ruby-beginning-of-indent): Adjust for above. Search until the
7575 found point is not inside a string or comment.
7576 (ruby-font-lock-keywords): Allow symbols to start with "@"
7577 character, give them higher priority than variables.
7578 (ruby-syntax-propertize-function)
7579 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7580 matchers. Expression expansions are not comments when inside a
7581 string, and there comment syntax status is irrelevant.
7582 (ruby-match-expression-expansion): New function. Check that
7583 expression expansion is inside a string, and it's not escaped.
7584 (ruby-font-lock-keywords): Use it.
7585
7586 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7587
7588 * help.el (temp-buffer-max-height): New default value.
7589 (temp-buffer-resize-frames): New option.
7590 (resize-temp-buffer-window): Optionally resize frame.
7591
7592 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7593 (fit-frame-to-buffer): New function.
7594
7595 2012-09-05 Glenn Morris <rgm@gnu.org>
7596
7597 * emulation/cua-rect.el (cua--init-rectangles):
7598 * textmodes/picture.el (picture-mode-map):
7599 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7600 like forward-char and backward-char. (Bug#12317)
7601
7602 2012-09-05 Leo Liu <sdl.web@gmail.com>
7603
7604 * progmodes/flymake.el (flymake-warning-re): New variable.
7605 (flymake-parse-line): Use it.
7606
7607 2012-09-05 Glenn Morris <rgm@gnu.org>
7608
7609 * calendar/holidays.el (holiday-christian-holidays):
7610 Rename an entry. (Bug#12289)
7611
7612 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7615 (bug#12222).
7616
7617 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * loadup.el: Load macroexp. Remove hack.
7620 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7621 (macroexp--expand-all): Use it to get better warnings.
7622 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7623 (internal-macroexpand-for-load): New functions.
7624 (macroexp--pending-eager-loads): New var.
7625 (emacs-startup-hook): New hack to replace one in loadup.el.
7626 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7627 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7628 (cl-psetf): Simplify.
7629 (cl-defstruct): Add indent rule.
7630
7631 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7632
7633 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7634 over `user-mail-address' for the SMTP MAIL FROM envelope.
7635 (smtpmail-via-smtp): Ditto.
7636
7637 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7638
7639 * progmodes/ruby-mode.el: Clean up keybindings.
7640 (ruby-mode-map): Don't bind ruby-electric-brace,
7641 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7642 backward-kill-word, reindent-then-newline-and-indent.
7643 (ruby-mark-defun): Remove.
7644 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7645 (ruby-mode): Set local beginning-of-defun-function and
7646 end-of-defun-function values.
7647
7648 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (temp-buffer-window-setup-hook)
7651 (temp-buffer-window-show-hook): New hooks.
7652 (temp-buffer-window-setup, temp-buffer-window-show)
7653 (with-temp-buffer-window): New functions.
7654 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7655 (special-display-popup-frame): Make sure the window used shows BUFFER.
7656
7657 * help.el (temp-buffer-resize-mode): Fix doc-string.
7658 (resize-temp-buffer-window): New optional argument WINDOW.
7659
7660 * files.el (recover-file, save-buffers-kill-emacs):
7661 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7662
7663 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7664
7665 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7666 remote definition of `default-directory', ensure we can connect.
7667
7668 2012-09-02 Juri Linkov <juri@jurta.org>
7669
7670 Toggle whitespace matching mode with M-s SPC.
7671 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7672
7673 * isearch.el (search-whitespace-regexp): Doc fix.
7674 Remove cons cell customization.
7675 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7676 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7677 New variables.
7678 (isearch-forward, isearch-forward-regexp): Doc fix.
7679 (isearch-toggle-lax-whitespace): New command.
7680 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7681 (re-search-forward-lax-whitespace)
7682 (re-search-backward-lax-whitespace): New functions.
7683 (isearch-whitespace-regexp): Remove function.
7684 (isearch-query-replace): Let-bind replace-search-function and
7685 replace-re-search-function.
7686 (isearch-occur): Let-bind search-spaces-regexp according to the
7687 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7688 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7689 condition for C-q SPC.
7690 (isearch-search-fun-default): Use new functions mentioned above.
7691 (isearch-search-forward, isearch-search-backward): Remove functions.
7692 (isearch-search): Don't let-bind search-spaces-regexp.
7693 (isearch-lazy-highlight-space-regexp): Remove variable.
7694 (isearch-lazy-highlight-lax-whitespace)
7695 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7696 (isearch-lazy-highlight-new-loop): Use them.
7697 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7698
7699 2012-09-02 Chong Yidong <cyd@gnu.org>
7700
7701 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7702
7703 2012-09-02 Glenn Morris <rgm@gnu.org>
7704
7705 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7706
7707 2012-09-01 Glenn Morris <rgm@gnu.org>
7708
7709 * term.el: Tidy up menu definitions.
7710 (term-mode-map): Use easymenu for In/Out, Complete menus.
7711 (term-pager-break-map): Initialize in the defvar.
7712 (term-terminal-menu, term-signals-menu): Define with easymenu.
7713 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7714 (term-pager-menu): New, extracted from term-process-pager.
7715 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7716 (term-update-mode-line): Propertize line/char and page items.
7717 (term-process-pager): Move keymap initialization elsewhere.
7718
7719 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7720
7721 * window.el (switch-to-prev-buffer): Handle additional values of
7722 BURY-OR-KILL argument. Don't switch in minibuffer window.
7723 (switch-to-next-buffer): Don't switch in minibuffer window.
7724 (quit-restore-window): New function based on quit-window.
7725 Handle additional values of former KILL argument.
7726 (quit-window): Call quit-restore-window with appropriate
7727 interpretation of KILL argument.
7728 (display-buffer-below-selected): New buffer display action
7729 function.
7730
7731 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * minibuffer.el (completion-at-point-functions): Complete docstring
7734 (bug#12254).
7735
7736 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7737
7738 Better seed support for (random).
7739 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7740 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7741 * play/mpuz.el, play/tetris.el, play/zone.el:
7742 * calc/calc-comb.el (math-init-random-base):
7743 * play/blackbox.el (bb-init-board):
7744 * play/life.el (life):
7745 * server.el (server-use-tcp):
7746 * type-break.el (type-break):
7747 Remove unnecessary call to (random t).
7748 * net/sasl.el (sasl-unique-id-function):
7749 Change (random t) to (random), now that the latter is more random.
7750 * play/life.el (life-initialized): Remove no-longer-needed var.
7751
7752 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7753
7754 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7755 Consider frame's buffer predicate when choosing the buffer.
7756 (Bug#12081)
7757
7758 2012-08-30 Richard Stallman <rms@gnu.org>
7759
7760 * simple.el (special-mode-map): Delete binding for `z'.
7761
7762 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7763
7764 * progmodes/compile.el (compilation-always-kill): Doc fix.
7765
7766 2012-08-30 Chong Yidong <cyd@gnu.org>
7767
7768 * window.el (display-buffer-reuse-frames): Make the obsolescence
7769 message more informative.
7770
7771 2012-08-30 Glenn Morris <rgm@gnu.org>
7772
7773 * paren.el (show-paren-delay):
7774 Add a :set function. Doc fix. (Bug#12297)
7775
7776 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7777
7778 * progmodes/compile.el (compilation-always-kill): New var.
7779 (compilation-start): Use it.
7780
7781 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7782
7783 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7784 * files.el (read-only-mode): Move to simple.el.
7785
7786 * files.el (read-only-mode): New minor mode.
7787 (toggle-read-only): Use it and mark obsolete.
7788 (find-file--read-only):
7789 * vc/vc.el (vc-next-action, vc-checkout):
7790 * vc/vc-cvs.el (vc-cvs-checkout):
7791 * obsolete/vc-mcvs.el (vc-mcvs-update):
7792 * ffap.el (ffap--toggle-read-only): Update callers.
7793
7794 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7795
7796 * eshell/esh-ext.el (eshell-external-command): Do not examine
7797 remote shell scripts.
7798 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7799
7800 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7801 "/usr/local/sbin".
7802
7803 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7806
7807 2012-08-28 Leo Liu <sdl.web@gmail.com>
7808
7809 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7810 completion-at-point. (Bug#12220)
7811
7812 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7813
7814 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7815
7816 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7819 be buffer-local; add delete-trailing-whitespace (bug#12259).
7820
7821 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7822
7823 * progmodes/hideif.el (hif-compress-define-list):
7824 Fix typo. (Bug#11951)
7825
7826 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7827
7828 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7829 buffer local setting.
7830
7831 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7832 rcirc-encode-coding-system.
7833
7834 2012-08-28 Leo Liu <sdl.web@gmail.com>
7835
7836 * net/rcirc.el (rcirc-split-message): New function.
7837 (rcirc-send-message): Use it. (Bug#12051)
7838
7839 2012-08-28 Juri Linkov <juri@jurta.org>
7840
7841 * info.el (Info-fontify-node): Hide empty lines at the end of
7842 the node. (Bug#12272)
7843
7844 2012-08-27 Drew Adams <drew.adams@oracle.com>
7845
7846 * dired.el (dired-pop-to-buffer): Make window start at beginning
7847 of buffer (Bug#12281).
7848
7849 2012-08-26 Chong Yidong <cyd@gnu.org>
7850
7851 * window.el (special-display-regexps, special-display-frame-alist)
7852 (special-display-buffer-names, special-display-function)
7853 (display-buffer-reuse-frames): Mark as obsolete.
7854
7855 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7856
7857 * help.el (help-print-return-message): Don't treat
7858 display-buffer-reuse-frames specially.
7859
7860 2012-08-26 Chong Yidong <cyd@gnu.org>
7861
7862 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7863 New variable, replacing gdb-frame-parameters.
7864 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7865 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7866 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7867 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7868 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7869 the functions directly with gdb-display-buffer-other-frame-action.
7870 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7871 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7872 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7873 (gdb-display-registers-buffer): Define directly.
7874 (def-gdb-display-buffer): Macro deleted.
7875 (gdb-display-buffer): Remove second and third args, callers don't
7876 use them. Defer to the default display-buffer behavior, apart
7877 from making windows dedicated.
7878 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7879
7880 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7881
7882 * window.el (display-buffer-pop-up-frame): Handle a
7883 pop-up-frame-parameters alist entry.
7884 (display-buffer): Document it.
7885
7886 2012-08-26 Chong Yidong <cyd@gnu.org>
7887
7888 * isearch.el (search-whitespace-regexp): Make string and nil
7889 values apply to both ordinary and regexp search. Allow a cons
7890 cell value to distinguish between the two.
7891 (isearch-whitespace-regexp, isearch-search-forward)
7892 (isearch-search-backward): New functions.
7893 (isearch-occur, isearch-search-fun-default, isearch-search)
7894 (isearch-lazy-highlight-new-loop): Use them.
7895 (isearch-forward, isearch-forward-regexp): Doc fix.
7896
7897 2012-08-26 Chong Yidong <cyd@gnu.org>
7898
7899 * faces.el (help-argument-name): Always inherit from italic
7900 (Bug#12213).
7901
7902 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7903
7904 * window.el (window--even-window-heights): Even heights when
7905 WINDOW and the selected window form a vertical combination.
7906 (display-buffer-use-some-window): Provide that window used gets
7907 sized back by quit-window. (Bug#11880) and (Bug#12091)
7908
7909 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7910
7911 Fix file time stamp problem with bzr and CVS (Bug#12001).
7912 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7913 in the file's time stamp, since the version control system loses
7914 that information.
7915
7916 2012-08-22 Juri Linkov <juri@jurta.org>
7917
7918 * info.el (Info-fontify-node): Hide the suffix of the
7919 Info file name in the header line. (Bug#12187)
7920
7921 2012-08-22 Glenn Morris <rgm@gnu.org>
7922
7923 * calendar/cal-tex.el (cal-tex-weekly-common):
7924 Restore leading blank page.
7925
7926 2012-08-22 Le Wang <l26wang@gmail.com>
7927
7928 * misc.el (forward-to-word, backward-to-word): Activate or extend
7929 the region under `shift-select-mode'. (Bug#12231)
7930
7931 2012-08-22 Bastien Guerry <bzg@gnu.org>
7932
7933 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7934 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7935 gives details on why the space is never needed.
7936
7937 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7938
7939 * window.el (walk-window-tree, window-with-parameter):
7940 New optional argument MINIBUF to control whether these functions
7941 should run on the minibuffer window.
7942 (window-at-side-list): Don't operate on minibuffer window.
7943 (window-in-direction): Simplify and rewrite doc-string.
7944 (window--size-ignore): Rename to window--size-ignore-p.
7945 Update callers.
7946 (display-buffer-in-atom-window, window--major-non-side-window)
7947 (window--major-side-window, display-buffer-in-major-side-window)
7948 (delete-side-window, display-buffer-in-side-window):
7949 New functions.
7950 (window--side-check, window-deletable-p, delete-window)
7951 (delete-other-windows, split-window): Handle side windows and
7952 atomic windows appropriately.
7953 (window--display-buffer): Call display-buffer-record-window also
7954 when the window buffer did not change.
7955
7956 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7957
7958 * help-fns.el (help-fns--key-bindings):
7959 Abbreviate non-symbol remap targets. (Bug#12174)
7960
7961 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7962
7963 * dired.el (dired-mark-remembered): Don't clobber point.
7964 (Bug#11795)
7965
7966 2012-08-22 Glenn Morris <rgm@gnu.org>
7967
7968 * progmodes/bug-reference.el (bug-reference): New custom group.
7969 (bug-reference-bug-regexp): Make it a defcustom.
7970
7971 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7972
7973 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7974 (js-paren-indent-offset, js-square-indent-offset)
7975 (js-curly-indent-offset): Add :safe (Bug#12257).
7976
7977 2012-08-22 Edward O'Connor <hober0@gmail.com>
7978
7979 * json.el (json-key-format): Add error properties.
7980 (json-encode-key): New function.
7981 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7982 Use json-encode-key.
7983
7984 2012-08-22 Glenn Morris <rgm@gnu.org>
7985
7986 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7987 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7988 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7989 Update for above change.
7990
7991 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7992
7993 * cus-face.el (custom-face-attributes): Fix customize type for the
7994 :underline attribute. (Bug#11805)
7995
7996 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7997
7998 * window.el (window-point-1, set-window-point-1): Remove.
7999 (window-in-direction, record-window-buffer)
8000 (set-window-buffer-start-and-point, split-window-below)
8001 (window--state-get-1, display-buffer-record-window):
8002 Replace calls to window-point-1 and set-window-point-1 by calls to
8003 window-point and set-window-point respectively.
8004
8005 2012-08-21 Glenn Morris <rgm@gnu.org>
8006
8007 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8008 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8009 Use it.
8010
8011 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8012 (cal-tex-shortday): New function.
8013 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8014 (cal-tex-cursor-filofax-daily): Use the above.
8015
8016 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8017 New functions.
8018 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8019 (cal-tex-cursor-filofax-week): Use them.
8020
8021 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8022 New constants.
8023 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8024 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8025
8026 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8027 (cal-tex-end-document): Don't rely on buffer name.
8028
8029 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8030 Use cal-tex-vspace.
8031 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8032 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8033 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8034 Use cal-tex-arg.
8035
8036 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8037 (cal-tex-cursor-week, cal-tex-cursor-week2)
8038 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8039 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8040 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8041 (cal-tex-insert-preamble, cal-tex-b-document)
8042 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8043 Improve cal-tex-cmd usage.
8044
8045 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8046 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8047 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8048 (cal-tex-weekly-paper): New function.
8049 (cal-tex-cursor-week, cal-tex-cursor-week2)
8050 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8051 (cal-tex-cursor-day): Use it.
8052
8053 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8054 (cal-tex-cursor-filofax-week): Remove leading blank page.
8055
8056 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8057 Add autoload cookie. For now at least, don't use color, since
8058 no other cal-tex function does.
8059
8060 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8061 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8062 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8063
8064 2012-08-21 Juri Linkov <juri@jurta.org>
8065
8066 * info.el (Info-file-attributes): New variable.
8067 (info-insert-file-contents): Add file attributes to
8068 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8069 `Info-toc-nodes' when previous modtime of the Info file is less
8070 than new modtime.
8071 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8072 of info.el. (Bug#12230)
8073
8074 2012-08-20 Glenn Morris <rgm@gnu.org>
8075
8076 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8077 * calendar/holidays.el (calendar-holiday-list):
8078 Report errors with display-warning rather than beep'n'sleep.
8079
8080 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8081
8082 * net/tramp.el (tramp-accept-process-output): Accept only output
8083 from PROC. Otherwise, process filters and sentinels might be
8084 confused. (Bug#12145)
8085
8086 2012-08-20 Chong Yidong <cyd@gnu.org>
8087
8088 * descr-text.el (describe-text-properties-1): Use overlays-in to
8089 report on empty overlays (Bug#3322).
8090
8091 2012-08-20 Glenn Morris <rgm@gnu.org>
8092
8093 * mail/rmailout.el (rmail-output-read-file-name):
8094 Trap and report errors in rmail-output-file-alist elements.
8095
8096 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8097 since most non-font-lock faces are not also variables).
8098
8099 2012-08-20 Edward Reingold <reingold@iit.edu>
8100
8101 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8102 New function. (Bug12160)
8103
8104 2012-08-19 Glenn Morris <rgm@gnu.org>
8105
8106 * mail/rmailout.el (rmail-output-read-file-name):
8107 Fix previous change (when the alist is nil or does not match).
8108
8109 2012-08-19 Chong Yidong <cyd@gnu.org>
8110
8111 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8112 (Bug#12228).
8113
8114 2012-08-18 Chong Yidong <cyd@gnu.org>
8115
8116 * simple.el (yank-handled-properties): New defcustom.
8117 (yank-excluded-properties): Add font-lock-face and category.
8118 (yank): Doc fix.
8119
8120 * subr.el (remove-yank-excluded-properties):
8121 Obey yank-handled-properties. The special handling of font-lock-face
8122 and category is now done this way, instead of being hard-coded.
8123 (insert-for-yank-1): Remove font-lock-face handling.
8124 (yank-handle-font-lock-face-property)
8125 (yank-handle-category-property): New function.
8126
8127 2012-08-17 Glenn Morris <rgm@gnu.org>
8128
8129 * mail/rmailout.el (rmail-output-read-file-name):
8130 Check rmail-output-file-alist against the full message body
8131 in the correct rmail buffer. (Bug#12214)
8132
8133 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8136 Eliminate superfluous prompt. (Bug#12203)
8137
8138 2012-08-17 Chong Yidong <cyd@gnu.org>
8139
8140 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8141 font spec, set the font directly (Bug#3228).
8142
8143 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8144
8145 * window.el (delete-window): Fix last fix.
8146
8147 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8148
8149 * window.el (window-valid-p): Move to window.c.
8150 (window-child, window-child-count, window-last-child)
8151 (window-normalize-window, window-combined-p)
8152 (window-combinations, window-atom-root, window-min-size)
8153 (window-sizable, window-sizable-p, window-size-fixed-p)
8154 (window-min-delta, window-max-delta, window--resizable)
8155 (window--resizable-p, window-resizable, window-total-size)
8156 (window-full-height-p, window-full-width-p, window-body-size)
8157 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8158 (minimize-window, window-deletable-p, delete-window)
8159 (delete-other-windows, set-window-buffer-start-and-point)
8160 (next-buffer, previous-buffer, split-window, balance-windows-2)
8161 (set-window-text-height, window-buffer-height)
8162 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8163 (truncated-partial-width-window-p): Minor code adjustments.
8164 In doc-strings state whether the argument window has to denote a
8165 live, valid or any window.
8166
8167 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8168
8169 * progmodes/subword.el (subword-forward-function)
8170 (subword-backward-function, subword-forward-regexp)
8171 (subword-backward-regexp): New variables.
8172 (subword-forward, subword-forward-internal, subword-backward-internal):
8173 Use new variables, eg so that different "word" definitions
8174 can be easily used. (Bug#11411)
8175
8176 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8179 for composite selectors.
8180 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8181 operation just because we can't find a previous revision.
8182
8183 2012-08-15 Chong Yidong <cyd@gnu.org>
8184
8185 * frame.el (set-frame-font): Accept font objects.
8186
8187 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8190
8191 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8192
8193 * man.el (Man-overstrike-face, Man-underline-face)
8194 (Man-reverse-face): Remove variables.
8195 (Man-overstrike, Man-underline, Man-reverse): New faces.
8196 (Man-fontify-manpage): Use them instead of the variables.
8197 (Man-cleanup-manpage): Comment change.
8198 (Man-ansi-color-map): New variable.
8199 (Man-fontify-manpage): Use it.
8200 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8201
8202 Implement ANSI SGR parameters 22-27 (bug#12146).
8203 * ansi-color.el (ansi-colors): Doc fix.
8204 (ansi-color-context, ansi-color-context-region): Doc fix.
8205 (ansi-color--find-face): New function.
8206 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8207 Rename the local variable `face' to `codes' since it is now a list of
8208 ansi codes. Doc fix.
8209 (ansi-color-get-face): Remove.
8210 (ansi-color-parse-sequence): New function, derived from
8211 ansi-color-get-face.
8212 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8213 codes 22-27.
8214
8215 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * subr.el (read-passwd): Allow use from a minibuffer.
8218
8219 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8220
8221 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8222 inside comments and strings as identifiers.
8223
8224 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8225 expression to evaluate. This allows to evaluate expressions with
8226 embedded whitespace.
8227 (gud-tooltip-tips): Add a blank before the newline in the
8228 message-box text, for the benefit of message-box emulation on
8229 MS-Windows.
8230
8231 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8232 messages from GDB, pop them up in a tooltip to give feedback to
8233 user.
8234 (gdb-tooltip-print-1): Quote the expression to evaluate.
8235 This allows to evaluate expressions with embedded whitespace.
8236 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8237 if the TTY name is nil or empty (which happens when communicating
8238 with the inferior via pipes, e.g. on MS-Windows).
8239 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8240 don't send that to the GUD buffer.
8241
8242 2012-08-14 Glenn Morris <rgm@gnu.org>
8243
8244 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8245 Optimize away setq-default with no args, as for setq. (Bug#12195)
8246
8247 2012-08-14 Chong Yidong <cyd@gnu.org>
8248
8249 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8250
8251 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8252 (Bug#12085).
8253
8254 2012-08-14 Glenn Morris <rgm@gnu.org>
8255
8256 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8257
8258 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8259
8260 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8261 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8262 Use cached shell name.
8263
8264 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8265
8266 * progmodes/python.el (python-shell-send-string):
8267 (python-shell-send-setup-code): Do not use `format' with `message'.
8268
8269 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8270
8271 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8272 (ruby-percent-literal-beg-re): New constant.
8273 (ruby-syntax-general-delimiters-goto-beg): Rename to
8274 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8275 (ruby-syntax-propertize-general-delimiters): Rename to
8276 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8277 popular term. Adjust comments everywhere.
8278 (ruby-syntax-propertize-percent-literal): Only propertize when not
8279 inside a simple string or comment. When the literal is unclosed,
8280 leave the text after it unpropertized.
8281 (ruby-syntax-methods-before-regexp): New constant.
8282 (ruby-syntax-propertize-function): Use it to recognize regexps.
8283 Don't look at the text after regexp, just use the whitelist.
8284
8285 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8286
8287 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8288 non-nil always load the compiled file if it exists. (Bug#12197)
8289
8290 2012-08-14 Chong Yidong <cyd@gnu.org>
8291
8292 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8293 (hi-lock-set-pattern): When deciding whether to use font lock or
8294 overlays, look at font-lock-mode instead of font-lock-fontified
8295 (Bug#12168).
8296 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8297 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8298
8299 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8300
8301 * subr.el (internal--after-with-selected-window): Fix typo
8302 (Bug#12193).
8303
8304 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8305
8306 Use `completion-table-dynamic' for completion functions.
8307 * progmodes/python.el
8308 (python-shell-completion--do-completion-at-point)
8309 (python-shell-completion--get-completions):
8310 Remove functions.
8311 (python-shell-completion-complete-at-point): New function.
8312 (python-completion-complete-at-point): Use it.
8313
8314 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8315
8316 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8317 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8318
8319 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * subr.el (function-get): Refine `autoload' arg so it can also
8322 autoload functions for gv.el (bug#12191).
8323 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8324 autoloads macros.
8325
8326 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8327 Prefer pcase-let over destructuring-bind.
8328 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8329 Also, remove whitespace as we go, rather than after accumulating the
8330 various places.
8331
8332 * subr.el (internal--before-with-selected-window)
8333 (internal--after-with-selected-window): Fix typo seleted->selected.
8334 (with-selected-window): Adjust callers.
8335 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8336
8337 2012-08-13 Bastien Guerry <bzg@gnu.org>
8338
8339 * window.el (special-display-popup-frame): Minor docstring
8340 enhancement. (Bug#12172)
8341
8342 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8343
8344 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8345 type 1-6.
8346 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8347 extended headers.
8348
8349 * files.el (hack-local-variables-filter): Remove useless eval.
8350
8351 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8352
8353 * subr.el (with-selected-window): Fix last change.
8354
8355 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * subr.el (internal--before-with-seleted-window)
8358 (internal--after-with-seleted-window): New functions.
8359 (with-selected-window): Use them, to replace dependency on
8360 tty-top-frame.
8361
8362 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8363
8364 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8365 binding for `newline'.
8366 (ruby-move-to-block): When moving backward, stop at block opening,
8367 not indentation.
8368 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8369 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8370 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8371 `ruby-toggle-block'.
8372
8373 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * ibuffer.el (ibuffer-do-toggle-read-only):
8376 * dired.el (dired-toggle-read-only):
8377 * buff-menu.el (Buffer-menu-toggle-read-only):
8378 * bindings.el (mode-line-toggle-read-only):
8379 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8380
8381 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8382
8383 * descr-text.el (describe-char): Put the overlays over the
8384 "displayed as" character.
8385
8386 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8387
8388 * calc/calc-units.el (math-default-units-table): Give an
8389 initial value.
8390 (math-put-default-units): Add options to put composite units and
8391 unit systems in the default units table.
8392 (calc-convert-units): Send composite units to
8393 `math-put-default-units' when appropriate.
8394
8395 2012-08-11 Glenn Morris <rgm@gnu.org>
8396
8397 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8398
8399 * tutorial.el (help-with-tutorial):
8400 * emacs-lisp/copyright.el (copyright-update-directory):
8401 * emacs-lisp/autoload.el (autoload-find-generated-file)
8402 (autoload-find-file): Disable local eval: (for insurance).
8403
8404 * files.el (hack-local-variables-filter): If an eval: form is not
8405 known to be safe, and enable-local-variables is :safe, then ignore
8406 the form totally, as is done for non-eval forms. (Bug#12155)
8407 This is CVE-2012-3479.
8408
8409 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8412 (rx-form): Simplify.
8413
8414 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8415
8416 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8417 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8418 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8419 (ruby-syntax-propertize-function): Adjust for changes in
8420 `ruby-syntax-propertize-heredoc'.
8421
8422 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8423
8424 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8425 binding (use `M-;' instead).
8426 (ruby-singleton-class-p): New function.
8427 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8428
8429 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8432
8433 2012-08-10 Chong Yidong <cyd@gnu.org>
8434
8435 * progmodes/python.el (python-shell-get-process-name): Don't mess
8436 with same-window-buffer-names.
8437
8438 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8439 (eshell-remove-from-window-buffer-names): Make obsolete.
8440 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8441 (eshell): Just use pop-to-buffer-same-window instead.
8442
8443 2012-08-10 Chong Yidong <cyd@gnu.org>
8444
8445 * bindings.el: Bind M-= back to count-words-region.
8446
8447 * simple.el (count-words-region): Accept a prefix arg for acting
8448 on the entire buffer.
8449 (count-words--buffer-message): New helper function.
8450
8451 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8454 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8455 (event-start, event-end): Use posn-at-point to return a more
8456 informative posn.
8457 (posnp): New function.
8458 * mouse.el (popup-menu-normalize-position): Use it.
8459
8460 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8461
8462 * mouse.el (popup-menu-normalize-position): New function.
8463 (popup-menu): Use `popup-menu-normalize-position' to normalize
8464 the form for POSITION argument.
8465
8466 * term/x-win.el (x-menu-bar-open):
8467 Use the value returend from (posn-at-point) as position
8468 passed to `popup-menu'.
8469
8470 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8471
8472 * calc/calccomp.el (math-compose-expr): Add extra argument
8473 indicating that parentheses should be put around products in
8474 denominators. Give multiplication precedence over division during
8475 composition.
8476
8477 2012-08-09 Chong Yidong <cyd@gnu.org>
8478
8479 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8480 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8481 (Man-untabify-command, manual-program): Convert to defcustom
8482 (Bug#10429).
8483
8484 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8485
8486 * descr-text.el (describe-char): Don't insert extra newlines
8487 (Bug#10127).
8488
8489 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8490 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8491
8492 * align.el (align-region): Delete temporary markers (Bug#10047).
8493 Plus some code cleanups.
8494
8495 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8496
8497 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8498 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8499 (python-shell-internal-last-output): Use make-local-variable
8500 instead of make-variable-buffer-local.
8501
8502 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8503
8504 * progmodes/python.el: Enhancements to forward-sexp.
8505 (python-nav-forward-sexp): Rename from
8506 python-nav-forward-sexp-function.
8507 (python-nav--forward-sexp, python-nav--backward-sexp):
8508 New functions.
8509
8510 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8511
8512 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8513 modes and simplification modes.
8514
8515 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * delsel.el (delete-selection-pre-hook): Don't propagate the
8518 file-supersession signals (bug#12161).
8519
8520 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8523 (cl-map-extents): Add compatibility aliases (bug#12135).
8524
8525 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8526
8527 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8528 tests by `ignore-error'.
8529 (tramp-find-shell): Open also a new shell, when cache is already
8530 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8531
8532 2012-08-08 Juri Linkov <juri@jurta.org>
8533
8534 * bookmark.el: Add `defaults' property to the bookmark record.
8535 (bookmark-current-buffer): Doc fix.
8536 (bookmark-make-record): Add `defaults' property with default values
8537 to the bookmark record.
8538 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8539 with `bookmark-insert-current-bookmark'.
8540 (bookmark-set): Get `defaults' property from the bookmark record
8541 and use it in `read-from-minibuffer'.
8542 (bookmark-insert-current-bookmark): Remove function.
8543
8544 * info.el (Info-bookmark-make-record): Add `defaults' property
8545 with values of canonical Info node name, the current Info file
8546 name and the current Info node name. (Bug#12107)
8547
8548 2012-08-08 Juri Linkov <juri@jurta.org>
8549
8550 * files.el (basic-save-buffer): Use `buffer-name' as the default
8551 of `read-file-name' when buffer is not visiting a file (bug#12128).
8552
8553 2012-08-08 Juri Linkov <juri@jurta.org>
8554
8555 * info.el (Info-isearch-search): Doc fix.
8556 (Info-search): Change search-failed message from "initial node" to
8557 "end of node" (bug#12078).
8558 (Info-isearch-search): Change `isearch-string-state' to
8559 `isearch--state-string'.
8560
8561 2012-08-08 Glenn Morris <rgm@gnu.org>
8562
8563 * language/persian.el: Remove file.
8564 * language/misc-lang.el: Move unique part of persian.el here.
8565 * loadup.el: Remove language/persian.
8566
8567 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8568
8569 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8570
8571 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8572
8573 * progmodes/python.el: Fix defsubst warning.
8574 (python-syntax-context) Rename from python-info-ppss-context.
8575 (python-syntax-context-type): Rename from
8576 python-info-ppss-context-type.
8577 (python-syntax-comment-or-string-p): Rename from
8578 python-info-ppss-comment-or-string-p.
8579
8580 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8581
8582 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8583
8584 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8585
8586 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8587 a defcustom that is quoted with backquote.
8588
8589 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8590 Fix handling of interactive spec when the body uses return.
8591 (math-do-arg-check, math-define-function-body): Use backquote forms.
8592 * calc/calc-ext.el (math-defcache): Likewise.
8593 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8594 * allout.el (allout-new-exposure): Likewise.
8595 * calc/calcalg2.el (math-tracing-integral): Likewise.
8596 * info.el (Info-last-menu-item): Likewise.
8597 * emulation/vip.el (vip-loop): Likewise.
8598 * textmodes/artist.el (artist-funcall): Likewise.
8599 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8600 Construct menu-item directly.
8601
8602 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8603 Don't declare.
8604
8605 2012-08-07 Chong Yidong <cyd@gnu.org>
8606
8607 * simple.el (deactivate-mark): Preserve text properties when
8608 saving the primary selection (Bug#8384).
8609
8610 2012-08-07 Kevin Ryde <user42@zip.com.au>
8611
8612 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8613 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8614 and continue processing (Bug#12110).
8615
8616 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8619 syntax-propertize-function (bug#10095).
8620
8621 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8624 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8625 describe-function-1.
8626 (describe-function-1): Use them. Move compiler macro after sig.
8627 (help-fns--compiler-macro): Use function-get. Assume we're already in
8628 standard-output. Adjust layout to new call order.
8629
8630 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8631 re-binding a symbol that has a symbol-macro (bug#12119).
8632
8633 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8634
8635 * language/persian.el: New file. (Bug#11812)
8636 * loadup.el: Add language/persian.el.
8637
8638 2012-08-06 Chong Yidong <cyd@gnu.org>
8639
8640 * window.el (window--maybe-raise-frame): New function.
8641 (window--display-buffer): Split off from here.
8642 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8643 (display-buffer-pop-up-window, display-buffer-use-some-window):
8644 Obey an inhibit-switch-frame action alist entry.
8645 (display-buffer): Update doc.
8646
8647 * replace.el (occur-after-change-function): Avoid losing focus by
8648 using the inhibit-switch-frame display parameter (Bug#12139).
8649
8650 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8651
8652 Make internal shell process buffer names start with space.
8653 * progmodes/python.el (python-shell-make-comint): Add optional
8654 argument INTERNAL.
8655 (run-python-internal): Use it.
8656 (python-shell-internal-get-or-create-process): Check for new
8657 internal buffer names.
8658
8659 2012-08-06 Glenn Morris <rgm@gnu.org>
8660
8661 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8662 Do less getting and setting of environment variables.
8663
8664 2012-08-05 Chong Yidong <cyd@gnu.org>
8665
8666 * proced.el (proced): Add substitution string to docstring to
8667 trigger autoloading of the proced library on C-h f (Bug#1768).
8668
8669 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8670 Don't show defvars which have no second argument (Bug#8638).
8671
8672 * imenu.el (imenu-generic-expression): Move documentation here
8673 from imenu--generic-function.
8674 (imenu--generic-function): Refer to imenu-generic-expression.
8675
8676 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8677
8678 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8679 indentation declaration.
8680 (viper-loop): Add indentation declaration (Bug#7025).
8681
8682 2012-08-05 Chong Yidong <cyd@gnu.org>
8683
8684 * help-fns.el (describe-variable): Add hyperlink for
8685 directory-local variables files. Improve buffer-local and
8686 permanent-local reporting; suggested by MON KEY (Bug#6644).
8687
8688 * help-mode.el (help-dir-local-var-def): New button type.
8689
8690 * files.el (kill-buffer-hook): Provide a defvar.
8691
8692 2012-08-05 Glenn Morris <rgm@gnu.org>
8693
8694 * eshell/esh-ext.el (eshell/addpath):
8695 Also update eshell-path-env. (Bug#12013)
8696
8697 2012-08-05 Chong Yidong <cyd@gnu.org>
8698
8699 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8700
8701 * fringe.el (fringe-styles): Add docstring.
8702 (fringe--check-mode): New function.
8703 (set-fringe-mode, set-fringe-style): Use it.
8704 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8705
8706 * files.el (set-auto-mode): Fix invalid setq call.
8707
8708 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * isearch.el: Misc simplification; use defstruct.
8711 (isearch-mode-map): Dense maps now work like sparse ones.
8712 (isearch--state): New defstruct.
8713 (isearch-string-state, isearch-message-state, isearch-point-state)
8714 (isearch-success-state, isearch-forward-state)
8715 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8716 (isearch-wrapped-state, isearch-barrier-state)
8717 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8718 replaced by defstruct's accessors.
8719 (isearch--set-state): Rename from isearch-top-state and change
8720 calling convention.
8721 (isearch-push-state): Use new isearch--get-state.
8722 (isearch-toggle-word): Disable regexp when enabling word.
8723 (isearch-message-prefix): Remove unused arg _c-q-hack.
8724 (isearch-message-suffix): Remove unused arg _ellipsis.
8725
8726 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8727
8728 * simple.el (list-processes--refresh): For a server use :host or
8729 :local as the address.
8730 (list-processes): Doc fix.
8731
8732 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8733
8734 * lisp/mpc.el: Support password in host argument.
8735 (mpc--proc-connect): Parse and use new password element.
8736 Set mpc-proc variable instead of returning process.
8737 (mpc-proc): Adjust accordingly.
8738
8739 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8740
8741 * whitespace.el (whitespace-display-mappings): Use Unicode
8742 codepoints, instead of emacs-mule codepoints. See
8743 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8744 for the details.
8745
8746 * files.el (file-truename): Don't skip symlink-chasing part on
8747 windows-nt. Incorporate the resolution of 8+3 short aliases on
8748 Windows into the loop that recursively chases symlinks.
8749 Compare directory and its parent case-insensitively on MS-Windows and
8750 MS-DOS.
8751
8752 2012-08-03 Chong Yidong <cyd@gnu.org>
8753
8754 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8755
8756 * sort.el (sort-regexp-fields): Doc fix.
8757
8758 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8759
8760 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8761 labels regex position point at the expected place.
8762
8763 2012-08-03 MON KEY <monkey@sandpframing.com>
8764
8765 * net/imap.el (imap-interactive-login, imap-authenticate)
8766 (imap-mailbox-lsub, imap-mailbox-list)
8767 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8768 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8769 (imap-parse-response): Doc fix.
8770
8771 2012-08-03 João Távora <joaotavora@gmail.com>
8772
8773 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8774 if sexp scanning does not move point (Bug#5734).
8775
8776 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8777
8778 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8779 Add listings, minted, and ctable packages.
8780 (reftex-label-alist-builtin): Move listings, minted, and ctable
8781 entries before LaTeX.
8782 (reftex-label-alist): Docfix.
8783
8784 2012-08-02 Bastien Guerry <bzg@gnu.org>
8785
8786 * replace.el (occur): Fix docstring (bug#12122).
8787
8788 2012-08-02 Glenn Morris <rgm@gnu.org>
8789
8790 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8791
8792 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8793
8794 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8795 * international/mule-cmds.el: Create
8796 inactivate-current-input-method-function as an obsolete alias for
8797 deactivate-current-input-method-function. See Katsumi Yamaoka in
8798 <http://bugs.gnu.org/10150#46>.
8799
8800 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8801
8802 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8803 of nested `if's.
8804
8805 2012-08-01 Glenn Morris <rgm@gnu.org>
8806
8807 * progmodes/autoconf.el (autoconf-definition-regexp):
8808 Add AH_TEMPLATE, adjust submatch numbering.
8809 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8810 (autoconf-current-defun-function): Update for above change.
8811 (autoconf-current-defun-function): First skip to end of current word.
8812
8813 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8814
8815 * calendar/cal-html.el (cal-html-insert-agenda-days):
8816 Fix typo. (Bug#12018)
8817
8818 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8819
8820 Shell processes: enhancements to startup and CEDET compatibility.
8821 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8822 (python-shell-make-comint): accept-process-output at startup.
8823 (run-python-internal): Set inferior-python-mode-hook to nil.
8824 (python-shell-internal-get-or-create-process): call sit-for.
8825 (python-preoutput-result): Add obsolete alias.
8826 (python-shell-internal-send-string): Use it.
8827 (python-shell-send-setup-code): Remove call to
8828 accept-process-output.
8829
8830 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8831
8832 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8833 (Bug#12108)
8834
8835 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8836
8837 * calc-mode.el (calc-basic-simplification-mode): Rename from
8838 `calc-limited-simplification-mode'.
8839 (calc-alg-simplification-mode): New function.
8840 (calc-set-simplify-mode): Adjust message.
8841
8842 * calc.el (calc-set-mode-line): Adjust mode line display for
8843 basic simplification mode.
8844
8845 * calc-help.el (calc-m-prefix-help): Update help message.
8846
8847 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8848 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8849
8850 2012-07-31 Bastien Guerry <bzg@gnu.org>
8851
8852 * man.el (man): Fix comment. (bug#12101)
8853
8854 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8855
8856 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8857 Don't return a non-nil value when no suitable buffer was found.
8858
8859 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8860
8861 * progmodes/python.el (run-python-internal): Disable font lock for
8862 internal shells.
8863
8864 2012-07-30 Stefan Merten <smerten@oekonux.de>
8865
8866 * textmodes/rst.el: Silence `checkdoc-ispell'.
8867 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8868 (rst-official-version, rst-official-cvs-rev)
8869 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8870 (rst-mode-map): New key binding.
8871
8872 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8873
8874 Update .PHONY listings in makefiles.
8875 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8876 autoloads, update-subdirs, updates, bzr-update, update-authors,
8877 compile-onefile, compile-calc, backup-compiled-files,
8878 compile-after-backup, compile-one-process, mh-autoloads,
8879 bootstrap-clean, distclean, maintainer-clean.
8880
8881 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8882
8883 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8884 (calc-set-mode-line): Don't display "AlgSimp ".
8885
8886 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8887 (calc-lim-simplify-mode): New function.
8888 (calc-set-simplify-mode): Default to 'alg.
8889 (calc-default-simplify-mode): Make algebraic simplifications
8890 the default.
8891
8892 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8893 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8894
8895 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8896 indicate new simplification modes.
8897
8898 * calc/README: Mention new default simplification mode.
8899
8900 * calc/calc.el (math-normalize-error): New variable.
8901 (math-normalize): Set `math-normalize-error' to t
8902 when there's an error.
8903
8904 * calc/calc-alg.el (math-simplify): Don't simplify when
8905 `math-normalize' returns an error.
8906
8907 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8908
8909 * international/mule-cmds.el (set-locale-environment): Revert last
8910 change, since display-graphic-p returns nil when this function is
8911 called during startup. Instead...
8912
8913 * term/w32console.el (terminal-init-w32console): ...setup the
8914 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8915
8916 2012-07-29 Juri Linkov <juri@jurta.org>
8917
8918 * simple.el (goto-line): Don't display default line number in the
8919 prompt because it should be displayed by `read-number' (bug#9952).
8920 Add the current line number to the defaults of `goto-line' to
8921 allow its easier modification by users with `M-n' (bug#9201).
8922
8923 * subr.el (read-number): Support multiple default values like in
8924 other minibuffer reading functions. Replace `read' with
8925 `string-to-number' for consistency with `number-to-string'.
8926
8927 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8928
8929 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8930 * emulation/viper-init.el (viper-deactivate-input-method-action):
8931 Rename from viper-inactivate-input-method-action.
8932 (viper-deactivate-input-method):
8933 Rename from viper-inactivate-input-method.
8934 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8935 * international/mule-cmds.el (deactivate-input-method):
8936 Rename from inactivate-input-method.
8937 Also run input-method-deactivate-hook.
8938 (deactivate-current-input-method-function):
8939 Rename from inactivate-current-input-method-function.
8940 (input-method-deactivate-hook): New hook.
8941 (input-method-inactivate-hook): Mark obsolete.
8942 (inactivate-input-method): Mark obsolete.
8943
8944 * international/quail.el (quail-activate):
8945 Also run quail-deactivate-hook.
8946 (quail-deactivate): Rename from quail-inactivate.
8947 * international/robin.el (robin-activate):
8948 Also run robin-deactivate-hook.
8949 (robin-deactivate): Rename from robin-inactivate.
8950
8951 2012-07-29 Chong Yidong <cyd@gnu.org>
8952
8953 * simple.el (indicate-copied-region): New function.
8954 (kill-ring-save): Split off from here.
8955
8956 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8957 (kill-rectangle): Set deactivate-mark to t on read-only error.
8958
8959 * register.el (copy-to-register, copy-rectangle-to-register):
8960 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8961 (append-to-register, prepend-to-register): Call indicate-copied-region.
8962
8963 2012-07-29 Juri Linkov <juri@jurta.org>
8964
8965 * simple.el (async-shell-command-buffer): New defcustom.
8966 (shell-command): Use it. (Bug#4719)
8967
8968 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8969
8970 * international/mule-cmds.el (set-locale-environment): In a
8971 console session on MS-Windows, set up keyboard and terminal
8972 encoding from the OEM codepage, not the ANSI codepage.
8973 (Bug#12055)
8974
8975 2012-07-28 Chong Yidong <cyd@gnu.org>
8976
8977 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8978 gdb-get-location.
8979
8980 2012-07-28 Leo Liu <sdl.web@gmail.com>
8981
8982 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8983 the alist (bug#12029).
8984
8985 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8986
8987 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8988 (compile-always, compile-first)
8989 ($(lisp)/calendar/cal-loaddefs.el)
8990 ($(lisp)/calendar/diary-loaddefs.el)
8991 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8992 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8993 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8994 instead of on update-subdirs.
8995 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8996
8997 2012-07-28 Chong Yidong <cyd@gnu.org>
8998
8999 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9000 directory if vc-deduce-backend returns nil (Bug#7350).
9001
9002 * simple.el (delete-trailing-lines): New option.
9003 (delete-trailing-whitespace): Obey it (Bug#11879).
9004
9005 2012-07-28 David Engster <deng@randomsample.de>
9006
9007 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9008 Explanation of new 'symbol-qnames feature in doc-strings.
9009 (xml-maybe-do-ns): Return expanded names as plain symbols if
9010 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9011 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9012
9013 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9014
9015 Consistent completion in inferior python with emacs -nw.
9016 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9017 binding in inferior-python-mode-map with "\t".
9018 (python-shell-completion-complete-at-point)
9019 (python-completion-complete-at-point): Remove interactive spec.
9020
9021 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9022
9023 * calc/calccomp.el (math-compose-expr): Undo previous change.
9024
9025 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9026
9027 * progmodes/python.el (python-mode-map): Add keybinding for
9028 run-python.
9029 (python-shell-make-comint): Fix pop-to-buffer call.
9030 (run-python): Autoload. New arg SHOW.
9031 (python-shell-get-or-create-process): Do not pop python process
9032 buffer.
9033
9034 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9035
9036 * notifications.el (notifications-on-action-signal)
9037 (notifications-on-closed-signal): Use also the bus address for the map.
9038 (notifications-notify, notifications-close-notification)
9039 (notifications-get-capabilities): Add optional argument BUS.
9040
9041 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9042
9043 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9044 Add support for the lstlisting and minted environments, and for the
9045 ctable macro.
9046 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9047 labels written in keyvals syntax.
9048
9049 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9050
9051 * calc/calccomp.el (math-compose-expr): Use parentheses when
9052 there is a product in the denominator of a fraction.
9053
9054 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9055
9056 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9057 ($(lisp)/calendar/diary-loaddefs.el)
9058 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9059 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9060 Fixes failures in parallel bootstrap because subdirs.el is being
9061 rewritten while the autoload files are built at the same time,
9062 which needs to load subdirs.el.
9063
9064 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9065
9066 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9067 (mouse-drag-line): Don't exit tracking when a switch-frame or
9068 switch-window event occurs (Bug#12006).
9069
9070 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * mouse.el (popup-menu): Fix last change.
9073
9074 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 Autoload from Lisp with more care. Follow aliases when looking for
9077 function properties.
9078 * subr.el (autoloadp): New function.
9079 (symbol-file): Use it.
9080 (function-get): New function.
9081 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9082 autoload-do-load.
9083 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9084 (lisp-indent-function):
9085 * emacs-lisp/gv.el (gv-get):
9086 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9087 * emacs-lisp/byte-opt.el (byte-optimize-form):
9088 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9089 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9090 Use function-get.
9091 * emacs-lisp/cl.el: Don't propagate function properties any more.
9092
9093 * speedbar.el (speedbar-add-localized-speedbar-support):
9094 * emacs-lisp/disass.el (disassemble-internal):
9095 * desktop.el (desktop-load-file):
9096 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9097 (describe-function-1):
9098 * emacs-lisp/find-func.el (find-function-noselect):
9099 * emacs-lisp/elp.el (elp-instrument-function):
9100 * emacs-lisp/advice.el (ad-has-proper-definition):
9101 * apropos.el (apropos-safe-documentation, apropos-macrop):
9102 * emacs-lisp/debug.el (debug-on-entry):
9103 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9104 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9105 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9106
9107 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9108
9109 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9110 function, not an obsolete variable (Bug#12046).
9111
9112 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9113
9114 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9115
9116 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9117
9118 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9119 window only if it is still live (Bug#12034).
9120
9121 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9122
9123 * subr.el (redirect-frame-focus): Add advertised calling
9124 convention (Bug#12030).
9125
9126 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9127
9128 Prefer typical American spelling for "acknowledgment".
9129 * vc/add-log.el (change-log-acknowledgment): Rename from
9130 change-log-acknowledgement, with an alias for the old name.
9131
9132 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9133
9134 * calc-alg.el (math-simplify-divide): Don't cross multiply
9135 in an equation when the lhs is a variable.
9136
9137 2012-07-24 Julien Danjou <julien@danjou.info>
9138
9139 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9140 Remove, unused.
9141
9142 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9143
9144 * startup.el (command-line): Don't display an empty user name in
9145 the error message about non-existent home directory, when
9146 init-file-user was set to an empty string. See
9147 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9148 for the details and context.
9149
9150 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9151
9152 * ses.el (ses-cell-formula-aset): New macro.
9153 (ses-cell-references-aset): New macro.
9154 (ses-cell-p): New function.
9155 (ses-rename-cell): Do no longer rely on complex operations like
9156 ses-cell-set-formula or ses-set-cell to change the cell and handle
9157 the undo at the same time, but rather use lower level new macros
9158 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9159 the undo directly. Refresh the mode line.
9160
9161 2012-07-21 Leo Liu <sdl.web@gmail.com>
9162
9163 * progmodes/cc-cmds.el (c-defun-name):
9164 Use match-string-no-properties instead for consistency.
9165
9166 2012-07-20 Leo Liu <sdl.web@gmail.com>
9167
9168 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9169 (Bug#7879)
9170
9171 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9172
9173 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9176 * progmodes/bug-reference.el, misearch.el: Provide themselves
9177 (bug#11915).
9178
9179 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9180 of narrowed buffer (bug#11966).
9181
9182 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9183
9184 * ses.el (ses-rename-cell): Set new name also in reference list of
9185 cells of which the renamed cell depends.
9186
9187 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9188
9189 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9190 to check whether menu-bar is shown or not. If not shown,
9191 show the menu-bar as a popup menu instead of using tmm.
9192 * mouse.el (popup-menu): Accept `point' as `position' argument.
9193
9194 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9195
9196 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9197 up inside string symbol literal (bug#11923).
9198
9199 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9200
9201 * startup.el (fancy-startup-text): Read the whole tutorial, not
9202 just its first 256 bytes. Prevents gibberish in display of the
9203 tutorial title.
9204
9205 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9206
9207 Drop idle buffer compaction due to an absence of the
9208 proved efficiency.
9209 * compact.el: Remove.
9210
9211 2012-07-19 Sam Steingold <sds@gnu.org>
9212
9213 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9214 vc-bzr-pull & vc-bzr-merge-branch.
9215 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9216 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9217 for consistency with compilation-error-regexp-alist.
9218 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9219 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9220 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9221 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9222
9223 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * emacs-lisp/chart.el: Use lexical-binding.
9226 (chart-emacs-storage): Don't hardcode the list of entries.
9227
9228 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9229
9230 Next round of tweaks caused by Fgarbage_collect changes.
9231 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9232
9233 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9234
9235 Compact buffers when idle.
9236 * compact.el: New file.
9237
9238 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * subr.el (eventp): Presume that if it looks vaguely like an event,
9241 it's an event (bug#10190).
9242
9243 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9244
9245 Enhancements to ppss related code (thanks Stefan).
9246 * progmodes/python.el (python-indent-context)
9247 (python-indent-calculate-indentation, python-indent-dedent-line)
9248 (python-indent-electric-colon, python-nav-forward-block)
9249 (python-mode-abbrev-table)
9250 (python-info-assignment-continuation-line-p): Simplify checks
9251 for ppss context.
9252 (python-info-continuation-line-p): Cleanup.
9253 (python-info-ppss-context): Do not catch 'quote.
9254 (python-info-ppss-context-type)
9255 (python-info-ppss-comment-or-string-p): Simplify.
9256
9257 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9258
9259 * progmodes/python.el: Enhancements to eldoc support.
9260 (python-info-current-symbol): New function.
9261 (python-eldoc-at-point): Use python-info-current-symbol.
9262 (python-info-current-defun): Fix cornercase on first defun scan.
9263 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9264 and signal error when no inferior python process is available.
9265
9266 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9267
9268 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9269 assume it's always t.
9270 (vc-git-registered): Remove caching, the function is only called
9271 once.
9272 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9273
9274 2012-07-18 Chong Yidong <cyd@gnu.org>
9275
9276 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9277
9278 * simple.el (count-words): Report on narrowing (Bug#9959).
9279
9280 * bindings.el: Bind M-= to count-words.
9281
9282 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9283
9284 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9285
9286 * progmodes/sh-script.el (sh-imenu-generic-expression):
9287 Capture a function with `function' keyword and without parentheses
9288 like "function FOO" (bug#11856).
9289
9290 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9291
9292 * window.el (split-window-sensibly): Make WINDOW argument
9293 optional.
9294
9295 2012-07-18 Chong Yidong <cyd@gnu.org>
9296
9297 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9298
9299 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9300 and make C-x 8 RET exit isearch (Bug#11439).
9301
9302 * international/iso-transl.el: Move isearch-mode-map key
9303 definitions to isearch.el.
9304
9305 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9306
9307 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9308 (eieio-defclass): Use gv-define-setter when possible.
9309
9310 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9311
9312 Reflect recent changes in Fgarbage_collect.
9313 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9314 reflect new format of data returned by Fgarbage_collect.
9315
9316 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9317
9318 New utility functions + python-info-ppss-context fix (Bug#11910).
9319 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9320 (python-info-ppss-comment-or-string-p): New functions.
9321 (python-info-ppss-context): Small fix for string check.
9322
9323 2012-07-17 Juri Linkov <juri@jurta.org>
9324
9325 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9326 (dired-do-async-shell-command): Don't add `*' at the end of the
9327 command (Bug#11815).
9328 (dired-do-shell-command): Doc fix.
9329 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9330 Join the individual commands using either "&" or ";" as the
9331 separator depending on the values of these trailing characters.
9332 At the end re-add the trailing "&". (Bug#10598)
9333
9334 * simple.el (async-shell-command): Sync the interactive spec with
9335 `shell-command'. Doc fix.
9336 (shell-command): Doc fix.
9337
9338 2012-07-17 Juri Linkov <juri@jurta.org>
9339
9340 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9341
9342 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9343
9344 Final renames and doc fixes for movement commands (bug#11899).
9345 * progmodes/python.el (python-nav-beginning-of-statement):
9346 Rename from python-nav-statement-start.
9347 (python-nav-end-of-statement): Rename from
9348 python-nav-statement-end.
9349 (python-nav-beginning-of-block): Rename from
9350 python-nav-block-start.
9351 (python-nav-end-of-block): Rename from python-nav-block-end.
9352
9353 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9354
9355 * progmodes/python.el (python-shell-send-string-no-output):
9356 Allow accept-process-output to quit, keeping shell process ready for
9357 future interactions (Bug#11868).
9358
9359 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9362
9363 * emacs-lisp/elint.el (elint-find-args-in-code):
9364 Use help-function-arglist, so as to handle lexical byte-code.
9365
9366 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9367 change (bug#11826).
9368
9369 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9370
9371 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9372 Avoid spuriously marking the buffer as modified because of c-is-sws.
9373
9374 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9375 as not-a-comment (bug#11946).
9376
9377 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9378 for uninterned vars.
9379
9380 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9381 Use read-event since we don't really want to read chars but bytes.
9382
9383 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9384 $$..$$ but also $..$ using regexps (bug#11953).
9385 Use tex-verbatim for \url and \path.
9386 (tex-font-lock-keywords): Define as defconst like the others.
9387 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9388
9389 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9390
9391 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9392 alias for insert-char.
9393
9394 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9395
9396 * progmodes/python.el: Simplified imenu implementation.
9397 (python-nav-jump-to-defun): Remove command.
9398 (python-mode-map): Use `imenu' instead.
9399 (python-nav-list-defun-positions-cache)
9400 (python-imenu-include-defun-type, python-imenu-make-tree)
9401 (python-imenu-subtree-root-label, python-imenu-index-alist):
9402 Remove vars.
9403 (python-nav-list-defun-positions, python-nav-read-defun)
9404 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9405 (python-imenu-make-tree, python-imenu-create-index):
9406 Remove functions.
9407 (python-mode): Update to interact with imenu by setting
9408 `imenu-extract-index-name-function' only.
9409
9410 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9411
9412 * progmodes/python.el: Enhancements to navigation commands.
9413 (python-nav-backward-sentence)
9414 (python-nav-forward-sentence): Remove.
9415 (python-nav-backward-statement, python-nav-forward-statement)
9416 (python-nav-statement-start, python-nav-statement-end)
9417 (python-nav-backward-block, python-nav-forward-block)
9418 (python-nav-block-start, python-nav-block-end)
9419 (python-nav-forward-sexp-function)
9420 (python-info-current-line-comment-p)
9421 (python-info-current-line-empty-p): New functions.
9422 (python-indent-context): Use `python-nav-statement-start'.
9423
9424 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9425
9426 * eshell/em-ls.el (eshell/ls): Use `apply'.
9427
9428 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9429 multi-hops, instead of Tramp internals.
9430
9431 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9432
9433 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9434 when F1 and F2 are located on different hosts.
9435
9436 2012-07-14 Chong Yidong <cyd@gnu.org>
9437
9438 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9439 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9440 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9441 (xterm-mouse--read-event-sequence-1000)
9442 (xterm-mouse--read-event-sequence-1006): New functions. For old
9443 mouse protocol, handle M-mouse-X events correctly.
9444 (xterm-mouse-event): New arg specifying mouse protocol.
9445 (turn-on-xterm-mouse-tracking-on-terminal)
9446 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9447 sequence to toggle extended coordinates on newer XTerms.
9448 This appears to be harmless on terminals which do not support this.
9449
9450 2012-07-14 Leo Liu <sdl.web@gmail.com>
9451
9452 Add fringe bitmap indicators for flymake. (Bug#11253)
9453 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9454 (flymake-make-overlay): New arg BITMAP.
9455 (flymake-error-bitmap, flymake-warning-bitmap)
9456 (flymake-fringe-indicator-position): New user variables.
9457
9458 * fringe.el: New bitmap exclamation-mark.
9459
9460 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9461
9462 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9463 also (Bug#7879).
9464
9465 2012-07-14 Chong Yidong <cyd@gnu.org>
9466
9467 * electric.el (electric-pair-post-self-insert-function): Fix pair
9468 insertion in empty-region case (Bug#11520).
9469
9470 2012-07-14 Chong Yidong <cyd@gnu.org>
9471
9472 * bindings.el: Consolidate ctl-x-r-map bindings.
9473 Bind copy-rectangle-as-kill to C-x r w.
9474
9475 * rect.el, register.el: Move bindings to bindings.el.
9476
9477 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9478
9479 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9480
9481 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9482
9483 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9484
9485 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9486
9487 * bindings.el (top): Use `mapc' instead of `mapcar'.
9488
9489 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9490
9491 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9492
9493 * progmodes/sql.el (sql-comint): Suppress the check for program on
9494 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9495 (Bug#11908)
9496
9497 2012-07-13 Chong Yidong <cyd@gnu.org>
9498
9499 * bindings.el: Assign a non-nil permanent-local property to
9500 per-buffer variables which lack a default value (Bug#11930).
9501
9502 * help-fns.el (describe-variable): In the "automatically becomes
9503 local" notice, take note of permanent-local variables.
9504
9505 2012-07-13 Chong Yidong <cyd@gnu.org>
9506
9507 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9508 to allow printing the message when called from Lisp.
9509
9510 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9511 Remove toggle-read-only.
9512
9513 * bs.el (bs-toggle-readonly):
9514 * buff-menu.el (Buffer-menu-toggle-read-only):
9515 Remove with-no-warnings around toggle-read-only.
9516
9517 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9518 Remove with-no-warnings around toggle-read-only.
9519 (ffap-read-only, ffap-read-only-other-window)
9520 (ffap-read-only-other-frame): Callers changed.
9521
9522 * help-mode.el: Don't require view package.
9523 (help-mode-finish): Set buffer-read-only instead of calling
9524 toggle-read-only.
9525
9526 * bindings.el (mode-line-toggle-read-only):
9527 * dired.el (dired-toggle-read-only):
9528 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9529 with non-nil second arg.
9530
9531 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9532 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9533 directly.
9534
9535 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9536
9537 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9538 not incf.
9539
9540 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 More CL cleanups and reduction of use of cl.el.
9543 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9544 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9545 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9546 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9547 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9548 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9549 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9550 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9551 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9552 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9553 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9554 * eshell/em-cmpl.el, eshell/em-banner.el:
9555 * calendar/parse-time.el: Use cl-lib.
9556 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9557 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9558 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9559 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9560 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9561 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9562 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9563 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9564 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9565 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9566 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9567 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9568 `lambda' rather than with `quote'.
9569 (eshell-do-opt): Adjust accordingly.
9570 (eshell-process-option): Simplify.
9571 * eshell/esh-var.el:
9572 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9573 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9574 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9575 to `pcase--dontcare'.
9576 * emacs-lisp/cl.el (labels): Mark obsolete.
9577 (cl--letf, letf): Move to cl-lib.
9578 (cl--letf*, letf*): Remove.
9579 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9580 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9581 (cl-progv): Rewrite.
9582 (cl--letf, cl-letf): Move from cl.el.
9583 (cl-letf*): New macro.
9584 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9585
9586 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9587
9588 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9589
9590 2012-07-11 Chong Yidong <cyd@gnu.org>
9591
9592 * vc/log-edit.el (log-edit-vc-backend): New variable.
9593 (log-edit): Doc fix.
9594
9595 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9596 argument of log-edit to set up all local variables.
9597 (vc-start-logentry): New optional arg specifying VC backend.
9598
9599 * vc/vc.el (vc-checkin): Use it.
9600 (vc-deduce-fileset): Handle Log Edit buffers.
9601 (vc-diff): Make first argument optional too.
9602
9603 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9604
9605 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9606
9607 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9608 command, just in case. The function is not needed anymore.
9609 (eshell-external-command): Do not call `eshell-remote-command'.
9610
9611 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 Reduce use of (require 'cl).
9614 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9615 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9616 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9617 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9618 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9619 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9620 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9621 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9622 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9623 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9624 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9625 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9626 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9627 (byte-compile-unfold-bcf, byte-compile-check-variable):
9628 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9629 (byte-compile-nilconstp):
9630 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9631 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9632
9633 * emacs-lisp/gv.el (cond): Make it a valid place.
9634 (if): Simplify slightly.
9635
9636 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9637 (pcase--self-quoting-p): New function.
9638 (pcase--u1): Use it.
9639
9640 2012-07-10 Glenn Morris <rgm@gnu.org>
9641
9642 * emacs-lisp/authors.el (authors-fixed-entries):
9643 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9644
9645 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9646
9647 Rename configure.in to configure.ac (Bug#11603).
9648 * emacs-lisp/authors.el (authors-canonical-file-name):
9649 * progmodes/autoconf.el (autoconf-mode):
9650 Prefer configure.ac to configure.in.
9651
9652 2012-07-08 Chong Yidong <cyd@gnu.org>
9653
9654 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9655 Implement the mouse-1-click-follows-link handling properly.
9656
9657 * info.el (Info-link-keymap): Use follow-link mechanism for
9658 header-line links (Bug#374).
9659
9660 * simple.el (deactivate-mark): Do not set the primary selection
9661 if another program has acquired it (Bug#11772).
9662
9663 2012-07-07 Kevin Ryde <user42@zip.com.au>
9664
9665 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9666 (woman-decode-region): Replace escaped-escapes without destroying
9667 bold or underline (Bug#11552).
9668 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9669
9670 2012-07-07 Chong Yidong <cyd@gnu.org>
9671
9672 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9673 (interprogram-cut-function, interprogram-paste-function):
9674 Mention that we typically mean the clipboard.
9675
9676 2012-07-06 Glenn Morris <rgm@gnu.org>
9677
9678 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9679
9680 * files.el (toggle-read-only): Restrict message to interactive use.
9681
9682 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9685
9686 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9687
9688 2012-07-06 Glenn Morris <rgm@gnu.org>
9689
9690 * Makefile.in (compile-one-process): Rename from "recompile".
9691
9692 * Makefile.in (bzr-update): "compile" is the same as "recompile
9693 autoloads", but parallelizable, so use that instead.
9694
9695 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9696
9697 * window.el (quit-window): Always restore window height when
9698 it's saved in quit-restore parameter (Bug#11810).
9699
9700 2012-07-06 Glenn Morris <rgm@gnu.org>
9701
9702 * simple.el (kill-whole-line): Doc tweak.
9703
9704 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9705
9706 * files.el (file-relative-name): Compare file names
9707 case-insensitively if on MS-Windows or MS-DOS, or if
9708 read-file-name-completion-ignore-case is non-nil. Don't use
9709 case-fold-search for this purpose. (Bug#11827)
9710
9711 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9712
9713 * calendar/cal-dst.el (calendar-current-time-zone):
9714 Return calendar-current-time-zone-cache if non-nil.
9715
9716 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9717 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9718
9719 * calendar/cal-dst.el (calendar-current-time-zone):
9720 Return calendar-current-time-zone-cache if non-nil.
9721
9722 2012-07-06 Glenn Morris <rgm@gnu.org>
9723
9724 * Makefile.in (cvs-update): Remove old alias.
9725
9726 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9727
9728 Sync with Tramp 2.2.6-pre.
9729
9730 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9731 compatible declaration.
9732
9733 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9734 Protect `list-load-path-shadows' call.
9735
9736 * net/tramp-compat.el (top): Require packages, which aren't
9737 autoloaded anymore for XEmacs. Protect call of
9738 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9739 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9740 it hurts at least for SXEmacs.
9741 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9742 standard-value for `temporary-file-directory'.
9743
9744 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9745 Redirect stderr to /dev/null.
9746 (tramp-sh-handle-write-region): uid and gid can be floats.
9747 Reported by Russell Sim <russell.sim@gmail.com>.
9748 (tramp-sh-handle-vc-registered): Hide errors.
9749 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9750 and `start-file-process'.
9751 (tramp-maybe-open-connection): Check also whether `non-essential'
9752 is bound.
9753
9754 2012-07-04 Chong Yidong <cyd@gnu.org>
9755
9756 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9757 (xml-parse-tag): Likewise, and avoid changing entity tables.
9758 (xml-syntax-table): Define from scratch, making sure not to give
9759 x2000 and other Unicode spaces whitespace syntax, since those are
9760 not spaces in XML.
9761 (xml-parse-fragment): Delete unused function.
9762 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9763 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9764 (xml-entity-ref, xml-pe-reference-re)
9765 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9766 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9767 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9768 (xml-entity-value-re): Use syntax references in regexps where
9769 possible; no need to define inside a let-binding.
9770 (xml-parse-dtd): Use xml-pe-reference-re.
9771 (xml-entity-or-char-ref-re): New defconst.
9772 (xml-parse-string, xml-substitute-special): Use it.
9773
9774 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9777 (find-file--read-only): New function.
9778 (find-file-read-only, find-file-read-only-other-window)
9779 (find-file-read-only-other-frame): Use it.
9780 (insert-file-contents-literally): Don't `fset'.
9781 (get-free-disk-space): Use locate-dominating-file.
9782
9783 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9784 function is already compiled.
9785
9786 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9787
9788 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9789
9790 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9791 files on the same host.
9792
9793 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9794
9795 * help-fns.el (describe-function-1): Only call
9796 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9797
9798 2012-07-03 Chong Yidong <cyd@gnu.org>
9799
9800 * xml.el: Protect parser against XML bombs.
9801 (xml-entity-expansion-limit): New variable.
9802 (xml-parse-string, xml-substitute-special): Use it.
9803 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9804
9805 2012-07-03 Glenn Morris <rgm@gnu.org>
9806
9807 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9808 Allow linking to specific messages in debbugs reports (eg 123#5).
9809
9810 2012-07-02 Chong Yidong <cyd@gnu.org>
9811
9812 * xml.el: Fix entity and character reference expansion, allowing
9813 them to expand into markup as per XML spec.
9814 (xml-default-ns): New variable.
9815 (xml-entity-alist): Use XML spec definitions for lt and amp.
9816 (xml-parse-region): Make first two arguments optional.
9817 Discard text properties.
9818 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9819 All callers changed.
9820 (xml-parse-tag): Call xml-parse-tag-1. For backward
9821 compatibility, this function should not modify buffer contents.
9822 (xml-parse-tag-1): Fix opening-tag regexp.
9823 (xml-parse-string): Rewrite, handling entity and character
9824 references properly.
9825 (xml--entity-replacement-text): Signal an error if a parameter
9826 entity is undefined.
9827
9828 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9829
9830 * comint.el (comint-output-filter): Filter out repeated prompts.
9831
9832 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9833 and file-name-absolute-p.
9834 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9835 internal calls.
9836
9837 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9838
9839 Spelling fixes.
9840 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9841 Rename from byte-compile--refiy-function. All uses changed.
9842
9843 2012-07-01 Chong Yidong <cyd@gnu.org>
9844
9845 * xml.el (xml--parse-buffer): New function. Move most of
9846 xml-parse-region here.
9847 (xml-parse-region): Copy region into a temporary buffer, since
9848 parameter entity substitution requires changing buffer contents.
9849 Use xml--parse-buffer.
9850 (xml-parse-file): Use xml--parse-buffer.
9851 (xml-parse-dtd): Make parameter entity substitution work right.
9852 Use proper regexps for ELEMENT declarations (Bug#7172).
9853
9854 2012-06-30 Glenn Morris <rgm@gnu.org>
9855
9856 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9857
9858 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9859 Remove outdated and unnecessary dbus declarations.
9860
9861 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9862
9863 * emacs-lisp/timer.el (timer-until): Subtract results of
9864 float-time, instead of taking float-time of the result of
9865 time-subtract, since float-time signals an error for negative time
9866 arguments.
9867
9868 2012-06-30 Chong Yidong <cyd@gnu.org>
9869
9870 * xml.el (xml-*-re): Convert defvars into defconsts, and
9871 eval-and-compile them so eval-and-compile works on derivatives.
9872 (xml--entity-replacement-text): Use eval-and-comple.
9873
9874 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9875
9876 * vc/vc-git.el (vc-git-registered): Use cache property
9877 `git-registered'.
9878 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9879 `vc-git-working-revision' in order to benefit from the cache.
9880 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9881
9882 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9883
9884 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9885 removed (likely outside Emacs). (Bug#11757)
9886
9887 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * emacs-lisp/cl-lib.el: Require macroexp.
9890
9891 2012-06-30 Chong Yidong <cyd@gnu.org>
9892
9893 * xml.el: Implement XML parameter entities.
9894 (xml-parameter-entity-alist): New variable.
9895 (xml-parse-region, xml-parse-fragment): Preserve previous values
9896 of xml-entity-alist and xml-parameter-entity-alist, so that
9897 repeated calls on different documents do not change them.
9898 (xml-parse-tag): Fix doctype regexp.
9899 (xml--entity-replacement-text): New function.
9900 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9901 properly requires url retrieval which is unimplemented.
9902 (xml-escape-string): Doc fix.
9903
9904 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9907
9908 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9909
9910 * fringe.el (fringe-mode): Doc fix.
9911
9912 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9913
9914 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9915 is non-nil.
9916 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9917 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9918
9919 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9920
9921 * calendar/cal-dst.el (calendar-current-time-zone):
9922 Return calendar-current-time-zone-cache if non-nil.
9923
9924 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9925
9926 * progmodes/which-func.el (which-func-format):
9927 Add mouse-face. (Bug#11698)
9928
9929 2012-06-29 Leo Liu <sdl.web@gmail.com>
9930
9931 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9932
9933 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * minibuffer.el (minibuffer-confirm-exit-commands):
9936 Add completion-at-point (bug#11725).
9937
9938 2012-06-29 Glenn Morris <rgm@gnu.org>
9939
9940 * progmodes/f90.el (f90-font-lock-keywords-2):
9941 Add some preprocessor elements. (Bug#10499)
9942
9943 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9946 Use syntax-propertize (bug#11739).
9947
9948 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9951
9952 2012-06-28 Julien Danjou <julien@danjou.info>
9953
9954 * term.el (term-handle-colors-array): Use a set of new faces to
9955 color the terminal. Also uses :inverse-video property.
9956 (term-default-fg-color): Set to nil by default, deprecate in favor
9957 of `term-face'.
9958 (term-default-bg-color): Set to nil by default, deprecate in favor
9959 of `term-face'.
9960 (term-current-face): Use `term-face' by default.
9961 (term-bold-attribute): Variable deleted.
9962
9963 2012-06-28 Glenn Morris <rgm@gnu.org>
9964
9965 * simple.el (completion-list-mode-finish):
9966 Don't use toggle-read-only. (Since completion-list-mode has
9967 a special mode-class, it wasn't doing anything extra anyway.)
9968
9969 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 Make inlining of other-mode interpreted functions work (bug#11799).
9972 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9973 (byte-compile): Use it to fix compilation of lexical-binding closures.
9974 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9975 function, if needed.
9976
9977 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * help-mode.el (help-make-xrefs): Don't just withstand
9980 cyclic-variable-indirection but any error in documentation-property.
9981
9982 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9983 memory use.
9984 * bindings.el (bindings--define-key): New function.
9985 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9986 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9987 * bindings.el: Use it to purecopy define-key bindings.
9988
9989 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9990
9991 * emacs-lisp/cl.el (flet): Mark obsolete.
9992 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9993 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9994 * progmodes/js.el (js-c-fill-paragraph):
9995 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9996 (ebrowse-switch-member-buffer-to-derived-class):
9997 * play/5x5.el (5x5-solver): Use cl-flet.
9998
9999 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10000 (cl--symbol-function): New macro.
10001 (cl--letf, cl--letf*): Use it.
10002
10003 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10004 Strip "toggle-" if any.
10005
10006 2012-06-27 Glenn Morris <rgm@gnu.org>
10007
10008 * info.el (Info-default-directory-list): Move here from paths.el.
10009 * paths.el: Remove file, which is now empty.
10010 * loadup.el: No longer load "paths".
10011
10012 * custom.el (custom-initialize-delay): Doc fix.
10013
10014 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10015 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10016 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10017 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10018 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10019 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10020 * eshell/eshell.el (eshell-defgroup): Remove alias.
10021
10022 2012-06-27 Chong Yidong <cyd@gnu.org>
10023
10024 * help.el (help-enable-auto-load): New variable.
10025
10026 * help-fns.el (help-fns--autoloaded-p): New function.
10027 (describe-function-1): Refer to a function as "autoloaded" if it
10028 was autoloaded at any time in the past. Perform autoloading if
10029 help-enable-auto-load is non-nil.
10030
10031 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10032
10033 * makefile.w32-in (compile, compile-always): Depend on
10034 update-subdirs, not on subdirs.el. Otherwise, several different
10035 sub-targets of 'bootstrap' running in parallel could
10036 simultaneously write to subdirs.el, producing a garbled file.
10037
10038 2012-06-26 Sam Steingold <sds@gnu.org>
10039
10040 * files.el (file-name-base): New convenience function.
10041 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10042 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10043 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10044 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10045 * textmodes/ispell.el, textmodes/reftex-ref.el:
10046 * textmodes/tex-mode.el: Use it.
10047 Did not touch cedet and org because they are maintained elsewhere.
10048
10049 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10050
10051 * calendar/calendar.el (calendar-exit): Don't try to delete or
10052 iconify last frame. See:
10053 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10054
10055 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10056
10057 * server.el (server-process-filter): Remember dir in the
10058 process's `server-client-directory' properties.
10059
10060 2012-06-24 Chong Yidong <cyd@gnu.org>
10061
10062 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10063 non-tag text.
10064
10065 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10066
10067 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10068
10069 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * help-fns.el (describe-variable): Don't croak when doc is not found.
10072 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10073 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10074 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10075 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10076 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10077 ((lambda ..) ..).
10078 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10079
10080 2012-06-23 Chong Yidong <cyd@gnu.org>
10081
10082 * info.el (Info-mouse-follow-link): Accept symbol values of
10083 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10084 (Info-fontify-node): Use Info-link-keymap for all navigation
10085 buttons, with link-args property to perform the desired action.
10086 (Info-link-keymap): Doc fix.
10087 (Info-next-link-keymap, Info-prev-link-keymap)
10088 (Info-up-link-keymap): Delete now-unused keymaps.
10089
10090 2012-06-23 Chong Yidong <cyd@gnu.org>
10091
10092 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10093
10094 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10095 system abbrevs.
10096
10097 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10098
10099 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10102 (bug#11719).
10103
10104 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10105 the requote function doesn't work properly (bug#11714).
10106
10107 2012-06-23 Glenn Morris <rgm@gnu.org>
10108
10109 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10110
10111 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 Further GV/CL cleanups.
10114 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10115 gv-expander.
10116 (gv--defun-declaration): New function.
10117 (defun-declarations-alist): Use it.
10118 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10119 (gv-place): Autoload.
10120 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10121 original definition of dotimes and dolist.
10122 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10123 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10124 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10125 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10126 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10127 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10128 to the function's definition.
10129 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10130 * window.el:
10131 * files.el:
10132 * faces.el:
10133 * env.el: Don't use CL.
10134
10135 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10136
10137 Support higher-resolution time stamps (Bug#9000).
10138
10139 * calendar/time-date.el (with-decoded-time-value): New arg
10140 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10141 (encode-time-value): New optional arg PICO. New type 3.
10142 (time-to-seconds) [!float-time]: Support the new picoseconds
10143 component if it's used.
10144 (seconds-to-time, time-subtract, time-add):
10145 Support ps-resolution time stamps as well.
10146
10147 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10148 (timerp): Timer vectors now have length 9, not 8.
10149 (timer--time): Support new-style (4-part) time stamps.
10150 (timer-next-integral-multiple-of-time): Time stamps now have
10151 picosecond resolution, so take a bit more care about rounding.
10152 (timer-relative-time, timer-inc-time): New optional arg psecs.
10153 (timer-set-time-with-usecs): Set psecs to 0.
10154 (timer--activate): Check psecs component, too.
10155
10156 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10157
10158 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10161 Move the non-essential binding to the post/pre-command-hook where it is
10162 more obviously correct.
10163
10164 * subr.el (read-passwd): Don't use a history at all.
10165 * savehist.el (savehist-save): Remove password saved accidentally
10166 because of the above bug.
10167
10168 2012-06-22 Bastien Guerry <bzg@gnu.org>
10169
10170 * files.el (toggle-read-only): Display a message telling whether
10171 the buffer is read-only or not (bug#11726).
10172
10173 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * emacs-lisp/gv.el: New file.
10176 * subr.el (push, pop): Extend to generalized variables.
10177 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10178 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10179 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10180 gv-define-simple-setter, and gv-define-expander.
10181 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10182 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10183 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10184 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10185 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10186 gv-letplace.
10187 (cl-defstruct): Don't define setf-method any more.
10188 * emacs-lisp/cl.el (flet): Don't autoload.
10189 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10190 (define-setf-expander, defsetf, define-modify-macro)
10191 (cl-struct-setf-expander): Move from cl-lib.el.
10192 * emacs-lisp/syntax.el:
10193 * emacs-lisp/ewoc.el:
10194 * emacs-lisp/smie.el:
10195 * emacs-lisp/cconv.el:
10196 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10197 (timer--time): Use gv-define-simple-setter.
10198 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10199 to avoid coding-system problems in subr.el. Adjust all users.
10200 (macroexp--maxsize, macroexp-small-p): New functions.
10201 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10202 * scroll-bar.el (scroll-bar-mode):
10203 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10204 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10205 * winner.el (winner-configuration, winner-make-point-alist)
10206 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10207 * files.el (locate-file-completion-table): Avoid list*.
10208
10209 2012-06-22 Chong Yidong <cyd@gnu.org>
10210
10211 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10212 (dired-create-files): Doc fix (Bug#11329).
10213 (dired-do-copy): Doc fix (Bug#11334).
10214 (dired-mark-read-string): Doc fix (Bug#11553).
10215
10216 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10217 Doc fix (Bug#11326).
10218 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10219 (dired-dwim-target): Doc fix.
10220
10221 * wdired.el (wdired-mode): Doc fix.
10222
10223 2012-06-22 Glenn Morris <rgm@gnu.org>
10224
10225 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10226 (pcmpl-rpm-cache-stamp-file): New constant.
10227 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10228 (pcmpl-rpm-packages): Optionally cache list of packages.
10229
10230 * pcmpl-rpm.el (pcmpl-rpm): New group.
10231 (pcmpl-rpm-query-options): New option.
10232 (pcmpl-rpm-packages): No need to inline it.
10233 Use pcmpl-rpm-query-options.
10234
10235 * calendar/calendar.el (calendar-in-read-only-buffer):
10236 Avoid some needless mode changes.
10237
10238 2012-06-21 Chong Yidong <cyd@gnu.org>
10239
10240 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10241 (desktop-path): Remove . from the default value (Bug#10977).
10242 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10243
10244 2012-06-20 Chong Yidong <cyd@gnu.org>
10245
10246 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10247
10248 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10249
10250 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10251 (bug#11201).
10252
10253 2012-06-20 Chong Yidong <cyd@gnu.org>
10254
10255 * term.el (term-window-width): Handle the case of a missing right
10256 fringe (Bug#8837).
10257 (term-check-size): Use window-text-height (Bug#5445).
10258 (term-mode): Use define-derived-mode. Minor cleanups.
10259 Set font-lock-defaults (Bug#7692).
10260 (term-move-columns, term-insert-char, term-emulate-terminal)
10261 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10262
10263 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10264
10265 * net/ange-ftp.el (ange-ftp-get-passwd):
10266 Bind `enable-recursive-minibuffers'.
10267 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10268
10269 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10270
10271 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10272
10273 2012-06-19 Glenn Morris <rgm@gnu.org>
10274
10275 * progmodes/python.el (python-mode): Derive from prog-mode.
10276
10277 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10278
10279 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10280 (edt-user-menu-bar-update-buffers): New functions.
10281 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10282
10283 2012-06-19 Chong Yidong <cyd@gnu.org>
10284
10285 * subr.el (with-selected-window): Preserve the selected window's
10286 terminal's top-frame (Bug#4702).
10287
10288 * window.el (save-selected-window): Likewise.
10289
10290 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * progmodes/python.el (python-rx-constituents): Move backquote.
10293 (python-skeleton-define, python-define-auxiliary-skeleton):
10294 Use `declare'.
10295
10296 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10297
10298 * minibuffer.el (read-file-name-default): Revert the patch from
10299 2012-06-17.
10300
10301 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10304 (pcase--u1, pcase--q1): Don't use apply-partially.
10305
10306 2012-06-18 Glenn Morris <rgm@gnu.org>
10307
10308 * progmodes/python.el (python-proc, python-buffer)
10309 (python-send-receive, python-send-string): Fix obsolete versions.
10310
10311 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10312
10313 * window.el (special-display-p): Completely remove stringp
10314 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10315
10316 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10317
10318 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10319
10320 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10321
10322 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10323 * net/tramp-sh.el (tramp-maybe-open-connection):
10324 Throw if `non-essential' is non-nil.
10325
10326 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10327
10328 * window.el (special-display-p): Signal an error if BUFFER-NAME
10329 is not a string (Bug#11713).
10330
10331 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10332
10333 * progmodes/python.el (python-info-beginning-of-backslash):
10334 Rename from python-info-beginning-of-backlash, as a spelling fix.
10335
10336 2012-06-17 Chong Yidong <cyd@gnu.org>
10337
10338 * term.el (term-emulate-terminal): If term-check-size is called,
10339 move point to the process mark without resetting point (Bug#4635).
10340
10341 2012-06-17 Glenn Morris <rgm@gnu.org>
10342
10343 * international/mule-cmds.el (mule-menu-keymap)
10344 (set-language-environment, set-locale-environment): Doc tweaks.
10345
10346 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10347
10348 * cus-face.el (custom-face-attributes): Add wave-style underline
10349 attribute.
10350 * faces.el (set-face-attribute): Update docstring to describe
10351 wave-style underline attribute.
10352
10353 2012-06-16 Chong Yidong <cyd@gnu.org>
10354
10355 * term/xterm.el (terminal-init-xterm): Discard input before
10356 querying background mode (Bug#10959).
10357
10358 2012-06-16 Stefan Merten <smerten@oekonux.de>
10359
10360 * textmodes/rst.el: Added and corrected some comments.
10361 (rst-re-alist-def): Improve symbol syntax.
10362 (rst-mode-syntax-table): Correct syntax entries.
10363 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10364 (rst-official-version, rst-official-cvs-rev): Update version
10365 information.
10366
10367 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10368
10369 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10370 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10371
10372 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10373
10374 * progmodes/python.el: New python.el merge.
10375 (python-guess-indent): Obsolete var.
10376 (python-indent-guess-indent-offset): New defcustom.
10377 (python-indent): Obsolete var.
10378 (python-indent-offset): New defcustom.
10379 (python-python-command, python-jython-command): Delete var.
10380 (python-shell-interpreter): New defcustom.
10381 (python-pdbtrack-do-tracking-p): Delete var.
10382 (python-pdbtrack-activate): New defcustom.
10383 (python-use-skeletons): Obsolete var.
10384 (python-skeleton-autoinsert): New defcustom.
10385 (inferior-python-filter-regexp, python-continuation-offset)
10386 (python-honour-comment-indentation, python-indent-string-contents)
10387 (python-jython-packages, python-mode-hook)
10388 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10389 (python-shell-prompt-alist)
10390 (python-source-modes): Delete defcustoms.
10391 (python-check-buffer-name, python-eldoc-setup-code)
10392 (python-eldoc-string-code, python-ffap-setup-code)
10393 (python-ffap-string-code, python-fill-comment-function)
10394 (python-fill-decorator-function, python-fill-paren-function)
10395 (python-fill-string-function, python-imenu-include-defun-type)
10396 (python-imenu-make-tree, python-imenu-subtree-root-label)
10397 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10398 (python-shell-compilation-regexp-alist)
10399 (python-shell-completion-module-string-code)
10400 (python-shell-completion-pdb-string-code)
10401 (python-shell-completion-setup-code)
10402 (python-shell-completion-string-code)
10403 (python-shell-enable-font-lock, python-shell-exec-path)
10404 (python-shell-extra-pythonpaths)
10405 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10406 (python-shell-process-environment)
10407 (python-shell-prompt-block-regexp)
10408 (python-shell-prompt-output-regexp)
10409 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10410 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10411 (python-shell-virtualenv-path): New defcustoms.
10412 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10413 (inferior-python-mode-syntax-table, python--prompt-regexp)
10414 (python-buffer, python-command python-python-command)
10415 (python-default-template, python-imports, python-indent-index)
10416 (python-indent-list, python-indent-list-length)
10417 (python-mode-running, python-pdbtrack-is-tracking-p)
10418 (python-preoutput-continuation, python-preoutput-leftover)
10419 (python-preoutput-result, python-preoutput-skip-next-prompt)
10420 (python-prev-dir/file, python-recursing)
10421 (python-saved-check-command, python-version-checked)
10422 (python-which-func-length-limit)
10423 (view-return-to-alist): Delete vars.
10424 (python-check-custom-command, python-dotty-syntax-table)
10425 (python-imenu-index-alist, python-indent-current-level)
10426 (python-indent-dedenters, python-indent-levels)
10427 (python-nav-beginning-of-defun-regexp)
10428 (python-nav-list-defun-positions-cache)
10429 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10430 (python-shell-internal-buffer)
10431 (python-skeleton-available): New vars.
10432 (def-python-skeleton): Delete macro.
10433 (python-skeleton-define): New macro.
10434 (python-define-auxiliary-skeleton, python-rx): New macros.
10435 (python-insert-class): Delete command.
10436 (python-skeleton-class): New command.
10437 (python-insert-def): Delete command.
10438 (python-skeleton-def): New command.
10439 (python-insert-for): Delete command.
10440 (python-skeleton-for): New command.
10441 (python-insert-if): Delete command.
10442 (python-skeleton-if): New command.
10443 (python-insert-try/except, python-insert-try/finally): Delete commands.
10444 (python-skeleton-try): New command.
10445 (python-insert-while): Delete command.
10446 (python-skeleton-while): New command.
10447 (python-backspace): Delete command.
10448 (python-indent-dedent-line-backspace): New command.
10449 (python-electric-colon): Delete command.
10450 (python-indent-electric-colon): New command.
10451 (python-guess-indent): Delete command.
10452 (python-indent-guess-indent-offset): New command.
10453 (python-shift-left): Delete command.
10454 (python-indent-shift-left): New command.
10455 (python-shift-right): Delete command.
10456 (python-indent-shift-right): New command.
10457 (python-find-function): Delete command.
10458 (python-nav-jump-to-defun): New command.
10459 (python-next-statement): Delete command.
10460 (python-nav-forward-sentence): New command.
10461 (python-previous-statement): Delete command.
10462 (python-nav-backward-sentence): New command.
10463 (python-fill-paragraph): Delete command.
10464 (python-fill-paragraph-function): New command.
10465 (python-send-buffer): Delete command.
10466 (python-shell-send-buffer): New command.
10467 (python-send-defun): Delete command.
10468 (python-shell-send-defun): New command.
10469 (python-send-region, python-send-region-and-go): Delete commands.
10470 (python-shell-send-region)
10471 (python-shell-switch-to-shell): New commands.
10472 (python-send-string): Delete command.
10473 (python-shell-send-string): New command.
10474 (python-switch-to-python): Delete command.
10475 (python-shell-switch-to-shell): New command.
10476 (python-describe-symbol): Delete command.
10477 (python-eldoc-at-point): New command.
10478 (python--set-prompt-regexp, python-args-to-list)
10479 (python-after-info-look, python-check-version)
10480 (python-check-comint-prompt, python-find-imports)
10481 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10482 (python-unload-function, python-expand-template)
10483 (python-maybe-jython, python-preoutput-filter)
10484 (python-pdbtrack-get-source-buffer)
10485 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10486 (python-pdbtrack-toggle-stack-tracking)
10487 (python-pdbtrack-track-stack-file, python-initial-text)
10488 (python-first-word, python-comment-line-p, python-send-command)
10489 (python-setup-brm, python-sentinel, python-set-proc)
10490 (python-skip-out, python-input-filter, python-outdent-p)
10491 (python-outline-level, python-backslash-continuation-line-p)
10492 (python-end-of-block, python-end-of-statement, python-mark-block)
10493 (python-beginning-of-block, python-beginning-of-statement)
10494 (python-blank-line-p, python-beginning-of-string)
10495 (python-open-block-statement-p): Delete functions.
10496 (python-indent-line, python-indent-line-1): Delete functions.
10497 (python-indent-line): New function.
10498 (python-indentation-levels): Delete function.
10499 (python-indent-calculate-levels): New function.
10500 (python-proc): Delete function.
10501 (python-shell-get-process): New function.
10502 (python-send-receive): Delete function.
10503 (python-shell-send-string-no-output): New function.
10504 (python-module-path): Delete function.
10505 (python-ffap-module-path): New function.
10506 (python-completion-at-point)
10507 (python-symbol-completions): Delete functions.
10508 (python-completion-complete-at-point): New function.
10509 (python-load-file): Delete function.
10510 (python-shell-send-file): New function.
10511 (python-calculate-indentation): Delete function.
10512 (python-indent-calculate-indentation): New function.
10513 (python-skip-comments/blanks): Delete function.
10514 (python-util-forward-comment): New function.
10515 (python-continuation-line-p): Delete function.
10516 (python-info-continuation-line-p): New function.
10517 (python-which-func, python-current-defun): Delete function.
10518 (python-info-current-defun): New function.
10519 (python-beginning-of-defun): Delete function.
10520 (python-nav-beginning-of-defun): New function.
10521 (python-close-block-statement-p)
10522 (python-block-end-p): Delete function.
10523 (python-info-closing-block): New function.
10524 (python-comint-output-filter-function)
10525 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10526 (python-fill-comment, python-fill-decorator, python-fill-paren)
10527 (python-fill-string, python-imenu-make-element-tree)
10528 (python-imenu-make-tree, python-imenu-tree-assoc)
10529 (python-indent-context, python-indent-dedent-line)
10530 (python-indent-line-function)
10531 (python-indent-post-self-insert-function)
10532 (python-indent-toggle-levels)
10533 (python-info-assignment-continuation-line-p)
10534 (python-info-beginning-of-backlash)
10535 (python-info-block-continuation-line-p)
10536 (python-info-closing-block-message)
10537 (python-info-line-ends-backslash-p)
10538 (python-info-looking-at-beginning-of-defun)
10539 (python-info-ppss-context, python-info-ppss-context-type)
10540 (python-nav-list-defun-positions, python-nav-read-defun)
10541 (python-nav-sentence-end, python-nav-sentence-start)
10542 (python-pdbtrack-comint-output-filter-function)
10543 (python-pdbtrack-set-tracked-buffer)
10544 (python-shell-calculate-exec-path)
10545 (python-shell-calculate-process-environment)
10546 (python-shell-completion--do-completion-at-point)
10547 (python-shell-completion--get-completions)
10548 (python-shell-completion-complete-at-point)
10549 (python-shell-completion-complete-or-indent)
10550 (python-shell-get-or-create-process)
10551 (python-shell-get-process-name)
10552 (python-shell-internal-get-or-create-process)
10553 (python-shell-internal-get-process-name)
10554 (python-shell-internal-send-string, python-shell-make-comint)
10555 (python-shell-parse-command, python-shell-send-setup-code)
10556 (python-skeleton-add-menu-items)
10557 (python-util-clone-local-variables, python-util-position)
10558 (run-python-internal, python-indentation-levels)
10559 (python-nav-beginning-of-defun)
10560 (python-completion-complete-at-point): New functions.
10561 (run-python): Change arguments. New API requirements.
10562
10563 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10566 (bug#11649).
10567
10568 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10569 (macroexp--expand-all): Use it.
10570
10571 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10572 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10573 Use `cl-function' instead.
10574
10575 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10576
10577 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10578 Suggested by Stefan Monnier while discussing bug#11657.
10579
10580 2012-06-14 Sam Steingold <sds@gnu.org>
10581
10582 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10583
10584 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10585
10586 * play/doctor.el (doctor-doc): Remove parameter and use
10587 doctor-sent instead of sent.
10588 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10589
10590 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * files.el: Require cl-lib.
10593 (file-name-non-special): Replace case -> cl-case.
10594
10595 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10596
10597 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10598 mapping from #' to function*.
10599
10600 2012-06-13 Chong Yidong <cyd@gnu.org>
10601
10602 * mouse.el (mouse-drag-track): Do not set the mark if the user
10603 releases the mouse without selecting anything (Bug#11588).
10604
10605 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10608 as well (bug#11646).
10609
10610 * loadup.el: Count byte-code functions as well.
10611
10612 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10613 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10614
10615 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10616 (bug#11649). Add cl-defun and cl-defmacro.
10617
10618 2012-06-13 Drew Adams <drew.adams@oracle.com>
10619
10620 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10621 Fix last change.
10622
10623 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10624
10625 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10626 Otherwise, it blocks in batch mode.
10627
10628 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10629
10630 * help-mode.el (bookmark-make-record-default): Declare.
10631
10632 2012-06-13 Chong Yidong <cyd@gnu.org>
10633
10634 * emacs-lisp/package.el (list-packages): Compute a list of
10635 packages that are newly-available since the last list-packages
10636 invocation.
10637 (package-menu--new-package-list): New var.
10638 (package-menu--generate, package-menu--print-info)
10639 (package-menu--status-predicate, package-menu-mark-install):
10640 Handle new status label "new".
10641
10642 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10645 conversion to backquotes.
10646
10647 2012-06-12 Chong Yidong <cyd@gnu.org>
10648
10649 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10650 Rename from gud-inhibit-global-bindings.
10651
10652 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10653
10654 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10655 hook from nxml-glyph-set-hook.
10656
10657 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10658 declaration.
10659
10660 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10661
10662 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10663 Convert to defcustom.
10664
10665 2012-06-12 Drew Adams <drew.adams@oracle.com>
10666
10667 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10668 New functions.
10669 (help-mode): Use them.
10670
10671 2012-06-11 Glenn Morris <rgm@gnu.org>
10672
10673 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10674 Use preprocessor face for directives.
10675 (fortran-directive-re): Doc fix.
10676
10677 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10680 conversion to backquotes (bug#11652).
10681
10682 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10683 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10684 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10685 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10686 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10687 (cl-ninth, cl-tenth): Mark them as inlinable.
10688 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10689 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10690 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10691 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10692 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10693 (cl-list*, cl-adjoin): Don't put an autoload manually.
10694 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10695 (cl--compiler-macro-list*): Add autoload cookie.
10696 (cl--compiler-macro-cXXr): New function.
10697
10698 * help-fns.el (help-fns--compiler-macro): New function extracted from
10699 describe-function-1; follow aliases and use `compiler-macro' property.
10700 (describe-function-1): Use it.
10701
10702 2012-06-11 Chong Yidong <cyd@gnu.org>
10703
10704 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10705 is uninstalled, if imagemagick is installed.
10706
10707 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * emacs-lisp/cl-lib.el: Use lexical-binding.
10710 (cl-map-extents, cl-maclisp-member): Remove.
10711 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10712 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10713 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10714 * emacs-lisp/cl-extra.el: Use lexical-binding.
10715 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10716 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10717 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10718 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10719 * emacs-lisp/cl-seq.el: Use lexical-binding.
10720 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10721 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10722 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10723 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10724 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10725 CL's internals.
10726
10727 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10728
10729 Sync with Tramp 2.2.6-pre.
10730
10731 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10732 `print-length' and `print-level' to nil, in order to avoid
10733 truncation. Reported by Christopher Schmidt
10734 <christopher@ristopher.com>.
10735
10736 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10737
10738 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10739 New defmacro.
10740 (tramp-compat-copy-directory): Add optional argument
10741 COPY-CONTENTS. It is not handled yet.
10742
10743 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10744 (tramp-ftp-file-name-p): Simplify.
10745
10746 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10747 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10748 connection vector.
10749
10750 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10751 (tramp-methods): Do not use `tramp-password-end-of-line'.
10752 (tramp-completion-function-alist-putty): Handle UNIX case.
10753 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10754 (tramp-do-file-attributes-with-stat)
10755 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10756 gid as real numbers. They could run out of integer range on cygwin.
10757 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10758 (tramp-sh-handle-expand-file-name): Handle hops.
10759 (tramp-open-connection-setup-interactive-shell):
10760 Use `tramp-cleanup'. Move check for busyboxes ...
10761 (tramp-find-shell): ... here. Simplify implementation.
10762 Set "remote-shell" property also for alternative shells.
10763 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10764 If failing, a regular file would be written otherwise.
10765 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10766 (tramp-find-inline-encoding): Cache the coding commands in the
10767 process cache. Apply test command on the remote side, if defined.
10768 (tramp-find-inline-compress): Cache the compress commands in the
10769 process cache.
10770 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10771 when requested. Handle hops.
10772 (tramp-current-connection): New defvar.
10773 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10774 Throw `suppress', if there was a failed connection shortly before.
10775 Handle user interrupt. (Bug#10187)
10776 (tramp-get-inline-compress, tramp-get-inline-coding):
10777 Read connection properties from the process cache.
10778
10779 * net/tramp-smb.el (tramp-smb-server-version)
10780 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10781 New defconsts.
10782 (tramp-smb-prompt): Extend for powershell prompt.
10783 (tramp-smb-file-name-handler-alist): Add handlers for
10784 `process-file', `shell-command' and `start-file-process'.
10785 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10786 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10787 (tramp-smb-file-name-p): Simplify.
10788 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10789 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10790 (tramp-smb-shell-quote-argument): New defuns.
10791 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10792 Implement using "tar". By this, time-stamps are preserved.
10793 (tramp-smb-handle-copy-file): Handle also the case of directories.
10794 (tramp-smb-do-file-attributes-with-stat)
10795 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10796 Use `tramp-get-connection-buffer').
10797 (tramp-smb-handle-rename-file): Use "rename", when source and
10798 target are on the same share.
10799 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10800 Use `tramp-smb-server-version'.
10801 (tramp-smb-wait-for-output): Remove prompt.
10802
10803 * net/tramp.el (top): Require 'cl.
10804 (tramp-methods, tramp-rsh-end-of-line):
10805 Remove `tramp-password-end-of-line' from docstring.
10806 (tramp-save-ad-hoc-proxies): New defcustom.
10807 (tramp-completion-function-alist): Adapt docstring.
10808 (tramp-default-password-end-of-line): Remove defcustom.
10809 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10810 (tramp-user-regexp, tramp-file-name-regexp-unified)
10811 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10812 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10813 (tramp-remote-file-name-spec-regexp): New defconst.
10814 (tramp-file-name-structure): Extend structure for hops.
10815 (tramp-get-method-parameter): Move up.
10816 (tramp-file-name-p, tramp-dissect-file-name)
10817 (with-parsed-tramp-file-name): Handle hops.
10818 (tramp-file-name-hop): New defun.
10819 (tramp-make-tramp-file-name): New optional arg HOP.
10820 (tramp-message-show-progress-reporter-message): New defvar.
10821 (tramp-with-progress-reporter): Use it. We cannot use
10822 `tramp-message-show-message' here, because this suppresses also
10823 error buffers.
10824 (tramp-error-with-buffer): Suppress buffer view, if
10825 `tramp-message-show-message' is nil.
10826 Use `tramp-get-connection-buffer'.
10827 (tramp-cleanup): New defun.
10828 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10829 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10830 an error unchanged.
10831 (tramp-completion-handle-file-name-all-completions): Handle hops.
10832 Fix an error when called from ido.
10833 (tramp-completion-dissect-file-name): Use better local variable
10834 name. Add hop to the vector.
10835 (tramp-handle-insert-file-contents): Use progress-reporter for the
10836 whole scenario.
10837 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10838 to `t'.
10839 (tramp-check-for-regexp): Simplify search.
10840 (tramp-enter-password): Remove it. Move implementation ...
10841 (tramp-action-password): ... here.
10842 (tramp-mode-string-to-int, tramp-local-host-p)
10843 (tramp-make-tramp-temp-file, tramp-read-passwd)
10844 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10845 Set tramp-autoload cookie.
10846
10847 * net/trampver.el: Update release number.
10848
10849 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10850 Michael Albinus <michael.albinus@gmx.de>
10851
10852 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10853 (tramp-parse-group, tramp-parse-file)
10854 (tramp-parse-shostkeys-sknownhosts): New defuns.
10855 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10856 (tramp-parse-shosts-group, tramp-parse-sconfig)
10857 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10858 (tramp-parse-sknownhosts, tramp-parse-hosts)
10859 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10860 Use them.
10861 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10862 (tramp-parse-putty-group): Don't narrow.
10863 (tramp-parse-putty): Make a loop.
10864 (tramp-file-name-handler): Catch the `suppress' signal.
10865
10866 2012-06-11 Chong Yidong <cyd@gnu.org>
10867
10868 * image.el (imagemagick-register-types): Put the ImageMagick entry
10869 at the end of image-type-file-name-regexps.
10870
10871 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10872
10873 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10874 (pcase, pcase-let*, pcase-dolist): Use them.
10875
10876 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 * emacs-lisp/pcase.el (pcase--let*): New function.
10879 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10880 (pcase--expand): Use macroexp-let².
10881
10882 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10885 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10886 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10887 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10888 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10889 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10890
10891 2012-06-10 Glenn Morris <rgm@gnu.org>
10892
10893 * mail/rmail.el (rmail-yank-current-message): Leave point at
10894 correct position. (Bug#11660)
10895
10896 2012-06-10 Chong Yidong <cyd@gnu.org>
10897
10898 * allout-widgets.el: Fix code header.
10899
10900 2012-06-10 Chong Yidong <cyd@gnu.org>
10901
10902 * cus-edit.el (customize-changed-options-previous-release):
10903 Bump to 24.1.
10904
10905 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10906
10907 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10908
10909 2012-06-09 Chong Yidong <cyd@gnu.org>
10910
10911 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10912
10913 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10914
10915 * window.el (special-display-popup-frame): Don't use
10916 window--display-buffer (Bug#11651).
10917
10918 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10919
10920 Fix parallel builds: make sure loaddefs.el is not being written
10921 while Lisp files are compiled.
10922 (compile): Don't depend on 'mh-autoloads'.
10923 (compile-CMD, compile-SH): Depend on 'autoloads'.
10924 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10925
10926 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10927
10928 2012-06-09 Chong Yidong <cyd@gnu.org>
10929
10930 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10931 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10932 Doc fixes (Bug#11225).
10933
10934 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10937 a function if there's a clear indication that it has a compiler-macro.
10938 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10939 (macro-declarations-alist): Add arglist to declaration functions.
10940 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10941 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10942 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10943 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10944 Also add autoload to find the compiler macro.
10945 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10946 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10947 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10948 (cl--compiler-macro-get): New functions, replacing calls to
10949 cl-define-compiler-macro.
10950 (cl-typep) [compiler-macro]: Use macroexp-let².
10951
10952 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10953
10954 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10955 string properly, fixes Bug#11473.
10956
10957 2012-06-08 Chong Yidong <cyd@gnu.org>
10958
10959 * faces.el (set-face-attribute): Doc fix.
10960 (modify-face): Don't use :bold and :italic.
10961 (error, warning, success): Tweak definitions.
10962
10963 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10964 (custom-modified, custom-set, custom-changed, custom-themed)
10965 (custom-saved, custom-button, custom-button-mouse)
10966 (custom-button-pressed, custom-state, custom-comment-tag)
10967 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10968 (custom-group-subtitle): Use new-style face specs.
10969 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10970 (custom-set-face, custom-changed-face, custom-saved-face)
10971 (custom-button-face, custom-button-pressed-face)
10972 (custom-documentation-face, custom-state-face)
10973 (custom-comment-face, custom-comment-tag-face)
10974 (custom-variable-tag-face, custom-variable-button-face)
10975 (custom-face-tag-face, custom-group-tag-face-1)
10976 (custom-group-tag-face): Remove obsolete face alias.
10977
10978 * epa.el (epa-validity-high, epa-validity-medium)
10979 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10980 (epa-field-name, epa-field-body):
10981 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10982 (font-lock-keyword-face, font-lock-builtin-face)
10983 (font-lock-function-name-face, font-lock-variable-name-face)
10984 (font-lock-type-face, font-lock-constant-face):
10985 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10986 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10987 * speedbar.el (speedbar-button-face, speedbar-file-face)
10988 (speedbar-directory-face, speedbar-tag-face)
10989 (speedbar-selected-face, speedbar-highlight-face)
10990 (speedbar-separator-face):
10991 * whitespace.el (whitespace-newline, whitespace-space)
10992 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10993 (whitespace-line, whitespace-space-before-tab)
10994 (whitespace-space-after-tab, whitespace-indentation)
10995 (whitespace-empty):
10996 * emulation/cua-base.el (cua-global-mark):
10997 * eshell/em-prompt.el (eshell-prompt):
10998 * net/newst-plainview.el (newsticker-new-item-face)
10999 (newsticker-old-item-face, newsticker-immortal-item-face)
11000 (newsticker-obsolete-item-face, newsticker-date-face)
11001 (newsticker-statistics-face, newsticker-default-face):
11002 * net/newst-reader.el (newsticker-feed-face)
11003 (newsticker-extra-face, newsticker-enclosure-face):
11004 * net/newst-treeview.el (newsticker-treeview-face)
11005 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11006 (newsticker-treeview-immortal-face)
11007 (newsticker-treeview-obsolete-face)
11008 (newsticker-treeview-selection-face):
11009 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11010 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11011 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11012 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11013 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11014 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11015 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11016 (mpuz-text):
11017 * progmodes/vera-mode.el (vera-font-lock-number)
11018 (vera-font-lock-function, vera-font-lock-interface):
11019 * textmodes/table.el (table-cell): Use new-style face specs, and
11020 don't use the old :bold and :italic attributes.
11021
11022 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11023 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11024 (ebrowse-member-class, ebrowse-progress): Likewise.
11025 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11026 (ebrowse-file-name-face, ebrowse-default-face)
11027 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11028 (ebrowse-progress-face): Remove obsolete faces.
11029
11030 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11031 Inherit from error and warning faces respectively.
11032
11033 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11034 Likewise.
11035 (flyspell-incorrect-face, flyspell-duplicate-face):
11036 Remove obsolete aliases.
11037
11038 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11039
11040 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11041 Avoid infloop.
11042
11043 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * startup.el (argv, argi): Make lexically scoped.
11046 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11047 * emacs-lisp/cl-macs.el: Use lexical-binding.
11048 Rename cl-bind-* to cl--bind-*.
11049 * files.el: Don't require `cl' since it doesn't use it.
11050 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11051
11052 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11053
11054 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11055 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11056 instead of calling external sort utility.
11057 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11058
11059 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11060
11061 * descr-text.el (describe-char): Mention how to insert the
11062 character, if the current input method doesn't support it.
11063 See the discussion in this thread for the details:
11064 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11065
11066 2012-06-08 Sam Steingold <sds@gnu.org>
11067
11068 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11069 XF86Back to previous-buffer.
11070 (minibuffer-local-map): Bind them to next-history-element and
11071 previous-history-element respectively.
11072 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11073 help-go-back respectively.
11074 * info.el (Info-mode-map): Bind them to Info-history-forward and
11075 Info-history-back respectively.
11076 These are the keys next to Up on the ThinkPad keyboard.
11077
11078 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11081 * emacs-lisp/cl-macs.el: Provide itself.
11082 (cl--labels-convert-cache): New var.
11083 (cl--labels-convert): New function.
11084 (cl-flet, cl-labels): New implementation with new semantics, relying on
11085 lexical-binding.
11086 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11087 (cl-closure-vars, cl--function-convert-cache)
11088 (cl--function-convert): Move from cl-macs.el.
11089 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11090 rename by removing the "cl-" prefix.
11091 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11092
11093 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11096 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11097 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11098 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11099 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11100 (cl-hash-table-count): Add old compatibility aliases.
11101
11102 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11103 Use macroexpand-all-environment instead.
11104 (cl--old-macroexpand): New var.
11105 (cl--sm-macroexpand): New function.
11106 (cl-symbol-macrolet): Use it during macro expansion.
11107 (cl--function-convert-cache): New var.
11108 (cl--function-convert): New function, extracted from
11109 cl-macroexpand-all.
11110 (cl-lexical-let): Use it.
11111
11112 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11113 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11114 (cl-member): Remove old alias.
11115
11116 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11117 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11118 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11119 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11120 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11121 (cl-macroexpand-cmacs): Remove var.
11122 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11123 Use macroexpand-all instead.
11124
11125 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11128 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11129 (macroexp-copyable-p): New functions and macros.
11130 * emacs-lisp/edebug.el (edebug-unwrap):
11131 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11132 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11133 (pcase--let*): Remove.
11134 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11135 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11136 macroexp-const-p instead.
11137 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11138
11139 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11140 instead of "cl-" for internal definitions. Use macroexp-const-p.
11141 (cl-old-bc-file-form): Remove var.
11142 (cl-const-exprs-p): Remove fun.
11143 (cl-labels, cl-macrolet): Use backquote.
11144 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11145 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11146 (cl-define-setf-expander): Rename from cl-define-setf-method.
11147 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11148
11149 * international/mule-cmds.el: Don't require CL.
11150 (view-hello-file): Don't use `letf'.
11151
11152 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * tmm.el (tmm-prompt): Use string-prefix-p.
11155 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11156 (tmm-add-prompt): Use minibuffer-completion-help.
11157 (tmm-delete-map): Remove.
11158
11159 * subr.el (kbd): Make it its own function.
11160
11161 2012-06-07 Stefan Merten <smerten@oekonux.de>
11162
11163 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11164 Silence compiler warnings. Fix versions.
11165 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11166 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11167 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11168 (rst-package-emacs-version-alist): Correct Emacs version to
11169 represent major merge with upstream.
11170 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11171
11172 2012-06-06 Glenn Morris <rgm@gnu.org>
11173
11174 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11175 Only print environment variables if set.
11176
11177 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11180 (macroexp--cons): Rename from maybe-cons.
11181 (macroexp--accumulate): Rename from macroexp-accumulate.
11182 (macroexp--all-forms): Rename from macroexpand-all-forms.
11183 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11184 (macroexp--expand-all): Rename from macroexpand-all-1.
11185
11186 2012-06-06 Sam Steingold <sds@gnu.org>
11187
11188 * calendar/calendar.el (calendar-in-read-only-buffer):
11189 Call `special-mode' to enable the standard read-only keybindings.
11190
11191 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11194 with "loading" messages (bug#11635).
11195
11196 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11197
11198 * files.el (enable-remote-dir-locals): New option.
11199 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11200
11201 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11202 Ensure, that the temp directory is local.
11203
11204 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11205 `temporary-file-directory'.
11206
11207 * progmodes/python.el (python-send-region): Ensure, that the
11208 temporary file is created also in the remote case.
11209
11210 2012-06-06 Glenn Morris <rgm@gnu.org>
11211
11212 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11213 (vc-rcs-update-changelog): Use it.
11214
11215 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11216
11217 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11218 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11219 (vc-sccs-diff): Replace use of the external vcdiff script.
11220
11221 2012-06-05 Glenn Morris <rgm@gnu.org>
11222
11223 * ledit.el: Move to obsolete/.
11224
11225 2012-06-05 Sam Steingold <sds@gnu.org>
11226
11227 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11228 patch (Bug#11140).
11229
11230 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * emacs-lisp/cust-print.el: Move to obsolete.
11233
11234 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11235 compiler-macro expansion.
11236
11237 Add native compiler-macro support.
11238 * emacs-lisp/macroexp.el (macroexpand-all-1):
11239 Support compiler-macros directly. Properly follow aliases and apply
11240 the compiler macros more thoroughly.
11241 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11242 macroexpand now properly follows aliases.
11243 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11244 (cl-compiler-macroexpand): Use new prop.
11245 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11246
11247 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11248
11249 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11250
11251 * window.el (get-lru-window, get-mru-window, get-largest-window):
11252 New argument NOT-SELECTED to avoid picking the selected window.
11253 (window--display-buffer-1, window--display-buffer-2): Replace by
11254 new function window--display-buffer
11255 (display-buffer-same-window, display-buffer-reuse-window)
11256 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11257 Use window--display-buffer.
11258 (display-buffer-use-some-window): Remove temporary dedication
11259 hack by calling get-lru-window and get-largest-window with
11260 NOT-SELECTED argument non-nil. Call window--display-buffer.
11261
11262 2012-06-05 Glenn Morris <rgm@gnu.org>
11263
11264 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11265 Replace external vcdiff script.
11266
11267 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11270
11271 2012-06-04 Chong Yidong <cyd@gnu.org>
11272
11273 * image.el (imagemagick-types-inhibit): Revert last change.
11274 Add INFO and M.
11275 (imagemagick-enabled-types): Remove CIN and EPS*.
11276
11277 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * emacs-lisp/cl-lib.el: Rename from cl.el.
11280 * emacs-lisp/cl.el: New compatibility file.
11281 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11282 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11283 to obey the "cl-" prefix.
11284 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11285
11286 2012-06-03 Glenn Morris <rgm@gnu.org>
11287
11288 * emacs-lisp/authors.el (authors-aliases): Addition.
11289
11290 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11291 Fix :version.
11292
11293 2012-06-03 Stefan Merten <smerten@oekonux.de>
11294
11295 * textmodes/rst.el: Add comments.
11296 (rst-transition, rst-adornment): New faces.
11297 (rst-adornment-faces-alist): Make default safe to reevaluate.
11298 Fixes
11299 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11300 Improve customization tags.
11301 (rst-define-level-faces): Clarify meaning.
11302
11303 2012-06-03 Chong Yidong <cyd@gnu.org>
11304
11305 * progmodes/compile.el (compilation-mode-line-fail)
11306 (compilation-mode-line-run, compilation-mode-line-exit):
11307 New faces.
11308 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11309
11310 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11311
11312 * progmodes/which-func.el (which-func-update-ediff-windows):
11313 New function. Use it in ediff-select-hook (Bug#11478).
11314
11315 2012-06-03 Chong Yidong <cyd@gnu.org>
11316
11317 * bindings.el: Remove explicit help text from format-mode-line.
11318 It is now supplied by mode-line-default-help-echo.
11319 (mode-line-front-space, mode-line-end-spaces)
11320 (mode-line-misc-info): New variables.
11321 (mode-line-modes, mode-line-position): Move the default value to
11322 the variable definition.
11323 (mode-line-default-help-echo): New defcustom.
11324 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11325 (mode-line-modified-help-echo): New functions.
11326 (mode-line-mule-info, mode-line-modified): Use them.
11327 (mode-line-eol-desc, propertized-buffer-identification):
11328 Consistency fixes for help text.
11329 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11330 set-buffer-file-coding-system (Bug#289).
11331 (mode-line-mule-info-help-echo): Update help text.
11332
11333 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * simple.el (execute-extended-command): Set real-this-command
11336 (bug#11506).
11337
11338 2012-06-02 Chong Yidong <cyd@gnu.org>
11339
11340 Remove incorrect uses of "modeline" in comments, docstrings, and
11341 function/variable names (Bug#10329).
11342
11343 * cus-edit.el (mode-line):
11344 * dframe.el (dframe-mouse-hscroll):
11345 * emacs-lisp/re-builder.el:
11346 * emacs-lisp/easy-mmode.el (define-minor-mode):
11347 * frame.el (set-frame-name):
11348 * help.el (lookup-minor-mode-from-indicator):
11349 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11350 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11351 (c-toggle-hungry-state):
11352 * progmodes/antlr-mode.el (antlr-language-alist):
11353 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11354 * progmodes/vhdl-mode.el (vhdl-mode):
11355 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11356 * term/ns-win.el (ns-face-at-pos):
11357 * term/sup-mouse.el (sup-mouse-report):
11358 * textmodes/flyspell.el (flyspell-mode-line-string):
11359 * textmodes/ispell.el (ispell-highlight-face):
11360 * textmodes/reftex-global.el:
11361 * vc/vc-arch.el (vc-arch-mode-line-string):
11362 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11363 * vc/vc-git.el (vc-git-mode-line-string):
11364 * vc/vc-hooks.el (vc-display-status)
11365 (vc-default-mode-line-string):
11366 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11367
11368 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11369
11370 * dired.el (dired-sort-set-mode-line): Rename from
11371 dired-sort-set-modeline. All callers changed.
11372
11373 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11374 eshell-status-in-modeline.
11375
11376 * foldout.el (foldout-mode-line-string): Rename from
11377 foldout-modeline-string. All callers changed.
11378 (foldout-update-mode-line): Rename from foldout-update-modeline.
11379
11380 * subr.el (redraw-modeline): Make into obsolete alias.
11381
11382 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11383 timeclock-modeline-display. Make old name an alias.
11384 (timeclock-update-mode-line): Likewise. All callers changed.
11385 (timeclock-mode-line-display): No need to check before using
11386 add-hook.
11387 (timeclock-relative, timeclock-day-over-hook)
11388 (timeclock-use-elapsed, timeclock-mode-string)
11389 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11390
11391 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11392 crisp-mode-modeline-string.
11393
11394 * play/solitaire.el (solitaire-build-mode-line): Rename from
11395 solitaire-build-modeline. All callers changed.
11396
11397 * play/zone.el (zone-hiding-mode-line): Rename from
11398 zone-hiding-modeline. All callers changed.
11399 (zone): Remove unusued `modeline-hidden-level' property.
11400
11401 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11402 xscheme-modeline-initialize. All callers changed.
11403
11404 * strokes.el (strokes-lighter): Rename from
11405 strokes-modeline-string.
11406
11407 * textmodes/sgml-mode.el (html-face-tag-alist)
11408 (html-tag-face-alist): Use mode-line face instead of obsolete
11409 alias modeline.
11410
11411 2012-06-02 Stefan Merten <smerten@oekonux.de>
11412
11413 * textmodes/rst.el: Always require `cl'.
11414 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11415
11416 2012-06-02 Chong Yidong <cyd@gnu.org>
11417
11418 * image.el (imagemagick-enabled-types): Rename from
11419 imagemagick-types-enable. Add many more types.
11420 (imagemagick-types-inhibit): Change default to nil.
11421 (imagemagick-filter-types): Caller changed.
11422
11423 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * emacs-lisp/cl-macs.el: Use backquotes.
11426 (cl-transform-function-property): Use eval-and-compile rather than
11427 abusing `require'.
11428 (defstruct): Use declare-function instead of with-no-warnings.
11429
11430 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11431 (byte-compile-output-docform): Re-add the print-circle bindings.
11432 (byte-compile-fix-header): Use #$ just because it's shorter.
11433 (byte-compile-output-file-form): Remove defun/defmacro.
11434
11435 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11436
11437 * simple.el (choose-completion): Remove now obsolete binding for
11438 owindow.
11439
11440 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11441
11442 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11443 in order to avoid "Stack overflow in regexp matcher".
11444
11445 2012-05-31 Glenn Morris <rgm@gnu.org>
11446
11447 * image.el: For clarity, call imagemagick-register-types at
11448 top-level, rather than relying on a custom :initialize.
11449 (imagemagick-types-enable): New option. (Bug#11557)
11450 (imagemagick-filter-types): New function. (Bug#7406)
11451 (imagemagick-register-types): Use imagemagick-filter-types.
11452 If disabling support, remove elements altogether rather
11453 than using an impossible regexp.
11454 (imagemagick-types-inhibit): Give it the default init function.
11455
11456 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11459 Handle arbitrary file name lengths (Bug#11585).
11460
11461 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11462
11463 * desktop.el (desktop-read): Clear previous and next buffers for
11464 all windows and bury *Messages* buffer (bug#11556).
11465
11466 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 Add `declare' for `defun'. Align `defmacro's with it.
11469 * emacs-lisp/easy-mmode.el (define-minor-mode)
11470 (define-globalized-minor-mode): Don't autoload the var definitions.
11471 * emacs-lisp/byte-run.el: Use lexical-binding.
11472 (defun-declarations-alist, macro-declarations-alist): New vars.
11473 (defmacro, defun): Use them.
11474 (make-obsolete, define-obsolete-function-alias)
11475 (make-obsolete-variable, define-obsolete-variable-alias):
11476 Use `declare'.
11477 (macro-declaration-function): Mark obsolete.
11478 * emacs-lisp/autoload.el: Use lexical-binding.
11479 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11480
11481 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11482
11483 * textmodes/ispell.el (ispell-with-no-warnings):
11484 Define as a macro.
11485 (ispell-kill-ispell, ispell-change-dictionary):
11486 Use `called-interactively-p' for Emacs instead of obsolete
11487 `interactive-p'.
11488
11489 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11492 (macro-declaration-function): Move var from C code.
11493 (macro-declaration-function): Define function with defalias.
11494 * emacs-lisp/macroexp.el (macroexpand-all-1):
11495 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11496 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11497 defun/defmacro any more.
11498 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11499 Provide fallback for unknown arglist.
11500 (byte-compile-arglist-warn): Change calling convention.
11501 (byte-compile-output-file-form): Move print-vars binding.
11502 (byte-compile-output-docform): Simplify accordingly.
11503 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11504 (byte-compile-defmacro-declaration): Remove.
11505 (byte-compile-file-form-defmumble): Generalize to defalias.
11506 (byte-compile-output-as-comment): Return byte-positions.
11507 Simplify callers accordingly.
11508 (byte-compile-lambda): Use `assert'.
11509 (byte-compile-defun, byte-compile-defmacro): Remove.
11510 (byte-compile-file-form-defalias):
11511 Use byte-compile-file-form-defmumble.
11512 (byte-compile-defalias-warn): Remove.
11513
11514 2012-05-29 Stefan Merten <smerten@oekonux.de>
11515
11516 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11517 possible. Fix authors. Improve comments. Improve loading of `cl'.
11518
11519 (rst-mode-abbrev-table): Merge definition.
11520 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11521 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11522
11523 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11524
11525 * calendar/icalendar.el
11526 (icalendar-export-region): Export UID properly.
11527
11528 2012-05-29 Leo Liu <sdl.web@gmail.com>
11529 * calendar/icalendar.el (icalendar-import-format):
11530 Add `icalendar-import-format-uid' (Bug#11525).
11531 (icalendar-import-format-uid): New.
11532 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11533 Export UID.
11534
11535 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11538 different alternative patterns.
11539 (pcase-codegen): Be more careful to preserve identity.
11540 (pcase--u1): Don't forget to mark vars as used.
11541
11542 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11543 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11544 (byte-compile-from-buffer): ...rather than here.
11545
11546 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11547 functions from byte-compile-function-environment.
11548
11549 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11550
11551 * window.el (window-deletable-p): Avoid deleting the root window
11552 of a frame with an active minibuffer.
11553
11554 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11555
11556 * simple.el (choose-completion): Use quit-window (Bug#11567).
11557
11558 2012-05-29 Chong Yidong <cyd@gnu.org>
11559
11560 * whitespace.el (whitespace-cleanup): Fix usage of
11561 whitespace-empty-at-bob-regexp (Bug#11492).
11562
11563 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11564
11565 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11566 revert (Bug#11488).
11567
11568 2012-05-29 Juri Linkov <juri@jurta.org>
11569
11570 * isearch.el (isearch-mode-map): Bind `M-s _' to
11571 `isearch-toggle-symbol'. Bind `M-s c' to
11572 `isearch-toggle-case-fold'.
11573 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11574 (isearch-forward): Add `M-s _' to the docstring.
11575 (isearch-forward-symbol, isearch-toggle-case-fold)
11576 (isearch-symbol-regexp): New functions. (Bug#11381)
11577
11578 2012-05-29 Juri Linkov <juri@jurta.org>
11579
11580 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11581 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11582 a function, call it to get the regexp.
11583 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11584 property `isearch-message-prefix' instead of the string "word ".
11585 (isearch-search-fun-default): For the case of `isearch-word',
11586 return a lambda that calls re-search-forward/re-search-backward
11587 with a regexp returned by `word-search-regexp' or by the function
11588 in `isearch-word'.
11589
11590 2012-05-29 Juri Linkov <juri@jurta.org>
11591
11592 * isearch.el (isearch-search-fun-default): New function.
11593 (isearch-search-fun): Move default part to the new function
11594 `isearch-search-fun-default'.
11595 (isearch-search-fun-function): Set the default value to
11596 `isearch-search-fun-default'. (Bug#11381)
11597
11598 * comint.el (comint-history-isearch-end):
11599 Use `isearch-search-fun-default'.
11600 (comint-history-isearch-search): Use `isearch-search-fun-default'
11601 and remove spacial case for `isearch-word'.
11602 (comint-history-isearch-wrap): Remove spacial case for
11603 `isearch-word'.
11604
11605 * hexl.el (hexl-isearch-search-function):
11606 Use `isearch-search-fun-default'.
11607
11608 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11609 Use `word-search-regexp' for `isearch-word'.
11610
11611 * misearch.el (multi-isearch-search-fun):
11612 Use `isearch-search-fun-default'.
11613
11614 * simple.el (minibuffer-history-isearch-search):
11615 Use `isearch-search-fun-default' and remove spacial case for
11616 `isearch-word'.
11617 (minibuffer-history-isearch-wrap): Remove spacial case for
11618 `isearch-word'.
11619
11620 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11621 Remove spacial case for `isearch-word'.
11622 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11623
11624 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11625
11626 Decrease XEmacs incompatibilities.
11627 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11628 Use `string-match'.
11629 (flyspell-delete-region-overlays): Use alternative definition for
11630 XEmacs.
11631 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11632 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11633 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11634 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11635 `define-obsolete-face-alias' under XEmacs, but old method.
11636
11637 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11638 `with-no-warnings' definition or Emacs alias.
11639 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11640 (ispell-word): Do not use `region-p' if XEmacs.
11641
11642 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11643
11644 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11645 Check for `ispell-dictionary-base-alist' instead of full
11646 `ispell-dictionary-alist'.
11647 (ispell-init-process): Show spellchecker when starting new Ispell
11648 process.
11649
11650 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11653 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11654
11655 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11656
11657 * version.el (motif-version-string, gtk-version-string)
11658 (ns-version-string): Declare.
11659
11660 2012-05-27 Juri Linkov <juri@jurta.org>
11661
11662 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11663 after the `eval-defun-1' specialcaseing
11664 like in `edebug-eval-defun' (bug#10181).
11665
11666 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11667 like in `eval-defun-1'.
11668
11669 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11670
11671 * mail/sendmail.el (mail-yank-region):
11672 Recognize rmail-yank-current-message in addition to insert-buffer.
11673 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11674 a *mail* buffer created through rmail-start-mail with sendmail as
11675 mail-user-agent.
11676
11677 2012-05-27 Chong Yidong <cyd@gnu.org>
11678
11679 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11680 Default to 256 (Bug#11267).
11681
11682 * help.el (describe-mode): Doc fix.
11683
11684 2012-05-26 Glenn Morris <rgm@gnu.org>
11685
11686 * w32-fns.el (w32-init-info): Remove.
11687 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11688
11689 * info.el (info-initialize): For self-contained NS builds, put the
11690 included info/ directory at the front. (Bug#2791)
11691
11692 * paths.el (Info-default-directory-list): Make it a defcustom,
11693 mainly so that we can use custom-initialize-delay.
11694
11695 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * subr.el (buffer-has-markers-at): Mark obsolete.
11698
11699 * subr.el (lambda): Use declare.
11700
11701 * emacs-lisp/lisp-mode.el (lambda):
11702 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11703
11704 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11705
11706 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11707
11708 2012-05-26 Glenn Morris <rgm@gnu.org>
11709
11710 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11711
11712 2012-05-25 Glenn Morris <rgm@gnu.org>
11713
11714 * paths.el: Remove no-byte-compile.
11715 * loadup.el: No need to load paths.el uncompiled.
11716
11717 * image.el (imagemagick-types-inhibit): Doc fix.
11718
11719 * version.el: Remove no-byte-compile and associated formatting.
11720 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11721 is ancient code from when there was an "inc-vers.el".
11722
11723 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * progmodes/gdb-mi.el: Minor style changes.
11726 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11727 Turn into minor modes.
11728 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11729 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11730 (gdb-shell): Remove unneeded let-binding.
11731 (gdb-get-many-fields): Eliminate O(n²) behavior.
11732
11733 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11734
11735 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11736 platforms that don't link in fontset.c.
11737
11738 2012-05-25 Juri Linkov <juri@jurta.org>
11739
11740 Use the same diff color scheme as in modern VCSes (bug#10181).
11741
11742 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11743 to avoid confusion with `diff-added' that now uses green colors.
11744 (diff-removed): Use shades of red.
11745 (diff-added): Use shades of green.
11746 (diff-changed): Leave just the yellow color.
11747 (diff-use-changed-face): New variable.
11748 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11749 how to highlight context diff changes.
11750 (diff-refine-change): Use shades of yellow.
11751 (diff-refine-removed): New face that uses shades of red.
11752 (diff-refine-added): New face that uses shades of green.
11753 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11754 `diff-refine-removed' in the call to `smerge-refine-subst'
11755 depending on the value of `diff-use-changed-face'.
11756
11757 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11758 (smerge-other): Use shades of green.
11759 (smerge-base): Use shades of yellow.
11760 (smerge-refined-change): Empty face.
11761 (smerge-refined-removed): New face that uses shades of red.
11762 (smerge-refined-added): New face that uses shades of green.
11763 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11764 args `props-r' and `props-a', and use them. Doc fix.
11765 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11766 on its value use different faces `smerge-refined-change',
11767 `smerge-refined-removed', `smerge-refined-added' in the call to
11768 `smerge-refine-subst'.
11769
11770 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11771 Add face condition `min-colors 88' with shades of red.
11772 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11773 `min-colors 88' with shades of green.
11774 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11775 `min-colors 88' with shades of yellow.
11776
11777 2012-05-24 Glenn Morris <rgm@gnu.org>
11778
11779 * paths.el (prune-directory-list, remote-shell-program): Move to...
11780 * files.el (prune-directory-list, remote-shell-program): ...here.
11781 For the latter, delay initialization, prefer ssh, just search PATH.
11782
11783 * paths.el (term-file-prefix): Move to faces.el (the only user).
11784 * faces.el (term-file-prefix): Move here, make it a defcustom.
11785
11786 * paths.el (news-directory, news-path, news-inews-program):
11787 Move to gnus/nnspool.el.
11788
11789 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11790
11791 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11792 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11793 Make the latter a defcustom, with a delayed initialization.
11794
11795 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11796 These were deleted from Gnus itself late 2010.
11797
11798 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11799
11800 * progmodes/which-func.el (which-func-ff-hook):
11801 Check against user-error, not error.
11802
11803 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11804 cl-specs.el, which no longer exists.
11805
11806 2012-05-22 Glenn Morris <rgm@gnu.org>
11807
11808 * info.el (info-emacs-bug): New command.
11809 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11810 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11811
11812 2012-05-21 Glenn Morris <rgm@gnu.org>
11813
11814 * makefile.w32-in (update-subdirs-SH):
11815 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11816
11817 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11820
11821 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11822 Simplify Maven regexp, and make sure the file can't start with a space
11823 (bug#11517).
11824
11825 2012-05-21 Glenn Morris <rgm@gnu.org>
11826
11827 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11828 Scrap superfluous subshells.
11829
11830 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11833 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11834
11835 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11836
11837 * calc/calc.el (calc-ensure-consistent-units): New variable.
11838
11839 * calc/calc-units.el (math-consistent-units-p)
11840 (math-check-unit-consistency): New functions.
11841 (calc-quick-units, calc-convert-units):
11842 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11843 is non-nil.
11844 (calc-extract-units): Fix typo.
11845
11846 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11849
11850 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11851 (flyspell-default-deplacement-commands): Don't spell check after
11852 repeated window/frame switches (e.g. triggered by mouse-movement).
11853 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11854 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11855 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11856 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11857 Remove unused vars.
11858 (flyspell-get-casechars, flyspell-get-not-casechars):
11859 Simplify; Don't bother removing a ] just to add it back.
11860 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11861
11862 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11863
11864 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11865 New functions.
11866 (math-function-table): Add support for more C functions.
11867
11868 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11869
11870 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11871 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11872 Protect delay handling for otherchars against empty otherchars.
11873
11874 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11877 their respective macro declarations.
11878 * skeleton.el (define-skeleton):
11879 * progmodes/compile.el (define-compilation-mode):
11880 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11881 (define-ibuffer-filter):
11882 * emacs-lisp/generic.el (define-generic-mode):
11883 * emacs-lisp/easy-mmode.el (define-minor-mode)
11884 (define-globalized-minor-mode):
11885 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11886 * emacs-lisp/byte-run.el (defsubst):
11887 * custom.el (deftheme): Add doc-string metadata.
11888
11889 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11892
11893 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11896
11897 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11898 * emacs-lisp/cl-macs.el: Idem.
11899 * emacs-lisp/cl-specs.el: Remove.
11900
11901 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 Minor renaming of internal CL functions and variables.
11904 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11905 (cl--position): Rename from cl-position.
11906 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11907 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11908 (cl--random-state): Rename from *random-state*.
11909
11910 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11913 parens around the arg list (bug#11499).
11914
11915 2012-05-17 Juri Linkov <juri@jurta.org>
11916
11917 * isearch.el (word-search-regexp, word-search-backward)
11918 (word-search-forward, word-search-backward-lax)
11919 (word-search-forward-lax): Move functions from search.c
11920 (bug#10145, bug#11381).
11921
11922 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11923
11924 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11925 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11926 Delay for otherchars as for normal word components.
11927
11928 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11929
11930 * minibuffer.el (completion--sifn-requote): Fix last change.
11931 (minibuffer-local-must-match-filename-map):
11932 Move define-obsolete-variable-alias before its var.
11933
11934 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11937
11938 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11939 behavior.
11940 (completion--string-equal-p): New function.
11941 (completion--twq-all): Use it to get better assertion failure data.
11942
11943 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11944 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11945 (shell--requote-argument): New functions.
11946 (shell-completion-vars): Use them.
11947 (shell--parse-pcomplete-arguments): Rename from
11948 shell-parse-pcomplete-arguments.
11949 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11950 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11951 Obey comint-file-name-quote-list.
11952
11953 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11954 (smie-indent-keyword): Use it.
11955
11956 2012-05-14 Stefan Merten <smerten@oekonux.de>
11957
11958 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11959
11960 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * net/rlogin.el (rlogin-mode-map): Fix last change.
11963
11964 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11965
11966 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11967 the following \r\n using a single `process-send-string', since the
11968 Lotus SMTP server refuses to accept any commands if they are sent
11969 with two `process-send-string's (Bug#11444).
11970
11971 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * shell.el (shell-parse-pcomplete-arguments):
11974 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11975
11976 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11977
11978 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11979 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11980 (image-transform-width, image-transform-fit-width): New functions.
11981 (image-transform-properties): Use them.
11982 (image-transform-check-size): New function.
11983 (image-toggle-display-image): Use it (for testing).
11984 (image-transform-set-rotation): Reduce angle mod 360.
11985 Delete obsolete comment.
11986
11987 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11988
11989 * image-mode.el: Fix scaling (bug#11399).
11990 (image-transform-resize): Doc fix.
11991 (image-transform-properties): Default scale is 1 and height should
11992 be an integer.
11993
11994 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11995
11996 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11997 than hard-coding `car', to fix misbehavior when moving forward.
11998
11999 2012-05-13 Chong Yidong <cyd@gnu.org>
12000
12001 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12002 (tabulated-list-entries, tabulated-list-padding)
12003 (tabulated-list-sort-key): Make permanent-local.
12004
12005 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12006 (electric-buffer-list): Put electric buffer menu
12007 command descriptions in this docstring, instead of the docstring
12008 of electric-buffer-menu-mode. Code cleanups.
12009 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12010 Electric-buffer-menu-mode.
12011 (electric-buffer-update-highlight): Minor code cleanup.
12012
12013 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12014
12015 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12016 (Bug#11447)
12017
12018 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 Move define-obsolete-variable-alias before the var's definition.
12021 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12022 * tooltip.el (tooltip-hook):
12023 * textmodes/reftex-toc.el (reftex-toc-map):
12024 * textmodes/reftex-sel.el (reftex-select-label-map)
12025 (reftex-select-bib-map):
12026 * textmodes/reftex-index.el (reftex-index-map)
12027 (reftex-index-phrases-map):
12028 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12029 * progmodes/meta-mode.el (meta-mode-map):
12030 * novice.el (disabled-command-hook):
12031 * loadhist.el (unload-hook-features-list):
12032 * frame.el (blink-cursor):
12033 * files.el (find-file-not-found-hooks, write-file-hooks)
12034 (write-contents-hooks):
12035 * emulation/tpu-edt.el (GOLD-map):
12036 * emacs-lock.el (emacs-lock-from-exiting):
12037 * emacs-lisp/generic.el (generic-font-lock-defaults):
12038 * emacs-lisp/chart.el (chart-map):
12039 * dos-fns.el (register-name-alist):
12040 * dired-x.el (dired-omit-files-p):
12041 * desktop.el (desktop-enable):
12042 * cus-edit.el (custom-mode-hook):
12043 * buff-menu.el (buffer-menu-mode-hook):
12044 * bookmark.el (bookmark-read-annotation-text-func)
12045 (bookmark-exit-hooks):
12046 * allout.el (allout-mode-deactivate-hook)
12047 (allout-exposure-change-hook, allout-structure-added-hook)
12048 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12049 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12050 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12051 comes before the corresponding variable's definition.
12052
12053 2012-05-12 Chong Yidong <cyd@gnu.org>
12054
12055 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12056 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12057 (Buffer-menu-mode-map): Bind it.
12058 (Buffer-menu--pretty-name): Add a mouse-face property.
12059
12060 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12063 (prolog-upper-case-string, prolog-lower-case-string)
12064 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12065 (prolog-use-smie, prolog-smie-grammar): New vars.
12066 (prolog-smie-forward-token, prolog-smie-backward-token)
12067 (prolog-smie-rules): New funs.
12068 (prolog-comment-indent): Remove.
12069 (prolog-mode-variables): Use default comment indentation instead.
12070 Setup SMIE.
12071 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12072 (prolog-mode): Don't call them any more.
12073 (prolog-electric-colon, prolog-electric-dash)
12074 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12075
12076 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12077
12078 * minibuffer.el (completion--twq-all): Again, allow case differences.
12079
12080 * term.el: Move keymap initialization code to be more idiomatic.
12081 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12082 (term-terminal-menu): Move initialization into declaration.
12083 (term-escape-char): Let the user set it in her .emacs.
12084
12085 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12086 Provide SMIE-based indentation (not enabled by default yet).
12087 (sh-mode-map): Don't bind electric keys.
12088 Use electric-pair-mode instead of skeleton-pair.
12089 (sh-assignment-regexp): Fit within 80 columns.
12090 (sh-indent-supported): Specify actual shell name instead of boolean.
12091 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12092 (sh-maybe-here-document): Use it. Make obsolete.
12093 (sh-electric-here-document-mode) New minor mode.
12094 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12095 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12096 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12097 (sh-smie-rc-grammar, sh-use-smie): New vars.
12098 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12099 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12100 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12101 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12102 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12103 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12104 (sh-set-shell): Use smie-setup if requested.
12105
12106 * term.el (term-set-escape-char): Properly set term-escape-char.
12107 See http://stackoverflow.com/questions/10524656.
12108
12109 2012-05-10 Chong Yidong <cyd@gnu.org>
12110
12111 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12112 Use url-generic-parse-url, and handle host names and Windows
12113 filenames properly.
12114 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12115 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12116 URL schemes to work on.
12117 (ffap--toggle-read-only): New function.
12118 (ffap-read-only, ffap-read-only-other-window)
12119 (ffap-read-only-other-frame): Use it.
12120 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12121 necessary for ffap-url-unwrap-remote.
12122
12123 2012-05-10 Dave Abrahams <dave@boostpro.com>
12124
12125 * cus-start.el (create-lockfiles): Add it.
12126
12127 2012-05-09 Chong Yidong <cyd@gnu.org>
12128
12129 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12130 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12131
12132 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12133
12134 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12135
12136 2012-05-09 Chong Yidong <cyd@gnu.org>
12137
12138 * ansi-color.el (ansi-color-process-output): Check for validity of
12139 comint-last-output-start before using it. This avoids a bad
12140 interaction with gdb-mi's input/output buffer.
12141
12142 2012-05-09 Glenn Morris <rgm@gnu.org>
12143
12144 * files.el (dir-locals-read-from-file):
12145 Mention dir-locals in any error message.
12146
12147 2012-05-09 Chong Yidong <cyd@gnu.org>
12148
12149 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12150 package (Bug#11410).
12151
12152 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12153 variables into description.
12154
12155 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12158 shell-delimiter-argument-list (bug#11348).
12159 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12160
12161 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12162
12163 * textmodes/rst.el: Silence byte-compiler warnings.
12164 (rst-re-alist, rst-reset-section-caches): Move around.
12165 (rst-re): Use `characterp', not `char-valid-p'.
12166 (font-lock-beg, font-lock-end): Declare.
12167
12168 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12169 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12170
12171 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12172
12173 2012-05-08 Glenn Morris <rgm@gnu.org>
12174
12175 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12176
12177 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * vc/log-edit.el: Add GNU coding standards highlighting.
12180 (log-edit-font-lock-gnu-style)
12181 (log-edit-font-lock-gnu-keywords): New vars.
12182 (log-edit-font-lock-keywords): New fun.
12183 (log-edit-mode): Don't fold case in font-lock.
12184 (log-edit-font-lock-keywords): Do not assume case-folding.
12185
12186 * imenu.el: Misc cleanup. Make docstrings out of comments.
12187 Use lexical-binding.
12188 (imenu--index-alist, imenu--last-menubar-index-alist)
12189 (imenu-menubar-modified-tick): Use defvar-local.
12190 (imenu--split-menu): Remove unused var.
12191 (imenu--cleanup-seen): Declare as global.
12192 (imenu--cleanup): Use dolist.
12193
12194 * subr.el (defvar-local): Add debug spec and doc-string position.
12195
12196 2012-05-08 Glenn Morris <rgm@gnu.org>
12197
12198 * language/burmese.el, language/cham.el, language/czech.el:
12199 * language/english.el, language/georgian.el, language/greek.el:
12200 * language/japanese.el, language/khmer.el, language/korean.el:
12201 * language/lao.el, language/misc-lang.el, language/romanian.el:
12202 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12203 * language/thai.el, language/utf-8-lang.el:
12204 Remove no-byte-compile setting.
12205
12206 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12207
12208 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12209
12210 * progmodes/make-mode.el (makefile-browse):
12211 Remove unnecessary interactive. (Bug#11324)
12212
12213 2012-05-07 Glenn Morris <rgm@gnu.org>
12214
12215 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12216
12217 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12218
12219 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * loadup.el: Preload newcomment.el.
12222 * newcomment.el: Move autoload-only code to toplevel.
12223
12224 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12225 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12226 Handle new :right-align column property.
12227 (tabulated-list-print-col): Idem, plus use `display' text-property to
12228 try and preserve alignment for variable pitch fonts.
12229
12230 2012-05-07 Chong Yidong <cyd@gnu.org>
12231
12232 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12233 (tabulated-list-use-header-line): New var.
12234 (tabulated-list-init-header): Use it.
12235 (tabulated-list-print-fake-header): New function.
12236 (tabulated-list-print): Use it.
12237 (tabulated-list-sort-button-map): Add non-header-line commands.
12238 (tabulated-list-init-header): Add column name property to basic
12239 labels as well.
12240 (tabulated-list-col-sort): Handle non-header-line button case.
12241 (tabulated-list--sort-by-column-name): Fix a corner case.
12242
12243 * buff-menu.el (list-buffers--refresh):
12244 Handle Buffer-menu-use-header-line.
12245
12246 2012-05-06 Chong Yidong <cyd@gnu.org>
12247
12248 * buff-menu.el: Convert to Tabulated List mode.
12249 (Buffer-menu-buffer+size-width): Make obsolete.
12250 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12251 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12252 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12253 documentation into docstring of buffer-menu.
12254 (Buffer-menu-toggle-files-only): Add an informative message.
12255 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12256 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12257 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12258 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12259 (Buffer-menu-execute, Buffer-menu-select)
12260 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12261 (Buffer-menu-bury): Use Tabulated List machinery.
12262 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12263 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12264 Delete.
12265 (list-buffers--refresh): New function.
12266 (list-buffers-noselect): Use it.
12267 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12268 (Buffer-menu--pretty-file-name): New helper functions.
12269
12270 * loadup.el: Preload tabulated-list.
12271
12272 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12273 tabulated-list-sort-column.
12274 (tabulated-list-init-header): Add the initial aligning space even
12275 if tabulated-list-padding is zero.
12276
12277 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12278
12279 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12280 whose cdr is not a cons cell correctly (bug#11038).
12281
12282 2012-05-06 Chong Yidong <cyd@gnu.org>
12283
12284 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12285 Accept additional plist in column descriptors.
12286 (tabulated-list-init-header): Obey it.
12287 (tabulated-list-get-entry): New function.
12288 (tabulated-list-put-tag): Use it. Use string-width instead of
12289 length.
12290 (tabulated-list--column-number): New function.
12291 (tabulated-list-print): Use it.
12292 (tabulated-list-print-col): New function.
12293 Set `tabulated-list-column-name' property on each column's text.
12294 (tabulated-list-print-entry): Use it.
12295 (tabulated-list-delete-entry, tabulated-list-set-col):
12296 New functions.
12297 (tabulated-list-sort-column): New command (Bug#11337).
12298
12299 * buff-menu.el (list-buffers): Move C-x C-b binding from
12300 buff-menu.el to bindings.el.
12301
12302 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12303 :advertised-binding feature.
12304
12305 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12306
12307 * progmodes/compile.el (compilation-internal-error-properties):
12308 Calculate start position correctly when end-col is set but
12309 end-line is not (Bug#11382).
12310
12311 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12312
12313 * man.el (Man-unindent): Use text-property-default-nonsticky to
12314 prevent untabify from inheriting face properties (Bug#11408).
12315
12316 2012-05-05 Stefan Merten <smerten@oekonux.de>
12317
12318 * textmodes/rst.el: Major merge with upstream development up to
12319 Docutils SVN r7399 / rst.el V1.2.1.
12320
12321 Clarify maintainership and authors.
12322
12323 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12324 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12325 (rst-official-version, rst-official-cvs-rev, rst-version)
12326 (rst-package-emacs-version-alist): New functions and variables
12327 for version information.
12328
12329 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12330 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12331 (rst-mode-syntax-table, rst-mode): New and corrected functions
12332 and variables representing reStructuredText features.
12333
12334 (rst-re): New function for reStructuredText regexes. Use in
12335 many places.
12336
12337 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12338 (rst-mode-map): Rebind keys.
12339
12340 (rst-mode-lazy, rst-font-lock-keywords)
12341 (rst-font-lock-extend-region)
12342 (rst-font-lock-extend-region-internal)
12343 (rst-font-lock-extend-region-extend)
12344 (rst-font-lock-find-unindented-line-limit)
12345 (rst-font-lock-find-unindented-line-match)
12346 (rst-adornment-level, rst-font-lock-adornment-level)
12347 (rst-font-lock-adornment-match)
12348 (rst-font-lock-handle-adornment-pre-match-form)
12349 (rst-font-lock-handle-adornment-matcher): Major revision of
12350 font-locking. Integrate with other code. Use `jit-lock-mode'.
12351
12352 (rst-preferred-adornments, rst-adjust-hook)
12353 (rst-new-adornment-down, rst-preferred-bullets)
12354 (rst-preferred-bullets, rst-indent, rst-indent-width)
12355 (rst-indent-field, rst-indent-literal-normal)
12356 (rst-indent-literal-minimized, rst-indent-comment): Change,
12357 extend and improve customization.
12358
12359 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12360 (rst-normalize-cursor-position, rst-get-decoration)
12361 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12362 (rst-rstrip, rst-toc-insert-find-delete-contents)
12363 (rst-shift-fill-region, rst-compute-bullet-tabs)
12364 (rst-debug-print-tabs, rst-debug-mark-found)
12365 (rst-shift-region-guts, rst-shift-region-right)
12366 (rst-shift-region-left, rst-use-char-classes)
12367 (rst-font-lock-keywords-function)
12368 (rst-font-lock-indentation-point)
12369 (rst-font-lock-find-unindented-line-begin)
12370 (rst-font-lock-find-unindented-line-end)
12371 (rst-font-lock-find-unindented-line)
12372 (rst-font-lock-adornment-point, rst-font-lock-level)
12373 (rst-adornment-level-alist): Remove functions and variables.
12374
12375 (rst-compare-adornments, rst-get-adornment-match)
12376 (rst-suggest-new-adornment, rst-get-adornments-around)
12377 (rst-adornment-complete-p, rst-get-next-adornment)
12378 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12379 (rst-straighten-adornments): Standardize function names to
12380 use "adornment" instead of "decoration". Correct callers.
12381 Similar standardizing in many places.
12382
12383 (rst-update-section, rst-adjust, rst-promote-region)
12384 (rst-enumerate-region, rst-bullet-list-region)
12385 (rst-repeat-last-character): Correct use of `interactive'.
12386
12387 (rst-classify-adornment, rst-find-all-adornments)
12388 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12389 (rst-find-leftmost-column, rst-repeat-last-character):
12390 Refactor functions.
12391
12392 (rst-find-title-line, rst-reset-section-caches)
12393 (rst-get-adornments-around, rst-adjust-adornment-work)
12394 (rst-arabic-to-roman, rst-roman-to-arabic)
12395 (rst-insert-list-pos, rst-insert-list-new-item)
12396 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12397 New functions.
12398
12399 (rst-all-sections, rst-section-hierarchy)
12400 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12401 New variables.
12402
12403 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12404 configuration instead of only buffer. Change where necessary.
12405
12406 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12407 (rst-shift-region, rst-adaptive-fill): New functions for
12408 indentation and filling.
12409
12410 (rst-comment-line-break, rst-comment-indent)
12411 (rst-comment-insert-comment, rst-comment-region)
12412 (rst-uncomment-region): New functions for handling comments.
12413
12414 (rst-compile): Quote shell arguments.
12415
12416 (rst-compile-pdf-preview, rst-compile-slides-preview):
12417 Delete temporary files after use.
12418
12419 2012-05-05 Glenn Morris <rgm@gnu.org>
12420
12421 * calendar/cal-html.el: Optionally include holidays in the output.
12422 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12423 (cal-html-holidays): New option.
12424 (cal-html-css-default): Add holiday entry.
12425 (holiday-in-range): Autoload it.
12426 (cal-html-htmlify-entry): Add optional class argument.
12427 (cal-html-htmlify-list): Add optional holidays argument.
12428 (cal-html-insert-agenda-days): Include holidays in the output.
12429 (cal-html-one-month): Maybe include holidays.
12430
12431 * calendar/holidays.el (holiday-in-range):
12432 Move here from cal-tex-list-holidays.
12433 * calendar/cal-tex.el (cal-tex-list-holidays):
12434 Make it an obsolete alias for holiday-in-range. Update all callers.
12435
12436 2012-05-05 Chong Yidong <cyd@gnu.org>
12437
12438 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12439 Nextstep.
12440
12441 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12442
12443 * files.el (file-auto-mode-skip): New var.
12444 (set-auto-mode-1): Use it.
12445
12446 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12447
12448 * repeat.el: Use lexical-binding.
12449 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12450 (repeat-undo-count): Remove.
12451 (repeat):
12452 * progmodes/octave-mod.el (octave-abbrev-start):
12453 * progmodes/f90.el (f90-abbrev-start):
12454 * face-remap.el (text-scale-adjust):
12455 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12456
12457 * emacs-lisp/pcase.el (pcase--let*): New function.
12458 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12459 a bit more.
12460 (pcase--split-pred): Be more clever about ruling out overlap between
12461 a predicate and some constant pattern.
12462 (pcase--q1): Use `null' instead of (eq foo nil).
12463
12464 * subr.el (setq-local, defvar-local): New macros.
12465 (kbd): Redefine as an alias.
12466 (with-selected-window): Leave unrelated frames alone.
12467 (set-temporary-overlay-map): New function.
12468
12469 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * subr.el (user-error): New function.
12472 * window.el (switch-to-buffer):
12473 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12474 (smerge-match-conflict):
12475 * simple.el (previous-matching-history-element)
12476 (next-matching-history-element, goto-history-element, undo-more)
12477 (undo-start):
12478 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12479 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12480 (next-file, tags-loop-scan, list-tags, complete-tag):
12481 * progmodes/compile.el (compilation-loop):
12482 * mouse.el (mouse-minibuffer-check):
12483 * man.el (Man-bgproc-sentinel, Man-goto-page):
12484 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12485 (Info-history-forward, Info-follow-reference, Info-menu)
12486 (Info-extract-menu-item, Info-extract-menu-counting)
12487 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12488 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12489 (Info-next-reference, Info-prev-reference, Info-index)
12490 (Info-index-next, Info-follow-nearest-node)
12491 (Info-copy-current-node-name):
12492 * imenu.el (imenu--make-index-alist)
12493 (imenu-default-create-index-function, imenu-add-to-menubar):
12494 * files.el (basic-save-buffer, recover-file):
12495 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12496 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12497 (checkdoc-message-text, checkdoc-defun):
12498 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12499 * cus-edit.el (customize-changed-options, customize-rogue)
12500 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12501 (custom-variable-mark-to-reset-standard)
12502 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12503 (custom-file):
12504 * completion.el (check-completion-length):
12505 * comint.el (comint-search-arg)
12506 (comint-previous-matching-input-string-position)
12507 (comint-previous-matching-input)
12508 (comint-replace-by-expanded-history-before-point, comint-send-input)
12509 (comint-copy-old-input, comint-backward-matching-input)
12510 (comint-goto-process-mark, comint-set-process-mark):
12511 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12512 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12513
12514 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * dabbrev.el (dabbrev--ignore-case-p): New function.
12517 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12518 Use it.
12519
12520 * files.el (automount-dir-prefix): Mark as obsolete.
12521
12522 2012-05-04 Glenn Morris <rgm@gnu.org>
12523
12524 * patcomp.el, play/bruce.el: Move to obsolete/.
12525
12526 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12527
12528 Fix minor Y10k bugs.
12529 * arc-mode.el (archive-unixdate):
12530 * autoinsert.el (auto-insert-alist):
12531 * calc/calc-forms.el (math-this-year):
12532 * emacs-lisp/copyright.el (copyright-current-year)
12533 (copyright-update-year, copyright):
12534 * tar-mode.el (tar-clip-time-string):
12535 * time.el (display-time-update):
12536 Don't assume years have 4 digits.
12537
12538 2012-05-04 Chong Yidong <cyd@gnu.org>
12539
12540 * dos-w32.el (file-name-buffer-file-type-alist)
12541 (direct-print-region-use-command-dot-com):
12542 * ffap.el (ffap-menu-regexp):
12543 * find-file.el (ff-special-constructs):
12544 * follow.el (follow-debug):
12545 * forms.el (forms--debug):
12546 * iswitchb.el (iswitchb-all-frames):
12547 * ido.el (ido-all-frames):
12548 * emacs-lisp/timer.el (timer-max-repeats):
12549 * mail/feedmail.el (feedmail-mail-send-hook)
12550 (feedmail-mail-send-hook-queued):
12551 * mail/footnote.el (footnote-signature-separator):
12552 * mail/mailabbrev.el (mail-alias-separator-string)
12553 (mail-abbrev-mode-regexp):
12554 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12555 * progmodes/idlwave.el (idlwave-libinfo-file)
12556 (idlwave-default-completion-case-is-down)
12557 (idlwave-library-routines): Convert defvars to defcustoms.
12558
12559 * mail/rmail.el (rmail-decode-mime-charset):
12560 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12561 (idlwave-shell-fix-inserted-breaks)
12562 (idlwave-shell-activate-alt-keybindings)
12563 (idlwave-shell-use-breakpoint-glyph):
12564 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12565
12566 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12569
12570 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12571
12572 * progmodes/verilog-mode.el (font-lock-keywords):
12573 Fix mis-highligting auto. Reported by Craig Barner.
12574 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12575 defines from global name space. Reported by Dan Dever.
12576 (verilog-auto-reset, verilog-auto-reset-widths)
12577 (verilog-auto-tieoff): Support using unbased numbers for
12578 AUTORESET and AUTOTIEOFF.
12579 (verilog-submit-bug-report): Update variable list.
12580 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12581 parenthesis from not matching. Reported by Michael Rytting.
12582 (verilog-auto-template-lint): Fix hash error when linting modules
12583 with no used templates.
12584 (verilog-warn, verilog-warn-error)
12585 (verilog-warn-fatal): When non-interactive report multiple
12586 warnings before exiting. Suggested by Brad Dobbie.
12587 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12588 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12589 to report unused template errors. Reported by Brad Dobbie.
12590 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12591 nets, bug438. Reported by Vns Blore.
12592 (verilog-auto-inout-module, verilog-auto-reg)
12593 (verilog-read-decls, verilog-read-sub-decls-sig)
12594 (verilog-signals-edit-wire-reg, verilog-signals-with):
12595 Fix passing of Verilog data types in ANSI input/output ports
12596 such as "output logic" into the AUTOs. Special case "wire" and
12597 "reg" for backwards compatibility presuming Verilog 2001.
12598 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12599 (verilog-preprocess): Fix replication of preprocess output.
12600 Reported by Brad Dobbie.
12601 (verilog-auto-inst-interfaced-ports):
12602 Create verilog-auto-inst-interfaced-ports, bug429.
12603 Reported by Julian Gorfajn.
12604 (verilog-after-save-font-hook)
12605 (verilog-before-save-font-hook): New variable.
12606 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12607 (verilog-save-font-mods): Wrap disabling fontification, reported
12608 by David Rogoff.
12609 (verilog-do-indent, verilog-pretty-declarations-auto)
12610 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12611 Reported by Pierre-David Pfister.
12612 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12613 of class declarations, bug292. Reported by Kevin Heilman.
12614 (verilog-read-decls): Fix 'parameter type' not appearing in
12615 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12616 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12617 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12618 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12619 Reported by David Kravitz.
12620
12621 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12622
12623 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12624 assignment with tests in ifs and for loops.
12625 (verilog-extended-complete-re, verilog-complete-reg): Change so
12626 that DPI inport functions don't look like fuction declarations.
12627 (verilog-pretty-expr): Don't line up assignment
12628 operations to the test and increment in if and for loops
12629 (verilog-extended-complete-re, verilog-complete-reg): Change so
12630 that DPI inport functions don't look like fuction declarations.
12631
12632 2012-05-03 Kenichi Handa <handa@m17n.org>
12633
12634 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12635 decoding, and show a warning message without signaling an error
12636 (Bug#11282).
12637
12638 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * emacs-lisp/bytecomp.el
12641 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12642 since cconv.el might have introduced :fun-body, internal-make-closure,
12643 and friends for bytecomp to handle (bug#11391).
12644 * custom.el (defcustom): Avoid ((λ ..) ..).
12645
12646 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12649
12650 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12651
12652 * notifications.el (dbus-debug):
12653 * term/linux.el (gpm-mouse-enable):
12654 * term/screen.el (xterm-register-default-colors): Declare.
12655
12656 2012-05-02 Chong Yidong <cyd@gnu.org>
12657
12658 * cus-start.el (gc-cons-percentage, exec-suffixes)
12659 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12660 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12661 (make-cursor-line-fully-visible, void-text-area-pointer)
12662 (font-list-limit): Add customization data.
12663
12664 * allout.el (allout-exposure-change-functions)
12665 (allout-structure-added-functions)
12666 (allout-structure-deleted-functions)
12667 (allout-structure-shifted-functions): Rename abnormal hooks from
12668 *-hook, and convert to defcustoms.
12669 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12670 Convert to defcustoms.
12671 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12672
12673 * allout-widgets.el: Hook callers changed.
12674
12675 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12676
12677 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12678 the yanked message in preference to the default value of
12679 buffer-file-coding-system.
12680
12681 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12682
12683 * window.el (display-buffer--action-function-custom-type):
12684 Fix entry.
12685
12686 2012-05-02 Alan Mackenzie <acm@muc.de>
12687
12688 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12689
12690 2012-05-01 Glenn Morris <rgm@gnu.org>
12691
12692 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12693
12694 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12695
12696 * cus-edit.el (custom-variable-documentation): Simplify with format.
12697
12698 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12699 Stefan Monnier <monnier@iro.umontreal.ca>
12700
12701 * simple.el (suggest-key-bindings, execute-extended-command):
12702 Move from keyboard.c.
12703
12704 2012-05-01 Chong Yidong <cyd@gnu.org>
12705
12706 * follow.el: Eliminate advice.
12707 (set-process-filter, process-filter, sit-for): Advice deleted.
12708 (follow-mode-off-hook): Obsolete hook removed.
12709 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12710 Vars deleted.
12711 (follow-auto): Use a :set function.
12712 (follow-mode): Rewritten. Don't advise process filters.
12713 (follow-switch-to-current-buffer-all, follow-scroll-up)
12714 (follow-scroll-down): Assume follow-mode is bound.
12715 (follow-comint-scroll-to-bottom)
12716 (follow-align-compilation-windows): New functions.
12717 (follow--window-sorter): New function.
12718 (follow-all-followers): Use it to explicitly sort windows by their
12719 positions; don't make assumptions about next-window order.
12720 (follow-windows-start-end, follow-delete-other-windows-and-split)
12721 (follow-calc-win-start): Doc fix.
12722 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12723 vertical-motion unnecessarily.
12724 (follow-adjust-window): New function.
12725 (follow-post-command-hook): Use it.
12726 (follow-call-set-process-filter, follow-call-process-filter)
12727 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12728 (follow-stop-intercept-process-output, follow-generic-filter):
12729 Functions deleted.
12730 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12731 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12732 New functions, replacing advice on scroll-bar-* commands.
12733 (follow-mwheel-scroll): New function (Bug#4112).
12734
12735 * comint.el (comint-adjust-point): New function.
12736 (comint-postoutput-scroll-to-bottom): Use it.
12737 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12738
12739 2012-05-01 Glenn Morris <rgm@gnu.org>
12740
12741 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12742 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12743 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12744 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12745 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12746 Remove no-byte-compile setting.
12747
12748 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12751 all-completions code to not return a number in the last cdr.
12752
12753 2012-04-30 Leo Liu <sdl.web@gmail.com>
12754
12755 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12756 read-only error.
12757
12758 2012-04-29 Chong Yidong <cyd@gnu.org>
12759
12760 * follow.el (follow-calc-win-end): Rewrite to handle partial
12761 screen lines correctly (Bug#8390).
12762 (follow-avoid-tail-recenter): Minor cleanup.
12763
12764 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12765
12766 Avoid the obsolete `assoc' package.
12767 * speedbar.el (speedbar-refresh): Avoid adelete.
12768 (speedbar-file-lists): Simplify and avoid aput.
12769 * man.el (Man--sections, Man--refpages): New vars, replacing
12770 Man-sections-alist and Man-refpages-alist.
12771 (Man-build-section-alist, Man-build-references-alist):
12772 Use them; avoid aput.
12773 (Man--last-section, Man--last-refpage): New vars.
12774 (Man-follow-manual-reference): Use them.
12775 Use the `default' arg of completing-read.
12776 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12777
12778 2012-04-27 Chong Yidong <cyd@gnu.org>
12779
12780 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12781
12782 * startup.el (x-apply-session-resources): New function.
12783
12784 * term/ns-win.el (ns-initialize-window-system):
12785 * term/w32-win.el (w32-initialize-window-system):
12786 * term/x-win.el (x-initialize-window-system): Use it to properly
12787 set menu-bar-mode and other vars from X resources, even if the
12788 initial frame is not a window-system frame (Bug#2299).
12789
12790 * subr.el (read-key): Avoid running filter function when setting
12791 up temporary tool bar entries (Bug#9922).
12792
12793 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12794
12795 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12796 (Bug#11344)
12797
12798 2012-04-27 Chong Yidong <cyd@gnu.org>
12799
12800 * select.el (xselect--encode-string): New function, split from
12801 xselect-convert-to-string.
12802 (xselect-convert-to-string): Use it.
12803 (xselect-convert-to-filename, xselect-convert-to-os)
12804 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12805 returned strings are properly encoded (Bug#11315).
12806
12807 2012-04-27 Chong Yidong <cyd@gnu.org>
12808
12809 * simple.el (delete-active-region): Move to killing custom group.
12810
12811 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12812
12813 * progmodes/which-func.el (which-func-current): Quote %
12814 characters for mode-line processing.
12815
12816 2012-04-27 Chong Yidong <cyd@gnu.org>
12817
12818 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12819 reaching eob (Bug#11286).
12820
12821 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12822
12823 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12824 (gdb): Make it buffer-local and init to zero.
12825 (gdb-control-commands-regexp): New variable.
12826 (gdb-send): Don't wrap in "-interpreter-exec console" if
12827 gdb-control-level is positive. Increment gdb-control-level
12828 whenever the command matches gdb-control-commands-regexp, and
12829 decrement it each time the command is "end". (Bug#11279)
12830
12831 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12832
12833 * window.el (adjust-window-trailing-edge, enlarge-window)
12834 (shrink-window, window-resize):
12835 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12836 windows (Bug#11276).
12837
12838 2012-04-27 Chong Yidong <cyd@gnu.org>
12839
12840 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12841 fix "missing prefix" warning. All callers changed.
12842
12843 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12844
12845 * emacs-lisp/assoc.el: Move to obsolete/.
12846
12847 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12850
12851 * term/ns-win.el (ns-define-service):
12852 * progmodes/pascal.el (pascal-goto-defun):
12853 * progmodes/js.el (js--read-tab):
12854 * progmodes/etags.el (tags-lazy-completion-table):
12855 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12856 * emacs-lisp/ewoc.el (ewoc--wrap):
12857 * emacs-lisp/assoc.el (aput, adelete, amake):
12858 * doc-view.el (doc-view-convert-current-doc):
12859 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12860
12861 2012-04-26 Chong Yidong <cyd@gnu.org>
12862
12863 * image.el (image-type-from-buffer): Only return supported image
12864 type (Bug#9045).
12865
12866 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12867 value, for symmetry with diff-end-of-hunk.
12868 (diff-split-hunk, diff-find-source-location)
12869 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12870 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12871 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12872 compute the relevant hunk or file properly (Bug#6005).
12873 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12874
12875 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * vc/vc-mtn.el:
12878 * vc/vc-hg.el:
12879 * vc/vc-git.el:
12880 * vc/vc-dir.el:
12881 * vc/vc-cvs.el:
12882 * vc/vc-bzr.el:
12883 * vc/vc-arch.el:
12884 * vc/vc.el: Replace lexical-let by lexical-binding.
12885 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12886 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12887 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12888
12889 2012-04-26 Chong Yidong <cyd@gnu.org>
12890
12891 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12892 (diff-mode-shared-map): Bind it to / and [remap undo].
12893
12894 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12895 (ediff-window-setup-function): Use it as the default, to set up
12896 windows based on whether the current frame is graphical (Bug#2138).
12897 (ediff-choose-window-setup-function-automatically): Make obsolete.
12898
12899 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12900
12901 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * ffap.el: Remove old code for obsolete package.
12904 (ffap-complete-as-file-p): Remove.
12905
12906 Use completion-table-with-quoting for comint and pcomplete.
12907 * comint.el (comint--unquote&requote-argument)
12908 (comint--unquote-argument, comint--requote-argument): New functions.
12909 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12910 (comint-quote-filename): Use regexp-opt-charset.
12911 (comint--common-suffix, comint--common-quoted-suffix)
12912 (comint--table-subvert): Remove.
12913 (comint-unquote-function, comint-requote-function): New vars.
12914 (comint--complete-file-name-data): Use them with
12915 completion-table-with-quoting.
12916 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12917 * pcomplete.el (pcomplete-arg-quote-list)
12918 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12919 (pcomplete-unquote-argument-function): Default to non-nil.
12920 (pcomplete-unquote-argument): Simplify.
12921 (pcomplete--common-quoted-suffix): Remove.
12922 (pcomplete-requote-argument-function): New var.
12923 (pcomplete--common-suffix): New function.
12924 (pcomplete-completions-at-point): Use completion-table-with-quoting
12925 and completion-table-subvert.
12926
12927 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12928 (minibuffer--double-dollars): Preserve properties.
12929 (completion--sifn-requote): New function.
12930 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12931
12932 * minibuffer.el: Add support for completion of quoted/escaped data.
12933 (completion-table-with-quoting, completion-table-subvert): New funs.
12934 (completion--twq-try, completion--twq-all): New functions.
12935 (completion--nth-completion): New function.
12936 (completion-try-completion, completion-all-completions): Use it.
12937
12938 2012-04-25 Leo Liu <sdl.web@gmail.com>
12939
12940 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12941 Use compilation-message if available to find real filename.
12942
12943 2012-04-25 Chong Yidong <cyd@gnu.org>
12944
12945 * vc/diff-mode.el (diff-setup-whitespace): New function.
12946 (diff-mode): Use it.
12947
12948 * vc/diff.el (diff-sentinel):
12949 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12950 Whitespace mode variables based on diff style (Bug#8612).
12951
12952 2012-04-25 Leo Liu <sdl.web@gmail.com>
12953
12954 * progmodes/python.el (python-send-region): Add suffix .py to the
12955 temp file.
12956
12957 * files.el (auto-mode-alist): Use javascript-mode instead.
12958
12959 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12960
12961 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12962
12963 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12964 (soap-resolve-references-for-array-type): Hack to prevent self
12965 references, see Bug#9.
12966 (soap-parse-envelope): Report the contents of the 'detail' node
12967 when receiving a fault reply.
12968 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12969
12970 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12971 (soap-inspect-simple-type): New function.
12972
12973 * net/soap-client.el (soap-simple-type): New struct.
12974 (soap-default-xsd-types, soap-default-soapenc-types)
12975 (soap-decode-basic-type, soap-encode-basic-type):
12976 support unsignedInt and double basic types.
12977 (soap-resolve-references-for-simple-type)
12978 (soap-parse-simple-type, soap-encode-simple-type): New function.
12979 (soap-parse-schema): Parse xsd:simpleType declarations.
12980
12981 * net/soap-client.el (soap-default-xsd-types)
12982 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12983 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12984 the local name of "soapenc:Array".
12985 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12986 decoding integer, byte and anyURI xsd types.
12987
12988 2012-04-25 Chong Yidong <cyd@gnu.org>
12989
12990 * cus-edit.el (custom-buffer-create-internal): Update header text.
12991
12992 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12993
12994 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12995 settings on 'system-type', not on 'window-system'. On MS-Windows,
12996 set interactive-mode on in GDB.
12997
12998 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12999
13000 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13001 (ruby-syntax-propertize-regexp): Remove.
13002 (ruby-syntax-propertize-function): Split regexp into chunks.
13003 Match following code directly.
13004
13005 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13006
13007 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13008 (ruby-syntax-propertize-regexp): New function.
13009 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13010 by a special keyword.
13011
13012 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13013 (ruby-syntax-general-delimiters-goto-beg)
13014 (ruby-syntax-propertize-general-delimiters): New functions.
13015 (ruby-syntax-propertize-function): Use them to handle GDL.
13016 (ruby-font-lock-keywords): Move old handling of GDL...
13017 (ruby-font-lock-syntactic-keywords): .. to here.
13018 (ruby-calculate-indent): Adjust indentation for GDL.
13019
13020 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13021
13022 * notifications.el (top): Remove unneeded declarations.
13023 (notifications-specification-version): Change to "1.2".
13024 (notifications-interface, notifications-notify-method)
13025 (notifications-close-notification-method): Fix docstring.
13026 (notifications-get-capabilities-method): New defconst.
13027 (notifications-notify): Add :action-items, :resident and
13028 :transient hints. Change "image_data" to "image-data" and
13029 "image_path" to "image-path".
13030 (notifications-get-capabilities): New defun.
13031
13032 2012-04-24 Leo Liu <sdl.web@gmail.com>
13033
13034 * progmodes/python.el: Move hideshow setup to the end.
13035
13036 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13037
13038 * window.el (handle-select-window): Clear echo area since this is
13039 no more done by read_char (Bug#11304).
13040
13041 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13044 and `/ M' to filter-derived-mode.
13045 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13046 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13047 (ibuffer-mark-by-mode): Use default rather than initial-input.
13048 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13049
13050 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13051
13052 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13053 (ibuffer-filter-by-derived-mode): New filter.
13054 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13055
13056 2012-04-23 Andreas Politz <politza@fh-trier.de>
13057
13058 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13059
13060 2012-04-23 Chong Yidong <cyd@gnu.org>
13061
13062 * cus-edit.el (customize-apropos, customize-apropos-options):
13063 Disable matching of non-option variables (Bug#11176).
13064 (customize-option, customize-option-other-window)
13065 (customize-changed-options): Doc fix.
13066 (customize-apropos-options, customize-apropos-faces)
13067 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13068
13069 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13070 Fix word list splitting (Bug#11132).
13071 (apropos-symbol, apropos-keybinding, apropos-label)
13072 (apropos-property, apropos-function-button)
13073 (apropos-variable-button, apropos-misc-button): New faces.
13074 (apropos-symbol-face, apropos-keybinding-face)
13075 (apropos-label-face, apropos-property-face, apropos-match-face):
13076 Variables removed (Bug#8396).
13077 (apropos-library-button, apropos-format-plist, apropos-print)
13078 (apropos-print-doc, apropos-describe-plist): Callers changed.
13079
13080 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13081
13082 * net/xesam.el (xesam-mode-map): Use let-bound map in
13083 initialization. (Bug#11292)
13084
13085 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13086
13087 Preserve ispell session localwords when switching back to
13088 original buffer.
13089
13090 * textmodes/ispell.el (ispell-buffer-session-localwords):
13091 New buffer-local variable to hold buffer session localwords.
13092 (ispell-kill-ispell): Add option 'clear to delete session
13093 localwords.
13094 (ispell-command-loop, ispell-change-dictionary)
13095 (ispell-buffer-local-words): Preserve session localwords when
13096 needed.
13097
13098 * textmodes/flyspell.el (flyspell-process-localwords)
13099 (flyspell-do-correct): Preserve session localwords when needed.
13100
13101 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13102
13103 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13104 using obsolete `translation-table-for-input'.
13105 (ispell-word, ispell-process-line, ispell-complete-word):
13106 Use plain `insert' instead of removed `ispell-insert-word'.
13107
13108 2012-04-22 Chong Yidong <cyd@gnu.org>
13109
13110 * cus-edit.el (custom-variable-menu)
13111 (custom-variable-reset-saved, custom-face-menu)
13112 (custom-face-reset-saved): If there is no saved value, make the
13113 "reset-saved" operation bring back the default (Bug#9509).
13114 (custom-face-state): Properly detect themed faces.
13115
13116 * faces.el (face-spec-set): Stop supporting deprecated form of
13117 third arg.
13118
13119 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13120
13121 Move functions from C to Lisp. Make non-blocking method calls
13122 the default. Implement further D-Bus standard interfaces.
13123
13124 * net/dbus.el (dbus-message-internal): Declare function.
13125 Remove unneeded function declarations.
13126 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13127 (dbus-message-type-method-return, dbus-message-type-error)
13128 (dbus-message-type-signal): Declare variables. Remove local
13129 definitions.
13130 (dbus-interface-dbus, dbus-interface-peer)
13131 (dbus-interface-introspectable, dbus-interface-properties)
13132 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13133 Adapt docstring.
13134 (dbus-interface-objectmanager): New defconst.
13135 (dbus-call-method, dbus-call-method-asynchronously)
13136 (dbus-send-signal, dbus-method-return-internal)
13137 (dbus-method-error-internal, dbus-register-service)
13138 (dbus-register-signal, dbus-register-method): New defuns, moved
13139 from dbusbind.c
13140 (dbus-call-method-handler, dbus-setenv)
13141 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13142 New defuns.
13143 (dbus-call-method-non-blocking): Make it an obsolete function.
13144 (dbus-unregister-object, dbus-unregister-service)
13145 (dbus-handle-event, dbus-register-property)
13146 (dbus-property-handler): Obey the new structure of
13147 `bus-registered-objects'.
13148 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13149 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13150 Use `dbus-call-method'.
13151
13152 2012-04-22 Chong Yidong <cyd@gnu.org>
13153
13154 * cus-edit.el (custom-commands, custom-reset-menu)
13155 (Custom-reset-standard): Tweak labels.
13156 (custom-reset-button-menu): Change default to t.
13157 (custom-buffer-create-internal): For the custom-reset-button-menu
13158 case, put the revert button first.
13159 (custom-group-subtitle): New face.
13160 (custom-group-value-create): Align docstring to a specific column.
13161
13162 * wid-edit.el (widget-documentation-link-add): Don't handle
13163 indentation in this function.
13164 (widget-documentation-string-indent-to): New function.
13165 (widget-documentation-string-value-create): Use it.
13166
13167 * autorevert.el (auto-revert):
13168 * epg-config.el (epg):
13169 * ibuffer.el (ibuffer):
13170 * mpc.el (mpc):
13171 * ses.el (ses):
13172 * eshell/eshell.el (eshell):
13173 * net/ange-ftp.el (ange-ftp):
13174 * progmodes/ebnf2ps.el (postscript):
13175 * progmodes/flymake.el (flymake):
13176 * progmodes/prolog.el (prolog):
13177 * progmodes/verilog-mode.el (verilog-mode):
13178 * progmodes/which-func.el (which-func):
13179 * term/xterm.el (xterm):
13180 * textmodes/picture.el (picture):
13181 * textmodes/tildify.el (tildify):
13182 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13183 customization buffers.
13184
13185 2012-04-22 Alan Mackenzie <acm@muc.de>
13186
13187 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13188 Adding a ) can hide the resulting (..) from searches. Fix it.
13189 Bound the backward search to the position of the existing (.
13190
13191 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13192
13193 * progmodes/verilog-mode.el (verilog-mode): Check whether
13194 which-func-modes is t before adding verilog-mode.
13195 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13196
13197 2012-04-21 Leo Liu <sdl.web@gmail.com>
13198
13199 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13200
13201 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13202
13203 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13204 filling of the last column of a table (Bug#5635).
13205 (woman-find-next-control-line): New arg, specifying an additional
13206 regexp component for the control line.
13207 (woman2-roff-buffer): Use it.
13208 (woman-break-table): New function.
13209 (woman2-TS): Use it.
13210
13211 2012-04-21 Chong Yidong <cyd@gnu.org>
13212
13213 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13214 (woman-horizontal-escapes, woman-negative-vertical-space)
13215 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13216 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13217
13218 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * minibuffer.el (completion-file-name-table): Complete user names.
13221
13222 2012-04-20 Leo Liu <sdl.web@gmail.com>
13223
13224 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13225 and pcase-let*.
13226
13227 2012-04-20 Chong Yidong <cyd@gnu.org>
13228
13229 * server.el (server-execute): Respect initial-buffer-choice if it
13230 is a string and there are no files to open (Bug#2825).
13231 (server-create-window-system-frame, server-create-tty-frame):
13232 Don't switch buffers here.
13233 (server-process-filter): Only try to open a window system frame if
13234 compiled with graphical support (Bug#8314).
13235
13236 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13237
13238 * battery.el (battery-echo-area-format): Display remaining time
13239 for sysfs backend too (Bug#11269).
13240 (battery-linux-sysfs): Fix conditional for the charge.
13241
13242 2012-04-20 Chong Yidong <cyd@gnu.org>
13243
13244 * progmodes/gdb-mi.el (gdb): Revert previous change.
13245 (gdb-inferior-io--init-proc): New function.
13246 (gdb-init-1): Use it.
13247 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13248 responsible for allocating a new pty and hooking it to gdb when
13249 the old pty gets an EIO due to process exit.
13250 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13251 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13252 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13253
13254 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13255
13256 * window.el (window-min-size, window-sizable, window-min-delta)
13257 (window-max-delta, window--resizable, window-resizable)
13258 (window-total-size, window-full-height-p, window-full-width-p)
13259 (window-in-direction, window--resize-mini-window, window-resize)
13260 (window--resize-child-windows-normal)
13261 (window--resize-child-windows, window--resize-siblings)
13262 (window--resize-this-window, adjust-window-trailing-edge)
13263 (enlarge-window, shrink-window): Doc fixes.
13264
13265 2012-04-20 Chong Yidong <cyd@gnu.org>
13266
13267 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13268 New function to call delete-process on the gdb-inferior buffer's pty.
13269 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13270 pty process (Bug#11273).
13271 (gdb-update): New arg to suppress talking to the gdb process.
13272 (gdb-done-or-error): Use it.
13273 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13274 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13275 sentinel not being called.
13276
13277 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13278
13279 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13280
13281 2012-04-20 Glenn Morris <rgm@gnu.org>
13282
13283 * net/network-stream.el (open-network-stream): Doc fix.
13284
13285 2012-04-20 Chong Yidong <cyd@gnu.org>
13286
13287 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13288
13289 2012-04-20 Alan Mackenzie <acm@muc.de>
13290
13291 Ensure searching for keywords is case sensitive.
13292
13293 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13294 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13295 (c-defun-name, c-mark-function, c-cpp-define-name)
13296 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13297 (c-context-line-break): Bind case-fold-search to nil.
13298
13299 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13300 Bind case-fold-search to nil.
13301
13302 2012-04-20 Chong Yidong <cyd@gnu.org>
13303
13304 * mail/sendmail.el (mail-bury): Call return action with the right
13305 Rmail buffer (Bug#11242).
13306
13307 * server.el (server-process-filter): Handle corner case where both
13308 tty and nowait options are present (Bug#11102).
13309
13310 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13311
13312 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13313 (top level): Put into the executable the ident-style '$Id:' tag on
13314 windows-nt as well.
13315
13316 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * electric.el (electric-indent-post-self-insert-function): Check that
13319 electric-indent-mode is enabled in current buffer.
13320
13321 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13322
13323 * imenu.el (imenu-progress-message): Restore; it is "used" in
13324 erc/erc-imenu.el and net/snmp-mode.el.
13325
13326 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13327
13328 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13329 (mouse-avoidance-nudge-mouse): Remove unused binding.
13330
13331 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13332
13333 * descr-text.el (describe-char):
13334 * progmodes/python.el (python-describe-symbol):
13335 Don't call `toggle-read-only', set `buffer-read-only'.
13336
13337 * imenu.el (imenu-default-goto-function): Mark unused args.
13338 (imenu-progress-message): Remove obsolete macro; all callers changed.
13339
13340 * subr.el (keymap-canonicalize): Remove unused binding.
13341 (read-passwd): Mark unused arg.
13342
13343 * tutorial.el (tutorial--display-changes): Remove unused binding.
13344 (tutorial--save-tutorial-to): Remove unused variable.
13345
13346 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13347 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13348 (package-generate-autoloads, package-menu--generate)
13349 (package-menu--find-upgrades): Remove unused bindings.
13350
13351 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13352 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13353 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13354 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13355 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13356 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13357 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13358 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13359 (cua-delete-char-rectangle): Mark unused args.
13360 (cua-align-rectangle): Remove unused binding.
13361
13362 * mail/rmail.el (compilation--message->loc)
13363 (epa--find-coding-system-for-mime-charset): Declare.
13364
13365 * net/dbus.el (dbus-register-service): Declare.
13366 (dbus-name-owner-changed-handler): Remove unused binding.
13367
13368 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13369 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13370 (nxml-scan-backward-within): Mark unused arg.
13371 (nxml-dynamic-markup-word): Remove unused binding.
13372
13373 * mouse.el (mouse-menu-major-mode-map):
13374 * emacs-lisp/authors.el (authors-scan-change-log)
13375 (authors-add-to-author-list):
13376 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13377 * emacs-lisp/smie.el (smie-auto-fill):
13378 * mail/sendmail.el (mail-bury):
13379 * mail/unrmail.el (unrmail):
13380 * net/tls.el (open-tls-stream):
13381 * textmodes/picture.el (picture-mouse-set-point):
13382 Remove unused bindings.
13383
13384 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13385
13386 * net/tramp.el (tramp-action-password): Let-bind
13387 `enable-recursive-minibuffers' to t.
13388
13389 2012-04-18 Sam Steingold <sds@gnu.org>
13390
13391 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13392 instead of 'string to accommodate values like [f11].
13393 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13394 * progmodes/gdb-mi.el: Likewise.
13395
13396 2012-04-18 Leo Liu <sdl.web@gmail.com>
13397
13398 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13399 current buffer.
13400 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13401 LOCAL is nil.
13402
13403 2012-04-18 Chong Yidong <cyd@gnu.org>
13404
13405 * simple.el (line-move): Use forward-line if in batch mode
13406 (Bug#11053).
13407
13408 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13409
13410 * files.el (after-find-file): Do not try to add a final newline if
13411 the buffer is read-only (Bug#11156).
13412
13413 2012-04-17 Richard Stallman <rms@gnu.org>
13414
13415 * mail/rmail.el (rmail-start-mail):
13416 Pass (rmail-mail-return...) for the return-action.
13417 Pass (rmail-yank-current-message...) for the yank-action.
13418 (rmail-yank-current-message): New function.
13419 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13420 (rmail-reply): Likewise.
13421 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13422
13423 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13424 buffer, not the last. Reject temp buffers. Use the rmail-mode
13425 buffer, not newbuf.
13426
13427 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13428
13429 * server.el (server-ensure-safe-dir): Simplify.
13430
13431 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * emacs-lisp/smie.el: Provide smarter auto-filling.
13434 (smie-auto-fill): New function.
13435 (smie-setup): Use it.
13436
13437 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13438
13439 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13440
13441 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13442 (comment-indent): Use it.
13443
13444 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13445
13446 * ses.el: The overall change is to add cell renaming, that is
13447 setting fancy names for cell symbols other than name matching
13448 "\\`[A-Z]+[0-9]+\\'" regexp .
13449 (ses-localvars): Add ses--renamed-cell-symb-list.
13450 (ses-create-cell-variable): New defun.
13451 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13452 (ses-relocate-formula): Relocate formulas only for cells the
13453 symbols of which are not renamed, i.e. symbols whose names do not
13454 match regexp "\\`[A-Z]+[0-9]+\\'".
13455 (ses-relocate-all): Relocate values only for cells the symbols of
13456 which are not renamed.
13457 (ses-load): Create cells variables as the (ses-cell ...) are read,
13458 in order to check row col consistency with cell symbol name only
13459 for cells that are not renamed.
13460 (ses-replace-name-in-formula): New defun.
13461 (ses-rename-cell): New defun.
13462
13463 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13464
13465 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13466 New option (bug#11118).
13467 (perl-calculate-indent): Respect it.
13468
13469 2012-04-17 Glenn Morris <rgm@gnu.org>
13470
13471 * dired-aux.el (dired-mark-read-string): Doc fix.
13472
13473 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13474
13475 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13476 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13477
13478 2012-04-17 Glenn Morris <rgm@gnu.org>
13479
13480 * mouse.el (mouse-drag-track):
13481 * speedbar.el (speedbar-frame-mode):
13482 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13483
13484 2012-04-16 Leo Liu <sdl.web@gmail.com>
13485
13486 * progmodes/python.el: Trivial cleanup.
13487
13488 2012-04-16 Glenn Morris <rgm@gnu.org>
13489
13490 * vc/vc.el (vc-string-prefix-p):
13491 * vc/pcvs-util.el (cvs-string-prefix-p):
13492 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13493 * mpc.el (mpc-string-prefix-p):
13494 Make all of these into obsolete aliases for string-prefix-p.
13495 Update callers.
13496 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13497
13498 * textmodes/two-column.el: Move custom options to the start.
13499 (frame-width): Remove compat definition.
13500 (2C-associate-buffer, 2C-dissociate):
13501 Use with-current-buffer rather than save-excursion.
13502 (2C-dissociate): Force a mode-line update.
13503 (2C-autoscroll): Use ignore-errors.
13504
13505 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13506 Autoload trivia.
13507
13508 * emacs-lisp/cl-extra.el (*random-state*):
13509 Remove unnecessary declaration.
13510
13511 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13512
13513 * play/cookie1.el (cookie-snarf):
13514 Give an explicit error if input file cannot be read.
13515
13516 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13517
13518 * progmodes/perl-mode.el (c-macro-expand):
13519 Remove unnecessary autoload (it is in loaddefs.el).
13520
13521 * textmodes/picture.el (picture-desired-column)
13522 (picture-update-desired-column): Convert comments to doc-strings.
13523 (picture-substitute): Remove function.
13524 (picture-mode-map): Initialize in the defvar.
13525
13526 * woman.el: Remove eval-after-load for tar-mode.
13527 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13528 (woman-tar-extract-file): Autoload it.
13529
13530 * frame.el (automatic-hscrolling): Make this alias obsolete.
13531
13532 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13533
13534 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13535 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13536 (ispell-dictionary-base-alist): Revert to original XEmacs
13537 friendly version for default. [:alpha:] will be added in
13538 `ispell-set-spellchecker-params' if needed.
13539
13540 2012-04-16 Chong Yidong <cyd@gnu.org>
13541
13542 * image.el (imagemagick--file-regexp): New variable.
13543 (imagemagick-register-types): Use it.
13544 (imagemagick-types-inhibit): Add :set function. Allow new value
13545 of t to inhibit all types.
13546
13547 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13548 so we can preload it.
13549
13550 * loadup.el (fboundp): Preload regexp-opt, needed by
13551 imagemagick-register-types.
13552
13553 2012-04-15 Chong Yidong <cyd@gnu.org>
13554
13555 * frame.el (scrolling): Remove nearly unused customization group.
13556
13557 * scroll-all.el (scroll-all-mode): Move to windows group.
13558
13559 2012-04-15 Chong Yidong <cyd@gnu.org>
13560
13561 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13562
13563 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13564
13565 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13566 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13567
13568 2012-04-15 Glenn Morris <rgm@gnu.org>
13569
13570 * simple.el (process-file-side-effects): Doc fix.
13571
13572 2012-04-15 Glenn Morris <rgm@gnu.org>
13573
13574 * international/mule-cmds.el (set-language-environment): Doc fix.
13575
13576 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13577
13578 * server.el (server-auth-key, server-generate-key): Doc fixes.
13579 (server-get-auth-key): Doc fix. Use `string-match-p'.
13580 (server-start): Reflow docstring.
13581
13582 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13583
13584 * server.el (server-generate-key): `called-interactively-p'
13585 requires a parameter.
13586
13587 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13588
13589 * server.el (server-auth-key): New variable.
13590 (server-generate-key, server-get-auth-key): New function.
13591 (server-start): Use the new variable and functions to allow
13592 setting a permanent server key (bug#9423).
13593
13594 2012-04-14 Leo Liu <sdl.web@gmail.com>
13595
13596 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13597
13598 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13599
13600 Spelling fixes.
13601 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13602 Emacs uses American spelling.
13603
13604 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13605
13606 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13607 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13608 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13609 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13610
13611 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 * progmodes/which-func.el (which-func-modes): Change default.
13614
13615 2012-04-14 Kim F. Storm <storm@cua.dk>
13616
13617 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13618 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13619
13620 2012-04-14 Chong Yidong <cyd@gnu.org>
13621
13622 * custom.el (custom-theme-set-variables): Doc fix.
13623
13624 2012-04-14 Glenn Morris <rgm@gnu.org>
13625
13626 * international/mule.el (set-auto-coding-for-load): Doc fix.
13627
13628 2012-04-14 Alan Mackenzie <acm@muc.de>
13629
13630 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13631 imenu work again for Objective C Mode. Correct the *-index values,
13632 these having been disturbed by a previous change in 2011-08.
13633
13634 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13635 Correct two search limits.
13636
13637 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13638
13639 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13640
13641 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13642
13643 * international/characters.el: Fix sorting.
13644
13645 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13646
13647 * international/characters.el: Add more missing Latin case pairs.
13648
13649 2012-04-14 Glenn Morris <rgm@gnu.org>
13650
13651 * files.el (dir-locals-set-class-variables): Doc fix.
13652
13653 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13654
13655 * international/characters.el: Add set-case-syntax-pair call for
13656 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13657 counterpart. (Bug#11209)
13658
13659 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13660
13661 2012-04-14 Glenn Morris <rgm@gnu.org>
13662
13663 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13664
13665 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13666
13667 * textmodes/ispell.el (ispell-dictionary-base-alist):
13668 Add data for Hebrew.
13669
13670 2012-04-14 Chong Yidong <cyd@gnu.org>
13671
13672 * net/rcirc.el (rcirc-cmd-quit):
13673 Revert 2012-03-18 change (Bug#11192).
13674
13675 2012-04-14 Glenn Morris <rgm@gnu.org>
13676
13677 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13678
13679 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13680
13681 * minibuffer.el (completion-in-region-mode-map):
13682 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13683
13684 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13685
13686 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13687
13688 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13689
13690 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13691 to allow `C-M-f' and `C-M-b' to move to the nearest path
13692 separator (bug#9511).
13693
13694 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13695
13696 * avoid.el: Require cl when compiling. And also move the
13697 `provide' to the end.
13698
13699 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13700
13701 * avoid.el (mouse-avoidance-banish-position): New variable.
13702 (mouse-avoidance-banish-destination): Use it (bug#10165).
13703
13704 2012-04-13 Leo Liu <sdl.web@gmail.com>
13705
13706 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13707
13708 2012-04-13 Ken Brown <kbrown@cornell.edu>
13709
13710 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13711 this is no longer needed now that cygstart understands file:// URLs.
13712 (browse-url-filename-alist): For the same reason, don't modify
13713 file:// URLs on Cygwin.
13714
13715 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13718 the region on shift if the binding is already shifted (bug#11221).
13719
13720 2012-04-12 Glenn Morris <rgm@gnu.org>
13721
13722 * mail/mailpost.el: Move to obsolete/.
13723
13724 2012-04-12 Drew Adams <drew.adams@oracle.com>
13725
13726 * imenu.el (imenu--generic-function): Ignore invisible definitions
13727 (bug#10123).
13728
13729 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13730
13731 * hexl.el (hexl-bits): New variable.
13732 (hexl-options): Mention the variable in the doc string.
13733 (hexl-rulerise, hexl-line-displen): New functions.
13734 (hexl-mode): Mention the new variable.
13735 (hexl-mode, hexl-current-address, hexl-current-address):
13736 Use the displen.
13737 (hexl-ascii-start-column): New function.
13738 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13739 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13740
13741 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13742
13743 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13744 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13745 the encoding, as expected by hunspell.
13746
13747 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * battery.el (battery--linux-sysfs-regexp): New const.
13750 (battery-status-function): Use it. Remove yeeloong special case.
13751 (battery-yeeloong-sysfs): Remove.
13752 (battery-echo-area-format): Remove yeeloong special case.
13753
13754 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13755
13756 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13757 Reported by Noah Friedman.
13758
13759 * subr.el (read-passwd): Use read-string.
13760
13761 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13762
13763 * vcursor.el (vcursor-move): Increase the priority of the overlay
13764 (bug#9663).
13765
13766 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13767
13768 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13769 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13770
13771 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13772
13773 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13774 define-minor-mode (bug#10760).
13775
13776 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13777
13778 * progmodes/grep.el (rgrep): Tweak the find command line so
13779 that directories matching `grep-find-ignored-files' won't be
13780 pruned (bug#10351).
13781
13782 2012-04-11 Chong Yidong <cyd@gnu.org>
13783
13784 * startup.el (command-line): Remove support for long-obsolete
13785 variable font-lock-face-attributes.
13786
13787 2012-04-11 Glenn Morris <rgm@gnu.org>
13788
13789 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13790
13791 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * window.el (window--state-get-1): Obey window-point-insertion-type.
13794
13795 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13796
13797 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13798 to previous function when point is on the first character of a
13799 function. Take care of that in `narrow-to-defun' (bug#6157).
13800
13801 2012-04-11 Glenn Morris <rgm@gnu.org>
13802
13803 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13804 not just file-errors.
13805
13806 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13807 (vc-bzr-sha1): Use internal sha1.
13808
13809 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13812
13813 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13814
13815 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13816 that start in the middle of the line (bug#10496).
13817
13818 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13819
13820 * battery.el (battery-linux-proc-acpi): Only one battery is
13821 discharged at a time, but that seems to confuse battery.el when
13822 computing `rate-type' for the battery not being discharged
13823 (bug#10332).
13824
13825 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13828
13829 * international/quail.el: Use dolist and simplify.
13830 (quail-define-package, quail-update-keyboard-layout)
13831 (quail-define-rules): Use dolist.
13832 (quail-insert-kbd-layout, quail-get-translation): CSE.
13833
13834 * tmm.el: Use dolist, remove left over hook.
13835 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13836 Use dolist.
13837 (calendar-load-hook): Don't mess with it.
13838
13839 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13840 Use derived-mode-p. Run the diff asynchronously.
13841
13842 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13843
13844 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13845
13846 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13847
13848 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13849 (list-dynamic-libraries--loaded): New function.
13850 (list-dynamic-libraries--refresh): Use it.
13851
13852 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13853
13854 * progmodes/python.el (python-fill-paragraph):
13855 Make python-fill-region in a multiline string work when font-lock is
13856 disabled (bug#7018).
13857
13858 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13859
13860 * language/european.el (cp775): Add oem/legacy (en)coding on
13861 DOS/MS Windows for the Baltic languages. There are still plenty
13862 of texts written in this encoding/codepage (bug#6519).
13863
13864 2012-04-10 Glenn Morris <rgm@gnu.org>
13865
13866 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13867 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13868
13869 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13870
13871 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13872 next-line "n" and previous-line "p" in order to make recentf more
13873 consistent with ibuffer, dired or org-mode (bug#9387).
13874
13875 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13876
13877 * image.el (put-image): Return the overlay created instead of the
13878 optional input string (bug#7834). Note that this may break code
13879 that is (for some reason or other) depending on `put-image'
13880 returning the string.
13881
13882 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13883
13884 * simple.el (zap-to-char): Allow zapping using input methods
13885 (bug#1580).
13886
13887 * textmodes/fill.el (fill-region): Leave point and mark where they
13888 were before filling (bug#5399).
13889
13890 2012-04-09 Glenn Morris <rgm@gnu.org>
13891
13892 * version.el (emacs-bzr-get-version):
13893 Handle lightweight checkouts of local branches.
13894
13895 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13896
13897 * international/characters.el: Recover lost case pairs. (Bug#11209)
13898
13899 2012-04-09 Chong Yidong <cyd@gnu.org>
13900
13901 * custom.el (custom-variable-p): Return nil for non-symbol
13902 arguments instead of signaling an error.
13903 (user-variable-p): Obsolete alias for custom-variable-p.
13904
13905 * apropos.el (apropos-variable):
13906 * files-x.el (read-file-local-variable):
13907 * simple.el (set-variable):
13908 * woman.el (woman-mini-help):
13909 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13910
13911 2012-04-09 Glenn Morris <rgm@gnu.org>
13912
13913 * startup.el (normal-top-level): Don't look for leim-list.el
13914 in places where it will not be found. (Bug#910)
13915
13916 * international/mule-cmds.el (set-default-coding-systems):
13917 * files.el (normal-mode):
13918 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13919 This function was removed with ucs-tables.el in 2008.
13920
13921 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13922
13923 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13924 ispell-encoding8-command to "-i", without a trailing space.
13925 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13926 separate command-line arguments, to specify the encoding, since
13927 that's how hunspell expects it.
13928
13929 2012-04-08 Glenn Morris <rgm@gnu.org>
13930
13931 * loadup.el: Load bindings before cus-start.
13932 This reduces somewhat the number of "rogue" settings in emacs -Q.
13933
13934 2012-04-07 Glenn Morris <rgm@gnu.org>
13935
13936 * version.el (emacs-bzr-get-version): New function.
13937 (emacs-bzr-version): New variable.
13938 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13939 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13940
13941 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13942
13943 * international/uni-bidi.el, international/uni-category.el:
13944 * international/uni-combining.el, international/uni-decimal.el:
13945 * international/uni-decomposition.el, international/uni-digit.el:
13946 * international/uni-lowercase.el, international/uni-mirrored.el:
13947 * international/uni-name.el, international/uni-numeric.el:
13948 * international/uni-titlecase.el, international/uni-uppercase.el:
13949 Update for Unicode 6.1.
13950
13951 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13952
13953 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13954
13955 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13956
13957 * window.el (shrink-window): Mention the `window-min-height'
13958 variable in the doc string.
13959
13960 2012-04-05 Bastien Guerry <bzg@altern.org>
13961
13962 * color.el (color-lighten-name): Fix typo.
13963
13964 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * server.el (server--on-display-p): New function.
13967 (server--on-display-p): Use it.
13968
13969 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13970
13971 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13972 (bug#11145).
13973
13974 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * comint.el (comint--common-quoted-suffix): Check string boundary
13977 before comparing (bug#11158).
13978 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13979
13980 2012-04-04 Chong Yidong <cyd@gnu.org>
13981
13982 * minibuffer.el (completion-extra-properties): Doc fix.
13983
13984 * subr.el (delayed-warnings-hook): Doc fix.
13985
13986 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13987
13988 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13989 selection (Bug#11159).
13990 (epa-insert-keys): Inform that the default public key will be
13991 exported if no key is selected.
13992
13993 2012-04-04 Richard Stallman <rms@gnu.org>
13994
13995 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13996
13997 2012-04-03 Chong Yidong <cyd@gnu.org>
13998
13999 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14000 mail-insert-file, not its obsolete alias mail-attach-file.
14001
14002 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14003
14004 * notifications.el (notifications-notify): Fix docstring.
14005
14006 2012-04-02 Glenn Morris <rgm@gnu.org>
14007
14008 * emacs-lisp/authors.el (authors-aliases): Another addition.
14009
14010 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14011
14012 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14013 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14014 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14015
14016 2012-04-01 Chong Yidong <cyd@gnu.org>
14017
14018 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14019 Handle root directory properly.
14020 (copy-directory): Caller changed.
14021
14022 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14023 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14024
14025 2012-03-31 Glenn Morris <rgm@gnu.org>
14026
14027 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14028
14029 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14030
14031 * calendar/calendar.el (calendar-window-list)
14032 (calendar-hide-window): Restore. (Bug#11140)
14033 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14034
14035 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14036
14037 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14038
14039 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14040 Check if file is a symlink (Bug#10489).
14041
14042 * files.el (copy-directory): Likewise.
14043
14044 2012-03-30 Chong Yidong <cyd@gnu.org>
14045
14046 * image.el (imagemagick-types-inhibit)
14047 (imagemagick-register-types): Doc fix.
14048
14049 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14050
14051 * textmodes/ispell.el (ispell-get-extended-character-mode):
14052 Disable extended-char-mode for hunspell. hunspell does not support it
14053 and treats ~word as ordinary words in pipe mode.
14054
14055 2012-03-30 Glenn Morris <rgm@gnu.org>
14056
14057 * tutorial.el (help-with-tutorial): Ensure local variables don't
14058 happen to make the buffer read-only. (Bug#11127)
14059
14060 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14063 (perl-calculate-indent): Return `noindent' in strings.
14064
14065 2012-03-28 Sam Steingold <sds@gnu.org>
14066
14067 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14068 instead of the broken adhockery which does not prevent calendar
14069 buffers from being displayed at random after exit.
14070 (calendar-window-list, calendar-hide-window): Remove the broken
14071 adhockery.
14072
14073 2012-03-28 Glenn Morris <rgm@gnu.org>
14074
14075 * replace.el (query-replace-map): Doc fix.
14076
14077 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14078
14079 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14080 contents. (Bug#11109)
14081
14082 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14085 (bug#11077).
14086 (avl-tree--check, avl-tree--check-node): New funs.
14087
14088 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14089
14090 * window.el (switch-to-visible-buffer): New option.
14091 (switch-to-prev-buffer, switch-to-next-buffer):
14092 Observe switch-to-visible-buffer. Make sure that checking for a window
14093 showing a buffer already is done on the same frame.
14094
14095 2012-03-27 Glenn Morris <rgm@gnu.org>
14096
14097 * startup.el (mail-host-address): Doc fix.
14098
14099 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14100
14101 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14102 than 197 variables.
14103
14104 2012-03-26 Ami Fischman <ami@fischman.org>
14105
14106 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14107
14108 2012-03-26 Glenn Morris <rgm@gnu.org>
14109
14110 * files.el (save-buffers-kill-emacs): Doc fix.
14111
14112 * startup.el (normal-top-level, command-line, command-line-1):
14113 Give them doc strings.
14114
14115 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14116
14117 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14118 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14119
14120 2012-03-25 Chong Yidong <cyd@gnu.org>
14121
14122 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14123 theme if it was previously enabled before (Bug#11031).
14124
14125 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14126 spec with custom-face-get-current-spec if its :shown-value is not
14127 determined yet (Bug#9337).
14128 (customize-create-theme, custom-theme-revert): Doc fixes.
14129
14130 * button.el (button-at): Minor addition to docstring.
14131
14132 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14133
14134 * vc/vc.el (vc-merge): Fix a prompt.
14135
14136 2012-03-24 Chong Yidong <cyd@gnu.org>
14137
14138 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14139 point (Bug#9623).
14140
14141 * button.el (button-at): Minor addition to docstring.
14142
14143 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * newcomment.el (comment-choose-indent): No space after BOL.
14146
14147 2012-03-22 Sam Steingold <sds@gnu.org>
14148
14149 * window.el (switch-to-prev-buffer): Revert last patch because the
14150 bug turned out to be an advertised feature (Elisp manual 28.14).
14151
14152 2012-03-22 Glenn Morris <rgm@gnu.org>
14153
14154 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14155 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14156
14157 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14158
14159 * net/network-stream.el (network-stream-open-starttls): Make error
14160 message under Windows be less misleading.
14161
14162 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14163
14164 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14165 understands (bug#9942).
14166
14167 2012-03-22 Chong Yidong <cyd@gnu.org>
14168
14169 * simple.el (end-of-visible-line): Handle return value of
14170 next-single-property-change properly (Bug#9371).
14171
14172 2012-03-22 Kenichi Handa <handa@m17n.org>
14173
14174 * international/quail.el (quail-insert-kbd-layout): Fix previous
14175 change. To avoid unwanted bidi reordering, use
14176 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14177
14178 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14179
14180 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14181 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14182 (ruby-beginning-of-indent): Be more careful with the difference
14183 between word-boundary and symbol boundary.
14184 (ruby-mode-syntax-table): Make : a symbol constituent.
14185
14186 2012-03-21 Andreas Politz <politza@fh-trier.de>
14187
14188 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14189
14190 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * progmodes/etags.el (tags-completion-at-point-function):
14193 Improve last fix.
14194
14195 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14196
14197 2012-03-21 Sam Steingold <sds@gnu.org>
14198
14199 * progmodes/etags.el (tags-completion-at-point-function):
14200 Avoid the error when point is inside the pattern.
14201
14202 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14203
14204 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14205 line (Bug#10855).
14206
14207 2012-03-21 Drew Adams <drew.adams@oracle.com>
14208
14209 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14210
14211 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14212
14213 * ido.el (ido-set-current-directory, ido-read-internal)
14214 (ido-choose-completion-string, ido-completion-help): Handle nil
14215 value of ido-completion-buffer (Bug#11008).
14216
14217 2012-03-21 Sam Steingold <sds@gnu.org>
14218
14219 * window.el (switch-to-prev-buffer): Do not switch to a visible
14220 window previous buffer, just like with the frame previous buffers.
14221
14222 2012-03-21 Chong Yidong <cyd@gnu.org>
14223
14224 * faces.el (make-face, make-empty-face, copy-face):
14225 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14226 Doc fixes.
14227
14228 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14231 (widget-complete): Remove broken use of it.
14232
14233 2012-03-20 Chong Yidong <cyd@gnu.org>
14234
14235 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14236 Use string-width and truncate-string-width to handle arbitrary
14237 characters.
14238
14239 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14240
14241 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14242 to draw rectangles, not squares. (Regression introduced by revno
14243 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14244
14245 2012-03-18 Chong Yidong <cyd@gnu.org>
14246
14247 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14248 it is not yet defined (for temacs).
14249
14250 2012-03-18 Leo Liu <sdl.web@gmail.com>
14251
14252 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14253 prefix.
14254
14255 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14256
14257 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14258 (ispell-choices-win-default-height, ispell-silently-savep)
14259 (ispell-dictionary-alist, ispell-encoding8-command)
14260 (ispell-check-version, ispell-aspell-find-dictionary)
14261 (ispell-valid-dictionary-list, ispell-words-keyword)
14262 (ispell-get-word, ispell-internal-change-dictionary)
14263 (ispell-region, ispell-skip-region-list)
14264 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14265 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14266 (ispell-message-text-end, ispell-message)
14267 (ispell-buffer-local-parsing): Doc fix.
14268
14269 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14270
14271 * htmlfontify.el: Add support for code block fontification for ODT
14272 export (Bug #9914).
14273 (hfy-optimisations): Define new option
14274 `body-text-only'
14275 (hfy-fontify-buffer): Honor above setting.
14276 (hfy-begin-span, hfy-end-span): New routines factored out form
14277 `hfy-fontify-buffer'.
14278 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14279 that permit insertion of custom tags.
14280 (hfy-fontify-buffer): Use above handlers.
14281 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14282 (hfy-face-to-css): Re-defined to be a variable.
14283 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14284 over multiple runs. This is made possible by having the caller let
14285 bind a special variable `hfy-user-sheet-assoc'.
14286 (htmlfontify-string): New defun.
14287 (hfy-compile-face-map): Make sure that the last char in the
14288 buffer is correctly fontified.
14289 (hfy-face-resolve-face): Whitespace only change.
14290
14291 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14292
14293 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14294 message more clear.
14295
14296 2012-03-16 Leo Liu <sdl.web@gmail.com>
14297
14298 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14299
14300 2012-03-16 Alan Mackenzie <acm@muc.de>
14301
14302 Further optimize the handling of large macros.
14303
14304 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14305 limit to a call of `c-literal-limits'.
14306 (c-determine-+ve-limit): New function.
14307 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14308 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14309 In CASE 5B, restrict a search limit to 500.
14310 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14311
14312 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14313 Restrict macro bounds to +-500 from after-change's BEG END.
14314
14315 2012-03-16 Leo Liu <sdl.web@gmail.com>
14316
14317 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14318
14319 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14320
14321 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14322 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14323
14324 2012-03-16 Glenn Morris <rgm@gnu.org>
14325
14326 * view.el (view-buffer, view-buffer-other-window)
14327 (view-buffer-other-frame): Doc fixes re special mode-class.
14328
14329 * subr.el (eval-after-load): If named feature is provided not from
14330 a file, run after-load forms. (Bug#10946)
14331
14332 * calendar/calendar.el (calendar-insert-at-column):
14333 Handle non-unit-width characters a bit better. (Bug#10978)
14334
14335 2012-03-15 Chong Yidong <cyd@gnu.org>
14336
14337 * emacs-lisp/ring.el (ring-extend): New function.
14338 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14339
14340 * comint.el (comint-read-input-ring)
14341 (comint-add-to-input-history): Grow comint-input-ring lazily.
14342
14343 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14346 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14347
14348 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14349 (imenu-add-to-menubar): Don't add a redundant index.
14350 (imenu-update-menubar): Handle a dynamically composed keymap.
14351
14352 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14353
14354 * mail/sendmail.el (mail-encode-header):
14355 Bind rfc2047-encode-encoded-words to nil.
14356
14357 2012-03-13 Glenn Morris <rgm@gnu.org>
14358
14359 * calendar/calendar.el (calendar-string-spread):
14360 Handle non-unit-width characters a bit better. (Bug#10978)
14361
14362 2012-03-13 Leo Liu <sdl.web@gmail.com>
14363
14364 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14365 directory and file as argument (Bug#10822).
14366
14367 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14368
14369 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14370 For dynamically generated code, follow $PC.
14371 (gdb-disassembly-handler-custom): Handle no function name case.
14372
14373 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14374
14375 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14376 * emulation/ws-mode.el (ws-query-replace):
14377 * sort.el (sort-regexp-fields):
14378 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14379
14380 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14381
14382 * dabbrev.el: Fix cycle completion order (bug#10963).
14383 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14384 (dabbrev-completion): Don't use an obarray; provide
14385 a cycle-sort-function.
14386
14387 2012-03-12 Leo Liu <sdl.web@gmail.com>
14388
14389 * simple.el (kill-new): Use equal-including-properties for comparison.
14390 (kill-do-not-save-duplicates): Doc fix.
14391
14392 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14393
14394 * dabbrev.el: Fix cycle completion (bug#10963).
14395 Use lexical binding and wrap to 80 columns.
14396 (dabbrev-completion): Delay computing the list of completions.
14397
14398 2012-03-12 Kenichi Handa <handa@m17n.org>
14399
14400 * international/quail.el (quail-insert-kbd-layout): Surround each
14401 row by LRO and PDF instead of inserting many LRMs. Pad the left
14402 and right of each non-spacing marks. Insert invisible space
14403 between lower and upper characters to prevent composition.
14404
14405 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14406
14407 * minibuffer.el (minibuffer-complete): Don't get confused when the
14408 function is run twice via different commands (bug#10958).
14409 (complete-with-action): Fix docstring.
14410
14411 2012-03-12 Chong Yidong <cyd@gnu.org>
14412
14413 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14414 (nxml-completion-at-point-function): New function.
14415 (nxml-mode): Use it.
14416 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14417
14418 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14419 Load generated autoloads file before byte compiling (Bug#10970).
14420 (package--make-autoloads-and-compile): New helper fun.
14421
14422 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14423
14424 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14425
14426 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14427
14428 * autorevert.el (auto-revert-handler): Ensure, that
14429 file-readable-p is applied only for local files or in
14430 auto-revert-tail-mode.
14431
14432 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14433
14434 * server.el (server-eval-at): Handle non-tcp connections.
14435 Decode result string.
14436
14437 * server.el (server-msg-size): New constant.
14438 (server-reply-print): New function.
14439 (server-eval-and-print): Use it.
14440 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14441 Handle -print-nonl.
14442
14443 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14444
14445 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14446 (Bug#10987).
14447
14448 2012-03-11 Chong Yidong <cyd@gnu.org>
14449
14450 * simple.el (goto-line): Doc fix (Bug#9938).
14451
14452 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14453
14454 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14455 when finished (Bug#10963).
14456
14457 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14458
14459 * window.el (split-window-below): Fix bug in case where
14460 split-window-keep-point is nil (Bug#10971).
14461
14462 2012-03-11 Juri Linkov <juri@jurta.org>
14463
14464 * replace.el (replace-highlight): Set isearch-word to nil
14465 unconditionally. (Bug#10887)
14466
14467 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14468
14469 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14470 mairix-replace-illegal-chars; all callers changed. Don't remove
14471 ^, ~, and = characters: they are meaningful in mairix search specs.
14472 (mairix-widget-create-query): Add usage information about mairix
14473 search forms: negating words, searching for substrings, etc.
14474
14475 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14476
14477 * international/fontset.el (font-encoding-alist): Add an entry for
14478 ksx1001 (Bug#5667).
14479
14480 2012-03-10 Richard Stallman <rms@gnu.org>
14481
14482 * mail/sendmail.el (mail-encode-header):
14483 Set rfc2047-encode-encoded-words.
14484
14485 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14486
14487 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14488 view buffer means not swapped.
14489 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14490 (rmail-write-region-annotate): Error if real text has disappeared.
14491
14492 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14493
14494 2012-03-10 Chong Yidong <cyd@gnu.org>
14495
14496 * emulation/cua-rect.el (cua--init-rectangles):
14497 * emulation/cua-base.el (cua--init-keymaps):
14498 Add delete-forward-char to remappings (Bug#9666).
14499
14500 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14501
14502 * speedbar.el (speedbar-unhighlight-one-tag-line):
14503 Avoid unhighlighting due to frame switching (Bug#10275).
14504
14505 2012-03-10 Chong Yidong <cyd@gnu.org>
14506
14507 * minibuffer.el (completion-in-region, completion-help-at-point):
14508 Give the completion field overlay a high priority (Bug#6830).
14509
14510 * dired.el (dired-goto-file): Recognize absolute file name
14511 listings (Bug#7126).
14512 (dired-goto-file-1): New helper function.
14513 (dired-toggle-read-only): Inhibit warnings.
14514
14515 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14516
14517 * net/dbus.el (dbus-property-handler): Return empty array if
14518 there are no properties.
14519
14520 2012-03-09 Leo Liu <sdl.web@gmail.com>
14521
14522 * savehist.el (savehist-printable): Stricter check for string
14523 value (Bug#10937).
14524
14525 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14526
14527 * mail/smtpmail.el (smtpmail-send-it):
14528 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14529 valid mbox format.
14530
14531 2012-03-09 Glenn Morris <rgm@gnu.org>
14532
14533 * files.el (dir-locals-find-file):
14534 Don't check result is regular, readable.
14535 (dir-locals-read-from-file): Demote errors.
14536
14537 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14538
14539 * international/quail.el (quail-insert-kbd-layout):
14540 Insert invisible LRM characters before each character in a keyboard
14541 layout cell, to prevent their reordering by bidi display engine.
14542 For details, see the discussion in
14543 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14544
14545 2012-03-08 Alan Mackenzie <acm@muc.de>
14546
14547 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14548 the starting position; make it extend the marked region when
14549 invoked repeatedly - all under appropriate circumstances.
14550 Fixes bugs #5525, #10906.
14551
14552 2012-03-08 Glenn Morris <rgm@gnu.org>
14553
14554 * files.el (locate-dominating-file, dir-locals-find-file):
14555 Undo 2012-03-06 change.
14556
14557 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14558
14559 * international/quail.el (quail-help):
14560 Force bidi-paragraph-direction be left-to-right. See discussion in
14561 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14562 for the reason.
14563
14564 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14565
14566 Avoid superfluous registering of signals. (Bug#10807)
14567
14568 * notifications.el (notifications-on-action-object)
14569 (notifications-on-close-object): New defvars.
14570 (notifications-on-action-signal, notifications-on-closed-signal):
14571 Unregister the signal if not needed any longer.
14572 (notifications-notify): Register `notifications-action-signal' or
14573 `notifications-closed-signal', if :on-action or :on-close has been
14574 passed as argument.
14575
14576 2012-03-07 Chong Yidong <cyd@gnu.org>
14577
14578 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14579 non-X platforms.
14580
14581 2012-03-06 Glenn Morris <rgm@gnu.org>
14582
14583 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14584 (x-disown-selection-internal, x-get-selection-internal):
14585 Doc fix (add arglist signatures). (Bug#10783)
14586
14587 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14588
14589 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14590 Handle breakpoints with no "type".
14591
14592 2012-03-06 Glenn Morris <rgm@gnu.org>
14593
14594 * files.el (locate-dominating-file): Add optional predicate argument.
14595 (dir-locals-find-file): Make use of above change.
14596
14597 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14598
14599 * info.el (Info-insert-dir): Also try "dir.gz".
14600
14601 2012-03-06 Glenn Morris <rgm@gnu.org>
14602
14603 * files.el (dir-locals-find-file):
14604 Ignore non-readable or non-regular files. (Bug#10928)
14605
14606 * files.el (locate-dominating-file): Doc fix.
14607
14608 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14609
14610 * calendar/calendar.el (calendar-set-mode-line):
14611 `getenv' returns a string. (Bug#10951)
14612
14613 2012-03-05 Leo Liu <sdl.web@gmail.com>
14614
14615 * simple.el (backward-delete-char-untabify): Constrain point to
14616 field (Bug#10939).
14617
14618 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14619
14620 2012-03-05 Chong Yidong <cyd@gnu.org>
14621
14622 * simple.el (count-words): If called from Lisp, return the word
14623 count, for symmetry with `count-lines'. Arglist changed.
14624 (count-words--message): Args changed. Consolidate counting code
14625 from count-words and count-words-region.
14626 (count-words-region): Caller changed.
14627 (count-lines-region): Make it an obsolete alias.
14628
14629 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14630
14631 * saveplace.el (save-place-to-alist)
14632 (save-place-ignore-files-regexp): Allow value nil to disable this
14633 feature.
14634
14635 2012-03-04 Chong Yidong <cyd@gnu.org>
14636
14637 * faces.el (face-spec-reset-face): For the default face, reset the
14638 attributes to default values (Bug#10748).
14639
14640 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14641
14642 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14643 previous patch: Check `message-send-mail-function', and not the
14644 default function (bug#10897).
14645
14646 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14647
14648 * notifications.el (notifications-on-action-signal)
14649 (notifications-on-closed-signal): Check for unique service name of
14650 incoming event. Fix error in removing entry.
14651 (top): Register for signals with wildcard service name.
14652 (notifications-notify): Use daemon unique service name for map entries.
14653
14654 2012-03-04 Chong Yidong <cyd@gnu.org>
14655
14656 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14657
14658 2012-03-04 Glenn Morris <rgm@gnu.org>
14659
14660 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14661 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14662 (expand-abbrev, define-abbrev-table): Doc fixes.
14663
14664 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14665
14666 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14667 `message-default-send-mail-function' and not `send-mail-function'
14668 when doing the prompting for `sendmail-query-once' before sending
14669 in Message buffers (bug#10897).
14670
14671 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14672 This is inconsistent with all the other stream functions, which leave
14673 the setting up to the higher levels (if so wanted) (bug#10931).
14674
14675 2012-03-02 Alan Mackenzie <acm@muc.de>
14676
14677 Depessimize the handling of very large macros.
14678
14679 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14680 (c-macro-cache-syntactic): New variables to implement a one
14681 element macro cache.
14682 (c-invalidate-macro-cache): New function.
14683 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14684 Adapt to use the new cache.
14685 (c-state-safe-place): Use better the cache of safe positions.
14686 (c-state-semi-nonlit-pos-cache)
14687 (c-state-semi-nonlit-pos-cache-limit):
14688 New variables for...
14689 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14690 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14691 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14692 Use c-state-semi-safe-place.
14693
14694 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14695 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14696
14697 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14698
14699 * jka-compr.el (jka-compr-call-process):
14700 Apply `file-accessible-directory-p' only when the default directory is
14701 not remote.
14702
14703 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14704
14705 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14706 access of FILE2, if FILE1 does not exist.
14707
14708 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14709 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14710
14711 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14712 Add "PAGER=" to `process-environment'.
14713
14714 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14715
14716 * progmodes/sql.el: Bug fix
14717 (sql-get-login-ext): Save login values in globals.
14718 (sql-get-login): Use new version of `sql-get-login-ext'.
14719 (sql-interactive-mode): Set global `sql-connection' to nil.
14720 (sql-connect): Set global values for connection.
14721 (sql-product-interactive): Save global values as buffer local.
14722
14723 2012-02-29 Leo Liu <sdl.web@gmail.com>
14724
14725 * abbrev.el (define-abbrevs): Reset sys to nil.
14726
14727 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14728
14729 * files.el (file-equal-p): Rename from `files-equal-p'.
14730 Return nil when one or both files don't exist.
14731 (file-subdir-of-p): Now only top directory must exists,
14732 return nil if it doesn't.
14733 (copy-directory): No need to test with `file-subdir-of-p' after
14734 creating dir.
14735 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14736 to `file-equal-p'.
14737
14738 2012-02-28 Glenn Morris <rgm@gnu.org>
14739
14740 * shell.el (shell-mode):
14741 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14742 * play/landmark.el (landmark-font-lock-face-O):
14743 * play/handwrite.el (handwrite):
14744 * play/gomoku.el (gomoku-O):
14745 * net/browse-url.el (browse-url-browser-display):
14746 * international/mule.el (define-charset):
14747 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14748 * filesets.el (filesets-find-file-delay):
14749 * eshell/em-xtra.el (eshell-xtra):
14750 * eshell/em-unix.el (eshell-grep):
14751 * emulation/viper.el (viper-mode):
14752 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14753 * emacs-lisp/easymenu.el (easy-menu-define):
14754 * calendar/timeclock.el (timeclock-use-display-time):
14755 * bs.el (bs-mode):
14756 * bookmark.el (bookmark-save-flag):
14757 Doc fix (standardize possessive apostrophe usage).
14758
14759 2012-02-27 Chong Yidong <cyd@gnu.org>
14760
14761 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14762 Fix key-binding lookup for ESC key (Bug#9146).
14763
14764 * font-lock.el (font-lock-specified-p): Rename from
14765 font-lock-spec-present. Callers changed.
14766
14767 2012-02-27 Daniel Hackney <dan@haxney.org>
14768
14769 * emacs-lisp/package.el (package-compute-transaction):
14770 Handle holding a package version to t in package-load-list.
14771
14772 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14773
14774 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14775 (tramp-get-inode, tramp-get-device): Use cached values.
14776
14777 2012-02-26 Alan Mackenzie <acm@muc.de>
14778
14779 Check there is a font-lock specification before doing initial
14780 fontification.
14781
14782 * font-core.el (font-lock-mode): Move the conditional from
14783 :after-hook to font-lock-initial-fontify.
14784 (font-lock-default-function): Move the check for a specification
14785 to font-lock-spec-present.
14786
14787 * font-lock.el (font-lock-initial-fontify): Call ...
14788 (font-lock-spec-present): New function.
14789
14790 2012-02-26 Jim Blandy <jimb@red-bean.com>
14791
14792 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14793 (gdb-send): Apply it to the operand of the '-interpreter-exec
14794 console' command, so that we can pass arguments with (say) quotes
14795 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14796
14797 2012-02-26 Chong Yidong <cyd@gnu.org>
14798
14799 * help-fns.el (describe-function-1): Clarify description of
14800 remapping (Bug#10844).
14801
14802 * files.el (files-equal-p): Doc fix.
14803 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14804 and quit the loop once a mismatch is found.
14805
14806 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14807
14808 * bs.el (bs--show-with-configuration): Don't throw an error
14809 if the window cannot be split; otherwise, subsequent calls to
14810 bs-show fail, restoring a stale window config. (Bug#10882)
14811
14812 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14813
14814 * term/ns-win.el (global-map): Bind ns-drag-file to
14815 ns-find-file (Bug#5855, Bug#10050).
14816
14817 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14818
14819 * calendar/parse-time.el (parse-time-string): Allow extractor to
14820 return nil.
14821
14822 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14823
14824 * net/tramp.el (tramp-file-name-for-operation):
14825 Add `files-equal-p' and `file-subdir-of-p'.
14826
14827 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14828 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14829 Add COPY-CONTENTS argument.
14830
14831 2012-02-25 Chong Yidong <cyd@gnu.org>
14832
14833 Add custom groups for VC backends, for consistency with vc-bzr.
14834
14835 * vc/vc-arch.el (vc-arch):
14836 * vc/vc-cvs.el (vc-cvs):
14837 * vc/vc-git.el (vc-git):
14838 * vc/vc-hg.el (vc-hg):
14839 * vc/vc-mtn.el (vc-mtn):
14840 * vc/vc-rcs.el (vc-rcs):
14841 * vc/vc-sccs.el (vc-sccs):
14842 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14843 All relevant defcustoms reassigned.
14844
14845 2012-02-25 Chong Yidong <cyd@gnu.org>
14846
14847 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14848
14849 * term/x-win.el (x-initialize-window-system): Reduce default for
14850 x-selection-timeout to 5 seconds (Bug#8869).
14851
14852 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14853
14854 * files.el (files-equal-p, file-subdir-of-p): New functions.
14855 (copy-directory): Error when trying to copy a directory on itself.
14856 Add missing copy-contents arg to tramp handler.
14857 * dired-aux.el (dired-copy-file-recursive): Same.
14858 (dired-create-files): Modify destination when source is equal to
14859 dest when copying files.
14860 Return also when dest is a subdir of source. (Bug#10489)
14861
14862 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14863
14864 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14865 (Bug#10874)
14866
14867 2012-02-23 Alan Mackenzie <acm@muc.de>
14868
14869 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14870 parameter "after-hook:" to allow the expansion to run code after
14871 the execution of the mode hooks.
14872
14873 * font-lock.el (font-lock-initial-fontify): New function extracted
14874 from font-lock-mode-internal.
14875
14876 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14877 :after-hook.
14878
14879 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14880
14881 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14882 (completion--cache-all-sorted-completions): New function.
14883 (completion-all-sorted-completions): Use it.
14884 (completion--do-completion, minibuffer-force-complete):
14885 Use it to re-instate the flush hook.
14886
14887 * icomplete.el (icomplete-completions): Replace last fix with a better
14888 one (bug#10850).
14889
14890 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14891
14892 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14893 when it might call us back infinitely (bug#10797).
14894
14895 2012-02-23 Glenn Morris <rgm@gnu.org>
14896
14897 * minibuffer.el (completion-category-overrides): Doc fix.
14898
14899 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14902 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14903
14904 2012-02-23 Glenn Morris <rgm@gnu.org>
14905
14906 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14907 (authors-obsolete-files-regexps, authors-ignored-files)
14908 (authors-ambiguous-files, authors-renamed-files-alist):
14909 Add more entries.
14910
14911 2012-02-23 Juri Linkov <juri@jurta.org>
14912
14913 * isearch.el (isearch-occur): Sync interactive spec with occur's
14914 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14915
14916 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14917
14918 2012-02-22 Juri Linkov <juri@jurta.org>
14919
14920 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14921 (ucs-insert): Doc fix. Check for hex digits in the string.
14922 Don't display `nil' in the error message. (Bug#10857)
14923
14924 2012-02-22 Alan Mackenzie <acm@muc.de>
14925
14926 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14927
14928 2012-02-22 Glenn Morris <rgm@gnu.org>
14929
14930 * ffap.el (ffap-c-path):
14931 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14932
14933 2012-02-22 Chong Yidong <cyd@gnu.org>
14934
14935 * custom.el (load-theme): Doc fix.
14936
14937 2012-02-22 Glenn Morris <rgm@gnu.org>
14938
14939 * dired-x.el (dired-guess-shell-alist-default):
14940 Remove escape sequences from nroff output. (Bug#172)
14941
14942 2012-02-21 Glenn Morris <rgm@gnu.org>
14943
14944 * vc/emerge.el (emerge-defvar-local):
14945 Set `permanent-local' property rather than unused `preserved'.
14946
14947 * textmodes/picture.el (picture-delete-char): New alias.
14948 (picture-mode-map): Use it. (Bug#10860)
14949 (picture-mode): Doc fix.
14950
14951 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14952
14953 * newcomment.el (uncomment-region-default): Remove unused binding.
14954
14955 2012-02-21 Glenn Morris <rgm@gnu.org>
14956
14957 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14958 (picture-self-insert, picture-tab-chars): Doc fix.
14959 (picture-mode-map): Fix C-a, C-e.
14960
14961 2012-02-20 Glenn Morris <rgm@gnu.org>
14962
14963 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14964
14965 2012-02-20 Leo Liu <sdl.web@gmail.com>
14966
14967 * icomplete.el (icomplete-completions): Check FROM arg before
14968 passing to substring (Bug#10850).
14969
14970 2012-02-19 Chong Yidong <cyd@gnu.org>
14971
14972 * comint.el: Require ansi-color.
14973 (comint-output-filter-functions): Add ansi-color-process-output.
14974
14975 * ansi-color.el: Don't set comint-output-filter-functions; it is
14976 now in the initial value defined in comint.el.
14977 (ansi-color-apply-face-function): New variable.
14978 (ansi-color-apply-on-region): Use it.
14979 (ansi-color-apply-overlay-face): New function.
14980
14981 * shell.el (shell): No need to require ansi-color.
14982 (shell-mode): Use ansi-color-apply-face-function to highlight
14983 color escapes using font-lock-face property (Bug#10835).
14984
14985 2012-02-19 Chong Yidong <cyd@gnu.org>
14986
14987 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14988 mode-line formats (Bug#10839).
14989
14990 2012-02-18 Glenn Morris <rgm@gnu.org>
14991
14992 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14993
14994 * mail/undigest.el (unforward-rmail-message): Doc fix.
14995
14996 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14997
14998 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14999
15000 * international/characters.el (script-list): Sync with the latest
15001 Unicode Character Database.
15002
15003 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15004
15005 * international/titdic-cnv.el: Remove duplicate coding tag.
15006 * language/cham.el: Likewise.
15007 * language/tai-viet.el: Likewise.
15008
15009 2012-02-18 Glenn Morris <rgm@gnu.org>
15010
15011 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15012 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15013 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15014 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15015 * calendar/holidays.el (holiday-bahai-holidays)
15016 (calendar-holidays, list-holidays):
15017 Use utf-8 Bahá'í in doc-strings, menus, etc.
15018
15019 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15020
15021 * saveplace.el (save-place-ignore-files-regexp): New variable
15022 allowing for excluding files from saving their location of point.
15023 The default value matches the temporary commit message editing
15024 files from Git, SVN, Bazaar, and Mercurial.
15025 (save-place-to-alist): Use it.
15026
15027 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15028 Stefan Monnier <monnier@iro.umontreal.ca>
15029
15030 * newcomment.el (uncomment-region-default): Don't leave extra space
15031 when an arg is provided (bug#8150).
15032
15033 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15034
15035 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15036
15037 2012-02-17 Glenn Morris <rgm@gnu.org>
15038
15039 * net/socks.el: Require network-stream. (Bug#10599)
15040
15041 2012-02-17 Kenichi Handa <handa@m17n.org>
15042
15043 * international/charprop.el:
15044 * international/uni-name.el:
15045 * international/uni-old-name.el:
15046 * international/uni-comment.el: Regenerate.
15047
15048 2012-02-16 Glenn Morris <rgm@gnu.org>
15049
15050 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15051 Interactively in calendar buffer, give an error if not on a date.
15052
15053 2012-02-15 Glenn Morris <rgm@gnu.org>
15054
15055 * shell.el (shell-delimiter-argument-list):
15056 Revert 2011-02-17 change. (Bug#8027)
15057
15058 2012-02-15 Chong Yidong <cyd@gnu.org>
15059
15060 * minibuffer.el (completion-at-point-functions): Doc fix.
15061
15062 * custom.el (defcustom): Doc fix; note use of defvar.
15063
15064 2012-02-15 Glenn Morris <rgm@gnu.org>
15065
15066 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15067 Doc fixes.
15068
15069 2012-02-14 Glenn Morris <rgm@gnu.org>
15070
15071 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15072
15073 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15074
15075 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15076 way the ports list is computed.
15077 (smtpmail-query-smtp-server): Prompt the user for a port number if
15078 we can't connect to any of the standard ports (bug#10810).
15079
15080 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15081
15082 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15083
15084 2012-02-13 Glenn Morris <rgm@gnu.org>
15085
15086 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15087
15088 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15089
15090 * net/gnutls.el (gnutls-trustfiles): New variable.
15091 (gnutls-negotiate): Use it.
15092
15093 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15094
15095 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15096 does its stuff if Gnus is running.
15097
15098 2012-02-13 Alan Mackenzie <acm@muc.de>
15099
15100 Fix a loop in c-set-fl-decl-start.
15101
15102 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15103 c-backward-syntactic-ws actually moves backwards.
15104
15105 2012-02-13 Leo Liu <sdl.web@gmail.com>
15106
15107 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15108 beginning so that all \C-o chars are removed.
15109
15110 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15111
15112 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15113
15114 2012-02-12 Alan Mackenzie <acm@muc.de>
15115
15116 Fix infinite loop with long macros.
15117 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15118
15119 2012-02-12 Chong Yidong <cyd@gnu.org>
15120
15121 * window.el (display-buffer): Doc fix (Bug#10785).
15122
15123 2012-02-12 Glenn Morris <rgm@gnu.org>
15124
15125 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15126 (x-disown-selection-internal, x-get-selection-internal):
15127 Sync docs with the xselect.c versions.
15128
15129 * allout-widgets.el: Add missing license notice.
15130
15131 2012-02-11 Glenn Morris <rgm@gnu.org>
15132
15133 * select.el (x-get-selection-internal, x-own-selection-internal)
15134 (x-disown-selection-internal):
15135 * x-dnd.el (x-get-selection-internal): Update declarations.
15136
15137 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15138
15139 * window.el (window-sides-slots):
15140 * tool-bar.el (tool-bar-position):
15141 * term/xterm.el (xterm-extra-capabilities):
15142 * ses.el (ses-self-reference-early-detection):
15143 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15144 (verilog-auto-wire-type)
15145 (verilog-auto-delete-trailing-whitespace)
15146 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15147 (verilog-auto-tieoff-declaration):
15148 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15149 (sql-oracle-statement-starters, sql-oracle-scan-on):
15150 * progmodes/prolog.el (prolog-align-comments-flag)
15151 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15152 (prolog-left-indent-regexp, prolog-paren-indent-p)
15153 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15154 (prolog-types, prolog-mode-specificators)
15155 (prolog-determinism-specificators, prolog-directives)
15156 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15157 (prolog-electric-dot-flag)
15158 (prolog-electric-dot-full-predicate-template)
15159 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15160 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15161 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15162 (prolog-program-switches, prolog-prompt-regexp)
15163 (prolog-debug-on-string, prolog-debug-off-string)
15164 (prolog-trace-on-string, prolog-trace-off-string)
15165 (prolog-zip-on-string, prolog-zip-off-string)
15166 (prolog-use-standard-consult-compile-method-flag)
15167 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15168 (prolog-imenu-max-lines, prolog-info-predicate-index)
15169 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15170 (prolog-char-quote-workaround):
15171 * progmodes/cc-vars.el (c-defun-tactic):
15172 * net/tramp.el (tramp-encoding-command-interactive)
15173 (tramp-local-end-of-line):
15174 * net/soap-client.el (soap-client):
15175 * net/netrc.el (netrc-file):
15176 * net/gnutls.el (gnutls):
15177 * minibuffer.el (completion-category-overrides)
15178 (completion-cycle-threshold)
15179 (completion-pcm-complete-word-inserts-delimiters):
15180 * man.el (Man-name-local-regexp):
15181 * mail/feedmail.el (feedmail-display-full-frame):
15182 * international/characters.el (glyphless-char-display-control):
15183 * eshell/em-ls.el (eshell-ls-date-format):
15184 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15185 (lisp-lambda-list-keyword-parameter-indentation)
15186 (lisp-lambda-list-keyword-parameter-alignment):
15187 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15188 * dired-x.el (dired-omit-verbose):
15189 * cus-theme.el (custom-theme-allow-multiple-selections):
15190 * calc/calc.el (calc-highlight-selections-with-faces)
15191 (calc-lu-field-reference, calc-lu-power-reference)
15192 (calc-note-threshold):
15193 * battery.el (battery-mode-line-limit):
15194 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15195 (archive-7z-update):
15196 * allout.el (allout-prefixed-keybindings)
15197 (allout-unprefixed-keybindings)
15198 (allout-inhibit-auto-fill-on-headline)
15199 (allout-flattened-numbering-abbreviation):
15200 * allout-widgets.el (allout-widgets-auto-activation)
15201 (allout-widgets-icons-dark-subdir)
15202 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15203 (allout-widgets-theme-dark-background)
15204 (allout-widgets-theme-light-background)
15205 (allout-widgets-item-image-properties-emacs)
15206 (allout-widgets-item-image-properties-xemacs)
15207 (allout-widgets-run-unit-tests-on-load)
15208 (allout-widgets-time-decoration-activity)
15209 (allout-widgets-hook-error-post-time)
15210 (allout-widgets-track-decoration):
15211 Add missing :version tags to new defcustoms and defgroups.
15212
15213 * progmodes/sql.el (sql-ansi-statement-starters)
15214 (sql-oracle-statement-starters): Add custom type.
15215
15216 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15217 (prolog-system-version): Give it a type.
15218
15219 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15220
15221 * term/pc-win.el (x-select-text, x-selection-owner-p)
15222 (x-own-selection-internal, x-disown-selection-internal)
15223 (x-get-selection-internal): Sync doc strings and argument lists
15224 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15225
15226 2012-02-11 Leo Liu <sdl.web@gmail.com>
15227
15228 * progmodes/python.el (python-end-of-statement): Fix infinite
15229 loop. (Bug#10788)
15230
15231 2012-02-10 Glenn Morris <rgm@gnu.org>
15232
15233 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15234 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15235
15236 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15237
15238 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15239 about SMTP before checking the From header.
15240
15241 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15242 into own function for reuse by emacsbug.el.
15243
15244 2012-02-10 Leo Liu <sdl.web@gmail.com>
15245
15246 * subr.el (condition-case-unless-debug): Rename from
15247 condition-case-no-debug. All callers changed.
15248 (with-demoted-errors): Fix caller.
15249
15250 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15251 * nxml/rng-valid.el (rng-do-some-validation):
15252 * emacs-lisp/package.el (package-refresh-contents)
15253 (package-menu-execute):
15254 * desktop.el (desktop-create-buffer):
15255 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15256
15257 2012-02-10 Glenn Morris <rgm@gnu.org>
15258
15259 * textmodes/bibtex.el:
15260 Add missing :version tags for new/changed defcustoms.
15261
15262 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15263
15264 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15265
15266 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15267 (smtpmail-via-smtp): Use it, or fall back on the From address.
15268 (smtpmail-send-it): Ditto.
15269
15270 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15271
15272 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15273 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15274 (byte-compile-tmp-var): New const.
15275 (byte-compile-defvar): Use it to minimize .elc size.
15276 Just use `defvar' rather than simulate it (bug#10761).
15277
15278 2012-02-09 Glenn Morris <rgm@gnu.org>
15279
15280 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15281
15282 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15283 Add :version tags.
15284
15285 * progmodes/compile.el (compilation-error-screen-columns)
15286 (compilation-first-column, compilation-filter-start): Doc fixes.
15287
15288 * vc/log-view.el (log-view-toggle-entry-display):
15289 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15290
15291 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15292 (report-emacs-bug-can-use-xdg-email):
15293 (report-emacs-bug-insert-to-mailer): Doc fixes.
15294 (report-emacs-bug): Message fix.
15295
15296 * net/browse-url.el (browse-url-can-use-xdg-open)
15297 (browse-url-xdg-open): Doc fixes.
15298
15299 * electric.el (electric-indent-mode, electric-pair-mode)
15300 (electric-layout-rules, electric-layout-mode): Doc fixes.
15301 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15302
15303 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15304
15305 * server.el (server-unselect-display): Don't inadvertently kill
15306 the current buffer. (Bug#10729)
15307
15308 2012-02-08 Glenn Morris <rgm@gnu.org>
15309
15310 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15311 (sql-list-table): Doc fixes.
15312
15313 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15314 Comment out (does nothing).
15315
15316 * completion.el (dynamic-completion-mode):
15317 * dirtrack.el (dirtrack-debug-mode):
15318 * electric.el (electric-layout-mode):
15319 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15320 * face-remap.el (text-scale-mode, buffer-face-mode):
15321 * iimage.el (iimage-mode):
15322 * image-mode.el (image-transform-mode):
15323 * minibuffer.el (completion-in-region-mode):
15324 * scroll-lock.el (scroll-lock-mode):
15325 * simple.el (next-error-follow-minor-mode):
15326 * tar-mode.el (tar-subfile-mode):
15327 * tooltip.el (tooltip-mode):
15328 * vcursor.el (vcursor-use-vcursor-map):
15329 * wid-browse.el (widget-minor-mode):
15330 * emulation/tpu-edt.el (tpu-edt-mode):
15331 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15332 * international/iso-ascii.el (iso-ascii-mode):
15333 * language/thai-util.el (thai-word-mode):
15334 * mail/supercite.el (sc-minor-mode):
15335 * net/goto-addr.el (goto-address-mode):
15336 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15337 * progmodes/cwarn.el (cwarn-mode):
15338 * progmodes/flymake.el (flymake-mode):
15339 * progmodes/glasses.el (glasses-mode):
15340 * progmodes/hideshow.el (hs-minor-mode):
15341 * progmodes/pascal.el (pascal-outline-mode):
15342 * textmodes/enriched.el (enriched-mode):
15343 * vc/smerge-mode.el (smerge-mode):
15344 Doc fixes (minor mode argument).
15345
15346 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15347
15348 * ls-lisp.el (ls-lisp-sanitize): New function.
15349 (ls-lisp-insert-directory): Use it to fix or remove any elements
15350 in file-alist with missing attributes. (Bug#4673)
15351
15352 2012-02-07 Alan Mackenzie <acm@muc.de>
15353
15354 Fix spurious recognition of c-in-knr-argdecl.
15355
15356 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15357 putative K&R region.
15358
15359 2012-02-07 Alan Mackenzie <acm@muc.de>
15360
15361 * progmodes/cc-engine.el (c-forward-objc-directive):
15362 Prevent looping in "#pragma mark @implementation".
15363
15364 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15365
15366 * notifications.el (notifications-on-closed-signal): Make `reason'
15367 optional. (Bug#10744)
15368
15369 2012-02-07 Glenn Morris <rgm@gnu.org>
15370
15371 * emacs-lisp/easy-mmode.el (define-minor-mode):
15372 Doc fixes for the macro and the mode it defines.
15373
15374 * image.el (imagemagick-types-inhibit): Doc fix.
15375
15376 * cus-start.el (imagemagick-render-type): Add it.
15377
15378 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15379
15380 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15381 Set the default at load time, too, so that `font-lock-fontify-buffer'
15382 can be called without setting up the entire mode first. This fixes
15383 a bug in `mm-inline-text' with C MIME parts.
15384
15385 2012-02-06 Chong Yidong <cyd@gnu.org>
15386
15387 * simple.el (list-processes--refresh): Delete exited processes
15388 (Bug#8094).
15389
15390 * comint.el (comint-next-prompt): next-single-char-property-change
15391 and prev-single-char-property-change never return nil (Bug#8657).
15392
15393 * custom.el (defcustom): Doc fix (Bug#9711).
15394
15395 2012-02-05 Chong Yidong <cyd@gnu.org>
15396
15397 * cus-edit.el (custom-variable-reset-backup): Quote the value
15398 before storing it in the customized-value property (Bug#6712).
15399 (custom-display): Add a customization type tag.
15400 (custom-buffer-create-internal): Improve tooltip message.
15401
15402 * wid-edit.el (widget-field-value-get): New optional arg to
15403 suppress trailing whitespace truncation.
15404 (character): Use it (Bug#2689).
15405
15406 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15407
15408 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15409 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15410
15411 2012-02-05 Chong Yidong <cyd@gnu.org>
15412
15413 * cus-edit.el (custom-variable-value-create): For mismatched
15414 types, show the current value (Bug#7600).
15415
15416 * custom.el (defcustom): Doc fix.
15417
15418 2012-02-05 Glenn Morris <rgm@gnu.org>
15419
15420 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15421
15422 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15423
15424 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15425 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15426 (pp-last-sexp): Use `looking-at-p'.
15427
15428 2012-02-04 Glenn Morris <rgm@gnu.org>
15429
15430 * files.el (revert-buffer):
15431 Doc fix (mention revert-buffer-in-progress-p).
15432
15433 * emacs-lisp/ert-x.el (ert-simulate-command):
15434 Check deferred-action-list (which is obsolete) is bound.
15435
15436 * subr.el (with-wrapper-hook): Doc fixes.
15437
15438 * simple.el (filter-buffer-substring-functions)
15439 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15440
15441 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15442
15443 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15444 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15445
15446 2012-02-04 Leo Liu <sdl.web@gmail.com>
15447
15448 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15449
15450 2012-02-04 Glenn Morris <rgm@gnu.org>
15451
15452 * image.el (image-extension-data): Add obsolete alias.
15453
15454 * isearch.el (isearch-update): Doc fix.
15455
15456 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15457
15458 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15459
15460 2012-02-03 Glenn Morris <rgm@gnu.org>
15461
15462 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15463 (image-animate-timeout): Doc fix.
15464
15465 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15466
15467 2012-02-02 Glenn Morris <rgm@gnu.org>
15468
15469 * server.el (server-auth-dir): Doc fix.
15470 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15471
15472 * subr.el (run-mode-hooks): Doc fix.
15473
15474 2012-02-02 Juri Linkov <juri@jurta.org>
15475
15476 * image-mode.el (image-toggle-display-image): Remove tautological
15477 `major-mode' from the `derived-mode-p' test.
15478
15479 2012-02-02 Kenichi Handa <handa@m17n.org>
15480
15481 * composite.el (compose-region): Cancel previous change.
15482
15483 2012-02-02 Kenichi Handa <handa@m17n.org>
15484
15485 * composite.el (compose-region, compose-string): Signal error for
15486 a null string component (Bug#6988).
15487
15488 2012-02-01 Chong Yidong <cyd@gnu.org>
15489
15490 * view.el (view-buffer-other-window, view-buffer-other-frame):
15491 Handle special modes like view-buffer (Bug#10650).
15492 (view-buffer): Simplify.
15493
15494 * frame.el (set-frame-font): Tweak meaning of third argument.
15495
15496 * dynamic-setting.el (font-setting-change-default-font):
15497 Use set-frame-font (Bug#9982).
15498
15499 2012-02-01 Glenn Morris <rgm@gnu.org>
15500
15501 * progmodes/compile.el (compilation-internal-error-properties):
15502 Respect compilation-first-column in the "*compilation*" buffer.
15503
15504 * emacs-lisp/easy-mmode.el (define-minor-mode):
15505 Relax :variable's test for a named function.
15506
15507 2012-01-31 Alan Mackenzie <acm@muc.de>
15508
15509 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15510 off by one error.
15511
15512 2012-01-31 Chong Yidong <cyd@gnu.org>
15513
15514 * frame.el (set-frame-font): New arg ALL-FRAMES.
15515
15516 * menu-bar.el (menu-set-font): Use set-frame-font.
15517
15518 * faces.el (face-spec-reset-face): Don't apply unspecified
15519 attribute values to the default face.
15520
15521 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15522
15523 * progmodes/cwarn.el (cwarn): Remove dead link.
15524 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15525 Remove * from defcustom docstrings.
15526 (turn-on-cwarn-mode): Make obsolete.
15527 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15528 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15529
15530 2012-01-31 Glenn Morris <rgm@gnu.org>
15531
15532 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15533 Fix :variable handling of mode a symbol not equal to modefun.
15534 Allow named functions to be used as the cdr of :variable.
15535
15536 2012-01-30 Glenn Morris <rgm@gnu.org>
15537
15538 * emacs-lisp/authors.el (authors-fixed-entries):
15539 Remove reference to deleted file rnewspost.el.
15540
15541 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15542
15543 * window.el (window-with-parameter): Remove unused variable `windows'.
15544 (window--side-check): Remove unused variable `code'.
15545 (window--resize-siblings): Remove unused variable `first'.
15546 (adjust-window-trailing-edge): Remove unused variable `failed'.
15547 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15548 Use `let', not `let*'.
15549 (balance-windows-2): Remove unused variable `found'.
15550 (window--state-put-2): Remove unused variable `splits'.
15551 (window-state-put): Remove unused variable `selected'.
15552 (same-window-p): Use `string-match-p'.
15553 (display-buffer-assq-regexp): Remove unused variable `value'.
15554 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15555 Mark argument ALIST as ignored.
15556 (pop-to-buffer): Remove unused variable `old-window'.
15557
15558 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15559
15560 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15561 and .lzma compressed files.
15562
15563 2012-01-29 Chong Yidong <cyd@gnu.org>
15564
15565 * frame.el (window-system-default-frame-alist): Doc fix.
15566
15567 * dynamic-setting.el (font-setting-change-default-font): Don't
15568 change the default face if SET-FONT argument is non-nil (Bug#9982).
15569
15570 2012-01-29 Samuel Bronson <naesten@gmail.com>
15571
15572 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15573
15574 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15575
15576 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15577 breakpoints in files outside current directory (Bug#6098).
15578
15579 2012-01-29 Chong Yidong <cyd@gnu.org>
15580
15581 * progmodes/python.el: Require ansi-color at top-level.
15582
15583 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15584 Define and use in Emacs Lisp mode (Bug#9360).
15585 (lisp-mode-abbrev-table): Add doc.
15586 (lisp-mode-variables): Don't set local-abbrev-table.
15587 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15588
15589 2012-01-28 Roland Winkler <winkler@gnu.org>
15590
15591 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15592
15593 2012-01-28 Roland Winkler <winkler@gnu.org>
15594
15595 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15596 (bibtex-set-dialect): Use it. Either set global values of
15597 dialect-dependent variables or bind these variables buffer-locally
15598 (Bug#10254).
15599 (bibtex-mode): Call bibtex-set-dialect via
15600 hack-local-variables-hook.
15601 (bibtex-dialect): Update docstring.
15602 Add safe-local-variable predicate.
15603 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15604 bibtex-set-dialect.
15605 (bibtex-mode-map): Define menu for each dialect.
15606 (bibtex-entry): Fix docstring.
15607
15608 2012-01-28 Chong Yidong <cyd@gnu.org>
15609
15610 * eshell/esh-arg.el (eshell-quote-argument): New function.
15611
15612 * eshell/esh-ext.el (eshell-invoke-batch-file):
15613 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15614 first arg to eshell-parse-command (Bug#10523).
15615
15616 2012-01-28 Drew Adams <drew.adams@oracle.com>
15617
15618 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15619 `default-directory' is non-nil.
15620
15621 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15622
15623 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15624 line that displays system-configuration-options. (Bug#9924)
15625
15626 2012-01-28 Drew Adams <drew.adams@oracle.com>
15627
15628 * descr-text.el (describe-char): Show information about POS, in
15629 addition to information about the character at POS. Improve and
15630 update the doc string. Change "code point" to "code point in
15631 charset", to avoid confusion with the character's Unicode code
15632 point shown above that. (Bug#10129)
15633
15634 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15635
15636 * descr-text.el (describe-char): Show the raw character, not only
15637 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15638 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15639 for the reasons.
15640
15641 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15642
15643 * emacs-lisp/package.el (package-install):
15644 Run package-refresh-contents if there is no archive yet (Bug#9798).
15645
15646 2012-01-28 Chong Yidong <cyd@gnu.org>
15647
15648 * emacs-lisp/package.el (package-maybe-load-descriptor):
15649 New function, split from package-maybe-load-descriptor.
15650 (package-maybe-load-descriptor): Use it.
15651 (package-download-transaction): Fully load required packages
15652 inside the loop, so that `require' calls work (Bug#10593).
15653 (package-install): No need to call package-initialize now.
15654
15655 2012-01-28 Chong Yidong <cyd@gnu.org>
15656
15657 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15658
15659 * tooltip.el (tooltip-mode): Doc fix.
15660 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15661
15662 * frame.el (set-cursor-color): Doc fix (Bug#352).
15663
15664 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15665 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15666
15667 * cus-edit.el (custom-buffer-create-internal): Fix search button
15668 action (Bug#10542).
15669 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15670
15671 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15672
15673 * dired.el (dired-mark-files-regexp):
15674 Include any subdirectory components. (Bug#10445)
15675
15676 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15677
15678 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15679 Handle [host]:port syntax. (Bug#10533)
15680
15681 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15682
15683 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15684
15685 2012-01-26 Glenn Morris <rgm@gnu.org>
15686
15687 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15688 * term.el (term-raw-escape-map): Use Control-X-prefix.
15689 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15690
15691 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15692
15693 * window.el (window-state-get, window--state-get-1): Don't deal
15694 with fixed-sizeness of windows. Simplify code.
15695
15696 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15697
15698 * window.el (window--state-get-1, window--state-put-2):
15699 Don't save and restore the mark.
15700
15701 2012-01-25 Chong Yidong <cyd@gnu.org>
15702
15703 * custom.el (custom-variable-p): Doc fix.
15704
15705 2012-01-25 Glenn Morris <rgm@gnu.org>
15706
15707 * dired.el (dired-goto-file): Handle some of the more common
15708 characters that `ls -b' escapes. (Bug#10596)
15709
15710 * progmodes/compile.el (compilation-next-error-function):
15711 Respect compilation-first-column in the "*compilation*" buffer.
15712 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15713
15714 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15715
15716 2012-01-24 Glenn Morris <rgm@gnu.org>
15717
15718 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15719
15720 2012-01-24 Julien Danjou <julien@danjou.info>
15721
15722 * color.el (color-rgb-to-hsl): Fix value computing.
15723 (color-hue-to-rgb): New function.
15724 (color-hsl-to-rgb): New function.
15725 (color-clamp, color-saturate-hsl, color-saturate-name)
15726 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15727 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15728
15729 2012-01-24 Glenn Morris <rgm@gnu.org>
15730
15731 * vc/vc-rcs.el (vc-rcs-create-tag):
15732 * vc/vc-sccs.el (vc-sccs-create-tag):
15733 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15734
15735 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15736
15737 * eshell/esh-util.el (eshell-read-hosts-file):
15738 Skip comment lines. (Bug#10549)
15739
15740 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15741
15742 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15743
15744 * subr.el (display-delayed-warnings): Doc fix.
15745 (collapse-delayed-warnings): New function to collapse identical
15746 adjacent warnings.
15747 (delayed-warnings-hook): Add it.
15748
15749 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15750
15751 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15752
15753 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15754 (tramp-default-user-alist): Don't add "pscp".
15755 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15756 property "login-as", if set. (Bug#10530)
15757
15758 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15759
15760 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15761 "plink1" and "psftp". (Bug#10530)
15762
15763 2012-01-21 Kenichi Handa <handa@m17n.org>
15764
15765 * international/mule-cmds.el (prefer-coding-system): Show a
15766 warning message if the default value of file-name-coding-system
15767 was not changed.
15768
15769 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15770
15771 * windmove.el (windmove-reference-loc):
15772 Fix windmove-reference-loc miscalculation.
15773
15774 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15775
15776 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15777 default unit.
15778
15779 2012-01-21 Glenn Morris <rgm@gnu.org>
15780
15781 * international/mule.el (auto-coding-alist): Add .tbz.
15782
15783 * files.el (local-enable-local-variables): Doc fix.
15784 (inhibit-local-variables-regexps): Rename from
15785 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15786 Doc fix. Add some extensions from auto-coding-alist.
15787 (inhibit-local-variables-suffixes):
15788 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15789 (inhibit-local-variables-p):
15790 New function, extracted from set-auto-mode-1.
15791 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15792 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15793 (hack-local-variables): Doc fix. Make the mode-only case
15794 respect enable-local-variables and friends.
15795 Respect inhibit-local-variables-regexps for file-locals, but
15796 not for directory-locals.
15797 (set-visited-file-name):
15798 Take account of inhibit-local-variables-regexps.
15799 Whether it applies may change as the file name is changed.
15800 * jka-cmpr-hook.el (jka-compr-install):
15801 * jka-compr.el (jka-compr-uninstall):
15802 Update for inhibit-first-line-modes-suffixes name change.
15803
15804 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15805
15806 * help-macro.el (make-help-screen): Temporarily restore original
15807 binding for minor-mode-map-alist (Bug#10454).
15808
15809 2012-01-19 Julien Danjou <julien@danjou.info>
15810
15811 * color.el (color-name-to-rgb): Use the white color to find the max
15812 color component value and return correctly computed values.
15813 (color-name-to-rgb): Add missing float conversion for max value.
15814
15815 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15816
15817 * window.el (window--state-get-1, window-state-get): Do not use
15818 special state value for window-persistent-parameters.
15819 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15820 (window--state-put-2): Reset all window parameters to nil before
15821 assigning values of persistent parameters.
15822
15823 2012-01-18 Alan Mackenzie <acm@muc.de>
15824
15825 Eliminate sluggishness and hangs in fontification of "semicolon
15826 deserts".
15827
15828 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15829 Change value 10000 -> 3000.
15830 (c-state-safe-place): Reformulate so it doesn't stack up an
15831 infinite number of wrong entries in c-state-nonlit-pos-cache.
15832 (c-determine-limit-get-base, c-determine-limit): New functions to
15833 determine backward search limits disregarding literals.
15834 (c-find-decl-spots): Amend commenting.
15835 (c-cheap-inside-bracelist-p): New function which detects "={".
15836
15837 * progmodes/cc-fonts.el
15838 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15839 backward search.
15840 (c-font-lock-declarations): Fix an occurrence of point being
15841 undefined. Check additionally for point being in a bracelist or
15842 near a macro invocation without a semicolon so as to avoid a
15843 fruitless time consuming search for a declarator. Give a more
15844 precise search limit for declarators using the new
15845 c-determine-limit.
15846
15847 2012-01-18 Glenn Morris <rgm@gnu.org>
15848
15849 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15850 (set-auto-mode): Doc fixes.
15851
15852 2012-01-17 Glenn Morris <rgm@gnu.org>
15853
15854 * isearch.el (search-nonincremental-instead): Fix doc typo.
15855
15856 * dired.el (dired-insert-directory): Handle newlines in directory name.
15857 (dired-build-subdir-alist): Unescape newlines in directory name.
15858
15859 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15860
15861 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15862 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15863 (tramp-action-terminal): Use it. (Bug#10530)
15864
15865 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15866
15867 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15868
15869 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15870
15871 * window.el (window-state-ignored-parameters): Remove variable.
15872 (window--state-get-1): Rename argument MARKERS to IGNORE.
15873 Handle persistent window parameters. Make copy of clone-of
15874 parameter only if requested. (Bug#10348)
15875 (window--state-put-2): Install a window parameter only if it has
15876 a non-nil value or an existing parameter shall be overwritten.
15877
15878 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15879
15880 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15881
15882 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15883
15884 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15885 don't pass the (nil) value of `upnode' to string-match.
15886
15887 2012-01-14 Chong Yidong <cyd@gnu.org>
15888
15889 * startup.el (command-line): Fix X resource class for cursorColor.
15890 Fix values recognized by the cursorBlink resource.
15891
15892 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15893
15894 * epg.el (epg--make-temp-file): Avoid permission race condition
15895 when running on old Emacs versions (bug#10403).
15896
15897 2012-01-14 Glenn Morris <rgm@gnu.org>
15898
15899 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15900
15901 2012-01-13 Alan Mackenzie <acm@muc.de>
15902
15903 Fix filling for when filladapt mode is enabled.
15904
15905 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15906 c-mask-paragraph, pass in `fill-paragraph' rather than
15907 `fill-region-as-paragraph'. (This is a reversion of a previous
15908 change.)
15909 * progmodes/cc-mode.el (c-basic-common-init):
15910 Make fill-paragraph-handle-comment buffer local and set it to nil.
15911
15912 2012-01-13 Glenn Morris <rgm@gnu.org>
15913
15914 * dired.el (dired-switches-escape-p): New function.
15915 (dired-insert-directory): Use dired-switches-escape-p.
15916 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15917
15918 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15919
15920 2012-01-12 Glenn Morris <rgm@gnu.org>
15921
15922 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15923 changes in adaptive-fill-regexp. (Bug#10276)
15924
15925 2012-01-11 Alan Mackenzie <acm@muc.de>
15926
15927 Fix Emacs bug #10463 - put `widen's around the critical spots.
15928
15929 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15930 widen around each invocation of c-state-pp-to-literal. Remove an
15931 unused let variable.
15932
15933 2012-01-11 Glenn Morris <rgm@gnu.org>
15934
15935 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15936 Doc fix.
15937
15938 2012-01-10 Chong Yidong <cyd@gnu.org>
15939
15940 * net/network-stream.el (network-stream-open-starttls):
15941 Avoid emitting a confusing error message when the server gives a bad
15942 response to the capability command.
15943
15944 2012-01-10 Glenn Morris <rgm@gnu.org>
15945
15946 * mail/unrmail.el (unrmail): Tweak previous change.
15947
15948 2012-01-09 Chong Yidong <cyd@gnu.org>
15949
15950 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15951
15952 2012-01-08 Alan Mackenzie <acm@muc.de>
15953
15954 Optimize font locking in long enum definitions.
15955
15956 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15957 arm to a cond form to handle enums.
15958 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15959 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15960
15961 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15962
15963 * files.el (move-file-to-trash): Preserve default file modes on error.
15964 (Bug#10401)
15965
15966 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15967
15968 * faces.el (set-face-attribute): Clarify the meaning of the nil
15969 frame (bug#10294).
15970
15971 * subr.el (with-selected-frame): Mention that the selected frame
15972 is restored (bug#9980).
15973
15974 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15975 (bug#9759).
15976
15977 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15978 (password-read): Don't autoload unused function.
15979
15980 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15981
15982 * progmodes/which-func.el (which-func-mode): Turn into a
15983 non-interactive function and mark as obsolete (bug#10428).
15984
15985 2012-01-06 Chong Yidong <cyd@gnu.org>
15986
15987 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15988 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15989 functions, along with 1 and -1.
15990
15991 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15992
15993 * time.el (display-time-load-average)
15994 (display-time-default-load-average): Doc fixes. See the thread
15995 starting at
15996 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15997 for the details.
15998
15999 2012-01-06 Glenn Morris <rgm@gnu.org>
16000
16001 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16002 has no messages. (Bug#10377)
16003
16004 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16005 than Info-edit. (Bug#10385)
16006
16007 * time.el (display-time-load-average, display-time-next-load-average):
16008 Doc fixes.
16009
16010 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16011 local setting of buffer-read-only to the input buffer. (Bug#10419)
16012
16013 * calendar/calendar.el (calendar-mode):
16014 Locally set scroll-margin to 0. (Bug#10379)
16015
16016 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16017
16018 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16019
16020 2012-01-05 Glenn Morris <rgm@gnu.org>
16021
16022 * eshell/em-unix.el (diff-no-select): Autoload it.
16023 (eshell/diff): Use diff-no-select. (Bug#10420)
16024
16025 2012-01-05 Chong Yidong <cyd@gnu.org>
16026
16027 * shell.el (shell-dynamic-complete-functions): Revert last change.
16028 (shell-command-completion-function): New function.
16029 (shell-completion-vars): Use it to implement
16030 shell-completion-execonly (Bug#10417).
16031
16032 * custom.el (enable-theme): Don't set custom-safe-themes.
16033
16034 * cus-theme.el (custom-theme-merge-theme):
16035 Ignore custom-enabled-themes and custom-safe-themes.
16036
16037 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16038
16039 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16040 first prompt in `sql-interacive-mode'.
16041 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16042 keywords.
16043 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16044 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16045 context of original buffer. Invoke `sql-login-hook'.
16046
16047 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16048
16049 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16050 letters in cite-prefix.
16051
16052 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16053
16054 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16055
16056 2012-01-03 Chong Yidong <cyd@gnu.org>
16057
16058 * shell.el (shell-dynamic-complete-functions):
16059 Put pcomplete-completions-at-point, so as to try
16060 comint-filename-completion first (Bug#10417).
16061
16062 2012-01-02 Richard Stallman <rms@gnu.org>
16063
16064 * battery.el (battery-status-function):
16065 Detect when to use battery-yeeloong-sysfs.
16066 (battery-echo-area-format): Add string for Yeeloong.
16067 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16068 (battery-yeeloong-sysfs): New function.
16069
16070 2012-01-02 Chong Yidong <cyd@gnu.org>
16071
16072 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16073 (dirtrack): Merge code for handling relative filenames in prompt
16074 from shell-dir-cookie-watcher.
16075 (dirtrack-debug-message): New arg to avoid excess format calls.
16076
16077 * shell.el (shell-dir-cookie-re): Variable deleted.
16078 (shell-dir-cookie-watcher): Function deleted.
16079 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16080 with dirtrack-mode.
16081
16082 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16083
16084 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16085 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16086 libgnutls-26.dll.
16087
16088 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16089
16090 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16091
16092 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16093
16094 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16095 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16096
16097 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16098
16099 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16100 also for alternative shells.
16101 (tramp-open-connection-setup-interactive-shell): Check, whether
16102 the shell is a busybox.
16103 (tramp-send-command): Don't suppress multiple prompts for
16104 busyboxes, it hurts.
16105
16106 2011-12-28 Chong Yidong <cyd@gnu.org>
16107
16108 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16109 (gdb-get-source-file): Move mode line update to
16110 gdb-get-source-file (Bug#10087).
16111
16112 2011-12-25 Chong Yidong <cyd@gnu.org>
16113
16114 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16115 gud-gdb-marker-filter without taking it as an argument.
16116 (gud-gdb-run-command-fetch-lines): Caller changed.
16117 (gud-gdb-completion-function): New variable.
16118 (gud-gdb-completion-at-point): Use it.
16119 (gud-gdb-completions-1): Split from gud-gdb-completions.
16120
16121 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16122 function as separate arguments.
16123 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16124 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16125 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16126 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16127 (gdb-stopped, def-gdb-auto-update-trigger)
16128 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16129 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16130 Callers changed.
16131 (gud-gdbmi-completions): New function.
16132 (gdb): Use it for generating the completion table.
16133
16134 2011-12-24 Alan Mackenzie <acm@muc.de>
16135
16136 Introduce a mechanism to widen the region used in context font
16137 locking. Use this to protect declarations from losing their contexts.
16138
16139 * progmodes/cc-langs.el (c-before-font-lock-functions):
16140 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16141 (c-before-context-fontification-functions): New defvar, a list of
16142 functions to be run just before context (etc.) font locking.
16143
16144 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16145 New, functionality extracted from
16146 c-neutralize-syntax-in-and-mark-CPP.
16147 (c-in-after-change-fontification): New variable.
16148 (c-after-change): Set c-in-after-change-fontification.
16149 (c-set-fl-decl-start): Rejig its interface, so it can be called
16150 from both after-change and context fontifying.
16151 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16152 New functions.
16153 (c-standard-font-lock-fontify-region-function): New variable.
16154 (c-font-lock-fontify-region): New function.
16155
16156 2011-12-24 Juri Linkov <juri@jurta.org>
16157
16158 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16159 (Bug#10348)
16160
16161 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16162
16163 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16164 existence of source file. (Bug#10325)
16165
16166 2011-12-23 Alan Mackenzie <acm@muc.de>
16167
16168 Fix unstable fontification inside templates.
16169
16170 * progmodes/cc-langs.el (c-before-font-lock-functions):
16171 Newly created from the singular version. The (c c++ objc) entry now
16172 additionally has c-set-fl-decl-start. The other languages (apart
16173 from AWK) have that as a single entry.
16174
16175 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16176 The functionality for "local" declarations has been extracted to
16177 c-set-fl-decl-start.
16178
16179 * progmodes/cc-mode.el (c-common-init, c-after-change):
16180 Changes due to pluralisation of c-before-font-lock-functions.
16181 (c-set-fl-decl-start): New function, extracted from
16182 c-font-lock-enclosing-decls and enhanced.
16183
16184 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16185
16186 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16187
16188 2011-12-22 Juri Linkov <juri@jurta.org>
16189
16190 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16191
16192 2011-12-22 Chong Yidong <cyd@gnu.org>
16193
16194 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16195
16196 2011-12-21 Drew Adams <drew.adams@oracle.com>
16197
16198 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16199
16200 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16201
16202 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16203
16204 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16205
16206 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16207 highlighting and support. Fix up comments for capitalization.
16208 (cfengine-mode-debug): New var.
16209 (cfengine3-mode): Change the modeline indicator to "CFE3".
16210 (cfengine3-font-lock-keywords): Improve defun highlighting.
16211 (cfengine2-actions): Rename from `cfengine-actions'.
16212 (cfengine2-font-lock-keywords): Rename from
16213 `cfengine-font-lock-keywords'.
16214 (cfengine2-imenu-expression): Rename from
16215 `cfengine-imenu-expression'.
16216 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16217 (cfengine2-beginning-of-defun): Rename from
16218 `cfengine-beginning-of-defun'.
16219 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16220 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16221 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16222 modeline indicator to "CFE2".
16223 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16224 (cfengine-mode-abbrevs): Mark obsolete.
16225
16226 2011-12-21 Chong Yidong <cyd@gnu.org>
16227
16228 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16229 filename argument.
16230
16231 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16232
16233 * window.el (window-normalize-buffer-to-display): Remove.
16234 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16235
16236 2011-12-19 Chong Yidong <cyd@gnu.org>
16237
16238 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16239 Don't signal an error in a predicate function; return non-nil.
16240 (vc-dir-mark-file): Move the error here.
16241 (vc-dir-mark-unmark): If acting on the region, keep going if one
16242 of the entries cannot be marked/unmarked.
16243 (vc-dir-mark-all-files): If current entry is a directory, mark
16244 only child files, as documented.
16245
16246 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16247
16248 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16249 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16250 addition.
16251
16252 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16253
16254 * term/ns-win.el (ns-get-selection-internal)
16255 (ns-store-selection-internal): Declare.
16256 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16257 Declare as obsolete.
16258 (ns-get-pasteboard, ns-paste-secondary):
16259 Use ns-get-selection-internal.
16260 (ns-set-pasteboard, ns-copy-including-secondary):
16261 Use ns-store-selection-internal.
16262
16263 2011-12-17 Chong Yidong <cyd@gnu.org>
16264
16265 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16266 (vc-deduce-fileset): Doc fix.
16267
16268 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16269
16270 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16271
16272 2011-12-13 Sam Steingold <sds@gnu.org>
16273
16274 * man.el (Man-getpage-in-background): When running under a
16275 window-system, ignore $MANWIDTH and $COLUMNS.
16276
16277 2011-12-15 Kenichi Handa <handa@m17n.org>
16278
16279 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16280 (setup-ethiopic-environment-internal): Comment out key-binding for
16281 ethio-toggle-punctuation.
16282
16283 2011-12-13 Alan Mackenzie <acm@muc.de>
16284
16285 Add the switch statement to AWK Mode.
16286
16287 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16288 "default" to the keywords regexp.
16289
16290 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16291 expression as the rest.
16292 (c-nonlabel-token-key): Allow string literals for AWK.
16293 Refactor for the other modes.
16294
16295 Large brace-block initialisation makes CC Mode slow: Fix.
16296 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16297 routines. Limit backward searching in c-font-lock-enclosing.decl.
16298
16299 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16300 pp-state and literal type in addition to the limits.
16301 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16302 (c-state-literal-at): Use the above new defun.
16303 (c-slow-in-literal, c-fast-in-literal): Remove.
16304 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16305
16306 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16307 being in a literal. Add a limit for backward searching.
16308
16309 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16310 c-slow-in-literal.
16311
16312 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16313
16314 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16315
16316 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16317
16318 * window.el (delete-other-windows): Use correct frame in call to
16319 window-with-parameter.
16320
16321 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16322
16323 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16324 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16325 (makefile-gmake-statements, makefile-makepp-statements):
16326 Use it and add new makepp keywords.
16327 (makefile-makepp-font-lock-keywords): Add new patterns.
16328 (makefile-match-function-end): Match new [...] and [[...]].
16329
16330 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16331
16332 * ses.el (ses-call-printer-return, ses-cell-property-get)
16333 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16334 (ses-create-cell-variable, ses-reset-header-string)
16335 (ses-cell-set-formula, ses-repair-cell-reference-all)
16336 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16337 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16338 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16339 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16340 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16341 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16342 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16343 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16344 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16345 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16346 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16347 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16348
16349 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16350
16351 * ses.el: The overall change is to add cell renaming, that is
16352 setting fancy names for cell symbols other than name matching
16353 "\\`[A-Z]+[0-9]+\\'" regexp .
16354 (ses-create-cell-variable): New defun.
16355 (ses-relocate-formula): Relocate formulas only for cells the
16356 symbols of which are not renamed, i.e. symbols whose names do not
16357 match regexp "\\`[A-Z]+[0-9]+\\'".
16358 (ses-relocate-all): Relocate values only for cells the symbols of
16359 which are not renamed.
16360 (ses-load): Create cells variables as the (ses-cell ...) are read,
16361 in order to check row col consistency with cell symbol name only
16362 for cells that are not renamed.
16363 (ses-replace-name-in-formula): New defun.
16364 (ses-rename-cell): New defun.
16365
16366 2011-12-11 Chong Yidong <cyd@gnu.org>
16367
16368 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16369 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16370
16371 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16372
16373 * window.el (other-window): Fix docstring.
16374
16375 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16376
16377 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16378 `from' or `to' address before taking its substring.
16379 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16380 encoded name is chopped in the middle of the encoded string, and
16381 thus displayed encoded.
16382
16383 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16384
16385 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16386
16387 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16388
16389 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16390 to use texinfo-update-node and commands that call it if the
16391 Texinfo file uses @node lines without next/prev/up pointers.
16392 Correct outdated description about texinfo-master-menu.
16393 (texinfo-all-menus-update, texinfo-master-menu)
16394 (texinfo-update-node, texinfo-every-node-update)
16395 (texinfo-multiple-files-update): Doc fix. Warn against updating
16396 all the @node lines.
16397 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16398 argument is numeric. Explain better in the doc string what the
16399 function really does.
16400 (texinfo-insert-master-menu-list): Improve the error message
16401 displayed if there's no menu in the Top node.
16402 (Bug#2975) See also this thread:
16403 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16404
16405 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16406
16407 * speedbar.el (speedbar-supported-extension-expressions):
16408 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16409
16410 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16411
16412 * printing.el (pr-mode-alist):
16413 * simple.el (filter-buffer-substring-functions)
16414 (completion-list-insert-choice-function):
16415 * window.el (window-with-parameter, window-atom-root)
16416 (window-sides-slots, window-size-fixed, window-min-delta)
16417 (window-max-delta, window--resize-mini-window)
16418 (window--resize-child-windows-normal, window-tree)
16419 (delete-other-windows, quit-window, split-window)
16420 (display-buffer-record-window, special-display-buffer-names)
16421 (special-display-regexps, special-display-popup-frame)
16422 (same-window-p, split-window-sensibly)
16423 (display-buffer-overriding-action, display-buffer-alist)
16424 (display-buffer-base-action, display-buffer, switch-to-buffer)
16425 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16426 (fit-window-to-buffer, recenter-positions)
16427 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16428 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16429 and remove unneeded backslashes in docstrings.
16430
16431 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16432
16433 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16434
16435 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16436 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16437 end in ".mk".
16438 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16439 when reading the makefile (bug#10116).
16440
16441 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16442
16443 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16444 (bug#10116).
16445
16446 2011-12-06 Glenn Morris <rgm@gnu.org>
16447
16448 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16449
16450 2011-12-06 Chong Yidong <cyd@gnu.org>
16451
16452 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16453
16454 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16455
16456 * textmodes/table.el (table-shorten-cell): Fix typo.
16457
16458 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16459
16460 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16461
16462 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16463
16464 * descr-text.el (describe-char): Fix display of strong
16465 right-to-left characters and directional embeddings and overrides.
16466
16467 * simple.el (what-cursor-position): Fix display of codepoints of
16468 strong right-to-left characters.
16469
16470 2011-12-05 Chong Yidong <cyd@gnu.org>
16471
16472 * faces.el (read-color): Doc fix.
16473
16474 2011-12-05 Glenn Morris <rgm@gnu.org>
16475
16476 * align.el (align--set-marker): Add doc-string.
16477 Don't try to move something that is not a marker. (Bug#10216)
16478
16479 2011-12-04 Glenn Morris <rgm@gnu.org>
16480
16481 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16482 overly zealous deletion of trailing whitespace.
16483
16484 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16485
16486 * server.el (server-delete-client): On Windows, do not try to delete
16487 the only terminal.
16488 (server-process-filter): On Windows, treat requests for a tty frame as
16489 if they were for a GUI frame if the running server is in GUI mode.
16490
16491 2011-12-03 Glenn Morris <rgm@gnu.org>
16492
16493 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16494
16495 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16496
16497 * electric.el: Streamline electric-indent's hook.
16498 (electric-indent-chars): Revert to simple list.
16499 (electric-indent-functions): New var.
16500 (electric-indent-post-self-insert-function): Use it.
16501
16502 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16503 there's no inferior buffer (bug#10196).
16504 (prolog-consult-compile): Don't use toggle-read-only.
16505
16506 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16507
16508 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16509 interrupt. (Bug#10187)
16510
16511 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16512
16513 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16514 (bug#9160).
16515
16516 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16517 (bug#10191).
16518
16519 2011-12-02 Juri Linkov <juri@jurta.org>
16520
16521 * info.el (Info-search): Display "end of manual" when Isearch
16522 reaches the end of single-file Info manual. (Bug#9918)
16523
16524 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16525
16526 * isearch.el (isearch-message-prefix): Run the input method part
16527 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16528
16529 2011-12-02 Juri Linkov <juri@jurta.org>
16530
16531 * isearch.el (isearch-occur): Use `word-search-regexp' for
16532 `isearch-word'.
16533 (isearch-search-and-update): Add condition for `isearch-word' and
16534 call `word-search-regexp'. (Bug#10145)
16535
16536 2011-12-01 Glenn Morris <rgm@gnu.org>
16537
16538 * eshell/em-hist.el (eshell-hist-initialize):
16539 Handle eshell-history-size nil and HISTSIZE set or unset.
16540 (eshell-history-file-name, eshell-history-size): Fix custom type.
16541
16542 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16543
16544 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16545
16546 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16547
16548 * progmodes/verilog-mode.el (verilog-pretty-expr):
16549 Rework verilog-pretty-expr to handle new assignment operators in system
16550 verilog, such as += *= and the like.
16551 (verilog-assignment-operator-re): Regular expression to find the
16552 assigment operator in a verilog assignment.
16553 (verilog-assignment-operation-re): Regular expression to find an
16554 assignment statement for pretty-expr.
16555 (verilog-in-attribute-p): Query returns true if point is in an
16556 attribute context; used to skip these for expression line up from
16557 pretty-expr.
16558 (verilog-in-parameter-p): Query returns true if point is in an
16559 parameter definition context; used to skip these for expression
16560 line up from pretty-expr.
16561 (verilog-in-parenthesis-p): Query returns true if point is in a
16562 parenthetical expression, specifically ( ) but not [ ] or { };
16563 used by pretty-expr.
16564 (verilog-just-one-space): If there is no space, don't add one.
16565 (verilog-get-lineup-indent-2): Specifically skip just attribute
16566 contexts for expression lineup, rather than skipping all
16567 parenthetical expressions.
16568 (verilog-calculate-indent): Fix comment, and fix indent.
16569 (verilog-do-indent): Indent declarations in lists (suggested by
16570 Joachim Lechner).
16571 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16572 skeleton items.
16573 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16574 by Alain Mellan).
16575
16576 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16577
16578 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16579 parameters with embedded comments. Reported by Ray Stevens.
16580 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16581 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16582 Reported by Tim Holt.
16583 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16584 instantiated by upper module causing wrong expansion until AUTOed a
16585 second time. Reported by K C Buckenmaier.
16586 (verilog-diff-auto): Fix showing .* as a difference when
16587 `verilog-auto-star-save' off. Reported by Dan Dever.
16588 (verilog-auto-reset, verilog-read-always-signals)
16589 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16590 temporary signals in reset list if
16591 verilog-auto-reset-blocking-in-non is nil, and match assignment
16592 style to each signal's assignment type, bug381.
16593 Reported by Thomas Esposito.
16594 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16595 (verilog-uvm-statement-re): Support UVM indentation and
16596 highlighting, with old OVM keywords only.
16597 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16598 Support AUTOTIEOFF creating non-wire data types.
16599 Suggested by Jonathan Greenlaw.
16600 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16601 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16602 (verilog-inject-sense, verilog-read-inst-pins)
16603 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16604 Fix mismatching parenthesis inside commented out code when deleting
16605 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16606 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16607 non-numeric vector width. Reported by Alex Reed.
16608 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16609 detecting signals with parameter widths. Reported by Alex Reed.
16610 (verilog-auto-delete-trailing-whitespace):
16611 With `verilog-auto-delete-trailing-whitespace' remove trailing
16612 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16613 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16614 Fix verilog-scan-cache corruption when running user AUTO expansion
16615 hooks that call indentation routines.
16616 (verilog-simplify-range-expression): Fix typo ignoring lower case
16617 identifiers.
16618 (verilog-delete-auto): Fix delete-autos to also remove user created
16619 automatics, as long as they start with AUTO.
16620 (verilog-batch-diff-auto, verilog-diff-auto)
16621 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16622 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16623 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16624 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16625 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16626 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16627 is disabled and its cache will get corrupt, causing AUTOS not to
16628 expand. Instead use only -quick functions.
16629 (verilog-scan-region): Fix scanning over escaped quotes.
16630 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16631 (verilog-re-search-backward-quick)
16632 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16633 related functions now ignore strings, to fix misparsing of strings
16634 with magic comments embedded in them.
16635 (verilog-read-auto-template):
16636 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16637 Reported by Brad Dobbie.
16638 (verilog-read-auto-template):
16639 Fix 'verilog-auto-inst-template-numbers' with comments.
16640 Reported by Brad Dobbie.
16641 (verilog-auto-inst, verilog-auto-inst-param)
16642 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16643 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16644 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16645 debugging templates without merge conflicts, bug357.
16646 Reported by Brad Dobbie.
16647 (verilog-read-auto-template):
16648 Fix verilog-auto-inst-template-numbers with multiple templates.
16649 Reported by Brad Dobbie.
16650 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16651 abbrevs so user won't be asked to save.
16652 (verilog-read-auto-lisp-present): Fix to start at beginning of
16653 buffer in case called outside of verilog-auto.
16654 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16655 to "X-2". Reported by Matthew Myers.
16656 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16657 all inputs from module templates. Reported by Leith Johnson.
16658 (verilog-module-inside-filename-p): Fix locating programs as with
16659 modules.
16660 (verilog-auto-inst-port): Fix vl-width expressions when using
16661 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16662 (verilog-decls-get-regs, verilog-decls-get-signals,
16663 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16664 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16665 verilog-read-decls): Combine reg and wire structures into one var
16666 structure to represent SystemVerilog concepts.
16667 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16668 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16669 (verilog-auto-wire-type, verilog-insert-definition):
16670 Add verilog-auto-wire-type and AUTOLOGIC to support using
16671 SystemVerilog "logic" keyword instead of "wire"/"reg".
16672 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16673 to declares outputs that also have assignments (presumably in an
16674 ifdef or generate if so there's not a driver conflict).
16675 Reported by Matthew Myers.
16676 (verilog-auto-declare-nettype, verilog-insert-definition):
16677 Add verilog-auto-declare-nettype to fix declarations using
16678 `default_nettype none. Reported by Julian Gorfajn.
16679 (verilog-read-always-signals-recurse, verilog-read-decls)
16680 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16681 malformed end statement, bug325. Reported by Joshua Wise and
16682 Andrew Drake.
16683 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16684 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16685 when expanding .* in interfaces, bug320.
16686 Reported by Pierre-David Pfister.
16687 (verilog-read-module-name): Fix import statements between module
16688 name and open parenthesis, bug317.
16689 Reported by Pierre-David Pfister.
16690 (verilog-simplify-range-expression): Fix simplification of
16691 multiplications inside AUTOWIRE connections, bug303.
16692 (verilog-auto-inst-port): Support parameter expansion in
16693 multidimensional arrays.
16694 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16695 after "assert property". Reported by Julian Gorfajn.
16696 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16697 with multiplication, bug303.
16698 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16699 Reported by Jan Frode Lonnum.
16700
16701 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16702
16703 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16704 (hfy-shell-file-name, hfy-shell):
16705 * international/fontset.el (x-decompose-font-name): Fix typos.
16706
16707 2011-11-29 Ken Brown <kbrown@cornell.edu>
16708
16709 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16710 (gdb-version): Remove defvar.
16711 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16712 (gdb-gud-context-command, gdb-non-stop-handler)
16713 (gdb-current-context-command, gdb-stopped): Use it.
16714 (gdb-init-1): Enable pretty printing here.
16715 (gdb-non-stop-handler): Don't enable pretty-printing here.
16716 Check to see if the target supports non-stop mode; if not, turn off
16717 non-stop mode. Use the following.
16718 (gdb-check-target-async): New defun.
16719 (gud-watch, gdb-stopped): Fix whitespace.
16720 (gdb-get-source-file): Don't try to display the source file if
16721 `gdb-main-file' is nil.
16722
16723 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16724
16725 * align.el: Try to generate fewer markers (bug#10047).
16726 (align--set-marker): New macro.
16727 (align-region): Use it.
16728
16729 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16730
16731 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16732
16733 2011-11-29 Chong Yidong <cyd@gnu.org>
16734
16735 * indent.el (indent-for-tab-command, indent-according-to-mode):
16736 Doc fix.
16737 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16738
16739 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16740
16741 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16742 aware of remote file names. (Bug#10124)
16743
16744 2011-11-29 Chong Yidong <cyd@gnu.org>
16745
16746 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16747
16748 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16749
16750 * files.el (find-file): Don't use force-same-window (bug#10144).
16751 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16752 use pop-to-buffer if the selected window can't be used.
16753 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16754
16755 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16756
16757 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16758 special-mode-map.
16759
16760 2011-11-28 Chong Yidong <cyd@gnu.org>
16761
16762 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16763
16764 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16765
16766 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16767 gdb-get-source-file-list on gdb-create-source-file-list.
16768
16769 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16770
16771 * whitespace.el (whitespace-newline): Use a different foreground
16772 color for 16-color light-background displays.
16773
16774 2011-11-24 Chong Yidong <cyd@gnu.org>
16775
16776 * window.el (display-buffer--special-action): Doc fix.
16777
16778 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16779
16780 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16781 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16782 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16783 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16784 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16785 (avl-tree-stack-first):
16786 * emacs-lisp/cconv.el (cconv--analyse-use):
16787 * net/gnutls.el (gnutls-negotiate): Fix typos.
16788
16789 2011-11-24 Glenn Morris <rgm@gnu.org>
16790
16791 * lpr.el (lpr-windows-system, lpr-lp-system):
16792 * mail/binhex.el (binhex-begin-line):
16793 * progmodes/grep.el (grep-history, grep-find-history):
16794 * textmodes/flyspell.el:
16795 * vc/pcvs-defs.el (cvs-global-menu):
16796 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16797 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16798 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16799
16800 * net/tls.el: Fix case of "GnuTLS".
16801
16802 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16803
16804 * version.el (emacs-build-system): Give it a doc-string.
16805
16806 2011-11-24 Juri Linkov <juri@jurta.org>
16807
16808 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16809
16810 2011-11-24 Glenn Morris <rgm@gnu.org>
16811
16812 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16813 if called on a non-mime message just toggle the headers. (Bug#8006)
16814
16815 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16816
16817 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16818 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16819 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16820 (allout-rebullet-heading, allout-open-sibtopic)
16821 (allout-toggle-current-subtree-encryption)
16822 (allout-toggle-subtree-encryption, allout-encrypt-string)
16823 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16824 (allout-distinctive-bullets-string, allout-auto-activation):
16825 * window.el (window-normalize-buffer-to-display):
16826 * progmodes/verilog-mode.el (verilog-batch-indent):
16827 * textmodes/bibtex.el (bibtex-field-braces-opt)
16828 (bibtex-field-strings-opt):
16829 * vc/cvs-status.el (cvs-tree-merge):
16830 Fix typos.
16831
16832 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16833
16834 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16835 `non-essential' to t, in order to avoid remote connections.
16836
16837 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16838
16839 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16840 On MS-DOS and MS-Windows, compare with loaddefs.el
16841 case-insensitively.
16842
16843 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16844
16845 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16846
16847 2011-11-23 Glenn Morris <rgm@gnu.org>
16848
16849 * paths.el (rmail-file-name): Reformat the doc-string so that it
16850 is picked up.
16851
16852 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16853 (rmail-auto-file): Ignore case in the "special" field names,
16854 as mail-fetch-field does for all others.
16855
16856 * mail/rmail.el (rmail-forward):
16857 * mail/rmailkwd.el (rmail-set-label):
16858 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16859 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16860
16861 * mail/rmail.el (rmail-current-message): Doc fix.
16862
16863 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16864
16865 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16866
16867 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16868
16869 2011-11-22 Glenn Morris <rgm@gnu.org>
16870
16871 * mail/rmailmm.el (test-rmail-mime-handler)
16872 (test-rmail-mime-bulk-handler)
16873 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16874
16875 2011-11-21 Juri Linkov <juri@jurta.org>
16876
16877 * calc/calc.el (calc-read-key-sequence):
16878 Let-bind `input-method-function' to nil. (Bug#10018)
16879
16880 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16881
16882 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16883 Tell the caller that the next line needs recomputation, even
16884 though it doesn't start a sexp (bug#10094).
16885
16886 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16887
16888 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16889
16890 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16891
16892 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16893 Use force-same-window.
16894
16895 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16896
16897 * descr-text.el (describe-char-unicode-data):
16898 * json.el (json-string-escape):
16899 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16900 (Footnote-unicode, Footnote-style-p):
16901 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16902
16903 2011-11-20 Chong Yidong <cyd@gnu.org>
16904
16905 * window.el (replace-buffer-in-windows): Restore interactive spec.
16906
16907 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16908
16909 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16910
16911 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16912 (byte-compile-global-not-obsolete-vars): New var.
16913 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16914 Use it.
16915 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16916
16917 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16918
16919 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16920 * progmodes/pascal.el (electric-pascal-equal):
16921 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16922 * xml.el (xml-substitute-special): Fix typos.
16923
16924 2011-11-20 Glenn Morris <rgm@gnu.org>
16925
16926 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16927 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16928 Doc fixes.
16929 (rmail-decode-mime-charset): Mark as obsolete.
16930
16931 * mail/rmailsum.el (rmail-message-regexp-p-1):
16932 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16933 Before using mime functions, check they are set. (Bug#10077)
16934
16935 2011-11-19 Juri Linkov <juri@jurta.org>
16936
16937 * info.el (Info-finder-find-node): Use `package--builtins' instead
16938 of `package-alist'. Use node names formed by the pattern "Keyword "
16939 and the keyword name.
16940
16941 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16942
16943 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16944
16945 2011-11-19 Juri Linkov <juri@jurta.org>
16946
16947 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16948 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16949 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16950 `old-history', `old-history-forward'. Add let-binding
16951 `window-selected'. Remove calls to `kill-buffer',
16952 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16953 before calling `Info-find-node', so `Info-find-node-2' will reread
16954 the Info file. Restore window positions only when `window-selected'
16955 is non-nil.
16956
16957 2011-11-19 Juri Linkov <juri@jurta.org>
16958
16959 * isearch.el (isearch-lazy-highlight-new-loop):
16960 Remove condition `(not isearch-error)'. (Bug#9918)
16961
16962 * misearch.el (multi-isearch-search-fun): Add condition
16963 `(not bound)' to ignore lazy-highlighting search.
16964 Add the search-failed message "end of multi" when the end of
16965 multi-sequence is reached. Uncapitalize the search-failed
16966 message "Repeat for next buffer".
16967
16968 * info.el (Info-search): Add the search-failed message
16969 "end of the manual" when the end of the manual is reached
16970 in Isearch mode.
16971
16972 2011-11-19 Juri Linkov <juri@jurta.org>
16973
16974 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16975 Use non-destructive `remove' instead of `delete' because
16976 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16977 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16978
16979 2011-11-19 Juri Linkov <juri@jurta.org>
16980
16981 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16982 to nil instead of binding `search-ring' and `regexp-search-ring'.
16983 (Bug#9185)
16984
16985 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16986
16987 * simple.el (line-move): Force movement by logical lines for any
16988 hscrolled window, not only when auto-hscroll-mode is on.
16989 (line-move-visual): Update doc string to that effect. (Bug#10076)
16990
16991 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16992
16993 * language/european.el (macintosh): Define as alias for mac-roman.
16994
16995 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16996
16997 * mail/rmailmm.el (rmail-mime-display-header)
16998 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16999 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17000 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17001 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17002 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17003 of a raw aref.
17004 (rmail-mime-entity-segment): To get past the tagline, move forward
17005 2 more lines, to account for the 2 empty lines that precede and
17006 follow the line with the buttons.
17007 (rmail-mime-update-tagline): Move one more line, to get past the
17008 empty line that follows the buttons in the tagline. (Bug#9520)
17009
17010 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17011
17012 * window.el (window-max-delta-1, window-min-delta-1)
17013 (window-min-size-1, window-state-get-1, window-state-put-1)
17014 (window-state-put-2): Use "window--" prefix.
17015
17016 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17019 (smie-warning-count): New var.
17020 (smie-set-prec2tab): Use it.
17021 (smie-bnf->prec2): Improve warnings. Add docstring.
17022 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17023 (smie-bnf--set-class): New function.
17024 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17025 corner case.
17026
17027 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17028 (compilation-error-properties, compilation-move-to-column):
17029 Handle compilation-first-column while in the target buffer.
17030
17031 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17032 Don't hardcode point-min==1.
17033
17034 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17035 (eshell-rewrite-for-command): Remove workaround.
17036 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17037 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17038 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17039
17040 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17041
17042 2011-11-17 Glenn Morris <rgm@gnu.org>
17043
17044 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17045 Ignore buffer-local generated-autoload-file if it is the same
17046 as the global value. (Bug#10049)
17047
17048 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17049
17050 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17051 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17052 (reftex-toc-previous-heading, reftex-toc-max-level)
17053 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17054 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17055 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17056 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17057 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17058 (reftex-toc-rename-label, reftex-toc-visit-location)
17059 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17060 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17061 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17062 leaving "*toc*" only for references to the buffer.
17063
17064 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17065
17066 * window.el (window-resize, delete-window, split-window):
17067 Replace window-splits by window-combination-resize.
17068 * cus-start.el (window-splits): Replace by window-combination-resize.
17069
17070 2011-11-17 Glenn Morris <rgm@gnu.org>
17071
17072 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17073 Make bash entry derive from sh entry, not shell entry.
17074
17075 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17076
17077 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17078 local file name.
17079
17080 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17081
17082 * menu-bar.el (menu-bar-file-menu):
17083 * printing.el (pr-ps-utility):
17084 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17085 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17086 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17087 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17088 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17089 (icalendar--convert-cyclic-to-ical)
17090 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17091 (icalendar--convert-ical-to-diary)
17092 (icalendar--convert-recurring-to-diary)
17093 (icalendar--convert-non-recurring-all-day-to-diary)
17094 (icalendar-import-format-sample):
17095 * progmodes/idlw-shell.el (idlwave-shell-mode):
17096 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17097 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17098 (vhdl-ps-print-init): Fix typos.
17099
17100 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17101
17102 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17103 FSF and collapse date sequence, obscure author/maintainer email address
17104 better, remove extra version line, track relocation of author's webpage.
17105
17106 * progmodes/python.el (python-pdbtrack-input-prompt)
17107 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17108 regular python pdb prompts. Adjustments shamelessly taken exactly as
17109 suggested in EmacsWiki page (tiny change):
17110 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17111
17112 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17113
17114 * expand.el (expand-pos, expand-index, expand-point):
17115 Remove redundant info from docstring.
17116 (expand-add-abbrevs): Doc fix.
17117 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17118 (expand-sample-perl-mode-expand-list): Fix typos.
17119
17120 * net/dbus.el (dbus-event-member-name):
17121 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17122 * term/pc-win.el (msdos-create-frame-with-faces):
17123 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17124
17125 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17126
17127 * window.el (split-window, window-state-get-1)
17128 (window-state-put-1, window-state-put-2): Rename occurrences of
17129 window-nest to window-combination-limit.
17130 * cus-start.el (window-nest): Rename to window-combination-limit.
17131
17132 2011-11-16 Chong Yidong <cyd@gnu.org>
17133
17134 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17135 regexp (Bug#10033).
17136
17137 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17138
17139 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17140 `completing-read' will remove *Completions* and will preserve
17141 current-buffer for us.
17142 (tmm-add-prompt): Users of *Completions* will always (re)set its
17143 major mode.
17144 (tmm-old-comp-map): Remove.
17145
17146 2011-11-16 Glenn Morris <rgm@gnu.org>
17147
17148 * mail/rmailedit.el: Require rmailmm when compiling.
17149 (rmail-old-mime-state): New declaration.
17150 (rmail-edit-current-message): If editing a mime message,
17151 edit the "raw" message from the mbox buffer.
17152 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17153
17154 2011-11-15 Glenn Morris <rgm@gnu.org>
17155
17156 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17157 which wasn't being used. Add optional arg to force given state.
17158 (rmail-mime): Add optional arg to force given state.
17159
17160 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17161
17162 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17163 * frame.el (display-mm-dimensions-alist):
17164 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17165 (outline-move-subtree-down):
17166 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17167 (newsticker--treeview-do-get-node):
17168 * net/quickurl.el (quickurl-list-buffer-name):
17169 * progmodes/dcl-mode.el (dcl-mode):
17170 * progmodes/gdb-mi.el (gdb-mapcar*):
17171 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17172
17173 2011-11-15 Glenn Morris <rgm@gnu.org>
17174
17175 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17176 in a boolean sense, so just make it a boolean, and fix the doc.
17177 (rmail-show-mime-function, rmail-mime-feature)
17178 (rmail-require-mime-maybe): Doc fixes.
17179 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17180
17181 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17182
17183 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17184
17185 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17186 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17187 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17188 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17189
17190 2011-11-15 Glenn Morris <rgm@gnu.org>
17191
17192 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17193 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17194 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17195 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17196 (rmail-mime, rmail-show-mime): Doc fixes.
17197
17198 * term/ns-win.el (mode-line-frame-identification):
17199 Leave it alone. (Bug#10051)
17200
17201 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17202
17203 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17204 Handle empty buffers. (Bug#9978)
17205
17206 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17207
17208 * international/mule.el (define-charset):
17209 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17210 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17211 * progmodes/verilog-mode.el (verilog-backward-token):
17212 * textmodes/ispell.el (lookup-words):
17213 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17214
17215 2011-11-14 Glenn Morris <rgm@gnu.org>
17216
17217 * progmodes/executable.el
17218 (executable-make-buffer-file-executable-if-script-p):
17219 Handle file-modes returning nil.
17220
17221 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17222 message - not necessary, and causes problems. (Bug#9831)
17223
17224 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17225
17226 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17227
17228 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17229 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17230 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17231
17232 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17233
17234 * window.el (window-resize, delete-window): Use window-splits
17235 variable instead of function.
17236 (window-state-get-1, window-state-put-2, window-state-put):
17237 Don't deal with windows' splits status.
17238
17239 2011-11-12 Glenn Morris <rgm@gnu.org>
17240
17241 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17242 (apropos-documentation): Doc fixes.
17243
17244 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17245
17246 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17247 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17248
17249 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17250
17251 * electric.el (electric-indent-post-self-insert-function): Make it
17252 possible for a char to only indent in some circumstances.
17253 (electric-indent-mode): Simplify.
17254
17255 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17256
17257 * window.el (windows-with-parameter): Remove unused function.
17258 (windows-at-side): Rename to window-at-side-list.
17259 (window-check, window-atom-check, window-atom-check-1)
17260 (window-side-check, window-size-ignore, window-size-fixed-1)
17261 (window-in-direction-2): Prefix with "window--".
17262 (window-tree-1): Rename to window--subtree, fix doc-string.
17263
17264 2011-11-11 Glenn Morris <rgm@gnu.org>
17265
17266 * subr.el (eval-after-load): If FILE is already loaded,
17267 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17268
17269 2011-11-10 Glenn Morris <rgm@gnu.org>
17270
17271 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17272 Call svn via vc-svn-command rather than vc-do-command.
17273 (vc-svn-command): Add --non-interactive. (Bug#9993)
17274 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17275
17276 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17277 Add toggle-read-only. (Bug#7292)
17278 * files.el (toggle-read-only): Mention that it should only
17279 be used interactively. (Bug#10006)
17280
17281 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17282
17283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17284 Adjust regexp for OCaml warnings.
17285
17286 * electric.el (electric-pair-post-self-insert-function): Let user
17287 turn it off buffer-locally (bug#9932).
17288
17289 * progmodes/python.el (python-beginning-of-statement):
17290 Rewrite (bug#2703).
17291
17292 * progmodes/compile.el: Better handle TABs (bug#9749).
17293 (compilation-internal-error-properties)
17294 (compilation-next-error-function): Obey the target buffer's
17295 compilation-error-screen-columns.
17296
17297 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17298
17299 * progmodes/meta-mode.el: Remove obsolete comments.
17300 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17301 Fix typos in docstrings.
17302
17303 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17304
17305 * window.el (window-size-fixed-p): Rewrite doc-string.
17306 (window-resizable-p): Rename to window--resizable-p. Update callers.
17307 (window--resizable): New function. Make all callers of
17308 window-resizable call window--resizable instead.
17309 (window-resizable): Rewrite in terms of window--resizable.
17310
17311 2011-11-08 Glenn Morris <rgm@gnu.org>
17312
17313 * progmodes/delphi.el (delphi-mode-syntax-table):
17314 Let define-derived-mode define a proper syntax table. (Bug#9994)
17315
17316 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17317
17318 * window.el: Stay away from defsubst.
17319 (window-list-no-nils): Remove.
17320 (window-state-get-1, window-state-get): Use backquote instead.
17321
17322 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17323
17324 * emacs-lisp/find-func.el (find-function-read):
17325 Fix incorrect use of default argument in `completing-read'.
17326
17327 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17328
17329 * window.el (display-buffer-function, special-display-function):
17330 Mention display-buffer-record-window but do not mention
17331 help-setup parameter in doc-strings.
17332 (window-min-delta): Fix doc-string typo.
17333
17334 2011-11-08 Chong Yidong <cyd@gnu.org>
17335
17336 * window.el (window-total-height, window-total-width): Doc fix.
17337 (window-body-size): Move from C.
17338 (window-body-height, window-body-width): Move to C.
17339
17340 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17341
17342 * window.el: Make special-display like display-buffer-alist (bug#9532).
17343 (display-buffer--special-action): New function, morphed
17344 from display-buffer--special.
17345 (display-buffer): Use it to handle special-display-buffers at higher
17346 priority (just after display-buffer-alist).
17347 (display-buffer-fallback-action, display-buffer--other-frame-action)
17348 (pop-to-buffer-same-window): Remove display-buffer--special.
17349
17350 2011-11-07 Glenn Morris <rgm@gnu.org>
17351
17352 * calendar/cal-menu.el (cal-menu-set-date-title):
17353 Do nothing if not in a calendar. (Bug#9976)
17354
17355 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17356
17357 * files.el (find-file): Always use selected-window.
17358
17359 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17360
17361 * window.el (window-combinations): Make WINDOW argument
17362 mandatory. Rewrite doc-string.
17363 (walk-window-subtree, window-atom-check, window-min-delta)
17364 (window-max-delta, window--resize-this-window)
17365 (window--resize-root-window-vertically, window-tree)
17366 (balance-windows, window-state-put): Rewrite doc-strings as to
17367 not mention the term "subwindow".
17368 (window--resize-subwindows-skip-p): Rename to
17369 window--resize-child-windows-skip-p.
17370 (window--resize-subwindows-normal): Rename to
17371 window--resize-child-windows-normal.
17372 (window--resize-subwindows): Rename to
17373 window--resize-child-windows.
17374 (window-or-subwindow-p): Rename to window--in-subtree-p.
17375
17376 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17377
17378 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17379 Ensure that mbox format messages end in two newlines (Bug#9974).
17380
17381 2011-11-06 Chong Yidong <cyd@gnu.org>
17382
17383 * window.el (window-combination-p): Function deleted; its
17384 side-effect is not used in any existing code.
17385 (window-combinations, window-combined-p): Call window-*-child
17386 directly.
17387
17388 2011-11-05 Chong Yidong <cyd@gnu.org>
17389
17390 * window.el (window-valid-p): Rename from window-any-p.
17391 (window-size-ignore, window-state-get): Callers changed.
17392 (window-normalize-window): Rename from window-normalize-any-window.
17393 New arg LIVE-ONLY, replacing window-normalize-live-window.
17394 (window-normalize-live-window): Delete.
17395 (window-combination-p, window-combined-p, window-combinations)
17396 (walk-window-subtree, window-atom-root, window-min-size)
17397 (window-sizable, window-sizable-p, window-size-fixed-p)
17398 (window-min-delta, window-max-delta, window-resizable)
17399 (window-resizable-p, window-full-height-p, window-full-width-p)
17400 (window-current-scroll-bars, window-point-1, set-window-point-1)
17401 (window-at-side-p, window-in-direction, window-resize)
17402 (adjust-window-trailing-edge, maximize-window, minimize-window)
17403 (window-deletable-p, delete-window, delete-other-windows)
17404 (record-window-buffer, unrecord-window-buffer)
17405 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17406 (quit-window, split-window, window-state-put)
17407 (set-window-text-height, fit-window-to-buffer)
17408 (shrink-window-if-larger-than-buffer): Callers changed.
17409
17410 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17411
17412 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17413 rfc2047-decode-string.
17414 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17415 warnings.
17416
17417 * window.el (window-body-height, window-body-width): Mention in
17418 the doc string that the return values are in frame's canonical
17419 units. (Bug#9949)
17420
17421 2011-11-03 Alan Mackenzie <acm@muc.de>
17422
17423 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17424 change in cc-engine.el.
17425
17426 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17427
17428 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17429
17430 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17431
17432 * window.el (quit-window): Call unrecord-window-buffer after
17433 showing another buffer in the window. (Bug#9937)
17434 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17435
17436 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17437
17438 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17439 Accept status with more than 9 shelves. (Bug#9935)
17440 Reported by Colin D Bennett <colin@gibibit.com>.
17441
17442 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17443
17444 * help.el (with-help-window): Don't reference
17445 temp-buffer-show-specifiers in doc-string.
17446
17447 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17448
17449 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17450 menu-item.
17451
17452 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17453
17454 * whitespace.el: New version 13.2.2.
17455 (whitespace-newline-mode): Disable properly. Reported by Sarah
17456 <EmacsWiki>.
17457
17458 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17459
17460 * net/newst-treeview.el: Remove "Time-stamp".
17461 (newsticker--group-manage-orphan-feeds): Do not call
17462 newsticker--treeview-tree-update.
17463 (newsticker-treeview-update, newsticker-treeview):
17464 Call newsticker--treeview-tree-update if necessary.
17465
17466 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17467
17468 * window.el (window-iso-combination-p, window-iso-combined-p)
17469 (window-iso-combinations): Remove "iso-" infix.
17470 Suggested by Chong Yidong.
17471 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17472 (window-max-delta-1, window-resize, window--resize-siblings)
17473 (window--resize-this-window, adjust-window-trailing-edge)
17474 (split-window, balance-windows-1)
17475 (shrink-window-if-larger-than-buffer):
17476 * calendar/calendar.el (calendar-generate-window):
17477 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17478
17479 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17480
17481 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17482 in place (bug#9907).
17483 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17484 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17485 (eshell-structure-basic-command, eshell-rewrite-while-command)
17486 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17487 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17488 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17489 (eshell-do-pipelines-synchronously, eshell-eval-command):
17490 Use backquotes and prefer setq to set.
17491 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17492 (eshell-macrop): Use functionp.
17493 (eshell-do-eval): Handle multiple expressions in `while' body.
17494
17495 2011-10-30 Chong Yidong <cyd@gnu.org>
17496
17497 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17498 instead of set-mark (Bug#9810).
17499
17500 2011-10-30 Chong Yidong <cyd@gnu.org>
17501
17502 * window.el (split-window-below, split-window-right): Rename from
17503 split-window-above-each-other and split-window-side-by-side
17504 respectively. All callers changed.
17505 (split-window-sensibly, split-window-sensibly): Use them.
17506 (split-window-keep-point): Doc fix.
17507
17508 * isearch.el: Add isearch-scroll property to split-window-below
17509 and split-window-right.
17510
17511 * follow.el (follow-mode):
17512 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17513 * progmodes/ada-xref.el (ada-gdb-application):
17514 * emulation/vip.el (vip-buffer-in-two-windows):
17515 * image-dired.el (image-dired-dired-with-window-configuration):
17516 * dired-x.el (dired-do-find-marked-files):
17517 * dired.el (dired-pop-to-buffer):
17518 * bs.el (bs--show-with-configuration):
17519 * vc/emerge.el (emerge-setup-windows):
17520 * textmodes/two-column.el (2C-two-columns):
17521 * textmodes/reftex-toc.el (reftex-toc):
17522 * progmodes/gdb-mi.el (gdb-setup-windows):
17523 * progmodes/fortran.el (fortran-window-create):
17524 * net/newst-treeview.el (newsticker--treeview-window-init):
17525 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17526 * emulation/tpu-edt.el (tpu-gold-map):
17527 * emulation/crisp.el (crisp-mode-map):
17528 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17529
17530 2011-10-29 Chong Yidong <cyd@gnu.org>
17531
17532 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17533
17534 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17535
17536 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17537 forged Ispell output (Bug#7904).
17538
17539 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17540
17541 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17542
17543 * doc-view.el: Avoid ugly errors about not finding nil.
17544 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17545 (doc-view-dvipdf-program, doc-view-unoconv-program)
17546 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17547 Avoid nil or absolute file name as default value.
17548 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17549
17550 2011-10-28 Alan Mackenzie <acm@muc.de>
17551
17552 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17553
17554 2011-10-28 Alan Mackenzie <acm@muc.de>
17555
17556 Amend the handling of c-beginning/end-of-defun in nested declaration
17557 scopes.
17558
17559 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17560 cc-langs.el. Change it to a defcustom.
17561
17562 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17563 cc-vars.el.
17564
17565 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17566 Prevent "class foo : bar" being spuriously recognized as a label.
17567
17568 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17569 Add parameter `inclusive' (to include enclosing braces in the region).
17570 (c-widen-to-enclosing-decl-scope): New function.
17571 (c-while-widening-to-decl-block): New macro.
17572 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17573 outward for defun boundaries, and correspondingly change symbol
17574 `respect-enclosure' to `go-outward'.
17575 (c-declaration-limits): Change algorithm to report only the "innermost"
17576 defun's boundaries.
17577
17578 2011-10-28 Deniz Dogan <deniz@dogan.se>
17579
17580 * net/rcirc.el (rcirc-mode): Use hard newlines.
17581
17582 2011-10-28 Alan Mackenzie <acm@muc.de>
17583
17584 Amend to indent and fontify macros "which include their own semicolon"
17585 correctly, using the "virtual semicolon" mechanism.
17586
17587 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17588
17589 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17590 Recode to scan one line at a time rather than having \n and \r
17591 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17592 (c-forward-label): Amend for virtual semicolons.
17593 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17594
17595 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17596 of the new C macros.
17597
17598 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17599 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17600 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17601 (c-opt-cpp-macro-define): Make into a full language variable.
17602 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17603 AWK Mode (including \n, \r) removed, no longer needed.
17604
17605 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17606 Invoke c-make-macro-with-semi-re.
17607
17608 * progmodes/cc-vars.el (c-macro-with-semi-re):
17609 (c-macro-names-with-semicolon): New variables.
17610 (c-make-macro-with-semi-re): New function.
17611
17612 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17613
17614 * vc/log-edit.el: Fill empty field rather than adding new one.
17615 (log-edit-add-field): New function.
17616 (log-edit-insert-changelog): Use it.
17617
17618 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17619
17620 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17621
17622 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17623
17624 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17625 (gdb--check-interpreter): New function.
17626 (gdb): Use it.
17627
17628 2011-10-27 Glenn Morris <rgm@gnu.org>
17629
17630 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17631 (least-positive-float, least-negative-float)
17632 (least-positive-normalized-float, least-negative-normalized-float)
17633 (float-epsilon, float-negative-epsilon):
17634 Remove unnecessary declarations.
17635
17636 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17637 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17638 (least-positive-float, least-negative-float)
17639 (least-positive-normalized-float, least-negative-normalized-float)
17640 (float-epsilon, float-negative-epsilon): Add doc-strings,
17641 based on those in cl.texi.
17642
17643 * files.el (set-visited-file-name): If the major-mode changed,
17644 reload the local variables. (Bug#9796)
17645
17646 2011-10-27 Chong Yidong <cyd@gnu.org>
17647
17648 * subr.el (change-major-mode-after-body-hook): New hook.
17649 (run-mode-hooks): Run it.
17650
17651 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17652 Use change-major-mode-before-body-hook.
17653
17654 * simple.el (fundamental-mode):
17655 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17656 change introducing fundamental-mode-hook.
17657
17658 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17659
17660 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17661
17662 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17663
17664 * ido.el (ido-file-name-all-completions-1): Do not require
17665 tramp.el explicitly. (Bug#7583)
17666
17667 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17668
17669 * progmodes/octave-mod.el:
17670 * progmodes/octave-inf.el: Update maintainer.
17671
17672 2011-10-26 Chong Yidong <cyd@gnu.org>
17673
17674 * subr.el (with-wrapper-hook): Rewrite doc.
17675
17676 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17677
17678 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17679 filenames "/method:foo:". (Bug#9793)
17680
17681 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17682
17683 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17684 (bug#9865).
17685
17686 2011-10-24 Glenn Morris <rgm@gnu.org>
17687
17688 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17689
17690 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17691
17692 * notifications.el: Add the requirement of a running D-Bus session
17693 bus to the Commentary.
17694
17695 2011-10-24 Juri Linkov <juri@jurta.org>
17696
17697 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17698 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17699 (Bug#9364)
17700
17701 2011-10-24 Juri Linkov <juri@jurta.org>
17702
17703 * info.el (Info-following-node-name-re): Add newline to the list
17704 of allowed characters for leading space. (Bug#9824)
17705
17706 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17707
17708 * progmodes/octave-inf.el (inferior-octave-mode-map):
17709 Fix C-c C-h binding.
17710 * progmodes/octave-mod.el (octave-help): Remove.
17711
17712 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17713
17714 Sync with Tramp 2.2.3.
17715
17716 * net/tramp-cache.el (top): Pacify byte-compiler using
17717 `init-file-user' and `site-run-file'.
17718
17719 * net/trampver.el: Update release number.
17720
17721 2011-10-23 Chong Yidong <cyd@gnu.org>
17722
17723 * files.el (toggle-read-only): Remove obsolete comment about
17724 version control.
17725
17726 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17727 for toggle-read-only. Note that this hasn't called vc-next-action
17728 since 2008-05-02, though it wasn't documented at the time.
17729
17730 * vc/ediff-init.el (ediff-toggle-read-only-function):
17731 Use toggle-read-only.
17732
17733 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17734
17735 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17736 of c-parse-state.
17737
17738 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17739 correct faulty logical expression.
17740 (c-parse-state-state, c-record-parse-state-state):
17741 (c-replay-parse-state-state): New defvar/defuns.
17742 (c-debug-parse-state): Use new functions.
17743
17744 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17745
17746 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17747 last fix. Use window-in-direction correctly.
17748
17749 2011-10-21 Chong Yidong <cyd@gnu.org>
17750
17751 * progmodes/idlwave.el (idlwave-mode):
17752 * progmodes/vera-mode.el (vera-mode): No need to set
17753 require-final-newline; that's done in prog-mode.
17754 Suggested by Stefan Monnier.
17755
17756 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17757
17758 * mouse.el (mouse-drag-window-above)
17759 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17760 (mouse-drag-mode-line-1, mouse-drag-header-line)
17761 (mouse-drag-vertical-line-rightward-window): Remove.
17762 (mouse-drag-line): New function.
17763 (mouse-drag-mode-line, mouse-drag-header-line)
17764 (mouse-drag-vertical-line): Call mouse-drag-line.
17765 * window.el (window-at-side-p, windows-at-side): New functions.
17766
17767 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17768
17769 * tar-mode.el (tar-grind-file-mode):
17770 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17771
17772 2011-10-21 Chong Yidong <cyd@gnu.org>
17773
17774 * progmodes/idlwave.el (idlwave-mode):
17775 * progmodes/vera-mode.el (vera-mode):
17776 Use mode-require-final-newline.
17777
17778 2011-10-20 Glenn Morris <rgm@gnu.org>
17779
17780 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17781
17782 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17783
17784 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17785
17786 2011-10-20 Chong Yidong <cyd@gnu.org>
17787
17788 * emulation/cua-base.el (cua-mode):
17789 * mail/footnote.el (footnote-mode):
17790 * mail/mailabbrev.el (mail-abbrevs-mode):
17791 * net/xesam.el (xesam-minor-mode):
17792 * progmodes/bug-reference.el (bug-reference-mode):
17793 * progmodes/cap-words.el (capitalized-words-mode):
17794 * progmodes/compile.el (compilation-minor-mode)
17795 (compilation-shell-minor-mode):
17796 * progmodes/gud.el (gud-tooltip-mode):
17797 * progmodes/hideif.el (hide-ifdef-mode):
17798 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17799 * progmodes/subword.el (subword-mode):
17800 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17801 * progmodes/which-func.el (which-function-mode):
17802 * term/tvi970.el (tvi970-set-keypad-mode):
17803 * term/vt100.el (vt100-wide-mode):
17804 * textmodes/flyspell.el (flyspell-mode):
17805 * textmodes/ispell.el (ispell-minor-mode):
17806 * textmodes/nroff-mode.el (nroff-electric-mode):
17807 * textmodes/paragraphs.el (use-hard-newlines):
17808 * textmodes/refill.el (refill-mode):
17809 * textmodes/reftex.el (reftex-mode):
17810 * textmodes/rst.el (rst-minor-mode):
17811 * textmodes/sgml-mode.el (html-autoview-mode)
17812 (sgml-electric-tag-pair-mode):
17813 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17814 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17815 * emulation/crisp.el (crisp-mode):
17816 * emacs-lisp/eldoc.el (eldoc-mode):
17817 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17818 minor mode behavior.
17819
17820 2011-10-19 Juri Linkov <juri@jurta.org>
17821
17822 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17823 the list of hard-coded chars with escape-glyph face.
17824
17825 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17826
17827 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17828
17829 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17830
17831 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17832 running process.
17833
17834 2011-10-19 Glenn Morris <rgm@gnu.org>
17835
17836 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17837 Ignore ignored files. (Bug#9726)
17838
17839 2011-10-19 Chong Yidong <cyd@gnu.org>
17840
17841 Doc fix for minor modes, stating that an omitted argument enables
17842 the mode unconditionally when called from Lisp.
17843
17844 * abbrev.el (abbrev-mode):
17845 * allout.el (allout-mode):
17846 * autoinsert.el (auto-insert-mode):
17847 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17848 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17849 (global-auto-revert-mode):
17850 * battery.el (display-battery-mode):
17851 * composite.el (global-auto-composition-mode)
17852 (auto-composition-mode):
17853 * delsel.el (delete-selection-mode):
17854 * desktop.el (desktop-save-mode):
17855 * dired-x.el (dired-omit-mode):
17856 * dirtrack.el (dirtrack-mode):
17857 * doc-view.el (doc-view-minor-mode):
17858 * double.el (double-mode):
17859 * electric.el (electric-indent-mode, electric-pair-mode):
17860 * emacs-lock.el (emacs-lock-mode):
17861 * epa-hook.el (auto-encryption-mode):
17862 * follow.el (follow-mode):
17863 * font-core.el (font-lock-mode):
17864 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17865 * help.el (temp-buffer-resize-mode):
17866 * hilit-chg.el (highlight-changes-mode)
17867 (highlight-changes-visible-mode):
17868 * hi-lock.el (hi-lock-mode):
17869 * hl-line.el (hl-line-mode, global-hl-line-mode):
17870 * icomplete.el (icomplete-mode):
17871 * ido.el (ido-everywhere):
17872 * image-file.el (auto-image-file-mode):
17873 * image-mode.el (image-minor-mode):
17874 * iswitchb.el (iswitchb-mode):
17875 * jka-cmpr-hook.el (auto-compression-mode):
17876 * linum.el (linum-mode):
17877 * longlines.el (longlines-mode):
17878 * master.el (master-mode):
17879 * mb-depth.el (minibuffer-depth-indicate-mode):
17880 * menu-bar.el (menu-bar-mode):
17881 * minibuf-eldef.el (minibuffer-electric-default-mode):
17882 * mouse-sel.el (mouse-sel-mode):
17883 * msb.el (msb-mode):
17884 * mwheel.el (mouse-wheel-mode):
17885 * outline.el (outline-minor-mode):
17886 * paren.el (show-paren-mode):
17887 * recentf.el (recentf-mode):
17888 * reveal.el (reveal-mode, global-reveal-mode):
17889 * rfn-eshadow.el (file-name-shadow-mode):
17890 * ruler-mode.el (ruler-mode):
17891 * savehist.el (savehist-mode):
17892 * scroll-all.el (scroll-all-mode):
17893 * scroll-bar.el (scroll-bar-mode):
17894 * server.el (server-mode):
17895 * shell.el (shell-dirtrack-mode):
17896 * simple.el (auto-fill-mode, transient-mark-mode)
17897 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17898 (line-number-mode, column-number-mode, size-indication-mode)
17899 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17900 * strokes.el (strokes-mode):
17901 * time.el (display-time-mode):
17902 * t-mouse.el (gpm-mouse-mode):
17903 * tool-bar.el (tool-bar-mode):
17904 * tooltip.el (tooltip-mode):
17905 * type-break.el (type-break-mode-line-message-mode)
17906 (type-break-query-mode):
17907 * view.el (view-mode):
17908 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17909 (global-whitespace-mode, global-whitespace-newline-mode):
17910 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17911
17912 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17913 Fix autogenerated docstring.
17914
17915 2011-10-19 Juri Linkov <juri@jurta.org>
17916
17917 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17918 by checking environment variables "DESKTOP_SESSION" and
17919 "XDG_CURRENT_DESKTOP". (Bug#9779)
17920
17921 2011-10-19 Juri Linkov <juri@jurta.org>
17922
17923 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17924 (browse-url-chromium-program, browse-url-chromium-arguments):
17925 New defcustoms.
17926 (browse-url-default-browser): Check for `browse-url-chromium' and
17927 call `browse-url-chromium-program'.
17928 (browse-url-chromium): New command. (Bug#9779)
17929
17930 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * facemenu.el (list-colors-duplicates): On Windows, detect more
17933 duplicates by assuming that only colors matching "^System" are
17934 special "system colors". (Bug#9722)
17935
17936 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17937
17938 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17939 to distinguish the author from the committer.
17940
17941 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17942
17943 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17944
17945 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17946
17947 * international/mule.el (sgml-html-meta-auto-coding-function):
17948 Add support for detecting encoding in HTML5 specified only as
17949 <meta charset="UTF-8">. Implementation just makes http-equiv and
17950 content-type parts from HTML4 encoding string optional. (Bug#9716)
17951
17952 2011-10-18 Glenn Morris <rgm@gnu.org>
17953
17954 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17955
17956 2011-10-18 Chong Yidong <cyd@gnu.org>
17957
17958 * faces.el (cursor): Doc fix.
17959
17960 2011-10-17 Chong Yidong <cyd@gnu.org>
17961
17962 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17963
17964 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17965
17966 * dirtrack.el (dirtrack): Support shell buffers with path
17967 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17968
17969 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17970
17971 * json.el: Bump version to 1.3 and note change in History.
17972 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17973
17974 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17975
17976 * comint.el (comint-insert-input, comint-send-input)
17977 (comint-get-old-input-default, comint-backward-matching-input)
17978 (comint-next-prompt): Use nil instead of `input' for field property of
17979 past user input (bug#114).
17980
17981 * minibuffer.el (completion--replace): Inherit surrounding properties
17982 (bug#114).
17983 (minibuffer-complete-and-exit): Use it.
17984
17985 * comint.el (comint--table-subvert): Quote the all-completions output
17986 (bug#9160).
17987
17988 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17989
17990 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17991
17992 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17993 window on right of selected. (Bug#9350) Reword other window
17994 entries and separate them from frame entries.
17995
17996 2011-10-15 Glenn Morris <rgm@gnu.org>
17997
17998 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17999 Doc fixes.
18000
18001 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18002
18003 * net/network-stream.el (network-stream-open-starttls):
18004 Improve detection of failure due to lack of TLS support.
18005
18006 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18007 putting the input text in front and in bold.
18008
18009 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18010
18011 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18012
18013 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18014 empty buffer.
18015
18016 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18017 unread-command-events rather than pushing yet-another event.
18018
18019 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18020
18021 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18022 the explanation of the possible choices. Make the options passed
18023 to completing-read shorter.
18024
18025 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18026
18027 * textmodes/flyspell.el (flyspell-large-region): Make sure
18028 extended character mode is used if defined (Bug#1339).
18029
18030 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18031
18032 * simple.el (what-cursor-position): Fix the display of the
18033 character info for LRE, LRO, RLE, and RLO characters by appending
18034 an invisible PDF.
18035
18036 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18039 even in case of error; add debug spec; simplify data flow.
18040 (with-timeout-handler): Remove.
18041
18042 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18043
18044 Fix Bug#6019, Bug#9315.
18045
18046 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18047 complete `buffer-file-name', the local file name part could look
18048 remotely (for example on VMS).
18049
18050 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18051 `tramp-run-real-handler'.
18052 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18053 already quoted by '"'.
18054
18055 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18056 Let `file-name-handler-alist' be nil, the local file name part
18057 could look remotely (for example on VMS).
18058
18059 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18060
18061 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18062 from here...
18063 (flyspell-post-command-hook): ...to here.
18064
18065 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18066
18067 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18068 if not needed.
18069 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18070 using completion. Protect against "slow" callers.
18071 Remove the "message hack".
18072
18073 2011-10-11 Juri Linkov <juri@jurta.org>
18074
18075 * isearch.el (isearch-lazy-highlight-word): New variable.
18076 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18077 Use it. (Bug#9727)
18078
18079 2011-10-11 Glenn Morris <rgm@gnu.org>
18080
18081 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18082 like f90-previous-statement does.
18083
18084 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18085
18086 * eshell/eshell.el (eshell-command): History should be saved
18087 only in interactive use, to avoid error.
18088
18089 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18090
18091 * minibuffer.el (completion-file-name-table): Fix last change,
18092 i.e. ignore normal errors but not the other ones.
18093
18094 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18095
18096 * window.el (special-display-buffer-names)
18097 (special-display-regexps): Remove some remnants of earlier
18098 changes from doc-strings.
18099 (quit-windows-on): New function.
18100
18101 * vc/vc.el (vc-revert, vc-rollback):
18102 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18103 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18104 (Bug#6183) (Bug#7074) (Bug#7447)
18105
18106 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18107
18108 * window.el (frame-auto-hide-function): Add version tag.
18109 (Bug#9699)
18110
18111 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18112
18113 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18114 condition.
18115
18116 2011-10-09 Leo Liu <sdl.web@gmail.com>
18117
18118 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18119 (Bug#9701)
18120
18121 2011-10-08 Glenn Morris <rgm@gnu.org>
18122
18123 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18124 before the first code statement zero indent. (Bug#9690)
18125
18126 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18127
18128 * simple.el (count-words-region): Always count in the region.
18129 Report the number of lines and characters too.
18130 (count-words): New command, which counts in the buffer if the
18131 region is inactive, as count-words-region used to.
18132 (count-words--message): New function. Handle plurals.
18133 (count-lines-region): Make it an alias for count-words-region.
18134
18135 * bindings.el (esc-map): Replace count-lines-region with
18136 count-words-region.
18137
18138 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18139
18140 * window.el (window--delete): Delete dedicated frame
18141 unconditionally when argument KILL is non-nil. (Bug#9699)
18142 (switch-to-buffer): Fix doc-string typo.
18143
18144 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18145
18146 * eshell/eshell.el (eshell-command): Avoid using hooks.
18147
18148 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18149
18150 * bindings.el ([M-left],[M-right]): Bind to left-word and
18151 right-word respectively.
18152
18153 2011-10-07 Glenn Morris <rgm@gnu.org>
18154
18155 * cus-start.el (debug-on-quit): Fix custom type.
18156
18157 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18158
18159 * subr.el (define-key-after): Clarify that the function is not
18160 useful for non-menu keymaps.
18161
18162 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18163
18164 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18165
18166 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18167 in current minibuffer (Fix bug with recursive minibuffers).
18168
18169 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18170
18171 * progmodes/gdb-mi.el (gdb): Doc fix.
18172
18173 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18174
18175 * window.el (frame-auto-hide-function): New option replacing
18176 frame-auto-delete. Suggested by Stefan Monnier.
18177 (window--delete): Call frame-auto-hide-function instead of
18178 investigating frame-auto-delete.
18179 (window-point-1, set-window-point-1): New functions.
18180 (window-in-direction, record-window-buffer, window-state-get-1)
18181 (display-buffer-record-window): Use window-point-1 instead of
18182 window-point.
18183 (set-window-buffer-start-and-point): Use set-window-point-1.
18184
18185 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18186
18187 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18188
18189 2011-10-05 Glenn Morris <rgm@gnu.org>
18190
18191 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18192 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18193
18194 2011-10-05 Leo Liu <sdl.web@gmail.com>
18195
18196 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18197 works with buffer object.
18198
18199 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18200
18201 * mpc.el (mpc-tool-bar-map): Add labels.
18202
18203 2011-10-04 Glenn Morris <rgm@gnu.org>
18204
18205 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18206
18207 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18208
18209 * window.el (window--delete): New function.
18210 (frame-auto-delete): Resuscitate option.
18211 (bury-buffer, replace-buffer-in-windows)
18212 (quit-window): Rewrite using window--delete.
18213 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18214 Pass display-buffer-mark-dedicated to window--display-buffer-2
18215 (Bug#9639).
18216
18217 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18220 returns a list (bug#9554). Add remote file name completion.
18221 * comint.el (comint--table-subvert): Curry and get quote&unquote
18222 functions as arguments.
18223 (comint--complete-file-name-data): Adjust call accordingly.
18224 * pcomplete.el (pcomplete--table-subvert): Remove.
18225 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18226
18227 * minibuffer.el (completion-table-case-fold): Use currying.
18228 (completion--styles-type, completion--cycling-threshold-type):
18229 New constants.
18230 (completion-styles, completion-category-overrides)
18231 (completion-cycle-threshold): Use them.
18232 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18233 completion-table-case-fold.
18234
18235 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18236
18237 * minibuffer.el (completion-category-overrides): Fix type of styles
18238 and add more user friendly tags (bug#9660).
18239
18240 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18241
18242 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18243 (mule-input-method-string): New widget.
18244 (default-input-method, language-info-custom-alist): Use it.
18245
18246 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18247
18248 * pcomplete.el: Require comint.
18249 (pcomplete--common-suffix): Remove.
18250 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18251 (pcomplete--table-subvert): Sync with comint--table-subvert.
18252 (pcomplete--entries): Use comint-completion-file-name-table.
18253 * comint.el (comint-unquote-filename): Simplify.
18254 (comint-completion-file-name-table): New function (bug#9616).
18255 (comint--complete-file-name-data): Use it.
18256
18257 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18258 (pcmpl-gnu-tar-buffer): Remove.
18259 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18260 around. Make sure pcomplete-suffix-list is only changed temporarily.
18261 Don't look inside the tar's file if it's too large.
18262
18263 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18264
18265 * cus-edit.el (custom-mode-map):
18266 * epa.el (epa-key-list-mode-map):
18267 * man.el (Man-mode-map):
18268 * startup.el (splash-screen-keymap):
18269 * simple.el (special-mode-map): Use scroll-up-command and
18270 scroll-down-command.
18271
18272 * progmodes/idlw-help.el (idlwave-help-mode-map):
18273 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18274 * net/newst-plainview.el (newsticker-mode-map):
18275 * emulation/ws-mode.el (wordstar-mode-map):
18276 * emulation/vi.el (vi-com-map):
18277 * calc/calc-graph.el (calc-graph-show-dumb):
18278 * term/sun.el (terminal-init-sun):
18279 * term/ns-win.el (global-map):
18280 * progmodes/grep.el (grep-mode-map):
18281 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18282 * mail/rmail.el (rmail-mode-map):
18283 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18284
18285 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18286 custom-safe-themes as special.
18287
18288 2011-10-01 Julien Danjou <julien@danjou.info>
18289
18290 * notifications.el (notifications-notify): Fix docstring.
18291
18292 2011-10-01 Per Starbäck <per@starback.se>
18293
18294 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18295
18296 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18297
18298 * startup.el (command-line-1): Fix last fix by inserting
18299 initial-scratch-message into *scratch* before displaying it.
18300 (Bug#9605) and (Bug#9636)
18301
18302 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18303
18304 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18305 window is hscrolled, move by logical lines. (Bug#9607)
18306 (line-move-visual): Update the doc string to the above effect.
18307
18308 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18309
18310 * window.el (display-buffer-record-window): When WINDOW is the
18311 selected window use `point' instead of `window-point'. (Bug#9626)
18312
18313 * startup.el (command-line-1): Use insert-before-markers when
18314 inserting initial-scratch-message. (Bug#9605)
18315
18316 * help.el (help-window): Remove variable.
18317
18318 2011-09-29 Glenn Morris <rgm@gnu.org>
18319
18320 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18321
18322 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18323
18324 * descr-text.el (describe-char-categories): Accept category
18325 descriptions more than one line long.
18326
18327 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18328
18329 * simple.el (delete-trailing-whitespace): Fix last change.
18330
18331 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18332 Don't confuse "y => 3" as the beginning of a `y' operation.
18333
18334 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18335 object has more than 4 slots (bug#9613).
18336
18337 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18338
18339 * subr.el (with-output-to-temp-buffer):
18340 * net/quickurl.el (quickurl, quickurl-browse-url):
18341 Fix typos in docstrings.
18342
18343 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18344
18345 * minibuffer.el (completion-styles)
18346 (completion-category-overrides): Cross reference each other in doc
18347 strings.
18348
18349 2011-09-27 Glenn Morris <rgm@gnu.org>
18350
18351 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18352 to split-string. (Bug#9606)
18353
18354 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18355
18356 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18357 (bug#9615).
18358
18359 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18360
18361 * emacs-lisp/package.el (list-packages): Fix echo area message.
18362
18363 2011-09-27 Leo Liu <sdl.web@gmail.com>
18364
18365 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18366
18367 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18368
18369 * net/dbus.el (dbus-unregister-object): Don't release services for
18370 registered signals. (Bug#9581)
18371
18372 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18373
18374 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18375 function that picks between cfengine 2 and 3 support
18376 automatically. Update docs accordingly.
18377
18378 2011-09-22 Kenichi Handa <handa@m17n.org>
18379
18380 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18381 ZERO.
18382 (indian-itrans-v5-table-for-tamil): New variable.
18383 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18384
18385 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18386
18387 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18388 that's true if the current command involved collapsing of text.
18389 It's reset to false at the beginning of the next command.
18390 (allout-post-command-business): Move the cursor to the beginning
18391 of entry if the cursor is hidden and collapsing activity just
18392 happened.
18393
18394 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18395
18396 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18397 tracking (Bug#9541).
18398
18399 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18400
18401 * net/newst-reader.el (newsticker-html-renderer)
18402 (newsticker-show-news): Automatically load html rendering package
18403 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18404 because w3m-fill-column is let-bound" and the error "Symbol's value
18405 as variable is void: w3m-fill-column".
18406
18407 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18408
18409 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18410 Release services only if they are defined. (Bug#9581)
18411
18412 2011-09-23 Richard Stallman <rms@gnu.org>
18413
18414 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18415 distinguish start of paragraph from start of its text.
18416
18417 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18418
18419 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18420 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18421 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18422
18423 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18424
18425 * international/mule-diag.el (mule-diag): Insert a newline after
18426 each fontset description.
18427
18428 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * simple.el (delete-trailing-whitespace):
18431 Document last change; simplify.
18432
18433 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18434
18435 * simple.el (delete-trailing-whitespace): Also delete
18436 extra newlines at the end of the buffer.
18437
18438 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18439 (picture-newline): Use forward-line so as to ignore fields.
18440
18441 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18442
18443 * subr.el (with-wrapper-hook): Fix edebug spec.
18444
18445 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18446
18447 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18448 (bug#4538).
18449
18450 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18451
18452 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18453 Fix nasty bug using wrong cached values.
18454
18455 2011-09-23 Alan Mackenzie <acm@muc.de>
18456
18457 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18458
18459 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18460
18461 * window.el (pop-to-buffer): Ensure right window is selected if we
18462 chose another frame.
18463
18464 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18465
18466 * simple.el (what-cursor-position): Use get-char-property-change
18467 and next-single-char-property-change, to be able to show display
18468 properties that come from overlays as well as text properties.
18469
18470 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18471
18472 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18473
18474 * cmuscheme.el (run-scheme, switch-to-scheme):
18475 * cus-edit.el (customize-group, custom-buffer-create)
18476 (customize-browse):
18477 * info.el (info):
18478 * shell.el (shell):
18479 * mail/sendmail.el (mail):
18480 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18481
18482 2011-09-22 Richard Stallman <rms@gnu.org>
18483
18484 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18485 move back only to line beg, don't move back over blank lines.
18486
18487 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18488
18489 * files.el (copy-directory): Set directory attributes only in case
18490 they could be retrieved from the source directory. (Bug#9565)
18491
18492 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18493
18494 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18495 (hs-find-block-beginning, hs-hide-level-recursive):
18496 Ignore strings as well as comments. (Bug#9502)
18497
18498 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18499
18500 * progmodes/sql.el (sql-comint-postgres):
18501 Convert port number to a string. (Bug#9566)
18502
18503 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18504
18505 * window.el (quit-window): Undedicate window when switching to
18506 previous buffer. Reported by Thierry Volpiatto
18507 <thierry.volpiatto@gmail.com>.
18508 (special-display-popup-frame): When popping up a new frame reset
18509 its previous buffers to nil. Simplify code.
18510
18511 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18512
18513 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18514 and process filter, as done also in `shell-command'.
18515
18516 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18517
18518 * window.el (set-window-buffer-start-and-point):
18519 Call set-window-start with NOFORCE argument t.
18520 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18521 (quit-window): Reword doc-string. Handle new format of
18522 quit-restore parameter. Don't delete window if it has a
18523 previous buffer we can show instead of the present one.
18524 (display-buffer-record-window): Rewrite using a new format for
18525 the quit-restore window parameter
18526 (special-display-popup-frame, display-buffer-same-window)
18527 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18528 (display-buffer-pop-up-window, display-buffer-use-some-window):
18529 Adapt symbol passed to display-buffer-record-window.
18530 * help.el (help-window-setup): Handle new format of quit-restore
18531 parameter.
18532
18533 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18534
18535 * faces.el (face-list): Fix docstring (bug#9564).
18536
18537 * window.el (display-buffer--action-function-custom-type):
18538 Don't include internal functions in the Custom interface.
18539
18540 2011-09-20 Juri Linkov <juri@jurta.org>
18541
18542 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18543 (Info-forward-node, Info-backward-node, Info-next-preorder)
18544 (Info-last-preorder): Use it. (Bug#9528)
18545
18546 2011-09-20 Juri Linkov <juri@jurta.org>
18547
18548 * info.el (Info-last-preorder): Visit last menu item only when
18549 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18550
18551 2011-09-20 Julien Danjou <julien@danjou.info>
18552
18553 * password-cache.el (password-cache-remove): Remove entries even if the
18554 value is nil, so that password with a nil value (negative caching) is
18555 possible to invalidate.
18556
18557 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18558
18559 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18560 all whitespace around breakpoint. (Bug#9553)
18561 (f90-find-breakpoint): Only break at whitespace inside a comment.
18562
18563 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18564
18565 * minibuffer.el (completion-file-name-table): Keep track of errors.
18566 (completion-table-with-predicate): Handle the case where pred1 is nil.
18567 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18568
18569 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18570
18571 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18572 (debugger-return-value): Signal an error if the debugging context does
18573 not await any return value.
18574
18575 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18576 * image-mode.el (image-toggle-display-text)
18577 (image-toggle-display-image): Stay away from evil `intangible'.
18578
18579 2011-09-19 Leo Liu <sdl.web@gmail.com>
18580
18581 * replace.el (occur-revert-arguments): Make it permanent-local.
18582 (occur-mode): Don't call font-lock-defontify.
18583
18584 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18585
18586 * net/ldap.el (ldap-search-internal): Don't push empty search
18587 result (Bug#9508).
18588
18589 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18590
18591 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18592
18593 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18594
18595 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18596 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18597
18598 2011-09-18 Juri Linkov <juri@jurta.org>
18599
18600 * buff-menu.el (Buffer-menu-mode-map):
18601 * dired.el (dired-mode-map):
18602 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18603 (lisp-interaction-mode-map):
18604 * emacs-lisp/package.el (package-menu-mode-map):
18605 * epa.el (epa-key-list-mode-map):
18606 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18607 (menu-bar-options-menu):
18608 * outline.el (outline-mode-menu-bar-map):
18609 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18610 * vc/vc-dir.el (vc-dir-menu-map):
18611 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18612 Capitalize non-function content words in menu item strings.
18613
18614 * dired.el (dired-mode-map): Add menu item for
18615 `image-dired-dired-toggle-marked-thumbs'.
18616
18617 2011-09-18 Juri Linkov <juri@jurta.org>
18618
18619 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18620 to `isearch-case-fold-search' and restore its original value
18621 after the `isearch-mode' call.
18622
18623 2011-09-18 Juri Linkov <juri@jurta.org>
18624
18625 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18626 because `zgrep' returns 1 for successful matches (bug#9226).
18627
18628 2011-09-18 Juri Linkov <juri@jurta.org>
18629
18630 * info.el (Info-extract-menu-node-name): Check the second match
18631 for empty string (second test-case of bug#9528).
18632 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18633 intermediate nodes to the history (first test-case of bug#9528).
18634
18635 2011-09-18 Juri Linkov <juri@jurta.org>
18636
18637 * info.el (Info-mode-syntax-table): New variable.
18638 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18639
18640 2011-09-18 Juri Linkov <juri@jurta.org>
18641
18642 * info.el (Info-file-supports-index-cookies):
18643 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18644 outputs one more line for long file names (bug#4142).
18645
18646 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18647
18648 * newcomment.el (comment-normalize-vars): If prompting for
18649 comment-start, set comment-start-skip too (Bug#8424).
18650
18651 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18652
18653 * icomplete.el: Fix previous fix of Bug#5849.
18654 (icomplete-mode): Don't set completion-show-inline-help.
18655 (icomplete-minibuffer-setup): Set completion-show-inline-help
18656 locally during icompletion.
18657
18658 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18659
18660 * woman.el (woman2-process-escapes): Don't delete unrecognized
18661 escapes (Bug#7843).
18662
18663 * files.el (inhibit-first-line-modes-regexps): Add image files.
18664 (hack-local-variables-prop-line): Return nil for malformed
18665 prop-lines (Bug#9044).
18666
18667 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18668
18669 * net/tramp.el (top): Don't require 'shell.
18670 (tramp-methods): Fix docstring.
18671 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18672 Return complete remote file name. Handle "smb" case.
18673 Use `tramp-tmpdir', if defined for the respective method.
18674 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18675
18676 * net/tramp-compat.el (top): Require 'shell.
18677
18678 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18679 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18680 `tramp-current-host'.
18681 (tramp-get-remote-tmpdir): Remove.
18682
18683 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18684 `tramp-tmpdir' entries.
18685 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18686 (tramp-smb-handle-file-attributes): Ignore errors.
18687 (tramp-smb-wait-for-output): Check also for process end.
18688
18689 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18690
18691 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18692 when sending QUIT (bug#9312).
18693
18694 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18695
18696 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18697 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18698 occur-mode-display-occurrence.
18699 (occur-edit-mode): Add usage message.
18700 (occur-cease-edit): New command.
18701 (occur-after-change-function): Use text properties to find the
18702 position of the prefix text.
18703 (occur-engine): Set stickiness of prefix text properties.
18704
18705 2011-09-17 Glenn Morris <rgm@gnu.org>
18706
18707 * progmodes/etags.el (complete-tag):
18708 Fix call to completion-in-region. (Bug#9526)
18709
18710 2011-09-17 Juri Linkov <juri@jurta.org>
18711
18712 * textmodes/ispell.el (ispell-word): Add to the error message
18713 the word, ispell program name and current dictionary (bug#9121).
18714 (ispell-tex-arg-end): Capitalize "error" in the error message.
18715
18716 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18717
18718 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18719 check. (Bug#4251)
18720
18721 2011-09-17 Juri Linkov <juri@jurta.org>
18722
18723 * window.el (window-safe-min-height, window-safe-min-width):
18724 Fix typos (followup to bug#9522).
18725
18726 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18727
18728 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18729
18730 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18731
18732 * simple.el (line-move): If goal-column is set, move by logical
18733 lines, not by display lines. (Bug#971)
18734 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18735 to reflect the above change.
18736
18737 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18738
18739 * image.el (imagemagick-register-types): Use regexp-opt.
18740
18741 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18742
18743 * window.el (display-buffer-base-action): Rename from
18744 display-buffer-default-action. Make default value empty.
18745 (display-buffer-overriding-action): Convert to defvar.
18746 (display-buffer-fallback-action): New var.
18747
18748 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18749
18750 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18751 declaration.
18752 (package--add-to-archive-contents): If there is a duplicate entry
18753 with an older version, remove it.
18754 (package-menu-mark-delete, package-menu-mark-install)
18755 (package-menu-mark-unmark): Make unused args optional.
18756 (package-menu-mark-obsolete-for-deletion):
18757 Use package-menu-get-status instead of a regexp search.
18758 (package-menu-get-status): Use tabulated-list-entry.
18759 (package-menu-mark-upgrades): New command.
18760 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18761 (package-menu-execute): Do installation before deletion.
18762 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18763 instead of checking major-mode.
18764 (package-menu--find-upgrades): New function.
18765
18766 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18767
18768 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18769 passwords in the log buffer.
18770 (smtpmail-process-filter): Update the process marker so that the
18771 "broken by peer" status message is inserted in the right place.
18772
18773 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18774
18775 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18776 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18777 bibtex-completion-at-point-function.
18778 (bibtex-completion-at-point-function): Use them.
18779
18780 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18781
18782 * mpc.el (mpc-constraints-tag-lookup): New function.
18783 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18784 also to browser "album|playlist".
18785
18786 2011-09-14 Juri Linkov <juri@jurta.org>
18787
18788 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18789 (isearch-edit-string): Use length of `isearch-string' when
18790 `isearch-fail-pos' returns nil.
18791 (isearch-message): Remove duplicate code and call
18792 `isearch-fail-pos' with arg `t'.
18793
18794 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18795
18796 * replace.el (occur-mode-goto-occurrence): Don't force using other
18797 window (Bug#9499).
18798
18799 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18800
18801 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18802
18803 * window.el (display-buffer-window): Remove.
18804 (display-buffer-record-window): Use help-setup window parameter
18805 instead of variable display-buffer-window.
18806 (display-buffer-function, special-display-buffer-names)
18807 (special-display-function): Mention help-setup parameter instead
18808 of display-buffer-window in doc-string.
18809 * help.el (help-window-setup): New argument help-window.
18810 Use help-window-setup parameter instead of display-buffer-window.
18811 Reword some messages.
18812 (with-help-window): Pass window used for displaying the buffer
18813 to help-window-setup. Don't set display-buffer-window.
18814
18815 2011-09-13 Glenn Morris <rgm@gnu.org>
18816
18817 * emacs-lisp/debug.el (debugger-make-xrefs):
18818 Preserve point. (Bug#9462)
18819
18820 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18821
18822 * window.el (window-deletable-p): Use next-frame.
18823
18824 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18825
18826 * window.el (window-auto-delete): Remove.
18827 (window-deletable-p): Remove argument FORCE. Don't deal with
18828 dedication and previous buffers.
18829 (switch-to-prev-buffer): Don't delete window.
18830 (delete-windows-on): Delete a window's frame if and only if the
18831 window is dedicated.
18832 (replace-buffer-in-windows): Delete buffer's window or frame if
18833 and only if window is dedicated.
18834 (quit-window): Handle quit-restore as before last change.
18835 (bury-buffer): Delete window only if window-deletable-p returns t.
18836
18837 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18838
18839 * window.el (window-deletable-p): Never delete the last frame on a
18840 given terminal.
18841
18842 2011-09-13 Glenn Morris <rgm@gnu.org>
18843
18844 * help.el (describe-key-briefly): Copy previous standard-output change.
18845
18846 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18847
18848 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18849
18850 2011-09-13 Glenn Morris <rgm@gnu.org>
18851
18852 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18853 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18854
18855 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18856
18857 * dired-aux.el (dired-mark-read-string): Don't return default
18858 value on empty input (Bug#9361).
18859 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18860 Omit initial minibuffer contents.
18861 (dired-do-chmod): Signal an error on empty input.
18862 (dired-mark-read-string): Don't return default on empty input.
18863
18864 * files.el (file-modes-symbolic-to-number): Doc fix.
18865
18866 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18867
18868 * international/mule-cmds.el (ucs-completions): Remove.
18869 (read-char-by-name): Use complete-with-action instead; add metadata.
18870
18871 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18872
18873 * window.el (display-buffer--action-function-custom-type)
18874 (display-buffer--action-custom-type): New vars.
18875 (display-buffer-alist, display-buffer-default-action)
18876 (display-buffer-overriding-action): Add defcustom types.
18877
18878 * frame.el (delete-other-frames): Doc fix (Bug#276).
18879
18880 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881
18882 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18883
18884 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18885
18886 Change modes that used same-window-* vars to use switch-to-buffer.
18887
18888 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18889 Use switch-to-buffer.
18890
18891 * cus-edit.el (customize-group, custom-buffer-create)
18892 (customize-browse, custom-buffer-create-other-window):
18893 Use switch-to-buffer or switch-to-buffer-other-window.
18894
18895 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18896 (Info-prev, Info-up, Info-speedbar-goto-node)
18897 (info-display-manual): Use switch-to-buffer.
18898 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18899
18900 * mail/sendmail.el (mail): Use switch-to-buffer.
18901 (mail-recover): Use switch-to-buffer-other-window.
18902
18903 * cmuscheme.el (run-scheme, switch-to-scheme):
18904 * ielm.el (ielm):
18905 * shell.el (shell):
18906 * net/rlogin.el (rlogin):
18907 * net/telnet.el (telnet, rsh):
18908 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18909
18910 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18911
18912 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18913
18914 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18915
18916 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18917 so don't mention it (bug#9301).
18918 (dired-sort-toggle-or-edit): Clarify string further.
18919
18920 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18921 match `x', `w32' and `ns', like the manual says (bug#9029).
18922
18923 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18924 (process-kill-buffer-query-function): Mention the buffer name in
18925 the query.
18926
18927 * image-mode.el (image-next-line): The line parameter is mandatory
18928 (bug#9258).
18929
18930 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18931 which can be useful (bug#9301).
18932
18933 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18934
18935 * subr.el (match-string): Mention that the current buffer should
18936 be the same as the search was done in (bug#9282).
18937
18938 * facemenu.el: Disable the remove-* commands if the mark isn't
18939 active (bug#9162).
18940
18941 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18944 of display-buffer.
18945 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18946
18947 * replace.el (occur-mode-goto-occurrence)
18948 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18949 and display-buffer.
18950
18951 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18952 display-buffer.
18953
18954 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18955 special-display and same-window variables.
18956 (mail-other-window): Use switch-to-buffer-other-window.
18957 (mail-other-frame): USe switch-to-buffer-other-frame.
18958
18959 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18960 Use display-buffer-other-frame.
18961 (gdb-display-gdb-buffer): Use pop-to-buffer.
18962
18963 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18964
18965 * progmodes/python.el: Don't set same-window-buffer-names.
18966
18967 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18968
18969 * window.el (display-buffer-alist): Add *Python*.
18970
18971 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18972
18973 * window.el (display-buffer-alist): Add entry for buffers
18974 previously handled same-window-*.
18975 (display-buffer-alist, display-buffer-default-action)
18976 (display-buffer-overriding-action): Mark as risky.
18977 (display-buffer-alist): Document action function changes.
18978 (display-buffer--same-window-action)
18979 (display-buffer--other-frame-action): New variables.
18980 (switch-to-buffer, display-buffer-other-frame): Use them.
18981 (display-buffer): Rename reuse-frame entry to reusable-frames.
18982 (display-buffer-reuse-selected-window): Function deleted.
18983 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18984 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18985 (display-buffer-special): New function.
18986 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18987 display-buffer-reuse-or-pop-window. Split off special-display
18988 part into display-buffer-special.
18989 (display-buffer-use-some-window): Don't perform any special
18990 pop-up-frames handling.
18991 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18992 (display-buffer--maybe-same-window): Rename from
18993 display-buffer-maybe-same-window.
18994
18995 * info.el: Don't set same-window-regexps.
18996 (info-setup): New function.
18997 (info-other-window, info): Call it.
18998
18999 * cus-edit.el: Don't set same-window-regexps.
19000 (customize-group): New argument.
19001 (customize-group-other-window): Use it.
19002 (customize-face, customize-face-other-window): Likewise.
19003 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19004
19005 * net/rlogin.el:
19006 * net/telnet.el:
19007 * progmodes/gud.el: Don't set same-window-regexps.
19008
19009 * cmuscheme.el:
19010 * ielm.el:
19011 * shell.el:
19012 * mail/sendmail.el:
19013 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19014
19015 2011-09-10 Juri Linkov <juri@jurta.org>
19016
19017 * isearch.el (isearch-edit-string): Remove obsolete mention of
19018 `C-w' (`isearch-yank-word-or-char') from docstring.
19019 (isearch-query-replace): Fix typo in docstring (bug#9466).
19020
19021 2011-09-10 Juri Linkov <juri@jurta.org>
19022
19023 * paren.el (show-paren-function): Don't show escaped parens.
19024 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19025
19026 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19027
19028 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19029 (mm-default-file-encoding): Remove autoload forms, they are
19030 replaced with autoload cookies in mml.el and mm-encode.el.
19031 (mail-add-attachment): New command.
19032 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19033 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19034 the doc string.
19035 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19036
19037 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19038
19039 * simple.el (count-words-region): Use buffer if there's no region
19040 (bug#9429).
19041
19042 2011-09-09 Juri Linkov <juri@jurta.org>
19043
19044 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19045 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19046 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19047
19048 2011-09-09 Alan Mackenzie <acm@muc.de>
19049
19050 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19051 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19052
19053 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19054
19055 Fix for Savannah bug#9392.
19056 * simple.el (mail-encode-mml): New defvar.
19057
19058 * mail/rmail.el (mail-encode-mml): Add a defvar.
19059 (rmail-enable-mime-composing): Default to t.
19060 (rmail-forward): Use MIME method of forwarding only if both
19061 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19062 Set mail-encode-mml non-nil if the MIME method was used.
19063
19064 * mail/sendmail.el (mml-to-mime): Add autoload form.
19065 (mail-encode-mml): Add a defvar.
19066 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19067 to nil.
19068 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19069 message through mml-to-mime, and reset mail-encode-mml to nil.
19070
19071 2011-09-09 Glenn Morris <rgm@gnu.org>
19072
19073 * woman.el (woman-if-body): When processing an .el block,
19074 do not delete the next .el block as well. (Bug#9447)
19075 (woman-special-characters): Add oq, cq, and hy characters.
19076
19077 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19078
19079 * window.el (window-deletable-p): Make sure window is live before
19080 invoking window-prev-buffers.
19081
19082 2011-09-08 Leo Liu <sdl.web@gmail.com>
19083
19084 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19085
19086 2011-09-08 Juri Linkov <juri@jurta.org>
19087
19088 * progmodes/compile.el (compilation-environment): Make it
19089 a defcustom (bug#8340).
19090
19091 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19092
19093 * window.el (frame-auto-delete): Rename to window-auto-delete.
19094 Make it control auto-deletion of windows and/or frames.
19095 (window-deletable-p): New argument FORCE. Rewrite conditions
19096 for deleting window/frame. (Bug#9419)
19097 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19098 Rewrite handling of case when window/frame can be deleted.
19099 (delete-windows-on): Call window-deletable-p with new FORCE
19100 argument t. (Bug#9456)
19101
19102 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19103
19104 * help-mode.el (help-mode): Restore autoload.
19105
19106 2011-09-07 Juri Linkov <juri@jurta.org>
19107
19108 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19109 `compilation-environment'. Set buffer-local
19110 `compilation-environment' to `thisenv' later after (funcall mode).
19111 (Bug#8340)
19112
19113 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19114 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19115 instead of replacing its value. (Bug#8340)
19116
19117 2011-09-07 Juri Linkov <juri@jurta.org>
19118
19119 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19120 based on text properties put by `grep-filter' instead of matching
19121 escape sequences.
19122 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19123 to the value of `grep-error-screen-columns' (bug#9438).
19124
19125 2011-09-07 Juri Linkov <juri@jurta.org>
19126
19127 * simple.el (next-error-highlight, next-error-highlight-no-select):
19128 Doc fix (bug#9432).
19129
19130 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19131
19132 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19133 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19134
19135 2011-09-07 Leo Liu <sdl.web@gmail.com>
19136
19137 * net/rcirc.el (rcirc-mode): Conditionally initialize
19138 rcirc-input-ring.
19139
19140 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19141
19142 * emacs-lisp/find-func.el (find-function-C-source): Only set
19143 find-function-C-source-directory after checking that we found a source
19144 file there (bug#9440).
19145
19146 2011-09-06 Alan Mackenzie <acm@muc.de>
19147
19148 * isearch.el (isearch-other-meta-char): Wherever a key list is
19149 unread, "unread" the prefix arg, too. This fixes bug #8901.
19150
19151 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19152
19153 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19154
19155 2011-09-05 Juri Linkov <juri@jurta.org>
19156
19157 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19158
19159 2011-09-05 Juri Linkov <juri@jurta.org>
19160
19161 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19162 keeping point where processing of grep matches begins, and
19163 continue to delete remaining escape sequences from the same point.
19164 (grep-filter): Make leading zero optional in "0?1;31m" because
19165 git-grep emits "\033[1;31m" escape sequences unlike expected
19166 "\033[01;31m" as GNU Grep does (bug#9408).
19167 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19168
19169 2011-09-05 Juri Linkov <juri@jurta.org>
19170
19171 * subr.el (y-or-n-p): Capitalize "yes".
19172
19173 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19174
19175 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19176 `tramp-cache-unload-hook' where appropriate.
19177 (tramp-methods): Rename `tramp-remote-sh' to
19178 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19179 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19180
19181 * net/tramp-sh.el (top): Don't require 'shell.
19182 (tramp-methods): Add `tramp-remote-shell' and
19183 `tramp-remote-shell-args' entries.
19184 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19185 (tramp-sh-handle-shell-command): Remove.
19186 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19187 Use `tramp-remote-shell'.
19188
19189 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19190
19191 * mail/sendmail.el (sendmail-query-once-function): Delete.
19192 (sendmail-query-once): Save directly to send-mail-function.
19193 Update message-send-mail-function too.
19194
19195 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19196
19197 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19198
19199 * progmodes/python.el (python-mode-map): Use correct function to
19200 start python interpreter from menu-bar (as reported by Geert
19201 Kloosterman).
19202 (inferior-python-mode-map): Fix typo.
19203 (python-shell-map): Remove.
19204
19205 2011-09-03 Deniz Dogan <deniz@dogan.se>
19206
19207 * net/rcirc.el (rcirc-print): Simplify code for
19208 rcirc-scroll-show-maximum-output. There is no need to walk
19209 through all windows to find the right one.
19210
19211 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19212
19213 * help.el (help-return-method): Doc fix.
19214
19215 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19216
19217 * window.el (window-deletable-p): Don't return a non-nil value
19218 when there's a buffer that was shown in the window before.
19219 (Bug#9419)
19220 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19221 Set window's previous buffers to nil.
19222
19223 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19224
19225 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19226 newline before and after the tag line, so it doesn't interfere
19227 with determining the paragraph direction of bidirectional text.
19228
19229 2011-09-03 Leo Liu <sdl.web@gmail.com>
19230
19231 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19232
19233 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19234
19235 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19236 (pop-to-buffer): Change interactive spec. Pass second argument
19237 directly to display-buffer.
19238 (display-buffer): Fix interactive spec. Use functionp to
19239 distinguish between a function and a list of functions.
19240
19241 * abbrev.el (edit-abbrevs):
19242 * arc-mode.el (archive-extract):
19243 * autoinsert.el (auto-insert):
19244 * bookmark.el (bookmark-bmenu-list):
19245 * files.el (find-file):
19246 * view.el (view-buffer):
19247 * progmodes/compile.el (compilation-goto-locus):
19248 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19249
19250 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19251
19252 * window.el (display-buffer-alist): Doc fix.
19253 (display-buffer): Add docstring. Don't treat
19254 display-buffer-default specially.
19255 (display-buffer-reuse-selected-window)
19256 (display-buffer-same-window, display-buffer-maybe-same-window)
19257 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19258 (display-buffer-pop-up-window)
19259 (display-buffer-reuse-or-pop-window)
19260 (display-buffer-use-some-window): New functions.
19261 (display-buffer-default-action): Use them.
19262 (display-buffer-default): Delete.
19263 (pop-to-buffer-1): Fix choice of actions.
19264
19265 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19266
19267 * minibuffer.el (completion--insert-strings): Don't get confused by
19268 completion entries that end with an LF char.
19269
19270 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19271
19272 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19273
19274 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19275
19276 * window.el (display-buffer): Restore interactive spec.
19277 (display-buffer-same-window, display-buffer-other-window):
19278 New functions.
19279 (pop-to-buffer-1): New function. Use the above.
19280 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19281 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19282
19283 * view.el (view-buffer-other-window, view-buffer-other-frame):
19284 Just use pop-to-buffer.
19285
19286 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19287
19288 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19289
19290 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19291
19292 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19293
19294 2011-08-31 Richard Stallman <rms@gnu.org>
19295
19296 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19297 of the separation of rmail-view-buffer from rmail-buffer.
19298 If you say no to "replace original", the decrypt is in the
19299 view buffer. If you say yes, the decrypt goes into the
19300 rmail buffer also.
19301
19302 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19303
19304 * window.el (display-buffer-window): Rewrite doc-string.
19305 (display-buffer-record-window): New function.
19306 (display-buffer-macro-specifiers)
19307 (display-buffer-even-window-sizes, display-buffer-set-height)
19308 (display-buffer-set-width, display-buffer-in-window)
19309 (display-buffer-reuse-window, display-buffer-split-specifiers)
19310 (display-buffer-side-specifiers, display-buffer-split-window-1)
19311 (display-buffer-split-window, display-buffer-split-atom-window)
19312 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19313 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19314 (display-buffer-other-window-means-other-frame)
19315 (display-buffer-normalize-special)
19316 (display-buffer-normalize-default)
19317 (display-buffer-normalize-argument)
19318 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19319 (display-buffer-normalize-specifiers, display-buffer-frame)
19320 (display-buffer-same-window, display-buffer-same-frame)
19321 (display-buffer-other-window)
19322 (display-buffer-same-frame-other-window)
19323 (display-buffer-other-frame, pop-to-buffer-same-window)
19324 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19325 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19326 (switch-to-buffer-same-frame)
19327 (switch-to-buffer-other-window-same-frame)
19328 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19329 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19330 (display-buffer-alist-set): Remove.
19331 (display-buffer-function, special-display-buffer-names)
19332 (special-display-regexps, special-display-function):
19333 In doc-string refer to display-buffer-window and quit-restore
19334 parameter.
19335 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19336 (special-display-frame-alist, special-display-popup-frame)
19337 (same-window-buffer-names, same-window-regexps, same-window-p)
19338 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19339 (split-window-preferred-function, split-height-threshold)
19340 (split-width-threshold, window-splittable-p)
19341 (split-window-sensibly, window--try-to-split-window)
19342 (window--frame-usable-p, even-window-heights)
19343 (window--even-window-heights, window--display-buffer-1)
19344 (window--display-buffer-2, display-buffer-other-frame):
19345 Restore old Emacs 23 code, order and doc-strings where applicable.
19346 (display-buffer-default, display-buffer-assq-regexp): New functions.
19347 (display-buffer-alist): Rewrite doc-string.
19348 (display-buffer-default-action)
19349 (display-buffer-overriding-action): New variables.
19350 (display-buffer, switch-to-buffer): Rewrite.
19351 (pop-to-buffer): Restore Emacs 23 behavior but use
19352 window-normalize-buffer-to-display.
19353 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19354 Restore Emacs 23 behavior but use
19355 window-normalize-buffer-to-switch-to.
19356 (pop-to-buffer-same-window): Rewrite.
19357 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19358 Rewrite using Emacs 23 options.
19359
19360 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19361
19362 * net/tramp.el (tramp-root-regexp): Remove.
19363 (tramp-completion-file-name-regexp-unified)
19364 (tramp-completion-file-name-regexp-separate)
19365 (tramp-completion-file-name-regexp-url): Don't use leading volume
19366 letter on w32 systems. (Bug#5303, Bug#9311)
19367 (tramp-drop-volume-letter): Simplify definition.
19368 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19369
19370 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19371
19372 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19373 (bug#9356).
19374
19375 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19376
19377 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19378
19379 2011-08-29 Juri Linkov <juri@jurta.org>
19380
19381 * isearch.el (isearch-done): Don't display message "Mark saved"
19382 when arg `edit' is non-nil to prevent its flicker in the echo area.
19383
19384 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19385
19386 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19387 obsolete packages for deletion.
19388
19389 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19390
19391 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19392 (help-mode): Derive help-mode from special-mode. Don't invoke
19393 view-mode from help-mode.
19394 (help-xref-override-view-map): Remove.
19395 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19396 view-mode is not used anymore.
19397
19398 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19399
19400 * server.el (server-port): Doc fix.
19401
19402 * cus-theme.el (custom-theme-choose-mode): Inherit from
19403 special-mode (Bug#9124).
19404 (custom-theme-choose-mode-map): Add special-mode to parent.
19405
19406 2011-08-28 Alan Mackenzie <acm@muc.de>
19407
19408 * progmodes/cc-fonts.el
19409 (c-make-font-lock-BO-decl-search-function): New function.
19410 (c-basic-matchers-after - "Fontify the clauses after various
19411 keywords"): Extract the three keyword lists for the 3 erroneous
19412 constructs from the list of four, and use the new function above
19413 in place of an old one.
19414
19415 2011-08-28 Deniz Dogan <deniz@dogan.se>
19416
19417 * net/rcirc.el (rcirc-insert-prev-input)
19418 (rcirc-insert-next-input): Remove unused argument.
19419
19420 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19423
19424 2011-08-27 Alan Mackenzie <acm@muc.de>
19425
19426 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19427 handle function pointer parameters properly.
19428
19429 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19430
19431 * window.el (display-buffer-reuse-window): Fix case where
19432 selected window was reused with non-nil OTHER-WINDOW argument.
19433 (Bug#9381)
19434
19435 2011-08-27 Deniz Dogan <deniz@dogan.se>
19436
19437 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19438 oftc's NickServ messages.
19439
19440 2011-08-27 Glenn Morris <rgm@gnu.org>
19441
19442 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19443
19444 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19445
19446 * emacs-lisp/package.el (package-install): Call package-initialize
19447 if called interactively.
19448
19449 2011-08-26 Leo Liu <sdl.web@gmail.com>
19450
19451 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19452
19453 2011-08-25 Juri Linkov <juri@jurta.org>
19454
19455 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19456 `search-whitespace-regexp' (bug#9364).
19457
19458 2011-08-25 Juri Linkov <juri@jurta.org>
19459
19460 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19461 `regexp-search-ring' to their global values to protect from
19462 updating by `read-from-minibuffer' (bug#9185).
19463
19464 2011-08-25 Juri Linkov <juri@jurta.org>
19465
19466 * textmodes/ispell.el (ispell-command-loop): Add newline
19467 at the end of the "Use option `i'..." line.
19468
19469 2011-08-25 Juri Linkov <juri@jurta.org>
19470
19471 * battery.el (display-battery-mode): If `battery-status-function'
19472 or `battery-mode-line-format' is nil, display the message and set
19473 `display-battery-mode' to nil (bug#9363).
19474
19475 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19476
19477 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19478 bidi-string-mark-left-to-right; they are unnecessary now.
19479
19480 2011-08-25 Deniz Dogan <deniz@dogan.se>
19481
19482 * net/quickurl.el: Documentation typo fixes.
19483
19484 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19485
19486 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19487
19488 2011-08-25 Glenn Morris <rgm@gnu.org>
19489
19490 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19491
19492 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19493 (smtpmail-via-smtp): Handle nil response from smtp.
19494
19495 2011-08-24 Juri Linkov <juri@jurta.org>
19496
19497 * proced.el (proced-marked): Inherit from `error' instead of
19498 `font-lock-warning-face'.
19499
19500 * ibuffer.el (ibuffer-marked-face): Change default face from
19501 `font-lock-warning-face' to `warning'.
19502 (ibuffer-deletion-face): Change default face from
19503 `font-lock-type-face' to `error'.
19504
19505 * battery.el (battery-update): Use the face `error' instead of
19506 `font-lock-warning-face' (bug#6117).
19507
19508 2011-08-24 Juri Linkov <juri@jurta.org>
19509
19510 * faces.el (success): Change face color from "Green3" to
19511 "ForestGreen" on light background (bug#9353).
19512
19513 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19514
19515 * window.el (quit-window): Rename from quit-restore-window.
19516 Use same arglist as old quit-window.
19517 (frame-auto-delete): Doc fix.
19518
19519 * view.el (view-mode-exit): Use quit-window.
19520
19521 2011-08-24 Juri Linkov <juri@jurta.org>
19522
19523 * isearch.el (isearch-ring-adjust1): Start visiting previous
19524 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19525 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19526 for empty search string (when the last search string is reused
19527 automatically) to adjust the isearch ring to the last element and
19528 prepare the correct index for further M-p commands (bug#9185).
19529
19530 2011-08-24 Kenichi Handa <handa@m17n.org>
19531
19532 * international/ucs-normalize.el: If decomposition property of
19533 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19534 nil.
19535 (nfd, nfkd): Likewise.
19536
19537 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19538
19539 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19540 from process filters aren't reliably transmitted to the surrounding
19541 accept-process-output.
19542 (mpc-proc-check): New function.
19543 (mpc-proc-sync): Use it (bug#8293)
19544
19545 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19546
19547 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19548 Add compatibility functions (bug#9313).
19549
19550 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19551
19552 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19553
19554 * international/uni-bidi.el: Regenerate.
19555
19556 2011-08-23 Kenichi Handa <handa@m17n.org>
19557
19558 * international/charprop.el:
19559 * international/uni-bidi.el:
19560 * international/uni-category.el:
19561 * international/uni-combining.el:
19562 * international/uni-comment.el:
19563 * international/uni-decimal.el:
19564 * international/uni-decomposition.el:
19565 * international/uni-digit.el:
19566 * international/uni-lowercase.el:
19567 * international/uni-mirrored.el:
19568 * international/uni-name.el:
19569 * international/uni-numeric.el:
19570 * international/uni-old-name.el:
19571 * international/uni-titlecase.el:
19572 * international/uni-uppercase.el: Regenerate.
19573
19574 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19575
19576 * help.el (help-window-setup): Fix message displayed when other
19577 window is reused. (Bug#9341)
19578
19579 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19580
19581 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19582 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19583
19584 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19585 Mark obsolete.
19586 * shell.el (shell-parse-pcomplete-arguments): New function.
19587 (shell-completion-vars): Use it instead (bug#9160).
19588
19589 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19590
19591 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19592 strings and comments (bug#9333).
19593
19594 * emacs-lisp/debug.el (debug-arglist): New function.
19595 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19596 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19597
19598 2011-08-22 Juri Linkov <juri@jurta.org>
19599
19600 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19601 Revert regexp that highlights output switches to its old
19602 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19603
19604 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19605 to check for empty output (bug#9226).
19606
19607 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19608
19609 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19610 symbol-constituent as the default, as that stops font-lock from
19611 working properly (Bug#8843).
19612
19613 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19614
19615 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19616 `coding-system-for-*' around the process open call to avoid
19617 auth-source side effects.
19618 (smtpmail-try-auth-methods): Expand the secret password.
19619 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19620 probe hangs.
19621
19622 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19623
19624 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19625
19626 * emacs-lisp/find-func.el (find-function-noselect): New arg
19627 lisp-only.
19628
19629 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19630 signal an error for built-in functions (Bug#6664).
19631
19632 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19633
19634 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19635 (smtpmail-try-auth-methods): Use it.
19636
19637 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19638
19639 * font-lock.el (font-lock-fontify-region)
19640 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19641 (font-lock-default-unfontify-buffer)
19642 (font-lock-default-fontify-region)
19643 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19644
19645 * progmodes/compile.el (compilation-error-properties):
19646 Fix confusion between file struct and message struct (Bug#9319).
19647 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19648 `ant' regexp.
19649
19650 * net/browse-url.el (browse-url-firefox): Don't call
19651 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19652
19653 2011-08-20 Glenn Morris <rgm@gnu.org>
19654
19655 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19656
19657 * tutorial.el (tutorial--default-keys): Update some default bindings.
19658
19659 * files.el (hack-local-variables): Fully ignore case for "mode:".
19660
19661 2011-08-20 Alan Mackenzie <acm@muc.de>
19662
19663 Resolve invalid use of a regexp in regexp-opt.
19664
19665 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19666 detection for a java annotation.
19667
19668 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19669 detection for a java annotation.
19670
19671 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19672 handling for java.
19673 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19674
19675 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19676
19677 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19678 (Bug#9274).
19679
19680 2011-08-20 Alan Mackenzie <acm@muc.de>
19681
19682 Fontify CPP expressions correctly when starting in the middle of
19683 such a construct. Mainly for when jit-lock etc. starts a chunk
19684 here.
19685
19686 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19687 variable.
19688 (c-make-font-lock-search-form): New function, extracted from
19689 c-make-font-lock-search-function.
19690 (c-make-font-lock-search-function): Use the above function.
19691 (c-make-font-lock-context-search-function): New function.
19692 (c-cpp-matchers): Enhance the preprocessor expression case with
19693 the above function
19694 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19695 which takes an expression.
19696
19697 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19698
19699 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19700
19701 * window.el (display-buffer-reuse-window)
19702 (display-buffer-pop-up-window): Don't reuse or split a side
19703 window.
19704
19705 2011-08-19 Glenn Morris <rgm@gnu.org>
19706
19707 * files.el (hack-local-variables-prop-line, hack-local-variables):
19708 Downcase "Mode:". (Bug#9331)
19709
19710 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19711
19712 * international/characters.el: Add L and R categories.
19713
19714 * subr.el (bidi-string-mark-left-to-right): Rename from
19715 string-mark-left-to-right. Use category search.
19716
19717 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19718
19719 2011-08-18 Juri Linkov <juri@jurta.org>
19720
19721 * faces.el (error, warning, success): New faces with definitions
19722 copied from old default values of `font-lock-warning-face',
19723 `compilation-warning', `compilation-info' (bug#6117).
19724
19725 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19726
19727 * progmodes/compile.el (compilation-error): Inherit from `error'.
19728 (compilation-warning): Inherit from `warning'.
19729 (compilation-info): Inherit from `success'.
19730
19731 * dired.el (dired-marked): Inherit from `warning'.
19732 (dired-flagged): Inherit from `error'.
19733
19734 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19735
19736 * mail/smtpmail.el (auth-source): Require to avoid problems with
19737 binding variables (bug#9298). Also clean up some unused
19738 autoloads.
19739
19740 * net/network-stream.el (network-stream-open-starttls):
19741 Support using starttls.el without using gnutls-cli.
19742
19743 2011-08-17 Juri Linkov <juri@jurta.org>
19744
19745 * progmodes/grep.el (rgrep): Handle the case when
19746 `grep-find-command' is a cons cell (bug#9278).
19747
19748 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19749
19750 * window.el (display-buffer-pop-up-frame): Run frame creation
19751 function with BUFFER current (as special-display-popup-frame
19752 does). Reported by Drew Adams.
19753
19754 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19755
19756 * epa-mail.el: Simplify GnuPG group expansion using
19757 epg-expand-group.
19758 (epa-mail-group-alist, epa-mail-group-modtime)
19759 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19760 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19761 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19762 Remove.
19763
19764 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19765
19766 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19767
19768 2011-08-16 Alan Mackenzie <acm@muc.de>
19769
19770 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19771 Correct, to avoid the inside of macros.
19772
19773 2011-08-16 Richard Stallman <rms@gnu.org>
19774
19775 * epa-mail.el: Handle GnuPG group definitions.
19776 (epa-mail-group-alist, epa-mail-group-modtime)
19777 (epa-mail-gnupg-conf-file): New variables.
19778 (epa-mail-parse-groups, epa-mail-sync-groups)
19779 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19780 (epa-mail-expand-recipients): New functions.
19781 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19782
19783 * mail/rmail.el (rmail-epa-decrypt): New command.
19784
19785 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19786 Don't bind buffer-read-only, just inhibit-read-only.
19787 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19788 (epa-decrypt-armor-in-region): Make error message clearer.
19789
19790 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19791
19792 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19793 and "a2b" to "ab" for `prefix'.
19794
19795 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19796
19797 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19798 filter groups.
19799 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19800 Fourquet (Bug#8804).
19801
19802 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19803
19804 * startup.el (argi): Declare as global variable (bug#9275).
19805
19806 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19807
19808 * subr.el (string-mark-left-to-right): Search the entire string
19809 for RTL script, not just the terminating character. Doc fix.
19810
19811 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19812
19813 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19814 New function.
19815 (js--regexp-literal, js-syntax-propertize-function): Remove.
19816 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19817 (js-mode-map): Don't rebind electric keys.
19818 (js-insert-and-indent): Remove.
19819 (js-mode): Setup electric-layout and electric-indent instead.
19820
19821 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19822
19823 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19824
19825 * epa.el (epa-progress-callback-function): Fix the logic of
19826 displaying progress.
19827 * epa-file.el (epa-file-insert-file-contents): Make progress
19828 display more user-friendly.
19829 (epa-file-write-region): Ditto.
19830
19831 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19832
19833 * subr.el (string-mark-left-to-right): New function.
19834
19835 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19836 Use string-mark-left-to-right.
19837 (list-buffers-noselect): Caller changed.
19838
19839 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19840 Use string-mark-left-to-right.
19841 (tabulated-list-print): Recenter after moving point.
19842
19843 2011-08-10 Juri Linkov <juri@jurta.org>
19844
19845 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19846 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19847 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19848
19849 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19850
19851 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19852 (Bug#7554).
19853
19854 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19855
19856 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19857 character. (Bug#6594)
19858
19859 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19860
19861 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19862 (image-dired--with-db-file): New macro.
19863 (image-dired-write-tags, image-dired-remove-tag)
19864 (image-dired-create-gallery-lists, image-dired-write-comments)
19865 (image-dired-get-comment, image-dired-mark-tagged-files)
19866 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19867 (image-dired-gallery-generate): Use insert-file-contents.
19868
19869 * time.el (display-time-world-list, display-time-world-display):
19870 * time-stamp.el (time-stamp-string):
19871 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19872 set-time-zone-rule (Bug#7337).
19873
19874 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19875
19876 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19877 (epg-error-to-string, epg-errors-to-string): New function.
19878 (epg-wait-for-completion): Reverse errors list.
19879 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19880 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19881 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19882 (epg-sign-keys, epg-generate-key-from-file)
19883 (epg-generate-key-from-string): Format errors by using
19884 epg-errors-to-string (bug#9255).
19885 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19886
19887 2011-08-07 Juri Linkov <juri@jurta.org>
19888
19889 * faces.el (list-faces-display): Remove extra angle bracket
19890 from `help-mode-map'.
19891
19892 * info.el (Info-history-toc-nodes): Doc fix.
19893
19894 * longlines.el (longlines-mode): Doc fix.
19895
19896 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19897
19898 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19899 of statements and in a few more cases (bug#9183).
19900
19901 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19902 New functions.
19903 (cl-transform-lambda): Use them (bug#9239).
19904
19905 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19906
19907 * window.el (display-buffer-same-window)
19908 (display-buffer-same-frame, display-buffer-other-window)
19909 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19910 (pop-to-buffer-other-window)
19911 (pop-to-buffer-same-frame-other-window)
19912 (pop-to-buffer-other-frame): Make them defuns.
19913 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19914
19915 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19916
19917 * subr.el (make-composed-keymap): Move from C. Change calling
19918 convention, and improve docstring to bring attention to a subtle point.
19919 * minibuffer.el (completing-read-default): Adjust accordingly.
19920
19921 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19922
19923 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19924 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19925
19926 * net/trampver.el: Update release number.
19927
19928 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19929
19930 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19931 "in" (bug#9190).
19932
19933 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19934
19935 * mail/sendmail.el (sendmail-query-once): Restore the current
19936 buffer after querying (bug#9074).
19937
19938 * dired.el (dired-flagged): Use different faces for marked and
19939 flagged files (bug#6117).
19940
19941 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19942 (bug#4433).
19943
19944 * ido.el (ido-mode): Switch off the message if called
19945 non-interactively.
19946
19947 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19948 before 587, since it appears that that's more likely to work for
19949 more people.
19950
19951 * cus-edit.el (custom-file): When running under emacs -q, always
19952 refuse to save the customizations, even if the .emacs file doesn't
19953 exist.
19954
19955 * info.el: Remove the `Info-beginning-of-buffer' function
19956 (bug#8325).
19957
19958 * net/network-stream.el (network-stream-open-starttls):
19959 Use `starttls-available-p' to see whether starttls.el can be used.
19960
19961 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19962
19963 * window.el (display-buffer-in-window): Don't set dedicated status
19964 of window here (Bug#9215).
19965 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19966 (display-buffer-pop-up-side-window)
19967 (display-buffer-in-side-window): Set dedicated status of window here.
19968
19969 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19970
19971 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19972 before binding generated-autoload-file.
19973
19974 2011-08-01 Deniz Dogan <deniz@dogan.se>
19975
19976 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19977
19978 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19979
19980 Sync with Tramp 2.2.2.
19981
19982 * net/trampver.el: Update release number.
19983
19984 2011-07-30 Juri Linkov <juri@jurta.org>
19985
19986 * dired-aux.el (dired-touch-initial): Remove function.
19987 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19988 current time, and `default' to the last modification time of the
19989 current marked file (bug#6887).
19990
19991 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19992
19993 * simple.el (goto-line): Use string-to-number to provide a
19994 numeric argument to read-number (bug#9163).
19995
19996 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19997
19998 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19999 connection process, it could be nil.
20000
20001 2011-07-27 Leo Liu <sdl.web@gmail.com>
20002
20003 Simplify url handling in rcirc-mode.
20004
20005 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20006 (rcirc-browse-url-at-mouse): Remove.
20007 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20008
20009 2011-07-26 Alan Mackenzie <acm@muc.de>
20010
20011 Fontify bitfield declarations properly.
20012
20013 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20014 (c-symbol-chars): Now exported as a lang variable.
20015 (c-not-primitive-type-keywords): New lang variable.
20016
20017 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20018 QT keyword "more" to prevent "more slots: ...." being spuriously
20019 parsed as a bitfield declaration.
20020
20021 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20022 Refactor and enhance to handle bitfield declarations.
20023 (c-punctuation-in): New function.
20024 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20025 declarations properly.
20026
20027 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20028
20029 * calendar/icalendar.el (icalendar--all-events): Take care of
20030 multiple vcalendars in a single file.
20031 (icalendar--convert-float-to-ical): Checkdoc fixes.
20032
20033 2011-07-25 Deniz Dogan <deniz@dogan.se>
20034
20035 * image.el (insert-image): Clarifying docstring.
20036
20037 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20038
20039 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20040 `tramp-send-command-and-check' if there is no error.
20041 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20042
20043 2011-07-22 Alan Mackenzie <acm@muc.de>
20044
20045 Prevent cc-langs.elc being loaded at run time.
20046
20047 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20048 cc-langs.
20049
20050 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20051 "(require 'cc-langs)". Quote a form so it will evaluate at
20052 (cc-mode's) compilation time.
20053
20054 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20055
20056 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20057 loading. (Bug#9114)
20058
20059 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20060
20061 * window.el (display-buffer-pop-up-window)
20062 (display-buffer-pop-up-side-window)
20063 (display-buffer-in-side-window): Call display-buffer-set-height
20064 and display-buffer-set-width after setting the new window's
20065 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20066
20067 2011-07-20 Sam Steingold <sds@gnu.org>
20068
20069 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20070 (etags-tags-included-tables): Call `convert-standard-filename' on
20071 the file names contained in TAGS so that windows Emacs can handle
20072 TAGS files created by cygwin ctags.
20073
20074 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20075
20076 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20077 which apparently didn't work.
20078
20079 2011-07-19 Roland Winkler <winkler@gnu.org>
20080
20081 * proced.el (proced-send-signal): For *Marked Processes* buffer
20082 put point at beginning of buffer.
20083
20084 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20085
20086 * proced.el (proced-format): Make header lines align with the text
20087 (bug#1779).
20088
20089 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20090
20091 * view.el (view-buffer): Allow running in `special' modes if we're
20092 visiting a file (bug#8615).
20093
20094 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20095
20096 * window.el (display-buffer-alist-of-strings-p)
20097 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20098 New functions.
20099 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20100 more accurately.
20101
20102 2011-07-18 Alan Mackenzie <acm@muc.de>
20103
20104 Fontify declarators properly when, e.g., a jit-lock chunk begins
20105 inside a declaration.
20106
20107 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20108
20109 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20110 New function.
20111 (c-complex-decl-matchers): Insert reference to
20112 c-font-lock-enclosing-decls.
20113
20114 * progmodes/cc-engine.el (c-backward-single-comment):
20115 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20116 to nil around calls to (forward-comment -1).
20117
20118 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20119
20120 * image.el (put-image): Doc typo fix.
20121
20122 * progmodes/etags.el (tags-search): Doc typo fix.
20123
20124 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20125 password if we get errors 550 to 554.
20126
20127 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20128
20129 * net/gnutls.el (gnutls-log-level): Remove.
20130
20131 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20132 indentation character (bug#6380).
20133
20134 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20135
20136 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20137 to clarify what the problem is (bug#4291).
20138
20139 * simple.el (current-kill): Clarify what
20140 `interprogram-paste-function' does (bug#7500).
20141 (auto-fill-mode): Document `auto-fill-function' in relation to
20142 `auto-fill-mode' (bug#2470).
20143
20144 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20145
20146 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20147 method if slot is read-only (bug#9035).
20148
20149 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20150
20151 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20152 * window.el (pop-to-buffer): Select window used even if it was
20153 selected before, see discussion of (Bug#8615), (Bug#6954).
20154 Pass argument NORECORD on to select-frame-set-input-focus.
20155
20156 2011-07-15 Glenn Morris <rgm@gnu.org>
20157
20158 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20159 Respect help-form.
20160
20161 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20162
20163 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20164 (gnutls-negotiate): Use it.
20165
20166 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20167
20168 * net/gnutls.el (gnutls-negotiate):
20169 Upcase `gnutls-algorithm-priority'.
20170
20171 2011-07-15 Glenn Morris <rgm@gnu.org>
20172
20173 * jka-compr.el (jka-compr-verbose): Move from here...
20174 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20175 Add missing :version tag.
20176 * info.el: No need to require jka-compr when compiling.
20177
20178 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20179
20180 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20181 (gnutls-negotiate): Use it.
20182
20183 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20184
20185 * info.el (Info-beginning-of-buffer): New command.
20186 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20187 announcing `b' as the key (bug#8325).
20188 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20189
20190 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20191
20192 * international/mule-cmds.el
20193 (describe-specified-language-support): Make the error message
20194 clearer (bug#8905).
20195
20196 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20197
20198 * isearch.el (isearch-barrier): Add a doc string, since it's
20199 mentioned in a function doc string (bug#8678).
20200
20201 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20202
20203 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20204 buffer argument (Bug#9083) and self-identifying label argument.
20205
20206 2011-07-15 Glenn Morris <rgm@gnu.org>
20207
20208 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20209
20210 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20211
20212 * man.el (Man-fontify-manpage): Fix message when formatting the
20213 man page (bug#7929).
20214
20215 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20216
20217 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20218 argument LRM; if non-nil, append an invisible LRM character to the
20219 buffer name.
20220 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20221 last argument non-nil, when formatting buffer names.
20222 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20223 paragraph direction.
20224
20225 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20226
20227 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20228 the man page name (bug#7929).
20229
20230 * image.el (put-image): Mention the `put-image' overlay property
20231 (bug#7834).
20232
20233 * scroll-bar.el (set-scroll-bar-mode): Mention that
20234 `scroll-bar-mode' lists the values (bug#7772).
20235
20236 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20237 command (bug#7729).
20238
20239 * rect.el (apply-on-rectangle): Return the point after the last
20240 operation.
20241 (string-rectangle): Go to the point after the last operation
20242 (bug#7522).
20243
20244 * printing.el (pr-toggle-region): Clarify the documentation
20245 slightly (bug#7493).
20246
20247 * time.el (display-time-update):
20248 Allow `display-time-mail-function' to return nil (bug#7158).
20249 Fix suggested by Detlev Zundel.
20250
20251 * vc/diff.el (diff): Clarify the order the file names are read
20252 (bug#7111).
20253
20254 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20255 the doc string (bug#7015).
20256
20257 * font-lock.el (font-lock-maximum-decoration): Mention what
20258 numeric levels mean (bug#6935).
20259
20260 * startup.el (initial-buffer-choice): Don't mention the `none'
20261 selection, which is against policy.
20262
20263 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20264
20265 * window.el (display-buffer-normalize-special):
20266 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20267
20268 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20269
20270 * subr.el (version<, version<=, version=): Mention "-CVS" and
20271 "-12345" alpha version numbers.
20272
20273 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20274
20275 * bindings.el: Add advertised binding for set-mark-command
20276 (Bug#5772).
20277
20278 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20279
20280 * bindings.el (mode-line-other-buffer):
20281 * bookmark.el (bookmark-bmenu-2-window):
20282 * bs.el (bs-cycle-next, bs-cycle-previous):
20283 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20284 switch-to-buffer.
20285
20286 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20287 Delete.
20288
20289 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20290
20291 * follow.el (follow-debug-message, follow-redisplay):
20292 * jka-cmpr-hook.el (with-auto-compression-mode):
20293 Fix typos in docstrings.
20294
20295 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20296
20297 * subr.el (with-silent-modifications): Clarify somewhat what the
20298 macro inhibits (bug#6525).
20299
20300 * simple.el (eval-expression): Note what it does if called
20301 interactively (bug#6495).
20302
20303 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20304
20305 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20306 Use pop-to-buffer buffer-or-name if it is nil.
20307
20308 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20309 Remove switch-to-buffer.
20310
20311 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20312
20313 * files.el (make-directory): Clarify that an error will be raised
20314 if there's an error (bug#6397).
20315
20316 * startup.el (initial-buffer-choice): Add `none' as a choice
20317 (bug#6234).
20318
20319 * subr.el (add-hook): Clarify section about buffer-local hooks
20320 (bug#6218).
20321
20322 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20323
20324 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20325
20326 * tabify.el (untabify): Preserve the current column so that point
20327 doesn't move (bug#6032).
20328
20329 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20330
20331 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20332 Rewrite to avoid awkward possessive "s" (bug#5986).
20333
20334 2011-07-13 Glenn Morris <rgm@gnu.org>
20335
20336 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20337 (dired-insert-directory): Give a message the first time
20338 if ls is found not to support --dired.
20339
20340 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20341
20342 * simple.el (toggle-truncate-lines): Clarify what is toggled
20343 (bug#5580). Text by Drew Adams.
20344
20345 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20346
20347 * simple.el (blink-matching-open): Make the error message from the
20348 last change less verbose.
20349
20350 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20351
20352 * font-lock.el (font-lock-comment-face): Use the high contrast
20353 "yellow" color for font-lock-comment-face on low color terminals
20354 using a dark background color (bug#4221).
20355
20356 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20357
20358 * dired.el (dired-insert-set-properties): Make the doc string
20359 reflect what it does now (bug#5325).
20360
20361 * simple.el (blink-matching-open): Say that we were unable to find
20362 the match within the limit, if we're limited (bug#5122).
20363
20364 * international/mule-cmds.el (prefer-coding-system): Add an
20365 example (bug#4869).
20366
20367 * progmodes/etags.el (tags-search): Document `file-list-form'
20368 (bug#4731).
20369
20370 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20371
20372 * net/browse-url.el (browse-url-default-browser)
20373 (browse-url-browser-function): Make the default browser choice a
20374 bit more logical (bug#4300). Also clean up the doc string.
20375
20376 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20377
20378 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20379 binary endings (bug#4440).
20380
20381 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20382
20383 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20384 which can be pretty annoying (bug#8971).
20385
20386 * jka-compr.el (jka-compr-verbose): New variable, and use
20387 throughout (bug#8971).
20388
20389 * info.el (Info-find-file): Fall back on the installation
20390 directory if we can't find the info node anywhere else.
20391
20392 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20393
20394 * vc/vc.el (vc-revert-file):
20395 Don't set file time-stamp in the past. (Bug#5181)
20396
20397 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20398
20399 * files.el (after-find-file): Give a better error message when
20400 trying to find a symlink that points to a file that doesn't exist
20401 (bug#4398).
20402
20403 * progmodes/cc-vars.el: Remove (probably) misleading comment
20404 (bug#4396).
20405
20406 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20407
20408 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20409
20410 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20411
20412 * mouse-sel.el: Hack restoring functionality, while keeping
20413 compatibility with 2010-07-03 changes to mouse selection.
20414 (mouse-sel-primary-overlay): New var.
20415 (mouse-sel-selection-alist): Use it.
20416 (mouse-sel-mode): Doc fix; remove points that are default features
20417 of mouse.el.
20418
20419 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20420
20421 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20422 Fix previous fix (bug#2490).
20423
20424 2011-07-12 Roland Winkler <winkler@gnu.org>
20425
20426 * textmodes/bibtex.el (bibtex-initialize):
20427 Use pop-to-buffer-same-window.
20428 (bibtex-search-entries): Fix interactive call.
20429
20430 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20431
20432 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20433 Fontise bytecomp Error lines more correctly (bug#2490).
20434 Fix suggested by Johan Bockgård.
20435
20436 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20437
20438 * dired-x.el (dired-guess-default): Use `delete-dups'.
20439
20440 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20441
20442 * dired.el (dired-mark-prompt):
20443 * dired-aux.el (dired-read-shell-command): Doc fix.
20444
20445 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20446
20447 * mail/sendmail.el (sendmail-query-once):
20448 Use `customize-save-variable' unconditionally, now that it works under
20449 emacs -Q.
20450
20451 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20452
20453 * cus-edit.el (custom-file): Take an optional no-error variable.
20454 (customize-save-variable): Set the variable, and give a warning if
20455 running under "emacs -q".
20456
20457 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20458
20459 * loadhist.el (unload-feature-special-hooks):
20460 Add `auto-coding-functions', `fill-nobreak-predicate' and
20461 `find-directory-functions' (bug#5327).
20462
20463 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20464
20465 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20466
20467 * cus-edit.el (custom-guess-name-alist): -alist variables should
20468 use the `alist' type (bug#3120). Suggested by Drew Adams.
20469
20470 * printing.el: Add documentation to all the `pr-toggle-' commands.
20471
20472 2011-07-11 Leo Liu <sdl.web@gmail.com>
20473
20474 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20475 backends where it makes sense (bug#2623).
20476
20477 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20478
20479 * dired-x.el (dired-guess-default): Remove duplicate shell command
20480 entries (bug#2028).
20481 (dired-guess-default): Fix grammar in doc string (bug#2028).
20482 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20483
20484 * subr.el (remove-duplicates): New conveniency function.
20485
20486 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20487
20488 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20489 (bug#1526).
20490
20491 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20492
20493 * window.el (display-buffer-normalize-default): Don't invert
20494 meaning of even-window-heights. Reported by Eli Zaretskii
20495 <eliz@gnu.org>.
20496
20497 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20498
20499 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20500
20501 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20502
20503 * window.el (display-buffer): Fix arguments to
20504 display-buffer-reuse-window in last change.
20505
20506 * faces.el (link): Use a less saturated blue on light backgrounds.
20507
20508 * startup.el (fancy-startup-text, fancy-about-text)
20509 (fancy-startup-tail): Use font-lock faces, for background safety.
20510
20511 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20512
20513 * emulation/viper-cmd.el (viper-change-state-to-vi):
20514 Limit triggering of abbrev expansion (Bug#9038).
20515
20516 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20517
20518 * window.el (display-buffer-default-specifiers): Remove.
20519 (display-buffer-macro-specifiers): Remove default specifiers.
20520 (display-buffer-alist): Default to nil.
20521 (display-buffer-reuse-window): New optional argument other-window.
20522 (display-buffer-pop-up-window): Allow splitting internal
20523 windows. Check whether a live window was created.
20524 (display-buffer-other-window-means-other-frame)
20525 (display-buffer-normalize-arguments): Rename to
20526 display-buffer-normalize-argument and rewrite. Set the
20527 other-window specifier.
20528 (display-buffer-normalize-special): New function.
20529 (display-buffer-normalize-options): Rename to
20530 display-buffer-normalize-default and rewrite.
20531 (display-buffer-normalize-options-inhibit): Remove.
20532 (display-buffer-normalize-specifiers): Rewrite.
20533 (display-buffer): Process other-window specifier and call
20534 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20535 more faithfully.
20536 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20537 (display-buffer-alist-set): Don't handle 'unset default values.
20538 (display-buffer-in-window, display-buffer-alist-set):
20539 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20540 <tassilo@member.fsf.org>.
20541
20542 2011-07-09 Leo Liu <sdl.web@gmail.com>
20543
20544 * register.el (insert-register): Restore accidental change on
20545 2011-06-26. (Bug#9028)
20546
20547 2011-07-09 Glenn Morris <rgm@gnu.org>
20548
20549 * subr.el (remq): Handle the empty list. (Bug#9024)
20550
20551 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20552
20553 * mail/sendmail.el (send-mail-function): No longer delay custom
20554 initialization.
20555 * custom.el (custom-initialize-delay): Doc fix.
20556
20557 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20558
20559 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20560
20561 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20562
20563 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20564 human-friendly prompt.
20565
20566 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20567
20568 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20569 provided by a particular plugin.
20570
20571 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20572
20573 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20574 save customizations (with "emacs -Q"), just set the variable
20575 instead of erroring out.
20576
20577 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20578
20579 2011-07-08 Juri Linkov <juri@jurta.org>
20580
20581 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20582 (archive-zip-update-case): Use 7z if found by `executable-find'.
20583 The order of searching the available programs is the same as in
20584 `archive-zip-extract' (bug#8968).
20585
20586 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20587
20588 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20589 (menu-bar-options-menu): Tweak descriptions.
20590
20591 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20592
20593 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20594 menu items into verb phrases (bug#1421). Also refill to fit under
20595 80 columns.
20596
20597 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20598
20599 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20600 (Info-read-node-name): Doc fix (Bug#1084).
20601
20602 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20603 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20604 (end-of-sexp, beginning-of-sexp)
20605 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20606 (forward-symbol, forward-same-syntax, word-at-point)
20607 (sentence-at-point): Doc fix (Bug#1144).
20608
20609 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20610
20611 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20612 should cover it (bug#1281).
20613
20614 * cus-edit.el (custom-show): Mark as obsolete.
20615
20616 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20617 negotiation fails, then possibly try again with a non-encrypted
20618 connection (bug#9017).
20619
20620 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20621 be used.
20622
20623 2011-07-07 Richard Stallman <rms@gnu.org>
20624
20625 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20626 property, and handle its changed format.
20627 Look for the correct line number.
20628 Use file's line contents (but not past first =) to find
20629 correct line in message.
20630
20631 2011-07-07 Kenichi Handa <handa@m17n.org>
20632
20633 * international/characters.el (build-unicode-category-table):
20634 Delete it.
20635 (unicode-category-table): Set it by unicode-property-table-internal.
20636
20637 * international/mule-cmds.el (char-code-property-alist): Move to
20638 to src/chartab.c.
20639 (get-char-code-property): Call unicode-property-table-internal to
20640 load a file. Call get-unicode-property-internal where necessary.
20641 (put-char-code-property): Call unicode-property-table-internal to
20642 load a file. Call put-unicode-property-internal where necessary.
20643 put-unicode-property-internal where necessary.
20644 (char-code-property-description):
20645 Call unicode-property-table-internal to load a file.
20646
20647 * international/charprop.el:
20648 * international/uni-bidi.el:
20649 * international/uni-category.el:
20650 * international/uni-combining.el:
20651 * international/uni-comment.el:
20652 * international/uni-decimal.el:
20653 * international/uni-decomposition.el:
20654 * international/uni-digit.el:
20655 * international/uni-lowercase.el:
20656 * international/uni-mirrored.el:
20657 * international/uni-name.el:
20658 * international/uni-numeric.el:
20659 * international/uni-old-name.el:
20660 * international/uni-titlecase.el:
20661 * international/uni-uppercase.el: Regenerate.
20662
20663 * loadup.el: Load international/charprop.el before
20664 international/characters.
20665
20666 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20667
20668 * window.el (next-buffer, previous-buffer): Signal an error if
20669 called from a minibuffer window.
20670
20671 * bindings.el: Revert 2011-07-04 change.
20672
20673 2011-07-06 Richard Stallman <rms@gnu.org>
20674
20675 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20676 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20677 Treat markers like ints.
20678 (rmail-mime-entity): Doc fix.
20679
20680 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20681
20682 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20683 defcustom again for backwards compatibility.
20684
20685 * simple.el (shell-command-on-region): Fill.
20686
20687 * dired-aux.el (dired-kill-line): Add a doc string.
20688
20689 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20690 to "\\sw\\|\\s_" (bug#358).
20691
20692 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20693 (dired-unmark-backward): Ditto.
20694 (dired-flag-backup-files): Ditto.
20695
20696 * dired-x.el (dired-mark-sexp): Ditto.
20697
20698 2011-07-06 Richard Stallman <rms@gnu.org>
20699
20700 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20701 (rmail-mime-entity): New arg TRUNCATED.
20702 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20703 New functions.
20704 (rmail-mime-save): Warn if entity is truncated.
20705 (rmail-mime-toggle-hidden): Likewise, for showing.
20706 (rmail-mime-process-multipart): Record when an entity is truncated.
20707
20708 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20709 if ENTITY is a string.
20710
20711 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20712
20713 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20714 of faces when `M-C-x'-ing their definitions (bug#8378).
20715 Also clean up the code slightly.
20716
20717 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20718 because that makes the colors go away.
20719
20720 * mail/sendmail.el (send-mail-function): Change the default to
20721 `sendmail-query-once'.
20722 (sendmail-query-once): Add an autoload cookie.
20723
20724 * net/network-stream.el (network-stream-open-starttls): Try using
20725 a plain connection even if the server offered STARTTLS, and we
20726 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20727 capability. This should make smtpmail.el work in slightly more
20728 configurations.
20729
20730 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20731
20732 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20733 New defun.
20734 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20735
20736 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20737
20738 * progmodes/sql.el: Version 3.0
20739 (sql-product-alist): Add product :completion-object,
20740 :completion-column, and :statement attributes.
20741 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20742 (sql-mode-syntax-table): Mark all punctuation.
20743 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20744 ansi keywords.
20745 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20746 (sql-mode-oracle-font-lock-keywords): Improve.
20747 (sql-oracle-show-reserved-words): New function for development.
20748 (sql-product-font-lock): Simplify for source code buffers.
20749 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20750 New functions.
20751 (sql-highlight-product): Set product specific syntax table.
20752 (sql-mode-map): Add statement movement functions.
20753 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20754 New variable.
20755 (sql-statement-regexp, sql-beginning-of-statement)
20756 (sql-end-of-statement, sql-signum): New functions.
20757 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20758 (sql-show-sqli-buffer): Bug fix.
20759 (sql-interactive-mode): Store connection data as buffer local.
20760 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20761 with sql-interactive-mode.
20762 (sql-save-connection): Save buffer local settings.
20763 (sql-connection-menu-filter): Change menu entry name.
20764 (sql-product-interactive): Bug fix.
20765 (sql-preoutput-hold): New variable.
20766 (sql-interactive-remove-continuation-prompt): Bug fixes.
20767 (sql-debug-redirect): New variable.
20768 (sql-str-literal): New function.
20769 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20770 Redesign.
20771 (sql-oracle-save-settings, sql-oracle-restore-settings)
20772 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20773 (sql-completion-object, sql-completion-column)
20774 (sql-completion-sqlbuf): New variables.
20775 (sql-build-completions-1, sql-build-completions)
20776 (sql-try-completion): New functions.
20777 (sql-read-table-name): Use them.
20778 (sql-contains-names): New buffer local variable.
20779 (sql-list-all, sql-list-table): Use it.
20780 (sql-oracle-completion-types): New variable.
20781 (sql-oracle-completion-object, sql-sqlite-completion-object)
20782 (sql-postgres-completion-object): New functions.
20783
20784 2011-07-06 Glenn Morris <rgm@gnu.org>
20785
20786 * window.el (pop-to-buffer): Doc fix.
20787
20788 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20789
20790 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20791
20792 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20793
20794 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20795
20796 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20797
20798 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20799
20800 * button.el (button): Inherit from link face. Suggested by Dan
20801 Nicolaescu.
20802
20803 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20804
20805 * progmodes/gdb-mi.el: Fit in 80 columns.
20806 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20807 switch-to-buffer.
20808
20809 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20810 if imenu is simply not configured (bug#8941).
20811
20812 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20813
20814 * allout.el (allout-post-undo-hook): New allout outline-change
20815 event hook to signal undo activity.
20816 (allout-post-command-business): Run allout-post-undo-hook if an
20817 undo just occurred.
20818 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20819 * allout-widgets.el (allout-widgets-after-undo-function):
20820 Ensure the integrity of the current item's decoration after it has been
20821 in the vicinity of an undo.
20822 (allout-widgets-mode): Include allout-widgets-after-undo-function
20823 on the new allout-post-undo-hook.
20824
20825 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20826
20827 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20828 Let define-derived-mode define it.
20829 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20830 cycles of abbrev-table inheritance (bug#8998).
20831
20832 2011-07-05 Roland Winkler <winkler@gnu.org>
20833
20834 * textmodes/bibtex.el: Add support for biblatex.
20835 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20836 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20837 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20838 (bibtex-entry-alist, bibtex-field-alist): New variables.
20839 (bibtex-entry-field-alist): Obsolete alias for
20840 bibtex-BibTeX-entry-alist.
20841 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20842 (bibtex-set-dialect): New command.
20843 (bibtex-entry-type, bibtex-entry-head)
20844 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20845 Bind via bibtex-set-dialect.
20846 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20847 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20848 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20849 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20850 Define via bibtex-set-dialect.
20851 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20852 Obey bibtex-no-opt-remove-re.
20853 (bibtex-vec-push, bibtex-vec-incr): New functions.
20854 (bibtex-format-entry, bibtex-field-list)
20855 (bibtex-print-help-message, bibtex-validate)
20856 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20857
20858 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20859
20860 * progmodes/compile.el (compilation-goto-locus):
20861 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20862 * bs.el (bs-cycle-next, bs-cycle-previous):
20863 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20864 * bindings.el (mode-line-other-buffer):
20865 * autoinsert.el (auto-insert):
20866 * arc-mode.el (archive-extract):
20867 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20868
20869 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20870
20871 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20872 Fix check of `emacs-lock-unlockable-modes'.
20873 Coerce true values of `emacs-lock--try-unlocking' to t.
20874
20875 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20876
20877 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20878 * emacs-lock.el: New file.
20879
20880 2011-07-05 Julien Danjou <julien@danjou.info>
20881
20882 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20883 than `boundp' to check if face is set.
20884
20885 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20886
20887 * register.el (registerv-make):
20888 * window.el (window-min-height): Fix typos in docstrings.
20889
20890 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20891
20892 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20893 Update doc string.
20894
20895 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20896
20897 * server.el (server-execute): Catch quit and call
20898 `server-return-error' to pass the error back to emacsclient and
20899 close the connection (bug#8942).
20900
20901 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20902
20903 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20904 insecure exception for current topic. Also note that auto-saves
20905 are handled differently.
20906
20907 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20908 State variables for tracking auto-save inhibition situation.
20909
20910 (allout-write-contents-hook-handler): Rename from
20911 'allout-write-file-hook-handler', and describe how it depends on
20912 write-contents-functions sensitivity to non-nil value to prevent
20913 file write.
20914
20915 (allout-auto-save-hook-handler): Remove. auto-save does not check
20916 this in individual buffers, only in the starting buffer, so this
20917 is not the right way for us to inhibit auto-save in a buffer
20918 according to its condition.
20919
20920 (allout-mode): Use new allout-write-contents-hook-handler, and
20921 only with write-contents-functions. Remove auto-save provisions -
20922 they're implemented elsewhere.
20923
20924 (allout-before-change-handler): If undo is in progress, note that
20925 for attention of allout-post-command-business.
20926
20927 (allout-post-command-business): If the command we're following was
20928 an undo, check for change in the status of encrypted items and
20929 adjust auto-save inhibitions accordingly.
20930
20931 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20932 according to whether there are or aren't any plain-text topics
20933 pending encryption.
20934
20935 (allout-inhibit-auto-save-info-for-decryption):
20936 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20937 if there are plain-text topics pending encryption.
20938
20939 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20940 buffer-saved-size and some allout state to not inhibit auto-saves
20941 if there are no longer any plain-text topics pending encryption.
20942
20943 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20944 No longer provide for exemption of the current topic.
20945
20946 2011-07-04 Juri Linkov <juri@jurta.org>
20947
20948 Add 7z operations to delete and save changed members (bug#8968).
20949 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20950 New defcustoms.
20951 (archive-7z-write-file-member): New function.
20952 (archive-7z-summarize): Fix the number of dashes in the
20953 listing output.
20954
20955 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20956
20957 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20958 (bug#8958).
20959
20960 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20961
20962 * bindings.el: Ignore next-buffer and previous-buffer in
20963 minibuffer-local-map.
20964
20965 * font-lock.el (font-lock-builtin-face): Change light background
20966 color to dark slate blue (Bug#6693).
20967
20968 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20969
20970 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20971
20972 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20973
20974 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20975 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20976 Add switch-to-buffer.
20977
20978 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20979
20980 * isearch.el (isearch-search-fun-function): Clarify further the
20981 meaning of the function returned.
20982
20983 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20984
20985 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20986
20987 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20988 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20989 Use it.
20990 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20991 `tramp-default-remote-path' does not exist.
20992 (tramp-send-command-and-read): New optional argument NOERROR.
20993 (tramp-open-connection-setup-interactive-shell)
20994 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20995 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20996 (tramp-process-sentinel): Flush also process' connection property.
20997 (tramp-sh-handle-start-file-process): Do not set process
20998 sentinel. It is done now ...
20999 (tramp-maybe-open-connection): ... here. (Bug#8929)
21000
21001 2011-07-04 MON KEY <monkey@sandpframing.com>
21002
21003 * play/animate.el (animate-string): Doc fixes and allow changing
21004 the buffer name (bug#5417).
21005
21006 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21007
21008 * play/animate.el (animation-buffer-name): Rename from *animate*.
21009
21010 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21011
21012 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21013 This is simpler and helps future-proof the code.
21014 (timer-until): Use time-subtract and float-time.
21015 (timer--time-less-p): Use time-less-p.
21016
21017 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21018
21019 * type-break.el (timep): Use the value of `float-time' to avoid a
21020 byte-compiler warning.
21021
21022 * server.el (server-eval-and-print): Return any result, even nil.
21023
21024 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21025
21026 * type-break.el: Accept time formats that the builtins accept.
21027 (timep, type-break-time-difference): Accept any format that
21028 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21029 This is simpler and helps future-proof the code.
21030 (type-break-time-difference): Round rather than ignoring
21031 subseconds components.
21032
21033 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21034
21035 * info.el (Info-apropos-matches): Make non-interactive, since it
21036 doesn't seem to do anything useful as a command (bug#8829).
21037
21038 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21039
21040 * frame.el (frame-background-mode, frame-set-background-mode):
21041 Move from faces.el.
21042 (frame-default-terminal-background): New function.
21043
21044 * custom.el (custom-push-theme): Don't record faces in `changed'
21045 theme; this doesn't work correctly for per-frame face settings.
21046 (disable-theme): Use face-set-after-frame-default to reset faces.
21047 (custom--frame-color-default): New function.
21048
21049 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21050
21051 * dired.el (dired-flagging-regexp): Remove unused variable
21052 (bug#8769).
21053
21054 2011-03-29 Kevin Ryde <user42@zip.com.au>
21055
21056 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21057 `perl-Test2' extend to match possible "fail #N" rep count
21058 (bug#8377).
21059
21060 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21061
21062 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21063 `smtpmail-via-smtp' now returns the error instead of nil.
21064
21065 * isearch.el (isearch-search-fun-function): Clarify the doc string
21066 (bug#8101).
21067
21068 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21069
21070 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21071 unnecessary spaces (bug#8987).
21072
21073 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21074
21075 * net/network-stream.el (open-network-stream): Use the
21076 :end-of-capability command thoughout.
21077
21078 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21079
21080 * net/network-stream.el (open-network-stream): Add the
21081 :end-of-capability command parameter, used by pop3.el.
21082
21083 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21084
21085 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21086
21087 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21088 for list)" (bug#6475).
21089
21090 * files.el (file-expand-wildcards): Ignore non-readable
21091 sub-directories while trying to find matches instead of signaling
21092 an error (bug#6297).
21093
21094 * man.el (Man-reference-regexp): Allow matching possible
21095 word-wrapped references (bug#6289).
21096
21097 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21098 for consistency with the other vc buffers (bug#6197).
21099 (vc-checkin): Ditto.
21100
21101 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21102
21103 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21104
21105 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21106
21107 * custom.el (defcustom): Clarify that :set is only used in the
21108 Customize user interface (bug#6089).
21109
21110 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21111 associated with a file, refuse to run instead of erroring out
21112 (bug#6084).
21113
21114 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21115 the doc string, since it appears that using `fill-column' always
21116 controls the width (bug#7845).
21117
21118 * simple.el (shell-command-on-region): Say where the error output
21119 went if `shell-command-default-error-buffer' is set (bug#6857).
21120
21121 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21122
21123 * allout.el (allout-yank-processing): Adjust cursor position for
21124 backwards-deleted space.
21125
21126 (allout-rebullet-heading): Register changes with
21127 allout-exposure-changed-hook, so the modified topic is properly
21128 decorated.
21129
21130 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21131
21132 * minibuffer.el (completion-in-region): Document PREDICATE
21133 (bug#7136).
21134
21135 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21136 of keyword/argument pairs (bug#6904).
21137
21138 * replace.el (multi-occur):
21139 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21140
21141 2011-07-02 Drew Adams <drew.adams@oracle.com>
21142
21143 * dired.el (dired-mark-if): Make the message about whether it's
21144 marking or unmarking clearer (bug#8523).
21145
21146 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21147
21148 * disp-table.el (display-table-print-array): New function.
21149 (describe-display-table): Use it to print the vectors more pretty
21150 (Bug#8859).
21151
21152 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21153
21154 * window.el (window-state-get-1): Don't assign clone numbers.
21155 Add clone-of item to list of window parameters.
21156 (window-state-put-2): Don't process clone numbers.
21157 (display-buffer-alist): Fix doc-string.
21158
21159 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21160
21161 * subr.el (remq): Don't allocate if it's not needed.
21162 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21163 (keymap--merge-bindings): New functions.
21164 (keymap-canonicalize): Use them to refine the canonicalization.
21165 * minibuffer.el (minibuffer-local-completion-map)
21166 (minibuffer-local-must-match-map): Move initialization from C.
21167 (minibuffer-local-filename-completion-map): Move initialization from C;
21168 don't inherit from anything here.
21169 (minibuffer-local-filename-must-match-map): Make obsolete.
21170 (completing-read-default): Use make-composed-keymap to combine
21171 minibuffer-local-filename-completion-map with either
21172 minibuffer-local-must-match-map or
21173 minibuffer-local-filename-completion-map.
21174
21175 2011-07-01 Glenn Morris <rgm@gnu.org>
21176
21177 * type-break.el (type-break-time-sum): Use dolist.
21178
21179 * textmodes/flyspell.el (flyspell-word-search-backward):
21180 Replace CL function.
21181
21182 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21183
21184 * mouse.el (mouse--strip-first-event): New function.
21185 (function-key-map): Use it to map fringe clicks to normal clicks
21186 by default.
21187
21188 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21189 (vc-bzr-revision-completion-table): Add support for annotate and date.
21190
21191 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21192 inherit from parent.
21193
21194 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21195
21196 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21197 (dired-show-file-type): Doc fixup (bug#8818).
21198
21199 * dired.el (dired-mode): Fix up the doc string as suggested by
21200 Drew Adams (bug#8817).
21201
21202 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21203 cookie, since the manual says that it should be possible to add
21204 this function to `find-file-hook' (bug#8709).
21205
21206 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21207
21208 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21209 here. Noted Ted Zlatanov as the maintainer.
21210 (cfengine-common-settings, cfengine-common-syntax): New functions
21211 to set up common things between `cfengine-mode' and
21212 `cfengine3-mode'.
21213 (cfengine3-mode): New mode.
21214 (cfengine3-defuns cfengine3-defuns-regex
21215 (cfengine3-class-selector-regex cfengine3-category-regex)
21216 (cfengine3-vartypes cfengine3-font-lock-keywords)
21217 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21218 (cfengine3-indent-line): Add from cfengine3.el.
21219
21220 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21221
21222 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21223
21224 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21225
21226 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21227
21228 * window.el (same-window-buffer-names, same-window-regexps)
21229 (same-window-p, special-display-frame-alist)
21230 (special-display-popup-frame, special-display-function)
21231 (special-display-buffer-names, special-display-regexps)
21232 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21233 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21234 (split-window-preferred-function, split-height-threshold)
21235 (split-width-threshold, even-window-heights)
21236 (display-buffer-mark-dedicated, window-splittable-p)
21237 (split-window-sensibly, window-safely-shrinkable-p):
21238 Un-obsolete.
21239 (display-buffer): Don't spread args with function specifier
21240 because special-display-popup-frame won't like it.
21241
21242 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21243
21244 Time-stamp simplifications and fixes.
21245 These improve accuracy slightly, and future-proof the code
21246 against some potential changes to current-time format.
21247
21248 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21249 by using time-since and float-time.
21250
21251 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21252 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21253 + NNN microseconds".
21254
21255 * type-break.el (type-break-time-sum): Rewrite using time-add.
21256
21257 * play/hanoi.el (hanoi-current-time-float): Remove.
21258 All uses replaced by float-time.
21259
21260 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21261 This yields a more-accurate answer.
21262 (rng-time-to-float): Remove; no longer needed.
21263
21264 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21265
21266 * calendar/timeclock.el (timeclock-seconds-to-time):
21267 Defalias to seconds-to-time, since they're the same thing.
21268
21269 * emacs-lisp/elp.el (elp-elapsed-time):
21270 * emacs-lisp/benchmark.el (benchmark-elapse):
21271 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21272
21273 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21274
21275 * window.el (bury-buffer): Don't iconify the only frame.
21276 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21277 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21278
21279 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21280
21281 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21282 Add mouse-yank-primary.
21283
21284 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21285
21286 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21287
21288 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21289
21290 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21291 (find-library-name): Use it to find relative load names when provided
21292 absolute file name (bug#8803).
21293
21294 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21295
21296 * textmodes/flyspell.el (flyspell-word): Consider words that
21297 differ only in case as potential doublons (bug#5687).
21298
21299 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21300 Remove two rather uninteresting debugging-like messages to make
21301 debbugs.el more silent.
21302
21303 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21304 a password-like phrase.
21305
21306 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21307
21308 * progmodes/cc-guess.el: New file.
21309
21310 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21311
21312 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21313 derived from `c-basic-common-init'.
21314
21315 * progmodes/cc-mode.el (top-level): Require cc-guess.
21316 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21317
21318 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21319
21320 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21321
21322 2011-06-30 Alan Mackenzie <acm@muc.de>
21323
21324 * progmodes/cc-engine.el (c-guess-continued-construct):
21325 Correct the handling of template-args-cont, particularly for when font
21326 lock is disabled. Name this case as "CASE G".
21327
21328 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21329
21330 * allout.el (allout-yank-processing): Fix injection of extra space
21331 between bullet and non-whitespace character in first topic when
21332 pasting, ensuring that the actual spacing in the pasted topic
21333 following the bullet char is preserved. This extra space was
21334 causing pasted encrypted topics to get a decrypted status even
21335 when the content was actually still encrypted. Now the decryption
21336 status from before the paste is preserved.
21337
21338 (allout-flag-region): Set all allout overlays so they evaporate
21339 when reduced to zero length (evanescent), to prevent overlay
21340 leakage.
21341
21342 2011-06-30 Glenn Morris <rgm@gnu.org>
21343
21344 * w32-fns.el (w32-charset-info-alist): Declare.
21345
21346 * find-dired.el (find-grep-options): Simplify.
21347
21348 * term/ns-win.el (ns-set-resource): Declare.
21349
21350 * ses.el (row, col): Declare dynamic variables honestly.
21351
21352 * textmodes/reftex-parse.el (index-tags): Declare.
21353
21354 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21355
21356 * cus-edit.el (customize-push-and-save): New function.
21357
21358 * files.el (hack-local-variables-confirm): Use it.
21359
21360 * custom.el (load-theme): New arg NO-CONFIRM.
21361 Use customize-push-and-save (Bug#8720).
21362 (custom-enabled-themes): Doc fix.
21363
21364 * cus-theme.el (customize-create-theme)
21365 (custom-theme-merge-theme): Callers to load-theme changed.
21366
21367 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21368
21369 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21370 short URLs have at least one dot in them (bug #7614).
21371
21372 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21373 nil, because using a pty is apparently too slow (bug #895).
21374
21375 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21376
21377 * mail/sendmail.el (sendmail-query-once): New function.
21378 (sendmail-query-once-function): New variable.
21379
21380 2011-06-29 Glenn Morris <rgm@gnu.org>
21381
21382 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21383
21384 * ses.el (top-level): Require cl when compiling.
21385 (ses-set-localvars): Fix error statement.
21386 Call it at compile time to silence a storm of warnings.
21387
21388 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21389
21390 * window.el (normalize-live-buffer): Rename to
21391 window-normalize-buffer.
21392 (normalize-live-frame): Rename to window-normalize-frame.
21393 (normalize-any-window): Rename to window-normalize-any-window.
21394 (normalize-live-window): Rename to window-normalize-live-window.
21395 (make-window-atom): Rename to window-make-atom.
21396 (window-resize-reset): Rename to window--resize-reset.
21397 (window-resize-reset-1): Rename to window--resize-reset-1.
21398 (resize-mini-window): Rename to window--resize-mini-window.
21399 (resize-subwindows-skip-p): Rename to
21400 window--resize-subwindows-skip-p.
21401 (resize-subwindows-normal): Rename to
21402 window--resize-subwindows-normal.
21403 (resize-subwindows): Rename to window--resize-subwindows.
21404 (resize-other-windows): Rename to window--resize-siblings.
21405 (resize-this-window): Rename to window--resize-this-window.
21406 (resize-root-window): Rename to window--resize-root-window.
21407 (resize-root-window-vertically): Rename to
21408 window--resize-root-window-vertically.
21409 (normalize-buffer-to-display): Rename to
21410 window-normalize-buffer-to-display.
21411 (normalize-buffer-to-switch-to): Rename to
21412 window-normalize-buffer-to-switch-to.
21413 Correspondingly update all callers of the functions listed
21414 above.
21415 (display-buffer-alist, display-buffer-normalize-arguments)
21416 (display-buffer-normalize-options, display-buffer)
21417 (display-buffer-alist-set): Use "function" instead of
21418 "fun-with-args".
21419
21420 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21421
21422 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21423 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21424 debbugs.gnu.org. Mention acknowledgment email.
21425
21426 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21427
21428 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21429 buffer multibyteness, since it shouldn't matter.
21430
21431 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21432
21433 * window.el (display-buffer-in-side-window): Handle dedicated
21434 windows as in display-buffer-reuse-window.
21435 (display-buffer-normalize-alist): Use value of override
21436 specifier.
21437 (display-buffer-normalize-specifiers): Use value of
21438 other-window-means-other-frame specifier.
21439 (display-buffer-alist): Rewrite some texts in widgets.
21440 (display-buffer): Spread arguments when calling function
21441 specified by fun-with-args.
21442
21443 2011-06-28 Deniz Dogan <deniz@dogan.se>
21444
21445 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21446 Unnest `let'.
21447
21448 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21449 selectors (Bug#5732).
21450 (css-proprietary-nmstart-re): Use `regexp-opt'.
21451
21452 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21453
21454 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21455 (eshell-ls-date-format): New defcustom.
21456 (eshell-ls-file): Use it.
21457
21458 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21459
21460 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21461
21462 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21463
21464 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21465 (ange-ftp-make-tmp-name): New arg.
21466 (ange-ftp-file-local-copy): Use it.
21467
21468 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21469
21470 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21471 no-conversion (Bug#8870).
21472
21473 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21474
21475 * window.el (window-right, window-left, window-child)
21476 (window-child-count, window-last-child)
21477 (window-iso-combination-p, walk-window-tree-1)
21478 (window-atom-check-1, window-tree-1, delete-window)
21479 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21480 new naming conventions - window-vchild, window-hchild,
21481 window-next and window-prev are now called window-top-child,
21482 window-left-child, window-next-sibling and window-prev-sibling
21483 respectively.
21484 (resize-window-reset): Rename to window-resize-reset.
21485 (resize-window-reset-1): Rename to window-resize-reset-1.
21486 (resize-window): Rename to window-resize.
21487 (window-min-height, window-min-width)
21488 (resize-mini-window, resize-this-window, resize-root-window)
21489 (resize-root-window-vertically, adjust-window-trailing-edge)
21490 (enlarge-window, shrink-window, maximize-window)
21491 (minimize-window, delete-window, quit-restore-window)
21492 (split-window, balance-windows, balance-windows-area-adjust)
21493 (balance-windows-area, window-state-put-2)
21494 (display-buffer-even-window-sizes, display-buffer-set-height)
21495 (display-buffer-set-width, set-window-text-height)
21496 (fit-window-to-buffer): Rename all "resize-window" prefixed
21497 calls to use the "window-resize" prefix convention.
21498 (display-buffer-alist): Fix symbol for label specifier.
21499 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21500 corresponding specifier.
21501 Reported by Juanma Barranquero <lekktu@gmail.com>.
21502
21503 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21504
21505 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21506 convention.
21507 (ses-call-printer): Does not pass an empty string to formatter when the
21508 cell is empty to keep from barking printer Calc math-format-value.
21509
21510 2011-06-27 Richard Stallman <rms@gnu.org>
21511
21512 * battery.el (battery-mode-line-limit): New variable.
21513 (battery-update): Handle it.
21514
21515 * mail/rmailmm.el (rmail-mime-process-multipart):
21516 Handle truncated messages.
21517
21518 2011-06-27 Glenn Morris <rgm@gnu.org>
21519
21520 * progmodes/flymake.el (flymake-err-line-patterns):
21521 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21522
21523 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21524
21525 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21526 (ses--clean-!, ses--clean-_): New functions.
21527 (ses-range): Add configurability of readout order, and conversion
21528 to Calc vector.
21529
21530 * ses.el (ses-repair-cell-reference-all): New function.
21531 (ses-cell-symbol): Set macro as safe, so that it can be used in
21532 formulas.
21533
21534 * ses.el: Update cycle detection algorithm.
21535 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21536 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21537 (ses-set-localvars): New function.
21538 (ses-make-cell): Add property-list as a cell element.
21539 (ses-cell-property-get-fun, ses-cell-property-get)
21540 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21541 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21542 New functions.
21543 (ses-cell-property-set, ses-cell-property-pop)
21544 (ses-cell-property-get-handle): New macro.
21545 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21546 New aliases, used for code readability.
21547 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21548 cycle detection.
21549 (ses-self-reference-early-detection): New defcustom.
21550 (ses-formula-references): Robustify against self-referring cells.
21551 (ses-mode): Use ses-set-localvars.
21552 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21553 before lauching the update processing.
21554 (ses-initialize-Dijkstra-attempt): New function.
21555 (ses-recalculate-cell): Update for cycle detection based on
21556 Dijkstra algorithm.
21557
21558 * ses.el: Fix commenting and indenting convention.
21559
21560 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21561
21562 * bs.el (bs-cycle-next): Complete last change.
21563
21564 2011-06-27 Drew Adams <drew.adams@oracle.com>
21565
21566 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21567
21568 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21569
21570 * net/network-stream.el (network-stream-open-starttls):
21571 Don't re-get capabilities unless we've reestablished connection.
21572 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21573
21574 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21575 to binary to possibly avoid line encoding issues on Windows (among
21576 other things).
21577
21578 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21579
21580 * net/network-stream.el (open-network-stream): Return an :error
21581 saying what the problem was, if possible.
21582
21583 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21584 server.
21585
21586 * net/network-stream.el (network-stream-open-starttls): If we
21587 wanted to use STARTTLS, and the server offered it, but we weren't
21588 able to because we had no STARTTLS support, then close the connection.
21589 (open-network-stream): Return an :error element, if present.
21590
21591 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21592
21593 * hl-line.el (hl-line-sticky-flag): Doc fix.
21594 (global-hl-line-sticky-flag): New option (Bug#8323).
21595 (global-hl-line-highlight): Obey it.
21596
21597 * vc/vc.el (vc-revert-show-diff): Default to t.
21598
21599 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21600
21601 * allout-widgets.el (allout-widgets-post-command-business):
21602 Stop decorating intermediate isearch matches. They're not being
21603 undecorated when an isearch is continued past, and isearch
21604 automatically collapses them. This leads to "widget leaks", where
21605 decorated items accumulate in collapsed areas. Lines with lots of
21606 hidden widgets can slow down cursor travel, substantially.
21607 Too much complicated machinery would be needed to ensure undecoration,
21608 so we're doing without this nicety.
21609
21610 (allout-widgets-tally-string): Don't try to do a hash-table-count
21611 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21612 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21613 *Messages* when allout-widgets-maintain-tally is t.
21614
21615 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21616
21617 * window.el (display-buffer-normalize-argument): Rename to
21618 display-buffer-normalize-arguments. Handle special meaning of
21619 LABEL argument. Respect special-display-function when popping up
21620 a new frame. Fix code searching for a window showing the buffer
21621 on another frame.
21622 (display-buffer-normalize-specifiers):
21623 Call display-buffer-normalize-arguments.
21624 (display-buffer-in-window): Don't undedicate the window if its
21625 buffer remains the same.
21626 Reported by Drew Adams <drew.adams@oracle.com>.
21627 (display-buffer-alist): Add choice for same-window macro
21628 specfier.
21629 (display-buffer): Mention special meaning of LABEL argument in
21630 doc-string. Fix quoting. Don't pop up a new frame even as
21631 fallback.
21632
21633 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21634
21635 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21636 avoid deleting the current window in some cases (bug#8911).
21637
21638 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21639
21640 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21641 (Bug#8934)
21642
21643 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21644
21645 * net/network-stream.el (network-stream-open-starttls):
21646 Use built-in TLS support if `gnutls-available-p' is true.
21647 (network-stream-open-tls): Ditto.
21648
21649 2011-06-26 Leo Liu <sdl.web@gmail.com>
21650
21651 * register.el (registerv): New struct.
21652 (registerv-make): New function.
21653 (jump-to-register, describe-register-1, insert-register):
21654 Support the jump-func, print-func and insert-func slot of a registerv
21655 struct. (Bug#8415)
21656
21657 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21658
21659 * vc/vc.el (vc-revert-show-diff): New defcustom.
21660 (vc-diff-internal): New arg specifying diff buffer.
21661 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21662 reuse an existing *vc-diff* buffer (Bug#8927).
21663
21664 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21665
21666 2011-06-26 Glenn Morris <rgm@gnu.org>
21667
21668 * progmodes/f90.el (f90-critical-indent): New option.
21669 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21670 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21671 (f90-mode): Doc fix.
21672 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21673 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21674 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21675 (f90-match-end): Handle block, critical.
21676
21677 2011-06-25 Glenn Morris <rgm@gnu.org>
21678
21679 * calendar/diary-lib.el (diary-included-files): Doc fix.
21680 (diary-include-files): New function, extracted from
21681 diary-include-other-diary-files and diary-mark-included-diary-files.
21682 (diary-include-other-diary-files, diary-mark-included-diary-files):
21683 Just call diary-include-files.
21684 (diary-mark-entries): Reset diary-included-files on first call.
21685
21686 * calendar/diary-lib.el (diary-mark-entries)
21687 (diary-mark-included-diary-files):
21688 Visit included diary-files in temp buffers.
21689
21690 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21691 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21692 (f90-start-block-re, f90-imenu-generic-expression)
21693 (f90-looking-at-program-block-start, f90-no-block-limit):
21694 Add support for submodules.
21695
21696 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21697 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21698
21699 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21700
21701 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21702 buffer-file-type before setting its value, to avoid disastrous
21703 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21704
21705 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21706
21707 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21708
21709 * ses.el (ses-unload-function):
21710 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21711
21712 * proced.el (proced-unload-function):
21713 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21714
21715 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21716
21717 * server.el (server-create-window-system-frame): Add parameters arg.
21718 (server-process-filter): Doc fix. Handle frame-parameters.
21719
21720 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21721
21722 Fix bug#8730, bug#8781.
21723
21724 * loadhist.el (unload--set-major-mode): New function.
21725 (unload-feature): Use it.
21726
21727 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21728 (python-unload-function): New function.
21729
21730 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21731
21732 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21733
21734 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21735
21736 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21737 the candidates list.
21738
21739 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21740
21741 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21742
21743 2011-06-23 Richard Stallman <rms@gnu.org>
21744
21745 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21746 (rmail-variables): Set next-error-move-function.
21747 (rmail-what-message): Take argument POS.
21748 (rmail-next-error-move): New function.
21749
21750 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21751
21752 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21753 messages for adjacent non-terminals.
21754
21755 2011-06-23 Richard Stallman <rms@gnu.org>
21756
21757 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21758 (rmail-show-message-1): Preserve buffer modified flag.
21759 (rmail-start-mail): Don't specify use of rmail-mail-return;
21760 that's done by mail-bury now.
21761 (rmail-mail-return): Handle arg NEWBUF.
21762
21763 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21764
21765 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21766 SIZE is a number.
21767
21768 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21769
21770 * window.el (get-lru-window, get-mru-window)
21771 (get-largest-window): Never return a minibuffer window.
21772 (display-buffer-pop-up-window): Fix a bug that could lead to
21773 reusing the minibuffer window.
21774 (display-buffer): Pass original specifier argument to
21775 display-buffer-function instead of the normalized one.
21776 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21777
21778 2011-06-22 Leo Liu <sdl.web@gmail.com>
21779
21780 * minibuffer.el (completing-read-function)
21781 (completing-read-default): Move from minibuf.c.
21782
21783 2011-06-22 Richard Stallman <rms@gnu.org>
21784
21785 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21786 to Rmail even if not started by a special Rmail command.
21787
21788 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21789 Copy the buffer currently showing just one message.
21790
21791 2011-06-22 Roland Winkler <winkler@gnu.org>
21792
21793 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21794 (bibtex-clean-entry): First delete the old key so that a
21795 customized algorithm for generating the new key does not get
21796 confused by the old key.
21797 (bibtex-url): Obey regexp of first step.
21798 (bibtex-search-entries): Do not use add-to-list with local
21799 list-var.
21800
21801 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21802
21803 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21804 stored a user name, then query for the password first, instead of
21805 waiting for SMTP to give an error message and the trying again.
21806
21807 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21808
21809 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21810 BUFFER in call-process.
21811
21812 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21813
21814 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21815 QUIT twice.
21816 (smtpmail-try-auth-methods): Require user name and password from
21817 auth-source.
21818
21819 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21820
21821 * window.el (display-buffer-default-specifiers)
21822 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21823 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21824 (split-window): Normalize SIDE argument (Bug#8916).
21825
21826 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21827 (special-display-frame-alist, special-display-popup-frame):
21828 Remove duplicate declarations. These are now in window.el.
21829
21830 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21831
21832 * mail/smtpmail.el (smtpmail-via-smtp):
21833 Set :use-starttls-if-possible so that we always use STARTTLS if the
21834 server supports it. SMTP servers that support STARTTLS commonly
21835 require it.
21836
21837 * net/network-stream.el (network-stream-open-starttls): Support
21838 upgrading to STARTTLS always, even if we don't have built-in support.
21839 (open-network-stream): Add the :always-query-capabilities keyword.
21840
21841 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21842 upgrades with `open-network-stream', and rely solely on
21843 auth-source for all credentials. Big changes throughout the file,
21844 but in particular:
21845 (smtpmail-auth-credentials): Remove.
21846 (smtpmail-starttls-credentials): Remove.
21847 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21848 MAIL FROM, too.
21849
21850 * net/network-stream.el (network-stream-open-starttls):
21851 Provide support for client certificates both for external and built-in
21852 STARTTLS.
21853 (auth-source): Require.
21854 (open-network-stream): Document the :client-certificate keyword.
21855 (network-stream-certificate): Change cert-cert to cert and
21856 cert-key to key.
21857
21858 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21859
21860 * net/tramp-cache.el (top): Don't load the persistency file when
21861 "emacs -Q" has been called.
21862
21863 2011-06-21 Tim Harper <timcharper@gmail.com>
21864
21865 * term/ns-win.el (ns-initialize-window-system):
21866 Set application-specific `ApplePressAndHoldEnabled' system
21867 resource to NO as it is not yet supported by the NS port.
21868
21869 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21870
21871 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21872 (list-dynamic-libraries): ...not here.
21873
21874 2011-06-21 Leo Liu <sdl.web@gmail.com>
21875
21876 * subr.el (sha1): Implement sha1 using secure-hash.
21877
21878 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21879
21880 * window.el (display-buffer-alist): In default value do not
21881 enforce searching a window on any but the selected frame.
21882 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21883 (display-buffer-select-window): Remove function.
21884 (display-buffer-in-window): When a window on another frame gets
21885 reused, do not select it any more but just raise its frame if
21886 necessary (Bug#8851) and (Bug#8856).
21887 (display-buffer-normalize-options): Handle pop-up-frames related
21888 options more faithfully.
21889 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21890 window if it is on another frame.
21891 (display-buffer-alist, display-buffer-default-specifiers):
21892 Don't make new frame unsplittable by default.
21893 (display-buffer-normalize-argument): Fix doc-string typo and use
21894 'same-frame-other-window instead of 'other-window when associating
21895 with display-buffer-macro-specifiers.
21896
21897 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21898
21899 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21900 New functions.
21901 (5x5-mode-map, 5x5-mode-menu): Bind them.
21902 (5x5-draw-grid): Tweak the solver's rendering.
21903
21904 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21905
21906 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21907 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21908
21909 2011-06-21 Drew Adams <drew.adams@oracle.com>
21910
21911 * menu-bar.el: Use function variable instead of switch-to-buffer.
21912 (menu-bar-select-buffer-function): New variable.
21913 (menu-bar-update-buffers): Use it (bug#8876).
21914
21915 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21916
21917 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21918 variable's status.
21919
21920 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21921
21922 * x-dnd.el (x-dnd-version-from-flags)
21923 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21924 and long as number (Bug#8899).
21925 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21926
21927 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21928
21929 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21930 (completion-try-completion, completion-all-completions): Compute the
21931 metadata argument if it's missing; make it optional (bug#8795).
21932
21933 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21934 (widget-complete): Use new :completion-function property.
21935 (widget-completions-at-point): New function.
21936 (default): Use :completion-function instead of :complete.
21937 (widget-default-completions): Rename from widget-default-complete;
21938 Rewrite.
21939 (widget-string-complete, widget-file-complete, widget-color-complete):
21940 Remove functions.
21941 (file, symbol, function, variable, coding-system, color):
21942 * international/mule-cmds.el (default-input-method, charset)
21943 (language-info-custom-alist):
21944 * cus-edit.el (face): Use new property :completions.
21945
21946 * progmodes/pascal.el (pascal-completions-at-point): New function.
21947 (pascal-mode): Use it.
21948 (pascal-mode-map): Use completion-at-point.
21949 (pascal-toggle-completions): Make obsolete.
21950 (pascal-complete-word, pascal-show-completions):
21951 * progmodes/octave-mod.el (octave-complete-symbol):
21952 Redefine as obsolete alias.
21953 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21954 Signal absence of completion info for old Octave,
21955 (inferior-octave-complete): Redefine as obsolete alias.
21956 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21957 (meta-completions-at-point): Rename from meta-complete-symbol and
21958 adapt it for use on completion-at-point-functions.
21959 (meta-common-mode): Use it.
21960 (meta-looking-at-backward, meta-match-buffer): Remove.
21961 (meta-complete-symbol): Redefine as obsolete alias.
21962 (meta-common-mode-map): Use completion-at-point.
21963 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21964 (makefile-mode-map): Use completion-at-point.
21965 (makefile-completions-at-point): Rename from makefile-complete and
21966 adapt it for use on completion-at-point-functions.
21967 (makefile-mode): Use it.
21968 (makefile-complete): Redefine as obsolete alias.
21969
21970 2011-06-20 Deniz Dogan <deniz@dogan.se>
21971
21972 * net/rcirc.el: Delete trailing whitespaces once and for all.
21973
21974 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21975
21976 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21977
21978 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21979
21980 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21981
21982 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21983
21984 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21985
21986 * window.el (display-buffer-other-window-means-other-frame):
21987 Call display-buffer-normalize-alist.
21988 (display-buffer-normalize-specifiers-1): Rename to
21989 display-buffer-normalize-argument. New argument other-frame.
21990 Rewrite.
21991 (display-buffer-normalize-specifiers-2): Rename to
21992 display-buffer-normalize-options.
21993 (display-buffer-normalize-alist-1): New function.
21994 (display-buffer-normalize-specifiers-3): Rename to
21995 display-buffer-normalize-alist.
21996 Call display-buffer-normalize-alist-1.
21997 (display-buffer-normalize-options-inhibit): New variable.
21998 (display-buffer-normalize-specifiers): Rewrite calling
21999 display-buffer-normalize-alist,
22000 display-buffer-normalize-argument, and
22001 display-buffer-normalize-options. Don't call the latter if
22002 display-buffer-normalize-options-inhibit is non-nil.
22003 (frame-auto-delete): New option.
22004 (window-deletable-p): Use frame-auto-delete.
22005 (window-list-no-nils, window-state-ignored-parameters)
22006 (window-state-get-1, window-state-get, window-state-put-list)
22007 (window-state-put-1, window-state-put-2, window-state-put):
22008 New functions.
22009 (display-buffer-normalize-options): Move special-display-p group
22010 after pop-up-frame group (Bug#8851) and (Bug#8856).
22011
22012 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22013
22014 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22015 groups (Bug#8776).
22016 (rx-submatch-n): New function.
22017 (rx): Document it.
22018
22019 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22020 (Bug#8768).
22021
22022 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22023
22024 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22025
22026 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22027 anytime existing face settings are present (Bug#8889).
22028
22029 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22030 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22031 Remove unused argument.
22032
22033 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22034
22035 * window.el (display-buffer-default-specifiers):
22036 Remove pop-up-frame. Add pop-up-window-min-height,
22037 pop-up-window-min-width, and another reuse-window specifier
22038 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22039 (display-buffer-normalize-specifiers-2):
22040 Handle split-height-threshold and split-width-threshold also when
22041 pop-up-windows is unset. Add a reuse-window specifier for the
22042 case popping up a new window fails.
22043 (special-display-popup-frame): Remove double quoting.
22044 (display-buffer-normalize-specifiers-1): Fix thinko.
22045
22046 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22047
22048 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22049 according to comint-completion-addsuffix.
22050
22051 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22052 (pcomplete-suffix-list): Mark as obsolete.
22053 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22054 pcomplete-seen in the closure.
22055 (pcomplete-comint-setup): Setup completion-at-point as well.
22056 (pcomplete--entries): New function.
22057 (pcomplete--env-regexp): New var.
22058 (pcomplete-entries): Rewrite to work with partial-completion and
22059 without relying on pcomplete-suffix-list.
22060 (pcomplete-pare-list): Remove, unused.
22061
22062 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22063
22064 * window.el (display-buffer-alist): Set pop-up-window-min-height
22065 and pop-up-window-min-width in default value. Reported by
22066 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22067 other-window-means-other-frame.
22068 (display-buffer-macro-specifiers): Comment out entry for
22069 other-window specifier.
22070 (display-buffer-other-window-means-other-frame): New function.
22071 (display-buffer-normalize-specifiers-1): New arguments
22072 buffer-name and label. Treat other-window case specially.
22073 (display-buffer-normalize-specifiers-2): Treat other-window case
22074 specially.
22075 (display-buffer-normalize-specifiers-3): New function.
22076 (display-buffer-normalize-specifiers):
22077 Call display-buffer-normalize-specifiers-3.
22078
22079 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22080
22081 * window.el (same-window-p): Fix two typos introduced when
22082 adding with-no-warnings.
22083 (display-buffer-normalize-specifiers-1): Don't check
22084 pop-up-frames for 'unset initialization.
22085 (display-buffer-normalize-specifiers-2): Major rewrite using
22086 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22087 (pop-up-frames, display-buffer-reuse-frames)
22088 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22089 Suggested by David Engster <deng@randomsample.de>.
22090 (even-window-heights): Initialize to 'unset.
22091 (display-buffer-alist-set): Handle new 'unset initializations.
22092 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22093 other window case.
22094
22095 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22096
22097 * window.el (display-buffer-normalize-specifiers-1):
22098 Respect current value of pop-up-frames for most reasonable values of
22099 second argument of display-buffer (Bug#8865).
22100 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22101 (switch-to-buffer-other-window-same-frame)
22102 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22103 Adams (Bug#8875).
22104 (display-buffer): Don't check noninteractive when calling
22105 display-buffer-pop-up-frame.
22106 (display-buffer-pop-up-frame): Never pop up a frame in
22107 noninteractive mode (Bug#8857).
22108 (enlarge-window, shrink-window): Don't report an error when the
22109 window can't be resized as requested (Bug#8862).
22110
22111 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22112
22113 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22114
22115 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22116
22117 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22118
22119 2011-06-15 Alan Mackenzie <acm@muc.de>
22120
22121 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22122 for declarators, disable knr checking to speed up for normal files.
22123 2: Refactor, replacing a sequence of nested if forms by a cond form.
22124
22125 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22126
22127 * net/network-stream.el (open-network-stream): Add the keyword
22128 :always-query-capabilities for the case where you want to force a
22129 `plain' network connection, but the protocol still requires the
22130 capabilitiy command (i.e., SMTP and EHLO).
22131
22132 * subr.el (process-live-p): Rename from `process-alive-p' for
22133 consistency with other `-live-p' functions.
22134
22135 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22136
22137 * window.el (same-window-buffer-names, same-window-regexps)
22138 (special-display-frame-alist, special-display-popup-frame)
22139 (special-display-function, special-display-buffer-names)
22140 (special-display-regexps, pop-up-frame-alist)
22141 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22142 (pop-up-windows, split-window-preferred-function)
22143 (split-height-threshold, split-width-threshold, even-window-heights)
22144 (display-buffer-mark-dedicated): Don't encourage the use of
22145 display-buffer-alist from Elisp code.
22146
22147 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22148
22149 * progmodes/python.el (python-mode): Derive from prog-mode.
22150 * progmodes/ps-mode.el (ps-mode):
22151 * progmodes/mixal-mode.el (mixal-mode):
22152 * progmodes/cfengine.el (cfengine-mode):
22153 * progmodes/ld-script.el (ld-script-mode): Likewise.
22154
22155 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22156
22157 * window.el (display-buffer-alist): Trim default value to avoid
22158 popping up a new frame (Bug#8857) or reusing an arbitrary window
22159 on another frame.
22160 (display-buffer): Do not fall back on popping up a new frame in
22161 batch mode (Bug#8857).
22162
22163 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22164
22165 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22166 (custom-theme-summary): New function.
22167 (customize-themes): Use it.
22168
22169 2011-06-13 Glenn Morris <rgm@gnu.org>
22170
22171 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22172
22173 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22174
22175 * help.el (help-window): Remove variable.
22176 (help-window-point-marker, temp-buffer-max-height)
22177 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22178 (help-print-return-message): Don't set help-window.
22179 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22180 (help-window-setup-finish): Remove.
22181 (help-window-display-message, help-window-setup)
22182 (with-help-window): Major rewrite based on new
22183 display-buffer-window variable.
22184
22185 * help-mode.el (help-mode-finish): Remove help-window related
22186 code.
22187
22188 * view.el (view-exits-all-viewing-windows): Remove reference to
22189 view-return-to-alist in doc-string.
22190 (view-return-to-alist): Make obsolete.
22191 (view-buffer): Call pop-to-buffer-same-window and remove
22192 undo-window code.
22193 (view-buffer-other-window): Call pop-to-buffer-other-window and
22194 simplify code. Ignore second argument.
22195 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22196 simplify code. Ignore second argument.
22197 (view-return-to-alist-update): Make obsolete.
22198 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22199 Rewrite using quit-restore window parameters.
22200 (view-mode-exit): Rename second argument to EXIT-ONLY.
22201 Rewrite using quit-restore-window.
22202 (View-exit, View-exit-and-edit, View-leave, View-quit)
22203 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22204 appropriate arguments.
22205 (view-end-message): Use quit-restore window parameter.
22206
22207 * window.el (display-buffer-function): Rewrite doc-string.
22208 (display-buffer-window, display-buffer-alist): New variables.
22209 (display-buffer-split-specifiers)
22210 (display-buffer-side-specifiers)
22211 (display-buffer-macro-specifiers): New constants.
22212 (display-buffer-even-window-sizes, display-buffer-set-height)
22213 (display-buffer-set-width, display-buffer-select-window)
22214 (display-buffer-in-window, display-buffer-reuse-window)
22215 (display-buffer-split-window-1, display-buffer-split-window)
22216 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22217 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22218 (display-buffer-in-side-window, normalize-buffer-to-display)
22219 (display-buffer-normalize-specifiers-1)
22220 (display-buffer-normalize-specifiers-2)
22221 (display-buffer-normalize-specifiers, display-buffer-frame):
22222 New functions.
22223 (display-buffer): Major rewrite.
22224 (display-buffer-other-window, display-buffer-other-frame)
22225 (pop-to-buffer, switch-to-buffer-other-window)
22226 (switch-to-buffer-other-frame): Rewrite.
22227 (display-buffer-same-window, display-buffer-same-frame)
22228 (display-buffer-same-frame-other-window)
22229 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22230 (pop-to-buffer-other-window)
22231 (pop-to-buffer-same-frame-other-window)
22232 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22233 (switch-to-buffer-other-window-same-frame): New functions.
22234 (same-window-p, special-display-p): Rewrite disabling warnings.
22235 Make obsolete.
22236 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22237 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22238 Make obsolete
22239 (same-window-buffer-names, same-window-regexps)
22240 (special-display-frame-alist, special-display-popup-frame)
22241 (special-display-function, special-display-buffer-names)
22242 (special-display-regexps, pop-up-frame-alist)
22243 (pop-up-frame-function, split-window-preferred-function)
22244 (split-height-threshold, split-width-threshold)
22245 (even-window-heights): Make obsolete.
22246
22247 2011-06-12 Glenn Morris <rgm@gnu.org>
22248
22249 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22250 Misc simplifications.
22251
22252 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22253
22254 * window.el (window-safely-shrinkable-p): Restore function which
22255 was inadvertently removed in change from 2011-06-11. Declare as
22256 obsolete.
22257
22258 * calendar/calendar.el (calendar-generate-window):
22259 Use window-iso-combined-p instead of combination of one-window-p and
22260 window-safely-shrinkable-p.
22261
22262 2011-06-12 Glenn Morris <rgm@gnu.org>
22263
22264 * progmodes/fortran.el (fortran-mode-syntax-table):
22265 * progmodes/f90.el (f90-mode-syntax-table):
22266 Set % to punctuation. (Bug#8820)
22267 (f90-find-tag-default): Remove, no longer needed.
22268
22269 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22270
22271 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22272
22273 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22274
22275 * image.el (image-animated-p): Return animation delay in seconds.
22276 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22277 (image-animate-timeout): Remove DELAY argument. Don't assume
22278 every subimage has the same delay; get it from image-animated-p.
22279 (image-animate): Caller changed.
22280
22281 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22282
22283 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22284 to ignored backtrace functions.
22285
22286 2011-06-11 Glenn Morris <rgm@gnu.org>
22287
22288 * calendar/appt.el (appt-disp-window-function): Doc fix.
22289 (appt-check): Handle overlapping appointments. (Bug#8337)
22290
22291 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22292
22293 * window.el (window-tree-1, window-tree): New functions, moving
22294 the latter to window.el.
22295 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22296 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22297 (bw-refresh-edges): Remove.
22298 (balance-windows-1, balance-windows-2): New functions.
22299 (balance-windows): Rewrite in terms of window tree functions,
22300 balance-windows-1 and balance-windows-2.
22301 (bw-adjust-window): Remove.
22302 (balance-windows-area-adjust): New function with functionality of
22303 bw-adjust-window but using resize-window.
22304 (set-window-text-height): Rewrite doc-string.
22305 Use normalize-live-window and resize-window.
22306 (enlarge-window-horizontally, shrink-window-horizontally):
22307 Rename argument to DELTA.
22308 (window-buffer-height): New function.
22309 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22310 Rewrite using new window resize routines.
22311 (kill-buffer-and-window, mouse-autoselect-window-select):
22312 Use ignore-errors instead of condition-case.
22313 (quit-window): Call delete-frame instead of delete-windows-on
22314 for the only buffer on frame.
22315
22316 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22317
22318 * loadup.el (top-level): Load window before files for the sake
22319 of replace-buffer-in-windows.
22320
22321 * files.el (read-buffer-to-switch)
22322 (switch-to-buffer-other-window)
22323 (switch-to-buffer-other-frame, display-buffer-other-frame):
22324 Move to window.el.
22325
22326 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22327 (previous-buffer): Move to window.el.
22328
22329 * bindings.el (unbury-buffer): Move to window.el.
22330
22331 * window.el (delete-other-windows-vertically): Move after
22332 definition of delete-other-windows.
22333 (other-window, delete-windows-on, replace-buffer-in-windows):
22334 Move here from window.c.
22335 (record-window-buffer, unrecord-window-buffer)
22336 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22337 (switch-to-next-buffer): New functions.
22338 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22339 from simple.el. Call switch-to-next-buffer.
22340 (previous-buffer): Move here from simple.el.
22341 Call switch-to-prev-buffer.
22342 (bury-buffer): Move here from buffer.c. Switch to previous
22343 buffer when window cannot be deleted.
22344 (unbury-buffer): Move here from bindings.el.
22345 (ctl-x-map): Move binding for other-window from window.c to
22346 here.
22347 (read-buffer-to-switch, switch-to-buffer-other-window)
22348 (switch-to-buffer-other-frame): Move here from files.el.
22349 (normalize-buffer-to-switch-to): New functions.
22350 (switch-to-buffer): Move here from buffer.c.
22351 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22352
22353 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22354
22355 * window.el (window-min-height, window-min-width): Move here
22356 from window.c. Add defcustoms and rewrite doc-strings.
22357 (resize-mini-window, resize-window): New functions.
22358 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22359 Move here from window.c.
22360 (maximize-window, minimize-window): New functions.
22361 (delete-window, delete-other-windows, split-window): Move here
22362 from window.c.
22363 (window-split-min-size): New function.
22364 (split-window-keep-point): Mention split-window-above-each-other
22365 instead of split-window-vertically.
22366 (split-window-above-each-other, split-window-vertically):
22367 Rename split-window-vertically to split-window-above-each-other
22368 and provide defalias for old definition.
22369 (split-window-side-by-side, split-window-horizontally):
22370 Rename split-window-horizontally to split-window-side-by-side
22371 and provide defalias for the old definition.
22372 (ctl-x-map): Move bindings for delete-window,
22373 delete-other-windows and enlarge-window here from window.c.
22374 Replace bindings for split-window-vertically and
22375 split-window-horizontally by bindings for
22376 split-window-above-each-other and split-window-side-by-side.
22377
22378 * cus-start.el (all): Remove entries for window-min-height and
22379 window-min-width. Add entries for window-splits and
22380 window-nest.
22381
22382 2011-06-09 Glenn Morris <rgm@gnu.org>
22383
22384 * calendar/appt.el (appt-mode-line): New function.
22385 (appt-check, appt-disp-window): Use it.
22386
22387 * files.el (hack-one-local-variable-eval-safep):
22388 Allow minor-modes with explicit +/-1 arguments.
22389
22390 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22391
22392 * term/xterm.el (xterm): Add defgroup.
22393 (xterm-extra-capabilities): Add defcustom to supply known xterm
22394 capabilities, skip querying them, or query them (default).
22395 (terminal-init-xterm): Use it.
22396 (terminal-init-xterm-modify-other-keys): New function to set up
22397 modifyOtherKeys support to simplify `terminal-init-xterm'.
22398
22399 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22400
22401 * window.el (resize-window-reset, resize-window-reset-1)
22402 (resize-subwindows-skip-p, resize-subwindows-normal)
22403 (resize-subwindows, resize-other-windows, resize-this-window)
22404 (resize-root-window, resize-root-window-vertically)
22405 (window-deletable-p, window-or-subwindow-p)
22406 (frame-root-window-p): New functions.
22407
22408 2011-06-09 Glenn Morris <rgm@gnu.org>
22409
22410 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22411 (ange-ftp-get-files): Use it.
22412
22413 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22414
22415 * mail/sendmail.el (mail-recover-1, mail-recover):
22416 * files.el (recover-file, recover-session):
22417 Handle dired-listing-switches not being just a single short option.
22418
22419 2011-06-09 Glenn Morris <rgm@gnu.org>
22420
22421 * calendar/appt.el (appt-display-message, appt-disp-window):
22422 Handle lists of appointments.
22423
22424 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22425
22426 * window.el (one-window-p): Move down in code.
22427 Rewrite doc-string.
22428 (window-current-scroll-bars): Rewrite doc-string.
22429 Normalize live window argument.
22430 (walk-windows, get-window-with-predicate, count-windows):
22431 Rewrite doc-string. Use window-list-1.
22432 (window-in-direction-2, window-in-direction, get-mru-window):
22433 New functions.
22434
22435 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22436
22437 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22438 Doc fix (Bug#8713).
22439
22440 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22441
22442 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22443
22444 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22445
22446 * loadhist.el (unload-feature-special-hooks):
22447 Add `comint-output-filter-functions'.
22448
22449 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22450
22451 * calendar/appt.el (appt-check): Move some initializations into the let.
22452
22453 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22454
22455 * window.el (window-height): Defalias to window-total-height.
22456 (window-width): Defalias to window-body-width.
22457
22458 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22459
22460 * image-mode.el (image-toggle-animation): New command.
22461 (image-mode-map): Bind it to RET.
22462 (image-mode): Update message.
22463 (image-toggle-display-image): Avoid a spurious cache flush.
22464 (image-transform-rotation): Doc fix.
22465 (image-transform-properties): Return quickly in the normal case.
22466 (image-animate-loop): Rename from image-animate-max-time.
22467
22468 * image.el (image-animate-max-time): Move to image-mode.el.
22469 (create-animated-image): Remove unnecessary function.
22470 (image-animate): Rename from image-animate-start. New arg.
22471 (image-animate-stop): Remove; just use image-animate-timer.
22472 (image-animate-timer): Use car-safe.
22473 (image-animate-timeout): Rename argument.
22474
22475 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22476
22477 * window.el (get-lru-window, get-largest-window): Move here from
22478 window.c. Rename first argument to ALL-FRAMES.
22479 Rephrase doc-strings.
22480 (get-buffer-window-list): Rewrite using window-list-1.
22481 Rephrase doc-string.
22482 (window-safe-min-height, window-safe-min-width): New constants.
22483 (window-size-ignore, window-min-size, window-min-size-1)
22484 (window-sizable, window-sizable-p, window-size-fixed-1)
22485 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22486 (window-max-delta-1, window-max-delta, window-resizable)
22487 (window-resizable-p, window-total-height, window-total-width)
22488 (window-body-width): New functions.
22489 (window-full-height-p, window-full-width-p): Rewrite using
22490 window-total-size.
22491 (window-body-height): Rewrite using window-body-size.
22492
22493 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22494
22495 * window.el (window-right, window-left, window-child)
22496 (window-child-count, window-last-child, window-any-p)
22497 (normalize-live-buffer, normalize-live-frame)
22498 (normalize-any-window, normalize-live-window)
22499 (window-iso-combination-p, window-iso-combined-p)
22500 (window-iso-combinations)
22501 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22502 (windows-with-parameter, window-with-parameter)
22503 (window-atom-root, make-window-atom, window-atom-check-1)
22504 (window-atom-check, window-side-check, window-check):
22505 New functions.
22506 (ignore-window-parameters, window-sides, window-sides-vertical)
22507 (window-sides-slots): New variables.
22508 (window-size-fixed): Move down in code. Minor doc-string fix.
22509
22510 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22511
22512 * comint.el (comint-dynamic-complete-as-filename)
22513 (comint-dynamic-complete-filename): Correctly call
22514 completion-in-region.
22515
22516 2011-06-05 Deniz Dogan <deniz@dogan.se>
22517
22518 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22519 in last change.
22520
22521 2011-06-05 Deniz Dogan <deniz@dogan.se>
22522
22523 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22524 (rcirc): Use it to prompt for encryption.
22525
22526 2011-06-05 Roland Winkler <winkler@gnu.org>
22527
22528 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22529 (bibtex-search-entries): New command bound to C-c C-a.
22530 (bibtex-display-entries): New function.
22531
22532 2011-06-05 Roland Winkler <winkler@gnu.org>
22533
22534 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22535 (bibtex-insert-kill): After yanking insert newline if necessary.
22536 (bibtex-initialize): Call bibtex-string-files-init only once.
22537 (bibtex-mode): Do not call easy-menu-add.
22538 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22539 (bibtex-yank): Set arg properly if nil.
22540
22541 2011-06-05 Roland Winkler <winkler@gnu.org>
22542
22543 * textmodes/bibtex.el (bibtex-search-entry-globally):
22544 New variable.
22545 (bibtex-search-entry): Use it.
22546
22547 2011-06-05 Roland Winkler <winkler@gnu.org>
22548
22549 * textmodes/bibtex.el (bibtex-entry-format): New option
22550 sort-fields.
22551 (bibtex-format-entry, bibtex-reformat): Honor this option.
22552 (bibtex-parse-entry): Return fields in proper order.
22553
22554 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22555
22556 * doc-view.el (doc-view-remove-if): Move computation of result out
22557 of `dolist' to silence misleading lexical-binding warning.
22558
22559 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22560
22561 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22562 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22563
22564 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22565
22566 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22567 "SunOS 5.10".
22568
22569 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22570
22571 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22572 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22573 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22574 (tramp-parse-putty):
22575 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22576 (tramp-completion-function-alist-ssh)
22577 (tramp-completion-function-alist-telnet)
22578 (tramp-completion-function-alist-su)
22579 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22580 cookie.
22581
22582 * net/tramp-ftp.el:
22583 * net/tramp-sh.el:
22584 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22585 load "tramp.el" `tramp-set-completion-function'.
22586
22587 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22588
22589 * shell.el: Require and use pcomplete.
22590 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22591 (shell-completion-vars): Set pcomplete-default-completion-function.
22592
22593 2011-06-04 Deniz Dogan <deniz@dogan.se>
22594
22595 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22596 `memq' (Bug#8799).
22597
22598 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22599
22600 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22601
22602 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22603
22604 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22605 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22606 * vc/log-view.el (log-view-beginning-of-defun):
22607 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22608 (smerge-refine-forward, smerge-refine-chopup-region):
22609 Silence warning for unused `dotimes' counter variables.
22610
22611 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22612
22613 * net/tramp.el (tramp-with-progress-reporter): Rename from
22614 with-progress-reporter. Use `declare'.
22615 * net/tramp-smb.el:
22616 * net/tramp-sh.el:
22617 * net/tramp-gvfs.el: Update all uses.
22618
22619 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22620
22621 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22622 buffer isn't killed before making it current.
22623
22624 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22625
22626 Silence various byte-compiler warnings.
22627 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22628 `access-type' and new obsolescence format.
22629 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22630 new format.
22631 (byte-compile-check-variable): New `access-type' argument.
22632 Only warn if the access-type is obsolete.
22633 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22634 (byte-compile-variable-set): Adjust callers.
22635 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22636 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22637 setting it as obsolete.
22638 * simple.el (minibuffer-completing-symbol):
22639 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22640 access as obsolete.
22641 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22642 obsolete yet.
22643 * international/quail.el (quail-mouse-choose-completion): Remove unused
22644 code referring to obsolete var.
22645 (quail-choose-completion-string): Remove.
22646 * server.el (server-clients-with, server-kill-buffer-query-function)
22647 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22648 * proced.el (proced-send-signal):
22649 * emacs-lisp/lisp.el (lisp-complete-symbol):
22650 Replace completion-annotate-function with completion-extra-properties.
22651
22652 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22653
22654 * simple.el (goto-line): Use read-number.
22655 (overriding-map-is-bound): Remove.
22656 (saved-overriding-map): Change default.
22657 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22658 Take the map as argument.
22659 (universal-argument, negative-argument, digit-argument): Use it.
22660 (restore-overriding-map): Adjust.
22661 (do-auto-fill): Use fill-forward-paragraph.
22662 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22663
22664 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22665 (minibuffer-inactive-mode): New major mode.
22666 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22667 the *Messages* buffer" hack.
22668 (mouse-popup-menubar): Don't burp if the event is a normal key.
22669
22670 Miscellaneous tweaks.
22671 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22672 lexical scoping as in subr.el's dolist and dotimes.
22673 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22674 Silence compiler warning.
22675 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22676 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22677 * international/ccl.el (ccl-compile): Trivial simplification.
22678 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22679 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22680 `printflag' argument.
22681 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22682 Purecopy the whole obsolescence data.
22683
22684 2011-06-01 Leo Liu <sdl.web@gmail.com>
22685
22686 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22687 improve doc-string as suggested by Marco Pessotto
22688 <melmothx@gmail.com>.
22689 (rcirc-print): Fix last change.
22690
22691 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22692
22693 * minibuffer.el (complete-with-action): Return nil for the metadata and
22694 boundaries of non-functional tables.
22695 (completion-table-dynamic): Return nil for the metadata.
22696 (completion-table-with-terminator): Add default case, using
22697 complete-with-action.
22698 (completion--metadata): New function.
22699 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22700 to try and avoid pathological performance problems.
22701 (completion--embedded-envvar-table): Return `category' metadata.
22702
22703 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22704
22705 * subr.el (process-alive-p): New tiny convenience function.
22706
22707 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22708
22709 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22710 content but also its previous major mode.
22711
22712 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22713
22714 * emacs-lisp/debug.el (debug): Restore the previous content of the
22715 *Backtrace* buffer when we exit with C-M-c.
22716
22717 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22718
22719 * minibuffer.el: Add metadata method to completion tables.
22720 (completion-category-overrides): New defcustom.
22721 (completion-metadata, completion--field-metadata)
22722 (completion-metadata-get, completion--styles)
22723 (completion--cycle-threshold): New functions.
22724 (completion-try-completion, completion-all-completions):
22725 Add `metadata' argument to choose completion-styles.
22726 (completion--do-completion): Use metadata to choose cycling.
22727 (completion-all-sorted-completions): Use metadata for sorting.
22728 Remove :completion-cycle-penalty which is not needed any more.
22729 (completion--try-word-completion): Add `metadata' argument.
22730 (minibuffer-completion-help): Check metadata for annotation function
22731 and sorting.
22732 (completion-file-name-table): Return `category' metadata.
22733 (minibuffer-completing-file-name): Make obsolete.
22734 * simple.el (minibuffer-completing-symbol): Make obsolete.
22735 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22736 completion-try-completion.
22737
22738 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22739
22740 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22741
22742 2011-05-30 Leo Liu <sdl.web@gmail.com>
22743
22744 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22745 (rcirc-print): Decode all incoming messages (bug#8744).
22746 (rcirc-decode-coding-system): Allow value nil for automatic coding
22747 system detection.
22748
22749 2011-06-01 Glenn Morris <rgm@gnu.org>
22750
22751 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22752
22753 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22754
22755 * image.el (image-animate-max-time): Allow nil and t values.
22756 Default to nil.
22757 (create-animated-image): Doc fix.
22758 (image-animate-start): Remove second arg; just use
22759 image-animate-max-time.
22760 (image-animate-timeout): Doc fix. Args changed.
22761
22762 * image-mode.el (image-toggle-display-image): Ensure that the
22763 image spec passed to the animate timer is the same object as in
22764 the buffer's display property (Bug#6981).
22765 (image-transform-properties): Doc fix.
22766
22767 * image.el (image-animate-max-time): Default to nil.
22768
22769 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22770
22771 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22772 entire buffer list (Bug#8184).
22773
22774 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22775
22776 * image.el (imagemagick-types-inhibit)
22777 (imagemagick-register-types): Doc fix.
22778
22779 2011-05-29 Deniz Dogan <deniz@dogan.se>
22780
22781 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22782 default.
22783
22784 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22785
22786 * select.el: Don't perform clipboard-manager saving in hooks;
22787 leave the hooks empty.
22788
22789 2011-05-28 Leo Liu <sdl.web@gmail.com>
22790
22791 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22792 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22793 (occur-edit-mode): New major mode (Bug#8463).
22794 (occur-after-change-function): New function.
22795 (occur-engine): Give Occur tags a read-only property.
22796
22797 2011-05-28 Kevin Ryde <user42@zip.com.au>
22798
22799 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22800
22801 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22802
22803 * bindings.el (help-echo): Make the initial non-indicator dash
22804 empty on graphical terminals (Bug#7295).
22805
22806 * files.el (auto-mode-alist): Move config rule after the
22807 in-stripping one (Bug#8547).
22808
22809 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22810
22811 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22812 setting (Bug#8740).
22813
22814 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22815
22816 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22817 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22818 (Bug#8539).
22819
22820 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22821
22822 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22823
22824 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22825
22826 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22827 (hs-hide-block-at-point, hs-find-block-beginning)
22828 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22829 (Bug#8279).
22830
22831 2011-05-28 Glenn Morris <rgm@gnu.org>
22832
22833 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22834
22835 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22836
22837 * help-fns.el (describe-function-1): If the function is a derived
22838 major mode, print the parent mode.
22839
22840 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22841 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22842
22843 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22844
22845 * minibuffer.el (completion--capf-wrapper): Check applicability before
22846 returning non-nil for non-exclusive completion data.
22847 * progmodes/etags.el (tags-completion-at-point-function):
22848 * info-look.el (info-lookup-completions-at-point): Mark as
22849 non-exclusive.
22850 (info-complete): Adjust accordingly.
22851
22852 * info-look.el: Convert to lexical-binding and completion-at-point.
22853 (info-lookup-completions-at-point): New function.
22854 (info-complete): Use it and completion-in-region.
22855
22856 2011-05-28 Drew Adams <drew.adams@oracle.com>
22857
22858 * isearch.el: Let M-e start with point at the first mismatched char.
22859 (isearch-fail-pos): New function.
22860 (isearch-edit-string): Use it.
22861
22862 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22863
22864 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22865
22866 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22867
22868 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22869 traversal functions for avl-trees.
22870 (avl-tree--stack): New struct.
22871 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22872 (avl-tree-enter): Add optional `updatefun' arg.
22873 (avl-tree--do-enter): Add optional `updatefun' arg.
22874 Change return value.
22875 (avl-tree-delete): Add optional `test' and `nilflag' args.
22876 (avl-tree--do-delete): Add `test' and `nilflag' args.
22877 Change return value.
22878 (avl-tree-member): Add optional `nilflag'
22879 (avl-tree-member-p): New function.
22880 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22881 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22882 (avl-tree-stack-empty-p): New functions.
22883
22884 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22885 avl-tree--del-balance1 and make it work both ways.
22886 (avl-tree--del-balance2): Remove.
22887 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22888 make it work both ways.
22889 (avl-tree--enter-balance2): Remove.
22890 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22891 New macros.
22892 (avl-tree--mapc, avl-tree-map): Add direction argument.
22893
22894 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22895
22896 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22897
22898 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22899
22900 * select.el: Support clipboard managers with built-in function
22901 x-clipboard-manager-save, via delete-frame-functions and
22902 kill-emacs-hook.
22903 (xselect-convert-to-targets): Add MULTIPLE target to list.
22904 (xselect-convert-to-save-targets): New function.
22905
22906 2011-05-27 Kenichi Handa <handa@m17n.org>
22907
22908 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22909 let-binding rfc2047-encode-encoded-words to nil.
22910
22911 2011-05-27 Glenn Morris <rgm@gnu.org>
22912
22913 * mail/emacsbug.el: Don't require url-util.
22914
22915 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22916
22917 * files.el (set-auto-mode):
22918 Also respect mode: entries at the end of the file. (Bug#8586)
22919
22920 2011-05-26 Glenn Morris <rgm@gnu.org>
22921
22922 * files.el (hack-local-variables-prop-line, hack-local-variables):
22923 Downcase mode names, as seems to be traditional.
22924 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22925
22926 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22927 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22928
22929 2011-05-25 Julien Danjou <julien@danjou.info>
22930
22931 * textmodes/rst.el (rst-define-level-faces): Do not define face
22932 symbol if it is already defined.
22933
22934 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22935
22936 * play/5x5.el (5x5-new-game, 5x5-randomize):
22937 Reset 5x5-solver-output to nil when a new grid is cast.
22938 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22939 these debugging traces, as defmacro breaks the compiled code.
22940
22941 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22942
22943 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22944
22945 2011-05-24 Leo Liu <sdl.web@gmail.com>
22946
22947 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22948 (vc-bzr-sha1): Adapt.
22949
22950 * sha1.el: Remove. Function `sha1' is now builtin.
22951
22952 * bindings.el: Provide sha1 feature.
22953
22954 2011-05-24 Kenichi Handa <handa@m17n.org>
22955
22956 * mail/sendmail.el: Require `rfc2047'.
22957 (mail-insert-from-field): Do not perform RFC2047 encoding.
22958 (mail-encode-header): New function.
22959 (sendmail-send-it): Set buffer-file-coding-system of the work
22960 buffer to the return value of select-message-coding-system.
22961 Call mail-encode-header.
22962
22963 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22964
22965 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22966
22967 * mail/supercite.el (sc-default-cite-frame):
22968 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22969
22970 2011-05-24 Glenn Morris <rgm@gnu.org>
22971
22972 * progmodes/python.el (brm-menu): Declare.
22973
22974 * emulation/viper.el (viper-set-hooks): Declare.
22975
22976 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22977 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22978 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22979 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22980 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22981 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22982
22983 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22984
22985 Add an :exit-function for completion-at-point.
22986
22987 * minibuffer.el (completion--done): New fun.
22988 (completion--do-completion): Use it. New arg `expect-exact'.
22989 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22990 since completion--do-completion does it for us now.
22991 (minibuffer-force-complete): Use completion--done and
22992 completion--replace. Handle sole-completion case with more care.
22993 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22994 (completion-extra-properties): New var.
22995 (completion-annotate-function): Make obsolete.
22996 (minibuffer-completion-help): Adjust accordingly.
22997 Use completion-list-insert-choice-function.
22998 (completion-at-point, completion-help-at-point):
22999 Bind completion-extra-properties.
23000 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23001 * simple.el (completion-list-insert-choice-function): New var.
23002 (completion-setup-function): Preserve it.
23003 (choose-completion): Pay attention to it, shuffle the code a bit.
23004 (choose-completion-string): New arg `insert-function'.
23005
23006 * textmodes/bibtex.el: Convert to lexical binding.
23007 (bibtex-mode-map): Use completion-at-point.
23008 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23009 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23010 (bibtex-complete): Define as obsolete alias.
23011 (bibtex-complete-internal): Remove.
23012 (bibtex-format-entry): Remove unused sub-group in regexp.
23013 * shell.el (shell--command-completion-data)
23014 (shell-environment-variable-completion):
23015 * pcomplete.el (pcomplete-completions-at-point):
23016 * comint.el (comint--complete-file-name-data): Use :exit-function
23017 instead of completion-table-with-terminator so it also works for
23018 choose-completion.
23019
23020 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23021
23022 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23023
23024 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23025 (bug#8710).
23026
23027 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23028
23029 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23030
23031 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23032 customization variable and implement: If non-nil, auto-fill will
23033 be inhibited while on topic's header line.
23034
23035 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23036
23037 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23038 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23039 always have a solution in grid size = 5 cases.
23040 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23041 (5x5-solver-output, 5x5-log-buffer): New vars.
23042 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23043 Make these variables buffer local to achieve 5x5 multi-session-ness.
23044 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23045 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23046 (5x5-solve-suggest): New funs.
23047 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23048 randomize a grid so that we ensure that there is always a solution.
23049 (5x5-make-random-grid): Allow other movement than flipping.
23050
23051 2011-05-23 Kevin Ryde <user42@zip.com.au>
23052
23053 * emacs-lisp/advice.el (ad-read-advised-function):
23054 Use `function-called-at-point' as the default, if it has
23055 advice and passes PREDICATE.
23056
23057 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23058
23059 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23060 byte-compile-lambda if it's actually a lambda.
23061
23062 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23063 Fix function quoting. Use backquote better.
23064
23065 2011-05-22 Yuanle Song <sylecn@gmail.com>
23066
23067 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23068 matching (Bug#8516).
23069
23070 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23071
23072 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23073 different face (Bug#8178).
23074
23075 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23076
23077 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23078 defface (Bug#8144).
23079
23080 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23081
23082 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23083 funcall as well (bug#8712). Warn when performing those conversions.
23084 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23085
23086 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23087
23088 2011-05-22 Glenn Morris <rgm@gnu.org>
23089
23090 * files.el (hack-local-variables-prop-line): Small simplifications.
23091 (hack-local-variables, hack-local-variables-prop-line):
23092 If MODE-ONLY, return the mode, rather than just `t'.
23093
23094 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23095
23096 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23097
23098 2011-05-21 Glenn Morris <rgm@gnu.org>
23099
23100 * files.el (hack-local-variables-prop-line, hack-local-variables):
23101 If only interested in the mode, don't bother doing the other stuff.
23102
23103 * image-mode.el (image-after-revert-hook):
23104 Redraw all frames on which the image is visible. (Bug#8567)
23105
23106 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23107
23108 * wid-edit.el (widget-checklist-match-inline):
23109 Fix 2011-04-19 change. (Bug#8649)
23110
23111 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23112
23113 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23114 Also allow singlespace after single-letter capitals followed by a dot.
23115
23116 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23117 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23118
23119 2011-05-20 Nix <nix@esperi.org.uk>
23120
23121 * files.el (basic-save-buffer-2):
23122 Fix handling of break-hardlink-on-save with non-existent files.
23123
23124 2011-05-19 Deniz Dogan <deniz@dogan.se>
23125
23126 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23127 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23128
23129 2011-05-19 Glenn Morris <rgm@gnu.org>
23130
23131 * progmodes/f90.el (f90-type-def-re):
23132 Handle "type, bind(c)". (Bug#8691)
23133
23134 * emacs-lisp/autoload.el (batch-update-autoloads):
23135 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23136
23137 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23138
23139 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23140 property for the correct connection in case of multihops.
23141
23142 2011-05-18 Glenn Morris <rgm@gnu.org>
23143
23144 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23145 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23146
23147 Rationalize calendar handling of day and month abbrev-arrays.
23148 * calendar/calendar.el (calendar-customized-p): New function.
23149 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23150 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23151 Add :set function.
23152 (calendar-abbrev-length, calendar-day-abbrev-array)
23153 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23154 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23155 Elements may no longer be nil.
23156 (calendar-day-name, calendar-month-name):
23157 Update for changed nature of abbrev arrays.
23158 * calendar/diary-lib.el (diary-name-pattern):
23159 Update for changed nature of abbrev arrays.
23160 (diary-mark-entries-1): Update calendar-make-alist calls.
23161 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23162 * calendar/cal-html.el (cal-html-day-abbrev-array):
23163 Simply inherit from calendar-day-abbrev-array.
23164
23165 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23166
23167 * progmodes/grep.el (grep-mode): Disable default
23168 compilation-directory-matcher setting (bug#8684).
23169
23170 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23171
23172 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23173 instead of "head" and "tail". There were problems with SunOS 5.9,
23174 and it performs better.
23175
23176 2011-05-17 Glenn Morris <rgm@gnu.org>
23177
23178 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23179
23180 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23181 Replace obsolete function.
23182
23183 * shell.el (pcomplete-parse-arguments-function): Declare.
23184
23185 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23186 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23187 (appt-check): Doc fixes.
23188 (appt-disp-window-function, appt-delete-window-function):
23189 Remove needless special case in custom :type.
23190 (appt-display-count): Default to 0, not nil.
23191 (appt-check): Reset appt-display-count to 0, not nil.
23192
23193 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23194
23195 * progmodes/python.el (python-font-lock-keywords):
23196 Add the Python 3.X keyword "nonlocal" (bug#8639).
23197
23198 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23199
23200 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23201
23202 2011-05-16 Kevin Ryde <user42@zip.com.au>
23203
23204 * info-look.el (makefile-automake-mode): New setups, looking in
23205 automake manual, then makefile-mode.
23206 (makefile-mode): Remove automake manual, have it just in
23207 makefile-automake-mode since there's various things different or
23208 not relevant to plain make.
23209 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23210 believe a hypothetical automake-mode would go to makefile-mode,
23211 not the other way around.
23212
23213 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23214
23215 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23216 hunk-end tags (Bug#8672).
23217
23218 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23219 vc-annotate-show-diff-revision-at-line (Bug#8671).
23220
23221 2011-05-14 Glenn Morris <rgm@gnu.org>
23222
23223 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23224 in the middle of an existing one with multiple authors. (Bug#8645)
23225 (change-log-font-lock-keywords): Also handle multiple author lines
23226 with leading tabs. (Bug#8644)
23227
23228 * calendar/appt.el (appt-check): Rename some local variables.
23229 Some simplification/reordering.
23230
23231 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23232 (feedmail-sendmail-f-doesnt-sell-me-out)
23233 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23234 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23235 (feedmail-queue-runner-message-sender): Set :version.
23236 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23237 (bbdb-dwim-net-address, vm-mail): Declare.
23238 (feedmail-binmail-gnulinuxish-template):
23239 Rename from feedmail-binmail-linuxish-template.
23240 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23241 Use insert-buffer-substring.
23242
23243 2011-05-14 Bill Carpenter <bill@carpenter.org>
23244
23245 * mail/feedmail.el (feedmail-patch-level): Increase.
23246 (feedmail-debug): New custom group.
23247 (feedmail-confirm-outgoing-timeout)
23248 (feedmail-sendmail-f-doesnt-sell-me-out)
23249 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23250 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23251 (feedmail-sender-line, feedmail-from-line)
23252 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23253 (feedmail-spray-this-address)
23254 (feedmail-spray-address-fiddle-plex-list)
23255 (feedmail-queue-use-send-time-for-date)
23256 (feedmail-queue-use-send-time-for-message-id)
23257 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23258 (feedmail-buffer-eating-function):
23259 Doc fixes.
23260 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23261 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23262 (feedmail-message-action-scroll-down): New functions.
23263 (feedmail-queue-directory, feedmail-queue-draft-directory):
23264 Use expand-file-name.
23265 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23266 Remove C-v help entry.
23267 (feedmail-queue-buffer-file-name): New variable.
23268 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23269 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23270 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23271 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23272 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23273 (feedmail-message-action-toggle-spray)
23274 (feedmail-run-the-queue-no-prompts)
23275 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23276 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23277 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23278 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23279 (feedmail-envelope-deducer, feedmail-fiddle-from)
23280 (feedmail-fiddle-sender, feedmail-default-date-generator)
23281 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23282 (feedmail-fiddle-spray-address)
23283 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23284 (feedmail-fiddle-list-of-fiddle-plexes)
23285 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23286 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23287 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23288 Change default. Doc fix.
23289 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23290 (feedmail-binmail-linuxish-template): New constant.
23291 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23292 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23293 (feedmail-send-it): Add debug call.
23294 Use feedmail-queue-buffer-file-name, and
23295 feedmail-send-it-immediately-wrapper.
23296 (feedmail-message-action-send): Add debug call.
23297 Use feedmail-send-it-immediately-wrapper.
23298 (feedmail-queue-express-to-queue): Add debug call.
23299 Run feedmail-queue-express-hook.
23300 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23301 (feedmail-message-action-help-blat):
23302 Rename from feedmail-queue-send-edit-prompt-help-first.
23303 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23304 Check line-endings. Handle errors better.
23305 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23306 Doc fix. Add debug call.
23307 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23308 Use feedmail-queue-send-edit-prompt-inner.
23309 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23310 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23311 from feedmail-queue-send-edit-prompt.
23312 (feedmail-queue-send-edit-prompt-help)
23313 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23314 (feedmail-tidy-up-slug): Add debug call.
23315 Respect feedmail-queue-slug-suspect-regexp.
23316 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23317 (feedmail-dump-message-to-queue): Add debug call.
23318 Expand queue-directory.
23319 (feedmail-dump-message-to-queue): Change message slightly.
23320 Use feedmail-say-chatter.
23321 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23322 (feedmail-send-it-immediately-wrapper): New function.
23323 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23324 Insert empty string rather than newline. Handle full-frame case.
23325 Use catch/throw. Use feedmail-say-chatter.
23326 (feedmail-fiddle-from): Try mail-host-address.
23327 (feedmail-default-message-id-generator): Doc fix.
23328 Bind system-time-locale. Handle missing end.
23329 (feedmail-fiddle-x-mailer): Add debug call.
23330 Handle feedmail-x-mailer-line being nil.
23331 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23332 Add debug call. Use buffer-substring-no-properties.
23333 (feedmail-say-debug, feedmail-say-chatter): New functions.
23334 (feedmail-find-eoh): Give an explicit error.
23335
23336 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23337
23338 * net/newst-treeview.el (newsticker-treeview-face): Change default
23339 family from helvetica to sans.
23340 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23341 etc/images/newsticker.
23342
23343 * net/newst-reader.el (newsticker-feed-face): Change default
23344 family from helvetica to sans.
23345
23346 * net/newst-plainview.el (newsticker-new-item-face)
23347 (newsticker-old-item-face, newsticker-immortal-item-face)
23348 (newsticker-obsolete-item-face, newsticker-date-face)
23349 (newsticker-statistics-face): Change default family from
23350 helvetica to sans.
23351 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23352 etc/images/newsticker.
23353
23354 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23355 (newsticker--process-auto-mark-filter-match): Tell user about
23356 auto-marking.
23357
23358 2011-05-13 Didier Verna <didier@xemacs.org>
23359
23360 Common Lisp indentation improvements on defmethod and lambda-lists.
23361 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23362 TODO entries.
23363 (lisp-lambda-list-keyword-parameter-indentation)
23364 (lisp-lambda-list-keyword-parameter-alignment)
23365 (lisp-lambda-list-keyword-alignment): New customizable user options.
23366 (lisp-indent-defun-method): Improve docstring.
23367 (extended-loop-p): Fix comment.
23368 (lisp-indent-lambda-list-keywords-regexp): New variable.
23369 (lisp-indent-lambda-list): New function.
23370 (lisp-indent-259): Use it.
23371 (lisp-indent-defmethod): Support for more than one
23372 method qualifier and properly indent methods lambda-lists.
23373 (defgeneric): Provide a missing common-lisp-indent-function property.
23374
23375 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23376
23377 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23378 bounds for the empty string (bug#8667).
23379
23380 2011-05-13 Glenn Morris <rgm@gnu.org>
23381
23382 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23383
23384 * mail/sendmail.el (sendmail-program): Try executable-find first.
23385 (sendmail-send-it): `sendmail-program' cannot be unbound.
23386
23387 * calendar/appt.el (appt-make-list): Simplify.
23388 (appt-time-msg-list): Doc fix.
23389 (appt-check): Change mode-line message at the time of the appointment.
23390
23391 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23392
23393 * progmodes/ld-script.el (ld-script-keywords)
23394 (ld-script-builtins): Update keywords list.
23395
23396 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23397
23398 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23399
23400 * shell.el (shell-completion-vars): New function.
23401 (shell-mode):
23402 * simple.el (read-shell-command): Use it.
23403 (blink-matching-open): No need for " [...]" in minibuffer-message.
23404
23405 2011-05-12 Glenn Morris <rgm@gnu.org>
23406
23407 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23408 (appt-check): Simplify.
23409
23410 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23411
23412 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23413 literal "/dev/null".
23414
23415 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23416
23417 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23418 Fix typo.
23419
23420 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23421
23422 * progmodes/which-func.el (which-function):
23423 Use add-log-current-defun instead of add-log-current-defun-function,
23424 which might not be defined (Bug#8260).
23425
23426 2011-05-12 Glenn Morris <rgm@gnu.org>
23427
23428 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23429 Let byte-compile-initial-macro-environment always take precedence.
23430
23431 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23432
23433 * net/rcirc.el: Add support for SSL/TLS connections.
23434 (rcirc-server-alist): New field `encryption'.
23435 (rcirc): Check `encryption' settings.
23436 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23437 Merge make-local-variable into `set'.
23438 (rcirc--connection-open-p): New function.
23439 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23440 the process is not a network process (e.g. running gnutls-cli).
23441 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23442 Make rcirc-(en|de)code-coding-system local here.
23443 (rcirc-mode): Merge make-local-variable into `set'.
23444 (rcirc-parent-buffer): Make permanent buffer-local.
23445 (rcirc-multiline-minor-mode): Don't do it here.
23446 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23447 there's no server buffer.
23448
23449 2011-05-11 Glenn Morris <rgm@gnu.org>
23450
23451 * newcomment.el (comment-kill): Prefix "unused" local.
23452
23453 * term/w32console.el (get-screen-color): Declare.
23454
23455 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23456 Handle symbol elements of byte-compile-initial-macro-environment.
23457
23458 2011-05-10 Leo Liu <sdl.web@gmail.com>
23459
23460 * bookmark.el (bookmark-bmenu-mode-map):
23461 Bind bookmark-bmenu-search to `/'.
23462
23463 * mail/footnote.el: Convert to utf-8 encoding.
23464 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23465 (Footnote-unicode): New function.
23466 (footnote-style-alist): Add unicode style to the list.
23467 (footnote-style): Doc fix.
23468
23469 2011-05-10 Jim Meyering <meyering@redhat.com>
23470
23471 Fix doubled-word typos.
23472 * international/quail.el (quail-insert-kbd-layout): and and -> and
23473 * kermit.el: and and -> and
23474 * net/ldap.el (ldap-search-internal): to to -> to
23475 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23476 * progmodes/js.el (js-mode): and and -> and
23477 * textmodes/artist.el (artist-move-to-xy): at at -> at
23478 (artist-draw-region-trim-line-endings): if if -> if
23479 And Safetyc -> Safety.
23480 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23481
23482 2011-05-10 Glenn Morris <rgm@gnu.org>
23483 Stefan Monnier <monnier@iro.umontreal.ca>
23484
23485 * files.el (hack-one-local-variable-eval-safep):
23486 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23487
23488 2011-05-10 Glenn Morris <rgm@gnu.org>
23489
23490 * calendar/diary-lib.el (diary-list-entries-hook)
23491 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23492 (diary-nongregorian-marking-hook, diary-list-entries)
23493 (diary-include-other-diary-files, diary-mark-entries)
23494 (diary-mark-included-diary-files): Doc fixes.
23495
23496 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23497
23498 * misc.el: Require tabulated-list.el during compilation.
23499
23500 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23501
23502 * progmodes/compile.el (compilation-start):
23503 Run compilation-filter-hook for the async case too.
23504 (compilation-filter-hook): Doc fix.
23505
23506 2011-05-09 Deniz Dogan <deniz@dogan.se>
23507
23508 * wdired.el: Remove outdated installation comment. Fix usage
23509 comment.
23510
23511 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23512
23513 * misc.el: Implement new command `list-dynamic-libraries'.
23514 (list-dynamic-libraries--loaded-only-p): New variable.
23515 (list-dynamic-libraries--refresh): New function.
23516 (list-dynamic-libraries): New command.
23517
23518 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23519
23520 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23521 Fix the ant regexp to handle end-line and end-column info from jikes.
23522 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23523 higher priority to avoid clobbering by gnu.
23524
23525 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23526
23527 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23528 if the face has existing theme settings (Bug#8454).
23529
23530 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23531
23532 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23533 Only match variables declared via `my' or `our' (Bug#8261).
23534
23535 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23536 special file names `.' and `..' (Bug#8259).
23537
23538 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23539
23540 * progmodes/grep.el (grep-mode-font-lock-keywords):
23541 Remove buffer-changing entries.
23542 (grep-filter): New function.
23543 (grep-mode): Add it to compilation-filter-hook.
23544
23545 * progmodes/compile.el (compilation-filter-hook)
23546 (compilation-filter-start): New defvars.
23547 (compilation-filter): Call compilation-filter-hook prior to
23548 updating the process mark.
23549
23550 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23551
23552 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23553
23554 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23555
23556 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23557 mailclient-send-it even if window-system is nil. (Bug#8595)
23558
23559 * term/w32console.el (terminal-init-w32console):
23560 Call get-screen-color and use its output to set the frame
23561 background-mode. (Bug#8597)
23562
23563 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23564
23565 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23566 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23567 New functions.
23568 (defgeneric, eieio--defmethod): Use them.
23569 (eieio-defgeneric): Remove.
23570 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23571
23572 2011-05-07 Glenn Morris <rgm@gnu.org>
23573
23574 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23575 Use let rather than let*.
23576 (timeclock-find-discrep): Remove unused local.
23577
23578 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23579
23580 * calendar/appt.el (appt-time-msg-list): Doc fix.
23581
23582 2011-05-06 Noah Friedman <friedman@splode.com>
23583
23584 * apropos.el (apropos-print-doc): Only use
23585 emacs-lisp-docstring-fill-column when it is bound to an integer,
23586 per that variable's documentation.
23587
23588 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23589
23590 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23591 and warnings are not silently discarded (e.g. use -d instead of -P).
23592
23593 2011-05-06 Glenn Morris <rgm@gnu.org>
23594
23595 * calendar/appt.el (appt-message-warning-time): Doc fix.
23596 (appt-warning-time-regexp): New option.
23597 (appt-make-list): Respect appt-message-warning-time.
23598
23599 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23600 New options.
23601 (diary-add-to-list): Strip comments from the displayed string.
23602 (diary-mode): Set comment-start and comment-end.
23603
23604 * vc/diff-mode.el (smerge-refine-subst): Declare.
23605 (diff-refine-hunk): Don't require smerge-mode when compiling.
23606
23607 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23608
23609 * simple.el (list-processes): Return nil as the docstring says.
23610
23611 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23612
23613 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23614 to "".
23615 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23616 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23617 determining of binary transfer. (Bug#7383)
23618
23619 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23620
23621 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23622 Fix port computation bug. (Bug#8618)
23623
23624 2011-05-05 Glenn Morris <rgm@gnu.org>
23625
23626 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23627
23628 * simple.el (shell-dynamic-complete-functions)
23629 (comint-dynamic-complete-functions): Declare.
23630
23631 * net/network-stream.el (gnutls-negotiate):
23632 * simple.el (tabulated-list-print): Fix declarations.
23633
23634 * progmodes/gud.el (syntax-symbol, syntax-point):
23635 Remove unnecessary and incorrect declarations.
23636
23637 * emacs-lisp/check-declare.el (check-declare-scan):
23638 Handle byte-compile-initial-macro-environment in bytecomp.el.
23639
23640 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23641
23642 Fix earlier half-done eieio-defmethod change (bug#8338).
23643 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23644 Streamline and change calling convention.
23645 (defmethod): Adjust accordingly and simplify.
23646 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23647 new eieio--defmethod.
23648 (slot-boundp): Minor CSE simplification.
23649
23650 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23651
23652 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23653 (glasses-make-readable): Use glasses-separate-capital-groups.
23654
23655 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23656
23657 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23658 (warning-series): Doc fix.
23659 (display-warning): Don't try to create the buffer if we just found it.
23660
23661 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23662
23663 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23664 (autoload-find-generated-file): New function.
23665 (generate-file-autoloads): Bind generated-autoload-file to
23666 buffer-file-name.
23667 (update-file-autoloads, update-directory-autoloads):
23668 Use autoload-find-generated-file. If called interactively, prompt for
23669 output file (Bug#7989).
23670 (batch-update-autoloads): Doc fix.
23671
23672 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23673
23674 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23675
23676 2011-05-04 Glenn Morris <rgm@gnu.org>
23677
23678 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23679 function, so it follows changes in calendar-date-style.
23680 (diary-fancy-date-matcher): New function.
23681 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23682 (diary-fancy-font-lock-fontify-region-function):
23683 Use diary-fancy-date-pattern as a function.
23684
23685 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23686 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23687
23688 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23689
23690 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23691 instead of positional arguments. Allow :keylist and :crlfiles
23692 arguments.
23693 (open-gnutls-stream): Call it.
23694
23695 * net/network-stream.el (network-stream-open-starttls): Adjust to
23696 call `gnutls-negotiate' with :process and :hostname arguments.
23697
23698 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23699
23700 * minibuffer.el (completion--message): New function.
23701 (completion--do-completion, minibuffer-complete)
23702 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23703 (completion--do-completion): Don't ignore completion-auto-help when in
23704 icomplete-mode.
23705
23706 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23707 internal encoding (e.g. tibetan zero is not whitespace).
23708 (global-whitespace-mode): Prefer save-current-buffer.
23709 (whitespace-trailing-regexp): Remove useless save-match-data.
23710 (whitespace-empty-at-bob-regexp): Minor simplification.
23711
23712 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23713
23714 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23715
23716 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23717
23718 * textmodes/ispell.el (ispell-add-per-file-word-list):
23719 Use `concat' to create string for insertion.
23720
23721 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23722
23723 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23724 Avoid open-line which runs post-self-insert-hook.
23725 (bibtex-fill-entry): Remove unused `end' var.
23726
23727 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23728
23729 * textmodes/ispell.el (ispell-add-per-file-word-list):
23730 Protect against `nil' value of `comment-start' (Bug#8579).
23731
23732 2011-05-03 Leo Liu <sdl.web@gmail.com>
23733
23734 * isearch.el (isearch-yank-pop): New command.
23735 (isearch-mode-map): Bind it to `M-y'.
23736 (isearch-forward): Mention it.
23737
23738 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23739
23740 * simple.el (minibuffer-complete-shell-command): Remove.
23741 (minibuffer-local-shell-command-map): Use completion-at-point.
23742 (read-shell-command): Setup completion vars here instead.
23743 (read-expression-map): Bind TAB to symbol completion.
23744
23745 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23746 error directly rather via storing it into `results'.
23747
23748 2011-05-02 Leo Liu <sdl.web@gmail.com>
23749
23750 * vc/diff.el: Fix description.
23751
23752 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23753
23754 * server.el (server-eval-at): New function.
23755
23756 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23757
23758 * net/network-stream.el (open-network-stream): Take a :nowait
23759 parameter and pass it on to `make-network-process'.
23760 (network-stream-open-plain): Ditto.
23761
23762 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23763
23764 * faces.el (face-spec-set-match-display): Don't match toolkit
23765 options on terminal frames.
23766
23767 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23768
23769 * progmodes/pascal.el: Use lexical binding.
23770 (pascal-mode-map): Remove author preferences.
23771
23772 * pcomplete.el (pcomplete-std-complete): Don't abuse
23773 completion-at-point.
23774
23775 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23776
23777 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23778 removing code that has been dead since 1991 or so.
23779
23780 * startup.el (command-line): When warning about "_emacs", use a
23781 delayed warning to allow the user to filter it out.
23782
23783 2011-04-28 Deniz Dogan <deniz@dogan.se>
23784
23785 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23786 user has not joined.
23787
23788 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23789
23790 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23791 aren't any completions at point.
23792
23793 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23794
23795 * subr.el (display-delayed-warnings): New function.
23796 (delayed-warnings-hook): New variable.
23797
23798 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23799
23800 * minibuffer.el (completion-at-point, completion-help-at-point):
23801 Don't presume that a given completion-at-point-function will always
23802 use the same calling convention.
23803
23804 * pcomplete.el (pcomplete-completions-at-point):
23805 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23806 pcomplete-seen is non-nil.
23807 (pcomplete-comint-setup): Also recognize the new comint/shell
23808 completion functions.
23809 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23810 pcomplete-seen is non-nil.
23811
23812 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23813
23814 * calendar/icalendar.el (diary-lib): Add require statement.
23815 (icalendar--create-uid): Read out a uid from a text-property on
23816 the first character in the entry. This allows for code to add its
23817 own uid to the entry.
23818 (icalendar--convert-float-to-ical): Add export of
23819 `diary-float'-entries save for those with the optional DAY
23820 argument.
23821
23822 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23823
23824 * subr.el (shell-quote-argument): Use alternate escaping strategy
23825 when we spot a variable reference in a string.
23826
23827 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23828
23829 * cus-start.el (all): Define customization for debug-on-event.
23830
23831 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23832
23833 * subr.el (shell-quote-argument): Escape correctly under Windows.
23834
23835 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23836
23837 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23838
23839 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23840
23841 * net/tramp.el (tramp-process-actions): Add POS argument.
23842 Delete region between POS and (pos).
23843
23844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23845 Use `nil' position in `tramp-process-actions' call.
23846 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23847
23848 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23849 position in `tramp-process-actions' call.
23850
23851 * net/trampver.el: Update release number.
23852
23853 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23854
23855 * custom.el (defcustom): Obey lexical-binding.
23856
23857 Fix octave-inf completion problems reported by Alexander Klimov.
23858 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23859 Inherit from octave-mode-syntax-table.
23860 (inferior-octave-mode): Set info-lookup-mode.
23861 (inferior-octave-completion-at-point): New function.
23862 (inferior-octave-complete): Use it and completion-in-region.
23863 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23864 comint-filename-completion.
23865 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23866 symbol elements which shouldn't be word elements.
23867 (octave-font-lock-keywords, octave-beginning-of-defun)
23868 (octave-function-header-regexp): Adjust regexps accordingly.
23869 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23870
23871 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23872
23873 * net/gnutls.el (gnutls-errorp): Declare before first use.
23874
23875 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23876
23877 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23878 verify-error, and verify-hostname-error parameters. Check whether
23879 default trustfile exists before going to use it. Add missing
23880 argument to gnutls-message-maybe call. Return value.
23881 Reported by Claudio Bley <claudio.bley@gmail.com>.
23882 (open-gnutls-stream): Add usage example.
23883
23884 * net/network-stream.el (network-stream-open-starttls): Give host
23885 parameter to `gnutls-negotiate'.
23886 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23887 * subr.el (shell-quote-argument): Escape correctly under Windows.
23888
23889 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23890
23891 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23892 Use correct match group (bug#8438).
23893
23894 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23895
23896 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23897 (package-menu--generate): New arg specifying packages to show.
23898 (package-menu-refresh, package-menu-execute, list-packages):
23899 Callers changed.
23900 (package-show-package-list): New function, replacing deleted
23901 package--list-packages (renamed because it is non-internal).
23902
23903 * finder.el (finder-list-matches): Use package-show-package-list
23904 instead of deleted package--list-packages.
23905
23906 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23907 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23908 (vc-annotate-mode-map): Bind it to RET.
23909
23910 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23911
23912 * progmodes/etags.el (next-file): Don't use set-buffer to change
23913 buffers (Bug#8478).
23914
23915 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23916
23917 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23918
23919 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23920 (apropos-accumulator): Doc fix.
23921 (apropos-function, apropos-macro, apropos-command)
23922 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23923 (apropos-plist): Add face property.
23924 (apropos-symbols-internal): Fix indentation.
23925 (apropos-print): Simplify help, and recognize apropos-multi-type.
23926 (apropos-print-doc): Use button-type-get to extract the button's
23927 face property. Fill docstring (Bug#8352).
23928
23929 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23930
23931 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23932
23933 * play/mpuz.el (mpuz-silent): Doc fix.
23934 (mpuz-mode-map): Use mapc.
23935 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23936 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23937 Fix typos in docstrings.
23938
23939 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23940 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23941
23942 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23943
23944 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23945
23946 * minibuffer.el (completion--do-completion): Avoid the "Next char
23947 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23948
23949 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23950 mouse-2 into unread-command-events, it is interpreted correctly.
23951
23952 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23953 (image-toggle-display): Doc fix.
23954
23955 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23956
23957 * textmodes/page.el (what-page): Use line-number-at-pos to
23958 calculate line number (Bug#6825).
23959
23960 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23961
23962 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23963 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23964 Pass argument NO-DEFAULT to `find-tag-interactive'.
23965
23966 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23967
23968 Lexical-binding cleanup.
23969
23970 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23971 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23972 * progmodes/ada-prj.el (ada-prj-initialize-values)
23973 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23974 (ada-prj-show-value):
23975 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23976 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23977 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23978 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23979 * progmodes/bug-reference.el (bug-reference-push-button):
23980 * progmodes/fortran.el (fortran-line-length):
23981 * progmodes/glasses.el (glasses-change):
23982 * progmodes/octave-mod.el (octave-fill-paragraph):
23983 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23984 (python-pdbtrack-grub-for-buffer, python-sentinel):
23985 * progmodes/sql.el (sql-save-connection):
23986 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23987 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23988 Mark unused parameters.
23989
23990 * progmodes/compile.el (compilation--flush-directory-cache)
23991 (compilation--flush-parse, compile-internal): Mark unused parameters.
23992 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23993 (compilation-next-error-function): Remove unused variable `timestamp'.
23994
23995 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23996 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23997
23998 * progmodes/dcl-mode.el (dcl-end-of-command):
23999 Remove unused variable `start'.
24000 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24001 (dcl-option-value-basic, dcl-option-value-offset)
24002 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24003 Mark unused parameters.
24004 (dcl-save-local-variable): Remove unused variable `val'.
24005 (mode): Declare.
24006
24007 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24008 Mark unused parameters.
24009 (delphi-ignore-changes): Move before first use.
24010 (delphi-charset-token-at): Remove unused variable `start'.
24011 (delphi-else-start): Remove unused variable `if-count'.
24012 (delphi-comment-block-start, delphi-comment-block-end):
24013 Remove unused variable `kind'.
24014 (delphi-indent-line): Remove unused variable `new-point'.
24015
24016 * progmodes/ebrowse.el (ebrowse-files-list)
24017 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24018 Mark unused parameters. Don't quote `lambda'.
24019 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24020 Don't quote `lambda'.
24021 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24022 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24023 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24024 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24025 Use `ignore-errors'.
24026 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24027 (ebrowse-view/find-file-and-search-pattern)
24028 (ebrowse-view/find-member-declaration/definition):
24029 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24030 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24031 Rename parameter PREFIX-ARG to PREFIX.
24032 (ebrowse-tags-read-name): Remove unused variables `start' and
24033 `member-info'.
24034 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24035 to `tags-file'.
24036
24037 * progmodes/etags.el (local-find-tag-hook): Declare.
24038 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24039 Mark unused parameters.
24040
24041 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24042 (executable-interpret): Mark unused parameter.
24043
24044 * progmodes/flymake.el (flymake-process-sentinel)
24045 (flymake-after-change-function)
24046 (flymake-create-temp-with-folder-structure)
24047 (flymake-get-include-dirs-dot): Mark unused parameters.
24048 (flymake-safe-delete-directory): Remove unused variable `err'.
24049
24050 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24051 (speedbar-timer-fn, speedbar-line-text)
24052 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24053 (speedbar-center-buffer-smartly): Declare functions.
24054 (gdb-find-watch-expression): Remove unused variable `array'.
24055 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24056 (gdb-starting): Mark unused parameters.
24057 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24058 (gdb-table-string): Remove unused variable `res'.
24059 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24060 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24061 (gdb-display-buffer): Remove unused variable `cur-size'.
24062
24063 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24064 allow lexical-binding compilation.
24065 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24066 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24067 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24068 Mark unused parameters.
24069 (gud-gdb-marker-filter): Remove unused variable `match'.
24070 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24071 lambda expressions and funcall them, instead of using `fset'.
24072
24073 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24074 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24075
24076 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24077 variable `header-beg'; use `let'.
24078
24079 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24080 `restart', `last-sexp' and `at-do'.
24081
24082 * progmodes/js.el (js--debug): Mark unused parameter.
24083 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24084 (js--splice-into-items): Remove unused variable `item'.
24085 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24086
24087 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24088 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24089 (makefile-complete): Remove unused variable `try'.
24090 (makefile-fill-paragraph, makefile-match-function-end):
24091 Mark unused parameters.
24092
24093 * progmodes/octave-inf.el (inferior-octave-complete):
24094 Remove unused variable `proc'.
24095 (inferior-octave-output-digest): Mark unused parameter.
24096
24097 * progmodes/perl-mode.el (perl-calculate-indent):
24098 Remove unused variable `err'.
24099
24100 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24101 (prolog-indent-line): Mark unused parameters.
24102 (prolog-indent-line): Remove unused variable `beg'.
24103
24104 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24105 (reporter-dont-compact-list): Declare.
24106
24107 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24108 Remove unused variable `char'.
24109 (sh-debug): Mark unused parameter.
24110 (sh-get-indent-info): Remove unused variable `start'.
24111 (sh-calculate-indent): Remove unused variable `var'.
24112
24113 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24114 (simula-electric-keyword): Remove unused variable `null'.
24115 (simula-search-backward, simula-search-forward): Remove unused
24116 variables `begin' and `end'.
24117
24118 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24119 Remove unused variable `pos'.
24120 (vera-electric-tab, vera-comment-uncomment-region):
24121 Mark unused parameters.
24122 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24123
24124 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24125
24126 * emacs-lisp/package.el (package--builtins, package-alist)
24127 (package-load-descriptor, package-built-in-p, package-activate)
24128 (define-package, package-installed-p)
24129 (package-compute-transaction, package-buffer-info)
24130 (package--push): Doc fix. Distinguish more clearly between
24131 version strings and version lists.
24132
24133 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24134
24135 Lexical-binding cleanup.
24136
24137 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24138 (5x5-make-mutate-best):
24139 * play/fortune.el (fortune-in-buffer):
24140 * play/gomoku.el (gomoku-init-display):
24141 * play/solitaire.el (solitaire, solitaire-do-check):
24142 * play/tetris.el (tetris-default-update-speed-function):
24143 Mark unused parameters.
24144
24145 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24146 (bubbles--shift): Remove unused variable `char-org'.
24147 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24148 (bubbles--show-images): Remove unused variable `char'.
24149
24150 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24151 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24152 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24153 (decipher-analyze-buffer): Use ?\s.
24154 (decipher-make-checkpoint): Remove unused variable `mapping'.
24155
24156 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24157
24158 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24159 Remove unused variable `result'; use `let'.
24160
24161 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24162 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24163 (gametree-children-shown-p, gametree-compute-reduced-score):
24164 Use `ignore-errors'.
24165
24166 * play/handwrite.el (ps-lpr-switches): Declare.
24167 (handwrite): Remove unused variables `pmin' and `lastp'.
24168
24169 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24170
24171 * play/landmark.el (landmark-init-display)
24172 (landmark-update-naught-weights): Mark unused parameters.
24173 (landmark-y): Remove unused variable `noise'. Simplify.
24174 (landmark-human-plays): Remove unused variable `score'.
24175
24176 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24177 (mpuz-try-proposal): Remove unused variable `game'.
24178
24179 * play/zone.el (life-patterns): Declare.
24180
24181 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24182
24183 * vc/vc.el (ediff-vc-internal): Declare function.
24184
24185 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24186
24187 * shell.el: Use lexical-binding and std completion UI.
24188 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24189 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24190 comint-preoutput-filter-functions rather than on
24191 comint-output-filter-functions.
24192 (shell-command-completion, shell--command-completion-data)
24193 (shell-filename-completion, shell-environment-variable-completion)
24194 (shell-c-a-p-replace-by-expanded-directory): New functions.
24195 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24196 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24197 (shell-dynamic-complete-environment-variable): Use them.
24198 (shell-dynamic-complete-as-environment-variable)
24199 (shell-dynamic-complete-as-command): Remove.
24200 (shell-match-partial-variable): Match past point.
24201 * comint.el: Clean up use of completion-at-point-functions.
24202 (comint-completion-at-point): New function.
24203 (comint-mode): Use it completion-at-point-functions.
24204 (comint-dynamic-complete): Make it obsolete.
24205 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24206 (comint-c-a-p-replace-by-expanded-history): New function.
24207 (comint-dynamic-complete-functions)
24208 (comint-replace-by-expanded-history): Use it.
24209 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24210 termination strings. Try harder to avoid second try-completion.
24211 (completion-in-region-mode-map): Disable bindings that don't work yet.
24212
24213 * comint.el: Use lexical-binding. Require CL.
24214 (comint-dynamic-complete-functions): Use comint-filename-completion.
24215 (comint-completion-addsuffix): Tweak custom type.
24216 (comint-filename-completion, comint--common-suffix)
24217 (comint--common-quoted-suffix, comint--table-subvert)
24218 (comint--complete-file-name-data): New functions.
24219 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24220 (comint-dynamic-list-filename-completions): Use them.
24221 (comint-dynamic-simple-complete): Make obsolete.
24222
24223 * minibuffer.el (completion-in-region-mode):
24224 Keep completion-in-region-mode--predicate global.
24225 (completion-in-region--postch):
24226 Assume completion-in-region-mode--predicate is not null.
24227
24228 * progmodes/flymake.el (flymake-start-syntax-check-process):
24229 Obey `dir'. Simplify.
24230
24231 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24232 we're in VC after all.
24233
24234 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24235
24236 * vc/vc.el (vc-diff-build-argument-list-internal)
24237 (vc-version-ediff, vc-ediff): New commands.
24238 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24239
24240 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24241
24242 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24243 add sanity check.
24244
24245 * obsolete/erc-hecomplete.el: Make obsolete.
24246 * obsolete/: Standardize obsolescence info in the header.
24247
24248 2011-04-20 Glenn Morris <rgm@gnu.org>
24249
24250 * calendar/solar.el (solar-horizontal-coordinates):
24251 Use the longitude argument rather than `calendar-longitude'.
24252 (solar-date-next-longitude): Remove unused locals.
24253
24254 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24255
24256 * whitespace.el: New version 13.2.1.
24257
24258 2011-04-20 felix <EmacsWiki> (tiny change)
24259
24260 * whitespace.el (global-whitespace-mode): Keep highlight when
24261 switching between major modes on a file.
24262
24263 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24264
24265 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24266 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24267 multi-line comments as well.
24268
24269 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24270
24271 Lexical-binding cleanup.
24272
24273 * arc-mode.el (archive-mode-revert):
24274 * cmuscheme.el (scheme-interactively-start-process):
24275 * custom.el (custom-initialize-delay):
24276 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24277 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24278 * emacs-lock.el (emacs-lock-clear-sentinel):
24279 * ezimage.el (defezimage):
24280 * follow.el (follow-avoid-tail-recenter):
24281 * fringe.el (set-fringe-mode-1):
24282 * generic-x.el (bat-generic-mode-compile):
24283 * help-mode.el (help-info-variable, help-do-xref)
24284 (help-mode-revert-buffer):
24285 * help.el (view-emacs-todo):
24286 * iswitchb.el (iswitchb-completion-help):
24287 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24288 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24289 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24290 * locate.el (locate-update):
24291 * longlines.el (longlines-encode-region)
24292 (longlines-after-change-function):
24293 * outline.el (outline-isearch-open-invisible):
24294 * ps-def.el (declare-function, charset-dimension, char-width)
24295 (encode-char):
24296 * ps-mule.el (ps-mule-plot-string):
24297 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24298 (recentf-edit-list-select, recentf-edit-list-validate)
24299 (recentf-open-files-action):
24300 * rect.el (delete-whitespace-rectangle-line)
24301 (rectangle-number-line-callback):
24302 * register.el (window-configuration-to-register)
24303 (frame-configuration-to-register):
24304 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24305 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24306 (xselect-convert-to-targets, xselect-convert-to-delete)
24307 (xselect-convert-to-filename, xselect-convert-to-charpos)
24308 (xselect-convert-to-lineno, xselect-convert-to-colno)
24309 (xselect-convert-to-os, xselect-convert-to-host)
24310 (xselect-convert-to-user, xselect-convert-to-class)
24311 (xselect-convert-to-name, xselect-convert-to-integer)
24312 (xselect-convert-to-atom, xselect-convert-to-identity):
24313 * subr.el (declare, ignore, process-kill-without-query)
24314 (text-clone-maintain):
24315 * terminal.el (te-get-char, te-tic-sentinel):
24316 * tool-bar.el (tool-bar-make-keymap):
24317 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24318 * type-break.el (type-break-mode, type-break-noninteractive-query):
24319 * view.el (View-back-to-mark):
24320 * wid-browse.el (widget-browse-action, widget-browse-widget)
24321 (widget-browse-widgets, widget-browse-sexp):
24322 * widget.el (define-widget-keywords):
24323 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24324 Mark unused parameters.
24325
24326 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24327 (align-areas): Remove unused variable `look'.
24328 (align-region): Remove unused variables `real-end' and `pos-list'.
24329
24330 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24331
24332 * bindings.el (mode-line-modified, mode-line-remote):
24333 Mark unused parameters.
24334 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24335
24336 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24337 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24338
24339 * comint.el (comint-history-isearch-pop-state)
24340 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24341 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24342 (comint-substitute-in-file-name): Doc fix.
24343
24344 * completion.el (cmpl-statistics-block): Mark unused parameter.
24345 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24346 (save-completions-to-file, load-completions-from-file):
24347 Remove unused local variable `e'.
24348
24349 * composite.el (compose-chars): Remove unused variable `len'.
24350 (lgstring-insert-glyph): Remove unused variable `g'.
24351 (compose-glyph-string): Remove unused variables `ascent',
24352 `descent', `lbearing' and `rbearing'.
24353 (compose-glyph-string-relative): Remove unused variables
24354 `lbearing', `rbearing' and `wadjust'.
24355 (compose-gstring-for-graphic): Remove unused variables `header',
24356 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24357 (compose-gstring-for-terminal): Remove unused variables `header'
24358 and `nchars'. Use `let', not `let*'.
24359
24360 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24361 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24362 (Custom-buffer-done, custom-buffer-create-internal)
24363 (custom-browse-visibility-action, custom-browse-group-tag-action)
24364 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24365 (widget-magic-mouse-down-action, custom-toggle-parent)
24366 (custom-add-parent-links, custom-toggle-hide-variable)
24367 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24368 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24369 (custom-face-menu-create, custom-variable-menu-create, get)
24370 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24371 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24372 (customize-apropos): Remove unused variable `tests'.
24373 (custom-group-value-create): Remove unused variable `hidden-p'.
24374 (sort-fold-case): Declare.
24375
24376 * cus-theme.el (custom-reset-standard-faces-list)
24377 (custom-reset-standard-variables-list): Declare.
24378 (customize-create-theme, custom-theme-revert, custom-theme-write)
24379 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24380 Mark unused parameters.
24381
24382 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24383
24384 * delim-col.el (delimit-columns-max): Move defvar before first use.
24385
24386 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24387 (describe-char): Don't quote `lambda'. Mark unused parameter.
24388
24389 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24390 (auto-insert): Declare.
24391 (desktop-restore-file-buffer): Rename desktop-* parameters;
24392 mark unused ones.
24393 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24394 (desktop-buffer): Rename desktop-* parameters.
24395
24396 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24397 (dframe-reposition-frame-xemacs, dframe-help-echo)
24398 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24399 Mark unused parameters.
24400
24401 * dired-aux.el (backup-extract-version-start, overwrite-query)
24402 (overwrite-backup-query, rename-regexp-query)
24403 (rename-non-directory-query): Declare.
24404 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24405 (dired-add-entry): Remove unused variable `orig-file-name'.
24406 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24407 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24408 `dired-copy-preserve-time' directly.
24409 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24410 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24411
24412 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24413 (dired-virtual-revert, dired-make-relative-symlink):
24414 Mark unused parameters.
24415 (manual-program): Declare.
24416 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24417 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24418 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24419
24420 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24421
24422 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24423
24424 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24425 Declare.
24426
24427 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24428
24429 * electric.el (Electric-command-loop): Rename parameter
24430 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24431
24432 * expand.el (expand-in-literal): Remove unused variable `here'.
24433
24434 * facemenu.el (facemenu-add-new-color):
24435 Remove unused variable `docstring'.
24436
24437 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24438 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24439 (face-attr-construct): Mark unused parameter. Doc fix.
24440 (read-color): Remove unused variable `hex-string'.
24441
24442 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24443 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24444 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24445 (display-buffer-other-frame): Remove unused variable `old-window'.
24446 (kill-buffer-hook): Declare.
24447 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24448 Mark unused parameters.
24449 (after-find-file): Pass 1 to `auto-save-mode', not t.
24450
24451 * files-x.el (auto-insert): Declare.
24452 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24453
24454 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24455 variable `buf'. Mark unused parameter.
24456 (find-lisp-insert-directory): Mark unused parameter.
24457
24458 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24459 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24460 (format-common-tail): Remove, unused.
24461 (format-deannotate-region): Remove unused variable `loc'.
24462 (format-annotate-region): Remove unused variable `p'.
24463 (format-annotate-single-property-change): Remove unused variables
24464 `default' and `tail'.
24465
24466 * forms.el (read-file-filter): Declare.
24467 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24468
24469 * frame.el (frame-creation-function-alist): Mark unused parameter.
24470 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24471
24472 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24473 Remove unused parameters.
24474 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24475 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24476
24477 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24478 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24479 (hfy-prepare-tag-map): Mark unused parameters.
24480 (htmlfontify-buffer): Use `called-interactively-p'.
24481
24482 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24483 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24484 (ibuffer-do-occur): Mark unused parameters.
24485 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24486 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24487
24488 * ibuffer.el: Don't quote `lambda'.
24489 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24490 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24491 Mark unused parameters.
24492
24493 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24494 (ido-completing-read): Mark unused parameters.
24495 (ido-copy-current-word): Mark unused parameters;
24496 remove unused variable `name'.
24497 (ido-sort-merged-list): Remove unused parameter `dirs'.
24498
24499 * ielm.el (ielm-input-sender): Mark unused parameter.
24500 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24501 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24502 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24503 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24504 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24505
24506 * image-dired.el (image-dired-display-thumbs): Remove unused
24507 variables `curr-file' and `count'.
24508 (image-dired-remove-tag): Remove unused variable `start'.
24509 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24510 variable `curr-file'
24511 (image-dired-rotate-original): Remove unused variable `temp-file'.
24512 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24513 Remove unused variable `file'.
24514 (image-dired-gallery-generate): Remove unused variable `curr'.
24515 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24516
24517 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24518
24519 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24520
24521 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24522
24523 * isearch.el (minibuffer-history-symbol): Declare.
24524 (isearch-edit-string): Remove unused variable `err'.
24525 (isearch-message-prefix, isearch-message-suffix):
24526 Mark unused parameters.
24527
24528 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24529
24530 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24531
24532 * makesum.el (double-column): Remove unused variable `cnt'.
24533
24534 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24535 (ido-ignore-item-temp-list): Declare.
24536
24537 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24538 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24539 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24540 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24541 `mouse-col-delta'.
24542
24543 * mouse-sel.el (mouse-extend-internal):
24544 Remove unused variable `orig-window-frame'.
24545
24546 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24547 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24548 Move declarations before first use.
24549 (pcomplete-opt): Mark unused parameters; doc fix.
24550
24551 * proced.el (proced-revert): Mark unused parameter.
24552 (proced-send-signal): Remove unused variable `err'.
24553
24554 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24555 Rename parameter PREFIX-ARG to ARG.
24556 (ps-basic-plot-string, ps-basic-plot-whitespace):
24557 Mark unused parameters.
24558
24559 * replace.el (replace-count): Define.
24560 (occur-revert-function): Mark unused parameters.
24561 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24562 (isearch-case-fold-search, isearch-string): Declare.
24563 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24564 bind `case-fold-search'. Remove unused variables `beg' and `end',
24565 and simplify.
24566 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24567 COUNT and bind `replace-count'.
24568 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24569 to COUNT.
24570
24571 * savehist.el (print-readably, print-string-length): Declare.
24572
24573 * shadowfile.el (shadow-expand-cluster-in-file-name):
24574 Remove unused variable `cluster'.
24575 (shadow-copy-file): Remove unused variable `i'.
24576 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24577 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24578 (shadow-define-literal-group, shadow-define-regexp-group)
24579 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24580
24581 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24582 (shell): Use `called-interactively-p'.
24583 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24584
24585 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24586 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24587 (delete-backward-char): Remove unused variable `ocol'.
24588 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24589 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24590 (event-apply-hyper-modifier, event-apply-shift-modifier)
24591 (event-apply-control-modifier, event-apply-meta-modifier):
24592 Mark unused parameters.
24593 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24594 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24595
24596 * speedbar.el (speedbar-ignored-directory-expressions)
24597 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24598 (speedbar-find-file, speedbar-dir-follow)
24599 (speedbar-directory-buttons-follow, speedbar-tag-find)
24600 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24601 (speedbar-buffers-line-directory, speedbar-buffer-click):
24602 Mark unused parameters.
24603 (speedbar-tag-file): Remove unused variable `mode'.
24604 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24605
24606 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24607
24608 * talk.el (talk): Remove unused variable `display'.
24609
24610 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24611 (tar-write-region-annotate): Mark unused parameter.
24612
24613 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24614 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24615 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24616 warning by another.
24617
24618 * time-stamp.el (time-stamp-string-preprocess):
24619 Remove unused variable `require-padding'.
24620
24621 * tree-widget.el (widget-glyph-enable): Declare.
24622 (tree-widget-action): Mark unused parameter.
24623
24624 * w32-fns.el (x-get-selection): Mark unused parameter.
24625 (autoload-make-program, generated-autoload-file): Declare.
24626
24627 * wdired.el (wdired-revert): Mark unused parameters.
24628 (wdired-xcase-word): Remove unused variable `err'.
24629
24630 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24631 (whitespace-help-scroll): Remove unused variable `data-help'.
24632
24633 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24634 (widget-image-insert, widget-after-change, default)
24635 (widget-default-format-handler, widget-default-notify)
24636 (widget-default-prompt-value, widget-info-link-action)
24637 (widget-url-link-action, widget-function-link-action)
24638 (widget-variable-link-action, widget-file-link-action)
24639 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24640 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24641 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24642 (widget-insert-button-action, widget-delete-button-action, visibility)
24643 (widget-documentation-link-action, widget-documentation-string-action)
24644 (widget-const-prompt-value, widget-regexp-match, symbol)
24645 (widget-coding-system-prompt-value)
24646 (widget-key-sequence-value-to-external, sexp)
24647 (widget-sexp-value-to-internal, character, vector, cons)
24648 (widget-choice-prompt-value, widget-boolean-prompt-value)
24649 (widget-color--choose-action): Mark unused parameters.
24650 (widget-item-match-inline, widget-choice-match-inline)
24651 (widget-checklist-match, widget-checklist-match-inline)
24652 (widget-group-match): Rename parameter VALUES to VALS.
24653 (widget-field-value-set): Remove unused variable `size'.
24654 (widget-color-action): Remove unused variables `value' and `start'.
24655
24656 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24657 variable `dir'. Doc fix.
24658 (windmove-find-other-window): Don't pass it.
24659
24660 * window.el (count-windows): Mark unused parameter.
24661 (bw-adjust-window): Remove unused variable `err'.
24662
24663 * woman.el (woman-file-name): Remove unused variable `default'.
24664 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24665 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24666 (global-font-lock-mode): Declare.
24667 (woman-decode-region): Mark unused parameter.
24668 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24669
24670 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24671 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24672 (x-dnd-handle-moz-url): Remove unused variable `title'.
24673 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24674
24675 * xml.el (xml-parse-tag, xml-parse-attlist):
24676 Remove unused variable `pos'.
24677
24678 2011-04-19 Glenn Morris <rgm@gnu.org>
24679
24680 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24681 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24682 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24683 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24684 * calendar/cal-html.el (cal-html-insert-minical):
24685 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24686 (calendar-mark-date-pattern):
24687 Prefix "unused" locals.
24688
24689 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24690 optional argument `style'.
24691
24692 * calendar/appt.el (appt-make-list):
24693 * calendar/cal-china.el (calendar-chinese-date-string):
24694 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24695 (diary-hebrew-yahrzeit):
24696 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24697 * calendar/calendar.el (calendar-generate-window):
24698 * calendar/time-date.el (time-to-days):
24699 Remove unused local variables.
24700
24701 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24702
24703 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24704 glyphless-char-display table.
24705 (tabulated-list-glyphless-char-display): New var.
24706
24707 2011-04-18 Sam Steingold <sds@gnu.org>
24708
24709 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24710 to acknowledgments.
24711
24712 2011-04-17 Glenn Morris <rgm@gnu.org>
24713
24714 * calendar/diary-lib.el (diary-sexp-entry):
24715 * calendar/holidays.el (holiday-sexp):
24716 Set debug-on-error rather than the removed stack-trace-on-error.
24717
24718 2011-04-16 Glenn Morris <rgm@gnu.org>
24719
24720 * progmodes/f90.el: Use lexical-binding.
24721 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24722
24723 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24724
24725 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24726 (mail-mode): Setup mailalias completion here instead.
24727 * mail/mailalias.el: Use lexical-binding.
24728 (pattern, mailalias-done): Declare dynamic.
24729 (mail-completion-at-point-function): New function, from mail-complete.
24730 (mail-complete): Use it.
24731 (mail-completion-expand): New function.
24732 (mail-get-names): Use it.
24733 (mail-directory, mail-directory-process, mail-directory-stream):
24734 Don't use `pattern' for lexically bound arg.
24735
24736 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24737
24738 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24739 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24740 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24741
24742 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24743 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24744 (byte-interactive-p): Define them again, for use when inlining
24745 old code.
24746
24747 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24748
24749 * loadup.el: Use `string-to-number', not `string-to-int'.
24750
24751 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24752
24753 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24754 gud-gdb-complete-command.
24755 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24756 (gud-gdb-completion-at-point): New function.
24757 (gud-gdb-completions): Remove.
24758
24759 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24760
24761 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24762 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24763 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24764 whether `executable-find' is bound.
24765
24766 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24767
24768 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24769
24770 * minibuffer.el (completion-in-region-mode-predicate)
24771 (completion-in-region-mode--predicate): New vars.
24772 (completion-in-region, completion-in-region--postch)
24773 (completion-in-region-mode): Use them.
24774 (completion--capf-wrapper): Also return the hook function.
24775 (completion-at-point, completion-help-at-point):
24776 Adjust and provide a predicate.
24777
24778 Preserve arg names for advice of subr and lexical functions (bug#8457).
24779 * help-fns.el (help-function-arglist): Consolidate the subr and
24780 new-byte-code cases. Add argument `preserve-names' to extract names
24781 from the docstring when needed.
24782 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24783 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24784 (ad-arglist): Use help-function-arglist's new arg.
24785 (ad-definition-type): Use cond.
24786
24787 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24788
24789 * autorevert.el (auto-revert-handler):
24790 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24791 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24792 Don't quote lambda.
24793
24794 * image-mode.el (image-transform-set-scale):
24795 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24796
24797 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24798
24799 * net/network-stream.el (network-stream-open-starttls): Only do
24800 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24801 Upgrades via gnutls-cli are too slow to be done opportunistically.
24802
24803 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24804
24805 * dframe.el (dframe-current-frame): Remove spurious quote.
24806
24807 2011-04-12 Glenn Morris <rgm@gnu.org>
24808
24809 * calendar/cal-tex.el (cal-tex-end-document):
24810 Try to automatically use latin1 input if needed.
24811
24812 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24813 Don't try to cons a mark onto an empty element.
24814
24815 2011-04-11 Leo Liu <sdl.web@gmail.com>
24816
24817 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24818 buffers.
24819 (ido-kill-buffer-at-head): Support killing virtual buffers.
24820
24821 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24822
24823 * minibuffer.el (completion-show-inline-help): New var.
24824 (completion--do-completion, minibuffer-complete)
24825 (minibuffer-force-complete, minibuffer-complete-word):
24826 Inhibit minibuffer messages if completion-show-inline-help is nil.
24827
24828 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24829 to avoid interference from inline help (Bug#5849).
24830
24831 2011-04-10 Leo Liu <sdl.web@gmail.com>
24832
24833 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24834 Fix typo.
24835
24836 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24837
24838 * image-mode.el (image-toggle-display-image): Signal an error if
24839 not in Image mode.
24840 (image-transform-mode, image-transform-resize)
24841 (image-transform-set-rotation): Doc fix.
24842 (image-transform-set-resize): Delete.
24843 (image-transform-set-scale, image-transform-fit-to-height)
24844 (image-transform-fit-to-width): Handle image-toggle-display-image
24845 and image-transform-resize directly.
24846
24847 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24848
24849 * doc-view.el (doc-view-fit-width-to-window)
24850 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24851 New functions for fitting the shown image to the Emacs window size.
24852 (doc-view-mode-map): Add bindings for the new functions.
24853
24854 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24855
24856 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24857 Fix typo in docstring.
24858
24859 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24860
24861 * files.el (file-size-human-readable): Produce one digit after
24862 decimal, like "ls -lh" does.
24863
24864 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24865 the file size representation.
24866
24867 * simple.el (list-processes): If async subprocesses are not
24868 available, error out with a clear error message.
24869
24870 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24871
24872 * help.el (help-form-show): New function, to be called from C.
24873 Put help-form output in a buffer named differently than *Help*.
24874
24875 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24876
24877 * files.el (file-size-human-readable): New function.
24878
24879 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24880 computing the representation inline. Don't require `cl'.
24881
24882 2011-04-08 Glenn Morris <rgm@gnu.org>
24883
24884 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24885
24886 * net/browse-url.el (browse-url-firefox):
24887 Test system-type, not system-configuration.
24888
24889 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24890 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24891 Use log-edit-empty-buffer-p. (Bug#7598)
24892
24893 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24894 (rlogin-mode-map): Initialize in the defvar.
24895 (rlogin): Use ignore-errors.
24896
24897 * replace.el (occur-mode-map): Some fixes for menu items.
24898
24899 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24900
24901 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24902
24903 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24904
24905 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24906 issuing unused warnings.
24907
24908 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24909 macro directly.
24910
24911 * simple.el: Lisp reimplement of list-processes. Based on an
24912 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24913 (process-menu-mode): New major mode.
24914 (list-processes--refresh, list-processes):
24915 (process-menu-visit-buffer): New functions.
24916
24917 * files.el (save-buffers-kill-emacs): Don't assume any return
24918 value of list-processes, which is undocumented anyway.
24919
24920 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24921
24922 * emacs-lisp/tabulated-list.el: New file.
24923
24924 * emacs-lisp/package.el: Use Tabulated List mode.
24925 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24926 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24927 table format using Tabulated List mode variables.
24928 (package--push): New macro, replacing package-list-maybe-add.
24929 (package-menu--generate): Use package--push. Renamed from
24930 package--generate-package-list.
24931 (package-menu-refresh, list-packages): Use it.
24932 (package-menu--print-info): Rename from package-print-package.
24933 Return insertion data instead of inserting it directly.
24934 (package-menu-describe-package, package-menu-execute):
24935 Use tabulated-list-get-id.
24936 (package-menu-mark-delete, package-menu-mark-install)
24937 (package-menu-mark-unmark, package-menu-backup-unmark)
24938 (package-menu-mark-obsolete-for-deletion):
24939 Use tabulated-list-put-tag.
24940 (package--list-packages, package-menu-revert)
24941 (package-menu-get-package, package-menu-get-version)
24942 (package-menu-sort-by-column): Functions deleted.
24943 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24944 (package-menu--status-predicate, package-menu--version-predicate)
24945 (package-menu--name-predicate)
24946 (package-menu--description-predicate): Handle arguments in the
24947 Tabulated List format.
24948 (package-list-packages-no-fetch): Call list-packages.
24949
24950 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24951
24952 * files.el (after-find-file-from-revert-buffer): Remove variable.
24953 (after-find-file): Don't bind it.
24954 (revert-buffer-in-progress-p): New variable.
24955 (revert-buffer): Bind it.
24956 Pass nil for `after-find-file-from-revert-buffer'.
24957
24958 * saveplace.el (save-place-find-file-hook): Use new variable
24959 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24960
24961 2011-04-06 Glenn Morris <rgm@gnu.org>
24962
24963 * Makefile.in (AUTOGEN_VCS): New variable.
24964 (autoloads): Use $AUTOGEN_VCS.
24965
24966 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24967 * calendar/calendar.el (calendar-mode-map):
24968 Check for toolkit scroll bars. (Bug#8305)
24969
24970 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24971
24972 * minibuffer.el (completion-in-region--postch)
24973 (completion-in-region-mode): Remove unnecessary messages.
24974
24975 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24976
24977 * font-lock.el (font-lock-refresh-defaults):
24978 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24979 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24980
24981 * info.el (Info-directory-list, Info-read-node-name-2)
24982 (Info-split-parameter-string): Doc fixes.
24983 (Info-virtual-nodes): Reflow docstring.
24984 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24985 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24986 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24987 Fix typos in docstrings.
24988 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24989 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24990 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24991 (Info-restore-desktop-buffer): Mark unused parameters.
24992 (Info-directory-find-file, Info-directory-find-node)
24993 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24994 (Info-virtual-index-find-node, Info-apropos-find-file)
24995 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24996 Mark unused parameters; fix typos in docstrings.
24997 (Info-virtual-index): Remove unused local variable `nodename'.
24998
24999 2011-04-05 Deniz Dogan <deniz@dogan.se>
25000
25001 * net/rcirc.el: Update my e-mail address.
25002 (rcirc-mode-map): Remove M-o binding.
25003
25004 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25005
25006 * startup.el (command-line): Save the cursor's theme-face
25007 directly, instead of using face-override-spec.
25008
25009 * custom.el (load-theme): Minor optimization in assigning faces.
25010
25011 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25012
25013 * help-fns.el (describe-variable): Complete all variables having
25014 documentation, including keywords.
25015 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25016
25017 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25018
25019 Convert to lexical-binding.
25020
25021 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25022 (bs--get-marked-string, bs--get-modified-string)
25023 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25024 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25025 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25026
25027 * ehelp.el (electric-help-execute-extended)
25028 (electric-help-ctrl-x-prefix):
25029 * hexl.el (hexl-revert-buffer-function):
25030 * linum.el (linum-after-change, linum-after-scroll):
25031 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25032
25033 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25034
25035 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25036
25037 * epa-dired.el:
25038 * epa-mail.el:
25039 * epa-hook.el:
25040 * epa-file.el:
25041 * epa.el:
25042 * epg.el: Use lexical binding.
25043
25044 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25045
25046 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25047
25048 * textmodes/flyspell.el (flyspell-word): Recognize default
25049 dictionary case for flyspell-mark-duplications-exceptions.
25050 Use regexp matching for languages.
25051 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25052 default dictionary (Bug#7926).
25053
25054 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25055
25056 * emacs-lisp/package.el (package--with-work-buffer):
25057 Recognize https URLs.
25058
25059 * net/network-stream.el: Move from gnus/proto-stream.el.
25060 Change prefix to network-stream throughout.
25061 (open-protocol-stream): Merge into open-network-stream, leaving
25062 open-protocol-stream as an alias. Handle nil BUFFER args.
25063
25064 * subr.el (open-network-stream): Move to net/network-stream.el.
25065
25066 2011-04-02 Glenn Morris <rgm@gnu.org>
25067
25068 * find-dired.el (find-exec-terminator): New option.
25069 (find-ls-option): Test for -ls support.
25070 (find-ls-subdir-switches): Test for -b in find-ls-option.
25071 (find-dired, find-grep-dired): Doc fixes.
25072 (find-dired): Use find-exec-terminator.
25073
25074 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25075 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25076 (find-name-arg): Remove purecopy.
25077
25078 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25079 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25080 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25081 accordingly. Don't add the null-device if not needed.
25082
25083 * files.el (save-some-buffers): Doc fix.
25084
25085 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25086
25087 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25088
25089 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25090
25091 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25092 Use `dolist' rather than `mapcar'.
25093
25094 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25095
25096 Add lexical binding.
25097
25098 * subr.el (apply-partially): Use new closures rather than CL.
25099 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25100 (dolist, dotimes): Use slightly different expansion for lexical code.
25101 (functionp): Move to C.
25102 (letrec): New macro.
25103 (with-wrapper-hook): Use it and apply-partially instead of CL.
25104 (eval-after-load): Preserve lexical-binding.
25105 (save-window-excursion, with-output-to-temp-buffer): Turn them
25106 into macros.
25107
25108 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25109
25110 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25111 than the arglist.
25112 (help-add-fundoc-usage): Don't add `Not documented'.
25113 (help-function-arglist): Handle closures, subroutines, and new
25114 byte-code-functions.
25115 (help-make-usage): Remove leading underscores.
25116 (describe-function-1): Handle closures.
25117 (describe-variable): Use special-variable-p for completion.
25118
25119 * files.el (lexical-binding): Declare safe.
25120
25121 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25122 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25123 (pcase): Add `let' pattern.
25124 Change memoization so it actually works.
25125 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25126 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25127 <let>: New case.
25128
25129 * emacs-lisp/macroexp.el: Use lexical binding.
25130 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25131 Don't convert ' to #' without checking that it's indeed quoting
25132 a lambda.
25133
25134 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25135 Use eval-sexp-add-defvars.
25136 (eval-sexp-add-defvars): New fun.
25137
25138 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25139
25140 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25141 Don't autoload.
25142 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25143 than the internal `byte-compile-lambda'.
25144 (defmethod): Don't hide code under quotes.
25145 (eieio-defmethod): New `code' argument.
25146
25147 * emacs-lisp/eieio-comp.el: Remove.
25148
25149 * emacs-lisp/edebug.el (edebug-eval-defun)
25150 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25151 (edebug-toggle): Avoid `eval'.
25152
25153 * emacs-lisp/disass.el (disassemble-internal): Handle new
25154 `closure' objects.
25155 (disassemble-1): Handle new byte codes.
25156
25157 * emacs-lisp/cl.el (pushnew): Silence warning.
25158
25159 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25160 (cl-byte-compile-throw): Remove.
25161 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25162
25163 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25164 closures.
25165
25166 * emacs-lisp/cconv.el: New file.
25167
25168 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25169 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25170 (byte-compile-initial-macro-environment):
25171 Handle declare-function here.
25172 (byte-compile--lexical-environment): New var.
25173 (byte-stack-ref, byte-stack-set, byte-discardN)
25174 (byte-discardN-preserve-tos): New lap codes.
25175 (byte-interactive-p): Don't use any more.
25176 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25177 New macros.
25178 (byte-compile-lapcode): Use them and handle new lap codes.
25179 (byte-compile-obsolete): Remove.
25180 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25181 (byte-compile-arglist-warn): Check late def of inlinable funs.
25182 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25183 since they should have been expanded by now.
25184 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25185 (byte-compile-from-buffer): Remove unused second arg.
25186 (byte-compile-preprocess): New function.
25187 (byte-compile-toplevel-file-form): New function to distinguish
25188 file-form calls from outside from file-form calls from hunk-handlers.
25189 (byte-compile-file-form): Simplify.
25190 (byte-compile-file-form-defsubst): Remove.
25191 (byte-compile-file-form-defmumble): Simplify now that
25192 byte-compile-lambda always returns a byte-code-function.
25193 (byte-compile): Preprocess.
25194 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25195 Remove, not used any more.
25196 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25197 (byte-compile-make-args-desc): New funs.
25198 (byte-compile-lambda): Handle lexical functions. Always return
25199 a byte-code-function.
25200 (byte-compile-reserved-constants): New var, to make up room for
25201 closed-over variables.
25202 (byte-compile-constants-vector): Obey it.
25203 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25204 (byte-compile-macroexpand-declare-function): New function.
25205 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25206 byte-code-functions.
25207 (byte-compile-form): Check obsolescence here.
25208 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25209 (byte-compile-variable-ref): Remove.
25210 (byte-compile-dynamic-variable-op): New fun.
25211 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25212 (byte-compile-variable-set): New funs.
25213 (byte-compile-discard): Add 2 args.
25214 (byte-compile-stack-ref, byte-compile-stack-set)
25215 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25216 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25217 macroexpand-all instead.
25218 (byte-compile-quote-form): Remove.
25219 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25220 (byte-compile-bind, byte-compile-unbind): New funs.
25221 (byte-compile-let): Handle let* and lexical binding.
25222 (byte-compile-let*): Remove.
25223 (byte-compile-catch, byte-compile-unwind-protect)
25224 (byte-compile-track-mouse, byte-compile-condition-case):
25225 Handle a new :fun-body form, used for lexical scoping.
25226 (byte-compile-save-window-excursion)
25227 (byte-compile-with-output-to-temp-buffer): Remove.
25228 (byte-compile-defun): Simplify.
25229 (byte-compile-stack-adjustment): New fun.
25230 (byte-compile-out): Use it.
25231 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25232
25233 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25234 handler any more.
25235
25236 * emacs-lisp/byte-opt.el: Use lexical binding.
25237 (byte-inline-lapcode): Remove (to bytecomp).
25238 (byte-compile-inline-expand): Pay attention to inlining to/from
25239 lexically bound code.
25240 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25241 any more.
25242 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25243 any more and don't call compiler-macros.
25244 (byte-compile-splice-in-already-compiled-code): Remove.
25245 (byte-code): Don't inline any more.
25246 (disassemble-offset): Receive `bytes' as argument rather than via
25247 dynamic scoping.
25248 (byte-compile-tag-number): Declare before first use.
25249 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25250 `return' even if make-spliceable.
25251 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25252 obsolete interactive-p.
25253 (byte-optimize-lapcode): Optimize new lap-codes.
25254 Don't trip up on new form of `byte-constant' lap code.
25255
25256 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25257
25258 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25259
25260 * custom.el (custom-initialize-default, custom-declare-variable):
25261 Use `defvar'.
25262
25263 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25264 New variables.
25265 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25266 (COMPILE_FIRST): Add macroexp and cconv.
25267 * makefile.w32-in: Mirror changes in Makefile.in.
25268
25269 * vc/cvs-status.el:
25270 * vc/diff-mode.el:
25271 * vc/log-edit.el:
25272 * vc/log-view.el:
25273 * vc/smerge-mode.el:
25274 * textmodes/bibtex-style.el:
25275 * textmodes/css-mode.el:
25276 * startup.el:
25277 * uniquify.el:
25278 * minibuffer.el:
25279 * newcomment.el:
25280 * reveal.el:
25281 * server.el:
25282 * mpc.el:
25283 * emacs-lisp/smie.el:
25284 * doc-view.el:
25285 * dired.el:
25286 * abbrev.el: Use lexical binding.
25287
25288 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25289
25290 * info.el (info-display-manual): New function.
25291
25292 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25293
25294 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25295
25296 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25297
25298 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25299 an entry for that server in rcirc-authinfo. (Bug#8385)
25300
25301 2011-03-31 Glenn Morris <rgm@gnu.org>
25302
25303 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25304
25305 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25306
25307 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25308
25309 * progmodes/python.el (python-default-interpreter)
25310 (python-python-command-args, python-jython-command-args)
25311 (python-which-shell, python-which-args, python-which-bufname)
25312 (python-file-queue, python-comint-output-filter-function)
25313 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25314 variables and functions.
25315
25316 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25317
25318 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25319 (completion-in-region-mode): New minor mode.
25320 (completion-in-region): Use it.
25321 (completion-in-region--data, completion-in-region-mode-map): New vars.
25322 (completion-in-region--postch): New function.
25323 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25324 New vars.
25325 (completion--capf-wrapper): New function.
25326 (completion-at-point): Use it to track well-behavedness of
25327 hook functions.
25328 (completion-help-at-point): New command.
25329
25330 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25331
25332 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25333 syntax class to search for whitespace on a single line
25334 (Message-ID: <4D938140.4030905@redhat.com>).
25335
25336 2011-03-30 Leo Liu <sdl.web@gmail.com>
25337
25338 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25339 New commands.
25340 (edit-abbrevs-map): Bind them here.
25341 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25342
25343 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25344
25345 * allout.el (allout-hide-by-annotation, allout-flag-region):
25346 Reduce possibility of overlay leakage by making them volatile.
25347
25348 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25349 hash is not shared between buffers. Mode initialization is
25350 responsible for giving it a useful starting value.
25351 (allout-item-span): Reduce possibility of overlay leakage by
25352 making them volatile.
25353 (allout-widgets-count-buttons-in-region): Add diagnostic function
25354 for tracking down button overlay leaks.
25355
25356 2011-03-29 Leo Liu <sdl.web@gmail.com>
25357
25358 * ido.el (ido-read-internal): Use the default history var
25359 minibuffer-history if no HISTORY is specified.
25360
25361 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25362
25363 * net/imap.el (imap-shell-open, imap-process-connection-type):
25364 Use imap-process-connection-type for 'shell' streams as well as
25365 Kerberos, SSL, other subprocesses.
25366
25367 2011-03-28 Leo Liu <sdl.web@gmail.com>
25368
25369 * abbrev.el (abbrev-table-empty-p): New function.
25370 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25371 nonempty ones. (Bug#5937)
25372
25373 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25374
25375 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25376
25377 2011-03-27 Leo Liu <sdl.web@gmail.com>
25378
25379 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25380 for foreground and background colors.
25381 (ansi-color-make-color-map): Adapt.
25382
25383 2011-03-25 Leo Liu <sdl.web@gmail.com>
25384
25385 * midnight.el (midnight-time-float): Remove. Note it calculates
25386 the microsecond component incorrectly and seconds-to-time does the
25387 same job.
25388 Remove redundant (require 'timer).
25389
25390 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25391 (ido-completions): Remove unused arguments. (Bug#8329)
25392
25393 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25394
25395 * minibuffer.el (completion--flush-all-sorted-completions):
25396 Remove itself from hook.
25397 (completion-at-point): Let the functions perform the completion
25398 immediately and return nil or t.
25399 * comint.el (comint-dynamic-complete-functions): Now identical to
25400 completion-at-point-functions.
25401 (comint-dynamic-list-input-ring): Remove unused var `index'.
25402 (comint--match-partial-filename, comint--unquote&expand-filename):
25403 New funs, split from comint-match-partial-filename.
25404 (comint-dynamic-complete): Use completion-at-point.
25405 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25406
25407 2011-03-24 Drew Adams <drew.adams@oracle.com>
25408
25409 * thingatpt.el: Support `defun'.
25410
25411 2011-03-23 Leo Liu <sdl.web@gmail.com>
25412
25413 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25414
25415 * help-mode.el (help-mode-finish): Tweak regexp.
25416
25417 2011-03-23 Glenn Morris <rgm@gnu.org>
25418
25419 * eshell/esh-opt.el (eshell-eval-using-options):
25420 Do not bind unused local variable `eshell-option-stub'.
25421
25422 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25423
25424 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25425
25426 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25427 keymap variable in `with-no-warnings' to avoid a warning when the
25428 keymap has been already `defconst'ed.
25429
25430 2011-03-22 Leo Liu <sdl.web@gmail.com>
25431
25432 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25433 encode all chars in abbrevs; otherwise use emacs-mule or
25434 utf-8-emacs. (Bug#8308)
25435
25436 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25437
25438 * simple.el (backward-delete-char-untabify):
25439 Avoid warning about using `delete-backward-char'.
25440
25441 * image.el (image-type-file-name-regexps): Make it variable.
25442 `imagemagick-register-types' modifies it, and the user may want
25443 to add new extensions for known image types.
25444 (imagemagick-register-types): Throw error if not using ImageMagick.
25445
25446 2011-03-22 Leo Liu <sdl.web@gmail.com>
25447
25448 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25449 located before rcirc-prompt-end-marker.
25450 (rcirc-complete): Error if point is not after rcirc prompt.
25451 Handle the case when table is nil.
25452 (rcirc-user-authenticated): Define to fix compiler warning.
25453
25454 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25455
25456 * custom.el (custom--inhibit-theme-enable): Make it affect only
25457 custom-theme-set-variables and custom-theme-set-faces.
25458 (provide-theme): Ignore custom--inhibit-theme-enable.
25459 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25460 (custom-enabling-themes): Delete variable.
25461 (enable-theme): Accept only loaded themes as arguments.
25462 Ignore the special custom-enabled-themes variable.
25463 (custom-enabled-themes): Forbid themes from setting this.
25464 Eliminate use of custom-enabling-themes.
25465 (custom-push-theme): Quote "changed" custom var entry.
25466
25467 2011-03-21 Leo Liu <sdl.web@gmail.com>
25468
25469 * ido.el (ido-read-internal): Add ido-selected to history instead
25470 of user input.
25471
25472 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25473
25474 * subr.el (deferred-action-list, deferred-action-function):
25475 Mark obsolete.
25476
25477 2011-03-21 Leo Liu <sdl.web@gmail.com>
25478
25479 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25480 change on 2011-02-13 (bug#8309).
25481
25482 * minibuffer.el (read-file-name-function): Change default value.
25483 (read-file-name--defaults): Rename from read-file-name-defaults.
25484 (read-file-name-default): Rename from read-file-name.
25485 (read-file-name): Call read-file-name-function.
25486
25487 2011-03-21 Glenn Morris <rgm@gnu.org>
25488
25489 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25490 Doc fixes.
25491
25492 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25493
25494 * cus-theme.el: Add missing provide statement.
25495 (customize-create-theme): Extract theme value correctly.
25496 (custom-theme-visit-theme): Autoload.
25497 (customize-create-theme): Prompt before inserting default faces.
25498
25499 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25500
25501 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25502 units and musical notes.
25503
25504 2011-03-20 Leo Liu <sdl.web@gmail.com>
25505
25506 * ido.el (ido-read-internal): Use completing-read-default.
25507 (ido-completing-read): Fix compatibility with completing-read.
25508
25509 2011-03-20 Christian Ohler <ohler@gnu.org>
25510
25511 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25512 (ert-delete-all-tests): Use `called-interactively-p' rather than
25513 `interactive-p'.
25514 (ert--make-xrefs-region): Respect END.
25515
25516 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25517
25518 * dired-aux.el (dired-create-directory): Signal an error if the
25519 directory already exists (Bug#8246).
25520
25521 * facemenu.el (list-colors-display): Call list-faces-display
25522 inside with-help-window.
25523 (list-colors-print): Use display property to align the final
25524 column, instead of checking window-width.
25525
25526 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25527
25528 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25529 windows-nt systems.
25530 (emerge-protect-metachars): Quote correctly for ms-dos and
25531 windows-nt systems.
25532
25533 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25534
25535 * info.el (info-initialize): Replace all uses of `:' with
25536 path-separator for compatibility with non-Unix systems.
25537 Cache quoting of path-separator. (Bug#8258)
25538
25539 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25540
25541 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25542 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25543 (mouse-avoidance-mode): Fix typos in docstrings.
25544
25545 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25546
25547 * startup.el (package-subdirectory-regexp): Move from package.el.
25548 Omit \\` and \\', and let callers add them.
25549
25550 * emacs-lisp/package.el (package-strip-version)
25551 (package-load-all-descriptors): Add \\` and \\' to
25552 package-subdirectory-regexp before using it.
25553 (package-untar-buffer): New arg DIR; ensure that file untars only
25554 into this expected directory. Remove superfluous delete-region.
25555 (package-unpack): Caller changed.
25556 (package-tar-file-info): Use package-subdirectory-regexp.
25557
25558 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25559
25560 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25561 diff-mode-shared-map (bug#8284).
25562 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25563
25564 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25565
25566 * calendar/time-date.el (format-seconds): Use assoc instead of
25567 assoc-string, since assoc-string doesn't exist in XEmacs.
25568
25569 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25570
25571 * custom.el (custom-known-themes): Reflow docstring.
25572 (custom-theme-load-path): Fix typo in docstring.
25573 (load-theme): Fix typo in error message.
25574 (custom-available-themes, custom-variable-theme-value):
25575 Use `let', not `let*'.
25576
25577 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25578
25579 * calc/README: Mention inclusion of musical notes.
25580
25581 * calc/calc-units.el (calc-lu-quant): Rename from
25582 `calc-logunits-quantity'.
25583 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25584 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25585 (calc-db): Rename from `calc-dblevel'.
25586 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25587 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25588 (calc-np): Rename from `calc-nplevel'.
25589 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25590 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25591 (calc-lu-plus): Rename from `calc-logunits-add'.
25592 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25593 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25594 (calc-lu-minus): Rename from `calc-logunits-sub'.
25595 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25596 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25597 (calc-lu-times): Rename from `calc-logunits-mul'.
25598 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25599 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25600 (calc-lu-divide): Rename from `calc-logunits-div'.
25601 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25602 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25603
25604 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25605 functions being autoloaded.
25606
25607 * calc/calc.el (calc-lu-power-reference): Rename from
25608 `calc-logunits-power-reference'.
25609 (calc-lu-field-reference): Rename from
25610 `calc-logunits-field-reference'.
25611
25612 * calc/calc-help.el (calc-l-prefix-help):
25613 Mention musical note functions.
25614
25615 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25616
25617 * minibuffer.el (completion-all-sorted-completions):
25618 Use :completion-cycle-penalty text property if present.
25619
25620 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25621
25622 * allout.el (allout-yank-processing): Adjust for new rebulleting
25623 regime so bullet being yanked is used without prompting the user
25624 for a choice.
25625
25626 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25627
25628 * startup.el (command-line): Warn the user that _emacs is deprecated.
25629
25630 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25631
25632 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25633 (delphi-verbose, delphi-comment-face, delphi-string-face)
25634 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25635 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25636 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25637 (delphi-new-comment-line, delphi-font-lock-defaults)
25638 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25639 Fix typos in docstrings.
25640
25641 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25642
25643 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25644 Invert the roles of character and string values for INSTEAD, so a
25645 string is used for the more common case of a defaulting prompt.
25646
25647 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25648
25649 * progmodes/ruby-mode.el (ruby-backward-sexp):
25650 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25651 * play/gamegrid.el (gamegrid-make-face):
25652 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25653 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25654 * notifications.el (notifications-notify):
25655 * net/xesam.el (xesam-search-engines):
25656 * net/quickurl.el (quickurl-list-insert):
25657 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25658
25659 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25660
25661 * startup.el (command-line): Update package subdirectory regexp.
25662
25663 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25664
25665 * allout.el (allout-abbreviate-flattened-numbering)
25666 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25667
25668 * subr.el (read-char-choice): Only show the cursor after the prompt,
25669 not after the answer.
25670
25671 2011-03-15 Kevin Ryde <user42@zip.com.au>
25672
25673 * help-fns.el (variable-at-point): Skip leading quotes, if any
25674 (bug#8253).
25675
25676 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25677
25678 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25679 warning message.
25680
25681 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25682
25683 * shell.el (shell): When called interactively, offer to change the
25684 shell file name on remote hosts.
25685
25686 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25687
25688 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25689 integration for LDAP parameters. The host, base, user or binddn,
25690 and secret tokens can be specified in a netrc file, for instance.
25691 This is optional because an `auth-source' parameter must be
25692 specified in the search attributes.
25693
25694 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25695
25696 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25697
25698 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25699
25700 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25701 into declaration. Remove redundant and harmful binding.
25702
25703 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25704
25705 * files.el (file-ownership-preserved-p): Pass `integer' as an
25706 explicit 2nd argument to `file-attributes'. If the file's owner
25707 is the Administrators group on Windows, and the current user is
25708 Administrator, consider that a match.
25709
25710 * server.el (server-ensure-safe-dir): Consider server directory
25711 safe on MS-Windows if its owner is the Administrators group while
25712 the current Emacs user is Administrator. Use `=' to compare
25713 numerical UIDs, since they could be integers or floats.
25714
25715 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25716
25717 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25718
25719 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25720
25721 Sync with Tramp 2.2.1.
25722
25723 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25724
25725 * net/trampver.el: Update release number.
25726
25727 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25728
25729 * progmodes/compile.el (compilation--previous-directory): Fix up
25730 various nil/dead-marker mismatches (bug#8014).
25731 (compilation-directory-properties, compilation-error-properties):
25732 Don't call it at a position past the one we're about to change.
25733
25734 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25735 Disable obsolescence warnings in the file that declares it.
25736
25737 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25738
25739 * allout-widgets.el (allout-widgets-tally):
25740 Initialize allout-widgets-tally as a hash table rather than nil to
25741 prevent mode-line redisplay warnings. Also, clarify the module
25742 description and fix a comment typo.
25743
25744 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25745
25746 * help-fns.el (describe-variable): Don't complete keywords.
25747 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25748
25749 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25750
25751 * emacs-lisp/package.el (package-version-join): Impose a standard
25752 string representation for pre/alpha/beta version lists.
25753 (package-unpack-single): Standardize the directory name by passing
25754 it through package-version-join.
25755 (package-strip-rcs-id): Accept any version string that does not
25756 signal an error in version-to-list.
25757
25758 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25759
25760 * simple.el (delete-trailing-whitespace): Return nil for the
25761 benefit of `write-file-functions'.
25762
25763 2011-03-10 Glenn Morris <rgm@gnu.org>
25764
25765 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25766
25767 * vc/vc-git.el (vc-git-program): New option.
25768 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25769 (vc-git--call): Use it.
25770
25771 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25772
25773 * cus-edit.el (Custom-newline): If no button at point, look
25774 for a subgroup button at start-of-line. (Bug#2298)
25775
25776 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25777
25778 2011-03-10 Julien Danjou <julien@danjou.info>
25779
25780 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25781 `cursor-type' is nil.
25782
25783 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25784
25785 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25786
25787 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25788
25789 * allout.el: Change so yank of distinctive-bullet items
25790 preserves the existing header prefix, rebulleting it if necessary,
25791 rather than replacing it. This is necessary for proper operation
25792 of cooperative addons like allout-widgets.
25793 (allout-make-topic-prefix, allout-rebullet-heading):
25794 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25795 value as alternate bullet to be used, instead of prompting the user
25796 for a bullet character.
25797
25798 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25799
25800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25801 Do not use `tramp-file-name-port', because this returns also
25802 `tramp-default-port'.
25803
25804 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25805
25806 * net/rcirc.el (rcirc-handler-001): Remove useless
25807 with-rcirc-process-buffer.
25808 (rcirc-check-auth-status): Swap arguments to string-match.
25809
25810 2011-03-09 Glenn Morris <rgm@gnu.org>
25811
25812 * shell.el (shell-mode):
25813 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25814
25815 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25816 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25817
25818 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25819
25820 * emacs-lisp/package.el (package-refresh-contents)
25821 (package-menu-execute): Use condition-case-no-debug.
25822
25823 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25824
25825 * simple.el (shell-command-to-string): Use `process-file'.
25826
25827 * emacs-lisp/package.el (package-tar-file-info): Handle also
25828 remote files.
25829
25830 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25831 Use `equal' for upload base check.
25832
25833 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25834
25835 * textmodes/texinfo.el (texinfo-environments):
25836 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25837
25838 2011-03-08 Glenn Morris <rgm@gnu.org>
25839
25840 * cus-start.el (cursor-in-non-selected-windows):
25841 Fix :set quoting oddness. (Bug#8192)
25842
25843 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25844 in some setf expressions. (Bug#2159)
25845
25846 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25847
25848 * custom.el (custom-available-themes): Return themes in
25849 alphabetical order.
25850
25851 See ChangeLog.15 for earlier changes.
25852
25853 ;; Local Variables:
25854 ;; coding: utf-8
25855 ;; End:
25856
25857 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25858
25859 This file is part of GNU Emacs.
25860
25861 GNU Emacs is free software: you can redistribute it and/or modify
25862 it under the terms of the GNU General Public License as published by
25863 the Free Software Foundation, either version 3 of the License, or
25864 (at your option) any later version.
25865
25866 GNU Emacs is distributed in the hope that it will be useful,
25867 but WITHOUT ANY WARRANTY; without even the implied warranty of
25868 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25869 GNU General Public License for more details.
25870
25871 You should have received a copy of the GNU General Public License
25872 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.