* lisp/emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4 timer (bug#14156).
5
6 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7
8 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9 declaration.
10
11 2013-04-07 Leo Liu <sdl.web@gmail.com>
12
13 * pcmpl-x.el: New file.
14
15 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16
17 Do not set x-display-name until X connection is established.
18 This is needed to prevent from weird situation described at
19 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20 * frame.el (make-frame): Set x-display-name after call to
21 window system initialization function, not before.
22 * term/x-win.el (x-initialize-window-system): Add optional
23 display argument and use it.
24 * term/w32-win.el (w32-initialize-window-system):
25 * term/ns-win.el (ns-initialize-window-system):
26 * term/pc-win.el (msdos-initialize-window-system):
27 Add compatible optional display argument.
28
29 2013-04-06 Eli Zaretskii <eliz@gnu.org>
30
31 * files.el (normal-backup-enable-predicate): On MS-Windows and
32 MS-DOS compare truenames of temporary-file-directory and of the
33 file, so that 8+3 aliases (usually found in $TEMP on Windows)
34 don't fail comparison by compare-strings. Also, compare file
35 names case-insensitively on MS-Windows and MS-DOS.
36
37 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
40 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
41
42 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
43
44 * whitespace.el (whitespace-color-on, whitespace-color-off):
45 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
46
47 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
48
49 * ispell.el (ispell-set-spellchecker-params):
50 Really set `ispell-args' for all equivs.
51
52 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * ido.el (ido-completions): Use extra elements of ido-decorations
55 (bug#14143).
56 (ido-decorations): Update docstring.
57
58 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
59
60 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
61 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
62 nil during initialization, in order not to miss changes since the
63 file was opened. (Bug#14140)
64
65 2013-04-05 Leo Liu <sdl.web@gmail.com>
66
67 * kmacro.el (kmacro-call-macro): Fix bug#14135.
68
69 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
70
71 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
72
73 2013-04-04 Glenn Morris <rgm@gnu.org>
74
75 * electric.el (electric-pair-inhibit-predicate): Add :version.
76
77 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
80 when a package is required several times (bug#14082).
81
82 2013-04-04 Roland Winkler <winkler@gnu.org>
83
84 * faces.el (read-face-name): Behave as promised by the docstring.
85 Assume that arg default is a list of faces.
86 (describe-face): Call read-face-name with list of default faces.
87
88 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
89
90 * bookmark.el: Fix deletion of bookmarks (bug#13972).
91 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
92 (bookmark-bmenu-execute-deletions): Only skip first line if it's
93 the header.
94 (bookmark-exit-hook-internal): Save even if list is empty.
95
96 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
97
98 * emacs-lisp/package.el (package-pinned-packages): New var.
99 (package--add-to-archive-contents): Obey it (bug#14118).
100
101 2013-04-03 Alan Mackenzie <acm@muc.de>
102
103 Handle `parse-partial-sexp' landing inside a comment opener
104 (Bug#13244). Also adapt to the new values of element 7 of a parse
105 state.
106
107 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
108 parameter `not-in-delimiter'. Handle being inside comment opener.
109 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
110 character in case we're typing a '*' after a '/'.
111 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
112 instead by passing the parameter to c-state-pp-to-literal.
113
114 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
115 for elt. 7 of a parse state.
116
117 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
118
119 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
120 * international/latin1-disp.el, international/mule-util.el:
121 * language/cyril-util.el, language/european.el, language/ind-util.el:
122 * language/lao-util.el, language/thai.el, language/tibet-util.el:
123 * language/tibetan.el, language/viet-util.el:
124 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
125
126 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
129 (electric-pair-post-self-insert-function): Use it.
130 (electric-pair-default-inhibit): New function, extracted from
131 electric-pair-post-self-insert-function.
132
133 2013-03-31 Roland Winkler <winkler@gnu.org>
134
135 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
136
137 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
140
141 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
142
143 Un-indent after "pass" and "return" statements (Bug#13888)
144 * progmodes/python.el (python-indent-block-enders): New var.
145 (python-indent-calculate-indentation): Use it.
146
147 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
148
149 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
150 defun. Defining it as defalias could introduce too eager
151 byte-compiler optimization. (Bug#14030)
152
153 2013-03-30 Chong Yidong <cyd@gnu.org>
154
155 * iswitchb.el (iswitchb-read-buffer): Fix typo.
156
157 2013-03-30 Leo Liu <sdl.web@gmail.com>
158
159 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
160 (kmacro-execute-from-register): Pass the keyboard macro to
161 kmacro-call-macro or repeating won't work correctly.
162
163 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
164
165 * progmodes/subword.el: Back to using `forward-symbol'.
166
167 * subr.el (forward-whitespace, forward-symbol)
168 (forward-same-syntax): Move from thingatpt.el.
169
170 2013-03-29 Leo Liu <sdl.web@gmail.com>
171
172 * kmacro.el (kmacro-to-register): New command.
173 (kmacro-execute-from-register): New function.
174 (kmacro-keymap): Bind to 'x'. (Bug#14071)
175
176 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * mpc.el: Use defvar-local and setq-local.
179 (mpc--proc-connect): Connection failures are not bugs.
180 (mpc-mode-map): `follow-link' only applies to the buffer's content.
181 (mpc-volume-map): Bind to the up-events.
182
183 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
184
185 * progmodes/subword.el (superword-mode): Use `forward-sexp'
186 instead of `forward-symbol'.
187
188 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
191 (edebug--recursive-edit): Use it.
192 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
193 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
194
195 2013-03-28 Leo Liu <sdl.web@gmail.com>
196
197 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
198
199 2013-03-27 Eli Zaretskii <eliz@gnu.org>
200
201 * facemenu.el (list-colors-callback): New defvar.
202 (list-colors-redisplay): New function.
203 (list-colors-display): Install list-colors-redisplay as the
204 revert-buffer-function. (Bug#14063)
205
206 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
209 and suffixes don't overlap (bug#14061).
210
211 * case-table.el: Use lexical-binding.
212 (case-table-get-table): New function.
213 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
214
215 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
216
217 * progmodes/subword.el: Add `superword-mode' to do word motion
218 over symbol_words (parallels and leverages `subword-mode' which
219 does word motion inside MixedCaseWords).
220
221 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
222
223 * eshell/em-unix.el: Move su and sudo to...
224 * eshell/em-tramp.el: ...Eshell tramp module
225
226 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
229 Change return value to be a sexp. Delay `get-buffer' to after
230 restoring the desktop (bug#13951).
231
232 2013-03-26 Leo Liu <sdl.web@gmail.com>
233
234 * register.el: Move semantic tag handling back to
235 cedet/semantic/senator.el. (Bug#14052)
236
237 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
240 into the prompt either (bug#13963).
241
242 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
245 part of "(error-foo)".
246
247 2013-03-24 Juri Linkov <juri@jurta.org>
248
249 * replace.el (list-matching-lines-prefix-face): New defcustom.
250 (occur-1): Pass `list-matching-lines-prefix-face' to the function
251 `occur-engine' if `face-differs-from-default-p' returns t.
252 (occur-engine): Add `,' inside backquote construct to evaluate
253 `prefix-face'. Propertize the prefix with the `prefix-face' face.
254 Pass `prefix-face' to the functions `occur-context-lines' and
255 `occur-engine-add-prefix'.
256 (occur-engine-add-prefix, occur-context-lines): Add optional arg
257 `prefix-face' and propertize the prefix with `prefix-face'.
258 (Bug#14017)
259
260 2013-03-24 Leo Liu <sdl.web@gmail.com>
261
262 * nxml/rng-valid.el (rng-validate-while-idle)
263 (rng-validate-quick-while-idle): Guard against deleted buffer.
264 (Bug#13999)
265
266 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
267 is the last entry in kill-buffer-hook.
268
269 * files.el (kill-buffer-hook): Doc fix.
270
271 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
272
273 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
274 Make it safe-local.
275
276 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
277
278 2013-03-23 Leo Liu <sdl.web@gmail.com>
279
280 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
281 Remove.
282
283 * nxml/rng-valid.el (rng-validate-mode)
284 (rng-after-change-function, rng-do-some-validation):
285 * nxml/rng-maint.el (rng-validate-buffer):
286 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
287 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
288 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
289 (nxml-extend-after-change-region): Use with-silent-modifications.
290
291 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
292 timer-idle-list.
293
294 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
295 (rng-next-error-1, rng-previous-error-1): Do not let-bind
296 timer-idle-list. (Bug#13999)
297
298 2013-03-23 Juri Linkov <juri@jurta.org>
299
300 * info.el (info-index-match): New face.
301 (Info-index, Info-apropos-matches): Add a nested subgroup to the
302 main pattern and add text properties with the new face to matches
303 in index entries relative to the beginning of the index entry.
304 (Bug#14015)
305
306 2013-03-21 Eric Ludlam <zappo@gnu.org>
307
308 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
309 Inhibit read only while inserting objects.
310
311 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
312
313 * progmodes/cfengine.el: Update docs to mention
314 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
315 symbol motion. Remove "_" from the word syntax.
316
317 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
318
319 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
320 syntax for both `cfengine2-mode' and `cfengine3-mode'.
321
322 2013-03-20 Juri Linkov <juri@jurta.org>
323
324 * info.el (Info-next-reference-or-link)
325 (Info-prev-reference-or-link): New functions.
326 (Info-next-reference, Info-prev-reference): Use them.
327 (Info-try-follow-nearest-node): Handle footnote navigation.
328 (Info-fontify-node): Fontify footnotes. (Bug#13989)
329
330 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
333 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
334
335 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
336
337 Suppress unnecessary non-ASCII chatter during build process.
338 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
339 (batch-skkdic-convert): Suppress most of the chatter.
340 It's not needed so much now that machines are faster,
341 and its non-ASCII component was confusing; see Dmitry Gutov in
342 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
343
344 2013-03-20 Leo Liu <sdl.web@gmail.com>
345
346 * ido.el (ido-chop): Fix bug#10994.
347
348 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
349
350 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
351 Remove vars.
352 (whitespace-color-on, whitespace-color-off):
353 Use `font-lock-fontify-buffer' (Bug#13817).
354
355 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
358 remapping in mode-line.
359 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
360
361 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
362
363 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
364 value for `whitespace-line' face (Bug#13875).
365 (whitespace-font-lock-keywords): Change description.
366 (whitespace-color-on): Don't save `font-lock-keywords' value, save
367 the constructed keywords instead.
368 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
369
370 2013-03-19 Leo Liu <sdl.web@gmail.com>
371
372 * progmodes/compile.el (compilation-display-error): New command.
373 (compilation-mode-map, compilation-minor-mode-map): Bind it to
374 C-o. (Bug#13992)
375
376 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
377
378 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
379
380 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
381
382 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
383
384 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
385
386 * net/tramp-compat.el (tramp-compat-user-error): New defun.
387
388 * net/tramp-adb.el (tramp-adb-handle-shell-command):
389 * net/tramp-gvfs.el (top):
390 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
391 (tramp-handle-shell-command): Use it.
392 (tramp-dissect-file-name): Raise an error when hostname is a
393 method name, and neither method nor user is specified.
394
395 * net/trampver.el: Update release number.
396
397 2013-03-18 Leo Liu <sdl.web@gmail.com>
398
399 Make sure eldoc can be turned off properly.
400 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
401 eldoc-mode.
402 (eldoc-display-message-p): Revert last change.
403 (eldoc-display-message-no-interference-p)
404 (eldoc-print-current-symbol-info): Tweak.
405
406 2013-03-18 Tassilo Horn <tsdh@gnu.org>
407
408 * doc-view.el (doc-view-new-window-function): Check the new window
409 overlay's display property instead the char property of the
410 buffer's first char. Use `with-selected-window' instead of
411 `save-window-excursion' with `select-window'.
412 (doc-view-document->bitmap): Check the current doc-view overlay's
413 display property instead the char property of the buffer's first char.
414
415 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
416
417 Automate the build of ja-dic.el (Bug#13984).
418 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
419 from the input, rather than assume that it's been done for us by the
420 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
421 the current date into a ja-dic.el comment, as that complicates
422 regression testing.
423
424 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * whitespace.el: Fix double evaluation.
427 (whitespace-space, whitespace-hspace, whitespace-tab)
428 (whitespace-newline, whitespace-trailing, whitespace-line)
429 (whitespace-space-before-tab, whitespace-indentation)
430 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
431 obsolete defvars.
432 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
433 (whitespace-color-on): Use a single font-lock-add-keywords call.
434 Fix double-evaluation of face variables.
435
436 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
437
438 * net/tramp-adb.el (tramp-adb-parse-device-names):
439 Use `start-process' instead of `call-process'. Otherwise, the
440 function might be blocked under MS Windows. (Bug#13299)
441
442 2013-03-17 Leo Liu <sdl.web@gmail.com>
443
444 Extend eldoc to display info in the mode-line. (Bug#13978)
445 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
446 (eldoc-mode-line-string): New variable.
447 (eldoc-minibuffer-message): New function.
448 (eldoc-message-function): New variable.
449 (eldoc-message): Use it.
450 (eldoc-display-message-p)
451 (eldoc-display-message-no-interference-p):
452 Support eldoc-post-insert-mode.
453
454 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
455 (eval-expression): Run it.
456
457 2013-03-17 Roland Winkler <winkler@gnu.org>
458
459 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
460 strings in the list of return values.
461
462 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
463
464 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
465 radix before checking for HMS forms.
466
467 2013-03-16 Leo Liu <sdl.web@gmail.com>
468
469 * progmodes/scheme.el: Add indentation and font-locking for λ.
470 (Bug#13975)
471
472 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
475 token before point (bug#13942).
476
477 2013-03-16 Leo Liu <sdl.web@gmail.com>
478
479 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
480
481 2013-03-16 Eli Zaretskii <eliz@gnu.org>
482
483 * startup.el (command-line-normalize-file-name): Fix handling of
484 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
485 <xfq.free@gmail.com> in
486 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
487
488 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
489
490 Sync with Tramp 2.2.7.
491
492 * net/trampver.el: Update release number.
493
494 2013-03-14 Tassilo Horn <tsdh@gnu.org>
495
496 * doc-view.el Fix bug#13887.
497 (doc-view-insert-image): Don't modify overlay associated to
498 non-live windows, and implement horizontal centering of image in
499 case it's smaller than the window.
500 (doc-view-new-window-function): Force redisplay of new windows on
501 doc-view buffers.
502
503 2013-03-13 Karl Fogel <kfogel@red-bean.com>
504
505 * saveplace.el (save-place-alist-to-file): Don't sort
506 `save-place-alist', just pretty-print it (bug#13882).
507
508 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
511 whether `default-file-name-coding-system' is bound. It isn't in
512 XEmacs.
513
514 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
517 backquotes for `obsolete' (bug#13929).
518
519 * international/mule.el (find-auto-coding): Include file name in
520 obsolescence warning (bug#13922).
521
522 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
523
524 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
525 for CFEngine 3-specific indentation.
526 (cfengine3-indent-line): Use it. Fix up category regex.
527 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
528
529 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * type-break.el (type-break-file-name):
532 * textmodes/remember.el (remember-data-file):
533 * strokes.el (strokes-file):
534 * shadowfile.el (shadow-initialize):
535 * saveplace.el (save-place-file):
536 * ps-bdf.el (bdf-cache-file):
537 * progmodes/idlwave.el (idlwave-config-directory):
538 * net/quickurl.el (quickurl-url-file):
539 * international/kkc.el (kkc-init-file-name):
540 * ido.el (ido-save-directory-list-file):
541 * emulation/viper.el (viper-custom-file-name):
542 * emulation/vip.el (vip-startup-file):
543 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
544 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
545
546 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
547
548 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
549 * language/thai-word.el: Switch to UTF-8.
550
551 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
554
555 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
556
557 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
558 Use with-current-buffer and don't move point.
559 (net-utils-run-simple): Remove useless code.
560 (net-utils-remove-ctl-m): Remove unused custom.
561
562 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
563
564 * international/characters.el (glyphless-set-char-table-range): New fun.
565 (update-glyphless-char-display): Use it (bug#13744).
566
567 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
568
569 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
570 namespaces in the syntax, indent closer for hanging brace
571 correctly, allow single-quote delimited 'strings', and make
572 `cfengine3-mode' the default.
573
574 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
575
576 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
577 Use lexical-binding. Fix up docstring according to conventions.
578 (gdbmi-debug-mode): New var.
579 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
580 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
581 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
582 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
583 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
584 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
585 (gdbmi-bnf-incomplete-record-result): New functions.
586 (gdb-car<): Remove function.
587 (gdbmi-record-list): Remove variable.
588 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
589 (gdbmi-bnf-result-state-configs): New const.
590 (gud-gdbmi-marker-filter): Rewrite.
591 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
592 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
593 Add `token' argument.
594 (gdb-done, gdb-error): New functions.
595 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
596
597 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * term/xterm.el (xterm--report-background-handler): Don't burp
600 upon timeout.
601 (xterm--version-handler): Extract from terminal-init-xterm.
602 (xterm--query): Don't mishandle timeout. Remove debugging messages.
603 Allow multiple handlers.
604 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
605
606 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
607 (xterm--report-background-handler, xterm--query): New functions.
608 (terminal-init-xterm): Use them.
609
610 2013-03-11 Michael R. Mauger <michael@mauger.com>
611
612 * progmodes/sql.el Version 3.2
613 Please note that my address changed to <michael@mauger.com>;
614 the <mmaug@yahoo.com> address remains active.
615 (sql-connection-alist): Updates documentation to fix bug#13715.
616 (sql-connect): Handle missing `sql-connection-alist' correctly.
617 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
618 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
619 property.
620 (sql-default-value): New function.
621 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
622 values were not used.
623 (sql-rename-buffer): Make sure alternate buffer name has no text
624 properties.
625 (sql-input-sender, sql-execute-feature): Fetch variable with
626 `buffer-local-value' rather than `with-current-buffer'.
627 (sql-*): Use #' function syntax consistently.
628 (sql-*): Use message/error/user-error consistently.
629
630 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * xt-mouse.el (xterm-mouse-event-read): Remove.
633 (xterm-mouse--read-event-sequence-1000)
634 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
635
636 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * term/xterm.el (xterm-function-map): Support format used with
639 formatOtherKeys=1 (bug#13839).
640
641 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
642 (with-no-warnings): Use `declare'.
643
644 * whitespace.el (whitespace-enable-predicate): New variable.
645 (whitespace-enable-predicate): Use it.
646
647 * comint.el (comint-send-input, comint-snapshot-last-prompt)
648 (comint-output-filter, comint-update-fence):
649 Use with-silent-modifications.
650
651 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
652
653 * replace.el (occur-read-regexp-defaults-function): New var.
654 (occur-read-regexp-defaults): New defun.
655 (occur-read-primary-args): Propagate above change (bug#13892).
656
657 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * mouse.el (mouse-drag-track): Remove left-over debugging code.
660
661 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
662
663 Major rewrite due to changed D-Bus interface of GVFS 1.14.
664
665 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
666 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
667 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
668 New defconst.
669 (tramp-gvfs-file-name-handler-alist) [directory-files]
670 [directory-files-and-attributes, file-exists-p, file-modes]:
671 Use Tramp default handler.
672 [file-acl, file-selinux-context, process-file, set-file-acl]:
673 [set-file-modes, set-file-selinux-context, shell-command]:
674 [start-file-process]: Remove handler.
675 [verify-visited-file-modtime]: New handler.
676 (tramp-gvfs-dbus-string-to-byte-array)
677 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
678 calls of `dbus-string-to-byte-array' and
679 `tramp-gvfs-dbus-byte-array-to-string'.
680 (tramp-gvfs-handle-copy-file)
681 (tramp-gvfs-handle-delete-directory)
682 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
683 (tramp-gvfs-handle-file-directory-p)
684 (tramp-gvfs-handle-file-executable-p)
685 (tramp-gvfs-handle-file-name-all-completions)
686 (tramp-gvfs-handle-file-readable-p)
687 (tramp-gvfs-handle-file-writable-p)
688 (tramp-gvfs-handle-insert-directory)
689 (tramp-gvfs-handle-insert-file-contents)
690 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
691 (tramp-gvfs-handle-set-visited-file-modtime)
692 (tramp-gvfs-handle-write-region): Rewrite.
693 (tramp-gvfs-handle-file-acl)
694 (tramp-gvfs-handle-file-selinux-context)
695 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
696 (tramp-gvfs-handle-set-file-modes)
697 (tramp-gvfs-handle-set-file-selinux-context)
698 (tramp-gvfs-handle-shell-command)
699 (tramp-gvfs-handle-start-file-process)
700 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
701 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
702 over the symlinks. Fix user handling.
703 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
704 of the D-Bus signals.
705 (tramp-gvfs-connection-mounted-p): Handle different names of the
706 D-Bus methods.
707 (tramp-gvfs-mount-spec-entry): New defun.
708 (tramp-gvfs-mount-spec): Use it.
709 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
710 there is a share name. Handle different names of the D-Bus
711 signals and methods. Set connection properties needed for
712 `tramp-check-cached-permissions'.
713 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
714 Return t or nil.
715
716 * net/tramp.el (tramp-backtrace): Move up.
717 (tramp-error): Dump a backtrace into the debug buffer when
718 `tramp-verbose > 9.
719 (tramp-file-mode-type-map, tramp-file-mode-from-int)
720 (tramp-file-mode-permissions, tramp-get-local-uid)
721 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
722 tramp-sh.el.
723
724 * net/tramp-sh.el (tramp-file-mode-type-map)
725 (tramp-check-cached-permissions, tramp-file-mode-from-int)
726 (tramp-file-mode-permissions, tramp-get-local-uid)
727 (tramp-get-local-gid): Move to tramp.el.
728
729 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 Separate mouse-1-click-follows-link from mouse-drag-region.
732 * mouse.el (mouse--down-1-maybe-follows-link): New function.
733 (key-translation-map): Use it to implement mouse-1-click-follows-link.
734 (mouse-drag-line, mouse-drag-track):
735 Remove mouse-1-click-follows-link code.
736 (mouse--remap-link-click-p): Remove.
737
738 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
739
740 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
741 (hi-lock-read-regexp-defaults): New defun.
742 (hi-lock-line-face-buffer, hi-lock-face-buffer)
743 (hi-lock-face-phrase-buffer): Propagate above change.
744 Update docstring (bug#13892).
745
746 * subr.el (find-tag-default-as-regexp): New defun.
747 * replace.el (read-regexp): Propagate above change.
748
749 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
750
751 * calc/calc-units.el (calc-convert-units): Fix the way that default
752 new units are stored.
753
754 2013-03-07 Matthias Meulien <orontee@gmail.com>
755
756 * bookmark.el: Define a face to highlight bookmark names in
757 bookmark menu buffers, where the default is a bold face similarly
758 to buffer names in buffer menu buffers.
759 (bookmark-menu-bookmark): New face to highlight bookmark names.
760 (bookmark-insert-location): Remove duplicated text property to
761 conform to buffer list (see `list-buffers').
762 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
763 `bookmark-menu-bookmark' to bookmark names.
764
765 2013-03-07 Matthias Meulien <orontee@gmail.com>
766 Karl Fogel <kfogel@red-bean.com>
767
768 * bookmark.el: Display the bookmark list header similarly to the
769 buffer list header (see `list-buffers'), where the default is now
770 an immovable/immutable header line.
771 (bookmark-bmenu-use-header-line): New variable.
772 (bookmark-bmenu-inline-header-height): New name for
773 `bookmark-bmenu-header-height', to avoid confusion with the code
774 for the new immovable header. All references changed.
775 (bookmark-bmenu-set-header): New function.
776 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
777 Conditionalize header construction accordingly.
778 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
779 the inline header height.
780 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
781 Conditionalize the skipping of the inline header height.
782
783 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
784
785 * progmodes/js.el (js--multi-line-declaration-indentation):
786 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
787
788 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
789
790 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
791 Only propertize regexp when not inside a string (Bug#13885).
792
793 2013-03-06 Alan Mackenzie <acm@muc.de>
794
795 Correct the position of point in some line-up functions.
796 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
797 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
798 point at column 0 rather than at a random place in the line.
799
800 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
801
802 * net/tramp-compat.el (tramp-compat-delete-directory):
803 Implement TRASH argument.
804
805 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
806
807 Keep pre-existing highlighting in completion candidates (Bug#13250).
808 * minibuffer.el (completions-first-difference): State that the
809 face is "added" in the docstring.
810 (completions-common-part): Same. And don't inherit from default.
811 (completion-hilit-commonality): Prepend 'completions-common-part
812 and 'completion-first-difference faces to the 'face property,
813 instead of replacing the value(s).
814 (completion--insert-strings): Same with 'completions-annotations face.
815 (completion-hilit-commonality): Use 'face instead of
816 'font-lock-face, because it gets priority if the completion
817 strings already have 'face set.
818
819 2013-03-04 Alan Mackenzie <acm@muc.de>
820
821 Replace `last-command-event' by `last-command-char' in XEmacs.
822 * progmodes/cc-defs.el (c-last-command-char): New macro.
823 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
824 (c-semi&comma-no-newlines-before-nonblanks)
825 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
826 in place of `last-command-event'.
827 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
828 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
829 (c-electric-paren, c-electric-continued-statement): Use the new
830 macro in place of `last-command-event'.
831
832 2013-03-04 Glenn Morris <rgm@gnu.org>
833
834 * files.el (inhibit-local-variables-regexps):
835 Add .diff and .patch. (Bug#13862)
836
837 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
838
839 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
840 whether the "su" command is available on the device.
841
842 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
843
844 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
845 (tramp-adb-handle-process-file): Remove superfluous setting.
846 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
847 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
848 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
849
850 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
853 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
854 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
855 Use dict-key rather than dict-name for the error message.
856
857 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
858
859 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
860 when reverting (bug#13831).
861
862 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
863
864 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
865 Always expand affix-file before storing to protect against changed
866 `default-directory'.
867 (ispell-print-if-debug): Make sure message is printed at the end
868 of the debug buffer.
869
870 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
871
872 * net/tramp.el (tramp-obsolete-methods): New defconst.
873 (tramp-warned-obsolete-methods): New defvar.
874 (tramp-find-method): Check for obsolete methods. Map them to a
875 replacement method if appropriate.
876
877 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
878 Remove methods.
879 (top): Remove completion functions for "scp1", "scp2", "ssh1",
880 "ssh2" and "plink1".
881
882 2013-02-28 Dale Sedivec <dale@codefu.org>
883
884 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
885 Return valid syntax-table property value when converting
886 quotes within text from string syntax to punctuation syntax (bug#13844).
887
888 2013-02-28 Juri Linkov <juri@jurta.org>
889
890 * dired-aux.el (dired-diff): If file at point is a backup file,
891 use its original as the default value, and reverse the order
892 of arguments to the `diff' call. Doc fix. (Bug#13772)
893
894 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
895
896 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
897 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
898
899 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
900
901 Initial support for hunspell dictionaries auto-detection (Bug#13639)
902
903 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
904 Ask hunspell about available and default dictionaries.
905 (ispell-parse-hunspell-affix-file): Extract relevant info from
906 hunspell affix file.
907 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
908 `ispell-dictionary-alist' entry for given dictionary after info
909 provided by `ispell-parse-hunspell-affix-file'.
910 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
911 of parsed hunspell dicts and associated affix files.
912 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
913 of parsed hunspell dicts and associated parameters.
914 (ispell-set-spellchecker-params):
915 Call `ispell-find-hunspell-dictionaries' if hunspell and not
916 previously done.
917 (ispell-start-process):
918 Call `ispell-hunspell-fill-dictionary-entry' for current
919 dictionary if it is not initialized.
920
921 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * imenu.el: Comment nitpicks.
924
925 2013-02-28 Sam Steingold <sds@gnu.org>
926
927 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
928 See <http://stackoverflow.com/questions/14720205>.
929
930 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
931
932 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
933 (net-utils-mode): Use it.
934 (net-utils--revert-cmd): New var.
935 (net-utils-run-simple): Set it, and remove bogus interactive spec.
936 (traceroute): Use net-utils-run-simple.
937
938 2013-02-28 Glenn Morris <rgm@gnu.org>
939
940 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
941
942 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
945 (doc-view-fallback-mode): Remove overlays here.
946 (doc-view-toggle-display): Instead of here. Don't throw away
947 image-mode-winprops-alist.
948 (doc-view-goto-page): Don't mess with hscroll.
949
950 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
951
952 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
953 &optional (bug#13819).
954
955 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
956
957 * net/tramp-adb.el (tramp-adb-parse-device-names)
958 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
959
960 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
961
962 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
963 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
964 defined. POSIX environments fall back to the "C" locale then and
965 emit a warning, which shall be suppressed.
966
967 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
970 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
971
972 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
975
976 2013-02-25 Juri Linkov <juri@jurta.org>
977
978 * replace.el (read-regexp): Let-bind `default' to the first
979 element of `defaults' if it's a list, otherwise it should be
980 a string or nil. Let-bind `suggestions' to `defaults' if it's
981 a list, otherwise make a list with the string value. Doc fix.
982 (Bug#13805)
983
984 2013-02-25 Eli Zaretskii <eliz@gnu.org>
985
986 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
987 that match "\`\.#", to avoid compiling lock files, even if they
988 are readable (as they are on MS-Windows).
989
990 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * files.el (basic-save-buffer): Remove redundant directory-creation.
993
994 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
995
996 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
997 Add option to force `pi' to remain symbolic.
998 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
999 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1000 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1001 derivatives, when necessary.
1002
1003 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1004
1005 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1006 (ps-mode-octal-region): Use string-make-unibyte.
1007
1008 2013-02-23 Glenn Morris <rgm@gnu.org>
1009
1010 * emulation/viper-cmd.el (viper-submit-report):
1011 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1012 * progmodes/vera-mode.el (vera-mode-help-address):
1013 * textmodes/artist.el (artist-maintainer-address):
1014 * textmodes/reftex.el (reftex-report-bug):
1015 * vc/ediff-util.el (ediff-submit-report):
1016 Add bug-gnu-emacs to bug report address.
1017
1018 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1019 Remove bug report entries.
1020 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1021
1022 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1023 (byte-compile-file, byte-compile-from-buffer):
1024 Use separate input/output buffers for each level of recursive
1025 byte-compile-file calls. (Bug#13787)
1026
1027 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * net/tramp.el (tramp-methods): Fix docstring.
1030 (tramp-ssh-controlmaster-options): Rename it from
1031 `tramp-ssh-controlmaster-template'. Return a string.
1032 (tramp-default-method): Adapt check for
1033 `tramp-ssh-controlmaster-options'.
1034
1035 * net/tramp-sh.el (tramp-methods):
1036 Replace `tramp-ssh-controlmaster-template' by "%c".
1037 (tramp-do-copy-or-rename-file-out-of-band)
1038 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1039 that it is applied for the first hop only.
1040
1041 2013-02-22 Juri Linkov <juri@jurta.org>
1042
1043 * isearch.el (isearch-lazy-highlight-new-loop):
1044 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1045 to `isearch-other-end' if it is not nil. (Bug#13402)
1046
1047 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1048 to `match-beg'.
1049
1050 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1051 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1052 and `isearch-error' to nil.
1053
1054 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1055
1056 * progmodes/python.el (python-info-current-defun):
1057 Enhance match-data cluttering prevention.
1058
1059 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1060
1061 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1062
1063 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1064 Handle multibyte file names.
1065
1066 2013-02-22 Glenn Morris <rgm@gnu.org>
1067
1068 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1069 (sgml-transformation-function): Give it a :set function.
1070 (sgml-tag): Doc fix.
1071
1072 * cmuscheme.el (scheme-buffer):
1073 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1074 * progmodes/tcl.el (inferior-tcl-buffer):
1075 * textmodes/tex-mode.el (tex-command): Doc fixes.
1076
1077 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1078
1079 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1080
1081 2013-02-21 Bastien Guerry <bzg@gnu.org>
1082
1083 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1084
1085 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1086
1087 * progmodes/python.el (python-info-current-defun):
1088 Enhance match-data cluttering prevention.
1089
1090 2013-02-21 Glenn Morris <rgm@gnu.org>
1091
1092 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1093 loaded while outline-regexp is let bound. (Bug#9584)
1094
1095 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1096
1097 * progmodes/python.el (python-info-current-defun): Fix failed
1098 defun name retrieval because of unwanted match-data cluttering.
1099
1100 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1101
1102 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1103 defconst. Apply independent check for ControlPersist.
1104
1105 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1106 temporarily, via "env".
1107
1108 2013-02-21 Glenn Morris <rgm@gnu.org>
1109
1110 * info.el (Info-enable-edit): Remove.
1111 (Info-edit): Disable it rather than using Info-enable.
1112 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1113 (Info-cease-edit): Make editing of Info files obsolete.
1114
1115 * informat.el (Info-tagify):
1116 Handle buffers not visiting files. (Bug#13763)
1117
1118 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1121
1122 2013-02-21 Glenn Morris <rgm@gnu.org>
1123
1124 * files.el (basic-save-buffer): Move check for existing parent
1125 directory after hooks. (Bug#13773)
1126
1127 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * simple.el (command-execute): Move from C. Add obsolete check.
1130 (extended-command-history): Move from C.
1131
1132 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1133
1134 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1135 (jka-compr-mode-alist-additions): Handle .txz suffix for
1136 XZ-compressed tar archives (bug#13770).
1137
1138 2013-02-20 Bastien Guerry <bzg@gnu.org>
1139
1140 * outline.el (outline-regexp, outline-heading-end-regexp):
1141 Make variables, not options (bug#13731).
1142
1143 2013-02-20 Glenn Morris <rgm@gnu.org>
1144
1145 * image.el (image-current-frame): Change from variable to function.
1146 (image-show-frame): Rename from image-nth-frame. Update callers.
1147 * image-mode.el (image-multi-frame): New variable.
1148 (image-mode-map, image-mode, image-goto-frame):
1149 Use image-multi-frame rather than image-current-frame.
1150 (image-mode, image-goto-frame): Use image-current-frame as
1151 function rather than as variable.
1152
1153 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1154 * emacs-lisp/cl-macs.el (cl--make-type-test)
1155 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1156
1157 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1158
1159 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1160 (tramp-get-file-property, tramp-set-file-property)
1161 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1162 (tramp-flush-file-property, tramp-flush-directory-property):
1163 Rename argument to KEY.
1164 (tramp-flush-connection-property): Simplify a little bit.
1165 (tramp-connection-property-p): New defun.
1166 (top): Reapply saved values only if there isn't a corresponding
1167 entry in `tramp-connection-properties'.
1168
1169 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1170
1171 * progmodes/python.el (python-indent-context):
1172 Fix python-info-line-ends-backslash-p call.
1173 (python-info-line-ends-backslash-p)
1174 (python-info-beginning-of-backslash): Respect line-number argument.
1175 (python-info-current-line-comment-p):
1176 Fix behavior when not at beginning-of-line.
1177 (python-util-position): Remove function.
1178 (python-util-goto-line): New function.
1179
1180 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1181
1182 * eshell/em-unix.el (eshell/su): Require tramp.
1183 (eshell/sudo): Require tramp. Remove now unnecessary check.
1184
1185 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1186 `tramp-current-connection' in order to avoid an error when several
1187 commands are invoked in a short time in eshell and friends.
1188
1189 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 Cleanup some of EIEIO's namespace.
1192 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1193 Use it to define all the class-* and object-* field accessors (renamed
1194 to eieio--class-* and eieio--object-*). Update all uses.
1195 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1196 class-num-slots and object-num-slots.
1197 (eieio--check-type): New macro.
1198 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1199 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1200 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1201 (object-assoc-list-safe): Use it.
1202 (eieio-defclass): Tighten regexp.
1203 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1204 Remove unreachable code.
1205 (object-class-fast): Declare obsolete.
1206 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1207 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1208 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1209 Rename from class-name, object-name, object-set-name-string,
1210 object-class, object-class-name, class-parents, class-children,
1211 class-precedence-list, class-parent; with obsolete alias.
1212 (class-of, class-direct-superclasses, class-direct-subclasses):
1213 Declare obsolete.
1214 (eieio-defmethod): Use `memq'; remove unreachable code.
1215 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1216 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1217 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1218
1219
1220 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1221
1222 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1223 commentary.
1224
1225 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1226
1227 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1228 Use font-lock-keyword-face for macros and special forms (bug#8345).
1229
1230 2013-02-17 Didier Verna <didier@didierverna.net>
1231
1232 * net/network-stream.el (network-stream-open-starttls):
1233 Check that response to the starttls-command is non-nil. (Bug#13706)
1234
1235 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1238 Don't assume all identifier chars have syntax word.
1239 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1240 Remove bar-not-symbol. Adjust callers.
1241 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1242
1243 2013-02-17 Leo Liu <sdl.web@gmail.com>
1244
1245 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1246
1247 2013-02-17 Glenn Morris <rgm@gnu.org>
1248
1249 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1250
1251 * image-mode.el (image-mode-map): Add image-dired menu entry.
1252
1253 * image-dired.el (tumme): Make this alias obsolete.
1254
1255 2013-02-16 Glenn Morris <rgm@gnu.org>
1256
1257 * image.el (image-animated-types): Remove.
1258 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1259 (image-animated-p): Make obsolete alias.
1260 (image-animate, image-nth-frame, image-animate-timeout):
1261 Use image-multi-frame-p.
1262 (image-animate-timeout): If no delay, use image-default-frame-delay.
1263 * image-mode.el (image-mode, image-toggle-animation):
1264 Use image-multi-frame-p. (Bug#763, bug#10739)
1265 (image-mode): Adjust startup message for a multi-frame image.
1266
1267 * image-mode.el (image-mode-map): Give it a menu.
1268
1269 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1270
1271 * net/tramp-cache.el (tramp-connection-properties): New customer
1272 option.
1273 (tramp-get-connection-property): Use it.
1274
1275 * net/tramp-compat.el (top): Require 'trampver.
1276
1277 * net/tramp-sh.el (tramp-remote-process-environment):
1278 Set tramp-autoload cookie.
1279
1280 2013-02-16 Kevin Ryde <user42@zip.com.au>
1281
1282 * info-look.el (info-lookup-select-mode): If major-mode has no
1283 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1284
1285 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1286
1287 * replace.el (read-regexp): Tighten the regexp that matches tag.
1288 When tag is retrieved with `find-tag-default', use regexp that
1289 matches tag at point. Also update docstring (Bug#13687).
1290
1291 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1292
1293 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1294 add watch for the file, not its parent directory, since w32notify
1295 sets up the watch for the directory internally. (Bug#13725)
1296
1297 2013-02-16 Glenn Morris <rgm@gnu.org>
1298
1299 * image.el (image-default-frame-delay): New variable.
1300 (image-animated-p): Use image-default-frame-delay.
1301 (image-minimum-frame-delay): New constant.
1302 (image-animate-timeout): Use image-minimum-frame-delay.
1303
1304 * image.el (image-nth-frame): New, split from image-animate-timeout.
1305 (image-animate-timeout): Use image-nth-frame.
1306 * image-mode.el (image-goto-frame, image-next-frame)
1307 (image-previous-frame): New commands.
1308 (image-mode-map): Add new frame commands.
1309
1310 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1311
1312 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1313 If col-desc already has help-echo, use it. (Bug#13563)
1314
1315 2013-02-16 Glenn Morris <rgm@gnu.org>
1316
1317 * image.el (image-current-frame): New variable.
1318 (image-animate-timeout): Set image-current-frame.
1319 * image-mode.el (image-mode): For animated images,
1320 display a frame counter via mode-line-process.
1321
1322 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1323
1324 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1327
1328 2013-02-15 Alan Mackenzie <acm@muc.de>
1329
1330 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1331 global minor mode has been enabled, call the minor mode function
1332 for a new buffer once only, after the major mode hook, whilst
1333 allowing that hook explicitly to disable the minor mode.
1334 (MODE-disable-in-buffer): New (generated) function.
1335 (disable-MODE): New (generated) buffer local variable.
1336
1337 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1338
1339 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1340 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1341 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1342 `ido-next-match' and `ido-prev-match' resply.
1343 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1344 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1345 `icomplete-backward-completions' (Bug#13708).
1346
1347 2013-02-15 Glenn Morris <rgm@gnu.org>
1348
1349 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1350
1351 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1354 (goto-address-fontify-region): Use them instead of narrowing, so
1355 syntax-ppss has access to the whole buffer.
1356
1357 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1358
1359 * progmodes/python.el: Explain how to restore "cc-mode"-like
1360 forward-sexp movement in header documentation (Bug#13642).
1361 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1362 comments and strings (GH bug 114).
1363
1364 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1365
1366 * progmodes/python.el (python-info-current-defun): Fix current
1367 defun detection (Bug#13618).
1368
1369 2013-02-15 Chong Yidong <cyd@gnu.org>
1370
1371 * xml.el (xml-parse-string): Fix typo in handling of bad character
1372 references.
1373
1374 2013-02-15 Glenn Morris <rgm@gnu.org>
1375
1376 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1377
1378 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1379
1380 * net/tramp.el (tramp-debug-message):
1381 Add `tramp-condition-case-unless-debug'.
1382 (tramp-debug-on-error): New defvar.
1383 (tramp-condition-case-unless-debug): New defun.
1384 (tramp-file-name-handler): Use it.
1385
1386 2013-02-14 Juri Linkov <juri@jurta.org>
1387
1388 * info.el (Info-isearch-filter): Treat non-nil values of
1389 `search-invisible' including its default value `open'
1390 like the value `t' to match hidden text. (Bug#13402)
1391
1392 2013-02-14 Glenn Morris <rgm@gnu.org>
1393
1394 * help-fns.el (find-lisp-object-file-name): Give special treatment
1395 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1396
1397 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1398
1399 * net/quickurl.el (quickurl-save-urls):
1400 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1401
1402 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1403
1404 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1405 depth for unfinished percent literal. Not using it in the caller.
1406 (ruby-move-to-block): Jump over multiline literals of all types,
1407 ignoring code-looking contents inside them.
1408 (ruby-add-log-current-method): Improve performance at the expense
1409 of accuracy. `ruby-block-contains-point' is relatively slow, so
1410 only use it for method and singleton class blocks.
1411
1412 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1413
1414 Use ControlMaster where applicable. (Bug#13677)
1415
1416 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1417 replacing `tramp-detect-ssh-controlmaster'.
1418 (tramp-default-method): Use it.
1419
1420 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1421 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1422 arguments.
1423 [scpc, rsyncc]: Remove methods.
1424 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1425 and "ssh2_old".
1426 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1427 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1428
1429 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * emacs-lisp/package.el (package--initialized): Move before first use.
1432
1433 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1434
1435 * icomplete.el (icomplete-hide-common-prefix): New user option.
1436 (icomplete-first-match): New face.
1437 (icomplete-completions): Correct handling of "complete but not
1438 unique" (Bug#12638).
1439
1440 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1441
1442 * descr-text.el (describe-char): Display the script (bug#13698).
1443
1444 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * tmm.el: Use lexical-binding and current-active-maps.
1447 (tmm-menubar): Use map-keymap and pcase.
1448 (tmm--completion-table): New function.
1449 (tmm-prompt): Use it to fix the menu order.
1450 (tmm-get-keybind): Use current-active-maps.
1451
1452 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1453
1454 Add dired-hide-details-mode. (Bug#6799)
1455
1456 * locate.el (locate-mode): Set parent mode property to dired-mode.
1457
1458 * find-dired.el (find-dired): Call dired-insert-set-properties on
1459 initial information line. Set process mark on end of buffer.
1460 (find-dired-sentinel):
1461 Call dired-insert-set-properties on summary.
1462
1463 * dired.el (dired-hide-details-hide-symlink-targets)
1464 (dired-hide-details-hide-information-lines): New options.
1465 (dired-insert-directory):
1466 Set properties after final treatment of output.
1467 (dired-insert-set-properties):
1468 Set dired-hide-details-* properties.
1469 (dired-mode-map): Bind dired-hide-details-mode.
1470 (dired-mode): Set buffer-invisibility-spec to a list.
1471 (dired-next-line): Skip hidden lines.
1472 (dired-previous-line): Use dired-next-line.
1473 (dired-hide-details-mode): New minor mode.
1474 (dired-hide-details-update-invisibility-spec): New function.
1475
1476 2013-02-13 Glenn Morris <rgm@gnu.org>
1477
1478 * play/yow.el: Move to obsolete/. (Bug#9384)
1479
1480 2013-02-13 Juri Linkov <juri@jurta.org>
1481
1482 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1483 to select `ediff-control-frame' and set input focus correctly on Xfce.
1484 (Bug#12218)
1485
1486 2013-02-13 Juri Linkov <juri@jurta.org>
1487
1488 * image-mode.el (image-mode-map):
1489 * doc-view.el (doc-view-mode-map):
1490 * vc/ediff-util.el (ediff-setup-keymap):
1491 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1492
1493 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1494
1495 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1496 performance. Instead of recalculating indentation fully for each
1497 line, sum up indentation depth based only on visited lines.
1498 (ruby-parse-partial): Increase the depth after "do" even when END
1499 is right after it.
1500 (ruby-parse-partial): When END is in the middle of a percent
1501 literal, increase the depth if the delimiter chars belong to the
1502 paren syntax class.
1503
1504 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1505
1506 * play/fortune.el (fortune-compile): Also make the compiled file
1507 if it does not exist at all, not just if it is old. (Bug#5338)
1508
1509 2013-02-13 Glenn Morris <rgm@gnu.org>
1510
1511 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1512
1513 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1514
1515 * lisp/emacs-lisp/package.el (package-menu-execute):
1516 Add optional noquery argument. (Bug#13625)
1517
1518 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1519
1520 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1521 if DIR exists and PARENTS is non-nil.
1522
1523 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1524
1525 * progmodes/js.el (js--multi-line-declaration-indentation):
1526 Silence byte-compiler warning.
1527
1528 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1531
1532 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1533 only if it doesn't exist.
1534
1535 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1536 Set process marker.
1537
1538 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1539
1540 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1541 UserInstallation when calling soffice to work around LibreOffice
1542 bug 37531.
1543
1544 2013-02-12 Glenn Morris <rgm@gnu.org>
1545
1546 * files.el (basic-save-buffer):
1547 Offer to create a non-existing directory. (Bug#3016)
1548
1549 * calc/calc-graph.el (calc-graph-show-dumb):
1550 * calendar/calendar.el (calendar-mode-map):
1551 * cus-edit.el (custom-mode-map):
1552 * ehelp.el (electric-help-map):
1553 * emulation/vip.el (vip-mode-map):
1554 * epa.el (epa-key-list-mode-map):
1555 * info.el (Info-mode-map):
1556 * mail/rmail.el (rmail-mode-map):
1557 * mail/rmailsum.el (rmail-summary-mode-map):
1558 * man.el (Man-mode-map):
1559 * net/newst-plainview.el (newsticker-mode-map):
1560 * progmodes/cpp.el (cpp-edit-mode-map):
1561 * progmodes/grep.el (grep-mode-map):
1562 * progmodes/idlw-help.el (idlwave-help-mode-map):
1563 * simple.el (special-mode-map):
1564 * startup.el (splash-screen-keymap):
1565 * view.el (view-mode-map):
1566 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1567
1568 2013-02-11 Elias Pipping <pipping@lavabit.com>
1569
1570 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1571 (bug#13679).
1572
1573 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1576
1577 2013-02-11 Glenn Morris <rgm@gnu.org>
1578
1579 * vc/diff.el (diff-use-labels): New variable.
1580 (diff-no-select): Use --label rather than -L, and first
1581 check that it is supported. (Bug#11067)
1582
1583 * files.el (enable-dir-local-variables): New variable.
1584 (hack-dir-local-variables): Respect enable-dir-local-variables.
1585 * tutorial.el (help-with-tutorial):
1586 Ignore directory-local variables. (Bug#11127)
1587
1588 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1589 (vc-svn-global-switches): ... to here. (Bug#13513)
1590
1591 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1592
1593 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1594 Handle "foo (bar, default: xxx): " prompts.
1595
1596 2013-02-10 Chong Yidong <cyd@gnu.org>
1597
1598 * files.el (basic-save-buffer-1): Do not set
1599 buffer-file-coding-system-explicit (Bug#4533).
1600
1601 * mail/emacsbug.el (report-emacs-bug): Change binding of
1602 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1603
1604 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1605
1606 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1607 * calc/calc-units.el (calc-convert-units): Use new variable.
1608
1609 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1610
1611 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1612
1613 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1614 buffer-file-type.
1615
1616 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1617 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1618 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1619 coding-system-for-write instead.
1620
1621 * jka-compr.el (jka-compr-write-region): Don't bind
1622 buffer-file-type.
1623
1624 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1625 buffer-file-type.
1626
1627 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1628 (insert-file-contents-literally): Remove reference to
1629 file-name-buffer-file-type-alist.
1630
1631 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1632 make-obsolete.
1633 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1634 (find-buffer-file-type-coding-system): Remove references to
1635 find-buffer-file-type-match, find-buffer-file-type, and
1636 buffer-file-type.
1637 Don't put find-buffer-file-type-coding-system into
1638 file-coding-system-alist.
1639 (find-file-binary, find-file-text): Bind coding-system-for-read
1640 instead of file-name-buffer-file-type-alist.
1641
1642 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1643
1644 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1645 converter (Bug#13622).
1646 (doc-view-unoconv-program): Make obsolete alias.
1647 (doc-view-odf->pdf-converter-program): New variable.
1648 (doc-view-odf->pdf-converter-function): New variable.
1649 (doc-view-mode-p): Use it.
1650 (doc-view-odf->pdf-converter-unoconv):
1651 Rename from `doc-view-odf->pdf-converter-unoconv'.
1652 (doc-view-odf->pdf-converter-soffice): New function.
1653 (doc-view-convert-current-doc):
1654 Use `doc-view-odf->pdf-converter-function'.
1655
1656 2013-02-09 Chong Yidong <cyd@gnu.org>
1657
1658 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1659 view-echo-area-messages (Bug#13340).
1660
1661 * help.el (view-echo-area-messages): Use display-buffer.
1662
1663 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1664 (Bug#13561).
1665
1666 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1669 Eval body right away, now that we do eager macroexpansion (bug#13605).
1670
1671 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1672 (fundamental-mode): Use run-mode-hooks.
1673
1674 * eshell/esh-proc.el (eshell/kill): Fix last change.
1675 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1676
1677 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1678
1679 * eshell/esh-proc.el (eshell/kill): Rewrite.
1680
1681 * eshell/em-ls.el (show-almost-all): Declare.
1682 (eshell-do-ls): Add support for -A argument.
1683
1684 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1685
1686 * icomplete.el (icomplete-forward-completions)
1687 (icomplete-backward-completions): Handle corner case (bug#13602).
1688
1689 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1692 be nil. Handle this. (Bug#13636)
1693
1694 2013-02-07 Richard Stallman <rms@gnu.org>
1695
1696 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1697 `save-buffer-coding-system'.
1698
1699 2013-02-07 Alan Mackenzie <acm@muc.de>
1700
1701 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1702 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1703 (c-parse-state-get-strategy): Don't return 'BOD any more.
1704 (c-append-lower-brace-pair-to-state-cache):
1705 Extra parameter HERE instead of narrowing.
1706 Widen to top of buffer before searching backwards for a brace pair.
1707 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1708 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1709 Narrow to parameter HERE, in place of being called narrowed.
1710 (c-remove-stale-state-cache): Extra parameter HERE in place of
1711 narrowing. Check there's an open brace in the cache before
1712 searching for its match.
1713 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1714 (c-parse-state-1): Don't narrow here for 'forward strategy,
1715 instead passing extra parameter HERE to several functions.
1716 Remove 'BOD strategy.
1717
1718 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1719
1720 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1721 used to install the package.
1722
1723 2013-02-06 Glenn Morris <rgm@gnu.org>
1724
1725 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1726 if we can't get user input. (Bug#6567)
1727
1728 * startup.el (command-line): If simple.el is missing,
1729 test and warn about for some possible causes.
1730
1731 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1732
1733 * cus-start.el (all): Add ns-use-native-fullscreen.
1734
1735 2013-02-05 Glenn Morris <rgm@gnu.org>
1736
1737 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1738
1739 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1740 Fix directory creation in fallback case.
1741
1742 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1743
1744 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1745 (vc-update-change-log): Use dolist.
1746
1747 2013-02-04 Chong Yidong <cyd@gnu.org>
1748
1749 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1750 code from ffap.el.
1751 (thing-at-point-beginning-of-url-regexp): New var.
1752 (thing-at-point-uri-schemes): Update list of URI schemes.
1753 (thing-at-point-url-regexp): Variable deleted.
1754 (thing-at-point-markedup-url-regexp): Disallow newlines.
1755 (thing-at-point-newsgroup-regexp)
1756 (thing-at-point-newsgroup-heads)
1757 (thing-at-point-default-mail-uri-scheme): New variables.
1758 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1759 method to find the possible bounds of the URI at point.
1760 New optional argument to find ill-formed URIs.
1761 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1762 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1763 the scheme-adding heuristics from ffap-url-at-point.
1764 (thing-at-point--bounds-of-well-formed-url): New function.
1765 Do parens matching to decide whether to include parens in the URI
1766 (Bug#9153).
1767
1768 * ffap.el: Require thingatpt.
1769 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1770 All URI-valid characters are now recognized (Bug#5673).
1771 (ffap-string-at-point): Use use-region-p.
1772 (ffap-url-regexp): Extra character is handled by thing-at-point.
1773 (ffap-string-at-point-mode-alist): Allow parentheses.
1774 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1775 Convert to aliases; code moved to thingatpt.el.
1776 (ffap-gnus-hook): Use setq-local.
1777
1778 2013-02-04 Glenn Morris <rgm@gnu.org>
1779
1780 * emacs-lisp/ert.el (ert--explain-format-atom):
1781 Don't try to print non-characters as characters. (Bug#13543)
1782
1783 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1786 (tramp-backtrace): New defun.
1787 (tramp-handle-insert-file-contents): Use `visit' when inserting
1788 the local copy.
1789
1790 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1791 Use `remote-file-name-inhibit-cache'.
1792
1793 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1796 (bug#13614).
1797
1798 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1799 current-load-list (bug#13366).
1800
1801 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1802
1803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1804 Identify g++ template instantiation trace. (Bug#12287)
1805 (compilation-mode-hook, compilation-start-hook)
1806 (compilation-window-height): Simplify docstrings. (Bug#13379)
1807
1808 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * mouse.el (mouse-drag-track): Always deactivate the mark before
1811 running the final event's command since that command is in charge of
1812 activating the mark if needed (bug#13523).
1813
1814 2013-02-02 Juri Linkov <juri@jurta.org>
1815
1816 * replace.el (perform-replace): Move let-bindings of isearch-*
1817 variables deeper to the loop that searches for the next match.
1818 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1819 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1820 (Bug#13579)
1821
1822 * isearch.el (isearch-search-fun-default): Check for null
1823 first element of isearch-cmds as a precaution when it's used
1824 with inactive isearch.
1825
1826 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1827
1828 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1829 error when buffer in question is narrowed so position 1 is out of
1830 visible part.
1831
1832 2013-02-02 Glenn Morris <rgm@gnu.org>
1833
1834 * textmodes/remember.el (remember-clipboard): Doc fix.
1835
1836 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1839 properties (bug#13179).
1840
1841 2013-02-02 Juri Linkov <juri@jurta.org>
1842
1843 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1844 instead of hard-coded default face `match'. (Bug#9438)
1845
1846 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1847
1848 * vc/vc-arch.el (vc-arch-registered):
1849 * vc/vc-bzr.el (vc-bzr-registered):
1850 * vc/vc-cvs.el (vc-cvs-registered):
1851 * vc/vc-git.el (vc-git-registered):
1852 * vc/vc-hg.el (vc-hg-registered):
1853 * vc/vc-mtn.el (vc-mtn-registered):
1854 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1855 (Bug#13139)
1856
1857 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1858 prefix argument. (Bug#11656)
1859
1860 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1863
1864 2013-02-01 Glenn Morris <rgm@gnu.org>
1865
1866 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1867 if the backend is known not to support it.
1868
1869 * imenu.el (imenu-default-create-index-function):
1870 Tweak infinite loop test to check for forward motion as well as none.
1871
1872 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1873
1874 * net/soap-client.el (soap-invoke): Encode the string for
1875 `url-request-data' as UTF-8.
1876 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1877
1878 2013-02-01 Glenn Morris <rgm@gnu.org>
1879
1880 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1881
1882 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1883
1884 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp.el (tramp-tramp-file-p): Comment check for
1887 `string-as-unibyte'. The function does not exist on XEmacs, and
1888 likely we need another approach.
1889
1890 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1891 `tramp-gw-*' variables are bound.
1892
1893 2013-01-31 Glenn Morris <rgm@gnu.org>
1894
1895 * files.el (basic-save-buffer-2): Choose coding system for
1896 writing the file before backing it up, to reduce delay between
1897 backing up and writing the new version. (Bug#13522)
1898
1899 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1900
1901 * simple.el (cycle-spacing): New command.
1902 (just-one-space): Use it.
1903
1904 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1907 (opascal-newline-always-indents): Remove custom.
1908 (opascal-tab, opascal-newline): Remove commands.
1909 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1910 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1911 (opascal-save-match-data): Remove, use save-match-data instead.
1912 (opascal-save-state): Use with-silent-modifications.
1913
1914 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1915 (bug#13585).
1916
1917 2013-01-30 Juri Linkov <juri@jurta.org>
1918
1919 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1920 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1921 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1922
1923 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1926 column if we're just deleting the backslashes.
1927 (makefile-fill-paragraph): Use eolp.
1928
1929 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * autorevert.el (auto-revert-use-notify): Fix docstring.
1932
1933 2013-01-30 Leo Liu <sdl.web@gmail.com>
1934
1935 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1936
1937 2013-01-30 Glenn Morris <rgm@gnu.org>
1938
1939 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1940 unread-command-events twice in some cases. This tries to implement
1941 the 2012-07-26 changes in a different way. (Bug#13560)
1942
1943 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1944
1945 * progmodes/python.el
1946 (python-pdbtrack-comint-output-filter-function): Enhancements on
1947 stacktrace detection. (thanks @gnovak)
1948
1949 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1952 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1953 Use defvar-local.
1954 (jit-lock-register): Use setq-local.
1955
1956 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1957
1958 * calc-units.el (math-default-units-table): Remove initial value.
1959 (calc-convert-units): Treat expressions where all the units cancel as
1960 if they didn't have units.
1961
1962 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1965 (tramp-completion-reread-directory-timeout): Fix type.
1966 (tramp-connection-min-time-diff): New defcustom.
1967
1968 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1969
1970 2013-01-30 Glenn Morris <rgm@gnu.org>
1971
1972 * imenu.el (imenu-default-create-index-function):
1973 Put back a version of the infinite loop test removed 2013-01-23.
1974
1975 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1976
1977 * progmodes/python.el (python-shell-parse-command):
1978 Find python-shell-interpreter with modified environment.
1979
1980 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1983
1984 2013-01-29 Alan Mackenzie <acm@muc.de>
1985
1986 Amend to fontify /regexp/s in actions correctly.
1987 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1988 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1989 are no longer included.
1990 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1991 What used to be these variables without "-line" in the name.
1992 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1993 (c-awk-non-arith-op-bra-re): Now also matches {.
1994 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1995 "return", and "case".
1996 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1997 by /.
1998 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1999 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2000
2001 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2002
2003 * autorevert.el (auto-revert-use-notify):
2004 Use `custom-initialize-default' for initialization. (Bug#13583)
2005
2006 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2007
2008 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2009 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2010 in `tramp-file-name-handler'.
2011 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2012 compatibility.
2013 (tramp-compute-multi-hops): Check, whether
2014 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2015
2016 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2019 (bug#13297).
2020
2021 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2022
2023 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2024 checks made superfluous by the \_< operator.
2025 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2026 temporarily) broken indentation.
2027 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2028 Highlight nested constants, too. \_< broke that.
2029
2030 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2031
2032 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2033 instead of "\\b".
2034
2035 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * autorevert.el (auto-revert-handler): Notifications which result
2038 from a saved file shall not be taken into account. (Bug#13557)
2039
2040 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2041
2042 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2043 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2044 (lisp-mode): Pass t for it. (Bug#13556)
2045
2046 2013-01-25 Alan Mackenzie <acm@muc.de>
2047
2048 AWK Mode: Fix indentation bug at top level. Bug #12274.
2049
2050 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2051 just before CASE 5D.
2052
2053 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2054
2055 * net/socks.el (socks-nslookup-host): Use string-to-number.
2056
2057 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2058
2059 * autorevert.el (auto-revert-remote-files)
2060 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2061 (auto-revert-notify-enabled, auto-revert-use-notify)
2062 (auto-revert-notify-watch-descriptor-hash-list)
2063 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2064 (auto-revert-notify-event-descriptor)
2065 (auto-revert-notify-event-action)
2066 (auto-revert-notify-event-file-name): Doc fix.
2067 (global-auto-revert-mode): Reorder checks.
2068 (auto-revert-notify-rm-watch): Respect changed values of
2069 `auto-revert-notify-watch-descriptor-hash-list'.
2070 (auto-revert-notify-add-watch): Check for
2071 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2072 `inotify-add-watch'. Watch `default-directory' instead of
2073 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2074 has a changed meaning now. (Bug#13540)
2075 (auto-revert-notify-handler): Change implementation wrt events
2076 returning from a directory.
2077 (auto-revert-handler): Reorder implementation for checks of remote
2078 files.
2079 (auto-revert-buffers): Fix parentheses error.
2080
2081 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2082
2083 * progmodes/python.el: Enhancements to header documentation about
2084 skeletons. (Bug#5716)
2085
2086 * imenu.el (imenu-default-create-index-function): Remove useless
2087 infinite loop check. (Bug#13438)
2088
2089 2013-01-25 Alan Mackenzie <acm@muc.de>
2090
2091 Fix a bug in the state cache mechanism. Refactor this a bit.
2092
2093 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2094 `cache-pos' element from the return value.
2095 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2096 buffer to enable proper searching from beyond HERE. Amend the
2097 test for detecting the sought brace pair. Amend the value written
2098 to the "brace desert cache" when the brace isn't found.
2099 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2100 and several other variables analogously.
2101 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2102 parameter to a locally calculated variable.
2103 (c-parse-state-1): Change the calling conventions to the two
2104 defuns involving `cache-pos'.
2105
2106 2013-01-25 Chong Yidong <cyd@gnu.org>
2107
2108 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2109
2110 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2111
2112 * paren.el (show-paren-function): Make sure to set 'priority and
2113 'face only if the overlay does exist.
2114
2115 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2118
2119 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2120 basic attributes.
2121 (tramp-sh-handle-set-file-acl): Improve error checking.
2122
2123 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2124
2125 * doc-view.el (doc-view-display): Force mode line update until all
2126 document is converted. Suggested by Stefan Monnier (Bug#13164).
2127
2128 2013-01-23 Bastien Guerry <bzg@gnu.org>
2129
2130 * paren.el (show-paren-function): Make sure an overlay exists
2131 before trying to delete it. Also use `pos' as a position only
2132 when it is an integer.
2133
2134 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2135
2136 * play/gametree.el (gametree-break-line-here): Use point-marker.
2137
2138 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2139
2140 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2141 Mark descriptive parts with `display' property.
2142
2143 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2144
2145 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2146 New variable to map standard dict names to hunspell ones.
2147 (ispell-set-spellchecker-params): Make sure specific dict names
2148 are used for standard dicts with hunspell.
2149
2150 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2151
2152 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2153 chars for note (%N) and url (%U).
2154 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2155
2156 2013-01-21 Juri Linkov <juri@jurta.org>
2157
2158 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2159 in addition to existing separate binding `meta f10' in `global-map'.
2160 (Bug#13484)
2161
2162 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2163
2164 Improve XEmacs compatibility.
2165
2166 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2167
2168 * net/tramp-adb.el (top): Require `time-date'.
2169 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2170 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2171 Use `tramp-file-name-handler'.
2172 (tramp-adb-maybe-open-connection):
2173 Use `tramp-compat-set-process-query-on-exit-flag'.
2174
2175 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2176 Use `tramp-compat-funcall'.
2177
2178 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2179 `tramp-compat-funcall'.
2180
2181 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2182
2183 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2184 reimplementation using "adb shell command ..." instead of running
2185 remote shell interactively.
2186
2187 2013-01-20 Glenn Morris <rgm@gnu.org>
2188
2189 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2190 Add native profiler menu entries.
2191
2192 * profiler.el (profiler-running-p): New function.
2193 (profiler-cpu-profile): Use profiler-running-p.
2194 (profiler-report-mode-map): Add some more menu entries.
2195
2196 2013-01-19 Glenn Morris <rgm@gnu.org>
2197
2198 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2199 fixes 2012-12-07 change. (Bug#13499)
2200
2201 2013-01-19 Leo Liu <sdl.web@gmail.com>
2202
2203 * dired.el (dired-get-marked-files): Prune erroneous values due to
2204 last change. (Bug#13152)
2205
2206 2013-01-19 Glenn Morris <rgm@gnu.org>
2207
2208 * progmodes/etags.el (tags-table-check-computed-list):
2209 Preserve point in tags buffer. (Bug#13412)
2210
2211 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2212
2213 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2214 Chong Yidong <cyd@gnu.org>
2215
2216 * image-mode.el (image-next-file, image-previous-file):
2217 New commands (Bug#8453).
2218 (image-mode-map): Bind them to n and p.
2219 (image-mode--images-in-directory): New helper function.
2220
2221 2013-01-19 Chong Yidong <cyd@gnu.org>
2222
2223 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2224 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2225 save and restore the old window configuration.
2226
2227 2013-01-18 Leo Liu <sdl.web@gmail.com>
2228
2229 * progmodes/js.el: Tweak autoload cookie for alias.
2230
2231 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2234 buffer local, again. This was lost with the fix on 2013-01-12.
2235
2236 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2237
2238 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2239 order to support several eshell buffers in parallel.
2240
2241 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2242
2243 * autorevert.el (auto-revert-use-notify): In the :set function, do
2244 not modify `kill-buffer-hook'.
2245 (auto-revert-notify-rm-watch):
2246 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2247 (auto-revert-notify-add-watch): Do not call
2248 `auto-revert-notify-rm-watch', but add it to a buffer local
2249 `kill-buffer-hook'.
2250
2251 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2254 call to `eval' rather than a backquoted lambda.
2255
2256 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2259 to return an explicit nil.
2260 (advice--remove-function): Change accordingly.
2261
2262 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2263 the use of nadvice.el.
2264
2265 * progmodes/which-func.el (which-function): Silence imenu errors
2266 (bug#13433).
2267
2268 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2269
2270 * progmodes/sql.el: (sql-imenu-generic-expression):
2271 (sql-mode-font-lock-object-name): Match schema qualified names.
2272 (sql-connect): Use string keys.
2273 (sql-product-interactive): Wait for interpreter prompt.
2274 (sql-comint-oracle): Set process coding based on NLS_LANG.
2275
2276 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2277
2278 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2279 (sql-interactive-remove-continuation-prompt):
2280 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2281
2282 2013-01-14 Leo Liu <sdl.web@gmail.com>
2283
2284 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2285 (Bug#13420)
2286
2287 2013-01-14 Glenn Morris <rgm@gnu.org>
2288
2289 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2290 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2291
2292 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2293
2294 * progmodes/python.el (python-nav-end-of-statement):
2295 Fix cornercase when handling multiline strings.
2296
2297 2013-01-13 Richard Stallman <rms@gnu.org>
2298
2299 * mail/sendmail.el (mail-position-on-field): Add doc string.
2300
2301 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2302 Get current message boundaries and pass them to
2303 message-forward-make-body-mime. Minor style changes.
2304
2305 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2306
2307 * cus-start.el (all): Avoid warnings about
2308 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2309
2310 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2311
2312 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2313
2314 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2317 (jit-lock--debug-fontifying): New var.
2318 (jit-lock--debug-fontify): New function.
2319 * subr.el (condition-case-unless-debug): Don't prevent catching the
2320 error, just let the debbugger run.
2321 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2322 timer code and don't drop errors silently.
2323
2324 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2325
2326 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2327 `permanent-local' property.
2328 (auto-revert-notify-handler): Use `file-equal-p'.
2329
2330 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2331
2332 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2333 file notification by ACTION. For filtering by file name, compare
2334 only the non-directory part of the file name.
2335
2336 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * autorevert.el: Use cl-lib instead of cl.
2339
2340 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2341 (vc-bzr-checkin): Use it.
2342 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2343 will preserve match-data.
2344
2345 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2346
2347 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2348 (js--declaration-keyword-re): New var.
2349 (js--multi-line-declaration-indentation): New function.
2350 (js--proper-indentation): Use it.
2351
2352 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2353
2354 * calc/calc.el (calc-highlight-selections-with-faces)
2355 (calc-dispatch):
2356 * comint.el (comint-history-isearch-message):
2357 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2358 * ffap.el (ffap-string-at-point-region, ffap-next)
2359 (ffap-string-at-point, ffap-string-around)
2360 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2361 (ffap-literally):
2362 * font-lock.el (font-lock-keywords-alist)
2363 (font-lock-removed-keywords-alist):
2364 * help-mode.el (help-xref-symbol-regexp):
2365 * info.el (Info-find-emacs-command-nodes):
2366 * international/mule.el (add-to-coding-system-list):
2367 * isearch.el (isearch-message-function, isearch-fail-pos):
2368 * misearch.el (multi-isearch-next-buffer-function):
2369 * newcomment.el (comment-box):
2370 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2371 (pr-setting-database):
2372 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2373 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2374 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2375 (pike-font-lock-keywords-3):
2376 * progmodes/compile.el (compile):
2377 * progmodes/etags.el (tags-table-files)
2378 (tags-table-files-function, tags-included-tables-function):
2379 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2380 (gdb-restore-windows):
2381 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2382 (ps-n-up-filling-database):
2383 * server.el (server-buffer, server-log):
2384 * simple.el (newline, delete-backward-char, delete-forward-char)
2385 (minibuffer-history-isearch-message, kill-line, track-eol)
2386 (temporary-goal-column):
2387 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2388 (flyspell-default-deplacement-commands):
2389 * textmodes/ispell.el (ispell-accept-output):
2390 * textmodes/sgml-mode.el (html-tag-help):
2391 * vc/compare-w.el (compare-ignore-whitespace)
2392 (compare-ignore-case, compare-windows-dehighlight):
2393 * vc/diff.el (diff):
2394 * whitespace.el (whitespace-point)
2395 (whitespace-font-lock-refontify, whitespace-bob-marker)
2396 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2397
2398 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2401 (auto-revert-notify-rm-watch): Ignore errors.
2402 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2403 inotify, and '(size last-write-time) for w32notify.
2404 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2405 watch fails - this is a fallback to the file modification check.
2406 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2407 (auto-revert-notify-event-action)
2408 (auto-revert-notify-event-file-name): New defuns.
2409 (auto-revert-notify-handler): Use them. Implement first
2410 plausibility checks.
2411 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2412
2413 2013-01-11 Julien Danjou <julien@danjou.info>
2414
2415 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2416 max are almost equal. Also return the correct value for V which is
2417 already between 0 and 1.
2418
2419 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2420
2421 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2422
2423 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2424
2425 * autorevert.el (auto-revert-notify-rm-watch)
2426 (auto-revert-notify-add-watch): Fix typos in w32notify function
2427 names.
2428
2429 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2430
2431 * autorevert.el (auto-revert-notify-enabled): Move up.
2432 (auto-revert-use-notify): New defcustom.
2433 (auto-revert-mode, global-auto-revert-mode)
2434 (auto-revert-notify-add-watch, auto-revert-handler)
2435 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2436 `auto-revert-notify-enabled'.
2437
2438 2013-01-10 Elias Pipping <pipping@exherbo.org>
2439
2440 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2441 * doc-view.el (doc-view-document->bitmap):
2442 Use doc-view-single-page-converter-function instead of
2443 single-page-converter arg; adjust callers.
2444
2445 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2446
2447 * progmodes/which-func.el (which-function): Understand Semantic's use
2448 of overlays in imenu--index-alist.
2449
2450 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2451
2452 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2453 (Man-man-k-use-anchor): New var.
2454 (Man-parse-man-k): New function.
2455 (Man-completion-table): Use it.
2456 (man): Flush the completion cache between uses.
2457
2458 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2459
2460 * autorevert.el: Add file watch support.
2461 (auto-revert-notify-enabled): New defconst.
2462 (auto-revert-notify-watch-descriptor-hash-list)
2463 (auto-revert-notify-watch-descriptor)
2464 (auto-revert-notify-modified-p): New defvars.
2465 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2466 (auto-revert-notify-handler): New defuns.
2467 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2468 when mode is disabled.
2469 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2470 (auto-revert-buffers): Add file watches for active buffers.
2471
2472 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2473
2474 * cus-start.el (toplevel): Only allow float values for
2475 scroll-up-aggressively and scroll-down-aggressively.
2476 Allow any number for line-spacing.
2477
2478 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2481 (doc-view-pdf->png-converter-function): Use mupdf if available.
2482 (doc-view-djvu->png-converter-function)
2483 (doc-view-ps->png-converter-function): Remove.
2484 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2485 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2486 (doc-view-already-converted-p): Adjust accordingly.
2487 (doc-view-mode-p): Simplify.
2488 (doc-view-enlarge): Use setq-local.
2489 (doc-view-pdf->png-converter-ghostscript)
2490 (doc-view-djvu->png-converter-ddjvu)
2491 (doc-view-pdf->png-converter-mupdf): Rework to call
2492 doc-view-start-process directly.
2493 (doc-view-pdf/ps->png): Simplify accordingly.
2494 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2495 (doc-view-document->bitmap): Rename from doc-view-document->png.
2496 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2497 (doc-view-set-slice-from-bounding-box): Fix completion table.
2498 (doc-view-mode): Use add-hook for after-revert-hook.
2499
2500 2013-01-10 Glenn Morris <rgm@gnu.org>
2501
2502 * emacs-lisp/authors.el (authors-ignored-files)
2503 (authors-valid-file-names, authors-renamed-files-alist):
2504 Add some more entries.
2505
2506 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2509 `t' pseudo-window entry.
2510
2511 2013-01-10 Alan Mackenzie <acm@muc.de>
2512
2513 Fix bugs in the c-parse-state mechanism. Reuse some markers
2514 instead of continually generating new ones.
2515
2516 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2517 (c-state-old-cpp-end-marker): New variables.
2518 (c-append-lower-brace-pair-to-state-cache): Start a backward
2519 search for "}" definitively outside CPP constructs.
2520 (c-remove-stale-state-cache): Inform the caller of a need to
2521 search back for a brace pair in certain circumstances.
2522 (c-state-maybe-marker): New macro.
2523 (c-parse-state): Reuse markers when appropriate.
2524
2525 2013-01-10 Glenn Morris <rgm@gnu.org>
2526
2527 * simple.el (execute-extended-command): Doc fix.
2528 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2529
2530 2013-01-10 Chong Yidong <cyd@gnu.org>
2531
2532 * faces.el (read-face-name): Doc fix.
2533
2534 2013-01-10 Roland Winkler <winkler@gnu.org>
2535
2536 * emacs-lisp/crm.el: Allow any regexp for separators.
2537 (crm-default-separator): All spaces around the default comma separator.
2538 (crm--completion-command): New macro.
2539 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2540 (crm-complete-and-exit): Handle non-single-char separators.
2541
2542 2013-01-09 Elias Pipping <pipping@lavabit.com>
2543
2544 * doc-view.el: Add support for DjVu (bug#13164).
2545 (doc-view-djvu->png-converter-function): New config var.
2546 (doc-view-single-page-converter-function, doc-view--image-type)
2547 (doc-view--image-file-extension): New vars.
2548 (doc-view-mode): Initialize them.
2549 (doc-view-goto-page): Use them.
2550 (doc-view-mode-p): Add support for ddjvu.
2551 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2552 (doc-view-set-up-single-converter): New funs.
2553 (doc-view-pdf/ps->png): Extend for djvu.
2554 (doc-view-document->png): Rename from doc-view-pdf->png.
2555 (doc-view-convert-current-doc): Handle djvu.
2556 (doc-view-insert-image, doc-view-display)
2557 (doc-view-already-converted-p): Don't hardcode png.
2558 (doc-view-set-doc-type): Recognize djvu docs.
2559
2560 2013-01-09 Elias Pipping <pipping@lavabit.com>
2561
2562 * doc-view.el: Add support for mupdf converter (bug#13164).
2563 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2564 (doc-view-ps->png-converter-function): New config vars.
2565 (doc-view-pdf->png-converter-ghostscript)
2566 (doc-view-ps->png-converter-ghostscript)
2567 (doc-view-pdf->png-converter-mupdf): New functions.
2568 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2569
2570 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2571
2572 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2573 first in session cache: When `tramp-own-remote-path' is in
2574 `tramp-remote-path', the remote path is only set in the session
2575 cache.
2576
2577 2013-01-09 Glenn Morris <rgm@gnu.org>
2578
2579 * emacs-lisp/trace.el (trace-function-foreground)
2580 (trace-function-background): Doc fix.
2581
2582 2013-01-09 Juri Linkov <juri@jurta.org>
2583
2584 * international/mule-cmds.el (read-char-by-name): Move let-binding
2585 of completion-ignore-case around completing-read to fix regression
2586 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2587 `string-match-p' using the nil value of `case-fold-search' and
2588 `completion-ignore-case' in `completion-pcm--all-completions'.
2589 (Bug#12615).
2590
2591 2013-01-09 Glenn Morris <rgm@gnu.org>
2592
2593 * progmodes/compile.el (compilation-parse-errors):
2594 Fix typo. (Bug#13369)
2595
2596 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2597
2598 * comint.el (comint-send-input): Check size of buffer before
2599 waiting for process output, in case already accepted. (Bug#13290)
2600
2601 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2602
2603 Spelling fixes.
2604 * net/tramp-adb.el (tramp-adb-get-toolbox):
2605 Fix misspelling of 'unknown'.
2606
2607 2013-01-08 Juri Linkov <juri@jurta.org>
2608
2609 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2610 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2611 Use underline style wave on terminals that support it. (Bug#13000)
2612
2613 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2616 the predicate returns nil.
2617
2618 * simple.el: Use lexical-binding.
2619 (primitive-undo): Use pcase.
2620 (minibuffer-history-isearch-push-state): Use a closure.
2621
2622 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2623
2624 * simple.el (primitive-undo): Move from undo.c.
2625
2626 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2629 (cvs-mode-remove-handled): Use it (bug#13380).
2630
2631 * emacs-lisp/nadvice.el (advice--tweak): New function.
2632 (advice--remove-function, advice--subst-main): Use it.
2633
2634 * emacs-lisp/advice.el: Update commentary.
2635
2636 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2637
2638 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2639 Remove spurious entry.
2640
2641 2013-01-08 Glenn Morris <rgm@gnu.org>
2642
2643 * net/tramp.el (tramp-default-host-alist): Add :version.
2644
2645 2013-01-08 Juri Linkov <juri@jurta.org>
2646
2647 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2648 single completion. (Bug#12456)
2649 (info--manual-names): Expand node completions into an explicit list
2650 before appending it to another list. Filter out internal buffers
2651 with the leading space in the buffer name. (Bug#10771)
2652
2653 2013-01-08 Juri Linkov <juri@jurta.org>
2654
2655 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2656 that defaults to the Top node.
2657 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2658 the short format (FILENAME) goes to the Top node.
2659 (Info-build-node-completions): Rename arg `file' to `filename'.
2660 (Bug#13365)
2661
2662 2013-01-07 Bastien Guerry <bzg@gnu.org>
2663
2664 * menu-bar.el (menu-bar-search-documentation-menu):
2665 Use `apropos-user-option' and fix the help message.
2666
2667 2013-01-07 Bastien Guerry <bzg@gnu.org>
2668
2669 * apropos.el (apropos-do-all): Update docstring.
2670 (apropos-user-option-button): New face.
2671 (apropos-user-option): Rename from `apropos-variable' and update
2672 docstring.
2673 (apropos-variable): Rewrite, now show all variables by default.
2674 (apropos-print): Mention "User option" instead of "Variable" when
2675 printing doc for user options. (Bug#13276)
2676
2677 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2678
2679 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2680 Handle filename correctly, when parsing "source -> target" symlink
2681 output.
2682 (tramp-adb-handle-set-file-times): New defun.
2683
2684 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2687 advice list when the interactive-spec of ad-Advice-* changes.
2688
2689 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2690
2691 * wid-edit.el (widget-default-get): Work for inlined elements.
2692 (Bug#12670)
2693
2694 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2695
2696 * net/tramp.el (tramp-default-host-alist): New defcustom.
2697 (tramp-find-host): Use it.
2698 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2699 `eshell-directory-change-hook'.
2700
2701 * net/tramp-adb.el (top): Add adb specific entry in
2702 `tramp-default-host-alist'.
2703 (tramp-adb-file-name-host): Remove function.
2704 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2705 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2706
2707 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2708
2709 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2710
2711 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2712
2713 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2714
2715 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2716 consist of more than one digit.
2717 (tramp-adb-file-name-handler-alist):
2718 Use `tramp-handle-file-exists-p' consistently.
2719 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2720 (tramp-adb-handle-file-exists-p): Remove function.
2721 (tramp-adb-file-name-host): New defun.
2722 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2723 Use it.
2724 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2725
2726 2013-01-06 Chong Yidong <cyd@gnu.org>
2727
2728 * vc/vc.el (vc-next-action): Detect buffer modifications
2729 conflicting with locking VCS operation (Bug#11490).
2730
2731 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2732
2733 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2736 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2737
2738 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2739
2740 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2741 parsing of ls output using regular expression (handle filenames
2742 with spaces). Use virtual device number.
2743 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2744 cleanup).
2745
2746 2013-01-04 Daiki Ueno <ueno@gnu.org>
2747
2748 * epg.el: Silence byte-compiler warnings.
2749 (epg--start): Use delete-char instead of delete-backward-char.
2750 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2751
2752 2013-01-04 Daiki Ueno <ueno@gnu.org>
2753
2754 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2755 Suggested by Eli Zaretskii <eliz@gnu.org>.
2756
2757 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2758
2759 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2760 non-negative integers. Otherwise, the default values are used.
2761 (tramp-convert-file-attributes): Convert uid and gid to integers.
2762
2763 2013-01-04 Glenn Morris <rgm@gnu.org>
2764
2765 * term.el (term-handle-colors-array): Ensure face attributes
2766 are fully specified, not nil. (Bug#13337)
2767
2768 * term.el (term-default-fg-color, term-default-bg-color):
2769 Fix custom type.
2770
2771 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2772 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2773 rather than 'jka-compr being loaded. (Bug#13338)
2774
2775 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2776
2777 * icomplete.el (icomplete-completions):
2778 Honor icomplete-prospects-height once more following
2779 2012-11-29 changes. (Bug#13224)
2780
2781 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2784 of called-interactively-p as well (bug#13237).
2785
2786 * view.el (view--enable, view--disable): Rename from view-mode-enable
2787 and view-mode-disable and assume it's called from view-mode.
2788 (view-mode-enable, view-mode-disable): Redefine as obsolete
2789 compatibility layer above view-mode.
2790 (view-mode-enter): Call `view-mode'.
2791
2792 * files.el (after-find-file): Call `view-mode'.
2793
2794 * doc-view.el (doc-view-scale-internally): New var.
2795 (doc-view-enlarge, doc-view-insert-image): Obey it.
2796
2797 2013-01-03 Daiki Ueno <ueno@gnu.org>
2798
2799 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2800 exist. (Bug#13344)
2801
2802 2013-01-03 Glenn Morris <rgm@gnu.org>
2803
2804 * mail/rmail.el (rmail-set-header-1): Ignore case.
2805 Handle multi-line headers. (Bug#13330)
2806
2807 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2808 Handle paragraph starting at beginning of buffer.
2809
2810 * subr.el (eval-after-load): Don't purecopy the form, so that it
2811 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2812
2813 * emacs-lisp/byte-run.el (defun): Place cl declarations
2814 after any interactive spec. (Bug#13265)
2815
2816 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2817
2818 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2819 defun. Don't check for DECL if DOCSTRING isn't a string.
2820 (defun): Likewise.
2821
2822 2013-01-02 Glenn Morris <rgm@gnu.org>
2823
2824 * eshell/em-cmpl.el (eshell-pcomplete):
2825 More thoroughly imitate pcomplete. (Bug#13293)
2826
2827 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2828 Return nil for empty path elements. (Bug#13296)
2829
2830 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2831
2832 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2833 order to improve efficiency (Based on Daniel Colascione's
2834 <dancol@dancol.org> patch). (Bug#13182)
2835
2836 2013-01-02 Glenn Morris <rgm@gnu.org>
2837
2838 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2839
2840 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2841
2842 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2843 neither DOCSTRING nor DECL was given. (Bug#13316)
2844
2845 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2846
2847 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2848 `error' call.
2849 (tramp-do-copy-or-rename-file): Ignore errors when calling
2850 `set-file-extended-attributes'.
2851
2852 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2853 Add handler for `file-acl'.
2854 (tramp-smb-handle-file-acl): New defun.
2855
2856 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2857
2858 * calc/README: Mention ISO 8601 week-numbering dates.
2859
2860 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2861
2862 * view.el (view-mode-enable): New argument run-view-mode-hook.
2863 Run view-mode-hook only when it's non-nil (Bug#13315).
2864 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2865 argument t.
2866
2867 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2868
2869 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2870 (No device connected, invalid device name). (Bug #13299)
2871
2872 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2873
2874 * window.el (window-resizable--p): Rename to window-resizable-p.
2875 (window-resize-no-error): New function.
2876
2877 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2878 broken in fix from 2012-12-28.
2879
2880 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * subr.el (special-form-p): Don't signal errors on undef aliases.
2883
2884 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2885
2886 * calc/calc-forms.el (math-parse-date): Try using
2887 `math-parse-iso-date' when it looks like it might be needed.
2888 Allow times of 24:00.
2889 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2890 of 24:00.
2891
2892 2012-12-30 Glenn Morris <rgm@gnu.org>
2893
2894 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2895 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2896 (rmail-summary-displayed, rmail-summary): Declare.
2897 (mairix-rmail-display): Just require rmail.
2898
2899 2012-12-30 Chong Yidong <cyd@gnu.org>
2900
2901 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2902 check for the tarball contents.
2903
2904 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2905
2906 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2907 tarfile content listings (Bug#13136).
2908
2909 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2910
2911 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2912 Insert the undecoded text of the message being forwarded. (Bug#9521)
2913
2914 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2917 integers, if they are real numbers. (Bug#13282)
2918
2919 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2920 Return `t' on success.
2921
2922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2923 Add handler for `set-file-selinux-context'.
2924
2925 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2926
2927 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2928 (tramp-sh-handle-set-file-acl): Return `t' on success.
2929
2930 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2931
2932 * files.el (backup-buffer-copy, basic-save-buffer-2):
2933 If set-file-extended-attributes fails, fall back on set-file-modes
2934 instead of signaling an error. (Bug#13298)
2935 (basic-save-buffer): Likewise.
2936
2937 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2938
2939 * progmodes/python.el: Support other commands triggering
2940 python-indent-line so indentation cycling continues to work.
2941 (python-indent-trigger-commands): New defcustom.
2942 (python-indent-line): Use it.
2943
2944 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2945
2946 * progmodes/python.el (python-shell-send-region): Add blank lines
2947 for non sent code so backtraces remain correct.
2948
2949 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2950
2951 * progmodes/python.el: Remove cl dependency.
2952 (python-syntax-count-quotes): Replace incf call.
2953 (python-fill-string): Replace setf call.
2954
2955 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2956
2957 * info.el (info-other-window): New arg, for consistency with info.
2958
2959 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2960
2961 * mail/rmail.el (rmail-maybe-display-summary):
2962 Rewrite (Bug#13066).
2963
2964 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2965
2966 * epg.el (epg--start): Modify process-environment locally.
2967
2968 2012-12-28 Daiki Ueno <ueno@gnu.org>
2969
2970 * epg.el: Support pinentry-curses.
2971 Suggested by Werner Koch in
2972 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2973 (epg-agent-file, epg-agent-mtime): New variable.
2974 (epg--start): Record the modified time of gpg-agent socket file,
2975 to restore Emacs frame after pinentry-curses termination.
2976 (epg-wait-for-completion): Restore Emacs frame here.
2977
2978 2012-12-27 Juri Linkov <juri@jurta.org>
2979
2980 * info.el (Info-file-completions): New variable.
2981 (Info-read-node-name-1): Complete node names in the Info file
2982 when a file name is given. Call `Info-build-node-completions'
2983 with a file name.
2984 (Info-build-node-completions): Add new arg `file'. When it is
2985 non-nil, visit it in a temporary buffer and cache its completions in
2986 `Info-current-file-completions'. Move most of the function body to
2987 `Info-build-node-completions-1'.
2988 (Info-build-node-completions-1): New function with the body from
2989 `Info-build-node-completions'. (Bug#12456)
2990
2991 2012-12-27 Juri Linkov <juri@jurta.org>
2992
2993 * frame.el (frame-maximization-style): Remove user option.
2994 (cycle-frame-maximized): Remove function.
2995 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2996 (toggle-frame-fullscreen): New command bound to <f11> instead of
2997 `toggle-frame-maximized'.
2998 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2999
3000 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3001
3002 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3003
3004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3007 for `file-accessible-directory-p'. (Bug#13275)
3008
3009 2012-12-27 Sam Steingold <sds@gnu.org>
3010
3011 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3012 continuations, see <http://stackoverflow.com/questions/3582436>.
3013
3014 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3017 "module" and "def" to have indentation before them.
3018 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3019
3020 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3021
3022 2012-12-27 Alan Mackenzie <acm@muc.de>
3023
3024 Speed up fontification where there's large brace blocks.
3025 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3026 to a call of c-beginning-of-decl-1.
3027
3028 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3029
3030 * comint.el (comint-adjust-window-point): New function.
3031 (comint-postoutput-scroll-to-bottom):
3032 Call comint-adjust-window-point (Bug#13248).
3033
3034 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3035
3036 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3037 Rakefile regexp.
3038 (auto-mode-alist): Associate .gemspec files with ruby-mode
3039 (https://bugs.ruby-lang.org/issues/5453).
3040
3041 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3042
3043 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3044 Suppress coloring, if possible (required for BusyBox based systems like
3045 CyanogenMod).
3046 (tramp-adb-handle-file-attributes)
3047 (tramp-adb-handle-insert-directory)
3048 (tramp-adb-handle-file-name-all-completions): Use it.
3049 (tramp-adb-get-toolbox): New defun. Check for remote shell
3050 implementation (BusyBox or Toolbox).
3051
3052 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3053
3054 * startup.el (initial-buffer-choice): Allow function as value
3055 (Bug#13251).
3056 (command-line-1): Handle case where initial-buffer-choice
3057 specifies a function.
3058 * server.el (server-execute): Handle case where
3059 initial-buffer-choice specifies a function.
3060
3061 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3062
3063 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3064 its own function.
3065 (smtpmail-try-auth-methods): Forget the user name/password if the
3066 login is unsuccessful (bug#12424).
3067
3068 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3069
3070 * notifications.el (notifications-notify): Protect body with
3071 `with-demoted-errors'.
3072
3073 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3074 Check properties of remote device. Restart connection, if there is a
3075 change.
3076
3077 2012-12-21 Chong Yidong <cyd@gnu.org>
3078
3079 * sort.el (sort-subr): Doc fix (Bug#13056).
3080
3081 2012-12-21 Bastien Guerry <bzg@gnu.org>
3082
3083 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3084
3085 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3086
3087 * simple.el (process-file): Overwrite stderr file, if exists.
3088
3089 2012-12-21 Daiki Ueno <ueno@gnu.org>
3090
3091 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3092 (epg-error): Set `error-message' property.
3093
3094 2012-12-21 Chong Yidong <cyd@gnu.org>
3095
3096 * international/mule-cmds.el (read-char-by-name): Signal an error
3097 if the user does not supply a valid character (Bug#13177).
3098
3099 * simple.el (transpose-subr-1): Preserve marker positions by
3100 changing the insertion sequence (Bug#13122).
3101
3102 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3103
3104 * simple.el (kill-region): Deactivate mark even for empty regions
3105 (Bug#13169).
3106
3107 2012-12-21 Chong Yidong <cyd@gnu.org>
3108
3109 * help-fns.el (describe-variable): Make sure we get the right
3110 buffer name (Bug#13105). Suggested by Kelly Dean.
3111
3112 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3113
3114 * comint.el (comint-redirect-previous-input-string): New variable.
3115 (comint-redirect-setup, comint-redirect-cleanup)
3116 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3117 (comint-redirect-preoutput-filter): Fix verbose message.
3118
3119 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3120
3121 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3122 is too long for Tramp. See discussion in
3123 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3124
3125 * progmodes/compile.el (compilation-start): Remove line escape
3126 template.
3127
3128 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3129
3130 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3131 Adjust comment.
3132
3133 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3134
3135 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3136 following non-comment text (bug#13207).
3137 (lm-header-multiline): Continuation lines need to be indented more than
3138 the first line.
3139 (lm-homepage): New function.
3140 (lm-with-file): Don't be confused if narrowing is in effect.
3141
3142 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3145 very beginning of a hunk (e.g. killing the first line).
3146
3147 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3148
3149 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3150 and text properties from returned ACL string.
3151 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3152 for "setfacl" command.
3153
3154 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3155
3156 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3157 `tramp-cleanup-this-connection', when the process has died.
3158 (Bug#13151)
3159
3160 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3163
3164 2012-12-17 Kevin Ryde <user42@zip.com.au>
3165
3166 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3167
3168 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3169
3170 Add support for preserving ACL entries of files.
3171
3172 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3173 `set-file-acl' handlers.
3174
3175 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3176 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3177
3178 * net/tramp-compat.el (tramp-compat-copy-file):
3179 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3180
3181 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3182 Add `file-acl' and `set-file-acl' handlers.
3183 (tramp-gvfs-handle-copy-file):
3184 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3185 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3186 New defuns.
3187
3188 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3189 Add `file-acl' and `set-file-acl' handlers.
3190 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3191 (tramp-sh-handle-set-file-acl): New defuns.
3192 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3193 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3194
3195 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3196 Add `file-acl' and `set-file-acl' handlers.
3197 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3198
3199 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3200
3201 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3202 use pop-to-buffer with NORECORD argument t. As buffer name, use
3203 *Metahelp* with a leading space (Bug#13190).
3204
3205 2012-12-16 Romain Francoise <romain@orebokech.com>
3206
3207 * files.el (file-extended-attributes)
3208 (set-file-extended-attributes): New functions.
3209 (backup-buffer): Use them to handle both SELinux context and ACL
3210 entries.
3211 (backup-buffer-copy): Work with an alist of extended attributes,
3212 rather than an SELinux context.
3213 (basic-save-buffer-2): Ditto.
3214
3215 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3216
3217 * battery.el (battery-bsd-apm): New function.
3218
3219 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3220
3221 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3222 standard date formats.
3223
3224 2012-12-15 Juri Linkov <juri@jurta.org>
3225
3226 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3227 `isearch-insert-char-by-name'.
3228 (with-isearch-suspended): New defmacro with body mostly from
3229 `isearch-edit-string' except the part that sets
3230 `isearch-new-string' and `isearch-new-message'.
3231 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3232 body that sets `isearch-new-string' and `isearch-new-message'.
3233 (isearch-insert-char-by-name): New command.
3234 * international/mule-cmds.el (read-char-by-name): Let-bind
3235 `enable-recursive-minibuffers' to t.
3236 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3237
3238 2012-12-15 Juri Linkov <juri@jurta.org>
3239
3240 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3241 (Bug#13175)
3242
3243 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3244
3245 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3246 the prompt. (Bug#13045)
3247
3248 2012-12-14 Glenn Morris <rgm@gnu.org>
3249
3250 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3251 Try to include filename in non-bytecomp warning. (Bug#13132)
3252
3253 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3254
3255 Fix permissions bugs with setgid directories etc. (Bug#13125)
3256 * files.el (backup-buffer): Don't rely on 9th output of
3257 file-attributes, as it's now a placeholder. Instead, use the new
3258 optional arg of file-ownership-preserved-p.
3259 (file-ownership-preserved-p): New optional arg GROUP.
3260 Fix mishandling of setuid directories that would cause this
3261 function to return t when it should have returned nil.
3262 Document what happens if the file does not exist, and when
3263 it's not known whether the ownership will be preserved.
3264 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3265 Likewise.
3266 (tramp-get-local-gid): Use group-gid for integer, as that's
3267 faster and more reliable.
3268
3269 2012-12-14 Julien Danjou <julien@danjou.info>
3270
3271 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3272 Update keywords list, data type and PL/pgSQL.
3273
3274 2012-12-14 Dave Abrahams <dave@boostpro.com>
3275
3276 * vc/ediff-util.el (ediff-buffer-type): New function.
3277 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3278 rather than taking it as as argument.
3279 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3280
3281 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3282
3283 * json.el: Add pretty-print option (bug#12634).
3284 (json-encoding-separator, json-encoding-default-indentation)
3285 (json--encoding-current-indentation, json-encoding-pretty-print)
3286 (json-encoding-lisp-style-closings): New vars.
3287 (json--with-indentation): New macro.
3288 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3289 (json-encode-array): Use it to obey json-encoding-pretty-print.
3290 (json-pretty-print-buffer, json-pretty-print): New commands.
3291
3292 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3293
3294 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3295 Extract `ruby-syntax-propertize-expansions'.
3296 (ruby-syntax-propertize-expansions): Only change syntax on
3297 certain string delimiters, to punctuation. This way the common
3298 functions like forward-word and thing-at-point still work.
3299 (ruby-match-expression-expansion): Improve readability.
3300 (ruby-block-contains-point): New function.
3301 (ruby-add-log-current-method): Handle several edge cases.
3302
3303 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3304
3305 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3306 unload-feature finishes even when aborting an ongoing edebug session.
3307 Also, do not worry about edebug-mode, unload-feature takes care of it.
3308
3309 2012-12-13 Andreas Schwab <schwab@suse.de>
3310
3311 * net/tls.el (tls-program): Update customize type.
3312
3313 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3314
3315 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3316 (edebug-setup-hook, cl-read-load-hooks): Use it.
3317 (edebug-unload-function): New function. (Bug#13163)
3318
3319 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3322 Otherwise, there could be errors in autoloading. (Bug#13151)
3323
3324 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3325
3326 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3327 sequences.
3328
3329 2012-12-13 Alan Mackenzie <acm@muc.de>
3330
3331 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3332 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3333 around `forward-comment' not recognizing ^M as whitespace.
3334
3335 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3336
3337 * progmodes/python.el (python-skeleton-class)
3338 (python-skeleton-def): Do not add space after defun name.
3339
3340 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3343 (cl--symbol-function): Remove (now that funbound is like nil).
3344
3345 2012-12-12 Glenn Morris <rgm@gnu.org>
3346
3347 * button.el (button--area-button-p): Fix typo.
3348
3349 2012-12-12 Sam Steingold <sds@gnu.org>
3350
3351 * frame.el (frame-maximization-style): New user option.
3352 (toggle-frame-maximized): Toggle frame maximization according to
3353 `frame-maximization-style', bound to <f11>.
3354 (cycle-frame-maximized): Cycle between all maximization styles and
3355 non-maximized frame, bound to shift-<f11>.
3356
3357 2012-12-12 David Cadé <codename68@gmail.com>
3358
3359 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3360
3361 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3362
3363 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3364 (eieio-override-prin1): Don't quote kewords and booleans.
3365 (object-write) <eieio-default-superclass>: Don't put closing parens
3366 on new line, avoid needless empty lines, align values that are objects
3367 with the slot keyword (instead of beginning on the same line).
3368 (eieio-list-prin1): Align value with slot keyword; increase
3369 eieio-print-depth before printing members of the list.
3370
3371 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3374 a display text-property.
3375 (report-emacs-bug-hook): Don't bother deleting it any more.
3376
3377 * hilit-chg.el (highlight-save-buffer-state): Delete.
3378 Use with-silent-modifications instead.
3379 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3380
3381 * button.el: Handle buttons in display text-properties.
3382 (button--area-button-p, button--area-button-string):
3383 Use (STRING . STRING-POS) representation instead of just STRING.
3384
3385 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3386
3387 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3388 subdirectory be skipped.
3389
3390 2012-12-11 Glenn Morris <rgm@gnu.org>
3391
3392 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3393
3394 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3395 Treat preprocessor lines embedded in continuations like comments.
3396 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3397
3398 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3399
3400 * calc/calc.el (calc-standard-date-formats): Add more date
3401 formats.
3402 * calc/calc-forms.el (math-parse-iso-date): New function.
3403 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3404 (math-parse-iso-date-validate): Add extra error checking.
3405 (calc-date-notation): Add ability to access new date formats.
3406
3407 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3410 font-lock as well as when there's no text-property.
3411
3412 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3413
3414 * hi-lock.el: Refine the choice of default face.
3415 (hi-lock-keyword->face): New function. Use it wherever we used
3416 cadadadr instead.
3417 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3418 (hi-lock--last-face): Remove var.
3419 (hi-lock--unused-faces): New var to replace it.
3420 (hi-lock-read-face-name): Use/maintain it.
3421 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3422 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3423 if it has another face.
3424
3425 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3426
3427 * subr.el (w32notify-handle-event): New function.
3428 (inotify-handle-event): Doc fix.
3429
3430 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3431
3432 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3433
3434 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3435
3436 * simple.el (just-one-space): Doc fix.
3437
3438 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3439
3440 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3441
3442 2012-12-10 Le Wang <l26wang@gmail.com>
3443
3444 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3445 narrowed buffer (bug#12361).
3446
3447 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3448
3449 * vc/vc-hooks.el (vc-state): Doc fix.
3450
3451 2012-12-10 Glenn Morris <rgm@gnu.org>
3452
3453 * mail/rmail.el (rmail-maybe-display-summary):
3454 Preserve buffer, in case select-window changes it. (Bug#13066)
3455
3456 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3459 cl-load-hook where they belong.
3460
3461 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3464
3465 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3466
3467 Parallelize byte compilation on MS-Windows.
3468 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3469 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3470 (WINS_BASIC): Define as concatenation of the above.
3471 (compile): Subdivide into 4 separate and independent jobs that can
3472 be run in parallel.
3473 (compile0-CMD, compile0-SH): New targets for compiling
3474 COMPILE_FIRST files, which are prerequisites for the rest of the
3475 byte-compilation.
3476 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3477 New targets for parallel compilation with cmd.exe.
3478 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3479 compiling under a Unixy shell.
3480
3481 2012-12-09 Chong Yidong <cyd@gnu.org>
3482
3483 * simple.el (set-mark-default-inactive): Delete this
3484 accidentally-introduced option.
3485 (set-mark-command, exchange-point-and-mark): Remove calls.
3486
3487 2012-12-09 Glenn Morris <rgm@gnu.org>
3488
3489 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3490 Respect a defcustom's :set function, if appropriate. (Bug#109)
3491 (eval-defun): Doc fix.
3492
3493 2012-12-08 Juri Linkov <juri@jurta.org>
3494
3495 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3496 (Info-fontify-node, Info-bookmark-make-record): Remove the
3497 file extension from Info-current-file (Bug#13016).
3498
3499 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3502 point, still provide some default.
3503 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3504 names, since we don't use it right now. Actually return the list.
3505 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3506
3507 2012-12-07 Chong Yidong <cyd@gnu.org>
3508
3509 * novice.el (disabled-command-function): Remove a spurious help
3510 xref (Bug#13043). Suggested by Kelly Dean.
3511
3512 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3513 syntax is specified (Bug#13025).
3514
3515 * info.el (Info-set-mode-line): Remove the file extension from
3516 Info-current-file if there is one (Bug#13016).
3517
3518 2012-12-07 Glenn Morris <rgm@gnu.org>
3519
3520 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3521 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3522 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3523 and rmail-mime-decoded. (Bug#9841)
3524
3525 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3526 (batch-unrmail, unrmail): Doc fixes.
3527 (unrmail): Respect unrmail-mbox-format.
3528 * mail/rmail.el (rmail-mbox-format): New option.
3529 (rmail-show-message-1): Respect rmail-mbox-format.
3530
3531 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3534
3535 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3538 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3539 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3540 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3541 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3542 (cl-progv): Don't rely on dynamic scoping to find the body.
3543 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3544 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3545 (cl-declaim): Use backquotes.
3546 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3547 Use "cl--" prefix for the object's tag.
3548
3549 * ses.el: Use advice-add/remove.
3550 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3551 (copy-region-as-kill, yank): Use advice-add.
3552 (ses-unload-function): Use advice-remove.
3553
3554 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3555
3556 * button.el: Make them work in header-lines (bug#12817).
3557 (button-map): Add bindings for header-line and mode-line use.
3558 (button-get, button-put, button-label): `button' may now be a string.
3559 (button-activate): Don't make it a defsubst.
3560 (button--area-button-p, button--area-button-string): New functions.
3561 (make-text-button): Fix the return value when `beg' was a string.
3562 (push-button): Handle the mode-line case.
3563
3564 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3567 (sql-signum): Remove. Use `cl-signum' instead.
3568 (sql-read-passwd): Remove; use read-passwd instread.
3569 (sql-get-login-ext): Use read-string.
3570 (sql-get-login): Use dolist and pcase.
3571 (sql--completion-table): Rename from sql-try-completion.
3572 Use complete-with-action.
3573 (sql-mode): Don't change abbrev-all-caps globally.
3574 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3575 (sql-postgres-completion-object): Initialize vars in their `let'.
3576 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3577 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3578 (sql-comint-interbase): Use a single append, without setq.
3579 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3580
3581 * hi-lock.el: Rework the default face and the serialize regexp code.
3582 (hi-lock--auto-select-face-defaults): Remove.
3583 (hi-lock-string-serialize-serial): Remove.
3584 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3585 make weak.
3586 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3587 equal string.
3588 (hi-lock-set-pattern): Adjust accordingly.
3589 (hi-lock--regexps-at-point): Simplify accordingly.
3590 (hi-lock--auto-select-face-defaults): Remove.
3591 (hi-lock--last-face): New var to replace it.
3592 (hi-lock-read-face-name): Rewrite (bug#11095).
3593 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3594
3595 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/tramp.el (tramp-replace-environment-variables):
3598 Hide compiler warning.
3599 (tramp-file-name-for-operation): Remove `executable-find',
3600 `start-process', `call-process' and `call-process-region'.
3601
3602 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3603
3604 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3605 compatibility.
3606
3607 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3608
3609 2012-12-06 Chong Yidong <cyd@gnu.org>
3610
3611 * ffap.el (ffap-replace-file-component): Fix typo.
3612
3613 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3616 fix open-paren-like token test (bug#12785).
3617
3618 2012-12-06 Glenn Morris <rgm@gnu.org>
3619
3620 * mail/rmailsum.el (rmail-new-summary): Tweak for
3621 rmail-maybe-display-summary changing buffer. (Bug#13066)
3622
3623 2012-12-06 Juri Linkov <juri@jurta.org>
3624
3625 * info.el (Info-fontify-node): Don't hide the last newline.
3626 (Bug#12272)
3627
3628 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3629
3630 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3631 so as to enable message-read-from-minibuffer to expand mail aliases.
3632
3633 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3636 the `intangible' property.
3637 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3638
3639 2012-12-05 Deniz Dogan <deniz@dogan.se>
3640
3641 * net/rcirc.el (rcirc-urls): Update documentation.
3642 (rcirc-condition-filter): New function.
3643 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3644 and exclude consecutive duplicate URLs (Bug#6082).
3645
3646 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3647
3648 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3649 Check return code of copy command.
3650
3651 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3652 Use group `tramp'. Add version.
3653
3654 2012-12-05 Chong Yidong <cyd@gnu.org>
3655
3656 * ffap.el (ffap-url-regexp): Don't require matching at front of
3657 string (Bug#4952).
3658 (ffap-url-p): If only a substring matches, return that.
3659 (ffap-url-at-point): Use the return value of ffap-url-p.
3660 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3661 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3662 (ffap-guess-file-name-at-point): Likewise.
3663 (ffap-replace-file-component): Fix typo.
3664
3665 * info.el (info-display-manual): Add existing Info buffers, whose
3666 files may not be in Info-directory-list, to the completion.
3667 (info--manual-names): New helper function.
3668
3669 2012-12-05 Glenn Morris <rgm@gnu.org>
3670
3671 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3672 New functions, for detecting and resolving conflicts. (Bug#10709)
3673
3674 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3675
3676 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3677 (hi-lock-auto-select-face-defaults): New buffer local variable.
3678 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3679 (hi-lock-unface-buffer): Prompt user with useful defaults.
3680 With prefix arg, unhighlight all hi-lock patterns in buffer.
3681
3682 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3685
3686 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3687
3688 * Makefile.in (TRAMP_SRC):
3689 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3690
3691 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3692
3693 * net/tramp-adb.el: New package.
3694
3695 2012-12-04 Chong Yidong <cyd@gnu.org>
3696
3697 * terminal.el: Move to obsolete/.
3698
3699 * longlines.el: Move to obsolete/.
3700
3701 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3702 Remove code referring to longlines mode.
3703
3704 2012-12-03 Juri Linkov <juri@jurta.org>
3705
3706 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3707
3708 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3709
3710 * textmodes/ispell.el (ispell-init-process)
3711 (ispell-start-process, ispell-internal-change-dictionary):
3712 Make sure personal dictionary name is expanded after initial
3713 `default-directory' value. Use expanded strings for
3714 keep/restart checks and for value (Bug#13019).
3715
3716 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3717
3718 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3719
3720 2012-12-03 Leo Liu <sdl.web@gmail.com>
3721
3722 * files.el (dir-locals-read-from-file): Check file non-empty
3723 before reading. (Bug#13038)
3724
3725 2012-12-03 Glenn Morris <rgm@gnu.org>
3726
3727 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3728 Remove any version extension before checking filename. (Bug#13006)
3729 (jka-compr-compression-info-list): Belated :version bump.
3730
3731 2012-12-03 Chong Yidong <cyd@gnu.org>
3732
3733 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3734
3735 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3736 (buffer-menu): Doc fix (Bug#12294).
3737
3738 2012-12-03 Roland Winkler <winkler@gnu.org>
3739
3740 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3741 of diary-show-all-entries in the diary buffer (Bug#12994).
3742
3743 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3744
3745 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3746 "<STDIN>". This is binary safe.
3747
3748 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3749
3750 * calc/calc-forms.el (math-absolute-from-iso-dt)
3751 (math-date-to-iso-dt, math-parse-iso-date-validate)
3752 (math-iso-dt-to-date): New functions.
3753 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3754 (math-fd-isoweekday): New variables.
3755 (calc-date-notation, math-parse-standard-date, math-format-date)
3756 (math-format-date-part): Add support for more formatting codes.
3757
3758 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3759
3760 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3761 current buffer's file name when called interactively (Bug#12488).
3762
3763 2012-12-02 Juri Linkov <juri@jurta.org>
3764
3765 * info.el (info-display-manual): Don't clobber an existing Info
3766 buffer (Bug#10770). Add completion (Bug#10771).
3767
3768 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3769
3770 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3771 before using it for comparison (Bug#5297).
3772
3773 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3774
3775 * textmodes/css-mode.el (css-current-defun-name): New function.
3776 (css-mode): Use it.
3777
3778 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3779 (html-mode): Use it.
3780
3781 2012-12-01 Chong Yidong <cyd@gnu.org>
3782
3783 Modularize add-log-current-defun (Bug#2224).
3784 Suggested by Jari Aalto.
3785
3786 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3787 (add-log-current-defun): Move mode-specific code to other files.
3788 (add-log-lisp-like-modes, add-log-c-like-modes)
3789 (add-log-tex-like-modes): Variables deleted.
3790
3791 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3792 (lisp-mode-variables): Use it.
3793
3794 * progmodes/cc-mode.el (c-common-init):
3795 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3796 add-log-current-defun-function.
3797
3798 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3799 (m4-mode): Use it.
3800
3801 * progmodes/perl-mode.el (perl-current-defun-name): New.
3802 (perl-mode): Use it.
3803
3804 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3805 Use lisp-current-defun-name.
3806
3807 * textmodes/tex-mode.el (tex-current-defun-name): New.
3808 (tex-common-initialization): Use it.
3809
3810 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3811 (texinfo-mode): Use it.
3812
3813 2012-12-01 Chong Yidong <cyd@gnu.org>
3814
3815 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3816 * progmodes/autoconf.el (autoconf-mode):
3817 * progmodes/js.el (js-mode):
3818 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3819 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3820 * progmodes/perl-mode.el (perl-mode):
3821 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3822 * textmodes/css-mode.el (css-mode):
3823 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3824 (sgml-tags-invisible, sgml-guess-indent):
3825 * textmodes/tex-mode.el (tex-common-initialization)
3826 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3827 (doctex-mode, plain-tex-mode, latex-mode):
3828 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3829
3830 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3831
3832 * vc/vc-hg.el (vc-hg-next-revision):
3833 Ensure use of default "tip" output format. (Bug#6968)
3834
3835 2012-12-01 Kim F. Storm <storm@cua.dk>
3836
3837 * startup.el (fancy-startup-tail): Add a clickable link
3838 (Bug#2176).
3839
3840 2012-12-01 Chong Yidong <cyd@gnu.org>
3841
3842 * startup.el (fancy-startup-tail): Improve the message about
3843 auto-save files (Bug#2176).
3844
3845 * files.el (recover-session): Improve the descriptive message, and
3846 use substitute-command-keys.
3847
3848 2012-12-01 Glenn Morris <rgm@gnu.org>
3849
3850 * ido.el (ido-file-internal):
3851 Handle other-window, other-frame for dired. (Bug#13036)
3852
3853 2012-11-30 Glenn Morris <rgm@gnu.org>
3854
3855 * icomplete.el (icomplete-separator): Fix :version.
3856
3857 2012-11-30 Chong Yidong <cyd@gnu.org>
3858
3859 * shell.el (shell): For C-u M-x shell, use an inactive shell
3860 buffer as the default (Bug#1975).
3861 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3862 (shell-mode): Use them to reapply ansi colorization if Shell mode
3863 is re-enabled.
3864
3865 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3866
3867 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3868
3869 2012-11-30 Samuel Bronson <naesten@gmail.com>
3870
3871 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3872 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3873
3874 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3875
3876 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3877 by move-to-column (Bug#3234).
3878
3879 2012-11-30 Chong Yidong <cyd@gnu.org>
3880
3881 * longlines.el (longlines-wrap-line, longlines-encode-region):
3882 Preserve text properties (Bug#1425).
3883
3884 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3885
3886 * vc/vc.el (vc-register): Allow registering a file which is
3887 already registered with a different backend (Bug#10589).
3888
3889 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3890 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * icomplete.el: Change separator; add ido-style commands.
3893 (icomplete-show-key-bindings): Remove custom var.
3894 (icomplete-get-keys): Remove function.
3895 (icomplete-forward-completions, icomplete-backward-completions):
3896 New commands.
3897 (icomplete-minibuffer-map): New var.
3898 (icomplete-minibuffer-setup): Use it.
3899 (icomplete-exhibit): Don't delay if the list of completions is known.
3900 (icomplete-separator): New custom.
3901 (icomplete-completions): Use it.
3902 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3903 (minibuffer-force-complete-and-exit): New command.
3904 (minibuffer--complete-and-exit): New function extracted from
3905 minibuffer-complete-and-exit.
3906 (minibuffer-complete-and-exit): Use it.
3907
3908 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3909 error message when the file doesn't exist (bug#12974).
3910
3911 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3912
3913 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3914
3915 2012-11-29 Glenn Morris <rgm@gnu.org>
3916
3917 * files.el (hack-dir-local-variables): Warn if try to set
3918 coding via dir-locals, since it doesn't work. (Bug#7169)
3919
3920 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3921 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3922 Set buffer-local value of desktop-save-buffer.
3923 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3924 New functions.
3925 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3926 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3927
3928 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3929 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3930 Doc fix.
3931 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3932 Doc fixes.
3933
3934 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3935
3936 * calc/calc-forms.el (calc-date-notation): Fix regexp
3937 used to find time codes. Fix symbol for seconds.
3938
3939 2012-11-27 Glenn Morris <rgm@gnu.org>
3940
3941 * emacs-lisp/derived.el (derived-mode-make-docstring):
3942 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3943
3944 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3947 lexically scoped variables (bug#13005).
3948
3949 2012-11-27 Glenn Morris <rgm@gnu.org>
3950
3951 * vc/vc-hooks.el (vc-mistrust-permissions):
3952 Default to t, to avoid data-loss. (Bug#11490)
3953
3954 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3955
3956 * progmodes/python.el (python-indent-guess-indent-offset):
3957 If indentation is guessed make python-indent-offset buffer-local.
3958
3959 Fix Imenu regression.
3960 * progmodes/python.el (python-nav-beginning-of-defun):
3961 Fix forward movement when statement(s) separates point from defun.
3962 (python-imenu-prev-index-position): New function.
3963
3964 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3965
3966 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3967
3968 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3969 Don't set buffer-file-type. Return nil. (Bug#12989)
3970
3971 2012-11-27 Glenn Morris <rgm@gnu.org>
3972
3973 * hippie-exp.el (hippie-expand-try-functions-list):
3974 Re-autoload it. (Bug#12982)
3975
3976 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3977
3978 * descr-text.el (describe-char-padded-string):
3979 Call internal-char-font only on GUI frames. (Bug#11964)
3980
3981 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3982
3983 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3984 and obsoletion message.
3985
3986 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3989 the constructs to keep outside of the `cl-block' (bug#12977).
3990
3991 2012-11-27 Chong Yidong <cyd@gnu.org>
3992
3993 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3994 keep reading until we get the up-event anyway, in order to process
3995 the up-event for mouse-1-click-follows-link (Bug#12971).
3996
3997 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4000 base function is not yet defined (bug#12965).
4001 (ad-activate-advised-definition): Use ad-compile-function.
4002 (ad-activate): Use cond.
4003
4004 2012-11-25 Leo Liu <sdl.web@gmail.com>
4005
4006 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4007 (Bug#12979)
4008
4009 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4010
4011 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4012 reftex-section-info-function in order to be compatible with
4013 Texinfo integration.
4014
4015 * textmodes/reftex.el (reftex-section-pre-regexp)
4016 (reftex-section-post-regexp, reftex-section-info-function):
4017 New variable.
4018 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4019 reftex-section-post-regexp, and reftex-section-info-function in order
4020 to be compatible with Texinfo integration.
4021
4022 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4023 use reftex-section-pre-regexp variable in order to be compatible with
4024 Texinfo integration.
4025
4026 2012-11-25 Chong Yidong <cyd@gnu.org>
4027
4028 * faces.el: Make face-spec-set more analogous to setq.
4029 (face-spec-set): Change the third arg to specify whether this
4030 function is being called via defface, customize, or a third party.
4031 Set the appropriate symbol properties. Clear the override spec if
4032 setting via Custom. Initialize face if necessary. (Bug#4988)
4033 (face-spec-recalc): Allow theme faces to completely replace the
4034 defface spec, in the same way as custom faces (Bug#8454).
4035
4036 * cus-face.el (custom-declare-face): Move face initialization to
4037 face-spec-set.
4038 (custom-theme-set-faces): Don't initialize the face name here, as
4039 that is now done in face-spec-set.
4040
4041 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4042 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4043 Simplify by using the new arg to face-spec-set.
4044
4045 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4046 reset face-override-spec too, and use custom-declare-face.
4047
4048 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4049
4050 * term/ns-win.el (ns-initialize-window-system): Move creation of
4051 fontsets here (Bug#11964).
4052
4053 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4054
4055 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4056 cell renaming.
4057
4058 2012-11-24 Chong Yidong <cyd@gnu.org>
4059
4060 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4061 obsolete.
4062
4063 * custom.el (custom-theme-set-variables): Use a topological sort
4064 for ordering by custom dependencies (Bug#12952).
4065 (custom--sort-vars, custom--sort-vars-1): New functions.
4066
4067 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4070 lexical-binding (bug#12938).
4071
4072 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4073
4074 * image-mode.el (image-transform-check-size): Use assertions only
4075 for images of type imagemagick.
4076
4077 Otherwise no error, image-transform-fit-to-{width,height} is
4078 silently ignored, as before. Doc fix.
4079
4080 2012-11-24 Chong Yidong <cyd@gnu.org>
4081
4082 * faces.el (color-defined-p): Doc fix (Bug#12853).
4083
4084 2012-11-24 Juri Linkov <juri@jurta.org>
4085
4086 * dired.el (dired-mark): Add optional arg `interactive'.
4087 Check for `use-region-p' if `interactive' is non-nil.
4088 (dired-unmark, dired-flag-file-deletion): Add optional arg
4089 `interactive'. Call `dired-mark' with the arg `interactive'.
4090 (Bug#10624)
4091
4092 * wdired.el: Revert 2012-10-17 change partly and replace it with
4093 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4094 (wdired-finish-edit): Add marks for new file names to
4095 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4096 after `revert-buffer'.
4097 (wdired-do-renames): Remove calls to `dired-remove-file',
4098 `dired-add-file', `dired-add-entry'. (Bug#11795)
4099
4100 2012-11-24 Alan Mackenzie <acm@muc.de>
4101
4102 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4103
4104 Fix bugs in the state cache. Enhance a debugging mechanism.
4105 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4106 "brace at column zero" strategy for C++.
4107 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4108 (c-parse-state-point): New variable.
4109 (c-record-parse-state-state): Record old parse state with
4110 `copy-tree'. Record previous value of point.
4111 (c-debug-parse-state-double-cons): New debugging function.
4112 (c-debug-parse-state): Call the above new function.
4113 (c-toggle-parse-state-debug): Output a confirmatory message.
4114
4115 * progmodes/cc-mode.el (c-before-change, c-after-change):
4116 Call c-invalidate-state-cache from `c-before-change' instead of
4117 `c-after-change'.
4118
4119 2012-11-23 Chong Yidong <cyd@gnu.org>
4120
4121 * find-cmd.el (find-constituents): Add executable, ipath,
4122 readable, samefile, writable, daystart, regextype (Bug#12856).
4123
4124 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4127
4128 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4129
4130 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4131 definition. This fixes a bootstrap failure.
4132 (calc-gregorian-switch): In menu, put dates before regions.
4133 This is easier to follow, lines up better in the menu, and lets us
4134 coalesce regions that switch at the same time. Give country
4135 names, not "Vatican", as that's better for non-expert users.
4136 Use names that are stable between the date of switch and now, e.g.,
4137 Bohemia and Moravia (which existed then and now) and not
4138 Czechoslovakia (which didn't exist then and doesn't exist now).
4139 What is now the U.S. mostly did not switch at the same time as
4140 Britain, so omit the U.S. Correct spelling of "Britain".
4141 Catholic Switzerland was too much of a mess, so omit it.
4142
4143 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4144
4145 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4146 after the variable is changed.
4147
4148 2012-11-21 Daniel Colascione <dancol@dancol.org>
4149
4150 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4151 in SQL declarations for font-lock.
4152 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4153
4154 2012-11-21 Glenn Morris <rgm@gnu.org>
4155
4156 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4157 (face-italic-p): Add optional argument "inherit".
4158
4159 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4160 Remove -p suffix from names, for consistency with other set-face-*.
4161 (set-face-inverse-video): Fix interactive spec.
4162 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4163 * textmodes/table.el (table--update-cell-face):
4164 Use set-face-inverse-video rather than now obsolete alias.
4165
4166 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4167
4168 * simple.el (line-move): Don't call line-move-partial if
4169 scroll-conservatively is in effect. (Bug#12927)
4170
4171 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4172
4173 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4174 Fallback on completion-at-point rather than
4175 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4176 (eshell-cmpl-initialize): Setup completion-at-point.
4177
4178 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4179
4180 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4181
4182 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4183
4184 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4185 are remote, check out-of-band property for both.
4186
4187 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4190 code rewrite.
4191
4192 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4193
4194 More minor time fixes.
4195 * calendar/time-date.el: Commentary fix.
4196 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4197 too much other code depends on (0 0) time stamps.
4198 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4199 Add a couple of FIXME comments.
4200
4201 Minor cleanup for times as lists of four integers.
4202 * files.el (dir-locals-directory-cache):
4203 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4204 Doc fixes.
4205 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4206 * ps-bdf.el (bdf-file-newer-than-time):
4207 Process four-integers time stamps, not two. Doc fixes.
4208
4209 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * uniquify.el (uniquify-managed): Use defvar-local.
4212 (rename-buffer, create-file-buffer): Advise with advice-add.
4213 (uniquify-unload-function): Unadvise accordingly.
4214
4215 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4216 (trace-buffer): Don't purecopy.
4217 (trace-entry-message, trace-exit-message): Add `context' arg.
4218 (trace--timer): New var.
4219 (trace-make-advice): Adjust for use in nadvice.
4220 Add `context' argument. Delay `display-buffer' via a timer.
4221 (trace-function-internal): Use advice-add.
4222 (trace--read-args): New function.
4223 (trace-function-foreground, trace-function-background): Use it.
4224 (trace-function): Rename to trace-function-foreground and redefine as
4225 an alias to that new name.
4226 (untrace-function, untrace-all): Adjust to the use of nadvice.
4227
4228 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4229
4230 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4231
4232 * subr.el (called-interactively-p-functions): New var.
4233 (internal--called-interactively-p--get-frame): New macro.
4234 (called-interactively-p, interactive-p): Rewrite in Lisp.
4235 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4236 (called-interactively-p-functions): Use it.
4237 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4238 (called-interactively-p-functions): Use it.
4239 * allout.el (allout-called-interactively-p): Don't assume
4240 called-interactively-p is a subr.
4241
4242 2012-11-20 Glenn Morris <rgm@gnu.org>
4243
4244 * profiler.el (profiler-report-mode-map): Add a menu.
4245 No need to bind `q' because we derive from special-mode.
4246 (profiler-report-find-entry): Handle calls from the menu-bar.
4247
4248 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * emacs-lisp/byte-run.el (defun-declarations-alist):
4251 Allow a compiler-macro to be a lambda expression.
4252
4253 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4254 eval-when-compile.
4255 (python-syntax-context): Add compiler-macro.
4256 (python-font-lock-keywords): Simplify with De Morgan.
4257
4258 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4259
4260 * files.el (load-file): Require match in minibuffer selection, as was
4261 the case in Emacs-20 before we changed the spec to allow .elc files
4262 (bug#12935).
4263
4264 * json.el: Don't require cl since we don't use it.
4265 * color.el: Don't require cl.
4266 (color-complement): `caddr' -> `nth 2'.
4267
4268 * calendar/time-date.el (time-to-seconds): De-obsolete.
4269
4270 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4271
4272 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4273 year numbers.
4274 (math-date-to-julian-dt): Adjust the initial approximation for the
4275 year to deal with the new definition of the DATE.
4276
4277 2012-11-19 Daniel Colascione <dancol@dancol.org>
4278
4279 * term/w32-win.el (cygwin-convert-path-from-windows):
4280 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4281
4282 2012-11-18 Chong Yidong <cyd@gnu.org>
4283
4284 * filecache.el (file-cache--read-list): New function.
4285 (file-cache-add-directory-list, file-cache-add-file-list)
4286 (file-cache-delete-file-list, file-cache-delete-directory-list):
4287 Use it to read a list of files or directories (Bug#12846).
4288 (file-cache-add-file, file-cache-add-directory)
4289 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4290 (file-cache-delete-directory): Print an message.
4291
4292 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4293
4294 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4295 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4296
4297 2012-11-18 Glenn Morris <rgm@gnu.org>
4298
4299 * image.el (insert-image, insert-sliced-image): Doc fix.
4300
4301 2012-11-18 Chong Yidong <cyd@gnu.org>
4302
4303 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4304 (Bug#12810).
4305
4306 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4307
4308 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4309 response when the target file is in a subdirectory (Bug#12757).
4310
4311 2012-11-18 Chong Yidong <cyd@gnu.org>
4312
4313 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4314
4315 2012-11-18 Glenn Morris <rgm@gnu.org>
4316
4317 * emacs-lisp/cl-lib.el (face-underline-p):
4318 Use set-face-underline rather than the alias set-face-underline-p.
4319
4320 * window.el (with-temp-buffer-window): Doc fix.
4321 * subr.el (with-output-to-temp-buffer):
4322 Add doc xref to with-temp-buffer-window.
4323
4324 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4325
4326 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4327 * calc/calc.el (math-format-date-cache): Declare.
4328
4329 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4330
4331 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4332 It also uses January 1, 1 AD as its day number 1.
4333 * calc/calc-forms.el (math-julian-date-beginning)
4334 (math-julian-date-beginning-int): Implement this.
4335
4336 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4337
4338 * descr-text.el (quail-find-key):
4339 * dired.el (desktop-file-name):
4340 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4341 * generic-x.el (comint-mode, comint-exec):
4342 * image-dired.el (widget-forward):
4343 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4344 (speedbar-change-expand-button-char)
4345 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4346 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4347 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4348 (widget-field-action, widget-value-set):
4349 * speedbar.el (imenu--make-index-alist):
4350 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4351 (ring-length, ring-insert):
4352 * vcursor.el (compare-windows-skip-whitespace):
4353 * woman.el (dired-get-filename):
4354 Declare functions.
4355
4356 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4357
4358 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4359
4360 * calc/calc.el (calc-gregorian-switch): New variable.
4361
4362 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4363 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4364 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4365 (math-leap-year-p): Add option to distinguish between Julian
4366 and Gregorian calendars.
4367 (math-day-number): Use `math-day-in-year' to do the computations.
4368 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4369 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4370 to do the computations.
4371 (math-date-to-dt): Use `math-date-to-julian-dt' and
4372 `math-date-to-gregorian-dt' to do the computations.
4373 (calcFunc-weekday, math-format-date-part): Use the new version of
4374 the DATE to determine the weekday.
4375 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4376 when necessary.
4377
4378 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4379
4380 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4381 Cygwin; otherwise use 'file:'. (Bug#12914)
4382 (cygwin-convert-path-from-windows): Declare, to avoid
4383 byte-compiler warnings.
4384
4385 2012-11-17 Andreas Politz <politza@fh-trier.de>
4386
4387 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4388 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4389 prefix and negative numeric prefix args (Bug#12795).
4390
4391 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4392
4393 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4394 Don't signal an error with a score that is too low to add to the
4395 list of top scores. (Bug#12779)
4396
4397 2012-11-17 Chong Yidong <cyd@gnu.org>
4398
4399 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4400
4401 * filecache.el (file-cache-add-file): Handle relative file name in
4402 the argument (Bug#12694).
4403
4404 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4405
4406 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4407
4408 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4411
4412 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4413
4414 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4415
4416 * window.el (enlarge-window, shrink-window): Don't mention return
4417 value in doc-string (Bug#12896).
4418 (window--display-buffer): Don't resize frames - it won't work
4419 with all window managers and defeat pop-up-frame-alist.
4420 (display-buffer-alist): In doc-string explain that CONDITION can
4421 be a function and which arguments are passed to it (Bug#12854).
4422 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4423 expressions (Bug#12854).
4424 (display-buffer): Pass ACTION argument to
4425 display-buffer-assq-regexp.
4426
4427 2012-11-16 Glenn Morris <rgm@gnu.org>
4428
4429 * window.el (fit-frame-to-buffer-bottom-margin)
4430 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4431
4432 * faces.el (face-underline-p): Use face-attribute-specified-or.
4433
4434 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4435
4436 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4437
4438 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4441
4442 2012-11-16 Glenn Morris <rgm@gnu.org>
4443
4444 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4445 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4446
4447 * faces.el (face-underline-p): Doc fix. Handle :underline being
4448 things other than `t' (a string, a list).
4449 (face-inverse-video-p): Doc fix.
4450 (set-face-underline): Rename it back from set-face-underline-p.
4451 Doc fix. Allow interactive input of values other than t.
4452 (read-face-attribute): Apply formatting to :underline,
4453 since like :box and :stipple it can take list values.
4454
4455 * term.el (ansi-term): Don't let C-x escape-char binding
4456 clobber the more standard C-c binding. (Bug#12842)
4457
4458 * subr.el (set-temporary-overlay-map): Doc fix.
4459
4460 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4461
4462 * window.el (record-window-buffer)
4463 (display-buffer-record-window): When copying the markers to
4464 window-point preserve window-point-insertion-type. (Bug#12588)
4465
4466 2012-11-16 Glenn Morris <rgm@gnu.org>
4467
4468 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4469 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4470 Use new names for hooks rather than obsolete aliases.
4471
4472 2012-11-15 Daniel Colascione <dancol@dancol.org>
4473
4474 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4475 prefix instead of "file:" so that when FILE-NAME begins with "//",
4476 as it does when the target file is on a network share, url-handler
4477 isn't confused.
4478
4479 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4482 a preactivated advice from an old advice.el; they're not compatible!
4483
4484 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4485
4486 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4487 Fix string-spec case.
4488
4489 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4490
4491 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4494 (advice--buffer-local-function-sample): New var.
4495 (advice--set-buffer-local, advice--buffer-local): New functions.
4496 (add-function, remove-function): Use them.
4497
4498 2012-11-15 Drew Adams <drew.adams@oracle.com>
4499
4500 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4501
4502 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4505 potential binding of print-gensym to t, and prettify (back)quotes in
4506 case they appear in args's default values (bug#12884).
4507
4508 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4511 (advice-eval-interactive-spec): New function.
4512 (advice--make-interactive-form): Support around advice (bug#12844).
4513
4514 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4515
4516 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4517 more strict. Add docstring.
4518 (ruby-expression-expansion-re): Extract from
4519 `ruby-match-expression-expansion'.
4520 (ruby-syntax-propertize-function): After everything else, search
4521 for expansions in string literals, mark their insides as
4522 whitespace syntax and save match data for font-lock.
4523 (ruby-font-lock-keywords): Use the 2nd group from expression
4524 expansion matches.
4525 (ruby-match-expression-expansion): Use the match data saved to the
4526 text property in ruby-syntax-propertize-function.
4527
4528 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4531 (bug#12879).
4532
4533 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4534
4535 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4536 start/end keyword a bit harder. Works with different values of N.
4537 Add more comments.
4538 (ruby-end-of-block): Update accordingly.
4539
4540 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * woman.el (woman-file-name): Don't mess with unread-command-events
4543 (bug#12861).
4544
4545 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4546 Remove out of date self-require hack.
4547 (ad-do-advised-functions): Use simple `dolist'.
4548 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4549 (ad-advice-definition): Redefine as functions.
4550 (ad-advice-classes): Move before first use.
4551 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4552 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4553 (ad--defalias-fset): Remove functions.
4554 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4555 (ad-get-orig-definition): Rewrite.
4556 (ad-make-advised-definition-docstring): Change base docstring.
4557 (ad-real-orig-definition): Rewrite.
4558 (ad-map-arglists): Change name of called function.
4559 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4560 (ad-make-advised-definition): Simplify.
4561 (ad-assemble-advised-definition): Tweak for new calling context.
4562 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4563 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4564 function and call ad-activate if needed.
4565 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4566 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4567 (ad-compile-function): Compile ad-Advice-*.
4568 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4569 (ad-start-advice, ad-stop-advice): Remove.
4570
4571 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4572
4573 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4574 period before class method names, not after. Remove handling of
4575 one impossible case. Add comments.
4576
4577 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * emacs-lisp/advice.el: Remove support for freezing.
4580 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4581 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4582 Remove support for `freeze'.
4583
4584 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4585 override the default.
4586 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4587 cl--dotimes/dolist.
4588 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4589 `cl' is loaded.
4590
4591 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4592 from add-advice.
4593 (advice--strip-macro): New function.
4594 (advice--defalias-fset): Use them to handle macros.
4595 (advice-add): Use them.
4596 (advice-member-p): Correctly handle macros.
4597
4598 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4599
4600 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4601 Never font-lock the beginning of singleton class as heredoc.
4602
4603 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4606
4607 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4608
4609 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4610 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4611 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4612
4613 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4614
4615 Fix end-of-defun misbehavior.
4616 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4617 python-beginning-of-defun-function. Handle nested defuns
4618 correctly.
4619 (python-nav-end-of-defun): Rename from
4620 python-end-of-defun-function. Ensure forward movement.
4621 (python-info-current-defun): Reimplement to work as intended
4622 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4623 parent defuns as soon as possible.
4624
4625 2012-11-13 Glenn Morris <rgm@gnu.org>
4626
4627 * progmodes/flymake.el (flymake-error-bitmap)
4628 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4629 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4630
4631 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4632
4633 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4634 backward, always stop at indentation. Reverts the change from
4635 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4636
4637 2012-11-13 Glenn Morris <rgm@gnu.org>
4638
4639 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4640 Add ibuffer-filter-by-derived-mode.
4641
4642 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4643 the same name shadowing each other.
4644
4645 * window.el (with-temp-buffer-window): Doc tweak.
4646
4647 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4648
4649 * help.el (temp-buffer-max-height):
4650 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4651 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4652
4653 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * emacs-lisp/nadvice.el: New package.
4656 * subr.el (special-form-p): New function.
4657 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4658 (elp-all-instrumented-list): Remove var.
4659 (elp-not-profilable): Remove elp-wrapper.
4660 (elp-profilable-p): Use autoloadp and special-form-p.
4661 (elp--advice-name): New const.
4662 (elp-instrument-function): Use advice-add.
4663 (elp--instrumented-p): New predicate.
4664 (elp-restore-function): Use advice-remove.
4665 (elp-restore-all, elp-reset-all): Use mapatoms.
4666 (elp-set-master): Use elp--instrumented-p.
4667 (elp--make-wrapper): Rename from elp-wrapper, return a function
4668 suitable for advice-add. Use cl-inf.
4669 (elp-results): Use mapatoms+elp--instrumented-p.
4670 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4671 (debug-function-list): Remove var.
4672 (debug): Rename arg, and then let-bind it explicitly inside.
4673 (debugger-setup-buffer): Rename arg.
4674 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4675 (debugger-frame-number): Adjust to new debug-on-entry setup.
4676 (debug--implement-debug-on-entry): Rename from
4677 implement-debug-on-entry, add argument.
4678 (debugger-special-form-p): Remove, use special-form-p instead.
4679 (debug-on-entry): Use advice-add.
4680 (debug--function-list): New function.
4681 (cancel-debug-on-entry): Use it, along with advice-remove.
4682 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4683 (debugger-list-functions): Use debug--function-list instead of
4684 debug-function-list.
4685 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4686 (ad-special-form-p): Remove, use special-form-p instead.
4687 (ad-set-advice-info): Use add-function and remove-function.
4688 (ad--defalias-fset): Adjust accordingly.
4689
4690 2012-11-10 Glenn Morris <rgm@gnu.org>
4691
4692 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4693 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4694 (report-emacs-bug-create-existing-bugs-buffer)
4695 (report-emacs-bug-parse-query-results)
4696 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4697
4698 * term.el (term-default-fg-color, term-default-bg-color):
4699 Make obsolete, rather than just saying "deprecated" in the doc.
4700
4701 * term.el (term): Rename from `term-face'.
4702 (term-current-face, ansi-term-color-vector)
4703 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4704 Update all users.
4705
4706 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4707
4708 * server.el (server-create-window-system-frame): Handle Nextstep
4709 specially (Bug#12780).
4710
4711 2012-11-10 Glenn Morris <rgm@gnu.org>
4712
4713 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4714 Unautoload, and make obsolete. (Bug#7449)
4715
4716 2012-11-10 Chong Yidong <cyd@gnu.org>
4717
4718 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4719 rename from diff-remove-trailing-whitespace (Bug#12831).
4720
4721 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4724 miscompilation of trace.el.
4725
4726 2012-11-10 Glenn Morris <rgm@gnu.org>
4727
4728 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4729
4730 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4733 (bug#12812).
4734
4735 2012-11-10 Chong Yidong <cyd@gnu.org>
4736
4737 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4738 a defcustom with an appropriate :set function.
4739 (minibuffer-default--in-prompt-regexps): New function.
4740
4741 2012-11-10 Glenn Morris <rgm@gnu.org>
4742
4743 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4744 (define-modify-macro): Doc fixes.
4745
4746 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4747 (gv-define-simple-setter): Update doc of `fix-return'.
4748
4749 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4752 twice when `fix-return' is set (bug#12813).
4753
4754 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4755 gv-define-simple-setter (bug#12812).
4756
4757 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4758 (bug#12756).
4759
4760 2012-11-10 Glenn Morris <rgm@gnu.org>
4761
4762 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4763
4764 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4765 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4766 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4767 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4768
4769 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4770
4771 2012-11-10 Leo Liu <sdl.web@gmail.com>
4772
4773 * ido.el (ido-set-matches-1): Improve flex matching performance by
4774 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4775
4776 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4779 (ad--defalias-fset): New function.
4780 (ad-safe-fset): Remove.
4781 (ad-make-freeze-definition): Use cl-letf*.
4782
4783 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * subr.el (dolist): Don't bind VAR in RESULT.
4786
4787 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4788 (fset, documentation): Don't save real def since we don't advise.
4789 (ad-do-advised-functions): Remove problematic `result-form'.
4790 (ad-safe-fset): `ad-real-fset' => `fset'.
4791 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4792 uses CL's dolist internally.
4793 (ad-arglist): Remove unused arg `name'.
4794 (ad-docstring, ad-make-advised-docstring):
4795 `ad-real-documentation' => `documentation'.
4796 (warning-suppress-types): Declare.
4797 (ad-set-arguments): Simple CSE.
4798 (ad-recover-normality): Sanity check.
4799
4800 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4801 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4802
4803 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4804
4805 * ses.el: symbol to coordinate mapping is made by symbol property
4806 `ses-cell'. This means that the same mapping is done for all SES
4807 sheets. That is good enough for cells with standard A1 names, but
4808 not for named cell. So a hash map is added for the latter.
4809 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4810 (ses-sym-rowcol): Use hashmap for named cell.
4811 (ses-is-cell-sym-p): New defun.
4812 (ses-decode-cell-symbol): New defun.
4813 (ses-create-cell-variable): Add cell to hashmap when name is not
4814 A1-like.
4815 (ses-rename-cell): Check that cell new name is not already in
4816 spreadsheet with the use of ses-is-cell-sym-p
4817 (ses-rename-cell): Use hash map for named cells, but accept also
4818 renaming back to A1-like.
4819
4820 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * emacs-lisp/advice.el: Use new dynamic docstrings.
4823 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4824 Use dynamic-docstring-function instead of ad-advice-info.
4825 (ad--make-advised-docstring): New function extracted from
4826 ad-make-advised-docstring.
4827 (ad-make-advised-docstring): Use it.
4828 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4829 from sql-help.
4830 (sql-help): Use it with dynamic-docstring-function.
4831
4832 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4833
4834 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * files.el (hack-one-local-variable--obsolete): New function.
4837 (hack-one-local-variable): Use it for obsolete settings.
4838
4839 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4840 the new name.
4841
4842 * progmodes/js.el (js--filling-paragraph): New var.
4843 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4844 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4845 less sneaky.
4846
4847 2012-11-08 Julien Danjou <julien@danjou.info>
4848
4849 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4850 `auto-mode-alist' (Bug#12835).
4851
4852 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4855 (perl--prettify-symbols-alist): New const.
4856 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4857 New functions.
4858 (perl-font-lock-keywords-2): Use them.
4859 (perl-electric-noindent-p): New function.
4860 (perl-mode): Use it to set up electric-indent-mode.
4861 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4862 (perl-mode-map): Remove bindings for them.
4863 (perl-imenu-generic-expression, perl-outline-level):
4864 Match functions&packages in column>0.
4865
4866 * env.el (env--substitute-vars-regexp): New const.
4867 (substitute-env-vars): Use it. Add `only-defined' arg.
4868 * net/tramp.el (tramp-replace-environment-variables): Use it.
4869
4870 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4871 Byte-compile *before* eval in eval-and-compile.
4872 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4873 (byte-compile-file-form-autoload): Don't hide actual definition.
4874 (byte-compile-maybe-guarded): Accept `functionp' as well.
4875
4876 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4877
4878 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * notifications.el (notifications-get-server-information-method):
4881 New defconst.
4882 (notifications-get-capabilities): Fix docstring.
4883 (notifications-get-server-information): New defun.
4884
4885 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4886
4887 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4888 readability.
4889
4890 * textmodes/ispell.el: Experimental support for support debugging.
4891 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4892 buffer for ispell.
4893 (ispell-print-if-debug): New function to print stuff to
4894 `ispell-debug-buffer' if debugging is enabled.
4895 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4896 show some debugging info.
4897 (ispell-buffer-with-debug): New function that creates a debugging
4898 buffer and calls `ispell-buffer' with debugging enabled.
4899
4900 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4901 comment in autoconf mode. (Bug#12768)
4902
4903 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4904
4905 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4906 frame-first-window, frame-root-window, frame-selected-window,
4907 minibuffer-selected-window, minibuffer-window,
4908 window-absolute-pixel-edges, window-at, window-body-height,
4909 window-body-width, window-display-table, window-combination-limit,
4910 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4911 window-inside-edges, window-inside-pixel-edges, window-left-child,
4912 window-left-column, window-margins, window-next-buffers,
4913 window-next-sibling, window-new-normal, window-new-total,
4914 window-normal-size, window-parameter, window-parameters, window-parent,
4915 window-pixel-edges, window-point, window-prev-buffers,
4916 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4917 window-start, window-text-height, window-top-child, window-top-line,
4918 window-total-height, window-total-width and window-use-time to the list
4919 of functions without side-effects.
4920 (toplevel): Add window-valid-p to the list of error-free functions
4921 without side-effects.
4922
4923 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4924
4925 * textmodes/ispell.el (ispell-program-name):
4926 Update spellchecker parameters when customized.
4927
4928 2012-11-04 Glenn Morris <rgm@gnu.org>
4929
4930 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4931
4932 2012-11-04 Chong Yidong <cyd@gnu.org>
4933
4934 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4935 same-window-* variables.
4936
4937 2012-11-04 Juri Linkov <juri@jurta.org>
4938
4939 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4940 (isearch-describe-key, isearch-describe-mode): Use a display
4941 action instead of binding same-window-* variables (Bug#10040).
4942
4943 2012-11-03 Glenn Morris <rgm@gnu.org>
4944
4945 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4946 Rename handler properties back from cl-- to cl-. (Bug#12788)
4947
4948 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4949
4950 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4951
4952 * term/pc-win.el: Don't load term/internal from here.
4953
4954 * loadup.el: Load term/internal from here.
4955
4956 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4957
4958 * progmodes/python.el (inferior-python-mode): Fix hang in
4959 jit-lock (Bug#12645).
4960
4961 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4962
4963 * window.el (switch-to-visible-buffer)
4964 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4965
4966 2012-11-03 Glenn Morris <rgm@gnu.org>
4967
4968 * emacs-lisp/cl-lib.el (cl--random-time):
4969 Rename from cl-random-time. (Bug#12773)
4970 (cl--gensym-counter, cl--random-state): Update callers.
4971 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4972
4973 2012-11-03 Chong Yidong <cyd@gnu.org>
4974
4975 * cus-start.el: Make cursor-type customizable (Bug#11633).
4976
4977 2012-11-02 Glenn Morris <rgm@gnu.org>
4978
4979 * filecache.el: No need to load find-lisp when compiling.
4980 (find-lisp-find-files): Autoload it.
4981 (file-cache-add-directory-recursively): Don't require find-lisp.
4982
4983 * image.el (image-type-from-file-name): Trivial simplification.
4984
4985 * emacs-lisp/bytecomp.el (byte-compile-eval):
4986 Decouple "noruntime" and "cl-functions" warnings.
4987
4988 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4989
4990 * play/gomoku.el (gomoku-display-statistics): Update mode line
4991 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4992
4993 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4994
4995 * window.el (quit-restore-window): If the window has been
4996 created on an existing frame and ended up as the sole window on
4997 that frame, do not delete it (Bug#12764).
4998
4999 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5000
5001 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5002 Rename from sh--inside-arithmetic-expression, handle more cases
5003 (bug#11263).
5004
5005 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5006 (sh-font-lock-open-heredoc): Use it (bug#12770).
5007
5008 2012-10-30 Glenn Morris <rgm@gnu.org>
5009
5010 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5011
5012 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5013
5014 2012-10-29 Chong Yidong <cyd@gnu.org>
5015
5016 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5017 function key is stored in a keyboard macro (Bug#4894).
5018
5019 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5020
5021 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5024 header comments".
5025 (diff-unified->context, diff-context->unified)
5026 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5027
5028 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5029
5030 * files.el (find-alternate-file): Only ask one question (bug#12487).
5031
5032 2012-10-29 Chong Yidong <cyd@gnu.org>
5033
5034 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5035 Suggested by Dan Nicolaescu (Bug#6326).
5036
5037 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5038
5039 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5040
5041 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5042
5043 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5044
5045 * face-remap.el (face-remap-add-relative): Handle the case where a
5046 face-remapping-alist entry is a cons cell (Bug#12762).
5047
5048 2012-10-29 Kevin Ryde <user42@zip.com.au>
5049
5050 * woman.el (woman-parse-numeric-value): Handle picas correctly
5051 (Bug#12639).
5052
5053 2012-10-29 Glenn Morris <rgm@gnu.org>
5054
5055 * emacs-lisp/cl.el (defsetf): Doc fix.
5056
5057 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5060 syntax to the matching opener, if any (bug#12547).
5061 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5062 matching open as a "case-(".
5063 (sh-smie-rc-grammar): Add a corresponding rule for it.
5064
5065 2012-10-28 Daniel Hackney <dan@haxney.org>
5066
5067 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5068 "PKGNAME-autoloads.el" in case we created it.
5069
5070 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5073 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5074 (completion--twq-all): Disable too-strict assertions.
5075
5076 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5077
5078 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5079
5080 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5081 text to match the real keybindings.
5082
5083 2012-10-27 Juri Linkov <juri@jurta.org>
5084
5085 * wdired.el (wdired-keep-marker-rename): New defcustom.
5086 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5087 (Bug#11795)
5088
5089 * dired.el (dired-keep-marker-rename): Add reference to
5090 `wdired-keep-marker-rename' in the docstring.
5091 Add default character value ?R to display initially in
5092 Customization UI instead of ?@.
5093
5094 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (display-buffer): In doc-string describe
5097 window-height and window-width alist entries.
5098
5099 * time.el (display-time-world): Restore fit-window-to-buffer
5100 behavior.
5101
5102 2012-10-27 Chong Yidong <cyd@gnu.org>
5103
5104 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5105
5106 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5107
5108 * minibuffer.el (completion-category-overrides): New completion
5109 category `bookmark' (bug#11131).
5110
5111 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5114 Silence bogus compiler warnings for ad-do-it.
5115
5116 * bookmark.el (bookmark-completing-read): Set the completion category
5117 to `bookmark' (bug#11131).
5118
5119 2012-10-26 Bastien <bzg@altern.org>
5120 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * face-remap.el: Use lexical-binding.
5123 (text-scale-adjust): Improve docstring. Use itself for the temporary
5124 overlay-map bindings, so as to repeat the "Use..." message each time.
5125
5126 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * emacs-lisp/macroexp.el (macroexp--expand-all):
5129 Obey byte-compile-warning-enabled-p (bug#12486).
5130
5131 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5132 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5133
5134 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5135
5136 * mouse.el (mouse-drag-line): Move last form into preceding when
5137 clause (Bug#12731).
5138
5139 * help.el (resize-temp-buffer-window): Fix doc-string.
5140
5141 2012-10-25 David Engster <deng@randomsample.de>
5142
5143 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5144 Remove. This feature is already integrated in imenu.
5145
5146 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5147 always loaded. Require `speedbar' unconditionally.
5148
5149 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5152
5153 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5154
5155 * net/ldap.el (ldap-search-internal): The official ldif format starts
5156 with a "version: 1" header (bug#12724).
5157
5158 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5159 (bug#12721).
5160
5161 2012-10-25 Glenn Morris <rgm@gnu.org>
5162
5163 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5164
5165 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * minibuffer.el (minibuffer-force-complete): Use one more marker
5168 for the temporary-overlay-map command (bug#12619).
5169
5170 2012-10-24 Chong Yidong <cyd@gnu.org>
5171
5172 * time.el (display-time-world-mode): Derive from special-mode.
5173 (display-time-world): Use display-buffer (Bug#12708).
5174 (display-time-world-mode-map): Variable deleted.
5175 (display-time-world-display): Wrap the final delete-char inside
5176 inhibit-read-only.
5177
5178 2012-10-24 Chong Yidong <cyd@gnu.org>
5179
5180 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5181 Doc fix.
5182
5183 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5184
5185 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5186
5187 * minibuffer.el (completion--all-sorted-completions-location): New var.
5188 (completion--cache-all-sorted-completions)
5189 (completion--flush-all-sorted-completions): Use it.
5190 (completion-in-region, completion-in-region--postch)
5191 (completion-at-point, completion-help-at-point): Use markers in
5192 completion-in-region--data (bug#12619).
5193
5194 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * progmodes/compile.el (compilation-start): Try to handle common
5197 quoting of `cd' argument (bug#12640).
5198
5199 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5200 (bug#12671).
5201
5202 2012-10-23 Glenn Morris <rgm@gnu.org>
5203
5204 * progmodes/gud.el (gud-menu-map):
5205 Check gdb-active-process is bound. (Bug#12358)
5206
5207 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * repeat.el (repeat): Set real-this-command (bug#12232).
5210
5211 * htmlfontify.el (hfy-post-html-hook):
5212 * filesets.el (filesets-cache-fill-content-hook):
5213 * arc-mode.el (archive-extract-hook):
5214 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5215 * net/rcirc.el (rcirc-sentinel-functions)
5216 (rcirc-receive-message-functions, rcirc-activity-functions)
5217 (rcirc-print-functions):
5218 * net/dbus.el (dbus-event-error-functions):
5219 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5220 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5221 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5222 * term/sun.el (sun-raw-prefix-hooks):
5223 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5224
5225 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5226
5227 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5228 Set `tramp-chunksize' to 1. This improves the performance.
5229 (tramp-smb-wait-for-output): Add timeout to
5230 `tramp-accept-process-output' calls.
5231
5232 2012-10-23 Chong Yidong <cyd@gnu.org>
5233
5234 * faces.el (font-list-limit): Define as an obsolete variable.
5235
5236 * startup.el (command-line):
5237 * cus-start.el: Don't refer to font-list-limit.
5238
5239 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5240
5241 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * subr.el (internal-temp-output-buffer-show): Rename from
5244 temp-output-buffer-show, since previously compiled files expect this name.
5245
5246 2012-10-23 Glenn Morris <rgm@gnu.org>
5247
5248 * image.el (image-type-from-file-name): If multiple types match,
5249 return the first one that is supported. (Bug#9045)
5250
5251 2012-10-22 Glenn Morris <rgm@gnu.org>
5252
5253 * image.el (imagemagick-enabled-types): Doc fix.
5254
5255 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5256
5257 * progmodes/which-func.el (which-func-current): The hash-table may have
5258 an explicit nil (bug#12338).
5259
5260 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * electric.el (electric-pair-delete-selection-self-insert-function):
5263 Rename to electric-pair-will-use-region, return a boolean.
5264 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5265
5266 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5267 (delete-selection-pre-hook): Use use-region-p.
5268 (delete-selection-self-insert-function): Remove.
5269 (self-insert-command): Obey self-insert-uses-region-functions.
5270 (self-insert-iso): Revert to previous setting, since we don't actually
5271 know what that command does.
5272 (delete-selection-self-insert-hooks): Remove.
5273
5274 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5275
5276 * delsel.el (delete-selection-helper): New function, extracted from
5277 delete-selection-pre-hook.
5278 (delete-selection-pre-hook): Use it.
5279 (delete-selection-self-insert-function): New function.
5280 (delete-selection-self-insert-hooks): New hook.
5281 (self-insert-command, self-insert-iso): Use it.
5282 * electric.el (electric-pair-syntax): New function, extracted from
5283 electric-pair-post-self-insert-function.
5284 (electric-pair-post-self-insert-function): Use it.
5285 (electric-pair-delete-selection-self-insert-function): New function.
5286 (electric-pair-mode): Require delsel and setup
5287 delete-selection-self-insert-hooks (bug#11520).
5288
5289 2012-10-20 Chong Yidong <cyd@gnu.org>
5290
5291 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5292 no changes to show (Bug#12586).
5293
5294 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5295 list explicitly (Bug#12571).
5296
5297 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5298
5299 * progmodes/flymake.el (flymake-create-temp-inplace):
5300 Use file-truename.
5301
5302 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5303
5304 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5305
5306 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5307
5308 * calc/calc-units.el (math-extract-units): Properly extract powers
5309 of units.
5310
5311 2012-10-20 Daniel Colascione <dancol@dancol.org>
5312
5313 * frame.el (make-frame): Set x-display-name as we used to in order
5314 to unbreak creating an X11 frame from an Emacs daemon started
5315 without a display.
5316
5317 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5320 the same completion-field (bug#12221).
5321
5322 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5323
5324 * emacs-lisp/debug.el (debug): Record height of debugger window
5325 also when debugger will be back (Bug#8789).
5326
5327 2012-10-18 Chong Yidong <cyd@gnu.org>
5328
5329 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5330 Convert to defcustom.
5331 (gdb-get-source-file): Don't bind pop-up-windows.
5332
5333 * progmodes/gud.el (gud-display-line): Don't specially re-use
5334 other frames for the gdb-mi case (Bug#12648).
5335
5336 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * emacs-lisp/advice.el: Clean up commentary a bit.
5339 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5340 (byte-code-function-p): Never redefine.
5341
5342 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5343
5344 2012-10-18 Glenn Morris <rgm@gnu.org>
5345
5346 * dired.el (dired-sort-toggle): Some ls implementations only allow
5347 a single option string. (Bug#12666)
5348
5349 * minibuffer.el (completion-cycle-threshold): Doc fix.
5350
5351 2012-10-17 Kenichi Handa <handa@gnu.org>
5352
5353 * international/mule.el (set-keyboard-coding-system):
5354 Recover input meta mode when the new coding system doesn not use 8-bit.
5355 Supply TERMINAL arg to set-input-meta-mode.
5356
5357 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5358
5359 * wdired.el (wdired-old-marks): New variable.
5360 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5361 (wdired-do-renames): Move point with renamed file and don't lose
5362 mark status (Bug#11795).
5363
5364 2012-10-16 Juri Linkov <juri@jurta.org>
5365
5366 * replace.el (query-replace-help): Mention multi-buffer replacement
5367 keys in the Help message. (Bug#12655)
5368
5369 2012-10-15 Chong Yidong <cyd@gnu.org>
5370
5371 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5372
5373 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5374
5375 * window.el (display-buffer): Doc fix.
5376
5377 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5378 Adjust the msft regexp to the output of Studio 2010, and move msft
5379 before edg-1. See the discussion on emacs-devel,
5380 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5381 for the details.
5382
5383 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5386 (oset): Move uses of object-class-fast macro after its definition.
5387
5388 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5389
5390 2012-10-13 Chong Yidong <cyd@gnu.org>
5391
5392 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5393 enabled, re-enable it (Bug#11963).
5394
5395 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5396
5397 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5398 non-nil, restore window configuration (Bug#12623).
5399
5400 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * help-fns.el (describe-variable, describe-function-1):
5403 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5404
5405 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5406
5407 2012-10-12 Glenn Morris <rgm@gnu.org>
5408
5409 * mail/rmailsum.el (rmail-header-summary):
5410 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5411
5412 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5413
5414 * progmodes/python.el (python-mode-map):
5415 Replace subtitute-key-definition with proper command remapping.
5416 (python-nav--up-list): Fix behavior for blocks on the same level.
5417
5418 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5421
5422 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5423 changes to the format of load-history.
5424
5425 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5426 completion-ignore-case in case that var is buffer-local (bug#12615).
5427
5428 2012-10-11 Kenichi Handa <handa@gnu.org>
5429
5430 * international/eucjp-ms.el: Re-generated.
5431
5432 2012-10-10 Kenichi Handa <handa@gnu.org>
5433
5434 * select.el (xselect--encode-string): If a coding is specified for
5435 selection, and that is compatible with COMPOUND_TEXT, use it.
5436
5437 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5438
5439 * window.el (switch-to-buffer-preserve-window-point): New option.
5440 (switch-to-buffer):
5441 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5442
5443 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5446 Don't document nil as a useful value (bug#12583).
5447
5448 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5449
5450 * net/tramp.el (tramp-debug-message):
5451 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5452 (with-tramp-progress-reporter): Rename from
5453 `tramp-with-progress-reporter'.
5454 (with-tramp-file-property, with-tramp-connection-property):
5455 Move from tramp-cache.el, rename from `with-file-property' and
5456 `with-connection-property', respectively.
5457
5458 * net/tramp-cache.el: Remove `with-file-property' and
5459 `with-connection-property'.
5460
5461 * net/tramp.el:
5462 * net/tramp-gvfs.el:
5463 * net/tramp-sh.el:
5464 * net/tramp-smb.el: Adapt callees.
5465
5466 * net/trampver.el: Update release number.
5467
5468 2012-10-09 Glenn Morris <rgm@gnu.org>
5469
5470 * w32-fns.el (set-message-beep):
5471 * term/w32-win.el (set-message-beep): Update declarations.
5472
5473 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5476 (mode-line-widen, mode-line-input-method-map)
5477 (mode-line-coding-system-map, mode-line-remote)
5478 (mode-line-unbury-buffer, mode-line-bury-buffer)
5479 (mode-line-next-buffer, mode-line-previous-buffer):
5480 Replace save-selected-window+select-window => with-selected-window.
5481
5482 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5483 * progmodes/cc-vars.el (bq-process): Remove, unused.
5484
5485 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5486
5487 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5488
5489 Implemented `backward-up-list'-like navigation.
5490 * progmodes/python.el (python-nav-up-list)
5491 (python-nav-backward-up-list): New functions.
5492 (python-mode-map): Define substitute key for backward-up-list to
5493 python-nav-backward-up-list.
5494
5495 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5496
5497 * progmodes/python.el (python-fill-paragraph): Rename from
5498 python-fill-paragraph-function. Fixed fill-paragraph for
5499 decorators (Bug#12605).
5500
5501 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5502
5503 * progmodes/python.el (python-shell-output-filter): Handle extra
5504 carriage return in OSX (Bug#12409).
5505
5506 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5507
5508 Fix shell handling of unbalanced quotes and parens in output.
5509 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5510 (python-syntax-propertize-function): Use it.
5511 (python-shell-output-syntax-table): New var.
5512 (inferior-python-mode): Prevent unbalanced parens/quotes from
5513 previous output mess with current input context.
5514
5515 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5516
5517 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5518 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5519
5520 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5521
5522 * ffap.el (ffap-replace-file-component): Support Tramp file name
5523 syntax, not only ange-ftp's one.
5524
5525 2012-10-08 Glenn Morris <rgm@gnu.org>
5526
5527 * cus-start.el (message-log-max): Set :version.
5528
5529 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5530
5531 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5532
5533 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5534 the minibuffer window (Bug#10851).
5535
5536 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5537
5538 Enhancements on forward-sexp movement.
5539 * progmodes/python.el (python-nav-beginning-of-statement)
5540 (python-nav-end-of-statement): Return point-marker.
5541 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5542 (python-info-current-symbol)
5543 (python-info-statement-starts-block-p): Rename from
5544 python-info-beginning-of-block-p.
5545 (python-info-statement-ends-block-p): Rename from
5546 python-info-end-of-block-p.
5547 (python-info-beginning-of-statement-p)
5548 (python-info-end-of-statement-p)
5549 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5550 New functions.
5551
5552 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5555 frame-selected-windows.
5556
5557 2012-10-08 Daniel Colascione <dancol@dancol.org>
5558
5559 * battery.el (battery-status-function): Check for
5560 w32-battery-status itself, not system-time windows-nt.
5561
5562 * frame.el: Require cl-lib.
5563 (display-format-alist): New variable mapping frame types to
5564 functions that initialize them.
5565 (window-system-for-display): New function: interprets
5566 display-format-alist.
5567 (make-frame-on-display): Remove existing display-selection logic
5568 and just forward to make-frame, which will now DTRT.
5569 (make-frame): Restructure to use window-system-for-display to
5570 figure out how to create a frame on a given display.
5571 (display-mouse-p): Look for frame-type w32, not a particular
5572 system-type.
5573
5574 * loadup.el: Load w32 lisp code when we have the w32 feature.
5575
5576 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5577 system-type windows-nt.
5578
5579 * server.el (server-create-window-system-frame): Look for window
5580 type.
5581 (server-proces-filter): Only force a window system when windows-nt
5582 _and_ w32. Explain why.
5583
5584 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5585 of window systems we configure for the mode.
5586
5587 * startup.el (command-line): Mark window system is initialized
5588 after we've done it.
5589
5590 * common-win.el (x-select-text): Look for w32, not windows-nt.
5591
5592 * ns-win.el: Require cl-lib. Add ourselves to
5593 display-format-alist.
5594 (ns-initialize-window-system): Assert we're not initialized twice.
5595
5596 * w32-win.el: Enable lexical binding; require cl-lib; add
5597 ourselves to display-format-alist.
5598 (w32-handle-dropped-file): Convert incoming dropped files from
5599 Windows paths to Cygwin ones before passing them on to the rest of
5600 Emacs.
5601 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5602 (w32-initialize-window-system): Assert we're not initialized twice.
5603
5604 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5605 (x-initialize-window-system): Assert we're not initialized twice.
5606
5607 * w32-common-fns.el: New File.
5608 (w32-version, w32-using-nt, w32-get-clipboard-data)
5609 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5610 (w32-charset-info-alist, x-last-selected, text)
5611 (x-get-selection-value, x-selection-value): Move here.
5612
5613 * w32-fns.el: Require w32-common-fns.
5614 (w32-version, w32-using-nt, w32-get-clipboard-data)
5615 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5616 (w32-charset-info-alist, x-last-selected, text)
5617 (x-get-selection-value, x-selection-value): Move to
5618 w32-common-fns.
5619
5620 * w32-vars.el:
5621 (w32-allow-system-shell, w32-system-shells): Define only in
5622 non-cygwin case.
5623
5624 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5627 (read-passwd): Remove a few more potential sources of leaks.
5628
5629 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5630
5631 * progmodes/python.el (inferior-python-mode)
5632 (python-shell-make-comint): Fix initialization of local
5633 variables copied from parent buffer.
5634
5635 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5636
5637 * term/ns-win.el (ns-read-file-name): Update declaration to match
5638 nsfns.m.
5639 (ns-respond-to-change-font): Change fontsize separately so we are sure
5640 it is set when font is acted upon.
5641
5642 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5643
5644 Enhancements to indentation.
5645 * progmodes/python.el (python-indent-context): Give priority to
5646 inside-string context. Make comments indentation markers.
5647 (python-indent-region): Do not mess with strings, unless it's the
5648 enclosing set of quotes.
5649
5650 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * window.el (internal--before-save-selected-window)
5653 (internal--after-save-selected-window): New functions extracted from
5654 save-selected-window. Make sure we return the `alist' we construct.
5655 (save-selected-window): Use them.
5656
5657 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5658 Use with-selected-window.
5659
5660 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5661 forms that define macros (bug#12593).
5662
5663 2012-10-07 Kenichi Handa <handa@gnu.org>
5664
5665 * international/mule-conf.el (compound-text-with-extensions):
5666 Add :mime-charset property as x-ctext.
5667
5668 2012-10-07 Stefan Merten <smerten@oekonux.de>
5669
5670 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5671 (rst-indent-literal-normal, rst-indent-literal-minimized)
5672 (rst-indent-comment): Correct :version tag.
5673 (rst-official-cvs-rev): Correct version string.
5674
5675 2012-10-07 Glenn Morris <rgm@gnu.org>
5676
5677 * mail/rmailmm.el (rmail-mime-process-multipart):
5678 Do not confuse a multipart message with an epilogue
5679 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5680
5681 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5682
5683 Fix shell output retrieval and comint-prompt-regexp init.
5684 * progmodes/python.el (inferior-python-mode):
5685 (python-shell-make-comint): Fix initialization of
5686 comint-prompt-regexp from copied file local variables.
5687 (python-shell-fetched-lines): Remove var.
5688 (python-shell-output-filter-in-progress): Rename from
5689 python-shell-fetch-lines-in-progress.
5690 (python-shell-output-filter-buffer): Rename from
5691 python-shell-fetch-lines-string.
5692 (python-shell-fetch-lines-filter): Delete function.
5693 (python-shell-output-filter): New function.
5694 (python-shell-send-string-no-output): Use them.
5695
5696 2012-10-07 Glenn Morris <rgm@gnu.org>
5697
5698 * hi-lock.el (hi-lock-process-phrase):
5699 Try to make it less fragile. (Bug#7161)
5700
5701 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5702
5703 2012-10-06 Glenn Morris <rgm@gnu.org>
5704
5705 * ehelp.el (electric-help-mode): Use help-mode rather than
5706 non-existent mode `help'.
5707 (electric-help-map): Use button-buffer-map. (Bug#10917)
5708
5709 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5710 (reftex-create-bibtex-footer): Fix custom types.
5711
5712 * progmodes/sh-script.el (sh-indent-after-continuation):
5713 Add explicit :group.
5714
5715 * textmodes/rst.el (rst-preferred-decorations)
5716 (rst-shift-basic-offset): Clarify obsolescence versions.
5717
5718 * profiler.el (profiler): Add missing group :version tag.
5719 * avoid.el (mouse-avoidance-banish-position):
5720 * proced.el (proced-renice-command):
5721 * calc/calc.el (calc-ensure-consistent-units):
5722 * calendar/icalendar.el (icalendar-import-format-uid):
5723 * net/tramp.el (tramp-save-ad-hoc-proxies):
5724 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5725 * progmodes/flymake.el (flymake-error-bitmap)
5726 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5727 * progmodes/sh-script.el (sh-indent-after-continuation):
5728 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5729 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5730 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5731 (vhdl-array-index-record-field-in-sensitivity-list)
5732 (vhdl-indent-comment-like-next-code-line):
5733 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5734 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5735 (reftex-cite-key-separator, reftex-create-bibtex-header)
5736 (reftex-create-bibtex-footer):
5737 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5738 (rst-indent-literal-normal, rst-indent-literal-minimized)
5739 (rst-indent-comment): Add missing custom :version tags.
5740
5741 * calendar/timeclock.el (timeclock-modeline-display):
5742 Add missing obsolete alias for renamed user option.
5743
5744 * strokes.el (strokes-modeline-string):
5745 * emulation/crisp.el (crisp-mode-modeline-string):
5746 * eshell/esh-mode.el (eshell-status-in-modeline):
5747 Aliases to defcustoms must come before the defcustom.
5748
5749 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5750 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5751 (cal-tex-cursor-week-monday): Doc fixes.
5752 (cal-tex-cursor-week2-summary): Doc fix.
5753 Rename from cal-tex-cursor-week-at-a-glance.
5754
5755 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5756 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5757
5758 * calendar/calendar.el (calendar-mode-map):
5759 Add cal-tex-cursor-week2-summary.
5760
5761 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5764
5765 * subr.el (read-passwd-map): New var.
5766 (read-passwd): Use `read-string' again.
5767 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5768
5769 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5770
5771 * register.el (append-to-register, prepend-to-register):
5772 Deactivate mark, as does `copy-to-register' (bug#12389).
5773
5774 2012-10-06 Chong Yidong <cyd@gnu.org>
5775
5776 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5777
5778 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5779
5780 * international/characters.el: Fix simple mistake ((car chars) ->
5781 elt), delete duplicated code.
5782
5783 2012-10-06 Glenn Morris <rgm@gnu.org>
5784
5785 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5786
5787 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5788
5789 * color.el (color-hsl-to-rgb): Fix incorrect results for
5790 small and large hue values. (Bug#12559)
5791
5792 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5793
5794 Enhancements to docstring formatting when filling paragraphs.
5795 * progmodes/python.el (python-fill-docstring-style): Rename from
5796 python-fill-string-style. Added new style.
5797 (python-fill-string): Use new style. Better checks for
5798 docstrings.
5799
5800 2012-10-05 Glenn Morris <rgm@gnu.org>
5801
5802 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5803
5804 * color.el (color-name-to-rgb, color-rgb-to-hex)
5805 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5806 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5807 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5808 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5809
5810 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5811
5812 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5815 to get the correct size across symlinks.
5816
5817 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5818
5819 2012-10-04 Juri Linkov <juri@jurta.org>
5820
5821 * replace.el (query-replace-interactive): Declare obsolete.
5822 (query-replace-read-from): Add the last incremental search string
5823 to the list of default values accessible via M-n.
5824 (map-query-replace-regexp): Use `read-regexp'.
5825 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5826 (map-query-replace-regexp, replace-string, replace-regexp):
5827 Fix docstrings to replace mentions of `query-replace-interactive'
5828 with alternatives. (Bug#12526)
5829
5830 2012-10-04 Juri Linkov <juri@jurta.org>
5831
5832 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5833 (dired-pop-to-buffer): Declare obsolete.
5834 (dired-mark-pop-up): Doc fix.
5835
5836 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5837
5838 Allow user to set docstring style for fill-paragraph.
5839 * progmodes/python.el
5840 (python-fill-comment-function, python-fill-string-function)
5841 (python-fill-decorator-function, python-fill-paren-function):
5842 Remove :safe for defcustoms.
5843 (python-fill-string-style): New defcustom
5844 (python-fill-paragraph-function): Enhance context detection.
5845 (python-fill-string): Honor python-fill-string-style settings.
5846
5847 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5848
5849 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5850 after setting its buffer (Bug#10805).
5851
5852 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5853
5854 Fix cornercase for string syntax.
5855 * progmodes/python.el (python-syntax-propertize-function):
5856 Simplify and enhance the regexp for unescaped quotes. Now it also
5857 matches quotes in weird situations like the single quote in
5858 "something\"'".
5859 (python-syntax-stringify): Simplify num-quotes detecting code.
5860
5861 2012-10-03 Glenn Morris <rgm@gnu.org>
5862
5863 * help-macro.el (three-step-help):
5864 Revert 2012-09-29 change. (Bug#12567)
5865
5866 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5867
5868 * menu-bar.el (kill-this-buffer): Don't do anything when
5869 `menu-frame' is not alive or visible (Bug#8184).
5870
5871 * emacs-lisp/debug.el (debug): When quitting the debugger window
5872 restore current buffer (Bug#12502).
5873
5874 2012-10-02 Chong Yidong <cyd@gnu.org>
5875
5876 * progmodes/hideif.el (hif-lookup, hif-defined):
5877 Handle semantic-c-takeover-hideif.
5878
5879 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5880
5881 Change sampling interval units from ms to ns.
5882 * profiler.el (profiler-sampling-interval): Change units
5883 from ms to ns, multiplying the default by 1000000 so that
5884 it remains 1 ms.
5885 (profiler-report-cpu-line-format): Give enough room for
5886 the maximum counters on 64-bit hosts.
5887 (profiler-report-render-calltree-1): Call them "CPU samples",
5888 not "Time (ms)", since they are not milliseconds now (and
5889 never really were).
5890
5891 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5892
5893 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5894 Fix querying BBDB for entries without a last name (Bug#11580).
5895
5896 2012-10-02 Chong Yidong <cyd@gnu.org>
5897
5898 * emacs-lisp/eieio.el: Restore Version header.
5899
5900 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * vc/diff-mode.el (diff--auto-refine-data): New var.
5903 (diff-hunk): Use it to delay refinement.
5904 (diff-mode): Remove overlays when we turn off font-lock.
5905
5906 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5907 (table-initialize-table-fixed-width-mode)
5908 (table-set-table-fixed-width-mode): Remove functions.
5909 (table-command-list): Move initialization into declaration.
5910 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5911 (table-with-cache-buffer): Use `declare'.
5912 (table-span-cell): Simplify via CSE.
5913 (table-fixed-width-mode): Use define-minor-mode.
5914 (table-call-interactively, table-funcall, table-apply): Remove.
5915 (table-function): New function, to replace them.
5916
5917 * bookmark.el (bookmark-search-pattern): Remove var.
5918 (bookmark-read-search-input): Remove function.
5919 (bookmark-bmenu-search): Reimplement using a minibuffer.
5920
5921 * faces.el (modeline): Remove obsolete face name.
5922
5923 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5924 and give a non-nil default value.
5925 (add-change-log-entry): Simplify accordingly.
5926
5927 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5928
5929 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5930 (vc-git-log-edit-toggle-amend): New function.
5931 (vc-git-log-edit-toggle-signoff): New function.
5932 (vc-git-log-edit-mode): New major mode.
5933 (vc-git-log-edit-mode-map): Keymap for it.
5934 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5935
5936 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5937 header names.
5938 (log-edit-toggle-header): New function.
5939 (log-edit-extract-headers): Accept function values in HEADERS alist.
5940
5941 2012-10-01 David Engster <deng@randomsample.de>
5942
5943 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5944 from symbol property and change message to be more consistent with
5945 Emacs proper.
5946 (eieio-describe-generic): Add filename for each implementation.
5947 Fix indices for generic and normal methods.
5948 (eieio-method-def, eieio-class-def): New buttons.
5949 (eieio-help-find-method-definition)
5950 (eieio-help-find-class-definition): New functions.
5951 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5952 class, constructor and method definitions.
5953
5954 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5955 information in symbol property.
5956 (scoped-class): Remove.
5957 (eieio-slot-name-index, call-next-method): Check if it is bound.
5958
5959 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5960
5961 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5962 (eieio-custom-mode): New major mode.
5963 (eieio-customize-object): Use it.
5964
5965 2012-10-01 Eric Ludlam <zappo@gnu.org>
5966
5967 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5968 specifying the expected class, and whether subclassing is allowed.
5969 (eieio-persistent-convert-list-to-object):
5970 (eieio-persistent-validate/fix-slot-value)
5971 (eieio-persistent-slot-type-is-class-p): New functions.
5972 (eieio-named::slot-missing): Doc fix.
5973
5974 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5975 Stop using unused publd variable.
5976
5977 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5978 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5979 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5980 (eieio-speedbar-handle-click): Do not specify a class for the
5981 method. Fixes method invocation order problems with EDE.
5982
5983 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5986 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5987
5988 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5989
5990 * bookmark.el (bookmark-version-control): Give tags in the
5991 :type choices (Bug#12309), and improve doc string.
5992 (bookmark-write-file): Bind `print-circle' to `t' to allow
5993 circular custom bookmark types. (Bug#12503)
5994
5995 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5996
5997 Revert the FOLLOW-SYMLINKS change for file-attributes.
5998 * files.el (remote-file-name-inhibit-cache, after-find-file):
5999 * time.el (display-time-file-nonempty-p): Undo last change.
6000
6001 * profiler.el (profiler-sampling-interval): Change default back to 1.
6002 See Stefan Monnier in
6003 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6004
6005 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6006
6007 Shell output catching a la gud-gdb.
6008 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6009 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6010 New Vars.
6011 (python-shell-fetch-lines-filter): New function.
6012 (python-shell-send-string-no-output): Use them.
6013
6014 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6015
6016 * profiler.el (profiler-sampling-interval): Rename from
6017 profiler-sample-interval.
6018 (profiler-sampling-interval): Default to 10.
6019 (profiler-find-profile): New command (was profiler-find-log).
6020 (profiler-find-profile-other-window): New command.
6021 (profiler-find-profile-other-frame): New command.
6022 (profiler-profile): Introduce API-level data structure.
6023
6024 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6025
6026 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6027 * files.el (remote-file-name-inhibit-cache):
6028 * time.el (display-time-file-nonempty-p): Use it.
6029 * files.el (after-find-file): Don't chase links before calling
6030 file-exists-p, as file-exists-p already does the right thing.
6031
6032 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6033
6034 Merge from standalone RefTeX repository.
6035
6036 The following ChangeLog entries are shortened versions of the
6037 original ones with file paths adapted. A not so strongly edited
6038 version of the original ChangeLog can be found in the commit log.
6039
6040 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6041 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6042 Correctly handle new value type returned by `reftex-citation'.
6043
6044 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6045 that entries with whitespace at various places are found.
6046 Doc fix. Include entries that are cross-referenced from cited entries.
6047 Include @String definitions in the resulting bib file. Add header
6048 and footer defined in `reftex-create-bibtex-header' and
6049 `reftex-create-bibtex-footer'.
6050 (reftex-do-citation): Make it possible again to insert
6051 non-existent entries. Save match data when asking for optional
6052 arguments. Return all keys, not just the first one.
6053 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6054 all citations in the same line.
6055 (reftex-parse-bibtex-entry): Accept additional optional argument
6056 `raw' and keep quotes or braces if it is non-nil. Match fields
6057 containing hyphens besides word constituents.
6058 (reftex-get-string-refs): New function.
6059 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6060 and ask if it should be reread in case it did.
6061 (reftex-pop-to-bibtex-entry)
6062 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6063 entries with spaces or tabs in front of arguments.
6064 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6065 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6066 Match entries containing numbers and symbol constituents.
6067 (reftex-do-citation, reftex-figure-out-cite-format):
6068 Use `reftex-cite-key-separator'.
6069
6070 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6071 (reftex-mouse-view-crossref): Explain why point is set.
6072
6073 * textmodes/reftex-global.el: Whitespace changes.
6074
6075 * textmodes/reftex-index.el: Move provide statement to end of
6076 file.
6077 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6078 (reftex-index-visit-phrases-buffer): Set marker when visiting
6079 buffer. This allows for returning from the phrases file to the
6080 file one was just editing instead of the file where the last
6081 phrases was added from.
6082 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6083 punctuation syntax as it usually is not used as string quote in
6084 TeX-related modes and may occur unmatched. The change also
6085 prevents fontification of quoted content.
6086 (reftex-index-phrases-mode): Use it.
6087
6088 * textmodes/reftex-parse.el (reftex-parse-from-file):
6089 Move backward one char if a `\' was matched after a section macro.
6090 (reftex-parse-from-file): Use beginning of match instead of end as
6091 bound.
6092
6093 * textmodes/reftex-ref.el: Adapt creation of
6094 `reftex-<package>-<macro>' functions to new structure of
6095 `reftex-ref-style-alist'.
6096 (reftex-reference): Use `reftex-ref-style-list' function.
6097 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6098 reference macro if `reftex-ref-macro-prompt' is non-nil.
6099 (reftex-reference): Pass refstyle to `reftex-format-special'.
6100 Determine reference macro by looking at
6101 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6102 Use only one special format function.
6103 (reftex-varioref-vref, reftex-fancyref-fref)
6104 (reftex-fancyref-Fref): Remove definitions. The functions are now
6105 generated from `reftex-ref-style-alist'.
6106 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6107 Remove.
6108 (reftex-format-special): New function.
6109
6110 * textmodes/reftex-sel.el
6111 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6112 of `reftex-ref-style-alist'. Remove code for testing macro type.
6113 (reftex-select-toggle-varioref)
6114 (reftex-select-toggle-fancyref): Remove.
6115 (reftex-select-cycle-ref-style-internal)
6116 (reftex-select-cycle-ref-style-forward)
6117 (reftex-select-cycle-ref-style-backward): New functions.
6118 (reftex-select-label-map): Use `v' and `V' for general cycling
6119 through reference styles. Add `p' for switching between number
6120 and page reference types.
6121
6122 * textmodes/reftex-toc.el (reftex-re-enlarge):
6123 Call `enlarge-window' only if there is something to do because in Emacs
6124 the horizontal version throws an error even if the parameter is 0.
6125
6126 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6127 (reftex-plug-into-AUCTeX): Doc fix.
6128 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6129 string. Adapt to new name.
6130 (reftex-ref-style-alist): Change structure so that it is not
6131 possible to use multiple different package names within a style.
6132 Remove the symbols for symbols for macro type distinction.
6133 Add characters for macro selection.
6134 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6135 (reftex-create-bibtex-footer): New variables.
6136 (reftex-format-ref-function): Mention third argument of special
6137 format function.
6138 (reftex-ref-style-alist, reftex-ref-style-default-list):
6139 New variables.
6140 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6141 to new implementation. Mark as obsolete. Add compatibility code
6142 for honoring the variable values in case they are set.
6143 (reftex-cite-format-builtin, reftex-bibliography-commands):
6144 Add support for ConTeXt.
6145 (reftex-format-ref-function, reftex-format-cite-function):
6146 Fix custom type.
6147 (reftex-cite-key-separator): New variable.
6148
6149 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6150 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6151 `reftex-syntax-table' because parens have to retain their paren
6152 syntax in order for parsing of BibTeX entries like @book(...) to
6153 work.
6154 (reftex-in-comment): Do not error out if `comment-start-skip' is
6155 not set. Deal correctly with escaped comment characters.
6156 (reftex-tie-multifile-symbols): Add doc string.
6157 Initialize `reftex-ref-style-list'.
6158 (reftex-untie-multifile-symbols): Add doc string.
6159 (reftex-add-index-macros): Doc fix.
6160 (reftex-ref-style-activate, reftex-ref-style-toggle)
6161 (reftex-ref-style-list): New functions.
6162 (reftex-mode-menu): Use them. Adapt to new structure of
6163 `reftex-ref-style-alist'.
6164 (reftex-select-with-char): Kill the RefTeX Select buffer when
6165 done.
6166 (reftex-remove-if): New function.
6167 (reftex-erase-all-selection-and-index-buffers)
6168 (reftex-mode-menu): Reference styles are now computed from
6169 `reftex-ref-style-alist'. Fix typo.
6170 (reftex-report-bug): New function.
6171 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6172 algorithms with O(n log n). Introduce optional argument SORT (not
6173 yet used).
6174
6175 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6176
6177 Enhancements for triple-quote string syntax.
6178 * progmodes/python.el (python-syntax-propertize-function):
6179 Match both quote cases in one regexp.
6180 (python-syntax-stringify): Handle matches properly.
6181
6182 2012-09-30 Juri Linkov <juri@jurta.org>
6183
6184 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6185 to nil around the call to `insert' to prevent
6186 directory time modification by lock_file. (Bug#2295)
6187 * tar-mode.el (tar-summarize-buffer): Idem.
6188
6189 2012-09-30 Juri Linkov <juri@jurta.org>
6190
6191 * facemenu.el (list-colors-sort): Add option "Luminance".
6192 (list-colors-sort-key): Implement it.
6193
6194 * vc/diff-mode.el (diff-refine-removed):
6195 * vc/ediff-init.el (ediff-fine-diff-A):
6196 * vc/smerge-mode.el (smerge-refined-removed):
6197 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6198
6199 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6200
6201 * term/ns-win.el (x-file-dialog): New function.
6202
6203 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6204
6205 * ido.el (ido-max-directory-size): Default to nil; the current
6206 default is small for POSIX systems, and impractical on Windows 7
6207 now that lstat returns directory sizes for NTFS.
6208
6209 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6210
6211 In buffer display functions handle window-height/window-width
6212 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6213 * window.el (window--display-buffer): New argument ALIST.
6214 Obey window-height and window-width alist entries.
6215 (window--try-to-split-window): New argument ALIST.
6216 Bind window-combination-limit to t when the window's size shall be
6217 changed and window-combination-limit equals `window-size'.
6218 (display-buffer-in-atom-window)
6219 (display-buffer-in-major-side-window)
6220 (display-buffer-in-side-window, display-buffer-same-window)
6221 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6222 (display-buffer-pop-up-window, display-buffer-below-selected)
6223 (display-buffer-at-bottom, display-buffer-in-previous-window)
6224 (display-buffer-use-some-window): Adjust all callers of
6225 window--display-buffer and window--try-to-split-window.
6226 (fit-frame-to-buffer): New option.
6227 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6228 is non-nil.
6229 (display-buffer-in-major-side-window): Evaluate window-height /
6230 window-width alist entries.
6231
6232 * help.el (temp-buffer-resize-frames)
6233 (temp-buffer-resize-regexps): Remove options.
6234 (temp-buffer-resize-mode): Adjust doc-string.
6235 (resize-temp-buffer-window): Don't consult
6236 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6237 temp-buffer-resize-frames.
6238
6239 * dired.el (dired-mark-pop-up):
6240 Call display-buffer-below-selected with a fit-window-to-buffer alist
6241 entry.
6242
6243 2012-09-30 Chong Yidong <cyd@gnu.org>
6244
6245 * server.el (server-host): Document the security implications.
6246 (server-auth-key): Doc fix.
6247
6248 * startup.el (initial-buffer-choice): Doc fix.
6249
6250 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6251
6252 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6253 restriction change.
6254
6255 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6256
6257 * help-fns.el (help-fns--obsolete): Fix last change.
6258
6259 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6262 (minor-mode-map-alist): Remove redundant code.
6263
6264 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6265 visited in a buffer.
6266 (cvs-insert-visited-file): New function.
6267 (find-file-hook): Use it.
6268
6269 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6270
6271 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6272 chose face.
6273 (log-edit-empty-buffer-p): Don't require a space after a header.
6274
6275 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6276
6277 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6278
6279 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6280 a proper minor-mode.
6281
6282 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6283
6284 2012-09-29 Glenn Morris <rgm@gnu.org>
6285
6286 * winner.el (winner-mode): Remove variable (let define-minor-mode
6287 handle it).
6288 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6289 Doc fixes.
6290 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6291 (winner-mode): Use define-minor-mode.
6292
6293 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6294 the full definition in loaddefs, rather than duplicating it.
6295
6296 * help-macro.el (three-step-help): No need to autoload defcustom.
6297
6298 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6299 (inferior-lisp-program, inferior-lisp-load-command)
6300 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6301 No need to autoload defcustoms.
6302
6303 * hippie-exp.el (hippie-expand-try-functions-list)
6304 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6305 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6306 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6307 (hippie-expand-only-buffers): No need to autoload defcustoms.
6308 * progmodes/vhdl-mode.el (vhdl-line-expand):
6309 Explicitly load hippie-exp, so it does not get autoloaded
6310 while hippie-expand-try-functions-list is let-bound.
6311
6312 2012-09-28 Glenn Morris <rgm@gnu.org>
6313
6314 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6315
6316 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6317 Only "cl.el" counts as cl these days.
6318
6319 2012-09-28 Juri Linkov <juri@jurta.org>
6320
6321 Display archive errors in the echo area instead of inserting
6322 to the file buffer.
6323
6324 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6325 to STDERR-TEST that can be a regexp matching a successful output.
6326 Create a temporary file and redirect stderr to it. Search for
6327 STDERR-TEST in the stderr output and display it in the echo area
6328 if no match is found.
6329 (archive-extract-by-file): New function like
6330 `archive-extract-by-stdout' but extracting archives to files
6331 and looking for successful matches in stdout. Function body is
6332 mostly copied from `archive-rar-extract'.
6333 (archive-rar-extract): Use `archive-extract-by-file'.
6334 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6335
6336 2012-09-28 Leo Liu <sdl.web@gmail.com>
6337
6338 * pcomplete.el (pcomplete-show-completions):
6339 Use minibuffer-message to make pcomplete usable in minibuffer.
6340
6341 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6342
6343 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * type-break.el: Use lexical-binding.
6346 (type-break-mode): Use define-minor-mode.
6347
6348 * emacs-lisp/pcase.el (pcase--mark-used): New.
6349 (pcase--u1): Use it (bug#12512).
6350
6351 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6352 in load-history with the right file name.
6353
6354 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6355
6356 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6357 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6358 (doc-view-get-bounding-box): Make bounding box slicing work for
6359 ODF and DVI documents.
6360
6361 2012-09-28 Glenn Morris <rgm@gnu.org>
6362
6363 * type-break.el (type-break-mode, type-break-interval)
6364 (type-break-good-rest-interval, type-break-keystroke-threshold):
6365 No need to autoload.
6366 (type-break-good-rest-interval, type-break-keystroke-threshold):
6367 Add :set-after.
6368
6369 2012-09-28 Chong Yidong <cyd@gnu.org>
6370
6371 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6372 Add :version tag.
6373
6374 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6377
6378 2012-09-27 Glenn Morris <rgm@gnu.org>
6379
6380 * faces.el (x-display-name): Declare (for without-x builds).
6381
6382 * linum.el (linum-format): Don't autoload it. Improve :type.
6383
6384 * progmodes/tcl.el: Don't require outline when compiling.
6385 (outline-regexp, outline-level): Declare.
6386 * textmodes/sgml-mode.el: Don't require outline when compiling.
6387 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6388
6389 * term.el (term-ansi-reset):
6390 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6391
6392 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6393 files for RCS and SCCS. (Bug#9781)
6394
6395 2012-09-27 Chong Yidong <cyd@gnu.org>
6396
6397 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6398 change; value should be t.
6399
6400 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * image-mode.el: Use lexical-binding.
6403 (image-mode-winprops): Use t to stand for the window of
6404 a buffer that's not displayed.
6405 * doc-view.el (doc-view-new-window-function): Handle the new
6406 t in winprops.
6407 (doc-view-enlarge): Make it a real nop if the size is not changed.
6408 (doc-view-display): Handle the case where the buffer is not (yet?)
6409 displayed in any window.
6410 (doc-view-saved-settings): New var.
6411 (doc-view-mode): Use it.
6412 (doc-view-fallback-mode): Set it.
6413
6414 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6415 Set lexical-binding.
6416 (minibuffer-eldef-shorten-default): New var.
6417 (minibuffer-default-in-prompt-regexps): Use it for new default.
6418 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6419
6420 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6421
6422 * international/uni-bidi.el:
6423 * international/uni-category.el:
6424 * international/uni-name.el:
6425 * international/uni-numeric.el: Regenerate.
6426
6427 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6428 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * profiler.el: New file.
6431
6432 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6435 (testcover-reinstrument): Simplify with CSE.
6436
6437 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6438
6439 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6440
6441 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6442
6443 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6444 (verilog-auto-input, verilog-auto-insert-lisp)
6445 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6446 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6447 (verilog-auto-unused, verilog-auto-wire)
6448 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6449 newline. Reported by Andrew Jones.
6450 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6451 Reported by Brad Dobbie.
6452 (verilog-batch-delete-trailing-whitespace):
6453 Create verilog-batch-delete-trailing-whitespace.
6454 Reported by Brad Dobbie.
6455 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6456 parameters from another module. Reported by Dan Katz.
6457 (verilog-auto, verilog-auto-assign-modport)
6458 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6459 AUTOINOUTMODPORT for UVM interface module shell generation.
6460 Reported by Brad Dobbie.
6461 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6462 standard behavior.
6463 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6464 Reported by Matt Martin.
6465
6466 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6467
6468 * window.el (window--resize-child-windows): When resizing child
6469 windows proportionally, process them in reverse order to
6470 preserve the "when splitting a window the new one gets the odd
6471 line" behavior.
6472 (window--resize-root-window-vertically): When resizing the
6473 minibuffer window try to affect only windows at the bottom of the
6474 frame. (Bug#12419)
6475
6476 2012-09-25 Chong Yidong <cyd@gnu.org>
6477
6478 * subr.el (declare): Doc fix.
6479
6480 * help-fns.el (help-fns--obsolete): Handle macros properly.
6481
6482 2012-09-25 Chong Yidong <cyd@gnu.org>
6483
6484 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6485 this function obsolete.
6486
6487 * calendar/cal-x.el (calendar-two-frame-setup)
6488 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6489 * calendar/calendar.el (american-calendar, european-calendar)
6490 (calendar-for-loop):
6491 * comint.el (comint-dynamic-simple-complete)
6492 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6493 * desktop.el (desktop-load-default):
6494 * dired-x.el (dired-omit-here-always)
6495 (dired-hack-local-variables, dired-default-directory):
6496 * emacs-lisp/derived.el (derived-mode-class):
6497 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6498 * emacs-lock.el (toggle-emacs-lock):
6499 * epa.el (epa-display-verify-result):
6500 * epg.el (epg-sign-keys, epg-start-sign-keys)
6501 (epg-passphrase-callback-function):
6502 * eshell/esh-util.el (eshell-for):
6503 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6504 (eshell-add-to-window-buffer-names):
6505 * files.el (locate-file-completion):
6506 * imenu.el (imenu-example--create-c-index)
6507 (imenu-example--create-lisp-index)
6508 (imenu-example--lisp-extract-index-name)
6509 (imenu-example--name-and-position):
6510 * international/mule-cmds.el (princ-list):
6511 * international/mule-diag.el (decode-codepage-char):
6512 * international/mule-util.el (detect-coding-with-priority):
6513 * iswitchb.el (iswitchb-read-buffer):
6514 * mail/mailalias.el (mail-complete):
6515 * mail/sendmail.el (mail-sent-via):
6516 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6517 (mouse-major-mode-menu):
6518 * password-cache.el (password-read-and-add):
6519 * pcomplete.el (pcomplete-parse-comint-arguments):
6520 * progmodes/sh-script.el (sh-maybe-here-document):
6521 * replace.el (query-replace-regexp-eval):
6522 * savehist.el (savehist-load):
6523 * simple.el (choose-completion-delete-max-match):
6524 * term.el (term-dynamic-simple-complete):
6525 * vc/ediff-init.el (ediff-check-version):
6526 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6527 * vc/vc.el (vc-diff-switches-list):
6528 * view.el (view-return-to-alist-update): Likewise.
6529
6530 * subr.el (eval-next-after-load, makehash, insert-string)
6531 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6532 mark obsolete.
6533 (mode-line-inverse-video): Variable deleted.
6534
6535 * international/mule-util.el (string-to-sequence): Remove.
6536
6537 * calendar/calendar.el (calendar-version):
6538 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6539 (icalendar-convert-diary-to-ical):
6540 * cus-edit.el (custom-mode):
6541 * ansi-color.el (ansi-color-unfontify-region):
6542 * international/latin1-disp.el (latin1-char-displayable-p):
6543 * progmodes/cwarn.el (turn-on-cwarn-mode):
6544 * progmodes/which-func.el (which-func-update-1):
6545 Use define-obsolete-function-alias.
6546
6547 * net/newst-backend.el (newsticker-cache-filename):
6548 * net/newst-treeview.el (newsticker-groups-filename):
6549 Fix incorrect obsolescence declaration.
6550
6551 * allout.el (allout-passphrase-hint-string): Likewise.
6552 (allout-init): Use a declare form to mark obsolete.
6553
6554 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6555 this applies to functions.
6556
6557 * iswitchb.el (iswitchb-read-buffer): Move code of
6558 iswitchb-define-mode-map here, and delete that obsolete function.
6559
6560 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6561 font-lock-reference-face.
6562
6563 2012-09-25 Glenn Morris <rgm@gnu.org>
6564
6565 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6566 Doc fixes.
6567
6568 * eshell/em-term.el (eshell-term-name):
6569 Default to term-term-name. (Bug#12485)
6570
6571 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6572
6573 * progmodes/python.el (python-shell-send-buffer): Better handling
6574 of "if __name__ == '__main__':" conditionals when sending the buffer.
6575
6576 2012-09-24 Glenn Morris <rgm@gnu.org>
6577
6578 * eshell/esh-cmd.el (eshell-find-alias-function):
6579 Tighten up file-name regexp. (Bug#12499)
6580
6581 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6582
6583 Enhancements for triple-quote string syntax.
6584 * progmodes/python.el (python-quote-syntax): Remove.
6585 (python-syntax-propertize-function): New value.
6586 (python-syntax-count-quotes, python-syntax-stringify):
6587 New functions.
6588
6589 2012-09-24 Chong Yidong <cyd@gnu.org>
6590
6591 * mail/supercite.el (sc-version): Remove obsolete function.
6592 (sc-describe): Don't mark as obsolete, since it is bound.
6593 (sc-submit-bug-report): Remove.
6594
6595 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6596 (cvs-commit-buffer-require-final-newline): Remove.
6597 (log-edit-require-final-newline)
6598 (log-edit-changelog-full-paragraphs): Default to t.
6599
6600 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6601 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6602 * vc/vc.el (vc-checkout-carefully): Likewise.
6603
6604 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6605 (emerge-version): Remove.
6606
6607 * progmodes/compile.el (compile-internal): Remove.
6608 (compilation-parse-errors-function): Fix typo.
6609
6610 * international/mule.el (set-char-table-default): Remove.
6611 (set-coding-priority, make-coding-system, generic-char-p)
6612 (charset-list, charset-bytes, charset-id): Use declare to mark
6613 functions as obsolete.
6614
6615 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6616 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6617 * vc/vc-hooks.el (vc-default-registered): Don't use
6618 vc-master-templates.
6619
6620 * font-lock.el (font-lock-reference-face):
6621 Use define-obsolete-variable-alias.
6622
6623 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6624 * calendar/calendar.el (calendar-font-lock-keywords):
6625 * calendar/diary-lib.el (diary-font-lock-keywords)
6626 (diary-fancy-font-lock-keywords):
6627 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6628 * textmodes/reftex-index.el (reftex-insert-index):
6629 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6630 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6631 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6632 * progmodes/prolog.el (prolog-font-lock-keywords):
6633 * progmodes/idlwave.el (idlwave-idl-keywords):
6634 * progmodes/ada-mode.el (ada-font-lock-keywords):
6635 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6636
6637 2012-09-24 Glenn Morris <rgm@gnu.org>
6638
6639 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6640
6641 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6642
6643 * progmodes/python.el (python-indent-line): More consistent cursor
6644 movement behavior.
6645
6646 2012-09-23 Stefan Merten <smerten@oekonux.de>
6647
6648 * textmodes/rst.el: Fix compiler warning.
6649
6650 2012-09-23 Roland Winkler <winkler@gnu.org>
6651
6652 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6653 Transcribe also LaTeX hyphenation.
6654 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6655 bibtex-reformat-previous-options.
6656
6657 2012-09-23 Roland Winkler <winkler@gnu.org>
6658
6659 * proced.el (proced-renice-command): New variable.
6660 (proced-marked-processes): New function.
6661 (proced-with-processes-buffer): New macro.
6662 (proced-send-signal): Use them.
6663 (proced-renice): New command bound to r.
6664
6665 2012-09-23 Roland Winkler <winkler@gnu.org>
6666
6667 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6668 ibuffer-saved-filter-groups has one element, shortcut the call of
6669 completing-read. (Bug#12331)
6670
6671 2012-09-23 Chong Yidong <cyd@gnu.org>
6672
6673 * bindings.el (mode-line-toggle-read-only):
6674 * bs.el (bs-toggle-readonly):
6675 * buff-menu.el (Buffer-menu-toggle-read-only):
6676 * dired.el (dired-toggle-read-only):
6677 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6678
6679 2012-09-23 Chong Yidong <cyd@gnu.org>
6680
6681 * image.el (image-type-available-p): Adapt to init-image-library
6682 argument changes.
6683
6684 2012-09-22 Juri Linkov <juri@jurta.org>
6685
6686 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6687 `dired-toggle-read-only'. (Bug#12462)
6688
6689 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6690
6691 * subr.el (temp-output-buffer-show): New function.
6692 (with-output-to-temp-buffer): Call temp-output-buffer-show
6693 instead of internal-temp-output-buffer-show.
6694
6695 2012-09-22 Chong Yidong <cyd@gnu.org>
6696
6697 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6698 (Bug#12462).
6699
6700 * repeat.el (repeat): Doc fix (Bug#12348).
6701
6702 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6703 (Bug#10909).
6704
6705 * simple.el (shell-command-on-region): Doc fix.
6706 (read-only-mode): Doc fix.
6707
6708 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6709
6710 * emacs-lisp/timer.el (run-with-idle-timer)
6711 (timer-activate-when-idle): Warn against reinvoking an idle timer
6712 from within its own timer action. (Bug#12447)
6713
6714 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6715
6716 * cus-start.el (window-combination-limit): Add new optional
6717 values.
6718 * window.el (temp-buffer-window-show)
6719 (window--try-to-split-window): Handle new values of
6720 window-combination-limit (Bug#1806).
6721 (split-window): Test window-combination-limit for t instead of
6722 non-nil.
6723 (display-buffer-at-bottom): New buffer display action function.
6724 * help.el (temp-buffer-resize-regexps): New option.
6725 (temp-buffer-resize-mode): Rewrite doc-string.
6726 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6727 Don't resize reused window. Suggested by Glenn Morris.
6728
6729 2012-09-22 Stefan Merten <smerten@oekonux.de>
6730
6731 * textmodes/rst.el: Revamp section title faces.
6732 (rst-official-version)
6733 (rst-package-emacs-version-alist): Sync with official version
6734 V1.4.0.
6735 (rst-faces-defaults, rst-set-level-default)
6736 (rst-level-face-max, rst-level-face-base-color)
6737 (rst-level-face-base-light, rst-level-face-format-light)
6738 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6739 (rst-adornment-faces-alist): Match new setup.
6740 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6741 (rst-level-5, rst-level-6): New faces.
6742
6743 2012-09-22 Chong Yidong <cyd@gnu.org>
6744
6745 * simple.el (undo): Handle indirect buffers (Bug#8207).
6746
6747 2012-09-21 Leo Liu <sdl.web@gmail.com>
6748
6749 IDO: Disable match re-ordering for buffer switching.
6750 * ido.el (ido-buffer-disable-smart-matches): New variable.
6751 (ido-set-matches-1): Use it. (Bug#2042)
6752
6753 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6754
6755 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6756 Fix 2011-05-17 change. (Bug#12418)
6757
6758 2012-09-21 Leo Liu <sdl.web@gmail.com>
6759
6760 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6761
6762 2012-09-21 Glenn Morris <rgm@gnu.org>
6763
6764 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6765 Be more robust about locating simple.el.
6766
6767 2012-09-21 Glenn Morris <rgm@gnu.org>
6768
6769 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6770
6771 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6772
6773 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6774
6775 2012-09-20 Juri Linkov <juri@jurta.org>
6776
6777 * replace.el (query-replace-read-from): Use `read-regexp' instead
6778 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6779 (occur-read-primary-args): Use `read-regexp' instead of
6780 `read-string'.
6781 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6782 `read-from-minibuffer'.
6783 * isearch.el (isearch-occur): Use `read-regexp' instead of
6784 `read-string'.
6785 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6786 `read-from-minibuffer'.
6787 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6788 of `read-string'. (Bug#7567)
6789
6790 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6791 and allow accepting a list of strings prepended to a list of
6792 standard default values. Doc fix. (Bug#12321)
6793
6794 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6795
6796 * replace.el (read-regexp): Don't add ": " when PROMPT already
6797 ends with a colon and space. (Bug#12321)
6798
6799 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6800
6801 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6802 error.
6803
6804 2012-09-20 Stefan Merten <smerten@oekonux.de>
6805
6806 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6807 Fixes feature request bug#11711.
6808 (rst-mode): Create `imenu-create-index-function'.
6809 (rst-get-stripped-line): Delete after refactoring.
6810 (rst-section-tree, rst-section-tree-rec)
6811 (rst-section-tree-point): Refactor and document properly.
6812 (rst-imenu-find-adornments-for-position)
6813 (rst-imenu-convert-cell, rst-imenu-create-index):
6814 New function.
6815
6816 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6819 (macroexp--expand-all): Use it.
6820 (macroexp--funcall-and-return): Remove by folding it into its sole
6821 caller (macroexp--warn-and-return).
6822 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6823 Use macroexp--obsolete-warning.
6824
6825 * calc/calc.el: Fix last change by removing the whole chunk, since it
6826 was only needed back when Calc was not bundled.
6827
6828 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6829
6830 * emacs-lisp/debug.el (debug): Restore assignment to
6831 debugger-old-buffer removed on 2012-09-08.
6832
6833 2012-09-20 Juri Linkov <juri@jurta.org>
6834
6835 * dired-aux.el (dired-diff): Remove (require 'diff) since
6836 `diff-latest-backup-file' is now autoloaded.
6837
6838 2012-09-20 Chong Yidong <cyd@gnu.org>
6839
6840 * vc/diff.el (diff-latest-backup-file): Autoload.
6841
6842 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * calc/calc.el: Remove redundant autoload shape check.
6845 (sel-mode): Don't defvar.
6846 (calc-get-stack-element): Add `sel-mode' arg instead.
6847 (calc-top, calc-top-list): Pass it this additional argument.
6848 * calc/calc-store.el (calc-store-map):
6849 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6850 (calc-map-equation, calc-outer-product, calc-inner-product):
6851 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6852
6853 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6854
6855 2012-09-19 Juri Linkov <juri@jurta.org>
6856
6857 * dired-aux.el (dired-diff): Add (require 'diff) because
6858 `diff-latest-backup-file' is not autoloaded.
6859 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6860 of `dired-get-filename' to t to not report error when there is
6861 no default file on the current line.
6862
6863 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6866 macroexp--eval-if-compile.
6867 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6868 (macroexp--expand-all): Use them (bug#12371).
6869
6870 * doc-view.el (doc-view-guess-paper-size)
6871 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6872
6873 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6874
6875 New feature: set optimal slice from BoundingBox information.
6876 * doc-view.el (doc-view-mode-map): Add keybinding.
6877 (doc-view-menu): Add menu entry.
6878 (doc-view-set-slice): Adapt docstring.
6879 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6880 (doc-view-scale-bounding-box)
6881 (doc-view-set-slice-from-bounding-box): New functions.
6882 (doc-view-paper-sizes): New defvar.
6883
6884 2012-09-19 Glenn Morris <rgm@gnu.org>
6885
6886 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6887 (byte-compile-log-warning): Autoload. (Bug#12371)
6888
6889 * calendar/calendar.el (calendar-american-month-header)
6890 (calendar-european-month-header, calendar-iso-month-header)
6891 (calendar-month-header): New options.
6892 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6893 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6894
6895 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6896
6897 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6898
6899 2012-09-18 Juri Linkov <juri@jurta.org>
6900
6901 * dired-aux.el (dired-diff): Restore original functionality of
6902 getting the default value, but keep new feature of using the
6903 latest existing backup file (`diff-latest-backup-file').
6904
6905 2012-09-18 Juri Linkov <juri@jurta.org>
6906
6907 * dired.el (dired-mark): If the region is active in Transient Mark
6908 mode, mark all files in the active region. Doc fix.
6909 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6910 Doc fix. (Bug#10624)
6911
6912 2012-09-18 Juri Linkov <juri@jurta.org>
6913
6914 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6915 attributes for M-n are pulled from the file at point.
6916 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6917 Suggested by Drew Adams. (Bug#10624)
6918
6919 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6920
6921 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6922 whitespace after "end".
6923 (ruby-do-end-to-brace): Collapse block to one line if it fits
6924 within fill-column.
6925
6926 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6927
6928 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6929 value.
6930 (debug): Don't remove debugger window when debugger is expected
6931 to be back.
6932
6933 2012-09-18 Chong Yidong <cyd@gnu.org>
6934
6935 * custom.el (defface): Doc fix.
6936
6937 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6938
6939 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6940
6941 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6942 to initialize query-on-exit; then test that instead (bug#12288).
6943
6944 2012-09-17 Stefan Merten <smerten@oekonux.de>
6945
6946 * textmodes/rst.el: Add support for `testcover'.
6947 (rst-defcustom-testcover, rst-testcover-add-compose)
6948 (rst-testcover-add-1value): New functions.
6949 (rst-portable-mark-active-p): Replace by `use-region-p'.
6950 (rst-update-section, rst-classify-adornment)
6951 (rst-find-title-line): Mark `1value' forms.
6952 (rst-classify-adornment): Remove superfluous form.
6953 (rst-update-section, rst-get-adornments-around)
6954 (rst-adornment-complete-p, rst-get-next-adornment)
6955 (rst-adjust, rst-promote-region)
6956 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6957 (rst-find-pfx-in-region, rst-section-tree-rec)
6958 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6959 (rst-toc-node, rst-toc, rst-forward-section)
6960 (rst-iterate-leftmost-paragraphs)
6961 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6962 (rst-bullet-list-region)
6963 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6964 (rst-compile-find-conf, rst-compile)
6965 (rst-repeat-last-character): Fix style.
6966
6967 2012-09-17 Chong Yidong <cyd@gnu.org>
6968
6969 * comint.el (comint--complete-file-name-data): Don't add a space
6970 if the status is `sole'; that adds a gratuitous space in the
6971 completion-cycling case (Bug#12092).
6972
6973 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6974
6975 2012-09-17 Richard Stallman <rms@gnu.org>
6976
6977 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6978 only in the mime-shown mode, not in raw mode.
6979 (rmail-mime): Toggle off mime by displaying the message without
6980 mime processing. (Bug#12305)
6981
6982 * mail/rmail.el (rmail-retry-failure):
6983 Turn off mime processing first. (Bug#12037)
6984
6985 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6986
6987 2012-09-17 Chong Yidong <cyd@gnu.org>
6988
6989 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6990 (shell-dynamic-complete-functions): Convert to defcustom.
6991 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6992
6993 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6994 * comint.el (comint-prompt-read-only):
6995 * custom.el (defcustom):
6996 * hi-lock.el (hi-lock-mode):
6997 * ibuffer.el (ibuffer-formats):
6998 * ielm.el (ielm-prompt-read-only):
6999 * novice.el (disable-command):
7000 * saveplace.el (toggle-save-place):
7001 * speedbar.el (speedbar-supported-extension-expressions):
7002 * startup.el (auto-save-list-file-prefix, init-file-user)
7003 (after-init-hook, inhibit-startup-echo-area-message):
7004 * strokes.el (strokes-help):
7005 * time-stamp.el (time-stamp):
7006 * calendar/calendar.el (calendar, diary-file):
7007 * calendar/diary-lib.el (diary-mail-entries, diary)
7008 (diary-list-entries-hook):
7009 * calendar/holidays.el (holidays, calendar-holidays):
7010 * calendar/lunar.el (lunar-phases):
7011 * calendar/solar.el (sunrise-sunset):
7012 * emulation/edt.el (edt-load-keys):
7013 * emulation/viper.el (viper-mode):
7014 * eshell/em-alias.el (eshell-command-aliases-list):
7015 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7016 * international/ogonek.el (ogonek-information):
7017 * net/tramp-cmds.el (tramp-bug):
7018 * net/quickurl.el (quickurl-reread-hook-postfix):
7019 * play/decipher.el (decipher-font-lock-keywords):
7020 * progmodes/cc-styles.el (c-set-style):
7021 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7022 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7023 * progmodes/octave-mod.el (octave-mode):
7024 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7025 * progmodes/verilog-mode.el (verilog-read-defines):
7026 * textmodes/two-column.el (2C-mode): Likewise.
7027
7028 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7029
7030 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7031 that holds many addresses.
7032
7033 2012-09-16 Chong Yidong <cyd@gnu.org>
7034
7035 * align.el (align-areas): Call the indication function with
7036 positions instead of markers for arguments (Bug#12343).
7037
7038 * files.el (parse-colon-path): Use split-string (Bug#12351).
7039
7040 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7041 (display-buffer-function): Mark as obsolete.
7042
7043 * progmodes/compile.el (compilation-parse-errors): Accept list
7044 values similar to font-lock-keywords (Bug#12136).
7045 Suggested by Oleksandr Manzyuk.
7046 (compilation-error-regexp-alist): Doc fix.
7047
7048 2012-09-15 Glenn Morris <rgm@gnu.org>
7049
7050 * version.el (emacs-bzr-version-bzr): New function.
7051 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7052
7053 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7054 checkouts, check the parent dirstate matches the branch.
7055 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7056 empty string.
7057
7058 * version.el (emacs-bzr-version): Doc fix.
7059 (emacs-bzr-version-dirstate): New function.
7060 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7061 is local try and check that it matches the branch. If not, just
7062 use dirstate information. (Bug#12441)
7063
7064 2012-09-14 Juri Linkov <juri@jurta.org>
7065
7066 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7067 (Bug#12399)
7068
7069 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7072
7073 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7074 Remove obsolete byte-compiler hack that tried to silence some warnings.
7075 (edebug-submit-bug-report): Remove.
7076 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7077 Remove aliases, use the un-prefixed name instead.
7078 (edebug-pop-to-buffer): Consider other frames.
7079 (edebug-original-read):: Make it more obvious that it's always defined.
7080 (edebug--make-form-data-entry, edebug--form-data-name)
7081 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7082 single-dashed name, and implement with cl-defstruct.
7083 (edebug-set-form-data-entry): Use the standard accessors.
7084 (edebug-make-top-form-data-entry): Use push.
7085 (edebug-no-match): Drop useless `funcall'.
7086 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7087 to functions.
7088 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7089 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7090 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7091 (easy-menu-define, with-custom-print): Remove redundant specs.
7092 (edebug-outside-overriding-local-map)
7093 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7094 (edebug--display): Bind unread-command-events directly to nil rather
7095 than binding it to unread-command-events and later setting it to nil.
7096 (edebug--display): Kill edebug-eval-buffer here...
7097 (edebug--recursive-edit): ...rather than here.
7098 Bind standard-output and standard-input.
7099 (edebug-eval): Check cl-macroexpand-all is fboundp.
7100 (edebug-temp-display-freq-count): Fix last change.
7101
7102 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7103 * subr.el (noreturn, 1value): Add `debug' spec.
7104 * emacs-lisp/advice.el: Require cl-lib.
7105 (ad-copy-tree): Remove, use copy-tree instead.
7106 (ad-dolist): Remove use dolist or cl-dolist instead.
7107 (ad-do-return): Remove, use cl-return instead.
7108 (defadvice): Add `debug' spec.
7109
7110 2012-09-13 Juri Linkov <juri@jurta.org>
7111
7112 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7113 (Bug#12399)
7114
7115 2012-09-13 Glenn Morris <rgm@gnu.org>
7116
7117 * calc/calc.el (math-compose-expr):
7118 * calc/calc-ext.el (math-compose-expr):
7119 * progmodes/cc-defs.el (cl-macroexpand-all):
7120 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7121 (cl-macroexpand-all): Update declarations.
7122
7123 * vc/vc.el: No need to require ediff.
7124 (ediff-load-version-control): Declare.
7125 (ediff-vc-internal): Fix declaration.
7126 (vc-version-ediff): Require ediff.
7127
7128 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7129
7130 Use a more backwards-compatible timer format (Bug#12430).
7131 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7132 being right after USECS, as that better supports old code that
7133 inadvisedly looked directly at the timer vector.
7134
7135 2012-09-13 Kenichi Handa <handa@gnu.org>
7136
7137 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7138 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7139 `coding-priority' property of these language environment.
7140
7141 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7142
7143 Fix glitches caused by addition of psec to timers (Bug#12430).
7144 * image.el (image-animate-timer):
7145 * time.el (display-time-world-timer):
7146 Use timer--function and timer--args rather than raw access to
7147 timer vector.
7148
7149 2012-09-13 Glenn Morris <rgm@gnu.org>
7150
7151 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7152 If not compiling a file, try using load-file-name.
7153
7154 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7157 Fix last change.
7158 (edebug-update-eval-list): Use `push'.
7159
7160 * emacs-lisp/edebug.el: Use lexical-binding.
7161 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7162 Mark unused args with underscore.
7163 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7164 (edebug-form-data): Use defvar-local.
7165 (edebug-make-before-and-after-form, edebug-make-after-form):
7166 Use backquote.
7167 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7168 Not dynamically scoped any more.
7169 (edebug--enter-trace): Add arguments `function' and `args'.
7170 Rename from edebug-enter-trace.
7171 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7172 (edebug--update-coverage): Add `after-index' and `value' args.
7173 Rename from edebug-update-coverage.
7174 (edebug-slow-after): Call it accordingly.
7175 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7176 edebug-recursive-edit.
7177 (edebug--display): Call it accordingly. Add args `value',
7178 `offset-index', and `arg-mode'. Rename from edebug-display.
7179 (edebug-debugger, edebug): Call it accordingly.
7180 (edebug-eval-display-list): Use dolist.
7181
7182 2012-09-12 Juri Linkov <juri@jurta.org>
7183
7184 * info.el (Info-search): Don't check for isearch-mode and
7185 isearch-regexp before let-binding search-spaces-regexp to
7186 Info-search-whitespace-regexp.
7187 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7188 search-whitespace-regexp if isearch-lax-whitespace or
7189 isearch-regexp-lax-whitespace is non-nil.
7190 (Info-mode): Don't set local variable search-whitespace-regexp.
7191 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7192
7193 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7196 (debugger-env-macro): Remove support for unread-command-char.
7197
7198 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7199 the temporary map re-appearing on emulation-mode-map-alists.
7200
7201 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7202 since 22.1.
7203
7204 * ehelp.el (with-electric-help): Accept functions in
7205 electric-help-form-to-execute.
7206 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7207 And replace unread-command-char -> unread-command-events.
7208
7209 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7210
7211 Sync with Tramp 2.2.6.
7212
7213 * net/tramp.el (tramp-accept-process-output): Don't use
7214 JUST-THIS-ONE in the XEmacs case.
7215
7216 * net/trampver.el: Update release number.
7217
7218 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7219
7220 * emacs-lisp/debug.el (debugger-previous-window-height):
7221 New variable.
7222 (debug): When debugger-jumping-flag is non-nil try to restore
7223 height of debugger window. (Bug#8789)
7224
7225 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7228 overriding-local-map and pre/post-command-hook here.
7229 (edebug-recursive-edit): Do it here instead (bug#12345).
7230 (edebug-outside-unread-command-char): Remove all uses of
7231 unread-command-char.
7232
7233 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7234 inhibit-debugger is bound instead.
7235
7236 2012-09-11 Bastien Guerry <bzg@gnu.org>
7237
7238 * subr.el (set-temporary-overlay-map): Add a docstring.
7239 (Bug#12346)
7240
7241 2012-09-11 Bastien Guerry <bzg@gnu.org>
7242
7243 * minibuffer.el (completion-table-subvert): Fix docstring.
7244 (Bug#12347)
7245
7246 2012-09-11 Bastien Guerry <bzg@gnu.org>
7247
7248 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7249
7250 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7251
7252 * progmodes/sql.el: Version 3.1
7253 (sql-db2-escape-newlines): New variable.
7254 (sql-escape-newlines-filter): Use it.
7255
7256 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7257
7258 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7259
7260 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7261
7262 * vc/diff-mode.el (diff-mode-menu):
7263 Bind diff-remove-trailing-whitespace.
7264
7265 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7268 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7269 (emacs-lisp-byte-code-mode): New functions.
7270 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7271 (eval-defun-2): Remove bogus interactive spec.
7272 (lisp-indent-line): Remove redundant whole-exp code, now done in
7273 indent-according-to-mode.
7274 (save-match-data): Remove redundant indent data.
7275
7276 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7277 Use `declare'.
7278
7279 2012-09-09 Juri Linkov <juri@jurta.org>
7280
7281 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7282 (replace-lax-whitespace, query-replace-regexp)
7283 (query-replace-regexp-eval, replace-regexp): Doc fix.
7284 (perform-replace, replace-highlight): Let-bind
7285 isearch-lax-whitespace to replace-lax-whitespace and
7286 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7287
7288 * isearch.el (isearch-query-replace): Let-bind
7289 replace-lax-whitespace to isearch-lax-whitespace and
7290 replace-regexp-lax-whitespace to
7291 isearch-regexp-lax-whitespace. (Bug#10885)
7292
7293 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7296
7297 2012-09-09 Alan Mackenzie <acm@muc.de>
7298
7299 * progmodes/cc-engine.el (c-state-cache-init):
7300 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7301 (c-record-parse-state-state):
7302 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7303
7304 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7305
7306 * register.el (register-separator): Rename from
7307 separator-register. All uses changed. Doc fix.
7308 (register): Fix version.
7309
7310 2012-09-09 Chong Yidong <cyd@gnu.org>
7311
7312 * replace.el (query-replace-map): Bind four new symbols for
7313 requesting window scrolling.
7314
7315 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7316 query-replace-map (Bug#8948).
7317
7318 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7319
7320 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7321 since they are now in query-replace-map.
7322
7323 * window.el (scroll-other-window-down): Make the arg optional.
7324
7325 2012-09-09 Chong Yidong <cyd@gnu.org>
7326
7327 * files.el (hack-local-variables-confirm): Use quit-window to kill
7328 the *Local Variables* buffer.
7329
7330 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7331
7332 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7333 not just expect to be at its beginning. Adjust callees.
7334 Succeed when do-end block has no space before the pipe character.
7335 (ruby-brace-to-do-end): When the original block is one-liner,
7336 convert to multiline. Reindent the result.
7337
7338 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7339
7340 * register.el (register): New group.
7341 (separator-register): New user option.
7342 (increment-register): Route it to `append-to-register', if
7343 register contains text. Implication is that `C-x r +' can now be
7344 used for appending to a text register (bug#12217).
7345 (append-to-register, prepend-to-register): Add separator based on
7346 `separator-register'.
7347
7348 2012-09-08 Alan Mackenzie <acm@muc.de>
7349
7350 AWK Mode: make auto-newline work when there's "==" in the pattern.
7351 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7352 correctly.
7353 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7354 Test more rigorously for "=" token.
7355
7356 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7357
7358 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7359 Only fail when reached LIMIT.
7360
7361 2012-09-08 Chong Yidong <cyd@gnu.org>
7362
7363 * dired.el (dired-mode-map): Don't bind M-=.
7364
7365 * dired-aux.el (dired-diff): Use backup file as default.
7366
7367 2012-09-08 Drew Adams <drew.adams@oracle.com>
7368
7369 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7370
7371 2012-09-08 Chong Yidong <cyd@gnu.org>
7372
7373 * subr.el (syntax-after, syntax-class): Doc fix.
7374
7375 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7376
7377 * window.el (display-buffer-in-previous-window): New buffer
7378 display action function.
7379
7380 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7381 (debugger-previous-window): New variable.
7382 (debug): Rewrite using display-buffer-in-previous-window,
7383 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7384
7385 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7388
7389 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7390
7391 * progmodes/python.el (python-shell-send-string):
7392 When default-directory is remote, create temp file on remote
7393 filesystem.
7394 (python-shell-send-file): When file is remote, pass local view of
7395 file paths to remote Python interpreter. (Bug#12340)
7396
7397 2012-09-07 Chong Yidong <cyd@gnu.org>
7398
7399 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7400
7401 * files.el (after-find-file): Don't fail on a read-only buffer if
7402 require-final-newline is `visit' or `visit-save' (Bug#11156).
7403
7404 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7405
7406 * userlock.el (ask-user-about-supersession-threat):
7407 Use read-char-choice (Bug#12093).
7408
7409 2012-09-07 Chong Yidong <cyd@gnu.org>
7410
7411 * subr.el (buffer-narrowed-p): New function.
7412
7413 * ses.el (ses-widen):
7414 * simple.el (count-words--buffer-message):
7415 * net/browse-url.el (browse-url-of-buffer): Use it.
7416
7417 * simple.el (count-words-region): Don't signal an error if there
7418 is a non-nil prefix arg and the mark is not set.
7419
7420 * help.el (describe-key-briefly): Allow the message to be seen
7421 when invoked from the minibuffer (Bug#7014).
7422
7423 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7424
7425 * progmodes/ruby-mode.el (ruby-end-of-defun)
7426 (ruby-beginning-of-defun): Simplify, allow indentation before
7427 block beginning and end keywords.
7428 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7429 (ruby-end-of-defun): Expect that the point is at the beginning of
7430 the defun.
7431
7432 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7435 (bug#12367).
7436 (cl--make-usage-args): Strip _ from argument names.
7437
7438 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7439
7440 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7441 obsolete alias speedbar-key-map.
7442 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7443 (vhdl-index-menu-init): Don't use obsolete variable
7444 font-lock-maximum-size.
7445
7446 2012-09-06 Chong Yidong <cyd@gnu.org>
7447
7448 * frame.el (window-system-version): Mark as obsolete.
7449
7450 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7451 of obsolete variable speedbar-key-map.
7452
7453 2012-09-06 Juri Linkov <juri@jurta.org>
7454
7455 * replace.el (replace-lax-whitespace): New defcustom.
7456 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7457 (replace-string, replace-regexp): Mention it in docstrings.
7458 (perform-replace, replace-highlight): Let-bind
7459 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7460 to the values of replace-lax-whitespace and regexp-flag.
7461 Don't let-bind search-whitespace-regexp. (Bug#10885)
7462
7463 * isearch.el (isearch-query-replace): Let-bind
7464 replace-lax-whitespace instead of let-binding
7465 replace-search-function and replace-re-search-function.
7466 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7467 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7468 (isearch-toggle-symbol): Set isearch-regexp to nil
7469 in isearch-word mode (like in isearch-toggle-word).
7470
7471 2012-09-06 Juri Linkov <juri@jurta.org>
7472
7473 * replace.el (replace-search-function)
7474 (replace-re-search-function): Set default values to nil.
7475 (perform-replace): Let-bind isearch-related variables based on
7476 replace-related values, call `isearch-search-fun' and let-bind
7477 the result to `search-function'. Remove code that sets
7478 `search-function' and `search-string' separately for
7479 `delimited-flag'.
7480 (replace-highlight): Add new argument `delimited-flag' and
7481 rename other arguments to the names used in `perform-replace'.
7482 Let-bind `isearch-word' to the argument `delimited-flag'.
7483 (Bug#10885, bug#10887)
7484
7485 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7486
7487 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7488 ruby-beginning-of-indent, simplify, allow all keywords to have
7489 indentation before them.
7490 (ruby-beginning-of-indent): Adjust for above. Search until the
7491 found point is not inside a string or comment.
7492 (ruby-font-lock-keywords): Allow symbols to start with "@"
7493 character, give them higher priority than variables.
7494 (ruby-syntax-propertize-function)
7495 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7496 matchers. Expression expansions are not comments when inside a
7497 string, and there comment syntax status is irrelevant.
7498 (ruby-match-expression-expansion): New function. Check that
7499 expression expansion is inside a string, and it's not escaped.
7500 (ruby-font-lock-keywords): Use it.
7501
7502 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7503
7504 * help.el (temp-buffer-max-height): New default value.
7505 (temp-buffer-resize-frames): New option.
7506 (resize-temp-buffer-window): Optionally resize frame.
7507
7508 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7509 (fit-frame-to-buffer): New function.
7510
7511 2012-09-05 Glenn Morris <rgm@gnu.org>
7512
7513 * emulation/cua-rect.el (cua--init-rectangles):
7514 * textmodes/picture.el (picture-mode-map):
7515 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7516 like forward-char and backward-char. (Bug#12317)
7517
7518 2012-09-05 Leo Liu <sdl.web@gmail.com>
7519
7520 * progmodes/flymake.el (flymake-warning-re): New variable.
7521 (flymake-parse-line): Use it.
7522
7523 2012-09-05 Glenn Morris <rgm@gnu.org>
7524
7525 * calendar/holidays.el (holiday-christian-holidays):
7526 Rename an entry. (Bug#12289)
7527
7528 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7531 (bug#12222).
7532
7533 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * loadup.el: Load macroexp. Remove hack.
7536 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7537 (macroexp--expand-all): Use it to get better warnings.
7538 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7539 (internal-macroexpand-for-load): New functions.
7540 (macroexp--pending-eager-loads): New var.
7541 (emacs-startup-hook): New hack to replace one in loadup.el.
7542 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7543 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7544 (cl-psetf): Simplify.
7545 (cl-defstruct): Add indent rule.
7546
7547 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7548
7549 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7550 over `user-mail-address' for the SMTP MAIL FROM envelope.
7551 (smtpmail-via-smtp): Ditto.
7552
7553 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7554
7555 * progmodes/ruby-mode.el: Clean up keybindings.
7556 (ruby-mode-map): Don't bind ruby-electric-brace,
7557 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7558 backward-kill-word, reindent-then-newline-and-indent.
7559 (ruby-mark-defun): Remove.
7560 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7561 (ruby-mode): Set local beginning-of-defun-function and
7562 end-of-defun-function values.
7563
7564 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7565
7566 * window.el (temp-buffer-window-setup-hook)
7567 (temp-buffer-window-show-hook): New hooks.
7568 (temp-buffer-window-setup, temp-buffer-window-show)
7569 (with-temp-buffer-window): New functions.
7570 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7571 (special-display-popup-frame): Make sure the window used shows BUFFER.
7572
7573 * help.el (temp-buffer-resize-mode): Fix doc-string.
7574 (resize-temp-buffer-window): New optional argument WINDOW.
7575
7576 * files.el (recover-file, save-buffers-kill-emacs):
7577 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7578
7579 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7580
7581 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7582 remote definition of `default-directory', ensure we can connect.
7583
7584 2012-09-02 Juri Linkov <juri@jurta.org>
7585
7586 Toggle whitespace matching mode with M-s SPC.
7587 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7588
7589 * isearch.el (search-whitespace-regexp): Doc fix.
7590 Remove cons cell customization.
7591 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7592 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7593 New variables.
7594 (isearch-forward, isearch-forward-regexp): Doc fix.
7595 (isearch-toggle-lax-whitespace): New command.
7596 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7597 (re-search-forward-lax-whitespace)
7598 (re-search-backward-lax-whitespace): New functions.
7599 (isearch-whitespace-regexp): Remove function.
7600 (isearch-query-replace): Let-bind replace-search-function and
7601 replace-re-search-function.
7602 (isearch-occur): Let-bind search-spaces-regexp according to the
7603 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7604 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7605 condition for C-q SPC.
7606 (isearch-search-fun-default): Use new functions mentioned above.
7607 (isearch-search-forward, isearch-search-backward): Remove functions.
7608 (isearch-search): Don't let-bind search-spaces-regexp.
7609 (isearch-lazy-highlight-space-regexp): Remove variable.
7610 (isearch-lazy-highlight-lax-whitespace)
7611 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7612 (isearch-lazy-highlight-new-loop): Use them.
7613 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7614
7615 2012-09-02 Chong Yidong <cyd@gnu.org>
7616
7617 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7618
7619 2012-09-02 Glenn Morris <rgm@gnu.org>
7620
7621 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7622
7623 2012-09-01 Glenn Morris <rgm@gnu.org>
7624
7625 * term.el: Tidy up menu definitions.
7626 (term-mode-map): Use easymenu for In/Out, Complete menus.
7627 (term-pager-break-map): Initialize in the defvar.
7628 (term-terminal-menu, term-signals-menu): Define with easymenu.
7629 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7630 (term-pager-menu): New, extracted from term-process-pager.
7631 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7632 (term-update-mode-line): Propertize line/char and page items.
7633 (term-process-pager): Move keymap initialization elsewhere.
7634
7635 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7636
7637 * window.el (switch-to-prev-buffer): Handle additional values of
7638 BURY-OR-KILL argument. Don't switch in minibuffer window.
7639 (switch-to-next-buffer): Don't switch in minibuffer window.
7640 (quit-restore-window): New function based on quit-window.
7641 Handle additional values of former KILL argument.
7642 (quit-window): Call quit-restore-window with appropriate
7643 interpretation of KILL argument.
7644 (display-buffer-below-selected): New buffer display action
7645 function.
7646
7647 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7648
7649 * minibuffer.el (completion-at-point-functions): Complete docstring
7650 (bug#12254).
7651
7652 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7653
7654 Better seed support for (random).
7655 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7656 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7657 * play/mpuz.el, play/tetris.el, play/zone.el:
7658 * calc/calc-comb.el (math-init-random-base):
7659 * play/blackbox.el (bb-init-board):
7660 * play/life.el (life):
7661 * server.el (server-use-tcp):
7662 * type-break.el (type-break):
7663 Remove unnecessary call to (random t).
7664 * net/sasl.el (sasl-unique-id-function):
7665 Change (random t) to (random), now that the latter is more random.
7666 * play/life.el (life-initialized): Remove no-longer-needed var.
7667
7668 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7669
7670 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7671 Consider frame's buffer predicate when choosing the buffer.
7672 (Bug#12081)
7673
7674 2012-08-30 Richard Stallman <rms@gnu.org>
7675
7676 * simple.el (special-mode-map): Delete binding for `z'.
7677
7678 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7679
7680 * progmodes/compile.el (compilation-always-kill): Doc fix.
7681
7682 2012-08-30 Chong Yidong <cyd@gnu.org>
7683
7684 * window.el (display-buffer-reuse-frames): Make the obsolescence
7685 message more informative.
7686
7687 2012-08-30 Glenn Morris <rgm@gnu.org>
7688
7689 * paren.el (show-paren-delay):
7690 Add a :set function. Doc fix. (Bug#12297)
7691
7692 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7693
7694 * progmodes/compile.el (compilation-always-kill): New var.
7695 (compilation-start): Use it.
7696
7697 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7700 * files.el (read-only-mode): Move to simple.el.
7701
7702 * files.el (read-only-mode): New minor mode.
7703 (toggle-read-only): Use it and mark obsolete.
7704 (find-file--read-only):
7705 * vc/vc.el (vc-next-action, vc-checkout):
7706 * vc/vc-cvs.el (vc-cvs-checkout):
7707 * obsolete/vc-mcvs.el (vc-mcvs-update):
7708 * ffap.el (ffap--toggle-read-only): Update callers.
7709
7710 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7711
7712 * eshell/esh-ext.el (eshell-external-command): Do not examine
7713 remote shell scripts.
7714 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7715
7716 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7717 "/usr/local/sbin".
7718
7719 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7722
7723 2012-08-28 Leo Liu <sdl.web@gmail.com>
7724
7725 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7726 completion-at-point. (Bug#12220)
7727
7728 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7729
7730 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7731
7732 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7735 be buffer-local; add delete-trailing-whitespace (bug#12259).
7736
7737 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7738
7739 * progmodes/hideif.el (hif-compress-define-list):
7740 Fix typo. (Bug#11951)
7741
7742 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7743
7744 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7745 buffer local setting.
7746
7747 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7748 rcirc-encode-coding-system.
7749
7750 2012-08-28 Leo Liu <sdl.web@gmail.com>
7751
7752 * net/rcirc.el (rcirc-split-message): New function.
7753 (rcirc-send-message): Use it. (Bug#12051)
7754
7755 2012-08-28 Juri Linkov <juri@jurta.org>
7756
7757 * info.el (Info-fontify-node): Hide empty lines at the end of
7758 the node. (Bug#12272)
7759
7760 2012-08-27 Drew Adams <drew.adams@oracle.com>
7761
7762 * dired.el (dired-pop-to-buffer): Make window start at beginning
7763 of buffer (Bug#12281).
7764
7765 2012-08-26 Chong Yidong <cyd@gnu.org>
7766
7767 * window.el (special-display-regexps, special-display-frame-alist)
7768 (special-display-buffer-names, special-display-function)
7769 (display-buffer-reuse-frames): Mark as obsolete.
7770
7771 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7772
7773 * help.el (help-print-return-message): Don't treat
7774 display-buffer-reuse-frames specially.
7775
7776 2012-08-26 Chong Yidong <cyd@gnu.org>
7777
7778 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7779 New variable, replacing gdb-frame-parameters.
7780 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7781 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7782 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7783 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7784 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7785 the functions directly with gdb-display-buffer-other-frame-action.
7786 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7787 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7788 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7789 (gdb-display-registers-buffer): Define directly.
7790 (def-gdb-display-buffer): Macro deleted.
7791 (gdb-display-buffer): Remove second and third args, callers don't
7792 use them. Defer to the default display-buffer behavior, apart
7793 from making windows dedicated.
7794 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7795
7796 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7797
7798 * window.el (display-buffer-pop-up-frame): Handle a
7799 pop-up-frame-parameters alist entry.
7800 (display-buffer): Document it.
7801
7802 2012-08-26 Chong Yidong <cyd@gnu.org>
7803
7804 * isearch.el (search-whitespace-regexp): Make string and nil
7805 values apply to both ordinary and regexp search. Allow a cons
7806 cell value to distinguish between the two.
7807 (isearch-whitespace-regexp, isearch-search-forward)
7808 (isearch-search-backward): New functions.
7809 (isearch-occur, isearch-search-fun-default, isearch-search)
7810 (isearch-lazy-highlight-new-loop): Use them.
7811 (isearch-forward, isearch-forward-regexp): Doc fix.
7812
7813 2012-08-26 Chong Yidong <cyd@gnu.org>
7814
7815 * faces.el (help-argument-name): Always inherit from italic
7816 (Bug#12213).
7817
7818 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7819
7820 * window.el (window--even-window-heights): Even heights when
7821 WINDOW and the selected window form a vertical combination.
7822 (display-buffer-use-some-window): Provide that window used gets
7823 sized back by quit-window. (Bug#11880) and (Bug#12091)
7824
7825 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7826
7827 Fix file time stamp problem with bzr and CVS (Bug#12001).
7828 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7829 in the file's time stamp, since the version control system loses
7830 that information.
7831
7832 2012-08-22 Juri Linkov <juri@jurta.org>
7833
7834 * info.el (Info-fontify-node): Hide the suffix of the
7835 Info file name in the header line. (Bug#12187)
7836
7837 2012-08-22 Glenn Morris <rgm@gnu.org>
7838
7839 * calendar/cal-tex.el (cal-tex-weekly-common):
7840 Restore leading blank page.
7841
7842 2012-08-22 Le Wang <l26wang@gmail.com>
7843
7844 * misc.el (forward-to-word, backward-to-word): Activate or extend
7845 the region under `shift-select-mode'. (Bug#12231)
7846
7847 2012-08-22 Bastien Guerry <bzg@gnu.org>
7848
7849 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7850 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7851 gives details on why the space is never needed.
7852
7853 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7854
7855 * window.el (walk-window-tree, window-with-parameter):
7856 New optional argument MINIBUF to control whether these functions
7857 should run on the minibuffer window.
7858 (window-at-side-list): Don't operate on minibuffer window.
7859 (window-in-direction): Simplify and rewrite doc-string.
7860 (window--size-ignore): Rename to window--size-ignore-p.
7861 Update callers.
7862 (display-buffer-in-atom-window, window--major-non-side-window)
7863 (window--major-side-window, display-buffer-in-major-side-window)
7864 (delete-side-window, display-buffer-in-side-window):
7865 New functions.
7866 (window--side-check, window-deletable-p, delete-window)
7867 (delete-other-windows, split-window): Handle side windows and
7868 atomic windows appropriately.
7869 (window--display-buffer): Call display-buffer-record-window also
7870 when the window buffer did not change.
7871
7872 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7873
7874 * help-fns.el (help-fns--key-bindings):
7875 Abbreviate non-symbol remap targets. (Bug#12174)
7876
7877 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7878
7879 * dired.el (dired-mark-remembered): Don't clobber point.
7880 (Bug#11795)
7881
7882 2012-08-22 Glenn Morris <rgm@gnu.org>
7883
7884 * progmodes/bug-reference.el (bug-reference): New custom group.
7885 (bug-reference-bug-regexp): Make it a defcustom.
7886
7887 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7888
7889 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7890 (js-paren-indent-offset, js-square-indent-offset)
7891 (js-curly-indent-offset): Add :safe (Bug#12257).
7892
7893 2012-08-22 Edward O'Connor <hober0@gmail.com>
7894
7895 * json.el (json-key-format): Add error properties.
7896 (json-encode-key): New function.
7897 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7898 Use json-encode-key.
7899
7900 2012-08-22 Glenn Morris <rgm@gnu.org>
7901
7902 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7903 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7904 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7905 Update for above change.
7906
7907 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7908
7909 * cus-face.el (custom-face-attributes): Fix customize type for the
7910 :underline attribute. (Bug#11805)
7911
7912 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7913
7914 * window.el (window-point-1, set-window-point-1): Remove.
7915 (window-in-direction, record-window-buffer)
7916 (set-window-buffer-start-and-point, split-window-below)
7917 (window--state-get-1, display-buffer-record-window):
7918 Replace calls to window-point-1 and set-window-point-1 by calls to
7919 window-point and set-window-point respectively.
7920
7921 2012-08-21 Glenn Morris <rgm@gnu.org>
7922
7923 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7924 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7925 Use it.
7926
7927 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7928 (cal-tex-shortday): New function.
7929 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7930 (cal-tex-cursor-filofax-daily): Use the above.
7931
7932 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7933 New functions.
7934 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7935 (cal-tex-cursor-filofax-week): Use them.
7936
7937 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7938 New constants.
7939 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7940 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7941
7942 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7943 (cal-tex-end-document): Don't rely on buffer name.
7944
7945 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7946 Use cal-tex-vspace.
7947 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7948 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7949 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7950 Use cal-tex-arg.
7951
7952 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7953 (cal-tex-cursor-week, cal-tex-cursor-week2)
7954 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7955 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7956 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7957 (cal-tex-insert-preamble, cal-tex-b-document)
7958 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7959 Improve cal-tex-cmd usage.
7960
7961 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7962 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7963 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7964 (cal-tex-weekly-paper): New function.
7965 (cal-tex-cursor-week, cal-tex-cursor-week2)
7966 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7967 (cal-tex-cursor-day): Use it.
7968
7969 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7970 (cal-tex-cursor-filofax-week): Remove leading blank page.
7971
7972 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7973 Add autoload cookie. For now at least, don't use color, since
7974 no other cal-tex function does.
7975
7976 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7977 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7978 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7979
7980 2012-08-21 Juri Linkov <juri@jurta.org>
7981
7982 * info.el (Info-file-attributes): New variable.
7983 (info-insert-file-contents): Add file attributes to
7984 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7985 `Info-toc-nodes' when previous modtime of the Info file is less
7986 than new modtime.
7987 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7988 of info.el. (Bug#12230)
7989
7990 2012-08-20 Glenn Morris <rgm@gnu.org>
7991
7992 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7993 * calendar/holidays.el (calendar-holiday-list):
7994 Report errors with display-warning rather than beep'n'sleep.
7995
7996 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7997
7998 * net/tramp.el (tramp-accept-process-output): Accept only output
7999 from PROC. Otherwise, process filters and sentinels might be
8000 confused. (Bug#12145)
8001
8002 2012-08-20 Chong Yidong <cyd@gnu.org>
8003
8004 * descr-text.el (describe-text-properties-1): Use overlays-in to
8005 report on empty overlays (Bug#3322).
8006
8007 2012-08-20 Glenn Morris <rgm@gnu.org>
8008
8009 * mail/rmailout.el (rmail-output-read-file-name):
8010 Trap and report errors in rmail-output-file-alist elements.
8011
8012 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8013 since most non-font-lock faces are not also variables).
8014
8015 2012-08-20 Edward Reingold <reingold@iit.edu>
8016
8017 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8018 New function. (Bug12160)
8019
8020 2012-08-19 Glenn Morris <rgm@gnu.org>
8021
8022 * mail/rmailout.el (rmail-output-read-file-name):
8023 Fix previous change (when the alist is nil or does not match).
8024
8025 2012-08-19 Chong Yidong <cyd@gnu.org>
8026
8027 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8028 (Bug#12228).
8029
8030 2012-08-18 Chong Yidong <cyd@gnu.org>
8031
8032 * simple.el (yank-handled-properties): New defcustom.
8033 (yank-excluded-properties): Add font-lock-face and category.
8034 (yank): Doc fix.
8035
8036 * subr.el (remove-yank-excluded-properties):
8037 Obey yank-handled-properties. The special handling of font-lock-face
8038 and category is now done this way, instead of being hard-coded.
8039 (insert-for-yank-1): Remove font-lock-face handling.
8040 (yank-handle-font-lock-face-property)
8041 (yank-handle-category-property): New function.
8042
8043 2012-08-17 Glenn Morris <rgm@gnu.org>
8044
8045 * mail/rmailout.el (rmail-output-read-file-name):
8046 Check rmail-output-file-alist against the full message body
8047 in the correct rmail buffer. (Bug#12214)
8048
8049 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8050
8051 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8052 Eliminate superfluous prompt. (Bug#12203)
8053
8054 2012-08-17 Chong Yidong <cyd@gnu.org>
8055
8056 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8057 font spec, set the font directly (Bug#3228).
8058
8059 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8060
8061 * window.el (delete-window): Fix last fix.
8062
8063 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8064
8065 * window.el (window-valid-p): Move to window.c.
8066 (window-child, window-child-count, window-last-child)
8067 (window-normalize-window, window-combined-p)
8068 (window-combinations, window-atom-root, window-min-size)
8069 (window-sizable, window-sizable-p, window-size-fixed-p)
8070 (window-min-delta, window-max-delta, window--resizable)
8071 (window--resizable-p, window-resizable, window-total-size)
8072 (window-full-height-p, window-full-width-p, window-body-size)
8073 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8074 (minimize-window, window-deletable-p, delete-window)
8075 (delete-other-windows, set-window-buffer-start-and-point)
8076 (next-buffer, previous-buffer, split-window, balance-windows-2)
8077 (set-window-text-height, window-buffer-height)
8078 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8079 (truncated-partial-width-window-p): Minor code adjustments.
8080 In doc-strings state whether the argument window has to denote a
8081 live, valid or any window.
8082
8083 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8084
8085 * progmodes/subword.el (subword-forward-function)
8086 (subword-backward-function, subword-forward-regexp)
8087 (subword-backward-regexp): New variables.
8088 (subword-forward, subword-forward-internal, subword-backward-internal):
8089 Use new variables, eg so that different "word" definitions
8090 can be easily used. (Bug#11411)
8091
8092 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8095 for composite selectors.
8096 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8097 operation just because we can't find a previous revision.
8098
8099 2012-08-15 Chong Yidong <cyd@gnu.org>
8100
8101 * frame.el (set-frame-font): Accept font objects.
8102
8103 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8106
8107 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8108
8109 * man.el (Man-overstrike-face, Man-underline-face)
8110 (Man-reverse-face): Remove variables.
8111 (Man-overstrike, Man-underline, Man-reverse): New faces.
8112 (Man-fontify-manpage): Use them instead of the variables.
8113 (Man-cleanup-manpage): Comment change.
8114 (Man-ansi-color-map): New variable.
8115 (Man-fontify-manpage): Use it.
8116 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8117
8118 Implement ANSI SGR parameters 22-27 (bug#12146).
8119 * ansi-color.el (ansi-colors): Doc fix.
8120 (ansi-color-context, ansi-color-context-region): Doc fix.
8121 (ansi-color--find-face): New function.
8122 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8123 Rename the local variable `face' to `codes' since it is now a list of
8124 ansi codes. Doc fix.
8125 (ansi-color-get-face): Remove.
8126 (ansi-color-parse-sequence): New function, derived from
8127 ansi-color-get-face.
8128 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8129 codes 22-27.
8130
8131 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * subr.el (read-passwd): Allow use from a minibuffer.
8134
8135 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8136
8137 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8138 inside comments and strings as identifiers.
8139
8140 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8141 expression to evaluate. This allows to evaluate expressions with
8142 embedded whitespace.
8143 (gud-tooltip-tips): Add a blank before the newline in the
8144 message-box text, for the benefit of message-box emulation on
8145 MS-Windows.
8146
8147 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8148 messages from GDB, pop them up in a tooltip to give feedback to
8149 user.
8150 (gdb-tooltip-print-1): Quote the expression to evaluate.
8151 This allows to evaluate expressions with embedded whitespace.
8152 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8153 if the TTY name is nil or empty (which happens when communicating
8154 with the inferior via pipes, e.g. on MS-Windows).
8155 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8156 don't send that to the GUD buffer.
8157
8158 2012-08-14 Glenn Morris <rgm@gnu.org>
8159
8160 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8161 Optimize away setq-default with no args, as for setq. (Bug#12195)
8162
8163 2012-08-14 Chong Yidong <cyd@gnu.org>
8164
8165 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8166
8167 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8168 (Bug#12085).
8169
8170 2012-08-14 Glenn Morris <rgm@gnu.org>
8171
8172 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8173
8174 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8175
8176 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8177 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8178 Use cached shell name.
8179
8180 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8181
8182 * progmodes/python.el (python-shell-send-string):
8183 (python-shell-send-setup-code): Do not use `format' with `message'.
8184
8185 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8186
8187 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8188 (ruby-percent-literal-beg-re): New constant.
8189 (ruby-syntax-general-delimiters-goto-beg): Rename to
8190 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8191 (ruby-syntax-propertize-general-delimiters): Rename to
8192 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8193 popular term. Adjust comments everywhere.
8194 (ruby-syntax-propertize-percent-literal): Only propertize when not
8195 inside a simple string or comment. When the literal is unclosed,
8196 leave the text after it unpropertized.
8197 (ruby-syntax-methods-before-regexp): New constant.
8198 (ruby-syntax-propertize-function): Use it to recognize regexps.
8199 Don't look at the text after regexp, just use the whitelist.
8200
8201 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8202
8203 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8204 non-nil always load the compiled file if it exists. (Bug#12197)
8205
8206 2012-08-14 Chong Yidong <cyd@gnu.org>
8207
8208 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8209 (hi-lock-set-pattern): When deciding whether to use font lock or
8210 overlays, look at font-lock-mode instead of font-lock-fontified
8211 (Bug#12168).
8212 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8213 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8214
8215 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8216
8217 * subr.el (internal--after-with-selected-window): Fix typo
8218 (Bug#12193).
8219
8220 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8221
8222 Use `completion-table-dynamic' for completion functions.
8223 * progmodes/python.el
8224 (python-shell-completion--do-completion-at-point)
8225 (python-shell-completion--get-completions):
8226 Remove functions.
8227 (python-shell-completion-complete-at-point): New function.
8228 (python-completion-complete-at-point): Use it.
8229
8230 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8231
8232 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8233 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8234
8235 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * subr.el (function-get): Refine `autoload' arg so it can also
8238 autoload functions for gv.el (bug#12191).
8239 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8240 autoloads macros.
8241
8242 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8243 Prefer pcase-let over destructuring-bind.
8244 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8245 Also, remove whitespace as we go, rather than after accumulating the
8246 various places.
8247
8248 * subr.el (internal--before-with-selected-window)
8249 (internal--after-with-selected-window): Fix typo seleted->selected.
8250 (with-selected-window): Adjust callers.
8251 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8252
8253 2012-08-13 Bastien Guerry <bzg@gnu.org>
8254
8255 * window.el (special-display-popup-frame): Minor docstring
8256 enhancement. (Bug#12172)
8257
8258 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8259
8260 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8261 type 1-6.
8262 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8263 extended headers.
8264
8265 * files.el (hack-local-variables-filter): Remove useless eval.
8266
8267 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8268
8269 * subr.el (with-selected-window): Fix last change.
8270
8271 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * subr.el (internal--before-with-seleted-window)
8274 (internal--after-with-seleted-window): New functions.
8275 (with-selected-window): Use them, to replace dependency on
8276 tty-top-frame.
8277
8278 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8279
8280 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8281 binding for `newline'.
8282 (ruby-move-to-block): When moving backward, stop at block opening,
8283 not indentation.
8284 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8285 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8286 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8287 `ruby-toggle-block'.
8288
8289 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8290
8291 * ibuffer.el (ibuffer-do-toggle-read-only):
8292 * dired.el (dired-toggle-read-only):
8293 * buff-menu.el (Buffer-menu-toggle-read-only):
8294 * bindings.el (mode-line-toggle-read-only):
8295 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8296
8297 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8298
8299 * descr-text.el (describe-char): Put the overlays over the
8300 "displayed as" character.
8301
8302 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8303
8304 * calc/calc-units.el (math-default-units-table): Give an
8305 initial value.
8306 (math-put-default-units): Add options to put composite units and
8307 unit systems in the default units table.
8308 (calc-convert-units): Send composite units to
8309 `math-put-default-units' when appropriate.
8310
8311 2012-08-11 Glenn Morris <rgm@gnu.org>
8312
8313 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8314
8315 * tutorial.el (help-with-tutorial):
8316 * emacs-lisp/copyright.el (copyright-update-directory):
8317 * emacs-lisp/autoload.el (autoload-find-generated-file)
8318 (autoload-find-file): Disable local eval: (for insurance).
8319
8320 * files.el (hack-local-variables-filter): If an eval: form is not
8321 known to be safe, and enable-local-variables is :safe, then ignore
8322 the form totally, as is done for non-eval forms. (Bug#12155)
8323 This is CVE-2012-3479.
8324
8325 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8328 (rx-form): Simplify.
8329
8330 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8331
8332 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8333 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8334 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8335 (ruby-syntax-propertize-function): Adjust for changes in
8336 `ruby-syntax-propertize-heredoc'.
8337
8338 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8339
8340 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8341 binding (use `M-;' instead).
8342 (ruby-singleton-class-p): New function.
8343 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8344
8345 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8348
8349 2012-08-10 Chong Yidong <cyd@gnu.org>
8350
8351 * progmodes/python.el (python-shell-get-process-name): Don't mess
8352 with same-window-buffer-names.
8353
8354 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8355 (eshell-remove-from-window-buffer-names): Make obsolete.
8356 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8357 (eshell): Just use pop-to-buffer-same-window instead.
8358
8359 2012-08-10 Chong Yidong <cyd@gnu.org>
8360
8361 * bindings.el: Bind M-= back to count-words-region.
8362
8363 * simple.el (count-words-region): Accept a prefix arg for acting
8364 on the entire buffer.
8365 (count-words--buffer-message): New helper function.
8366
8367 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8370 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8371 (event-start, event-end): Use posn-at-point to return a more
8372 informative posn.
8373 (posnp): New function.
8374 * mouse.el (popup-menu-normalize-position): Use it.
8375
8376 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8377
8378 * mouse.el (popup-menu-normalize-position): New function.
8379 (popup-menu): Use `popup-menu-normalize-position' to normalize
8380 the form for POSITION argument.
8381
8382 * term/x-win.el (x-menu-bar-open):
8383 Use the value returend from (posn-at-point) as position
8384 passed to `popup-menu'.
8385
8386 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8387
8388 * calc/calccomp.el (math-compose-expr): Add extra argument
8389 indicating that parentheses should be put around products in
8390 denominators. Give multiplication precedence over division during
8391 composition.
8392
8393 2012-08-09 Chong Yidong <cyd@gnu.org>
8394
8395 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8396 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8397 (Man-untabify-command, manual-program): Convert to defcustom
8398 (Bug#10429).
8399
8400 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8401
8402 * descr-text.el (describe-char): Don't insert extra newlines
8403 (Bug#10127).
8404
8405 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8406 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8407
8408 * align.el (align-region): Delete temporary markers (Bug#10047).
8409 Plus some code cleanups.
8410
8411 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8412
8413 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8414 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8415 (python-shell-internal-last-output): Use make-local-variable
8416 instead of make-variable-buffer-local.
8417
8418 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8419
8420 * progmodes/python.el: Enhancements to forward-sexp.
8421 (python-nav-forward-sexp): Rename from
8422 python-nav-forward-sexp-function.
8423 (python-nav--forward-sexp, python-nav--backward-sexp):
8424 New functions.
8425
8426 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8427
8428 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8429 modes and simplification modes.
8430
8431 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * delsel.el (delete-selection-pre-hook): Don't propagate the
8434 file-supersession signals (bug#12161).
8435
8436 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8439 (cl-map-extents): Add compatibility aliases (bug#12135).
8440
8441 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8442
8443 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8444 tests by `ignore-error'.
8445 (tramp-find-shell): Open also a new shell, when cache is already
8446 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8447
8448 2012-08-08 Juri Linkov <juri@jurta.org>
8449
8450 * bookmark.el: Add `defaults' property to the bookmark record.
8451 (bookmark-current-buffer): Doc fix.
8452 (bookmark-make-record): Add `defaults' property with default values
8453 to the bookmark record.
8454 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8455 with `bookmark-insert-current-bookmark'.
8456 (bookmark-set): Get `defaults' property from the bookmark record
8457 and use it in `read-from-minibuffer'.
8458 (bookmark-insert-current-bookmark): Remove function.
8459
8460 * info.el (Info-bookmark-make-record): Add `defaults' property
8461 with values of canonical Info node name, the current Info file
8462 name and the current Info node name. (Bug#12107)
8463
8464 2012-08-08 Juri Linkov <juri@jurta.org>
8465
8466 * files.el (basic-save-buffer): Use `buffer-name' as the default
8467 of `read-file-name' when buffer is not visiting a file (bug#12128).
8468
8469 2012-08-08 Juri Linkov <juri@jurta.org>
8470
8471 * info.el (Info-isearch-search): Doc fix.
8472 (Info-search): Change search-failed message from "initial node" to
8473 "end of node" (bug#12078).
8474 (Info-isearch-search): Change `isearch-string-state' to
8475 `isearch--state-string'.
8476
8477 2012-08-08 Glenn Morris <rgm@gnu.org>
8478
8479 * language/persian.el: Remove file.
8480 * language/misc-lang.el: Move unique part of persian.el here.
8481 * loadup.el: Remove language/persian.
8482
8483 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8484
8485 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8486
8487 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8488
8489 * progmodes/python.el: Fix defsubst warning.
8490 (python-syntax-context) Rename from python-info-ppss-context.
8491 (python-syntax-context-type): Rename from
8492 python-info-ppss-context-type.
8493 (python-syntax-comment-or-string-p): Rename from
8494 python-info-ppss-comment-or-string-p.
8495
8496 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8497
8498 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8499
8500 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8501
8502 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8503 a defcustom that is quoted with backquote.
8504
8505 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8506 Fix handling of interactive spec when the body uses return.
8507 (math-do-arg-check, math-define-function-body): Use backquote forms.
8508 * calc/calc-ext.el (math-defcache): Likewise.
8509 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8510 * allout.el (allout-new-exposure): Likewise.
8511 * calc/calcalg2.el (math-tracing-integral): Likewise.
8512 * info.el (Info-last-menu-item): Likewise.
8513 * emulation/vip.el (vip-loop): Likewise.
8514 * textmodes/artist.el (artist-funcall): Likewise.
8515 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8516 Construct menu-item directly.
8517
8518 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8519 Don't declare.
8520
8521 2012-08-07 Chong Yidong <cyd@gnu.org>
8522
8523 * simple.el (deactivate-mark): Preserve text properties when
8524 saving the primary selection (Bug#8384).
8525
8526 2012-08-07 Kevin Ryde <user42@zip.com.au>
8527
8528 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8529 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8530 and continue processing (Bug#12110).
8531
8532 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8535 syntax-propertize-function (bug#10095).
8536
8537 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8540 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8541 describe-function-1.
8542 (describe-function-1): Use them. Move compiler macro after sig.
8543 (help-fns--compiler-macro): Use function-get. Assume we're already in
8544 standard-output. Adjust layout to new call order.
8545
8546 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8547 re-binding a symbol that has a symbol-macro (bug#12119).
8548
8549 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8550
8551 * language/persian.el: New file. (Bug#11812)
8552 * loadup.el: Add language/persian.el.
8553
8554 2012-08-06 Chong Yidong <cyd@gnu.org>
8555
8556 * window.el (window--maybe-raise-frame): New function.
8557 (window--display-buffer): Split off from here.
8558 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8559 (display-buffer-pop-up-window, display-buffer-use-some-window):
8560 Obey an inhibit-switch-frame action alist entry.
8561 (display-buffer): Update doc.
8562
8563 * replace.el (occur-after-change-function): Avoid losing focus by
8564 using the inhibit-switch-frame display parameter (Bug#12139).
8565
8566 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8567
8568 Make internal shell process buffer names start with space.
8569 * progmodes/python.el (python-shell-make-comint): Add optional
8570 argument INTERNAL.
8571 (run-python-internal): Use it.
8572 (python-shell-internal-get-or-create-process): Check for new
8573 internal buffer names.
8574
8575 2012-08-06 Glenn Morris <rgm@gnu.org>
8576
8577 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8578 Do less getting and setting of environment variables.
8579
8580 2012-08-05 Chong Yidong <cyd@gnu.org>
8581
8582 * proced.el (proced): Add substitution string to docstring to
8583 trigger autoloading of the proced library on C-h f (Bug#1768).
8584
8585 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8586 Don't show defvars which have no second argument (Bug#8638).
8587
8588 * imenu.el (imenu-generic-expression): Move documentation here
8589 from imenu--generic-function.
8590 (imenu--generic-function): Refer to imenu-generic-expression.
8591
8592 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8593
8594 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8595 indentation declaration.
8596 (viper-loop): Add indentation declaration (Bug#7025).
8597
8598 2012-08-05 Chong Yidong <cyd@gnu.org>
8599
8600 * help-fns.el (describe-variable): Add hyperlink for
8601 directory-local variables files. Improve buffer-local and
8602 permanent-local reporting; suggested by MON KEY (Bug#6644).
8603
8604 * help-mode.el (help-dir-local-var-def): New button type.
8605
8606 * files.el (kill-buffer-hook): Provide a defvar.
8607
8608 2012-08-05 Glenn Morris <rgm@gnu.org>
8609
8610 * eshell/esh-ext.el (eshell/addpath):
8611 Also update eshell-path-env. (Bug#12013)
8612
8613 2012-08-05 Chong Yidong <cyd@gnu.org>
8614
8615 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8616
8617 * fringe.el (fringe-styles): Add docstring.
8618 (fringe--check-mode): New function.
8619 (set-fringe-mode, set-fringe-style): Use it.
8620 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8621
8622 * files.el (set-auto-mode): Fix invalid setq call.
8623
8624 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * isearch.el: Misc simplification; use defstruct.
8627 (isearch-mode-map): Dense maps now work like sparse ones.
8628 (isearch--state): New defstruct.
8629 (isearch-string-state, isearch-message-state, isearch-point-state)
8630 (isearch-success-state, isearch-forward-state)
8631 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8632 (isearch-wrapped-state, isearch-barrier-state)
8633 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8634 replaced by defstruct's accessors.
8635 (isearch--set-state): Rename from isearch-top-state and change
8636 calling convention.
8637 (isearch-push-state): Use new isearch--get-state.
8638 (isearch-toggle-word): Disable regexp when enabling word.
8639 (isearch-message-prefix): Remove unused arg _c-q-hack.
8640 (isearch-message-suffix): Remove unused arg _ellipsis.
8641
8642 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8643
8644 * simple.el (list-processes--refresh): For a server use :host or
8645 :local as the address.
8646 (list-processes): Doc fix.
8647
8648 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8649
8650 * lisp/mpc.el: Support password in host argument.
8651 (mpc--proc-connect): Parse and use new password element.
8652 Set mpc-proc variable instead of returning process.
8653 (mpc-proc): Adjust accordingly.
8654
8655 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8656
8657 * whitespace.el (whitespace-display-mappings): Use Unicode
8658 codepoints, instead of emacs-mule codepoints. See
8659 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8660 for the details.
8661
8662 * files.el (file-truename): Don't skip symlink-chasing part on
8663 windows-nt. Incorporate the resolution of 8+3 short aliases on
8664 Windows into the loop that recursively chases symlinks.
8665 Compare directory and its parent case-insensitively on MS-Windows and
8666 MS-DOS.
8667
8668 2012-08-03 Chong Yidong <cyd@gnu.org>
8669
8670 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8671
8672 * sort.el (sort-regexp-fields): Doc fix.
8673
8674 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8675
8676 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8677 labels regex position point at the expected place.
8678
8679 2012-08-03 MON KEY <monkey@sandpframing.com>
8680
8681 * net/imap.el (imap-interactive-login, imap-authenticate)
8682 (imap-mailbox-lsub, imap-mailbox-list)
8683 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8684 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8685 (imap-parse-response): Doc fix.
8686
8687 2012-08-03 João Távora <joaotavora@gmail.com>
8688
8689 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8690 if sexp scanning does not move point (Bug#5734).
8691
8692 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8693
8694 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8695 Add listings, minted, and ctable packages.
8696 (reftex-label-alist-builtin): Move listings, minted, and ctable
8697 entries before LaTeX.
8698 (reftex-label-alist): Docfix.
8699
8700 2012-08-02 Bastien Guerry <bzg@gnu.org>
8701
8702 * replace.el (occur): Fix docstring (bug#12122).
8703
8704 2012-08-02 Glenn Morris <rgm@gnu.org>
8705
8706 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8707
8708 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8709
8710 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8711 * international/mule-cmds.el: Create
8712 inactivate-current-input-method-function as an obsolete alias for
8713 deactivate-current-input-method-function. See Katsumi Yamaoka in
8714 <http://bugs.gnu.org/10150#46>.
8715
8716 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8717
8718 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8719 of nested `if's.
8720
8721 2012-08-01 Glenn Morris <rgm@gnu.org>
8722
8723 * progmodes/autoconf.el (autoconf-definition-regexp):
8724 Add AH_TEMPLATE, adjust submatch numbering.
8725 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8726 (autoconf-current-defun-function): Update for above change.
8727 (autoconf-current-defun-function): First skip to end of current word.
8728
8729 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8730
8731 * calendar/cal-html.el (cal-html-insert-agenda-days):
8732 Fix typo. (Bug#12018)
8733
8734 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8735
8736 Shell processes: enhancements to startup and CEDET compatibility.
8737 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8738 (python-shell-make-comint): accept-process-output at startup.
8739 (run-python-internal): Set inferior-python-mode-hook to nil.
8740 (python-shell-internal-get-or-create-process): call sit-for.
8741 (python-preoutput-result): Add obsolete alias.
8742 (python-shell-internal-send-string): Use it.
8743 (python-shell-send-setup-code): Remove call to
8744 accept-process-output.
8745
8746 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8747
8748 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8749 (Bug#12108)
8750
8751 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8752
8753 * calc-mode.el (calc-basic-simplification-mode): Rename from
8754 `calc-limited-simplification-mode'.
8755 (calc-alg-simplification-mode): New function.
8756 (calc-set-simplify-mode): Adjust message.
8757
8758 * calc.el (calc-set-mode-line): Adjust mode line display for
8759 basic simplification mode.
8760
8761 * calc-help.el (calc-m-prefix-help): Update help message.
8762
8763 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8764 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8765
8766 2012-07-31 Bastien Guerry <bzg@gnu.org>
8767
8768 * man.el (man): Fix comment. (bug#12101)
8769
8770 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8771
8772 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8773 Don't return a non-nil value when no suitable buffer was found.
8774
8775 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8776
8777 * progmodes/python.el (run-python-internal): Disable font lock for
8778 internal shells.
8779
8780 2012-07-30 Stefan Merten <smerten@oekonux.de>
8781
8782 * textmodes/rst.el: Silence `checkdoc-ispell'.
8783 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8784 (rst-official-version, rst-official-cvs-rev)
8785 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8786 (rst-mode-map): New key binding.
8787
8788 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8789
8790 Update .PHONY listings in makefiles.
8791 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8792 autoloads, update-subdirs, updates, bzr-update, update-authors,
8793 compile-onefile, compile-calc, backup-compiled-files,
8794 compile-after-backup, compile-one-process, mh-autoloads,
8795 bootstrap-clean, distclean, maintainer-clean.
8796
8797 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8798
8799 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8800 (calc-set-mode-line): Don't display "AlgSimp ".
8801
8802 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8803 (calc-lim-simplify-mode): New function.
8804 (calc-set-simplify-mode): Default to 'alg.
8805 (calc-default-simplify-mode): Make algebraic simplifications
8806 the default.
8807
8808 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8809 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8810
8811 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8812 indicate new simplification modes.
8813
8814 * calc/README: Mention new default simplification mode.
8815
8816 * calc/calc.el (math-normalize-error): New variable.
8817 (math-normalize): Set `math-normalize-error' to t
8818 when there's an error.
8819
8820 * calc/calc-alg.el (math-simplify): Don't simplify when
8821 `math-normalize' returns an error.
8822
8823 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8824
8825 * international/mule-cmds.el (set-locale-environment): Revert last
8826 change, since display-graphic-p returns nil when this function is
8827 called during startup. Instead...
8828
8829 * term/w32console.el (terminal-init-w32console): ...setup the
8830 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8831
8832 2012-07-29 Juri Linkov <juri@jurta.org>
8833
8834 * simple.el (goto-line): Don't display default line number in the
8835 prompt because it should be displayed by `read-number' (bug#9952).
8836 Add the current line number to the defaults of `goto-line' to
8837 allow its easier modification by users with `M-n' (bug#9201).
8838
8839 * subr.el (read-number): Support multiple default values like in
8840 other minibuffer reading functions. Replace `read' with
8841 `string-to-number' for consistency with `number-to-string'.
8842
8843 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8844
8845 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8846 * emulation/viper-init.el (viper-deactivate-input-method-action):
8847 Rename from viper-inactivate-input-method-action.
8848 (viper-deactivate-input-method):
8849 Rename from viper-inactivate-input-method.
8850 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8851 * international/mule-cmds.el (deactivate-input-method):
8852 Rename from inactivate-input-method.
8853 Also run input-method-deactivate-hook.
8854 (deactivate-current-input-method-function):
8855 Rename from inactivate-current-input-method-function.
8856 (input-method-deactivate-hook): New hook.
8857 (input-method-inactivate-hook): Mark obsolete.
8858 (inactivate-input-method): Mark obsolete.
8859
8860 * international/quail.el (quail-activate):
8861 Also run quail-deactivate-hook.
8862 (quail-deactivate): Rename from quail-inactivate.
8863 * international/robin.el (robin-activate):
8864 Also run robin-deactivate-hook.
8865 (robin-deactivate): Rename from robin-inactivate.
8866
8867 2012-07-29 Chong Yidong <cyd@gnu.org>
8868
8869 * simple.el (indicate-copied-region): New function.
8870 (kill-ring-save): Split off from here.
8871
8872 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8873 (kill-rectangle): Set deactivate-mark to t on read-only error.
8874
8875 * register.el (copy-to-register, copy-rectangle-to-register):
8876 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8877 (append-to-register, prepend-to-register): Call indicate-copied-region.
8878
8879 2012-07-29 Juri Linkov <juri@jurta.org>
8880
8881 * simple.el (async-shell-command-buffer): New defcustom.
8882 (shell-command): Use it. (Bug#4719)
8883
8884 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8885
8886 * international/mule-cmds.el (set-locale-environment): In a
8887 console session on MS-Windows, set up keyboard and terminal
8888 encoding from the OEM codepage, not the ANSI codepage.
8889 (Bug#12055)
8890
8891 2012-07-28 Chong Yidong <cyd@gnu.org>
8892
8893 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8894 gdb-get-location.
8895
8896 2012-07-28 Leo Liu <sdl.web@gmail.com>
8897
8898 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8899 the alist (bug#12029).
8900
8901 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8902
8903 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8904 (compile-always, compile-first)
8905 ($(lisp)/calendar/cal-loaddefs.el)
8906 ($(lisp)/calendar/diary-loaddefs.el)
8907 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8908 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8909 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8910 instead of on update-subdirs.
8911 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8912
8913 2012-07-28 Chong Yidong <cyd@gnu.org>
8914
8915 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8916 directory if vc-deduce-backend returns nil (Bug#7350).
8917
8918 * simple.el (delete-trailing-lines): New option.
8919 (delete-trailing-whitespace): Obey it (Bug#11879).
8920
8921 2012-07-28 David Engster <deng@randomsample.de>
8922
8923 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8924 Explanation of new 'symbol-qnames feature in doc-strings.
8925 (xml-maybe-do-ns): Return expanded names as plain symbols if
8926 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8927 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8928
8929 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8930
8931 Consistent completion in inferior python with emacs -nw.
8932 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8933 binding in inferior-python-mode-map with "\t".
8934 (python-shell-completion-complete-at-point)
8935 (python-completion-complete-at-point): Remove interactive spec.
8936
8937 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8938
8939 * calc/calccomp.el (math-compose-expr): Undo previous change.
8940
8941 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8942
8943 * progmodes/python.el (python-mode-map): Add keybinding for
8944 run-python.
8945 (python-shell-make-comint): Fix pop-to-buffer call.
8946 (run-python): Autoload. New arg SHOW.
8947 (python-shell-get-or-create-process): Do not pop python process
8948 buffer.
8949
8950 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * notifications.el (notifications-on-action-signal)
8953 (notifications-on-closed-signal): Use also the bus address for the map.
8954 (notifications-notify, notifications-close-notification)
8955 (notifications-get-capabilities): Add optional argument BUS.
8956
8957 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8958
8959 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8960 Add support for the lstlisting and minted environments, and for the
8961 ctable macro.
8962 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8963 labels written in keyvals syntax.
8964
8965 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8966
8967 * calc/calccomp.el (math-compose-expr): Use parentheses when
8968 there is a product in the denominator of a fraction.
8969
8970 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8971
8972 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8973 ($(lisp)/calendar/diary-loaddefs.el)
8974 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8975 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8976 Fixes failures in parallel bootstrap because subdirs.el is being
8977 rewritten while the autoload files are built at the same time,
8978 which needs to load subdirs.el.
8979
8980 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8981
8982 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8983 (mouse-drag-line): Don't exit tracking when a switch-frame or
8984 switch-window event occurs (Bug#12006).
8985
8986 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * mouse.el (popup-menu): Fix last change.
8989
8990 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8991
8992 Autoload from Lisp with more care. Follow aliases when looking for
8993 function properties.
8994 * subr.el (autoloadp): New function.
8995 (symbol-file): Use it.
8996 (function-get): New function.
8997 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8998 autoload-do-load.
8999 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9000 (lisp-indent-function):
9001 * emacs-lisp/gv.el (gv-get):
9002 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9003 * emacs-lisp/byte-opt.el (byte-optimize-form):
9004 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9005 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9006 Use function-get.
9007 * emacs-lisp/cl.el: Don't propagate function properties any more.
9008
9009 * speedbar.el (speedbar-add-localized-speedbar-support):
9010 * emacs-lisp/disass.el (disassemble-internal):
9011 * desktop.el (desktop-load-file):
9012 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9013 (describe-function-1):
9014 * emacs-lisp/find-func.el (find-function-noselect):
9015 * emacs-lisp/elp.el (elp-instrument-function):
9016 * emacs-lisp/advice.el (ad-has-proper-definition):
9017 * apropos.el (apropos-safe-documentation, apropos-macrop):
9018 * emacs-lisp/debug.el (debug-on-entry):
9019 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9020 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9021 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9022
9023 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9024
9025 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9026 function, not an obsolete variable (Bug#12046).
9027
9028 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9029
9030 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9031
9032 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9033
9034 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9035 window only if it is still live (Bug#12034).
9036
9037 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9038
9039 * subr.el (redirect-frame-focus): Add advertised calling
9040 convention (Bug#12030).
9041
9042 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9043
9044 Prefer typical American spelling for "acknowledgment".
9045 * vc/add-log.el (change-log-acknowledgment): Rename from
9046 change-log-acknowledgement, with an alias for the old name.
9047
9048 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9049
9050 * calc-alg.el (math-simplify-divide): Don't cross multiply
9051 in an equation when the lhs is a variable.
9052
9053 2012-07-24 Julien Danjou <julien@danjou.info>
9054
9055 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9056 Remove, unused.
9057
9058 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9059
9060 * startup.el (command-line): Don't display an empty user name in
9061 the error message about non-existent home directory, when
9062 init-file-user was set to an empty string. See
9063 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9064 for the details and context.
9065
9066 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9067
9068 * ses.el (ses-cell-formula-aset): New macro.
9069 (ses-cell-references-aset): New macro.
9070 (ses-cell-p): New function.
9071 (ses-rename-cell): Do no longer rely on complex operations like
9072 ses-cell-set-formula or ses-set-cell to change the cell and handle
9073 the undo at the same time, but rather use lower level new macros
9074 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9075 the undo directly. Refresh the mode line.
9076
9077 2012-07-21 Leo Liu <sdl.web@gmail.com>
9078
9079 * progmodes/cc-cmds.el (c-defun-name):
9080 Use match-string-no-properties instead for consistency.
9081
9082 2012-07-20 Leo Liu <sdl.web@gmail.com>
9083
9084 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9085 (Bug#7879)
9086
9087 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9088
9089 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9092 * progmodes/bug-reference.el, misearch.el: Provide themselves
9093 (bug#11915).
9094
9095 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9096 of narrowed buffer (bug#11966).
9097
9098 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9099
9100 * ses.el (ses-rename-cell): Set new name also in reference list of
9101 cells of which the renamed cell depends.
9102
9103 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9104
9105 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9106 to check whether menu-bar is shown or not. If not shown,
9107 show the menu-bar as a popup menu instead of using tmm.
9108 * mouse.el (popup-menu): Accept `point' as `position' argument.
9109
9110 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9111
9112 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9113 up inside string symbol literal (bug#11923).
9114
9115 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9116
9117 * startup.el (fancy-startup-text): Read the whole tutorial, not
9118 just its first 256 bytes. Prevents gibberish in display of the
9119 tutorial title.
9120
9121 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9122
9123 Drop idle buffer compaction due to an absence of the
9124 proved efficiency.
9125 * compact.el: Remove.
9126
9127 2012-07-19 Sam Steingold <sds@gnu.org>
9128
9129 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9130 vc-bzr-pull & vc-bzr-merge-branch.
9131 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9132 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9133 for consistency with compilation-error-regexp-alist.
9134 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9135 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9136 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9137 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9138
9139 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * emacs-lisp/chart.el: Use lexical-binding.
9142 (chart-emacs-storage): Don't hardcode the list of entries.
9143
9144 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9145
9146 Next round of tweaks caused by Fgarbage_collect changes.
9147 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9148
9149 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9150
9151 Compact buffers when idle.
9152 * compact.el: New file.
9153
9154 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * subr.el (eventp): Presume that if it looks vaguely like an event,
9157 it's an event (bug#10190).
9158
9159 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9160
9161 Enhancements to ppss related code (thanks Stefan).
9162 * progmodes/python.el (python-indent-context)
9163 (python-indent-calculate-indentation, python-indent-dedent-line)
9164 (python-indent-electric-colon, python-nav-forward-block)
9165 (python-mode-abbrev-table)
9166 (python-info-assignment-continuation-line-p): Simplify checks
9167 for ppss context.
9168 (python-info-continuation-line-p): Cleanup.
9169 (python-info-ppss-context): Do not catch 'quote.
9170 (python-info-ppss-context-type)
9171 (python-info-ppss-comment-or-string-p): Simplify.
9172
9173 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9174
9175 * progmodes/python.el: Enhancements to eldoc support.
9176 (python-info-current-symbol): New function.
9177 (python-eldoc-at-point): Use python-info-current-symbol.
9178 (python-info-current-defun): Fix cornercase on first defun scan.
9179 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9180 and signal error when no inferior python process is available.
9181
9182 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9183
9184 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9185 assume it's always t.
9186 (vc-git-registered): Remove caching, the function is only called
9187 once.
9188 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9189
9190 2012-07-18 Chong Yidong <cyd@gnu.org>
9191
9192 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9193
9194 * simple.el (count-words): Report on narrowing (Bug#9959).
9195
9196 * bindings.el: Bind M-= to count-words.
9197
9198 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9199
9200 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9201
9202 * progmodes/sh-script.el (sh-imenu-generic-expression):
9203 Capture a function with `function' keyword and without parentheses
9204 like "function FOO" (bug#11856).
9205
9206 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9207
9208 * window.el (split-window-sensibly): Make WINDOW argument
9209 optional.
9210
9211 2012-07-18 Chong Yidong <cyd@gnu.org>
9212
9213 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9214
9215 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9216 and make C-x 8 RET exit isearch (Bug#11439).
9217
9218 * international/iso-transl.el: Move isearch-mode-map key
9219 definitions to isearch.el.
9220
9221 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9224 (eieio-defclass): Use gv-define-setter when possible.
9225
9226 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9227
9228 Reflect recent changes in Fgarbage_collect.
9229 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9230 reflect new format of data returned by Fgarbage_collect.
9231
9232 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9233
9234 New utility functions + python-info-ppss-context fix (Bug#11910).
9235 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9236 (python-info-ppss-comment-or-string-p): New functions.
9237 (python-info-ppss-context): Small fix for string check.
9238
9239 2012-07-17 Juri Linkov <juri@jurta.org>
9240
9241 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9242 (dired-do-async-shell-command): Don't add `*' at the end of the
9243 command (Bug#11815).
9244 (dired-do-shell-command): Doc fix.
9245 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9246 Join the individual commands using either "&" or ";" as the
9247 separator depending on the values of these trailing characters.
9248 At the end re-add the trailing "&". (Bug#10598)
9249
9250 * simple.el (async-shell-command): Sync the interactive spec with
9251 `shell-command'. Doc fix.
9252 (shell-command): Doc fix.
9253
9254 2012-07-17 Juri Linkov <juri@jurta.org>
9255
9256 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9257
9258 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9259
9260 Final renames and doc fixes for movement commands (bug#11899).
9261 * progmodes/python.el (python-nav-beginning-of-statement):
9262 Rename from python-nav-statement-start.
9263 (python-nav-end-of-statement): Rename from
9264 python-nav-statement-end.
9265 (python-nav-beginning-of-block): Rename from
9266 python-nav-block-start.
9267 (python-nav-end-of-block): Rename from python-nav-block-end.
9268
9269 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9270
9271 * progmodes/python.el (python-shell-send-string-no-output):
9272 Allow accept-process-output to quit, keeping shell process ready for
9273 future interactions (Bug#11868).
9274
9275 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9278
9279 * emacs-lisp/elint.el (elint-find-args-in-code):
9280 Use help-function-arglist, so as to handle lexical byte-code.
9281
9282 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9283 change (bug#11826).
9284
9285 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9288 Avoid spuriously marking the buffer as modified because of c-is-sws.
9289
9290 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9291 as not-a-comment (bug#11946).
9292
9293 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9294 for uninterned vars.
9295
9296 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9297 Use read-event since we don't really want to read chars but bytes.
9298
9299 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9300 $$..$$ but also $..$ using regexps (bug#11953).
9301 Use tex-verbatim for \url and \path.
9302 (tex-font-lock-keywords): Define as defconst like the others.
9303 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9304
9305 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9306
9307 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9308 alias for insert-char.
9309
9310 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9311
9312 * progmodes/python.el: Simplified imenu implementation.
9313 (python-nav-jump-to-defun): Remove command.
9314 (python-mode-map): Use `imenu' instead.
9315 (python-nav-list-defun-positions-cache)
9316 (python-imenu-include-defun-type, python-imenu-make-tree)
9317 (python-imenu-subtree-root-label, python-imenu-index-alist):
9318 Remove vars.
9319 (python-nav-list-defun-positions, python-nav-read-defun)
9320 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9321 (python-imenu-make-tree, python-imenu-create-index):
9322 Remove functions.
9323 (python-mode): Update to interact with imenu by setting
9324 `imenu-extract-index-name-function' only.
9325
9326 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9327
9328 * progmodes/python.el: Enhancements to navigation commands.
9329 (python-nav-backward-sentence)
9330 (python-nav-forward-sentence): Remove.
9331 (python-nav-backward-statement, python-nav-forward-statement)
9332 (python-nav-statement-start, python-nav-statement-end)
9333 (python-nav-backward-block, python-nav-forward-block)
9334 (python-nav-block-start, python-nav-block-end)
9335 (python-nav-forward-sexp-function)
9336 (python-info-current-line-comment-p)
9337 (python-info-current-line-empty-p): New functions.
9338 (python-indent-context): Use `python-nav-statement-start'.
9339
9340 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9341
9342 * eshell/em-ls.el (eshell/ls): Use `apply'.
9343
9344 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9345 multi-hops, instead of Tramp internals.
9346
9347 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9348
9349 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9350 when F1 and F2 are located on different hosts.
9351
9352 2012-07-14 Chong Yidong <cyd@gnu.org>
9353
9354 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9355 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9356 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9357 (xterm-mouse--read-event-sequence-1000)
9358 (xterm-mouse--read-event-sequence-1006): New functions. For old
9359 mouse protocol, handle M-mouse-X events correctly.
9360 (xterm-mouse-event): New arg specifying mouse protocol.
9361 (turn-on-xterm-mouse-tracking-on-terminal)
9362 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9363 sequence to toggle extended coordinates on newer XTerms.
9364 This appears to be harmless on terminals which do not support this.
9365
9366 2012-07-14 Leo Liu <sdl.web@gmail.com>
9367
9368 Add fringe bitmap indicators for flymake. (Bug#11253)
9369 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9370 (flymake-make-overlay): New arg BITMAP.
9371 (flymake-error-bitmap, flymake-warning-bitmap)
9372 (flymake-fringe-indicator-position): New user variables.
9373
9374 * fringe.el: New bitmap exclamation-mark.
9375
9376 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9377
9378 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9379 also (Bug#7879).
9380
9381 2012-07-14 Chong Yidong <cyd@gnu.org>
9382
9383 * electric.el (electric-pair-post-self-insert-function): Fix pair
9384 insertion in empty-region case (Bug#11520).
9385
9386 2012-07-14 Chong Yidong <cyd@gnu.org>
9387
9388 * bindings.el: Consolidate ctl-x-r-map bindings.
9389 Bind copy-rectangle-as-kill to C-x r w.
9390
9391 * rect.el, register.el: Move bindings to bindings.el.
9392
9393 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9394
9395 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9396
9397 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9400
9401 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9402
9403 * bindings.el (top): Use `mapc' instead of `mapcar'.
9404
9405 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9406
9407 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9408
9409 * progmodes/sql.el (sql-comint): Suppress the check for program on
9410 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9411 (Bug#11908)
9412
9413 2012-07-13 Chong Yidong <cyd@gnu.org>
9414
9415 * bindings.el: Assign a non-nil permanent-local property to
9416 per-buffer variables which lack a default value (Bug#11930).
9417
9418 * help-fns.el (describe-variable): In the "automatically becomes
9419 local" notice, take note of permanent-local variables.
9420
9421 2012-07-13 Chong Yidong <cyd@gnu.org>
9422
9423 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9424 to allow printing the message when called from Lisp.
9425
9426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9427 Remove toggle-read-only.
9428
9429 * bs.el (bs-toggle-readonly):
9430 * buff-menu.el (Buffer-menu-toggle-read-only):
9431 Remove with-no-warnings around toggle-read-only.
9432
9433 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9434 Remove with-no-warnings around toggle-read-only.
9435 (ffap-read-only, ffap-read-only-other-window)
9436 (ffap-read-only-other-frame): Callers changed.
9437
9438 * help-mode.el: Don't require view package.
9439 (help-mode-finish): Set buffer-read-only instead of calling
9440 toggle-read-only.
9441
9442 * bindings.el (mode-line-toggle-read-only):
9443 * dired.el (dired-toggle-read-only):
9444 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9445 with non-nil second arg.
9446
9447 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9448 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9449 directly.
9450
9451 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9452
9453 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9454 not incf.
9455
9456 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 More CL cleanups and reduction of use of cl.el.
9459 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9460 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9461 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9462 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9463 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9464 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9465 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9466 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9467 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9468 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9469 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9470 * eshell/em-cmpl.el, eshell/em-banner.el:
9471 * calendar/parse-time.el: Use cl-lib.
9472 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9473 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9474 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9475 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9476 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9477 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9478 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9479 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9480 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9481 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9482 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9483 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9484 `lambda' rather than with `quote'.
9485 (eshell-do-opt): Adjust accordingly.
9486 (eshell-process-option): Simplify.
9487 * eshell/esh-var.el:
9488 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9489 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9490 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9491 to `pcase--dontcare'.
9492 * emacs-lisp/cl.el (labels): Mark obsolete.
9493 (cl--letf, letf): Move to cl-lib.
9494 (cl--letf*, letf*): Remove.
9495 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9496 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9497 (cl-progv): Rewrite.
9498 (cl--letf, cl-letf): Move from cl.el.
9499 (cl-letf*): New macro.
9500 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9501
9502 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9503
9504 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9505
9506 2012-07-11 Chong Yidong <cyd@gnu.org>
9507
9508 * vc/log-edit.el (log-edit-vc-backend): New variable.
9509 (log-edit): Doc fix.
9510
9511 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9512 argument of log-edit to set up all local variables.
9513 (vc-start-logentry): New optional arg specifying VC backend.
9514
9515 * vc/vc.el (vc-checkin): Use it.
9516 (vc-deduce-fileset): Handle Log Edit buffers.
9517 (vc-diff): Make first argument optional too.
9518
9519 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9520
9521 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9522
9523 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9524 command, just in case. The function is not needed anymore.
9525 (eshell-external-command): Do not call `eshell-remote-command'.
9526
9527 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 Reduce use of (require 'cl).
9530 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9531 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9532 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9533 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9534 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9535 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9536 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9537 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9538 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9539 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9540 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9541 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9542 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9543 (byte-compile-unfold-bcf, byte-compile-check-variable):
9544 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9545 (byte-compile-nilconstp):
9546 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9547 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9548
9549 * emacs-lisp/gv.el (cond): Make it a valid place.
9550 (if): Simplify slightly.
9551
9552 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9553 (pcase--self-quoting-p): New function.
9554 (pcase--u1): Use it.
9555
9556 2012-07-10 Glenn Morris <rgm@gnu.org>
9557
9558 * emacs-lisp/authors.el (authors-fixed-entries):
9559 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9560
9561 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9562
9563 Rename configure.in to configure.ac (Bug#11603).
9564 * emacs-lisp/authors.el (authors-canonical-file-name):
9565 * progmodes/autoconf.el (autoconf-mode):
9566 Prefer configure.ac to configure.in.
9567
9568 2012-07-08 Chong Yidong <cyd@gnu.org>
9569
9570 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9571 Implement the mouse-1-click-follows-link handling properly.
9572
9573 * info.el (Info-link-keymap): Use follow-link mechanism for
9574 header-line links (Bug#374).
9575
9576 * simple.el (deactivate-mark): Do not set the primary selection
9577 if another program has acquired it (Bug#11772).
9578
9579 2012-07-07 Kevin Ryde <user42@zip.com.au>
9580
9581 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9582 (woman-decode-region): Replace escaped-escapes without destroying
9583 bold or underline (Bug#11552).
9584 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9585
9586 2012-07-07 Chong Yidong <cyd@gnu.org>
9587
9588 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9589 (interprogram-cut-function, interprogram-paste-function):
9590 Mention that we typically mean the clipboard.
9591
9592 2012-07-06 Glenn Morris <rgm@gnu.org>
9593
9594 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9595
9596 * files.el (toggle-read-only): Restrict message to interactive use.
9597
9598 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9599
9600 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9601
9602 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9603
9604 2012-07-06 Glenn Morris <rgm@gnu.org>
9605
9606 * Makefile.in (compile-one-process): Rename from "recompile".
9607
9608 * Makefile.in (bzr-update): "compile" is the same as "recompile
9609 autoloads", but parallelizable, so use that instead.
9610
9611 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9612
9613 * window.el (quit-window): Always restore window height when
9614 it's saved in quit-restore parameter (Bug#11810).
9615
9616 2012-07-06 Glenn Morris <rgm@gnu.org>
9617
9618 * simple.el (kill-whole-line): Doc tweak.
9619
9620 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9621
9622 * files.el (file-relative-name): Compare file names
9623 case-insensitively if on MS-Windows or MS-DOS, or if
9624 read-file-name-completion-ignore-case is non-nil. Don't use
9625 case-fold-search for this purpose. (Bug#11827)
9626
9627 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9628
9629 * calendar/cal-dst.el (calendar-current-time-zone):
9630 Return calendar-current-time-zone-cache if non-nil.
9631
9632 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9633 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9634
9635 * calendar/cal-dst.el (calendar-current-time-zone):
9636 Return calendar-current-time-zone-cache if non-nil.
9637
9638 2012-07-06 Glenn Morris <rgm@gnu.org>
9639
9640 * Makefile.in (cvs-update): Remove old alias.
9641
9642 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9643
9644 Sync with Tramp 2.2.6-pre.
9645
9646 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9647 compatible declaration.
9648
9649 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9650 Protect `list-load-path-shadows' call.
9651
9652 * net/tramp-compat.el (top): Require packages, which aren't
9653 autoloaded anymore for XEmacs. Protect call of
9654 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9655 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9656 it hurts at least for SXEmacs.
9657 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9658 standard-value for `temporary-file-directory'.
9659
9660 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9661 Redirect stderr to /dev/null.
9662 (tramp-sh-handle-write-region): uid and gid can be floats.
9663 Reported by Russell Sim <russell.sim@gmail.com>.
9664 (tramp-sh-handle-vc-registered): Hide errors.
9665 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9666 and `start-file-process'.
9667 (tramp-maybe-open-connection): Check also whether `non-essential'
9668 is bound.
9669
9670 2012-07-04 Chong Yidong <cyd@gnu.org>
9671
9672 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9673 (xml-parse-tag): Likewise, and avoid changing entity tables.
9674 (xml-syntax-table): Define from scratch, making sure not to give
9675 x2000 and other Unicode spaces whitespace syntax, since those are
9676 not spaces in XML.
9677 (xml-parse-fragment): Delete unused function.
9678 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9679 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9680 (xml-entity-ref, xml-pe-reference-re)
9681 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9682 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9683 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9684 (xml-entity-value-re): Use syntax references in regexps where
9685 possible; no need to define inside a let-binding.
9686 (xml-parse-dtd): Use xml-pe-reference-re.
9687 (xml-entity-or-char-ref-re): New defconst.
9688 (xml-parse-string, xml-substitute-special): Use it.
9689
9690 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9691
9692 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9693 (find-file--read-only): New function.
9694 (find-file-read-only, find-file-read-only-other-window)
9695 (find-file-read-only-other-frame): Use it.
9696 (insert-file-contents-literally): Don't `fset'.
9697 (get-free-disk-space): Use locate-dominating-file.
9698
9699 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9700 function is already compiled.
9701
9702 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9703
9704 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9705
9706 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9707 files on the same host.
9708
9709 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9710
9711 * help-fns.el (describe-function-1): Only call
9712 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9713
9714 2012-07-03 Chong Yidong <cyd@gnu.org>
9715
9716 * xml.el: Protect parser against XML bombs.
9717 (xml-entity-expansion-limit): New variable.
9718 (xml-parse-string, xml-substitute-special): Use it.
9719 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9720
9721 2012-07-03 Glenn Morris <rgm@gnu.org>
9722
9723 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9724 Allow linking to specific messages in debbugs reports (eg 123#5).
9725
9726 2012-07-02 Chong Yidong <cyd@gnu.org>
9727
9728 * xml.el: Fix entity and character reference expansion, allowing
9729 them to expand into markup as per XML spec.
9730 (xml-default-ns): New variable.
9731 (xml-entity-alist): Use XML spec definitions for lt and amp.
9732 (xml-parse-region): Make first two arguments optional.
9733 Discard text properties.
9734 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9735 All callers changed.
9736 (xml-parse-tag): Call xml-parse-tag-1. For backward
9737 compatibility, this function should not modify buffer contents.
9738 (xml-parse-tag-1): Fix opening-tag regexp.
9739 (xml-parse-string): Rewrite, handling entity and character
9740 references properly.
9741 (xml--entity-replacement-text): Signal an error if a parameter
9742 entity is undefined.
9743
9744 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * comint.el (comint-output-filter): Filter out repeated prompts.
9747
9748 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9749 and file-name-absolute-p.
9750 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9751 internal calls.
9752
9753 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9754
9755 Spelling fixes.
9756 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9757 Rename from byte-compile--refiy-function. All uses changed.
9758
9759 2012-07-01 Chong Yidong <cyd@gnu.org>
9760
9761 * xml.el (xml--parse-buffer): New function. Move most of
9762 xml-parse-region here.
9763 (xml-parse-region): Copy region into a temporary buffer, since
9764 parameter entity substitution requires changing buffer contents.
9765 Use xml--parse-buffer.
9766 (xml-parse-file): Use xml--parse-buffer.
9767 (xml-parse-dtd): Make parameter entity substitution work right.
9768 Use proper regexps for ELEMENT declarations (Bug#7172).
9769
9770 2012-06-30 Glenn Morris <rgm@gnu.org>
9771
9772 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9773
9774 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9775 Remove outdated and unnecessary dbus declarations.
9776
9777 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9778
9779 * emacs-lisp/timer.el (timer-until): Subtract results of
9780 float-time, instead of taking float-time of the result of
9781 time-subtract, since float-time signals an error for negative time
9782 arguments.
9783
9784 2012-06-30 Chong Yidong <cyd@gnu.org>
9785
9786 * xml.el (xml-*-re): Convert defvars into defconsts, and
9787 eval-and-compile them so eval-and-compile works on derivatives.
9788 (xml--entity-replacement-text): Use eval-and-comple.
9789
9790 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9791
9792 * vc/vc-git.el (vc-git-registered): Use cache property
9793 `git-registered'.
9794 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9795 `vc-git-working-revision' in order to benefit from the cache.
9796 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9797
9798 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9799
9800 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9801 removed (likely outside Emacs). (Bug#11757)
9802
9803 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * emacs-lisp/cl-lib.el: Require macroexp.
9806
9807 2012-06-30 Chong Yidong <cyd@gnu.org>
9808
9809 * xml.el: Implement XML parameter entities.
9810 (xml-parameter-entity-alist): New variable.
9811 (xml-parse-region, xml-parse-fragment): Preserve previous values
9812 of xml-entity-alist and xml-parameter-entity-alist, so that
9813 repeated calls on different documents do not change them.
9814 (xml-parse-tag): Fix doctype regexp.
9815 (xml--entity-replacement-text): New function.
9816 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9817 properly requires url retrieval which is unimplemented.
9818 (xml-escape-string): Doc fix.
9819
9820 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9823
9824 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9825
9826 * fringe.el (fringe-mode): Doc fix.
9827
9828 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9829
9830 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9831 is non-nil.
9832 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9833 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9834
9835 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9836
9837 * calendar/cal-dst.el (calendar-current-time-zone):
9838 Return calendar-current-time-zone-cache if non-nil.
9839
9840 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9841
9842 * progmodes/which-func.el (which-func-format):
9843 Add mouse-face. (Bug#11698)
9844
9845 2012-06-29 Leo Liu <sdl.web@gmail.com>
9846
9847 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9848
9849 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * minibuffer.el (minibuffer-confirm-exit-commands):
9852 Add completion-at-point (bug#11725).
9853
9854 2012-06-29 Glenn Morris <rgm@gnu.org>
9855
9856 * progmodes/f90.el (f90-font-lock-keywords-2):
9857 Add some preprocessor elements. (Bug#10499)
9858
9859 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9862 Use syntax-propertize (bug#11739).
9863
9864 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9865
9866 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9867
9868 2012-06-28 Julien Danjou <julien@danjou.info>
9869
9870 * term.el (term-handle-colors-array): Use a set of new faces to
9871 color the terminal. Also uses :inverse-video property.
9872 (term-default-fg-color): Set to nil by default, deprecate in favor
9873 of `term-face'.
9874 (term-default-bg-color): Set to nil by default, deprecate in favor
9875 of `term-face'.
9876 (term-current-face): Use `term-face' by default.
9877 (term-bold-attribute): Variable deleted.
9878
9879 2012-06-28 Glenn Morris <rgm@gnu.org>
9880
9881 * simple.el (completion-list-mode-finish):
9882 Don't use toggle-read-only. (Since completion-list-mode has
9883 a special mode-class, it wasn't doing anything extra anyway.)
9884
9885 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 Make inlining of other-mode interpreted functions work (bug#11799).
9888 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9889 (byte-compile): Use it to fix compilation of lexical-binding closures.
9890 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9891 function, if needed.
9892
9893 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * help-mode.el (help-make-xrefs): Don't just withstand
9896 cyclic-variable-indirection but any error in documentation-property.
9897
9898 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9899 memory use.
9900 * bindings.el (bindings--define-key): New function.
9901 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9902 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9903 * bindings.el: Use it to purecopy define-key bindings.
9904
9905 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9906
9907 * emacs-lisp/cl.el (flet): Mark obsolete.
9908 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9909 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9910 * progmodes/js.el (js-c-fill-paragraph):
9911 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9912 (ebrowse-switch-member-buffer-to-derived-class):
9913 * play/5x5.el (5x5-solver): Use cl-flet.
9914
9915 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9916 (cl--symbol-function): New macro.
9917 (cl--letf, cl--letf*): Use it.
9918
9919 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9920 Strip "toggle-" if any.
9921
9922 2012-06-27 Glenn Morris <rgm@gnu.org>
9923
9924 * info.el (Info-default-directory-list): Move here from paths.el.
9925 * paths.el: Remove file, which is now empty.
9926 * loadup.el: No longer load "paths".
9927
9928 * custom.el (custom-initialize-delay): Doc fix.
9929
9930 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9931 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9932 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9933 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9934 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9935 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9936 * eshell/eshell.el (eshell-defgroup): Remove alias.
9937
9938 2012-06-27 Chong Yidong <cyd@gnu.org>
9939
9940 * help.el (help-enable-auto-load): New variable.
9941
9942 * help-fns.el (help-fns--autoloaded-p): New function.
9943 (describe-function-1): Refer to a function as "autoloaded" if it
9944 was autoloaded at any time in the past. Perform autoloading if
9945 help-enable-auto-load is non-nil.
9946
9947 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9948
9949 * makefile.w32-in (compile, compile-always): Depend on
9950 update-subdirs, not on subdirs.el. Otherwise, several different
9951 sub-targets of 'bootstrap' running in parallel could
9952 simultaneously write to subdirs.el, producing a garbled file.
9953
9954 2012-06-26 Sam Steingold <sds@gnu.org>
9955
9956 * files.el (file-name-base): New convenience function.
9957 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9958 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9959 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9960 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9961 * textmodes/ispell.el, textmodes/reftex-ref.el:
9962 * textmodes/tex-mode.el: Use it.
9963 Did not touch cedet and org because they are maintained elsewhere.
9964
9965 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9966
9967 * calendar/calendar.el (calendar-exit): Don't try to delete or
9968 iconify last frame. See:
9969 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9970
9971 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9972
9973 * server.el (server-process-filter): Remember dir in the
9974 process's `server-client-directory' properties.
9975
9976 2012-06-24 Chong Yidong <cyd@gnu.org>
9977
9978 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9979 non-tag text.
9980
9981 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9984
9985 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * help-fns.el (describe-variable): Don't croak when doc is not found.
9988 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9989 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9990 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9991 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9992 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9993 ((lambda ..) ..).
9994 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9995
9996 2012-06-23 Chong Yidong <cyd@gnu.org>
9997
9998 * info.el (Info-mouse-follow-link): Accept symbol values of
9999 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10000 (Info-fontify-node): Use Info-link-keymap for all navigation
10001 buttons, with link-args property to perform the desired action.
10002 (Info-link-keymap): Doc fix.
10003 (Info-next-link-keymap, Info-prev-link-keymap)
10004 (Info-up-link-keymap): Delete now-unused keymaps.
10005
10006 2012-06-23 Chong Yidong <cyd@gnu.org>
10007
10008 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10009
10010 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10011 system abbrevs.
10012
10013 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10014
10015 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10018 (bug#11719).
10019
10020 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10021 the requote function doesn't work properly (bug#11714).
10022
10023 2012-06-23 Glenn Morris <rgm@gnu.org>
10024
10025 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10026
10027 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 Further GV/CL cleanups.
10030 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10031 gv-expander.
10032 (gv--defun-declaration): New function.
10033 (defun-declarations-alist): Use it.
10034 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10035 (gv-place): Autoload.
10036 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10037 original definition of dotimes and dolist.
10038 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10039 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10040 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10041 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10042 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10043 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10044 to the function's definition.
10045 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10046 * window.el:
10047 * files.el:
10048 * faces.el:
10049 * env.el: Don't use CL.
10050
10051 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10052
10053 Support higher-resolution time stamps (Bug#9000).
10054
10055 * calendar/time-date.el (with-decoded-time-value): New arg
10056 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10057 (encode-time-value): New optional arg PICO. New type 3.
10058 (time-to-seconds) [!float-time]: Support the new picoseconds
10059 component if it's used.
10060 (seconds-to-time, time-subtract, time-add):
10061 Support ps-resolution time stamps as well.
10062
10063 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10064 (timerp): Timer vectors now have length 9, not 8.
10065 (timer--time): Support new-style (4-part) time stamps.
10066 (timer-next-integral-multiple-of-time): Time stamps now have
10067 picosecond resolution, so take a bit more care about rounding.
10068 (timer-relative-time, timer-inc-time): New optional arg psecs.
10069 (timer-set-time-with-usecs): Set psecs to 0.
10070 (timer--activate): Check psecs component, too.
10071
10072 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10073
10074 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10077 Move the non-essential binding to the post/pre-command-hook where it is
10078 more obviously correct.
10079
10080 * subr.el (read-passwd): Don't use a history at all.
10081 * savehist.el (savehist-save): Remove password saved accidentally
10082 because of the above bug.
10083
10084 2012-06-22 Bastien Guerry <bzg@gnu.org>
10085
10086 * files.el (toggle-read-only): Display a message telling whether
10087 the buffer is read-only or not (bug#11726).
10088
10089 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * emacs-lisp/gv.el: New file.
10092 * subr.el (push, pop): Extend to generalized variables.
10093 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10094 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10095 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10096 gv-define-simple-setter, and gv-define-expander.
10097 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10098 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10099 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10100 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10101 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10102 gv-letplace.
10103 (cl-defstruct): Don't define setf-method any more.
10104 * emacs-lisp/cl.el (flet): Don't autoload.
10105 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10106 (define-setf-expander, defsetf, define-modify-macro)
10107 (cl-struct-setf-expander): Move from cl-lib.el.
10108 * emacs-lisp/syntax.el:
10109 * emacs-lisp/ewoc.el:
10110 * emacs-lisp/smie.el:
10111 * emacs-lisp/cconv.el:
10112 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10113 (timer--time): Use gv-define-simple-setter.
10114 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10115 to avoid coding-system problems in subr.el. Adjust all users.
10116 (macroexp--maxsize, macroexp-small-p): New functions.
10117 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10118 * scroll-bar.el (scroll-bar-mode):
10119 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10120 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10121 * winner.el (winner-configuration, winner-make-point-alist)
10122 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10123 * files.el (locate-file-completion-table): Avoid list*.
10124
10125 2012-06-22 Chong Yidong <cyd@gnu.org>
10126
10127 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10128 (dired-create-files): Doc fix (Bug#11329).
10129 (dired-do-copy): Doc fix (Bug#11334).
10130 (dired-mark-read-string): Doc fix (Bug#11553).
10131
10132 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10133 Doc fix (Bug#11326).
10134 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10135 (dired-dwim-target): Doc fix.
10136
10137 * wdired.el (wdired-mode): Doc fix.
10138
10139 2012-06-22 Glenn Morris <rgm@gnu.org>
10140
10141 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10142 (pcmpl-rpm-cache-stamp-file): New constant.
10143 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10144 (pcmpl-rpm-packages): Optionally cache list of packages.
10145
10146 * pcmpl-rpm.el (pcmpl-rpm): New group.
10147 (pcmpl-rpm-query-options): New option.
10148 (pcmpl-rpm-packages): No need to inline it.
10149 Use pcmpl-rpm-query-options.
10150
10151 * calendar/calendar.el (calendar-in-read-only-buffer):
10152 Avoid some needless mode changes.
10153
10154 2012-06-21 Chong Yidong <cyd@gnu.org>
10155
10156 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10157 (desktop-path): Remove . from the default value (Bug#10977).
10158 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10159
10160 2012-06-20 Chong Yidong <cyd@gnu.org>
10161
10162 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10163
10164 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10165
10166 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10167 (bug#11201).
10168
10169 2012-06-20 Chong Yidong <cyd@gnu.org>
10170
10171 * term.el (term-window-width): Handle the case of a missing right
10172 fringe (Bug#8837).
10173 (term-check-size): Use window-text-height (Bug#5445).
10174 (term-mode): Use define-derived-mode. Minor cleanups.
10175 Set font-lock-defaults (Bug#7692).
10176 (term-move-columns, term-insert-char, term-emulate-terminal)
10177 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10178
10179 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10180
10181 * net/ange-ftp.el (ange-ftp-get-passwd):
10182 Bind `enable-recursive-minibuffers'.
10183 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10184
10185 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10186
10187 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10188
10189 2012-06-19 Glenn Morris <rgm@gnu.org>
10190
10191 * progmodes/python.el (python-mode): Derive from prog-mode.
10192
10193 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10194
10195 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10196 (edt-user-menu-bar-update-buffers): New functions.
10197 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10198
10199 2012-06-19 Chong Yidong <cyd@gnu.org>
10200
10201 * subr.el (with-selected-window): Preserve the selected window's
10202 terminal's top-frame (Bug#4702).
10203
10204 * window.el (save-selected-window): Likewise.
10205
10206 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * progmodes/python.el (python-rx-constituents): Move backquote.
10209 (python-skeleton-define, python-define-auxiliary-skeleton):
10210 Use `declare'.
10211
10212 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10213
10214 * minibuffer.el (read-file-name-default): Revert the patch from
10215 2012-06-17.
10216
10217 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10220 (pcase--u1, pcase--q1): Don't use apply-partially.
10221
10222 2012-06-18 Glenn Morris <rgm@gnu.org>
10223
10224 * progmodes/python.el (python-proc, python-buffer)
10225 (python-send-receive, python-send-string): Fix obsolete versions.
10226
10227 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (special-display-p): Completely remove stringp
10230 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10231
10232 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10233
10234 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10235
10236 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10237
10238 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10239 * net/tramp-sh.el (tramp-maybe-open-connection):
10240 Throw if `non-essential' is non-nil.
10241
10242 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10243
10244 * window.el (special-display-p): Signal an error if BUFFER-NAME
10245 is not a string (Bug#11713).
10246
10247 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10248
10249 * progmodes/python.el (python-info-beginning-of-backslash):
10250 Rename from python-info-beginning-of-backlash, as a spelling fix.
10251
10252 2012-06-17 Chong Yidong <cyd@gnu.org>
10253
10254 * term.el (term-emulate-terminal): If term-check-size is called,
10255 move point to the process mark without resetting point (Bug#4635).
10256
10257 2012-06-17 Glenn Morris <rgm@gnu.org>
10258
10259 * international/mule-cmds.el (mule-menu-keymap)
10260 (set-language-environment, set-locale-environment): Doc tweaks.
10261
10262 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10263
10264 * cus-face.el (custom-face-attributes): Add wave-style underline
10265 attribute.
10266 * faces.el (set-face-attribute): Update docstring to describe
10267 wave-style underline attribute.
10268
10269 2012-06-16 Chong Yidong <cyd@gnu.org>
10270
10271 * term/xterm.el (terminal-init-xterm): Discard input before
10272 querying background mode (Bug#10959).
10273
10274 2012-06-16 Stefan Merten <smerten@oekonux.de>
10275
10276 * textmodes/rst.el: Added and corrected some comments.
10277 (rst-re-alist-def): Improve symbol syntax.
10278 (rst-mode-syntax-table): Correct syntax entries.
10279 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10280 (rst-official-version, rst-official-cvs-rev): Update version
10281 information.
10282
10283 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10284
10285 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10286 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10287
10288 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10289
10290 * progmodes/python.el: New python.el merge.
10291 (python-guess-indent): Obsolete var.
10292 (python-indent-guess-indent-offset): New defcustom.
10293 (python-indent): Obsolete var.
10294 (python-indent-offset): New defcustom.
10295 (python-python-command, python-jython-command): Delete var.
10296 (python-shell-interpreter): New defcustom.
10297 (python-pdbtrack-do-tracking-p): Delete var.
10298 (python-pdbtrack-activate): New defcustom.
10299 (python-use-skeletons): Obsolete var.
10300 (python-skeleton-autoinsert): New defcustom.
10301 (inferior-python-filter-regexp, python-continuation-offset)
10302 (python-honour-comment-indentation, python-indent-string-contents)
10303 (python-jython-packages, python-mode-hook)
10304 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10305 (python-shell-prompt-alist)
10306 (python-source-modes): Delete defcustoms.
10307 (python-check-buffer-name, python-eldoc-setup-code)
10308 (python-eldoc-string-code, python-ffap-setup-code)
10309 (python-ffap-string-code, python-fill-comment-function)
10310 (python-fill-decorator-function, python-fill-paren-function)
10311 (python-fill-string-function, python-imenu-include-defun-type)
10312 (python-imenu-make-tree, python-imenu-subtree-root-label)
10313 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10314 (python-shell-compilation-regexp-alist)
10315 (python-shell-completion-module-string-code)
10316 (python-shell-completion-pdb-string-code)
10317 (python-shell-completion-setup-code)
10318 (python-shell-completion-string-code)
10319 (python-shell-enable-font-lock, python-shell-exec-path)
10320 (python-shell-extra-pythonpaths)
10321 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10322 (python-shell-process-environment)
10323 (python-shell-prompt-block-regexp)
10324 (python-shell-prompt-output-regexp)
10325 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10326 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10327 (python-shell-virtualenv-path): New defcustoms.
10328 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10329 (inferior-python-mode-syntax-table, python--prompt-regexp)
10330 (python-buffer, python-command python-python-command)
10331 (python-default-template, python-imports, python-indent-index)
10332 (python-indent-list, python-indent-list-length)
10333 (python-mode-running, python-pdbtrack-is-tracking-p)
10334 (python-preoutput-continuation, python-preoutput-leftover)
10335 (python-preoutput-result, python-preoutput-skip-next-prompt)
10336 (python-prev-dir/file, python-recursing)
10337 (python-saved-check-command, python-version-checked)
10338 (python-which-func-length-limit)
10339 (view-return-to-alist): Delete vars.
10340 (python-check-custom-command, python-dotty-syntax-table)
10341 (python-imenu-index-alist, python-indent-current-level)
10342 (python-indent-dedenters, python-indent-levels)
10343 (python-nav-beginning-of-defun-regexp)
10344 (python-nav-list-defun-positions-cache)
10345 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10346 (python-shell-internal-buffer)
10347 (python-skeleton-available): New vars.
10348 (def-python-skeleton): Delete macro.
10349 (python-skeleton-define): New macro.
10350 (python-define-auxiliary-skeleton, python-rx): New macros.
10351 (python-insert-class): Delete command.
10352 (python-skeleton-class): New command.
10353 (python-insert-def): Delete command.
10354 (python-skeleton-def): New command.
10355 (python-insert-for): Delete command.
10356 (python-skeleton-for): New command.
10357 (python-insert-if): Delete command.
10358 (python-skeleton-if): New command.
10359 (python-insert-try/except, python-insert-try/finally): Delete commands.
10360 (python-skeleton-try): New command.
10361 (python-insert-while): Delete command.
10362 (python-skeleton-while): New command.
10363 (python-backspace): Delete command.
10364 (python-indent-dedent-line-backspace): New command.
10365 (python-electric-colon): Delete command.
10366 (python-indent-electric-colon): New command.
10367 (python-guess-indent): Delete command.
10368 (python-indent-guess-indent-offset): New command.
10369 (python-shift-left): Delete command.
10370 (python-indent-shift-left): New command.
10371 (python-shift-right): Delete command.
10372 (python-indent-shift-right): New command.
10373 (python-find-function): Delete command.
10374 (python-nav-jump-to-defun): New command.
10375 (python-next-statement): Delete command.
10376 (python-nav-forward-sentence): New command.
10377 (python-previous-statement): Delete command.
10378 (python-nav-backward-sentence): New command.
10379 (python-fill-paragraph): Delete command.
10380 (python-fill-paragraph-function): New command.
10381 (python-send-buffer): Delete command.
10382 (python-shell-send-buffer): New command.
10383 (python-send-defun): Delete command.
10384 (python-shell-send-defun): New command.
10385 (python-send-region, python-send-region-and-go): Delete commands.
10386 (python-shell-send-region)
10387 (python-shell-switch-to-shell): New commands.
10388 (python-send-string): Delete command.
10389 (python-shell-send-string): New command.
10390 (python-switch-to-python): Delete command.
10391 (python-shell-switch-to-shell): New command.
10392 (python-describe-symbol): Delete command.
10393 (python-eldoc-at-point): New command.
10394 (python--set-prompt-regexp, python-args-to-list)
10395 (python-after-info-look, python-check-version)
10396 (python-check-comint-prompt, python-find-imports)
10397 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10398 (python-unload-function, python-expand-template)
10399 (python-maybe-jython, python-preoutput-filter)
10400 (python-pdbtrack-get-source-buffer)
10401 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10402 (python-pdbtrack-toggle-stack-tracking)
10403 (python-pdbtrack-track-stack-file, python-initial-text)
10404 (python-first-word, python-comment-line-p, python-send-command)
10405 (python-setup-brm, python-sentinel, python-set-proc)
10406 (python-skip-out, python-input-filter, python-outdent-p)
10407 (python-outline-level, python-backslash-continuation-line-p)
10408 (python-end-of-block, python-end-of-statement, python-mark-block)
10409 (python-beginning-of-block, python-beginning-of-statement)
10410 (python-blank-line-p, python-beginning-of-string)
10411 (python-open-block-statement-p): Delete functions.
10412 (python-indent-line, python-indent-line-1): Delete functions.
10413 (python-indent-line): New function.
10414 (python-indentation-levels): Delete function.
10415 (python-indent-calculate-levels): New function.
10416 (python-proc): Delete function.
10417 (python-shell-get-process): New function.
10418 (python-send-receive): Delete function.
10419 (python-shell-send-string-no-output): New function.
10420 (python-module-path): Delete function.
10421 (python-ffap-module-path): New function.
10422 (python-completion-at-point)
10423 (python-symbol-completions): Delete functions.
10424 (python-completion-complete-at-point): New function.
10425 (python-load-file): Delete function.
10426 (python-shell-send-file): New function.
10427 (python-calculate-indentation): Delete function.
10428 (python-indent-calculate-indentation): New function.
10429 (python-skip-comments/blanks): Delete function.
10430 (python-util-forward-comment): New function.
10431 (python-continuation-line-p): Delete function.
10432 (python-info-continuation-line-p): New function.
10433 (python-which-func, python-current-defun): Delete function.
10434 (python-info-current-defun): New function.
10435 (python-beginning-of-defun): Delete function.
10436 (python-nav-beginning-of-defun): New function.
10437 (python-close-block-statement-p)
10438 (python-block-end-p): Delete function.
10439 (python-info-closing-block): New function.
10440 (python-comint-output-filter-function)
10441 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10442 (python-fill-comment, python-fill-decorator, python-fill-paren)
10443 (python-fill-string, python-imenu-make-element-tree)
10444 (python-imenu-make-tree, python-imenu-tree-assoc)
10445 (python-indent-context, python-indent-dedent-line)
10446 (python-indent-line-function)
10447 (python-indent-post-self-insert-function)
10448 (python-indent-toggle-levels)
10449 (python-info-assignment-continuation-line-p)
10450 (python-info-beginning-of-backlash)
10451 (python-info-block-continuation-line-p)
10452 (python-info-closing-block-message)
10453 (python-info-line-ends-backslash-p)
10454 (python-info-looking-at-beginning-of-defun)
10455 (python-info-ppss-context, python-info-ppss-context-type)
10456 (python-nav-list-defun-positions, python-nav-read-defun)
10457 (python-nav-sentence-end, python-nav-sentence-start)
10458 (python-pdbtrack-comint-output-filter-function)
10459 (python-pdbtrack-set-tracked-buffer)
10460 (python-shell-calculate-exec-path)
10461 (python-shell-calculate-process-environment)
10462 (python-shell-completion--do-completion-at-point)
10463 (python-shell-completion--get-completions)
10464 (python-shell-completion-complete-at-point)
10465 (python-shell-completion-complete-or-indent)
10466 (python-shell-get-or-create-process)
10467 (python-shell-get-process-name)
10468 (python-shell-internal-get-or-create-process)
10469 (python-shell-internal-get-process-name)
10470 (python-shell-internal-send-string, python-shell-make-comint)
10471 (python-shell-parse-command, python-shell-send-setup-code)
10472 (python-skeleton-add-menu-items)
10473 (python-util-clone-local-variables, python-util-position)
10474 (run-python-internal, python-indentation-levels)
10475 (python-nav-beginning-of-defun)
10476 (python-completion-complete-at-point): New functions.
10477 (run-python): Change arguments. New API requirements.
10478
10479 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10482 (bug#11649).
10483
10484 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10485 (macroexp--expand-all): Use it.
10486
10487 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10488 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10489 Use `cl-function' instead.
10490
10491 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10492
10493 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10494 Suggested by Stefan Monnier while discussing bug#11657.
10495
10496 2012-06-14 Sam Steingold <sds@gnu.org>
10497
10498 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10499
10500 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10501
10502 * play/doctor.el (doctor-doc): Remove parameter and use
10503 doctor-sent instead of sent.
10504 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10505
10506 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * files.el: Require cl-lib.
10509 (file-name-non-special): Replace case -> cl-case.
10510
10511 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10512
10513 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10514 mapping from #' to function*.
10515
10516 2012-06-13 Chong Yidong <cyd@gnu.org>
10517
10518 * mouse.el (mouse-drag-track): Do not set the mark if the user
10519 releases the mouse without selecting anything (Bug#11588).
10520
10521 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10524 as well (bug#11646).
10525
10526 * loadup.el: Count byte-code functions as well.
10527
10528 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10529 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10530
10531 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10532 (bug#11649). Add cl-defun and cl-defmacro.
10533
10534 2012-06-13 Drew Adams <drew.adams@oracle.com>
10535
10536 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10537 Fix last change.
10538
10539 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10540
10541 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10542 Otherwise, it blocks in batch mode.
10543
10544 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10545
10546 * help-mode.el (bookmark-make-record-default): Declare.
10547
10548 2012-06-13 Chong Yidong <cyd@gnu.org>
10549
10550 * emacs-lisp/package.el (list-packages): Compute a list of
10551 packages that are newly-available since the last list-packages
10552 invocation.
10553 (package-menu--new-package-list): New var.
10554 (package-menu--generate, package-menu--print-info)
10555 (package-menu--status-predicate, package-menu-mark-install):
10556 Handle new status label "new".
10557
10558 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10561 conversion to backquotes.
10562
10563 2012-06-12 Chong Yidong <cyd@gnu.org>
10564
10565 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10566 Rename from gud-inhibit-global-bindings.
10567
10568 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10569
10570 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10571 hook from nxml-glyph-set-hook.
10572
10573 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10574 declaration.
10575
10576 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10577
10578 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10579 Convert to defcustom.
10580
10581 2012-06-12 Drew Adams <drew.adams@oracle.com>
10582
10583 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10584 New functions.
10585 (help-mode): Use them.
10586
10587 2012-06-11 Glenn Morris <rgm@gnu.org>
10588
10589 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10590 Use preprocessor face for directives.
10591 (fortran-directive-re): Doc fix.
10592
10593 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10596 conversion to backquotes (bug#11652).
10597
10598 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10599 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10600 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10601 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10602 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10603 (cl-ninth, cl-tenth): Mark them as inlinable.
10604 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10605 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10606 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10607 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10608 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10609 (cl-list*, cl-adjoin): Don't put an autoload manually.
10610 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10611 (cl--compiler-macro-list*): Add autoload cookie.
10612 (cl--compiler-macro-cXXr): New function.
10613
10614 * help-fns.el (help-fns--compiler-macro): New function extracted from
10615 describe-function-1; follow aliases and use `compiler-macro' property.
10616 (describe-function-1): Use it.
10617
10618 2012-06-11 Chong Yidong <cyd@gnu.org>
10619
10620 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10621 is uninstalled, if imagemagick is installed.
10622
10623 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * emacs-lisp/cl-lib.el: Use lexical-binding.
10626 (cl-map-extents, cl-maclisp-member): Remove.
10627 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10628 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10629 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10630 * emacs-lisp/cl-extra.el: Use lexical-binding.
10631 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10632 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10633 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10634 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10635 * emacs-lisp/cl-seq.el: Use lexical-binding.
10636 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10637 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10638 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10639 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10640 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10641 CL's internals.
10642
10643 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10644
10645 Sync with Tramp 2.2.6-pre.
10646
10647 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10648 `print-length' and `print-level' to nil, in order to avoid
10649 truncation. Reported by Christopher Schmidt
10650 <christopher@ristopher.com>.
10651
10652 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10653
10654 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10655 New defmacro.
10656 (tramp-compat-copy-directory): Add optional argument
10657 COPY-CONTENTS. It is not handled yet.
10658
10659 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10660 (tramp-ftp-file-name-p): Simplify.
10661
10662 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10663 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10664 connection vector.
10665
10666 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10667 (tramp-methods): Do not use `tramp-password-end-of-line'.
10668 (tramp-completion-function-alist-putty): Handle UNIX case.
10669 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10670 (tramp-do-file-attributes-with-stat)
10671 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10672 gid as real numbers. They could run out of integer range on cygwin.
10673 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10674 (tramp-sh-handle-expand-file-name): Handle hops.
10675 (tramp-open-connection-setup-interactive-shell):
10676 Use `tramp-cleanup'. Move check for busyboxes ...
10677 (tramp-find-shell): ... here. Simplify implementation.
10678 Set "remote-shell" property also for alternative shells.
10679 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10680 If failing, a regular file would be written otherwise.
10681 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10682 (tramp-find-inline-encoding): Cache the coding commands in the
10683 process cache. Apply test command on the remote side, if defined.
10684 (tramp-find-inline-compress): Cache the compress commands in the
10685 process cache.
10686 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10687 when requested. Handle hops.
10688 (tramp-current-connection): New defvar.
10689 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10690 Throw `suppress', if there was a failed connection shortly before.
10691 Handle user interrupt. (Bug#10187)
10692 (tramp-get-inline-compress, tramp-get-inline-coding):
10693 Read connection properties from the process cache.
10694
10695 * net/tramp-smb.el (tramp-smb-server-version)
10696 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10697 New defconsts.
10698 (tramp-smb-prompt): Extend for powershell prompt.
10699 (tramp-smb-file-name-handler-alist): Add handlers for
10700 `process-file', `shell-command' and `start-file-process'.
10701 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10702 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10703 (tramp-smb-file-name-p): Simplify.
10704 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10705 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10706 (tramp-smb-shell-quote-argument): New defuns.
10707 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10708 Implement using "tar". By this, time-stamps are preserved.
10709 (tramp-smb-handle-copy-file): Handle also the case of directories.
10710 (tramp-smb-do-file-attributes-with-stat)
10711 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10712 Use `tramp-get-connection-buffer').
10713 (tramp-smb-handle-rename-file): Use "rename", when source and
10714 target are on the same share.
10715 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10716 Use `tramp-smb-server-version'.
10717 (tramp-smb-wait-for-output): Remove prompt.
10718
10719 * net/tramp.el (top): Require 'cl.
10720 (tramp-methods, tramp-rsh-end-of-line):
10721 Remove `tramp-password-end-of-line' from docstring.
10722 (tramp-save-ad-hoc-proxies): New defcustom.
10723 (tramp-completion-function-alist): Adapt docstring.
10724 (tramp-default-password-end-of-line): Remove defcustom.
10725 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10726 (tramp-user-regexp, tramp-file-name-regexp-unified)
10727 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10728 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10729 (tramp-remote-file-name-spec-regexp): New defconst.
10730 (tramp-file-name-structure): Extend structure for hops.
10731 (tramp-get-method-parameter): Move up.
10732 (tramp-file-name-p, tramp-dissect-file-name)
10733 (with-parsed-tramp-file-name): Handle hops.
10734 (tramp-file-name-hop): New defun.
10735 (tramp-make-tramp-file-name): New optional arg HOP.
10736 (tramp-message-show-progress-reporter-message): New defvar.
10737 (tramp-with-progress-reporter): Use it. We cannot use
10738 `tramp-message-show-message' here, because this suppresses also
10739 error buffers.
10740 (tramp-error-with-buffer): Suppress buffer view, if
10741 `tramp-message-show-message' is nil.
10742 Use `tramp-get-connection-buffer'.
10743 (tramp-cleanup): New defun.
10744 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10745 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10746 an error unchanged.
10747 (tramp-completion-handle-file-name-all-completions): Handle hops.
10748 Fix an error when called from ido.
10749 (tramp-completion-dissect-file-name): Use better local variable
10750 name. Add hop to the vector.
10751 (tramp-handle-insert-file-contents): Use progress-reporter for the
10752 whole scenario.
10753 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10754 to `t'.
10755 (tramp-check-for-regexp): Simplify search.
10756 (tramp-enter-password): Remove it. Move implementation ...
10757 (tramp-action-password): ... here.
10758 (tramp-mode-string-to-int, tramp-local-host-p)
10759 (tramp-make-tramp-temp-file, tramp-read-passwd)
10760 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10761 Set tramp-autoload cookie.
10762
10763 * net/trampver.el: Update release number.
10764
10765 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10766 Michael Albinus <michael.albinus@gmx.de>
10767
10768 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10769 (tramp-parse-group, tramp-parse-file)
10770 (tramp-parse-shostkeys-sknownhosts): New defuns.
10771 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10772 (tramp-parse-shosts-group, tramp-parse-sconfig)
10773 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10774 (tramp-parse-sknownhosts, tramp-parse-hosts)
10775 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10776 Use them.
10777 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10778 (tramp-parse-putty-group): Don't narrow.
10779 (tramp-parse-putty): Make a loop.
10780 (tramp-file-name-handler): Catch the `suppress' signal.
10781
10782 2012-06-11 Chong Yidong <cyd@gnu.org>
10783
10784 * image.el (imagemagick-register-types): Put the ImageMagick entry
10785 at the end of image-type-file-name-regexps.
10786
10787 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10788
10789 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10790 (pcase, pcase-let*, pcase-dolist): Use them.
10791
10792 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * emacs-lisp/pcase.el (pcase--let*): New function.
10795 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10796 (pcase--expand): Use macroexp-let².
10797
10798 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10801 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10802 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10803 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10804 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10805 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10806
10807 2012-06-10 Glenn Morris <rgm@gnu.org>
10808
10809 * mail/rmail.el (rmail-yank-current-message): Leave point at
10810 correct position. (Bug#11660)
10811
10812 2012-06-10 Chong Yidong <cyd@gnu.org>
10813
10814 * allout-widgets.el: Fix code header.
10815
10816 2012-06-10 Chong Yidong <cyd@gnu.org>
10817
10818 * cus-edit.el (customize-changed-options-previous-release):
10819 Bump to 24.1.
10820
10821 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10822
10823 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10824
10825 2012-06-09 Chong Yidong <cyd@gnu.org>
10826
10827 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10828
10829 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (special-display-popup-frame): Don't use
10832 window--display-buffer (Bug#11651).
10833
10834 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10835
10836 Fix parallel builds: make sure loaddefs.el is not being written
10837 while Lisp files are compiled.
10838 (compile): Don't depend on 'mh-autoloads'.
10839 (compile-CMD, compile-SH): Depend on 'autoloads'.
10840 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10841
10842 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10843
10844 2012-06-09 Chong Yidong <cyd@gnu.org>
10845
10846 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10847 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10848 Doc fixes (Bug#11225).
10849
10850 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10853 a function if there's a clear indication that it has a compiler-macro.
10854 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10855 (macro-declarations-alist): Add arglist to declaration functions.
10856 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10857 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10858 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10859 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10860 Also add autoload to find the compiler macro.
10861 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10862 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10863 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10864 (cl--compiler-macro-get): New functions, replacing calls to
10865 cl-define-compiler-macro.
10866 (cl-typep) [compiler-macro]: Use macroexp-let².
10867
10868 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10869
10870 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10871 string properly, fixes Bug#11473.
10872
10873 2012-06-08 Chong Yidong <cyd@gnu.org>
10874
10875 * faces.el (set-face-attribute): Doc fix.
10876 (modify-face): Don't use :bold and :italic.
10877 (error, warning, success): Tweak definitions.
10878
10879 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10880 (custom-modified, custom-set, custom-changed, custom-themed)
10881 (custom-saved, custom-button, custom-button-mouse)
10882 (custom-button-pressed, custom-state, custom-comment-tag)
10883 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10884 (custom-group-subtitle): Use new-style face specs.
10885 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10886 (custom-set-face, custom-changed-face, custom-saved-face)
10887 (custom-button-face, custom-button-pressed-face)
10888 (custom-documentation-face, custom-state-face)
10889 (custom-comment-face, custom-comment-tag-face)
10890 (custom-variable-tag-face, custom-variable-button-face)
10891 (custom-face-tag-face, custom-group-tag-face-1)
10892 (custom-group-tag-face): Remove obsolete face alias.
10893
10894 * epa.el (epa-validity-high, epa-validity-medium)
10895 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10896 (epa-field-name, epa-field-body):
10897 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10898 (font-lock-keyword-face, font-lock-builtin-face)
10899 (font-lock-function-name-face, font-lock-variable-name-face)
10900 (font-lock-type-face, font-lock-constant-face):
10901 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10902 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10903 * speedbar.el (speedbar-button-face, speedbar-file-face)
10904 (speedbar-directory-face, speedbar-tag-face)
10905 (speedbar-selected-face, speedbar-highlight-face)
10906 (speedbar-separator-face):
10907 * whitespace.el (whitespace-newline, whitespace-space)
10908 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10909 (whitespace-line, whitespace-space-before-tab)
10910 (whitespace-space-after-tab, whitespace-indentation)
10911 (whitespace-empty):
10912 * emulation/cua-base.el (cua-global-mark):
10913 * eshell/em-prompt.el (eshell-prompt):
10914 * net/newst-plainview.el (newsticker-new-item-face)
10915 (newsticker-old-item-face, newsticker-immortal-item-face)
10916 (newsticker-obsolete-item-face, newsticker-date-face)
10917 (newsticker-statistics-face, newsticker-default-face):
10918 * net/newst-reader.el (newsticker-feed-face)
10919 (newsticker-extra-face, newsticker-enclosure-face):
10920 * net/newst-treeview.el (newsticker-treeview-face)
10921 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10922 (newsticker-treeview-immortal-face)
10923 (newsticker-treeview-obsolete-face)
10924 (newsticker-treeview-selection-face):
10925 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10926 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10927 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10928 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10929 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10930 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10931 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10932 (mpuz-text):
10933 * progmodes/vera-mode.el (vera-font-lock-number)
10934 (vera-font-lock-function, vera-font-lock-interface):
10935 * textmodes/table.el (table-cell): Use new-style face specs, and
10936 don't use the old :bold and :italic attributes.
10937
10938 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10939 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10940 (ebrowse-member-class, ebrowse-progress): Likewise.
10941 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10942 (ebrowse-file-name-face, ebrowse-default-face)
10943 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10944 (ebrowse-progress-face): Remove obsolete faces.
10945
10946 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10947 Inherit from error and warning faces respectively.
10948
10949 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10950 Likewise.
10951 (flyspell-incorrect-face, flyspell-duplicate-face):
10952 Remove obsolete aliases.
10953
10954 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10955
10956 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10957 Avoid infloop.
10958
10959 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * startup.el (argv, argi): Make lexically scoped.
10962 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10963 * emacs-lisp/cl-macs.el: Use lexical-binding.
10964 Rename cl-bind-* to cl--bind-*.
10965 * files.el: Don't require `cl' since it doesn't use it.
10966 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10967
10968 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10969
10970 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10971 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10972 instead of calling external sort utility.
10973 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10974
10975 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10976
10977 * descr-text.el (describe-char): Mention how to insert the
10978 character, if the current input method doesn't support it.
10979 See the discussion in this thread for the details:
10980 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10981
10982 2012-06-08 Sam Steingold <sds@gnu.org>
10983
10984 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10985 XF86Back to previous-buffer.
10986 (minibuffer-local-map): Bind them to next-history-element and
10987 previous-history-element respectively.
10988 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10989 help-go-back respectively.
10990 * info.el (Info-mode-map): Bind them to Info-history-forward and
10991 Info-history-back respectively.
10992 These are the keys next to Up on the ThinkPad keyboard.
10993
10994 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10997 * emacs-lisp/cl-macs.el: Provide itself.
10998 (cl--labels-convert-cache): New var.
10999 (cl--labels-convert): New function.
11000 (cl-flet, cl-labels): New implementation with new semantics, relying on
11001 lexical-binding.
11002 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11003 (cl-closure-vars, cl--function-convert-cache)
11004 (cl--function-convert): Move from cl-macs.el.
11005 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11006 rename by removing the "cl-" prefix.
11007 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11008
11009 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11012 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11013 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11014 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11015 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11016 (cl-hash-table-count): Add old compatibility aliases.
11017
11018 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11019 Use macroexpand-all-environment instead.
11020 (cl--old-macroexpand): New var.
11021 (cl--sm-macroexpand): New function.
11022 (cl-symbol-macrolet): Use it during macro expansion.
11023 (cl--function-convert-cache): New var.
11024 (cl--function-convert): New function, extracted from
11025 cl-macroexpand-all.
11026 (cl-lexical-let): Use it.
11027
11028 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11029 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11030 (cl-member): Remove old alias.
11031
11032 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11033 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11034 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11035 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11036 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11037 (cl-macroexpand-cmacs): Remove var.
11038 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11039 Use macroexpand-all instead.
11040
11041 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11044 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11045 (macroexp-copyable-p): New functions and macros.
11046 * emacs-lisp/edebug.el (edebug-unwrap):
11047 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11048 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11049 (pcase--let*): Remove.
11050 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11051 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11052 macroexp-const-p instead.
11053 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11054
11055 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11056 instead of "cl-" for internal definitions. Use macroexp-const-p.
11057 (cl-old-bc-file-form): Remove var.
11058 (cl-const-exprs-p): Remove fun.
11059 (cl-labels, cl-macrolet): Use backquote.
11060 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11061 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11062 (cl-define-setf-expander): Rename from cl-define-setf-method.
11063 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11064
11065 * international/mule-cmds.el: Don't require CL.
11066 (view-hello-file): Don't use `letf'.
11067
11068 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11069
11070 * tmm.el (tmm-prompt): Use string-prefix-p.
11071 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11072 (tmm-add-prompt): Use minibuffer-completion-help.
11073 (tmm-delete-map): Remove.
11074
11075 * subr.el (kbd): Make it its own function.
11076
11077 2012-06-07 Stefan Merten <smerten@oekonux.de>
11078
11079 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11080 Silence compiler warnings. Fix versions.
11081 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11082 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11083 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11084 (rst-package-emacs-version-alist): Correct Emacs version to
11085 represent major merge with upstream.
11086 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11087
11088 2012-06-06 Glenn Morris <rgm@gnu.org>
11089
11090 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11091 Only print environment variables if set.
11092
11093 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11096 (macroexp--cons): Rename from maybe-cons.
11097 (macroexp--accumulate): Rename from macroexp-accumulate.
11098 (macroexp--all-forms): Rename from macroexpand-all-forms.
11099 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11100 (macroexp--expand-all): Rename from macroexpand-all-1.
11101
11102 2012-06-06 Sam Steingold <sds@gnu.org>
11103
11104 * calendar/calendar.el (calendar-in-read-only-buffer):
11105 Call `special-mode' to enable the standard read-only keybindings.
11106
11107 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11110 with "loading" messages (bug#11635).
11111
11112 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11113
11114 * files.el (enable-remote-dir-locals): New option.
11115 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11116
11117 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11118 Ensure, that the temp directory is local.
11119
11120 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11121 `temporary-file-directory'.
11122
11123 * progmodes/python.el (python-send-region): Ensure, that the
11124 temporary file is created also in the remote case.
11125
11126 2012-06-06 Glenn Morris <rgm@gnu.org>
11127
11128 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11129 (vc-rcs-update-changelog): Use it.
11130
11131 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11132
11133 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11134 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11135 (vc-sccs-diff): Replace use of the external vcdiff script.
11136
11137 2012-06-05 Glenn Morris <rgm@gnu.org>
11138
11139 * ledit.el: Move to obsolete/.
11140
11141 2012-06-05 Sam Steingold <sds@gnu.org>
11142
11143 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11144 patch (Bug#11140).
11145
11146 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * emacs-lisp/cust-print.el: Move to obsolete.
11149
11150 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11151 compiler-macro expansion.
11152
11153 Add native compiler-macro support.
11154 * emacs-lisp/macroexp.el (macroexpand-all-1):
11155 Support compiler-macros directly. Properly follow aliases and apply
11156 the compiler macros more thoroughly.
11157 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11158 macroexpand now properly follows aliases.
11159 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11160 (cl-compiler-macroexpand): Use new prop.
11161 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11162
11163 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11164
11165 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11166
11167 * window.el (get-lru-window, get-mru-window, get-largest-window):
11168 New argument NOT-SELECTED to avoid picking the selected window.
11169 (window--display-buffer-1, window--display-buffer-2): Replace by
11170 new function window--display-buffer
11171 (display-buffer-same-window, display-buffer-reuse-window)
11172 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11173 Use window--display-buffer.
11174 (display-buffer-use-some-window): Remove temporary dedication
11175 hack by calling get-lru-window and get-largest-window with
11176 NOT-SELECTED argument non-nil. Call window--display-buffer.
11177
11178 2012-06-05 Glenn Morris <rgm@gnu.org>
11179
11180 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11181 Replace external vcdiff script.
11182
11183 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11186
11187 2012-06-04 Chong Yidong <cyd@gnu.org>
11188
11189 * image.el (imagemagick-types-inhibit): Revert last change.
11190 Add INFO and M.
11191 (imagemagick-enabled-types): Remove CIN and EPS*.
11192
11193 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * emacs-lisp/cl-lib.el: Rename from cl.el.
11196 * emacs-lisp/cl.el: New compatibility file.
11197 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11198 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11199 to obey the "cl-" prefix.
11200 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11201
11202 2012-06-03 Glenn Morris <rgm@gnu.org>
11203
11204 * emacs-lisp/authors.el (authors-aliases): Addition.
11205
11206 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11207 Fix :version.
11208
11209 2012-06-03 Stefan Merten <smerten@oekonux.de>
11210
11211 * textmodes/rst.el: Add comments.
11212 (rst-transition, rst-adornment): New faces.
11213 (rst-adornment-faces-alist): Make default safe to reevaluate.
11214 Fixes
11215 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11216 Improve customization tags.
11217 (rst-define-level-faces): Clarify meaning.
11218
11219 2012-06-03 Chong Yidong <cyd@gnu.org>
11220
11221 * progmodes/compile.el (compilation-mode-line-fail)
11222 (compilation-mode-line-run, compilation-mode-line-exit):
11223 New faces.
11224 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11225
11226 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11227
11228 * progmodes/which-func.el (which-func-update-ediff-windows):
11229 New function. Use it in ediff-select-hook (Bug#11478).
11230
11231 2012-06-03 Chong Yidong <cyd@gnu.org>
11232
11233 * bindings.el: Remove explicit help text from format-mode-line.
11234 It is now supplied by mode-line-default-help-echo.
11235 (mode-line-front-space, mode-line-end-spaces)
11236 (mode-line-misc-info): New variables.
11237 (mode-line-modes, mode-line-position): Move the default value to
11238 the variable definition.
11239 (mode-line-default-help-echo): New defcustom.
11240 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11241 (mode-line-modified-help-echo): New functions.
11242 (mode-line-mule-info, mode-line-modified): Use them.
11243 (mode-line-eol-desc, propertized-buffer-identification):
11244 Consistency fixes for help text.
11245 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11246 set-buffer-file-coding-system (Bug#289).
11247 (mode-line-mule-info-help-echo): Update help text.
11248
11249 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * simple.el (execute-extended-command): Set real-this-command
11252 (bug#11506).
11253
11254 2012-06-02 Chong Yidong <cyd@gnu.org>
11255
11256 Remove incorrect uses of "modeline" in comments, docstrings, and
11257 function/variable names (Bug#10329).
11258
11259 * cus-edit.el (mode-line):
11260 * dframe.el (dframe-mouse-hscroll):
11261 * emacs-lisp/re-builder.el:
11262 * emacs-lisp/easy-mmode.el (define-minor-mode):
11263 * frame.el (set-frame-name):
11264 * help.el (lookup-minor-mode-from-indicator):
11265 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11266 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11267 (c-toggle-hungry-state):
11268 * progmodes/antlr-mode.el (antlr-language-alist):
11269 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11270 * progmodes/vhdl-mode.el (vhdl-mode):
11271 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11272 * term/ns-win.el (ns-face-at-pos):
11273 * term/sup-mouse.el (sup-mouse-report):
11274 * textmodes/flyspell.el (flyspell-mode-line-string):
11275 * textmodes/ispell.el (ispell-highlight-face):
11276 * textmodes/reftex-global.el:
11277 * vc/vc-arch.el (vc-arch-mode-line-string):
11278 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11279 * vc/vc-git.el (vc-git-mode-line-string):
11280 * vc/vc-hooks.el (vc-display-status)
11281 (vc-default-mode-line-string):
11282 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11283
11284 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11285
11286 * dired.el (dired-sort-set-mode-line): Rename from
11287 dired-sort-set-modeline. All callers changed.
11288
11289 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11290 eshell-status-in-modeline.
11291
11292 * foldout.el (foldout-mode-line-string): Rename from
11293 foldout-modeline-string. All callers changed.
11294 (foldout-update-mode-line): Rename from foldout-update-modeline.
11295
11296 * subr.el (redraw-modeline): Make into obsolete alias.
11297
11298 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11299 timeclock-modeline-display. Make old name an alias.
11300 (timeclock-update-mode-line): Likewise. All callers changed.
11301 (timeclock-mode-line-display): No need to check before using
11302 add-hook.
11303 (timeclock-relative, timeclock-day-over-hook)
11304 (timeclock-use-elapsed, timeclock-mode-string)
11305 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11306
11307 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11308 crisp-mode-modeline-string.
11309
11310 * play/solitaire.el (solitaire-build-mode-line): Rename from
11311 solitaire-build-modeline. All callers changed.
11312
11313 * play/zone.el (zone-hiding-mode-line): Rename from
11314 zone-hiding-modeline. All callers changed.
11315 (zone): Remove unusued `modeline-hidden-level' property.
11316
11317 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11318 xscheme-modeline-initialize. All callers changed.
11319
11320 * strokes.el (strokes-lighter): Rename from
11321 strokes-modeline-string.
11322
11323 * textmodes/sgml-mode.el (html-face-tag-alist)
11324 (html-tag-face-alist): Use mode-line face instead of obsolete
11325 alias modeline.
11326
11327 2012-06-02 Stefan Merten <smerten@oekonux.de>
11328
11329 * textmodes/rst.el: Always require `cl'.
11330 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11331
11332 2012-06-02 Chong Yidong <cyd@gnu.org>
11333
11334 * image.el (imagemagick-enabled-types): Rename from
11335 imagemagick-types-enable. Add many more types.
11336 (imagemagick-types-inhibit): Change default to nil.
11337 (imagemagick-filter-types): Caller changed.
11338
11339 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * emacs-lisp/cl-macs.el: Use backquotes.
11342 (cl-transform-function-property): Use eval-and-compile rather than
11343 abusing `require'.
11344 (defstruct): Use declare-function instead of with-no-warnings.
11345
11346 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11347 (byte-compile-output-docform): Re-add the print-circle bindings.
11348 (byte-compile-fix-header): Use #$ just because it's shorter.
11349 (byte-compile-output-file-form): Remove defun/defmacro.
11350
11351 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11352
11353 * simple.el (choose-completion): Remove now obsolete binding for
11354 owindow.
11355
11356 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11357
11358 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11359 in order to avoid "Stack overflow in regexp matcher".
11360
11361 2012-05-31 Glenn Morris <rgm@gnu.org>
11362
11363 * image.el: For clarity, call imagemagick-register-types at
11364 top-level, rather than relying on a custom :initialize.
11365 (imagemagick-types-enable): New option. (Bug#11557)
11366 (imagemagick-filter-types): New function. (Bug#7406)
11367 (imagemagick-register-types): Use imagemagick-filter-types.
11368 If disabling support, remove elements altogether rather
11369 than using an impossible regexp.
11370 (imagemagick-types-inhibit): Give it the default init function.
11371
11372 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11373
11374 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11375 Handle arbitrary file name lengths (Bug#11585).
11376
11377 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11378
11379 * desktop.el (desktop-read): Clear previous and next buffers for
11380 all windows and bury *Messages* buffer (bug#11556).
11381
11382 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 Add `declare' for `defun'. Align `defmacro's with it.
11385 * emacs-lisp/easy-mmode.el (define-minor-mode)
11386 (define-globalized-minor-mode): Don't autoload the var definitions.
11387 * emacs-lisp/byte-run.el: Use lexical-binding.
11388 (defun-declarations-alist, macro-declarations-alist): New vars.
11389 (defmacro, defun): Use them.
11390 (make-obsolete, define-obsolete-function-alias)
11391 (make-obsolete-variable, define-obsolete-variable-alias):
11392 Use `declare'.
11393 (macro-declaration-function): Mark obsolete.
11394 * emacs-lisp/autoload.el: Use lexical-binding.
11395 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11396
11397 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11398
11399 * textmodes/ispell.el (ispell-with-no-warnings):
11400 Define as a macro.
11401 (ispell-kill-ispell, ispell-change-dictionary):
11402 Use `called-interactively-p' for Emacs instead of obsolete
11403 `interactive-p'.
11404
11405 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11408 (macro-declaration-function): Move var from C code.
11409 (macro-declaration-function): Define function with defalias.
11410 * emacs-lisp/macroexp.el (macroexpand-all-1):
11411 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11412 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11413 defun/defmacro any more.
11414 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11415 Provide fallback for unknown arglist.
11416 (byte-compile-arglist-warn): Change calling convention.
11417 (byte-compile-output-file-form): Move print-vars binding.
11418 (byte-compile-output-docform): Simplify accordingly.
11419 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11420 (byte-compile-defmacro-declaration): Remove.
11421 (byte-compile-file-form-defmumble): Generalize to defalias.
11422 (byte-compile-output-as-comment): Return byte-positions.
11423 Simplify callers accordingly.
11424 (byte-compile-lambda): Use `assert'.
11425 (byte-compile-defun, byte-compile-defmacro): Remove.
11426 (byte-compile-file-form-defalias):
11427 Use byte-compile-file-form-defmumble.
11428 (byte-compile-defalias-warn): Remove.
11429
11430 2012-05-29 Stefan Merten <smerten@oekonux.de>
11431
11432 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11433 possible. Fix authors. Improve comments. Improve loading of `cl'.
11434
11435 (rst-mode-abbrev-table): Merge definition.
11436 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11437 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11438
11439 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11440
11441 * calendar/icalendar.el
11442 (icalendar-export-region): Export UID properly.
11443
11444 2012-05-29 Leo Liu <sdl.web@gmail.com>
11445 * calendar/icalendar.el (icalendar-import-format):
11446 Add `icalendar-import-format-uid' (Bug#11525).
11447 (icalendar-import-format-uid): New.
11448 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11449 Export UID.
11450
11451 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11454 different alternative patterns.
11455 (pcase-codegen): Be more careful to preserve identity.
11456 (pcase--u1): Don't forget to mark vars as used.
11457
11458 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11459 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11460 (byte-compile-from-buffer): ...rather than here.
11461
11462 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11463 functions from byte-compile-function-environment.
11464
11465 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11466
11467 * window.el (window-deletable-p): Avoid deleting the root window
11468 of a frame with an active minibuffer.
11469
11470 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11471
11472 * simple.el (choose-completion): Use quit-window (Bug#11567).
11473
11474 2012-05-29 Chong Yidong <cyd@gnu.org>
11475
11476 * whitespace.el (whitespace-cleanup): Fix usage of
11477 whitespace-empty-at-bob-regexp (Bug#11492).
11478
11479 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11480
11481 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11482 revert (Bug#11488).
11483
11484 2012-05-29 Juri Linkov <juri@jurta.org>
11485
11486 * isearch.el (isearch-mode-map): Bind `M-s _' to
11487 `isearch-toggle-symbol'. Bind `M-s c' to
11488 `isearch-toggle-case-fold'.
11489 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11490 (isearch-forward): Add `M-s _' to the docstring.
11491 (isearch-forward-symbol, isearch-toggle-case-fold)
11492 (isearch-symbol-regexp): New functions. (Bug#11381)
11493
11494 2012-05-29 Juri Linkov <juri@jurta.org>
11495
11496 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11497 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11498 a function, call it to get the regexp.
11499 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11500 property `isearch-message-prefix' instead of the string "word ".
11501 (isearch-search-fun-default): For the case of `isearch-word',
11502 return a lambda that calls re-search-forward/re-search-backward
11503 with a regexp returned by `word-search-regexp' or by the function
11504 in `isearch-word'.
11505
11506 2012-05-29 Juri Linkov <juri@jurta.org>
11507
11508 * isearch.el (isearch-search-fun-default): New function.
11509 (isearch-search-fun): Move default part to the new function
11510 `isearch-search-fun-default'.
11511 (isearch-search-fun-function): Set the default value to
11512 `isearch-search-fun-default'. (Bug#11381)
11513
11514 * comint.el (comint-history-isearch-end):
11515 Use `isearch-search-fun-default'.
11516 (comint-history-isearch-search): Use `isearch-search-fun-default'
11517 and remove spacial case for `isearch-word'.
11518 (comint-history-isearch-wrap): Remove spacial case for
11519 `isearch-word'.
11520
11521 * hexl.el (hexl-isearch-search-function):
11522 Use `isearch-search-fun-default'.
11523
11524 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11525 Use `word-search-regexp' for `isearch-word'.
11526
11527 * misearch.el (multi-isearch-search-fun):
11528 Use `isearch-search-fun-default'.
11529
11530 * simple.el (minibuffer-history-isearch-search):
11531 Use `isearch-search-fun-default' and remove spacial case for
11532 `isearch-word'.
11533 (minibuffer-history-isearch-wrap): Remove spacial case for
11534 `isearch-word'.
11535
11536 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11537 Remove spacial case for `isearch-word'.
11538 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11539
11540 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11541
11542 Decrease XEmacs incompatibilities.
11543 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11544 Use `string-match'.
11545 (flyspell-delete-region-overlays): Use alternative definition for
11546 XEmacs.
11547 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11548 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11549 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11550 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11551 `define-obsolete-face-alias' under XEmacs, but old method.
11552
11553 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11554 `with-no-warnings' definition or Emacs alias.
11555 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11556 (ispell-word): Do not use `region-p' if XEmacs.
11557
11558 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11559
11560 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11561 Check for `ispell-dictionary-base-alist' instead of full
11562 `ispell-dictionary-alist'.
11563 (ispell-init-process): Show spellchecker when starting new Ispell
11564 process.
11565
11566 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11569 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11570
11571 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11572
11573 * version.el (motif-version-string, gtk-version-string)
11574 (ns-version-string): Declare.
11575
11576 2012-05-27 Juri Linkov <juri@jurta.org>
11577
11578 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11579 after the `eval-defun-1' specialcaseing
11580 like in `edebug-eval-defun' (bug#10181).
11581
11582 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11583 like in `eval-defun-1'.
11584
11585 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11586
11587 * mail/sendmail.el (mail-yank-region):
11588 Recognize rmail-yank-current-message in addition to insert-buffer.
11589 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11590 a *mail* buffer created through rmail-start-mail with sendmail as
11591 mail-user-agent.
11592
11593 2012-05-27 Chong Yidong <cyd@gnu.org>
11594
11595 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11596 Default to 256 (Bug#11267).
11597
11598 * help.el (describe-mode): Doc fix.
11599
11600 2012-05-26 Glenn Morris <rgm@gnu.org>
11601
11602 * w32-fns.el (w32-init-info): Remove.
11603 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11604
11605 * info.el (info-initialize): For self-contained NS builds, put the
11606 included info/ directory at the front. (Bug#2791)
11607
11608 * paths.el (Info-default-directory-list): Make it a defcustom,
11609 mainly so that we can use custom-initialize-delay.
11610
11611 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * subr.el (buffer-has-markers-at): Mark obsolete.
11614
11615 * subr.el (lambda): Use declare.
11616
11617 * emacs-lisp/lisp-mode.el (lambda):
11618 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11619
11620 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11621
11622 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11623
11624 2012-05-26 Glenn Morris <rgm@gnu.org>
11625
11626 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11627
11628 2012-05-25 Glenn Morris <rgm@gnu.org>
11629
11630 * paths.el: Remove no-byte-compile.
11631 * loadup.el: No need to load paths.el uncompiled.
11632
11633 * image.el (imagemagick-types-inhibit): Doc fix.
11634
11635 * version.el: Remove no-byte-compile and associated formatting.
11636 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11637 is ancient code from when there was an "inc-vers.el".
11638
11639 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * progmodes/gdb-mi.el: Minor style changes.
11642 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11643 Turn into minor modes.
11644 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11645 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11646 (gdb-shell): Remove unneeded let-binding.
11647 (gdb-get-many-fields): Eliminate O(n²) behavior.
11648
11649 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11650
11651 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11652 platforms that don't link in fontset.c.
11653
11654 2012-05-25 Juri Linkov <juri@jurta.org>
11655
11656 Use the same diff color scheme as in modern VCSes (bug#10181).
11657
11658 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11659 to avoid confusion with `diff-added' that now uses green colors.
11660 (diff-removed): Use shades of red.
11661 (diff-added): Use shades of green.
11662 (diff-changed): Leave just the yellow color.
11663 (diff-use-changed-face): New variable.
11664 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11665 how to highlight context diff changes.
11666 (diff-refine-change): Use shades of yellow.
11667 (diff-refine-removed): New face that uses shades of red.
11668 (diff-refine-added): New face that uses shades of green.
11669 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11670 `diff-refine-removed' in the call to `smerge-refine-subst'
11671 depending on the value of `diff-use-changed-face'.
11672
11673 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11674 (smerge-other): Use shades of green.
11675 (smerge-base): Use shades of yellow.
11676 (smerge-refined-change): Empty face.
11677 (smerge-refined-removed): New face that uses shades of red.
11678 (smerge-refined-added): New face that uses shades of green.
11679 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11680 args `props-r' and `props-a', and use them. Doc fix.
11681 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11682 on its value use different faces `smerge-refined-change',
11683 `smerge-refined-removed', `smerge-refined-added' in the call to
11684 `smerge-refine-subst'.
11685
11686 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11687 Add face condition `min-colors 88' with shades of red.
11688 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11689 `min-colors 88' with shades of green.
11690 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11691 `min-colors 88' with shades of yellow.
11692
11693 2012-05-24 Glenn Morris <rgm@gnu.org>
11694
11695 * paths.el (prune-directory-list, remote-shell-program): Move to...
11696 * files.el (prune-directory-list, remote-shell-program): ...here.
11697 For the latter, delay initialization, prefer ssh, just search PATH.
11698
11699 * paths.el (term-file-prefix): Move to faces.el (the only user).
11700 * faces.el (term-file-prefix): Move here, make it a defcustom.
11701
11702 * paths.el (news-directory, news-path, news-inews-program):
11703 Move to gnus/nnspool.el.
11704
11705 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11706
11707 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11708 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11709 Make the latter a defcustom, with a delayed initialization.
11710
11711 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11712 These were deleted from Gnus itself late 2010.
11713
11714 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11715
11716 * progmodes/which-func.el (which-func-ff-hook):
11717 Check against user-error, not error.
11718
11719 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11720 cl-specs.el, which no longer exists.
11721
11722 2012-05-22 Glenn Morris <rgm@gnu.org>
11723
11724 * info.el (info-emacs-bug): New command.
11725 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11726 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11727
11728 2012-05-21 Glenn Morris <rgm@gnu.org>
11729
11730 * makefile.w32-in (update-subdirs-SH):
11731 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11732
11733 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11736
11737 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11738 Simplify Maven regexp, and make sure the file can't start with a space
11739 (bug#11517).
11740
11741 2012-05-21 Glenn Morris <rgm@gnu.org>
11742
11743 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11744 Scrap superfluous subshells.
11745
11746 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11749 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11750
11751 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11752
11753 * calc/calc.el (calc-ensure-consistent-units): New variable.
11754
11755 * calc/calc-units.el (math-consistent-units-p)
11756 (math-check-unit-consistency): New functions.
11757 (calc-quick-units, calc-convert-units):
11758 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11759 is non-nil.
11760 (calc-extract-units): Fix typo.
11761
11762 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11765
11766 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11767 (flyspell-default-deplacement-commands): Don't spell check after
11768 repeated window/frame switches (e.g. triggered by mouse-movement).
11769 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11770 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11771 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11772 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11773 Remove unused vars.
11774 (flyspell-get-casechars, flyspell-get-not-casechars):
11775 Simplify; Don't bother removing a ] just to add it back.
11776 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11777
11778 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11779
11780 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11781 New functions.
11782 (math-function-table): Add support for more C functions.
11783
11784 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11785
11786 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11787 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11788 Protect delay handling for otherchars against empty otherchars.
11789
11790 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11791
11792 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11793 their respective macro declarations.
11794 * skeleton.el (define-skeleton):
11795 * progmodes/compile.el (define-compilation-mode):
11796 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11797 (define-ibuffer-filter):
11798 * emacs-lisp/generic.el (define-generic-mode):
11799 * emacs-lisp/easy-mmode.el (define-minor-mode)
11800 (define-globalized-minor-mode):
11801 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11802 * emacs-lisp/byte-run.el (defsubst):
11803 * custom.el (deftheme): Add doc-string metadata.
11804
11805 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11808
11809 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11812
11813 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11814 * emacs-lisp/cl-macs.el: Idem.
11815 * emacs-lisp/cl-specs.el: Remove.
11816
11817 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 Minor renaming of internal CL functions and variables.
11820 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11821 (cl--position): Rename from cl-position.
11822 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11823 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11824 (cl--random-state): Rename from *random-state*.
11825
11826 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11829 parens around the arg list (bug#11499).
11830
11831 2012-05-17 Juri Linkov <juri@jurta.org>
11832
11833 * isearch.el (word-search-regexp, word-search-backward)
11834 (word-search-forward, word-search-backward-lax)
11835 (word-search-forward-lax): Move functions from search.c
11836 (bug#10145, bug#11381).
11837
11838 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11839
11840 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11841 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11842 Delay for otherchars as for normal word components.
11843
11844 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * minibuffer.el (completion--sifn-requote): Fix last change.
11847 (minibuffer-local-must-match-filename-map):
11848 Move define-obsolete-variable-alias before its var.
11849
11850 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11853
11854 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11855 behavior.
11856 (completion--string-equal-p): New function.
11857 (completion--twq-all): Use it to get better assertion failure data.
11858
11859 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11860 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11861 (shell--requote-argument): New functions.
11862 (shell-completion-vars): Use them.
11863 (shell--parse-pcomplete-arguments): Rename from
11864 shell-parse-pcomplete-arguments.
11865 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11866 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11867 Obey comint-file-name-quote-list.
11868
11869 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11870 (smie-indent-keyword): Use it.
11871
11872 2012-05-14 Stefan Merten <smerten@oekonux.de>
11873
11874 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11875
11876 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * net/rlogin.el (rlogin-mode-map): Fix last change.
11879
11880 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11881
11882 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11883 the following \r\n using a single `process-send-string', since the
11884 Lotus SMTP server refuses to accept any commands if they are sent
11885 with two `process-send-string's (Bug#11444).
11886
11887 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * shell.el (shell-parse-pcomplete-arguments):
11890 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11891
11892 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11893
11894 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11895 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11896 (image-transform-width, image-transform-fit-width): New functions.
11897 (image-transform-properties): Use them.
11898 (image-transform-check-size): New function.
11899 (image-toggle-display-image): Use it (for testing).
11900 (image-transform-set-rotation): Reduce angle mod 360.
11901 Delete obsolete comment.
11902
11903 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11904
11905 * image-mode.el: Fix scaling (bug#11399).
11906 (image-transform-resize): Doc fix.
11907 (image-transform-properties): Default scale is 1 and height should
11908 be an integer.
11909
11910 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11911
11912 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11913 than hard-coding `car', to fix misbehavior when moving forward.
11914
11915 2012-05-13 Chong Yidong <cyd@gnu.org>
11916
11917 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11918 (tabulated-list-entries, tabulated-list-padding)
11919 (tabulated-list-sort-key): Make permanent-local.
11920
11921 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11922 (electric-buffer-list): Put electric buffer menu
11923 command descriptions in this docstring, instead of the docstring
11924 of electric-buffer-menu-mode. Code cleanups.
11925 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11926 Electric-buffer-menu-mode.
11927 (electric-buffer-update-highlight): Minor code cleanup.
11928
11929 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11930
11931 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11932 (Bug#11447)
11933
11934 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 Move define-obsolete-variable-alias before the var's definition.
11937 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11938 * tooltip.el (tooltip-hook):
11939 * textmodes/reftex-toc.el (reftex-toc-map):
11940 * textmodes/reftex-sel.el (reftex-select-label-map)
11941 (reftex-select-bib-map):
11942 * textmodes/reftex-index.el (reftex-index-map)
11943 (reftex-index-phrases-map):
11944 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11945 * progmodes/meta-mode.el (meta-mode-map):
11946 * novice.el (disabled-command-hook):
11947 * loadhist.el (unload-hook-features-list):
11948 * frame.el (blink-cursor):
11949 * files.el (find-file-not-found-hooks, write-file-hooks)
11950 (write-contents-hooks):
11951 * emulation/tpu-edt.el (GOLD-map):
11952 * emacs-lock.el (emacs-lock-from-exiting):
11953 * emacs-lisp/generic.el (generic-font-lock-defaults):
11954 * emacs-lisp/chart.el (chart-map):
11955 * dos-fns.el (register-name-alist):
11956 * dired-x.el (dired-omit-files-p):
11957 * desktop.el (desktop-enable):
11958 * cus-edit.el (custom-mode-hook):
11959 * buff-menu.el (buffer-menu-mode-hook):
11960 * bookmark.el (bookmark-read-annotation-text-func)
11961 (bookmark-exit-hooks):
11962 * allout.el (allout-mode-deactivate-hook)
11963 (allout-exposure-change-hook, allout-structure-added-hook)
11964 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11965 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11966 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11967 comes before the corresponding variable's definition.
11968
11969 2012-05-12 Chong Yidong <cyd@gnu.org>
11970
11971 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11972 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11973 (Buffer-menu-mode-map): Bind it.
11974 (Buffer-menu--pretty-name): Add a mouse-face property.
11975
11976 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11979 (prolog-upper-case-string, prolog-lower-case-string)
11980 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11981 (prolog-use-smie, prolog-smie-grammar): New vars.
11982 (prolog-smie-forward-token, prolog-smie-backward-token)
11983 (prolog-smie-rules): New funs.
11984 (prolog-comment-indent): Remove.
11985 (prolog-mode-variables): Use default comment indentation instead.
11986 Setup SMIE.
11987 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11988 (prolog-mode): Don't call them any more.
11989 (prolog-electric-colon, prolog-electric-dash)
11990 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11991
11992 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11993
11994 * minibuffer.el (completion--twq-all): Again, allow case differences.
11995
11996 * term.el: Move keymap initialization code to be more idiomatic.
11997 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11998 (term-terminal-menu): Move initialization into declaration.
11999 (term-escape-char): Let the user set it in her .emacs.
12000
12001 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12002 Provide SMIE-based indentation (not enabled by default yet).
12003 (sh-mode-map): Don't bind electric keys.
12004 Use electric-pair-mode instead of skeleton-pair.
12005 (sh-assignment-regexp): Fit within 80 columns.
12006 (sh-indent-supported): Specify actual shell name instead of boolean.
12007 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12008 (sh-maybe-here-document): Use it. Make obsolete.
12009 (sh-electric-here-document-mode) New minor mode.
12010 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12011 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12012 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12013 (sh-smie-rc-grammar, sh-use-smie): New vars.
12014 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12015 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12016 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12017 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12018 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12019 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12020 (sh-set-shell): Use smie-setup if requested.
12021
12022 * term.el (term-set-escape-char): Properly set term-escape-char.
12023 See http://stackoverflow.com/questions/10524656.
12024
12025 2012-05-10 Chong Yidong <cyd@gnu.org>
12026
12027 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12028 Use url-generic-parse-url, and handle host names and Windows
12029 filenames properly.
12030 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12031 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12032 URL schemes to work on.
12033 (ffap--toggle-read-only): New function.
12034 (ffap-read-only, ffap-read-only-other-window)
12035 (ffap-read-only-other-frame): Use it.
12036 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12037 necessary for ffap-url-unwrap-remote.
12038
12039 2012-05-10 Dave Abrahams <dave@boostpro.com>
12040
12041 * cus-start.el (create-lockfiles): Add it.
12042
12043 2012-05-09 Chong Yidong <cyd@gnu.org>
12044
12045 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12046 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12047
12048 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12051
12052 2012-05-09 Chong Yidong <cyd@gnu.org>
12053
12054 * ansi-color.el (ansi-color-process-output): Check for validity of
12055 comint-last-output-start before using it. This avoids a bad
12056 interaction with gdb-mi's input/output buffer.
12057
12058 2012-05-09 Glenn Morris <rgm@gnu.org>
12059
12060 * files.el (dir-locals-read-from-file):
12061 Mention dir-locals in any error message.
12062
12063 2012-05-09 Chong Yidong <cyd@gnu.org>
12064
12065 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12066 package (Bug#11410).
12067
12068 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12069 variables into description.
12070
12071 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12074 shell-delimiter-argument-list (bug#11348).
12075 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12076
12077 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12078
12079 * textmodes/rst.el: Silence byte-compiler warnings.
12080 (rst-re-alist, rst-reset-section-caches): Move around.
12081 (rst-re): Use `characterp', not `char-valid-p'.
12082 (font-lock-beg, font-lock-end): Declare.
12083
12084 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12085 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12086
12087 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12088
12089 2012-05-08 Glenn Morris <rgm@gnu.org>
12090
12091 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12092
12093 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12094
12095 * vc/log-edit.el: Add GNU coding standards highlighting.
12096 (log-edit-font-lock-gnu-style)
12097 (log-edit-font-lock-gnu-keywords): New vars.
12098 (log-edit-font-lock-keywords): New fun.
12099 (log-edit-mode): Don't fold case in font-lock.
12100 (log-edit-font-lock-keywords): Do not assume case-folding.
12101
12102 * imenu.el: Misc cleanup. Make docstrings out of comments.
12103 Use lexical-binding.
12104 (imenu--index-alist, imenu--last-menubar-index-alist)
12105 (imenu-menubar-modified-tick): Use defvar-local.
12106 (imenu--split-menu): Remove unused var.
12107 (imenu--cleanup-seen): Declare as global.
12108 (imenu--cleanup): Use dolist.
12109
12110 * subr.el (defvar-local): Add debug spec and doc-string position.
12111
12112 2012-05-08 Glenn Morris <rgm@gnu.org>
12113
12114 * language/burmese.el, language/cham.el, language/czech.el:
12115 * language/english.el, language/georgian.el, language/greek.el:
12116 * language/japanese.el, language/khmer.el, language/korean.el:
12117 * language/lao.el, language/misc-lang.el, language/romanian.el:
12118 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12119 * language/thai.el, language/utf-8-lang.el:
12120 Remove no-byte-compile setting.
12121
12122 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12123
12124 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12125
12126 * progmodes/make-mode.el (makefile-browse):
12127 Remove unnecessary interactive. (Bug#11324)
12128
12129 2012-05-07 Glenn Morris <rgm@gnu.org>
12130
12131 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12132
12133 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12134
12135 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12136
12137 * loadup.el: Preload newcomment.el.
12138 * newcomment.el: Move autoload-only code to toplevel.
12139
12140 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12141 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12142 Handle new :right-align column property.
12143 (tabulated-list-print-col): Idem, plus use `display' text-property to
12144 try and preserve alignment for variable pitch fonts.
12145
12146 2012-05-07 Chong Yidong <cyd@gnu.org>
12147
12148 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12149 (tabulated-list-use-header-line): New var.
12150 (tabulated-list-init-header): Use it.
12151 (tabulated-list-print-fake-header): New function.
12152 (tabulated-list-print): Use it.
12153 (tabulated-list-sort-button-map): Add non-header-line commands.
12154 (tabulated-list-init-header): Add column name property to basic
12155 labels as well.
12156 (tabulated-list-col-sort): Handle non-header-line button case.
12157 (tabulated-list--sort-by-column-name): Fix a corner case.
12158
12159 * buff-menu.el (list-buffers--refresh):
12160 Handle Buffer-menu-use-header-line.
12161
12162 2012-05-06 Chong Yidong <cyd@gnu.org>
12163
12164 * buff-menu.el: Convert to Tabulated List mode.
12165 (Buffer-menu-buffer+size-width): Make obsolete.
12166 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12167 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12168 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12169 documentation into docstring of buffer-menu.
12170 (Buffer-menu-toggle-files-only): Add an informative message.
12171 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12172 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12173 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12174 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12175 (Buffer-menu-execute, Buffer-menu-select)
12176 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12177 (Buffer-menu-bury): Use Tabulated List machinery.
12178 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12179 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12180 Delete.
12181 (list-buffers--refresh): New function.
12182 (list-buffers-noselect): Use it.
12183 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12184 (Buffer-menu--pretty-file-name): New helper functions.
12185
12186 * loadup.el: Preload tabulated-list.
12187
12188 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12189 tabulated-list-sort-column.
12190 (tabulated-list-init-header): Add the initial aligning space even
12191 if tabulated-list-padding is zero.
12192
12193 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12194
12195 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12196 whose cdr is not a cons cell correctly (bug#11038).
12197
12198 2012-05-06 Chong Yidong <cyd@gnu.org>
12199
12200 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12201 Accept additional plist in column descriptors.
12202 (tabulated-list-init-header): Obey it.
12203 (tabulated-list-get-entry): New function.
12204 (tabulated-list-put-tag): Use it. Use string-width instead of
12205 length.
12206 (tabulated-list--column-number): New function.
12207 (tabulated-list-print): Use it.
12208 (tabulated-list-print-col): New function.
12209 Set `tabulated-list-column-name' property on each column's text.
12210 (tabulated-list-print-entry): Use it.
12211 (tabulated-list-delete-entry, tabulated-list-set-col):
12212 New functions.
12213 (tabulated-list-sort-column): New command (Bug#11337).
12214
12215 * buff-menu.el (list-buffers): Move C-x C-b binding from
12216 buff-menu.el to bindings.el.
12217
12218 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12219 :advertised-binding feature.
12220
12221 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12222
12223 * progmodes/compile.el (compilation-internal-error-properties):
12224 Calculate start position correctly when end-col is set but
12225 end-line is not (Bug#11382).
12226
12227 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12228
12229 * man.el (Man-unindent): Use text-property-default-nonsticky to
12230 prevent untabify from inheriting face properties (Bug#11408).
12231
12232 2012-05-05 Stefan Merten <smerten@oekonux.de>
12233
12234 * textmodes/rst.el: Major merge with upstream development up to
12235 Docutils SVN r7399 / rst.el V1.2.1.
12236
12237 Clarify maintainership and authors.
12238
12239 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12240 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12241 (rst-official-version, rst-official-cvs-rev, rst-version)
12242 (rst-package-emacs-version-alist): New functions and variables
12243 for version information.
12244
12245 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12246 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12247 (rst-mode-syntax-table, rst-mode): New and corrected functions
12248 and variables representing reStructuredText features.
12249
12250 (rst-re): New function for reStructuredText regexes. Use in
12251 many places.
12252
12253 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12254 (rst-mode-map): Rebind keys.
12255
12256 (rst-mode-lazy, rst-font-lock-keywords)
12257 (rst-font-lock-extend-region)
12258 (rst-font-lock-extend-region-internal)
12259 (rst-font-lock-extend-region-extend)
12260 (rst-font-lock-find-unindented-line-limit)
12261 (rst-font-lock-find-unindented-line-match)
12262 (rst-adornment-level, rst-font-lock-adornment-level)
12263 (rst-font-lock-adornment-match)
12264 (rst-font-lock-handle-adornment-pre-match-form)
12265 (rst-font-lock-handle-adornment-matcher): Major revision of
12266 font-locking. Integrate with other code. Use `jit-lock-mode'.
12267
12268 (rst-preferred-adornments, rst-adjust-hook)
12269 (rst-new-adornment-down, rst-preferred-bullets)
12270 (rst-preferred-bullets, rst-indent, rst-indent-width)
12271 (rst-indent-field, rst-indent-literal-normal)
12272 (rst-indent-literal-minimized, rst-indent-comment): Change,
12273 extend and improve customization.
12274
12275 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12276 (rst-normalize-cursor-position, rst-get-decoration)
12277 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12278 (rst-rstrip, rst-toc-insert-find-delete-contents)
12279 (rst-shift-fill-region, rst-compute-bullet-tabs)
12280 (rst-debug-print-tabs, rst-debug-mark-found)
12281 (rst-shift-region-guts, rst-shift-region-right)
12282 (rst-shift-region-left, rst-use-char-classes)
12283 (rst-font-lock-keywords-function)
12284 (rst-font-lock-indentation-point)
12285 (rst-font-lock-find-unindented-line-begin)
12286 (rst-font-lock-find-unindented-line-end)
12287 (rst-font-lock-find-unindented-line)
12288 (rst-font-lock-adornment-point, rst-font-lock-level)
12289 (rst-adornment-level-alist): Remove functions and variables.
12290
12291 (rst-compare-adornments, rst-get-adornment-match)
12292 (rst-suggest-new-adornment, rst-get-adornments-around)
12293 (rst-adornment-complete-p, rst-get-next-adornment)
12294 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12295 (rst-straighten-adornments): Standardize function names to
12296 use "adornment" instead of "decoration". Correct callers.
12297 Similar standardizing in many places.
12298
12299 (rst-update-section, rst-adjust, rst-promote-region)
12300 (rst-enumerate-region, rst-bullet-list-region)
12301 (rst-repeat-last-character): Correct use of `interactive'.
12302
12303 (rst-classify-adornment, rst-find-all-adornments)
12304 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12305 (rst-find-leftmost-column, rst-repeat-last-character):
12306 Refactor functions.
12307
12308 (rst-find-title-line, rst-reset-section-caches)
12309 (rst-get-adornments-around, rst-adjust-adornment-work)
12310 (rst-arabic-to-roman, rst-roman-to-arabic)
12311 (rst-insert-list-pos, rst-insert-list-new-item)
12312 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12313 New functions.
12314
12315 (rst-all-sections, rst-section-hierarchy)
12316 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12317 New variables.
12318
12319 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12320 configuration instead of only buffer. Change where necessary.
12321
12322 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12323 (rst-shift-region, rst-adaptive-fill): New functions for
12324 indentation and filling.
12325
12326 (rst-comment-line-break, rst-comment-indent)
12327 (rst-comment-insert-comment, rst-comment-region)
12328 (rst-uncomment-region): New functions for handling comments.
12329
12330 (rst-compile): Quote shell arguments.
12331
12332 (rst-compile-pdf-preview, rst-compile-slides-preview):
12333 Delete temporary files after use.
12334
12335 2012-05-05 Glenn Morris <rgm@gnu.org>
12336
12337 * calendar/cal-html.el: Optionally include holidays in the output.
12338 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12339 (cal-html-holidays): New option.
12340 (cal-html-css-default): Add holiday entry.
12341 (holiday-in-range): Autoload it.
12342 (cal-html-htmlify-entry): Add optional class argument.
12343 (cal-html-htmlify-list): Add optional holidays argument.
12344 (cal-html-insert-agenda-days): Include holidays in the output.
12345 (cal-html-one-month): Maybe include holidays.
12346
12347 * calendar/holidays.el (holiday-in-range):
12348 Move here from cal-tex-list-holidays.
12349 * calendar/cal-tex.el (cal-tex-list-holidays):
12350 Make it an obsolete alias for holiday-in-range. Update all callers.
12351
12352 2012-05-05 Chong Yidong <cyd@gnu.org>
12353
12354 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12355 Nextstep.
12356
12357 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12358
12359 * files.el (file-auto-mode-skip): New var.
12360 (set-auto-mode-1): Use it.
12361
12362 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12363
12364 * repeat.el: Use lexical-binding.
12365 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12366 (repeat-undo-count): Remove.
12367 (repeat):
12368 * progmodes/octave-mod.el (octave-abbrev-start):
12369 * progmodes/f90.el (f90-abbrev-start):
12370 * face-remap.el (text-scale-adjust):
12371 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12372
12373 * emacs-lisp/pcase.el (pcase--let*): New function.
12374 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12375 a bit more.
12376 (pcase--split-pred): Be more clever about ruling out overlap between
12377 a predicate and some constant pattern.
12378 (pcase--q1): Use `null' instead of (eq foo nil).
12379
12380 * subr.el (setq-local, defvar-local): New macros.
12381 (kbd): Redefine as an alias.
12382 (with-selected-window): Leave unrelated frames alone.
12383 (set-temporary-overlay-map): New function.
12384
12385 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * subr.el (user-error): New function.
12388 * window.el (switch-to-buffer):
12389 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12390 (smerge-match-conflict):
12391 * simple.el (previous-matching-history-element)
12392 (next-matching-history-element, goto-history-element, undo-more)
12393 (undo-start):
12394 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12395 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12396 (next-file, tags-loop-scan, list-tags, complete-tag):
12397 * progmodes/compile.el (compilation-loop):
12398 * mouse.el (mouse-minibuffer-check):
12399 * man.el (Man-bgproc-sentinel, Man-goto-page):
12400 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12401 (Info-history-forward, Info-follow-reference, Info-menu)
12402 (Info-extract-menu-item, Info-extract-menu-counting)
12403 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12404 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12405 (Info-next-reference, Info-prev-reference, Info-index)
12406 (Info-index-next, Info-follow-nearest-node)
12407 (Info-copy-current-node-name):
12408 * imenu.el (imenu--make-index-alist)
12409 (imenu-default-create-index-function, imenu-add-to-menubar):
12410 * files.el (basic-save-buffer, recover-file):
12411 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12412 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12413 (checkdoc-message-text, checkdoc-defun):
12414 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12415 * cus-edit.el (customize-changed-options, customize-rogue)
12416 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12417 (custom-variable-mark-to-reset-standard)
12418 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12419 (custom-file):
12420 * completion.el (check-completion-length):
12421 * comint.el (comint-search-arg)
12422 (comint-previous-matching-input-string-position)
12423 (comint-previous-matching-input)
12424 (comint-replace-by-expanded-history-before-point, comint-send-input)
12425 (comint-copy-old-input, comint-backward-matching-input)
12426 (comint-goto-process-mark, comint-set-process-mark):
12427 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12428 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12429
12430 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12431
12432 * dabbrev.el (dabbrev--ignore-case-p): New function.
12433 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12434 Use it.
12435
12436 * files.el (automount-dir-prefix): Mark as obsolete.
12437
12438 2012-05-04 Glenn Morris <rgm@gnu.org>
12439
12440 * patcomp.el, play/bruce.el: Move to obsolete/.
12441
12442 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12443
12444 Fix minor Y10k bugs.
12445 * arc-mode.el (archive-unixdate):
12446 * autoinsert.el (auto-insert-alist):
12447 * calc/calc-forms.el (math-this-year):
12448 * emacs-lisp/copyright.el (copyright-current-year)
12449 (copyright-update-year, copyright):
12450 * tar-mode.el (tar-clip-time-string):
12451 * time.el (display-time-update):
12452 Don't assume years have 4 digits.
12453
12454 2012-05-04 Chong Yidong <cyd@gnu.org>
12455
12456 * dos-w32.el (file-name-buffer-file-type-alist)
12457 (direct-print-region-use-command-dot-com):
12458 * ffap.el (ffap-menu-regexp):
12459 * find-file.el (ff-special-constructs):
12460 * follow.el (follow-debug):
12461 * forms.el (forms--debug):
12462 * iswitchb.el (iswitchb-all-frames):
12463 * ido.el (ido-all-frames):
12464 * emacs-lisp/timer.el (timer-max-repeats):
12465 * mail/feedmail.el (feedmail-mail-send-hook)
12466 (feedmail-mail-send-hook-queued):
12467 * mail/footnote.el (footnote-signature-separator):
12468 * mail/mailabbrev.el (mail-alias-separator-string)
12469 (mail-abbrev-mode-regexp):
12470 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12471 * progmodes/idlwave.el (idlwave-libinfo-file)
12472 (idlwave-default-completion-case-is-down)
12473 (idlwave-library-routines): Convert defvars to defcustoms.
12474
12475 * mail/rmail.el (rmail-decode-mime-charset):
12476 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12477 (idlwave-shell-fix-inserted-breaks)
12478 (idlwave-shell-activate-alt-keybindings)
12479 (idlwave-shell-use-breakpoint-glyph):
12480 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12481
12482 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12485
12486 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12487
12488 * progmodes/verilog-mode.el (font-lock-keywords):
12489 Fix mis-highligting auto. Reported by Craig Barner.
12490 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12491 defines from global name space. Reported by Dan Dever.
12492 (verilog-auto-reset, verilog-auto-reset-widths)
12493 (verilog-auto-tieoff): Support using unbased numbers for
12494 AUTORESET and AUTOTIEOFF.
12495 (verilog-submit-bug-report): Update variable list.
12496 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12497 parenthesis from not matching. Reported by Michael Rytting.
12498 (verilog-auto-template-lint): Fix hash error when linting modules
12499 with no used templates.
12500 (verilog-warn, verilog-warn-error)
12501 (verilog-warn-fatal): When non-interactive report multiple
12502 warnings before exiting. Suggested by Brad Dobbie.
12503 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12504 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12505 to report unused template errors. Reported by Brad Dobbie.
12506 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12507 nets, bug438. Reported by Vns Blore.
12508 (verilog-auto-inout-module, verilog-auto-reg)
12509 (verilog-read-decls, verilog-read-sub-decls-sig)
12510 (verilog-signals-edit-wire-reg, verilog-signals-with):
12511 Fix passing of Verilog data types in ANSI input/output ports
12512 such as "output logic" into the AUTOs. Special case "wire" and
12513 "reg" for backwards compatibility presuming Verilog 2001.
12514 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12515 (verilog-preprocess): Fix replication of preprocess output.
12516 Reported by Brad Dobbie.
12517 (verilog-auto-inst-interfaced-ports):
12518 Create verilog-auto-inst-interfaced-ports, bug429.
12519 Reported by Julian Gorfajn.
12520 (verilog-after-save-font-hook)
12521 (verilog-before-save-font-hook): New variable.
12522 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12523 (verilog-save-font-mods): Wrap disabling fontification, reported
12524 by David Rogoff.
12525 (verilog-do-indent, verilog-pretty-declarations-auto)
12526 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12527 Reported by Pierre-David Pfister.
12528 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12529 of class declarations, bug292. Reported by Kevin Heilman.
12530 (verilog-read-decls): Fix 'parameter type' not appearing in
12531 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12532 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12533 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12534 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12535 Reported by David Kravitz.
12536
12537 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12538
12539 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12540 assignment with tests in ifs and for loops.
12541 (verilog-extended-complete-re, verilog-complete-reg): Change so
12542 that DPI inport functions don't look like fuction declarations.
12543 (verilog-pretty-expr): Don't line up assignment
12544 operations to the test and increment in if and for loops
12545 (verilog-extended-complete-re, verilog-complete-reg): Change so
12546 that DPI inport functions don't look like fuction declarations.
12547
12548 2012-05-03 Kenichi Handa <handa@m17n.org>
12549
12550 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12551 decoding, and show a warning message without signaling an error
12552 (Bug#11282).
12553
12554 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * emacs-lisp/bytecomp.el
12557 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12558 since cconv.el might have introduced :fun-body, internal-make-closure,
12559 and friends for bytecomp to handle (bug#11391).
12560 * custom.el (defcustom): Avoid ((λ ..) ..).
12561
12562 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12565
12566 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12567
12568 * notifications.el (dbus-debug):
12569 * term/linux.el (gpm-mouse-enable):
12570 * term/screen.el (xterm-register-default-colors): Declare.
12571
12572 2012-05-02 Chong Yidong <cyd@gnu.org>
12573
12574 * cus-start.el (gc-cons-percentage, exec-suffixes)
12575 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12576 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12577 (make-cursor-line-fully-visible, void-text-area-pointer)
12578 (font-list-limit): Add customization data.
12579
12580 * allout.el (allout-exposure-change-functions)
12581 (allout-structure-added-functions)
12582 (allout-structure-deleted-functions)
12583 (allout-structure-shifted-functions): Rename abnormal hooks from
12584 *-hook, and convert to defcustoms.
12585 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12586 Convert to defcustoms.
12587 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12588
12589 * allout-widgets.el: Hook callers changed.
12590
12591 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12592
12593 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12594 the yanked message in preference to the default value of
12595 buffer-file-coding-system.
12596
12597 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12598
12599 * window.el (display-buffer--action-function-custom-type):
12600 Fix entry.
12601
12602 2012-05-02 Alan Mackenzie <acm@muc.de>
12603
12604 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12605
12606 2012-05-01 Glenn Morris <rgm@gnu.org>
12607
12608 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12609
12610 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12611
12612 * cus-edit.el (custom-variable-documentation): Simplify with format.
12613
12614 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12615 Stefan Monnier <monnier@iro.umontreal.ca>
12616
12617 * simple.el (suggest-key-bindings, execute-extended-command):
12618 Move from keyboard.c.
12619
12620 2012-05-01 Chong Yidong <cyd@gnu.org>
12621
12622 * follow.el: Eliminate advice.
12623 (set-process-filter, process-filter, sit-for): Advice deleted.
12624 (follow-mode-off-hook): Obsolete hook removed.
12625 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12626 Vars deleted.
12627 (follow-auto): Use a :set function.
12628 (follow-mode): Rewritten. Don't advise process filters.
12629 (follow-switch-to-current-buffer-all, follow-scroll-up)
12630 (follow-scroll-down): Assume follow-mode is bound.
12631 (follow-comint-scroll-to-bottom)
12632 (follow-align-compilation-windows): New functions.
12633 (follow--window-sorter): New function.
12634 (follow-all-followers): Use it to explicitly sort windows by their
12635 positions; don't make assumptions about next-window order.
12636 (follow-windows-start-end, follow-delete-other-windows-and-split)
12637 (follow-calc-win-start): Doc fix.
12638 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12639 vertical-motion unnecessarily.
12640 (follow-adjust-window): New function.
12641 (follow-post-command-hook): Use it.
12642 (follow-call-set-process-filter, follow-call-process-filter)
12643 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12644 (follow-stop-intercept-process-output, follow-generic-filter):
12645 Functions deleted.
12646 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12647 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12648 New functions, replacing advice on scroll-bar-* commands.
12649 (follow-mwheel-scroll): New function (Bug#4112).
12650
12651 * comint.el (comint-adjust-point): New function.
12652 (comint-postoutput-scroll-to-bottom): Use it.
12653 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12654
12655 2012-05-01 Glenn Morris <rgm@gnu.org>
12656
12657 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12658 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12659 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12660 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12661 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12662 Remove no-byte-compile setting.
12663
12664 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12667 all-completions code to not return a number in the last cdr.
12668
12669 2012-04-30 Leo Liu <sdl.web@gmail.com>
12670
12671 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12672 read-only error.
12673
12674 2012-04-29 Chong Yidong <cyd@gnu.org>
12675
12676 * follow.el (follow-calc-win-end): Rewrite to handle partial
12677 screen lines correctly (Bug#8390).
12678 (follow-avoid-tail-recenter): Minor cleanup.
12679
12680 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 Avoid the obsolete `assoc' package.
12683 * speedbar.el (speedbar-refresh): Avoid adelete.
12684 (speedbar-file-lists): Simplify and avoid aput.
12685 * man.el (Man--sections, Man--refpages): New vars, replacing
12686 Man-sections-alist and Man-refpages-alist.
12687 (Man-build-section-alist, Man-build-references-alist):
12688 Use them; avoid aput.
12689 (Man--last-section, Man--last-refpage): New vars.
12690 (Man-follow-manual-reference): Use them.
12691 Use the `default' arg of completing-read.
12692 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12693
12694 2012-04-27 Chong Yidong <cyd@gnu.org>
12695
12696 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12697
12698 * startup.el (x-apply-session-resources): New function.
12699
12700 * term/ns-win.el (ns-initialize-window-system):
12701 * term/w32-win.el (w32-initialize-window-system):
12702 * term/x-win.el (x-initialize-window-system): Use it to properly
12703 set menu-bar-mode and other vars from X resources, even if the
12704 initial frame is not a window-system frame (Bug#2299).
12705
12706 * subr.el (read-key): Avoid running filter function when setting
12707 up temporary tool bar entries (Bug#9922).
12708
12709 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12712 (Bug#11344)
12713
12714 2012-04-27 Chong Yidong <cyd@gnu.org>
12715
12716 * select.el (xselect--encode-string): New function, split from
12717 xselect-convert-to-string.
12718 (xselect-convert-to-string): Use it.
12719 (xselect-convert-to-filename, xselect-convert-to-os)
12720 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12721 returned strings are properly encoded (Bug#11315).
12722
12723 2012-04-27 Chong Yidong <cyd@gnu.org>
12724
12725 * simple.el (delete-active-region): Move to killing custom group.
12726
12727 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12728
12729 * progmodes/which-func.el (which-func-current): Quote %
12730 characters for mode-line processing.
12731
12732 2012-04-27 Chong Yidong <cyd@gnu.org>
12733
12734 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12735 reaching eob (Bug#11286).
12736
12737 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12738
12739 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12740 (gdb): Make it buffer-local and init to zero.
12741 (gdb-control-commands-regexp): New variable.
12742 (gdb-send): Don't wrap in "-interpreter-exec console" if
12743 gdb-control-level is positive. Increment gdb-control-level
12744 whenever the command matches gdb-control-commands-regexp, and
12745 decrement it each time the command is "end". (Bug#11279)
12746
12747 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12748
12749 * window.el (adjust-window-trailing-edge, enlarge-window)
12750 (shrink-window, window-resize):
12751 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12752 windows (Bug#11276).
12753
12754 2012-04-27 Chong Yidong <cyd@gnu.org>
12755
12756 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12757 fix "missing prefix" warning. All callers changed.
12758
12759 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * emacs-lisp/assoc.el: Move to obsolete/.
12762
12763 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12766
12767 * term/ns-win.el (ns-define-service):
12768 * progmodes/pascal.el (pascal-goto-defun):
12769 * progmodes/js.el (js--read-tab):
12770 * progmodes/etags.el (tags-lazy-completion-table):
12771 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12772 * emacs-lisp/ewoc.el (ewoc--wrap):
12773 * emacs-lisp/assoc.el (aput, adelete, amake):
12774 * doc-view.el (doc-view-convert-current-doc):
12775 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12776
12777 2012-04-26 Chong Yidong <cyd@gnu.org>
12778
12779 * image.el (image-type-from-buffer): Only return supported image
12780 type (Bug#9045).
12781
12782 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12783 value, for symmetry with diff-end-of-hunk.
12784 (diff-split-hunk, diff-find-source-location)
12785 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12786 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12787 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12788 compute the relevant hunk or file properly (Bug#6005).
12789 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12790
12791 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * vc/vc-mtn.el:
12794 * vc/vc-hg.el:
12795 * vc/vc-git.el:
12796 * vc/vc-dir.el:
12797 * vc/vc-cvs.el:
12798 * vc/vc-bzr.el:
12799 * vc/vc-arch.el:
12800 * vc/vc.el: Replace lexical-let by lexical-binding.
12801 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12802 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12803 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12804
12805 2012-04-26 Chong Yidong <cyd@gnu.org>
12806
12807 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12808 (diff-mode-shared-map): Bind it to / and [remap undo].
12809
12810 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12811 (ediff-window-setup-function): Use it as the default, to set up
12812 windows based on whether the current frame is graphical (Bug#2138).
12813 (ediff-choose-window-setup-function-automatically): Make obsolete.
12814
12815 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12816
12817 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * ffap.el: Remove old code for obsolete package.
12820 (ffap-complete-as-file-p): Remove.
12821
12822 Use completion-table-with-quoting for comint and pcomplete.
12823 * comint.el (comint--unquote&requote-argument)
12824 (comint--unquote-argument, comint--requote-argument): New functions.
12825 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12826 (comint-quote-filename): Use regexp-opt-charset.
12827 (comint--common-suffix, comint--common-quoted-suffix)
12828 (comint--table-subvert): Remove.
12829 (comint-unquote-function, comint-requote-function): New vars.
12830 (comint--complete-file-name-data): Use them with
12831 completion-table-with-quoting.
12832 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12833 * pcomplete.el (pcomplete-arg-quote-list)
12834 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12835 (pcomplete-unquote-argument-function): Default to non-nil.
12836 (pcomplete-unquote-argument): Simplify.
12837 (pcomplete--common-quoted-suffix): Remove.
12838 (pcomplete-requote-argument-function): New var.
12839 (pcomplete--common-suffix): New function.
12840 (pcomplete-completions-at-point): Use completion-table-with-quoting
12841 and completion-table-subvert.
12842
12843 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12844 (minibuffer--double-dollars): Preserve properties.
12845 (completion--sifn-requote): New function.
12846 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12847
12848 * minibuffer.el: Add support for completion of quoted/escaped data.
12849 (completion-table-with-quoting, completion-table-subvert): New funs.
12850 (completion--twq-try, completion--twq-all): New functions.
12851 (completion--nth-completion): New function.
12852 (completion-try-completion, completion-all-completions): Use it.
12853
12854 2012-04-25 Leo Liu <sdl.web@gmail.com>
12855
12856 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12857 Use compilation-message if available to find real filename.
12858
12859 2012-04-25 Chong Yidong <cyd@gnu.org>
12860
12861 * vc/diff-mode.el (diff-setup-whitespace): New function.
12862 (diff-mode): Use it.
12863
12864 * vc/diff.el (diff-sentinel):
12865 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12866 Whitespace mode variables based on diff style (Bug#8612).
12867
12868 2012-04-25 Leo Liu <sdl.web@gmail.com>
12869
12870 * progmodes/python.el (python-send-region): Add suffix .py to the
12871 temp file.
12872
12873 * files.el (auto-mode-alist): Use javascript-mode instead.
12874
12875 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12876
12877 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12878
12879 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12880 (soap-resolve-references-for-array-type): Hack to prevent self
12881 references, see Bug#9.
12882 (soap-parse-envelope): Report the contents of the 'detail' node
12883 when receiving a fault reply.
12884 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12885
12886 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12887 (soap-inspect-simple-type): New function.
12888
12889 * net/soap-client.el (soap-simple-type): New struct.
12890 (soap-default-xsd-types, soap-default-soapenc-types)
12891 (soap-decode-basic-type, soap-encode-basic-type):
12892 support unsignedInt and double basic types.
12893 (soap-resolve-references-for-simple-type)
12894 (soap-parse-simple-type, soap-encode-simple-type): New function.
12895 (soap-parse-schema): Parse xsd:simpleType declarations.
12896
12897 * net/soap-client.el (soap-default-xsd-types)
12898 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12899 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12900 the local name of "soapenc:Array".
12901 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12902 decoding integer, byte and anyURI xsd types.
12903
12904 2012-04-25 Chong Yidong <cyd@gnu.org>
12905
12906 * cus-edit.el (custom-buffer-create-internal): Update header text.
12907
12908 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12909
12910 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12911 settings on 'system-type', not on 'window-system'. On MS-Windows,
12912 set interactive-mode on in GDB.
12913
12914 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12917 (ruby-syntax-propertize-regexp): Remove.
12918 (ruby-syntax-propertize-function): Split regexp into chunks.
12919 Match following code directly.
12920
12921 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12922
12923 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12924 (ruby-syntax-propertize-regexp): New function.
12925 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12926 by a special keyword.
12927
12928 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12929 (ruby-syntax-general-delimiters-goto-beg)
12930 (ruby-syntax-propertize-general-delimiters): New functions.
12931 (ruby-syntax-propertize-function): Use them to handle GDL.
12932 (ruby-font-lock-keywords): Move old handling of GDL...
12933 (ruby-font-lock-syntactic-keywords): .. to here.
12934 (ruby-calculate-indent): Adjust indentation for GDL.
12935
12936 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12937
12938 * notifications.el (top): Remove unneeded declarations.
12939 (notifications-specification-version): Change to "1.2".
12940 (notifications-interface, notifications-notify-method)
12941 (notifications-close-notification-method): Fix docstring.
12942 (notifications-get-capabilities-method): New defconst.
12943 (notifications-notify): Add :action-items, :resident and
12944 :transient hints. Change "image_data" to "image-data" and
12945 "image_path" to "image-path".
12946 (notifications-get-capabilities): New defun.
12947
12948 2012-04-24 Leo Liu <sdl.web@gmail.com>
12949
12950 * progmodes/python.el: Move hideshow setup to the end.
12951
12952 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12953
12954 * window.el (handle-select-window): Clear echo area since this is
12955 no more done by read_char (Bug#11304).
12956
12957 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12960 and `/ M' to filter-derived-mode.
12961 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12962 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12963 (ibuffer-mark-by-mode): Use default rather than initial-input.
12964 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12965
12966 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12967
12968 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12969 (ibuffer-filter-by-derived-mode): New filter.
12970 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12971
12972 2012-04-23 Andreas Politz <politza@fh-trier.de>
12973
12974 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12975
12976 2012-04-23 Chong Yidong <cyd@gnu.org>
12977
12978 * cus-edit.el (customize-apropos, customize-apropos-options):
12979 Disable matching of non-option variables (Bug#11176).
12980 (customize-option, customize-option-other-window)
12981 (customize-changed-options): Doc fix.
12982 (customize-apropos-options, customize-apropos-faces)
12983 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12984
12985 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12986 Fix word list splitting (Bug#11132).
12987 (apropos-symbol, apropos-keybinding, apropos-label)
12988 (apropos-property, apropos-function-button)
12989 (apropos-variable-button, apropos-misc-button): New faces.
12990 (apropos-symbol-face, apropos-keybinding-face)
12991 (apropos-label-face, apropos-property-face, apropos-match-face):
12992 Variables removed (Bug#8396).
12993 (apropos-library-button, apropos-format-plist, apropos-print)
12994 (apropos-print-doc, apropos-describe-plist): Callers changed.
12995
12996 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12997
12998 * net/xesam.el (xesam-mode-map): Use let-bound map in
12999 initialization. (Bug#11292)
13000
13001 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13002
13003 Preserve ispell session localwords when switching back to
13004 original buffer.
13005
13006 * textmodes/ispell.el (ispell-buffer-session-localwords):
13007 New buffer-local variable to hold buffer session localwords.
13008 (ispell-kill-ispell): Add option 'clear to delete session
13009 localwords.
13010 (ispell-command-loop, ispell-change-dictionary)
13011 (ispell-buffer-local-words): Preserve session localwords when
13012 needed.
13013
13014 * textmodes/flyspell.el (flyspell-process-localwords)
13015 (flyspell-do-correct): Preserve session localwords when needed.
13016
13017 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13018
13019 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13020 using obsolete `translation-table-for-input'.
13021 (ispell-word, ispell-process-line, ispell-complete-word):
13022 Use plain `insert' instead of removed `ispell-insert-word'.
13023
13024 2012-04-22 Chong Yidong <cyd@gnu.org>
13025
13026 * cus-edit.el (custom-variable-menu)
13027 (custom-variable-reset-saved, custom-face-menu)
13028 (custom-face-reset-saved): If there is no saved value, make the
13029 "reset-saved" operation bring back the default (Bug#9509).
13030 (custom-face-state): Properly detect themed faces.
13031
13032 * faces.el (face-spec-set): Stop supporting deprecated form of
13033 third arg.
13034
13035 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13036
13037 Move functions from C to Lisp. Make non-blocking method calls
13038 the default. Implement further D-Bus standard interfaces.
13039
13040 * net/dbus.el (dbus-message-internal): Declare function.
13041 Remove unneeded function declarations.
13042 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13043 (dbus-message-type-method-return, dbus-message-type-error)
13044 (dbus-message-type-signal): Declare variables. Remove local
13045 definitions.
13046 (dbus-interface-dbus, dbus-interface-peer)
13047 (dbus-interface-introspectable, dbus-interface-properties)
13048 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13049 Adapt docstring.
13050 (dbus-interface-objectmanager): New defconst.
13051 (dbus-call-method, dbus-call-method-asynchronously)
13052 (dbus-send-signal, dbus-method-return-internal)
13053 (dbus-method-error-internal, dbus-register-service)
13054 (dbus-register-signal, dbus-register-method): New defuns, moved
13055 from dbusbind.c
13056 (dbus-call-method-handler, dbus-setenv)
13057 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13058 New defuns.
13059 (dbus-call-method-non-blocking): Make it an obsolete function.
13060 (dbus-unregister-object, dbus-unregister-service)
13061 (dbus-handle-event, dbus-register-property)
13062 (dbus-property-handler): Obey the new structure of
13063 `bus-registered-objects'.
13064 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13065 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13066 Use `dbus-call-method'.
13067
13068 2012-04-22 Chong Yidong <cyd@gnu.org>
13069
13070 * cus-edit.el (custom-commands, custom-reset-menu)
13071 (Custom-reset-standard): Tweak labels.
13072 (custom-reset-button-menu): Change default to t.
13073 (custom-buffer-create-internal): For the custom-reset-button-menu
13074 case, put the revert button first.
13075 (custom-group-subtitle): New face.
13076 (custom-group-value-create): Align docstring to a specific column.
13077
13078 * wid-edit.el (widget-documentation-link-add): Don't handle
13079 indentation in this function.
13080 (widget-documentation-string-indent-to): New function.
13081 (widget-documentation-string-value-create): Use it.
13082
13083 * autorevert.el (auto-revert):
13084 * epg-config.el (epg):
13085 * ibuffer.el (ibuffer):
13086 * mpc.el (mpc):
13087 * ses.el (ses):
13088 * eshell/eshell.el (eshell):
13089 * net/ange-ftp.el (ange-ftp):
13090 * progmodes/ebnf2ps.el (postscript):
13091 * progmodes/flymake.el (flymake):
13092 * progmodes/prolog.el (prolog):
13093 * progmodes/verilog-mode.el (verilog-mode):
13094 * progmodes/which-func.el (which-func):
13095 * term/xterm.el (xterm):
13096 * textmodes/picture.el (picture):
13097 * textmodes/tildify.el (tildify):
13098 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13099 customization buffers.
13100
13101 2012-04-22 Alan Mackenzie <acm@muc.de>
13102
13103 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13104 Adding a ) can hide the resulting (..) from searches. Fix it.
13105 Bound the backward search to the position of the existing (.
13106
13107 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13108
13109 * progmodes/verilog-mode.el (verilog-mode): Check whether
13110 which-func-modes is t before adding verilog-mode.
13111 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13112
13113 2012-04-21 Leo Liu <sdl.web@gmail.com>
13114
13115 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13116
13117 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13118
13119 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13120 filling of the last column of a table (Bug#5635).
13121 (woman-find-next-control-line): New arg, specifying an additional
13122 regexp component for the control line.
13123 (woman2-roff-buffer): Use it.
13124 (woman-break-table): New function.
13125 (woman2-TS): Use it.
13126
13127 2012-04-21 Chong Yidong <cyd@gnu.org>
13128
13129 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13130 (woman-horizontal-escapes, woman-negative-vertical-space)
13131 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13132 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13133
13134 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * minibuffer.el (completion-file-name-table): Complete user names.
13137
13138 2012-04-20 Leo Liu <sdl.web@gmail.com>
13139
13140 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13141 and pcase-let*.
13142
13143 2012-04-20 Chong Yidong <cyd@gnu.org>
13144
13145 * server.el (server-execute): Respect initial-buffer-choice if it
13146 is a string and there are no files to open (Bug#2825).
13147 (server-create-window-system-frame, server-create-tty-frame):
13148 Don't switch buffers here.
13149 (server-process-filter): Only try to open a window system frame if
13150 compiled with graphical support (Bug#8314).
13151
13152 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13153
13154 * battery.el (battery-echo-area-format): Display remaining time
13155 for sysfs backend too (Bug#11269).
13156 (battery-linux-sysfs): Fix conditional for the charge.
13157
13158 2012-04-20 Chong Yidong <cyd@gnu.org>
13159
13160 * progmodes/gdb-mi.el (gdb): Revert previous change.
13161 (gdb-inferior-io--init-proc): New function.
13162 (gdb-init-1): Use it.
13163 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13164 responsible for allocating a new pty and hooking it to gdb when
13165 the old pty gets an EIO due to process exit.
13166 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13167 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13168 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13169
13170 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13171
13172 * window.el (window-min-size, window-sizable, window-min-delta)
13173 (window-max-delta, window--resizable, window-resizable)
13174 (window-total-size, window-full-height-p, window-full-width-p)
13175 (window-in-direction, window--resize-mini-window, window-resize)
13176 (window--resize-child-windows-normal)
13177 (window--resize-child-windows, window--resize-siblings)
13178 (window--resize-this-window, adjust-window-trailing-edge)
13179 (enlarge-window, shrink-window): Doc fixes.
13180
13181 2012-04-20 Chong Yidong <cyd@gnu.org>
13182
13183 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13184 New function to call delete-process on the gdb-inferior buffer's pty.
13185 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13186 pty process (Bug#11273).
13187 (gdb-update): New arg to suppress talking to the gdb process.
13188 (gdb-done-or-error): Use it.
13189 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13190 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13191 sentinel not being called.
13192
13193 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13194
13195 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13196
13197 2012-04-20 Glenn Morris <rgm@gnu.org>
13198
13199 * net/network-stream.el (open-network-stream): Doc fix.
13200
13201 2012-04-20 Chong Yidong <cyd@gnu.org>
13202
13203 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13204
13205 2012-04-20 Alan Mackenzie <acm@muc.de>
13206
13207 Ensure searching for keywords is case sensitive.
13208
13209 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13210 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13211 (c-defun-name, c-mark-function, c-cpp-define-name)
13212 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13213 (c-context-line-break): Bind case-fold-search to nil.
13214
13215 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13216 Bind case-fold-search to nil.
13217
13218 2012-04-20 Chong Yidong <cyd@gnu.org>
13219
13220 * mail/sendmail.el (mail-bury): Call return action with the right
13221 Rmail buffer (Bug#11242).
13222
13223 * server.el (server-process-filter): Handle corner case where both
13224 tty and nowait options are present (Bug#11102).
13225
13226 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13227
13228 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13229 (top level): Put into the executable the ident-style '$Id:' tag on
13230 windows-nt as well.
13231
13232 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * electric.el (electric-indent-post-self-insert-function): Check that
13235 electric-indent-mode is enabled in current buffer.
13236
13237 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13238
13239 * imenu.el (imenu-progress-message): Restore; it is "used" in
13240 erc/erc-imenu.el and net/snmp-mode.el.
13241
13242 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13243
13244 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13245 (mouse-avoidance-nudge-mouse): Remove unused binding.
13246
13247 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13248
13249 * descr-text.el (describe-char):
13250 * progmodes/python.el (python-describe-symbol):
13251 Don't call `toggle-read-only', set `buffer-read-only'.
13252
13253 * imenu.el (imenu-default-goto-function): Mark unused args.
13254 (imenu-progress-message): Remove obsolete macro; all callers changed.
13255
13256 * subr.el (keymap-canonicalize): Remove unused binding.
13257 (read-passwd): Mark unused arg.
13258
13259 * tutorial.el (tutorial--display-changes): Remove unused binding.
13260 (tutorial--save-tutorial-to): Remove unused variable.
13261
13262 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13263 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13264 (package-generate-autoloads, package-menu--generate)
13265 (package-menu--find-upgrades): Remove unused bindings.
13266
13267 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13268 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13269 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13270 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13271 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13272 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13273 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13274 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13275 (cua-delete-char-rectangle): Mark unused args.
13276 (cua-align-rectangle): Remove unused binding.
13277
13278 * mail/rmail.el (compilation--message->loc)
13279 (epa--find-coding-system-for-mime-charset): Declare.
13280
13281 * net/dbus.el (dbus-register-service): Declare.
13282 (dbus-name-owner-changed-handler): Remove unused binding.
13283
13284 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13285 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13286 (nxml-scan-backward-within): Mark unused arg.
13287 (nxml-dynamic-markup-word): Remove unused binding.
13288
13289 * mouse.el (mouse-menu-major-mode-map):
13290 * emacs-lisp/authors.el (authors-scan-change-log)
13291 (authors-add-to-author-list):
13292 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13293 * emacs-lisp/smie.el (smie-auto-fill):
13294 * mail/sendmail.el (mail-bury):
13295 * mail/unrmail.el (unrmail):
13296 * net/tls.el (open-tls-stream):
13297 * textmodes/picture.el (picture-mouse-set-point):
13298 Remove unused bindings.
13299
13300 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13301
13302 * net/tramp.el (tramp-action-password): Let-bind
13303 `enable-recursive-minibuffers' to t.
13304
13305 2012-04-18 Sam Steingold <sds@gnu.org>
13306
13307 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13308 instead of 'string to accommodate values like [f11].
13309 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13310 * progmodes/gdb-mi.el: Likewise.
13311
13312 2012-04-18 Leo Liu <sdl.web@gmail.com>
13313
13314 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13315 current buffer.
13316 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13317 LOCAL is nil.
13318
13319 2012-04-18 Chong Yidong <cyd@gnu.org>
13320
13321 * simple.el (line-move): Use forward-line if in batch mode
13322 (Bug#11053).
13323
13324 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13325
13326 * files.el (after-find-file): Do not try to add a final newline if
13327 the buffer is read-only (Bug#11156).
13328
13329 2012-04-17 Richard Stallman <rms@gnu.org>
13330
13331 * mail/rmail.el (rmail-start-mail):
13332 Pass (rmail-mail-return...) for the return-action.
13333 Pass (rmail-yank-current-message...) for the yank-action.
13334 (rmail-yank-current-message): New function.
13335 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13336 (rmail-reply): Likewise.
13337 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13338
13339 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13340 buffer, not the last. Reject temp buffers. Use the rmail-mode
13341 buffer, not newbuf.
13342
13343 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13344
13345 * server.el (server-ensure-safe-dir): Simplify.
13346
13347 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * emacs-lisp/smie.el: Provide smarter auto-filling.
13350 (smie-auto-fill): New function.
13351 (smie-setup): Use it.
13352
13353 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13354
13355 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13356
13357 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13358 (comment-indent): Use it.
13359
13360 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13361
13362 * ses.el: The overall change is to add cell renaming, that is
13363 setting fancy names for cell symbols other than name matching
13364 "\\`[A-Z]+[0-9]+\\'" regexp .
13365 (ses-localvars): Add ses--renamed-cell-symb-list.
13366 (ses-create-cell-variable): New defun.
13367 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13368 (ses-relocate-formula): Relocate formulas only for cells the
13369 symbols of which are not renamed, i.e. symbols whose names do not
13370 match regexp "\\`[A-Z]+[0-9]+\\'".
13371 (ses-relocate-all): Relocate values only for cells the symbols of
13372 which are not renamed.
13373 (ses-load): Create cells variables as the (ses-cell ...) are read,
13374 in order to check row col consistency with cell symbol name only
13375 for cells that are not renamed.
13376 (ses-replace-name-in-formula): New defun.
13377 (ses-rename-cell): New defun.
13378
13379 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13380
13381 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13382 New option (bug#11118).
13383 (perl-calculate-indent): Respect it.
13384
13385 2012-04-17 Glenn Morris <rgm@gnu.org>
13386
13387 * dired-aux.el (dired-mark-read-string): Doc fix.
13388
13389 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13390
13391 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13392 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13393
13394 2012-04-17 Glenn Morris <rgm@gnu.org>
13395
13396 * mouse.el (mouse-drag-track):
13397 * speedbar.el (speedbar-frame-mode):
13398 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13399
13400 2012-04-16 Leo Liu <sdl.web@gmail.com>
13401
13402 * progmodes/python.el: Trivial cleanup.
13403
13404 2012-04-16 Glenn Morris <rgm@gnu.org>
13405
13406 * vc/vc.el (vc-string-prefix-p):
13407 * vc/pcvs-util.el (cvs-string-prefix-p):
13408 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13409 * mpc.el (mpc-string-prefix-p):
13410 Make all of these into obsolete aliases for string-prefix-p.
13411 Update callers.
13412 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13413
13414 * textmodes/two-column.el: Move custom options to the start.
13415 (frame-width): Remove compat definition.
13416 (2C-associate-buffer, 2C-dissociate):
13417 Use with-current-buffer rather than save-excursion.
13418 (2C-dissociate): Force a mode-line update.
13419 (2C-autoscroll): Use ignore-errors.
13420
13421 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13422 Autoload trivia.
13423
13424 * emacs-lisp/cl-extra.el (*random-state*):
13425 Remove unnecessary declaration.
13426
13427 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13428
13429 * play/cookie1.el (cookie-snarf):
13430 Give an explicit error if input file cannot be read.
13431
13432 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13433
13434 * progmodes/perl-mode.el (c-macro-expand):
13435 Remove unnecessary autoload (it is in loaddefs.el).
13436
13437 * textmodes/picture.el (picture-desired-column)
13438 (picture-update-desired-column): Convert comments to doc-strings.
13439 (picture-substitute): Remove function.
13440 (picture-mode-map): Initialize in the defvar.
13441
13442 * woman.el: Remove eval-after-load for tar-mode.
13443 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13444 (woman-tar-extract-file): Autoload it.
13445
13446 * frame.el (automatic-hscrolling): Make this alias obsolete.
13447
13448 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13449
13450 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13451 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13452 (ispell-dictionary-base-alist): Revert to original XEmacs
13453 friendly version for default. [:alpha:] will be added in
13454 `ispell-set-spellchecker-params' if needed.
13455
13456 2012-04-16 Chong Yidong <cyd@gnu.org>
13457
13458 * image.el (imagemagick--file-regexp): New variable.
13459 (imagemagick-register-types): Use it.
13460 (imagemagick-types-inhibit): Add :set function. Allow new value
13461 of t to inhibit all types.
13462
13463 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13464 so we can preload it.
13465
13466 * loadup.el (fboundp): Preload regexp-opt, needed by
13467 imagemagick-register-types.
13468
13469 2012-04-15 Chong Yidong <cyd@gnu.org>
13470
13471 * frame.el (scrolling): Remove nearly unused customization group.
13472
13473 * scroll-all.el (scroll-all-mode): Move to windows group.
13474
13475 2012-04-15 Chong Yidong <cyd@gnu.org>
13476
13477 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13478
13479 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13482 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13483
13484 2012-04-15 Glenn Morris <rgm@gnu.org>
13485
13486 * simple.el (process-file-side-effects): Doc fix.
13487
13488 2012-04-15 Glenn Morris <rgm@gnu.org>
13489
13490 * international/mule-cmds.el (set-language-environment): Doc fix.
13491
13492 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13493
13494 * server.el (server-auth-key, server-generate-key): Doc fixes.
13495 (server-get-auth-key): Doc fix. Use `string-match-p'.
13496 (server-start): Reflow docstring.
13497
13498 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13499
13500 * server.el (server-generate-key): `called-interactively-p'
13501 requires a parameter.
13502
13503 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13504
13505 * server.el (server-auth-key): New variable.
13506 (server-generate-key, server-get-auth-key): New function.
13507 (server-start): Use the new variable and functions to allow
13508 setting a permanent server key (bug#9423).
13509
13510 2012-04-14 Leo Liu <sdl.web@gmail.com>
13511
13512 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13513
13514 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13515
13516 Spelling fixes.
13517 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13518 Emacs uses American spelling.
13519
13520 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13521
13522 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13523 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13524 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13525 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13526
13527 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13528
13529 * progmodes/which-func.el (which-func-modes): Change default.
13530
13531 2012-04-14 Kim F. Storm <storm@cua.dk>
13532
13533 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13534 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13535
13536 2012-04-14 Chong Yidong <cyd@gnu.org>
13537
13538 * custom.el (custom-theme-set-variables): Doc fix.
13539
13540 2012-04-14 Glenn Morris <rgm@gnu.org>
13541
13542 * international/mule.el (set-auto-coding-for-load): Doc fix.
13543
13544 2012-04-14 Alan Mackenzie <acm@muc.de>
13545
13546 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13547 imenu work again for Objective C Mode. Correct the *-index values,
13548 these having been disturbed by a previous change in 2011-08.
13549
13550 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13551 Correct two search limits.
13552
13553 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13556
13557 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13558
13559 * international/characters.el: Fix sorting.
13560
13561 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13562
13563 * international/characters.el: Add more missing Latin case pairs.
13564
13565 2012-04-14 Glenn Morris <rgm@gnu.org>
13566
13567 * files.el (dir-locals-set-class-variables): Doc fix.
13568
13569 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13570
13571 * international/characters.el: Add set-case-syntax-pair call for
13572 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13573 counterpart. (Bug#11209)
13574
13575 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13576
13577 2012-04-14 Glenn Morris <rgm@gnu.org>
13578
13579 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13580
13581 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13582
13583 * textmodes/ispell.el (ispell-dictionary-base-alist):
13584 Add data for Hebrew.
13585
13586 2012-04-14 Chong Yidong <cyd@gnu.org>
13587
13588 * net/rcirc.el (rcirc-cmd-quit):
13589 Revert 2012-03-18 change (Bug#11192).
13590
13591 2012-04-14 Glenn Morris <rgm@gnu.org>
13592
13593 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13594
13595 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13596
13597 * minibuffer.el (completion-in-region-mode-map):
13598 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13599
13600 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13601
13602 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13603
13604 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13605
13606 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13607 to allow `C-M-f' and `C-M-b' to move to the nearest path
13608 separator (bug#9511).
13609
13610 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13611
13612 * avoid.el: Require cl when compiling. And also move the
13613 `provide' to the end.
13614
13615 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13616
13617 * avoid.el (mouse-avoidance-banish-position): New variable.
13618 (mouse-avoidance-banish-destination): Use it (bug#10165).
13619
13620 2012-04-13 Leo Liu <sdl.web@gmail.com>
13621
13622 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13623
13624 2012-04-13 Ken Brown <kbrown@cornell.edu>
13625
13626 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13627 this is no longer needed now that cygstart understands file:// URLs.
13628 (browse-url-filename-alist): For the same reason, don't modify
13629 file:// URLs on Cygwin.
13630
13631 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13634 the region on shift if the binding is already shifted (bug#11221).
13635
13636 2012-04-12 Glenn Morris <rgm@gnu.org>
13637
13638 * mail/mailpost.el: Move to obsolete/.
13639
13640 2012-04-12 Drew Adams <drew.adams@oracle.com>
13641
13642 * imenu.el (imenu--generic-function): Ignore invisible definitions
13643 (bug#10123).
13644
13645 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13646
13647 * hexl.el (hexl-bits): New variable.
13648 (hexl-options): Mention the variable in the doc string.
13649 (hexl-rulerise, hexl-line-displen): New functions.
13650 (hexl-mode): Mention the new variable.
13651 (hexl-mode, hexl-current-address, hexl-current-address):
13652 Use the displen.
13653 (hexl-ascii-start-column): New function.
13654 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13655 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13656
13657 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13658
13659 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13660 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13661 the encoding, as expected by hunspell.
13662
13663 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * battery.el (battery--linux-sysfs-regexp): New const.
13666 (battery-status-function): Use it. Remove yeeloong special case.
13667 (battery-yeeloong-sysfs): Remove.
13668 (battery-echo-area-format): Remove yeeloong special case.
13669
13670 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13671
13672 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13673 Reported by Noah Friedman.
13674
13675 * subr.el (read-passwd): Use read-string.
13676
13677 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13678
13679 * vcursor.el (vcursor-move): Increase the priority of the overlay
13680 (bug#9663).
13681
13682 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13683
13684 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13685 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13686
13687 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13688
13689 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13690 define-minor-mode (bug#10760).
13691
13692 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13693
13694 * progmodes/grep.el (rgrep): Tweak the find command line so
13695 that directories matching `grep-find-ignored-files' won't be
13696 pruned (bug#10351).
13697
13698 2012-04-11 Chong Yidong <cyd@gnu.org>
13699
13700 * startup.el (command-line): Remove support for long-obsolete
13701 variable font-lock-face-attributes.
13702
13703 2012-04-11 Glenn Morris <rgm@gnu.org>
13704
13705 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13706
13707 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13708
13709 * window.el (window--state-get-1): Obey window-point-insertion-type.
13710
13711 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13712
13713 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13714 to previous function when point is on the first character of a
13715 function. Take care of that in `narrow-to-defun' (bug#6157).
13716
13717 2012-04-11 Glenn Morris <rgm@gnu.org>
13718
13719 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13720 not just file-errors.
13721
13722 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13723 (vc-bzr-sha1): Use internal sha1.
13724
13725 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13726
13727 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13728
13729 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13730
13731 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13732 that start in the middle of the line (bug#10496).
13733
13734 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13735
13736 * battery.el (battery-linux-proc-acpi): Only one battery is
13737 discharged at a time, but that seems to confuse battery.el when
13738 computing `rate-type' for the battery not being discharged
13739 (bug#10332).
13740
13741 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13742
13743 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13744
13745 * international/quail.el: Use dolist and simplify.
13746 (quail-define-package, quail-update-keyboard-layout)
13747 (quail-define-rules): Use dolist.
13748 (quail-insert-kbd-layout, quail-get-translation): CSE.
13749
13750 * tmm.el: Use dolist, remove left over hook.
13751 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13752 Use dolist.
13753 (calendar-load-hook): Don't mess with it.
13754
13755 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13756 Use derived-mode-p. Run the diff asynchronously.
13757
13758 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13759
13760 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13761
13762 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13763
13764 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13765 (list-dynamic-libraries--loaded): New function.
13766 (list-dynamic-libraries--refresh): Use it.
13767
13768 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13769
13770 * progmodes/python.el (python-fill-paragraph):
13771 Make python-fill-region in a multiline string work when font-lock is
13772 disabled (bug#7018).
13773
13774 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13775
13776 * language/european.el (cp775): Add oem/legacy (en)coding on
13777 DOS/MS Windows for the Baltic languages. There are still plenty
13778 of texts written in this encoding/codepage (bug#6519).
13779
13780 2012-04-10 Glenn Morris <rgm@gnu.org>
13781
13782 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13783 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13784
13785 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13786
13787 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13788 next-line "n" and previous-line "p" in order to make recentf more
13789 consistent with ibuffer, dired or org-mode (bug#9387).
13790
13791 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13792
13793 * image.el (put-image): Return the overlay created instead of the
13794 optional input string (bug#7834). Note that this may break code
13795 that is (for some reason or other) depending on `put-image'
13796 returning the string.
13797
13798 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13799
13800 * simple.el (zap-to-char): Allow zapping using input methods
13801 (bug#1580).
13802
13803 * textmodes/fill.el (fill-region): Leave point and mark where they
13804 were before filling (bug#5399).
13805
13806 2012-04-09 Glenn Morris <rgm@gnu.org>
13807
13808 * version.el (emacs-bzr-get-version):
13809 Handle lightweight checkouts of local branches.
13810
13811 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13812
13813 * international/characters.el: Recover lost case pairs. (Bug#11209)
13814
13815 2012-04-09 Chong Yidong <cyd@gnu.org>
13816
13817 * custom.el (custom-variable-p): Return nil for non-symbol
13818 arguments instead of signaling an error.
13819 (user-variable-p): Obsolete alias for custom-variable-p.
13820
13821 * apropos.el (apropos-variable):
13822 * files-x.el (read-file-local-variable):
13823 * simple.el (set-variable):
13824 * woman.el (woman-mini-help):
13825 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13826
13827 2012-04-09 Glenn Morris <rgm@gnu.org>
13828
13829 * startup.el (normal-top-level): Don't look for leim-list.el
13830 in places where it will not be found. (Bug#910)
13831
13832 * international/mule-cmds.el (set-default-coding-systems):
13833 * files.el (normal-mode):
13834 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13835 This function was removed with ucs-tables.el in 2008.
13836
13837 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13838
13839 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13840 ispell-encoding8-command to "-i", without a trailing space.
13841 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13842 separate command-line arguments, to specify the encoding, since
13843 that's how hunspell expects it.
13844
13845 2012-04-08 Glenn Morris <rgm@gnu.org>
13846
13847 * loadup.el: Load bindings before cus-start.
13848 This reduces somewhat the number of "rogue" settings in emacs -Q.
13849
13850 2012-04-07 Glenn Morris <rgm@gnu.org>
13851
13852 * version.el (emacs-bzr-get-version): New function.
13853 (emacs-bzr-version): New variable.
13854 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13855 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13856
13857 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13858
13859 * international/uni-bidi.el, international/uni-category.el:
13860 * international/uni-combining.el, international/uni-decimal.el:
13861 * international/uni-decomposition.el, international/uni-digit.el:
13862 * international/uni-lowercase.el, international/uni-mirrored.el:
13863 * international/uni-name.el, international/uni-numeric.el:
13864 * international/uni-titlecase.el, international/uni-uppercase.el:
13865 Update for Unicode 6.1.
13866
13867 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13868
13869 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13870
13871 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13872
13873 * window.el (shrink-window): Mention the `window-min-height'
13874 variable in the doc string.
13875
13876 2012-04-05 Bastien Guerry <bzg@altern.org>
13877
13878 * color.el (color-lighten-name): Fix typo.
13879
13880 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * server.el (server--on-display-p): New function.
13883 (server--on-display-p): Use it.
13884
13885 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13886
13887 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13888 (bug#11145).
13889
13890 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13891
13892 * comint.el (comint--common-quoted-suffix): Check string boundary
13893 before comparing (bug#11158).
13894 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13895
13896 2012-04-04 Chong Yidong <cyd@gnu.org>
13897
13898 * minibuffer.el (completion-extra-properties): Doc fix.
13899
13900 * subr.el (delayed-warnings-hook): Doc fix.
13901
13902 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13903
13904 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13905 selection (Bug#11159).
13906 (epa-insert-keys): Inform that the default public key will be
13907 exported if no key is selected.
13908
13909 2012-04-04 Richard Stallman <rms@gnu.org>
13910
13911 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13912
13913 2012-04-03 Chong Yidong <cyd@gnu.org>
13914
13915 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13916 mail-insert-file, not its obsolete alias mail-attach-file.
13917
13918 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13919
13920 * notifications.el (notifications-notify): Fix docstring.
13921
13922 2012-04-02 Glenn Morris <rgm@gnu.org>
13923
13924 * emacs-lisp/authors.el (authors-aliases): Another addition.
13925
13926 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13927
13928 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13929 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13930 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13931
13932 2012-04-01 Chong Yidong <cyd@gnu.org>
13933
13934 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13935 Handle root directory properly.
13936 (copy-directory): Caller changed.
13937
13938 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13939 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13940
13941 2012-03-31 Glenn Morris <rgm@gnu.org>
13942
13943 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13944
13945 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13946
13947 * calendar/calendar.el (calendar-window-list)
13948 (calendar-hide-window): Restore. (Bug#11140)
13949 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13950
13951 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13952
13953 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13954
13955 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13956 Check if file is a symlink (Bug#10489).
13957
13958 * files.el (copy-directory): Likewise.
13959
13960 2012-03-30 Chong Yidong <cyd@gnu.org>
13961
13962 * image.el (imagemagick-types-inhibit)
13963 (imagemagick-register-types): Doc fix.
13964
13965 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13966
13967 * textmodes/ispell.el (ispell-get-extended-character-mode):
13968 Disable extended-char-mode for hunspell. hunspell does not support it
13969 and treats ~word as ordinary words in pipe mode.
13970
13971 2012-03-30 Glenn Morris <rgm@gnu.org>
13972
13973 * tutorial.el (help-with-tutorial): Ensure local variables don't
13974 happen to make the buffer read-only. (Bug#11127)
13975
13976 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13977
13978 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13979 (perl-calculate-indent): Return `noindent' in strings.
13980
13981 2012-03-28 Sam Steingold <sds@gnu.org>
13982
13983 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13984 instead of the broken adhockery which does not prevent calendar
13985 buffers from being displayed at random after exit.
13986 (calendar-window-list, calendar-hide-window): Remove the broken
13987 adhockery.
13988
13989 2012-03-28 Glenn Morris <rgm@gnu.org>
13990
13991 * replace.el (query-replace-map): Doc fix.
13992
13993 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13994
13995 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13996 contents. (Bug#11109)
13997
13998 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13999
14000 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14001 (bug#11077).
14002 (avl-tree--check, avl-tree--check-node): New funs.
14003
14004 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14005
14006 * window.el (switch-to-visible-buffer): New option.
14007 (switch-to-prev-buffer, switch-to-next-buffer):
14008 Observe switch-to-visible-buffer. Make sure that checking for a window
14009 showing a buffer already is done on the same frame.
14010
14011 2012-03-27 Glenn Morris <rgm@gnu.org>
14012
14013 * startup.el (mail-host-address): Doc fix.
14014
14015 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14018 than 197 variables.
14019
14020 2012-03-26 Ami Fischman <ami@fischman.org>
14021
14022 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14023
14024 2012-03-26 Glenn Morris <rgm@gnu.org>
14025
14026 * files.el (save-buffers-kill-emacs): Doc fix.
14027
14028 * startup.el (normal-top-level, command-line, command-line-1):
14029 Give them doc strings.
14030
14031 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14032
14033 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14034 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14035
14036 2012-03-25 Chong Yidong <cyd@gnu.org>
14037
14038 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14039 theme if it was previously enabled before (Bug#11031).
14040
14041 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14042 spec with custom-face-get-current-spec if its :shown-value is not
14043 determined yet (Bug#9337).
14044 (customize-create-theme, custom-theme-revert): Doc fixes.
14045
14046 * button.el (button-at): Minor addition to docstring.
14047
14048 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14049
14050 * vc/vc.el (vc-merge): Fix a prompt.
14051
14052 2012-03-24 Chong Yidong <cyd@gnu.org>
14053
14054 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14055 point (Bug#9623).
14056
14057 * button.el (button-at): Minor addition to docstring.
14058
14059 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14060
14061 * newcomment.el (comment-choose-indent): No space after BOL.
14062
14063 2012-03-22 Sam Steingold <sds@gnu.org>
14064
14065 * window.el (switch-to-prev-buffer): Revert last patch because the
14066 bug turned out to be an advertised feature (Elisp manual 28.14).
14067
14068 2012-03-22 Glenn Morris <rgm@gnu.org>
14069
14070 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14071 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14072
14073 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14074
14075 * net/network-stream.el (network-stream-open-starttls): Make error
14076 message under Windows be less misleading.
14077
14078 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14079
14080 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14081 understands (bug#9942).
14082
14083 2012-03-22 Chong Yidong <cyd@gnu.org>
14084
14085 * simple.el (end-of-visible-line): Handle return value of
14086 next-single-property-change properly (Bug#9371).
14087
14088 2012-03-22 Kenichi Handa <handa@m17n.org>
14089
14090 * international/quail.el (quail-insert-kbd-layout): Fix previous
14091 change. To avoid unwanted bidi reordering, use
14092 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14093
14094 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14095
14096 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14097 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14098 (ruby-beginning-of-indent): Be more careful with the difference
14099 between word-boundary and symbol boundary.
14100 (ruby-mode-syntax-table): Make : a symbol constituent.
14101
14102 2012-03-21 Andreas Politz <politza@fh-trier.de>
14103
14104 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14105
14106 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14107
14108 * progmodes/etags.el (tags-completion-at-point-function):
14109 Improve last fix.
14110
14111 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14112
14113 2012-03-21 Sam Steingold <sds@gnu.org>
14114
14115 * progmodes/etags.el (tags-completion-at-point-function):
14116 Avoid the error when point is inside the pattern.
14117
14118 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14119
14120 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14121 line (Bug#10855).
14122
14123 2012-03-21 Drew Adams <drew.adams@oracle.com>
14124
14125 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14126
14127 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14128
14129 * ido.el (ido-set-current-directory, ido-read-internal)
14130 (ido-choose-completion-string, ido-completion-help): Handle nil
14131 value of ido-completion-buffer (Bug#11008).
14132
14133 2012-03-21 Sam Steingold <sds@gnu.org>
14134
14135 * window.el (switch-to-prev-buffer): Do not switch to a visible
14136 window previous buffer, just like with the frame previous buffers.
14137
14138 2012-03-21 Chong Yidong <cyd@gnu.org>
14139
14140 * faces.el (make-face, make-empty-face, copy-face):
14141 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14142 Doc fixes.
14143
14144 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14147 (widget-complete): Remove broken use of it.
14148
14149 2012-03-20 Chong Yidong <cyd@gnu.org>
14150
14151 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14152 Use string-width and truncate-string-width to handle arbitrary
14153 characters.
14154
14155 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14156
14157 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14158 to draw rectangles, not squares. (Regression introduced by revno
14159 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14160
14161 2012-03-18 Chong Yidong <cyd@gnu.org>
14162
14163 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14164 it is not yet defined (for temacs).
14165
14166 2012-03-18 Leo Liu <sdl.web@gmail.com>
14167
14168 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14169 prefix.
14170
14171 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14172
14173 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14174 (ispell-choices-win-default-height, ispell-silently-savep)
14175 (ispell-dictionary-alist, ispell-encoding8-command)
14176 (ispell-check-version, ispell-aspell-find-dictionary)
14177 (ispell-valid-dictionary-list, ispell-words-keyword)
14178 (ispell-get-word, ispell-internal-change-dictionary)
14179 (ispell-region, ispell-skip-region-list)
14180 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14181 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14182 (ispell-message-text-end, ispell-message)
14183 (ispell-buffer-local-parsing): Doc fix.
14184
14185 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14186
14187 * htmlfontify.el: Add support for code block fontification for ODT
14188 export (Bug #9914).
14189 (hfy-optimisations): Define new option
14190 `body-text-only'
14191 (hfy-fontify-buffer): Honor above setting.
14192 (hfy-begin-span, hfy-end-span): New routines factored out form
14193 `hfy-fontify-buffer'.
14194 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14195 that permit insertion of custom tags.
14196 (hfy-fontify-buffer): Use above handlers.
14197 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14198 (hfy-face-to-css): Re-defined to be a variable.
14199 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14200 over multiple runs. This is made possible by having the caller let
14201 bind a special variable `hfy-user-sheet-assoc'.
14202 (htmlfontify-string): New defun.
14203 (hfy-compile-face-map): Make sure that the last char in the
14204 buffer is correctly fontified.
14205 (hfy-face-resolve-face): Whitespace only change.
14206
14207 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14208
14209 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14210 message more clear.
14211
14212 2012-03-16 Leo Liu <sdl.web@gmail.com>
14213
14214 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14215
14216 2012-03-16 Alan Mackenzie <acm@muc.de>
14217
14218 Further optimize the handling of large macros.
14219
14220 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14221 limit to a call of `c-literal-limits'.
14222 (c-determine-+ve-limit): New function.
14223 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14224 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14225 In CASE 5B, restrict a search limit to 500.
14226 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14227
14228 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14229 Restrict macro bounds to +-500 from after-change's BEG END.
14230
14231 2012-03-16 Leo Liu <sdl.web@gmail.com>
14232
14233 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14234
14235 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14236
14237 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14238 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14239
14240 2012-03-16 Glenn Morris <rgm@gnu.org>
14241
14242 * view.el (view-buffer, view-buffer-other-window)
14243 (view-buffer-other-frame): Doc fixes re special mode-class.
14244
14245 * subr.el (eval-after-load): If named feature is provided not from
14246 a file, run after-load forms. (Bug#10946)
14247
14248 * calendar/calendar.el (calendar-insert-at-column):
14249 Handle non-unit-width characters a bit better. (Bug#10978)
14250
14251 2012-03-15 Chong Yidong <cyd@gnu.org>
14252
14253 * emacs-lisp/ring.el (ring-extend): New function.
14254 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14255
14256 * comint.el (comint-read-input-ring)
14257 (comint-add-to-input-history): Grow comint-input-ring lazily.
14258
14259 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14262 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14263
14264 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14265 (imenu-add-to-menubar): Don't add a redundant index.
14266 (imenu-update-menubar): Handle a dynamically composed keymap.
14267
14268 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14269
14270 * mail/sendmail.el (mail-encode-header):
14271 Bind rfc2047-encode-encoded-words to nil.
14272
14273 2012-03-13 Glenn Morris <rgm@gnu.org>
14274
14275 * calendar/calendar.el (calendar-string-spread):
14276 Handle non-unit-width characters a bit better. (Bug#10978)
14277
14278 2012-03-13 Leo Liu <sdl.web@gmail.com>
14279
14280 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14281 directory and file as argument (Bug#10822).
14282
14283 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14284
14285 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14286 For dynamically generated code, follow $PC.
14287 (gdb-disassembly-handler-custom): Handle no function name case.
14288
14289 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14290
14291 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14292 * emulation/ws-mode.el (ws-query-replace):
14293 * sort.el (sort-regexp-fields):
14294 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14295
14296 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14297
14298 * dabbrev.el: Fix cycle completion order (bug#10963).
14299 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14300 (dabbrev-completion): Don't use an obarray; provide
14301 a cycle-sort-function.
14302
14303 2012-03-12 Leo Liu <sdl.web@gmail.com>
14304
14305 * simple.el (kill-new): Use equal-including-properties for comparison.
14306 (kill-do-not-save-duplicates): Doc fix.
14307
14308 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * dabbrev.el: Fix cycle completion (bug#10963).
14311 Use lexical binding and wrap to 80 columns.
14312 (dabbrev-completion): Delay computing the list of completions.
14313
14314 2012-03-12 Kenichi Handa <handa@m17n.org>
14315
14316 * international/quail.el (quail-insert-kbd-layout): Surround each
14317 row by LRO and PDF instead of inserting many LRMs. Pad the left
14318 and right of each non-spacing marks. Insert invisible space
14319 between lower and upper characters to prevent composition.
14320
14321 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * minibuffer.el (minibuffer-complete): Don't get confused when the
14324 function is run twice via different commands (bug#10958).
14325 (complete-with-action): Fix docstring.
14326
14327 2012-03-12 Chong Yidong <cyd@gnu.org>
14328
14329 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14330 (nxml-completion-at-point-function): New function.
14331 (nxml-mode): Use it.
14332 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14333
14334 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14335 Load generated autoloads file before byte compiling (Bug#10970).
14336 (package--make-autoloads-and-compile): New helper fun.
14337
14338 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14339
14340 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14341
14342 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14343
14344 * autorevert.el (auto-revert-handler): Ensure, that
14345 file-readable-p is applied only for local files or in
14346 auto-revert-tail-mode.
14347
14348 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14349
14350 * server.el (server-eval-at): Handle non-tcp connections.
14351 Decode result string.
14352
14353 * server.el (server-msg-size): New constant.
14354 (server-reply-print): New function.
14355 (server-eval-and-print): Use it.
14356 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14357 Handle -print-nonl.
14358
14359 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14360
14361 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14362 (Bug#10987).
14363
14364 2012-03-11 Chong Yidong <cyd@gnu.org>
14365
14366 * simple.el (goto-line): Doc fix (Bug#9938).
14367
14368 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14369
14370 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14371 when finished (Bug#10963).
14372
14373 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14374
14375 * window.el (split-window-below): Fix bug in case where
14376 split-window-keep-point is nil (Bug#10971).
14377
14378 2012-03-11 Juri Linkov <juri@jurta.org>
14379
14380 * replace.el (replace-highlight): Set isearch-word to nil
14381 unconditionally. (Bug#10887)
14382
14383 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14384
14385 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14386 mairix-replace-illegal-chars; all callers changed. Don't remove
14387 ^, ~, and = characters: they are meaningful in mairix search specs.
14388 (mairix-widget-create-query): Add usage information about mairix
14389 search forms: negating words, searching for substrings, etc.
14390
14391 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14392
14393 * international/fontset.el (font-encoding-alist): Add an entry for
14394 ksx1001 (Bug#5667).
14395
14396 2012-03-10 Richard Stallman <rms@gnu.org>
14397
14398 * mail/sendmail.el (mail-encode-header):
14399 Set rfc2047-encode-encoded-words.
14400
14401 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14402
14403 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14404 view buffer means not swapped.
14405 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14406 (rmail-write-region-annotate): Error if real text has disappeared.
14407
14408 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14409
14410 2012-03-10 Chong Yidong <cyd@gnu.org>
14411
14412 * emulation/cua-rect.el (cua--init-rectangles):
14413 * emulation/cua-base.el (cua--init-keymaps):
14414 Add delete-forward-char to remappings (Bug#9666).
14415
14416 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14417
14418 * speedbar.el (speedbar-unhighlight-one-tag-line):
14419 Avoid unhighlighting due to frame switching (Bug#10275).
14420
14421 2012-03-10 Chong Yidong <cyd@gnu.org>
14422
14423 * minibuffer.el (completion-in-region, completion-help-at-point):
14424 Give the completion field overlay a high priority (Bug#6830).
14425
14426 * dired.el (dired-goto-file): Recognize absolute file name
14427 listings (Bug#7126).
14428 (dired-goto-file-1): New helper function.
14429 (dired-toggle-read-only): Inhibit warnings.
14430
14431 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14432
14433 * net/dbus.el (dbus-property-handler): Return empty array if
14434 there are no properties.
14435
14436 2012-03-09 Leo Liu <sdl.web@gmail.com>
14437
14438 * savehist.el (savehist-printable): Stricter check for string
14439 value (Bug#10937).
14440
14441 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14442
14443 * mail/smtpmail.el (smtpmail-send-it):
14444 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14445 valid mbox format.
14446
14447 2012-03-09 Glenn Morris <rgm@gnu.org>
14448
14449 * files.el (dir-locals-find-file):
14450 Don't check result is regular, readable.
14451 (dir-locals-read-from-file): Demote errors.
14452
14453 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14454
14455 * international/quail.el (quail-insert-kbd-layout):
14456 Insert invisible LRM characters before each character in a keyboard
14457 layout cell, to prevent their reordering by bidi display engine.
14458 For details, see the discussion in
14459 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14460
14461 2012-03-08 Alan Mackenzie <acm@muc.de>
14462
14463 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14464 the starting position; make it extend the marked region when
14465 invoked repeatedly - all under appropriate circumstances.
14466 Fixes bugs #5525, #10906.
14467
14468 2012-03-08 Glenn Morris <rgm@gnu.org>
14469
14470 * files.el (locate-dominating-file, dir-locals-find-file):
14471 Undo 2012-03-06 change.
14472
14473 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14474
14475 * international/quail.el (quail-help):
14476 Force bidi-paragraph-direction be left-to-right. See discussion in
14477 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14478 for the reason.
14479
14480 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14481
14482 Avoid superfluous registering of signals. (Bug#10807)
14483
14484 * notifications.el (notifications-on-action-object)
14485 (notifications-on-close-object): New defvars.
14486 (notifications-on-action-signal, notifications-on-closed-signal):
14487 Unregister the signal if not needed any longer.
14488 (notifications-notify): Register `notifications-action-signal' or
14489 `notifications-closed-signal', if :on-action or :on-close has been
14490 passed as argument.
14491
14492 2012-03-07 Chong Yidong <cyd@gnu.org>
14493
14494 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14495 non-X platforms.
14496
14497 2012-03-06 Glenn Morris <rgm@gnu.org>
14498
14499 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14500 (x-disown-selection-internal, x-get-selection-internal):
14501 Doc fix (add arglist signatures). (Bug#10783)
14502
14503 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14504
14505 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14506 Handle breakpoints with no "type".
14507
14508 2012-03-06 Glenn Morris <rgm@gnu.org>
14509
14510 * files.el (locate-dominating-file): Add optional predicate argument.
14511 (dir-locals-find-file): Make use of above change.
14512
14513 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14514
14515 * info.el (Info-insert-dir): Also try "dir.gz".
14516
14517 2012-03-06 Glenn Morris <rgm@gnu.org>
14518
14519 * files.el (dir-locals-find-file):
14520 Ignore non-readable or non-regular files. (Bug#10928)
14521
14522 * files.el (locate-dominating-file): Doc fix.
14523
14524 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14525
14526 * calendar/calendar.el (calendar-set-mode-line):
14527 `getenv' returns a string. (Bug#10951)
14528
14529 2012-03-05 Leo Liu <sdl.web@gmail.com>
14530
14531 * simple.el (backward-delete-char-untabify): Constrain point to
14532 field (Bug#10939).
14533
14534 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14535
14536 2012-03-05 Chong Yidong <cyd@gnu.org>
14537
14538 * simple.el (count-words): If called from Lisp, return the word
14539 count, for symmetry with `count-lines'. Arglist changed.
14540 (count-words--message): Args changed. Consolidate counting code
14541 from count-words and count-words-region.
14542 (count-words-region): Caller changed.
14543 (count-lines-region): Make it an obsolete alias.
14544
14545 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14546
14547 * saveplace.el (save-place-to-alist)
14548 (save-place-ignore-files-regexp): Allow value nil to disable this
14549 feature.
14550
14551 2012-03-04 Chong Yidong <cyd@gnu.org>
14552
14553 * faces.el (face-spec-reset-face): For the default face, reset the
14554 attributes to default values (Bug#10748).
14555
14556 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14557
14558 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14559 previous patch: Check `message-send-mail-function', and not the
14560 default function (bug#10897).
14561
14562 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * notifications.el (notifications-on-action-signal)
14565 (notifications-on-closed-signal): Check for unique service name of
14566 incoming event. Fix error in removing entry.
14567 (top): Register for signals with wildcard service name.
14568 (notifications-notify): Use daemon unique service name for map entries.
14569
14570 2012-03-04 Chong Yidong <cyd@gnu.org>
14571
14572 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14573
14574 2012-03-04 Glenn Morris <rgm@gnu.org>
14575
14576 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14577 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14578 (expand-abbrev, define-abbrev-table): Doc fixes.
14579
14580 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14581
14582 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14583 `message-default-send-mail-function' and not `send-mail-function'
14584 when doing the prompting for `sendmail-query-once' before sending
14585 in Message buffers (bug#10897).
14586
14587 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14588 This is inconsistent with all the other stream functions, which leave
14589 the setting up to the higher levels (if so wanted) (bug#10931).
14590
14591 2012-03-02 Alan Mackenzie <acm@muc.de>
14592
14593 Depessimize the handling of very large macros.
14594
14595 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14596 (c-macro-cache-syntactic): New variables to implement a one
14597 element macro cache.
14598 (c-invalidate-macro-cache): New function.
14599 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14600 Adapt to use the new cache.
14601 (c-state-safe-place): Use better the cache of safe positions.
14602 (c-state-semi-nonlit-pos-cache)
14603 (c-state-semi-nonlit-pos-cache-limit):
14604 New variables for...
14605 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14606 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14607 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14608 Use c-state-semi-safe-place.
14609
14610 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14611 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14612
14613 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14614
14615 * jka-compr.el (jka-compr-call-process):
14616 Apply `file-accessible-directory-p' only when the default directory is
14617 not remote.
14618
14619 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14620
14621 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14622 access of FILE2, if FILE1 does not exist.
14623
14624 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14625 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14626
14627 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14628 Add "PAGER=" to `process-environment'.
14629
14630 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14631
14632 * progmodes/sql.el: Bug fix
14633 (sql-get-login-ext): Save login values in globals.
14634 (sql-get-login): Use new version of `sql-get-login-ext'.
14635 (sql-interactive-mode): Set global `sql-connection' to nil.
14636 (sql-connect): Set global values for connection.
14637 (sql-product-interactive): Save global values as buffer local.
14638
14639 2012-02-29 Leo Liu <sdl.web@gmail.com>
14640
14641 * abbrev.el (define-abbrevs): Reset sys to nil.
14642
14643 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14644
14645 * files.el (file-equal-p): Rename from `files-equal-p'.
14646 Return nil when one or both files don't exist.
14647 (file-subdir-of-p): Now only top directory must exists,
14648 return nil if it doesn't.
14649 (copy-directory): No need to test with `file-subdir-of-p' after
14650 creating dir.
14651 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14652 to `file-equal-p'.
14653
14654 2012-02-28 Glenn Morris <rgm@gnu.org>
14655
14656 * shell.el (shell-mode):
14657 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14658 * play/landmark.el (landmark-font-lock-face-O):
14659 * play/handwrite.el (handwrite):
14660 * play/gomoku.el (gomoku-O):
14661 * net/browse-url.el (browse-url-browser-display):
14662 * international/mule.el (define-charset):
14663 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14664 * filesets.el (filesets-find-file-delay):
14665 * eshell/em-xtra.el (eshell-xtra):
14666 * eshell/em-unix.el (eshell-grep):
14667 * emulation/viper.el (viper-mode):
14668 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14669 * emacs-lisp/easymenu.el (easy-menu-define):
14670 * calendar/timeclock.el (timeclock-use-display-time):
14671 * bs.el (bs-mode):
14672 * bookmark.el (bookmark-save-flag):
14673 Doc fix (standardize possessive apostrophe usage).
14674
14675 2012-02-27 Chong Yidong <cyd@gnu.org>
14676
14677 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14678 Fix key-binding lookup for ESC key (Bug#9146).
14679
14680 * font-lock.el (font-lock-specified-p): Rename from
14681 font-lock-spec-present. Callers changed.
14682
14683 2012-02-27 Daniel Hackney <dan@haxney.org>
14684
14685 * emacs-lisp/package.el (package-compute-transaction):
14686 Handle holding a package version to t in package-load-list.
14687
14688 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14689
14690 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14691 (tramp-get-inode, tramp-get-device): Use cached values.
14692
14693 2012-02-26 Alan Mackenzie <acm@muc.de>
14694
14695 Check there is a font-lock specification before doing initial
14696 fontification.
14697
14698 * font-core.el (font-lock-mode): Move the conditional from
14699 :after-hook to font-lock-initial-fontify.
14700 (font-lock-default-function): Move the check for a specification
14701 to font-lock-spec-present.
14702
14703 * font-lock.el (font-lock-initial-fontify): Call ...
14704 (font-lock-spec-present): New function.
14705
14706 2012-02-26 Jim Blandy <jimb@red-bean.com>
14707
14708 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14709 (gdb-send): Apply it to the operand of the '-interpreter-exec
14710 console' command, so that we can pass arguments with (say) quotes
14711 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14712
14713 2012-02-26 Chong Yidong <cyd@gnu.org>
14714
14715 * help-fns.el (describe-function-1): Clarify description of
14716 remapping (Bug#10844).
14717
14718 * files.el (files-equal-p): Doc fix.
14719 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14720 and quit the loop once a mismatch is found.
14721
14722 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14723
14724 * bs.el (bs--show-with-configuration): Don't throw an error
14725 if the window cannot be split; otherwise, subsequent calls to
14726 bs-show fail, restoring a stale window config. (Bug#10882)
14727
14728 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14729
14730 * term/ns-win.el (global-map): Bind ns-drag-file to
14731 ns-find-file (Bug#5855, Bug#10050).
14732
14733 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14734
14735 * calendar/parse-time.el (parse-time-string): Allow extractor to
14736 return nil.
14737
14738 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14739
14740 * net/tramp.el (tramp-file-name-for-operation):
14741 Add `files-equal-p' and `file-subdir-of-p'.
14742
14743 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14744 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14745 Add COPY-CONTENTS argument.
14746
14747 2012-02-25 Chong Yidong <cyd@gnu.org>
14748
14749 Add custom groups for VC backends, for consistency with vc-bzr.
14750
14751 * vc/vc-arch.el (vc-arch):
14752 * vc/vc-cvs.el (vc-cvs):
14753 * vc/vc-git.el (vc-git):
14754 * vc/vc-hg.el (vc-hg):
14755 * vc/vc-mtn.el (vc-mtn):
14756 * vc/vc-rcs.el (vc-rcs):
14757 * vc/vc-sccs.el (vc-sccs):
14758 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14759 All relevant defcustoms reassigned.
14760
14761 2012-02-25 Chong Yidong <cyd@gnu.org>
14762
14763 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14764
14765 * term/x-win.el (x-initialize-window-system): Reduce default for
14766 x-selection-timeout to 5 seconds (Bug#8869).
14767
14768 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14769
14770 * files.el (files-equal-p, file-subdir-of-p): New functions.
14771 (copy-directory): Error when trying to copy a directory on itself.
14772 Add missing copy-contents arg to tramp handler.
14773 * dired-aux.el (dired-copy-file-recursive): Same.
14774 (dired-create-files): Modify destination when source is equal to
14775 dest when copying files.
14776 Return also when dest is a subdir of source. (Bug#10489)
14777
14778 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14779
14780 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14781 (Bug#10874)
14782
14783 2012-02-23 Alan Mackenzie <acm@muc.de>
14784
14785 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14786 parameter "after-hook:" to allow the expansion to run code after
14787 the execution of the mode hooks.
14788
14789 * font-lock.el (font-lock-initial-fontify): New function extracted
14790 from font-lock-mode-internal.
14791
14792 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14793 :after-hook.
14794
14795 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14796
14797 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14798 (completion--cache-all-sorted-completions): New function.
14799 (completion-all-sorted-completions): Use it.
14800 (completion--do-completion, minibuffer-force-complete):
14801 Use it to re-instate the flush hook.
14802
14803 * icomplete.el (icomplete-completions): Replace last fix with a better
14804 one (bug#10850).
14805
14806 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14807
14808 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14809 when it might call us back infinitely (bug#10797).
14810
14811 2012-02-23 Glenn Morris <rgm@gnu.org>
14812
14813 * minibuffer.el (completion-category-overrides): Doc fix.
14814
14815 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14818 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14819
14820 2012-02-23 Glenn Morris <rgm@gnu.org>
14821
14822 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14823 (authors-obsolete-files-regexps, authors-ignored-files)
14824 (authors-ambiguous-files, authors-renamed-files-alist):
14825 Add more entries.
14826
14827 2012-02-23 Juri Linkov <juri@jurta.org>
14828
14829 * isearch.el (isearch-occur): Sync interactive spec with occur's
14830 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14831
14832 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14833
14834 2012-02-22 Juri Linkov <juri@jurta.org>
14835
14836 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14837 (ucs-insert): Doc fix. Check for hex digits in the string.
14838 Don't display `nil' in the error message. (Bug#10857)
14839
14840 2012-02-22 Alan Mackenzie <acm@muc.de>
14841
14842 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14843
14844 2012-02-22 Glenn Morris <rgm@gnu.org>
14845
14846 * ffap.el (ffap-c-path):
14847 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14848
14849 2012-02-22 Chong Yidong <cyd@gnu.org>
14850
14851 * custom.el (load-theme): Doc fix.
14852
14853 2012-02-22 Glenn Morris <rgm@gnu.org>
14854
14855 * dired-x.el (dired-guess-shell-alist-default):
14856 Remove escape sequences from nroff output. (Bug#172)
14857
14858 2012-02-21 Glenn Morris <rgm@gnu.org>
14859
14860 * vc/emerge.el (emerge-defvar-local):
14861 Set `permanent-local' property rather than unused `preserved'.
14862
14863 * textmodes/picture.el (picture-delete-char): New alias.
14864 (picture-mode-map): Use it. (Bug#10860)
14865 (picture-mode): Doc fix.
14866
14867 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14868
14869 * newcomment.el (uncomment-region-default): Remove unused binding.
14870
14871 2012-02-21 Glenn Morris <rgm@gnu.org>
14872
14873 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14874 (picture-self-insert, picture-tab-chars): Doc fix.
14875 (picture-mode-map): Fix C-a, C-e.
14876
14877 2012-02-20 Glenn Morris <rgm@gnu.org>
14878
14879 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14880
14881 2012-02-20 Leo Liu <sdl.web@gmail.com>
14882
14883 * icomplete.el (icomplete-completions): Check FROM arg before
14884 passing to substring (Bug#10850).
14885
14886 2012-02-19 Chong Yidong <cyd@gnu.org>
14887
14888 * comint.el: Require ansi-color.
14889 (comint-output-filter-functions): Add ansi-color-process-output.
14890
14891 * ansi-color.el: Don't set comint-output-filter-functions; it is
14892 now in the initial value defined in comint.el.
14893 (ansi-color-apply-face-function): New variable.
14894 (ansi-color-apply-on-region): Use it.
14895 (ansi-color-apply-overlay-face): New function.
14896
14897 * shell.el (shell): No need to require ansi-color.
14898 (shell-mode): Use ansi-color-apply-face-function to highlight
14899 color escapes using font-lock-face property (Bug#10835).
14900
14901 2012-02-19 Chong Yidong <cyd@gnu.org>
14902
14903 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14904 mode-line formats (Bug#10839).
14905
14906 2012-02-18 Glenn Morris <rgm@gnu.org>
14907
14908 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14909
14910 * mail/undigest.el (unforward-rmail-message): Doc fix.
14911
14912 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14913
14914 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14915
14916 * international/characters.el (script-list): Sync with the latest
14917 Unicode Character Database.
14918
14919 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14920
14921 * international/titdic-cnv.el: Remove duplicate coding tag.
14922 * language/cham.el: Likewise.
14923 * language/tai-viet.el: Likewise.
14924
14925 2012-02-18 Glenn Morris <rgm@gnu.org>
14926
14927 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14928 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14929 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14930 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14931 * calendar/holidays.el (holiday-bahai-holidays)
14932 (calendar-holidays, list-holidays):
14933 Use utf-8 Bahá'í in doc-strings, menus, etc.
14934
14935 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14936
14937 * saveplace.el (save-place-ignore-files-regexp): New variable
14938 allowing for excluding files from saving their location of point.
14939 The default value matches the temporary commit message editing
14940 files from Git, SVN, Bazaar, and Mercurial.
14941 (save-place-to-alist): Use it.
14942
14943 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14944 Stefan Monnier <monnier@iro.umontreal.ca>
14945
14946 * newcomment.el (uncomment-region-default): Don't leave extra space
14947 when an arg is provided (bug#8150).
14948
14949 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14950
14951 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14952
14953 2012-02-17 Glenn Morris <rgm@gnu.org>
14954
14955 * net/socks.el: Require network-stream. (Bug#10599)
14956
14957 2012-02-17 Kenichi Handa <handa@m17n.org>
14958
14959 * international/charprop.el:
14960 * international/uni-name.el:
14961 * international/uni-old-name.el:
14962 * international/uni-comment.el: Regenerate.
14963
14964 2012-02-16 Glenn Morris <rgm@gnu.org>
14965
14966 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14967 Interactively in calendar buffer, give an error if not on a date.
14968
14969 2012-02-15 Glenn Morris <rgm@gnu.org>
14970
14971 * shell.el (shell-delimiter-argument-list):
14972 Revert 2011-02-17 change. (Bug#8027)
14973
14974 2012-02-15 Chong Yidong <cyd@gnu.org>
14975
14976 * minibuffer.el (completion-at-point-functions): Doc fix.
14977
14978 * custom.el (defcustom): Doc fix; note use of defvar.
14979
14980 2012-02-15 Glenn Morris <rgm@gnu.org>
14981
14982 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14983 Doc fixes.
14984
14985 2012-02-14 Glenn Morris <rgm@gnu.org>
14986
14987 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14988
14989 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14990
14991 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14992 way the ports list is computed.
14993 (smtpmail-query-smtp-server): Prompt the user for a port number if
14994 we can't connect to any of the standard ports (bug#10810).
14995
14996 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14997
14998 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14999
15000 2012-02-13 Glenn Morris <rgm@gnu.org>
15001
15002 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15003
15004 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15005
15006 * net/gnutls.el (gnutls-trustfiles): New variable.
15007 (gnutls-negotiate): Use it.
15008
15009 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15010
15011 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15012 does its stuff if Gnus is running.
15013
15014 2012-02-13 Alan Mackenzie <acm@muc.de>
15015
15016 Fix a loop in c-set-fl-decl-start.
15017
15018 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15019 c-backward-syntactic-ws actually moves backwards.
15020
15021 2012-02-13 Leo Liu <sdl.web@gmail.com>
15022
15023 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15024 beginning so that all \C-o chars are removed.
15025
15026 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15027
15028 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15029
15030 2012-02-12 Alan Mackenzie <acm@muc.de>
15031
15032 Fix infinite loop with long macros.
15033 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15034
15035 2012-02-12 Chong Yidong <cyd@gnu.org>
15036
15037 * window.el (display-buffer): Doc fix (Bug#10785).
15038
15039 2012-02-12 Glenn Morris <rgm@gnu.org>
15040
15041 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15042 (x-disown-selection-internal, x-get-selection-internal):
15043 Sync docs with the xselect.c versions.
15044
15045 * allout-widgets.el: Add missing license notice.
15046
15047 2012-02-11 Glenn Morris <rgm@gnu.org>
15048
15049 * select.el (x-get-selection-internal, x-own-selection-internal)
15050 (x-disown-selection-internal):
15051 * x-dnd.el (x-get-selection-internal): Update declarations.
15052
15053 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15054
15055 * window.el (window-sides-slots):
15056 * tool-bar.el (tool-bar-position):
15057 * term/xterm.el (xterm-extra-capabilities):
15058 * ses.el (ses-self-reference-early-detection):
15059 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15060 (verilog-auto-wire-type)
15061 (verilog-auto-delete-trailing-whitespace)
15062 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15063 (verilog-auto-tieoff-declaration):
15064 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15065 (sql-oracle-statement-starters, sql-oracle-scan-on):
15066 * progmodes/prolog.el (prolog-align-comments-flag)
15067 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15068 (prolog-left-indent-regexp, prolog-paren-indent-p)
15069 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15070 (prolog-types, prolog-mode-specificators)
15071 (prolog-determinism-specificators, prolog-directives)
15072 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15073 (prolog-electric-dot-flag)
15074 (prolog-electric-dot-full-predicate-template)
15075 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15076 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15077 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15078 (prolog-program-switches, prolog-prompt-regexp)
15079 (prolog-debug-on-string, prolog-debug-off-string)
15080 (prolog-trace-on-string, prolog-trace-off-string)
15081 (prolog-zip-on-string, prolog-zip-off-string)
15082 (prolog-use-standard-consult-compile-method-flag)
15083 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15084 (prolog-imenu-max-lines, prolog-info-predicate-index)
15085 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15086 (prolog-char-quote-workaround):
15087 * progmodes/cc-vars.el (c-defun-tactic):
15088 * net/tramp.el (tramp-encoding-command-interactive)
15089 (tramp-local-end-of-line):
15090 * net/soap-client.el (soap-client):
15091 * net/netrc.el (netrc-file):
15092 * net/gnutls.el (gnutls):
15093 * minibuffer.el (completion-category-overrides)
15094 (completion-cycle-threshold)
15095 (completion-pcm-complete-word-inserts-delimiters):
15096 * man.el (Man-name-local-regexp):
15097 * mail/feedmail.el (feedmail-display-full-frame):
15098 * international/characters.el (glyphless-char-display-control):
15099 * eshell/em-ls.el (eshell-ls-date-format):
15100 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15101 (lisp-lambda-list-keyword-parameter-indentation)
15102 (lisp-lambda-list-keyword-parameter-alignment):
15103 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15104 * dired-x.el (dired-omit-verbose):
15105 * cus-theme.el (custom-theme-allow-multiple-selections):
15106 * calc/calc.el (calc-highlight-selections-with-faces)
15107 (calc-lu-field-reference, calc-lu-power-reference)
15108 (calc-note-threshold):
15109 * battery.el (battery-mode-line-limit):
15110 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15111 (archive-7z-update):
15112 * allout.el (allout-prefixed-keybindings)
15113 (allout-unprefixed-keybindings)
15114 (allout-inhibit-auto-fill-on-headline)
15115 (allout-flattened-numbering-abbreviation):
15116 * allout-widgets.el (allout-widgets-auto-activation)
15117 (allout-widgets-icons-dark-subdir)
15118 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15119 (allout-widgets-theme-dark-background)
15120 (allout-widgets-theme-light-background)
15121 (allout-widgets-item-image-properties-emacs)
15122 (allout-widgets-item-image-properties-xemacs)
15123 (allout-widgets-run-unit-tests-on-load)
15124 (allout-widgets-time-decoration-activity)
15125 (allout-widgets-hook-error-post-time)
15126 (allout-widgets-track-decoration):
15127 Add missing :version tags to new defcustoms and defgroups.
15128
15129 * progmodes/sql.el (sql-ansi-statement-starters)
15130 (sql-oracle-statement-starters): Add custom type.
15131
15132 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15133 (prolog-system-version): Give it a type.
15134
15135 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15136
15137 * term/pc-win.el (x-select-text, x-selection-owner-p)
15138 (x-own-selection-internal, x-disown-selection-internal)
15139 (x-get-selection-internal): Sync doc strings and argument lists
15140 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15141
15142 2012-02-11 Leo Liu <sdl.web@gmail.com>
15143
15144 * progmodes/python.el (python-end-of-statement): Fix infinite
15145 loop. (Bug#10788)
15146
15147 2012-02-10 Glenn Morris <rgm@gnu.org>
15148
15149 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15150 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15151
15152 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15153
15154 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15155 about SMTP before checking the From header.
15156
15157 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15158 into own function for reuse by emacsbug.el.
15159
15160 2012-02-10 Leo Liu <sdl.web@gmail.com>
15161
15162 * subr.el (condition-case-unless-debug): Rename from
15163 condition-case-no-debug. All callers changed.
15164 (with-demoted-errors): Fix caller.
15165
15166 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15167 * nxml/rng-valid.el (rng-do-some-validation):
15168 * emacs-lisp/package.el (package-refresh-contents)
15169 (package-menu-execute):
15170 * desktop.el (desktop-create-buffer):
15171 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15172
15173 2012-02-10 Glenn Morris <rgm@gnu.org>
15174
15175 * textmodes/bibtex.el:
15176 Add missing :version tags for new/changed defcustoms.
15177
15178 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15179
15180 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15181
15182 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15183 (smtpmail-via-smtp): Use it, or fall back on the From address.
15184 (smtpmail-send-it): Ditto.
15185
15186 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15189 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15190 (byte-compile-tmp-var): New const.
15191 (byte-compile-defvar): Use it to minimize .elc size.
15192 Just use `defvar' rather than simulate it (bug#10761).
15193
15194 2012-02-09 Glenn Morris <rgm@gnu.org>
15195
15196 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15197
15198 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15199 Add :version tags.
15200
15201 * progmodes/compile.el (compilation-error-screen-columns)
15202 (compilation-first-column, compilation-filter-start): Doc fixes.
15203
15204 * vc/log-view.el (log-view-toggle-entry-display):
15205 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15206
15207 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15208 (report-emacs-bug-can-use-xdg-email):
15209 (report-emacs-bug-insert-to-mailer): Doc fixes.
15210 (report-emacs-bug): Message fix.
15211
15212 * net/browse-url.el (browse-url-can-use-xdg-open)
15213 (browse-url-xdg-open): Doc fixes.
15214
15215 * electric.el (electric-indent-mode, electric-pair-mode)
15216 (electric-layout-rules, electric-layout-mode): Doc fixes.
15217 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15218
15219 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15220
15221 * server.el (server-unselect-display): Don't inadvertently kill
15222 the current buffer. (Bug#10729)
15223
15224 2012-02-08 Glenn Morris <rgm@gnu.org>
15225
15226 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15227 (sql-list-table): Doc fixes.
15228
15229 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15230 Comment out (does nothing).
15231
15232 * completion.el (dynamic-completion-mode):
15233 * dirtrack.el (dirtrack-debug-mode):
15234 * electric.el (electric-layout-mode):
15235 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15236 * face-remap.el (text-scale-mode, buffer-face-mode):
15237 * iimage.el (iimage-mode):
15238 * image-mode.el (image-transform-mode):
15239 * minibuffer.el (completion-in-region-mode):
15240 * scroll-lock.el (scroll-lock-mode):
15241 * simple.el (next-error-follow-minor-mode):
15242 * tar-mode.el (tar-subfile-mode):
15243 * tooltip.el (tooltip-mode):
15244 * vcursor.el (vcursor-use-vcursor-map):
15245 * wid-browse.el (widget-minor-mode):
15246 * emulation/tpu-edt.el (tpu-edt-mode):
15247 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15248 * international/iso-ascii.el (iso-ascii-mode):
15249 * language/thai-util.el (thai-word-mode):
15250 * mail/supercite.el (sc-minor-mode):
15251 * net/goto-addr.el (goto-address-mode):
15252 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15253 * progmodes/cwarn.el (cwarn-mode):
15254 * progmodes/flymake.el (flymake-mode):
15255 * progmodes/glasses.el (glasses-mode):
15256 * progmodes/hideshow.el (hs-minor-mode):
15257 * progmodes/pascal.el (pascal-outline-mode):
15258 * textmodes/enriched.el (enriched-mode):
15259 * vc/smerge-mode.el (smerge-mode):
15260 Doc fixes (minor mode argument).
15261
15262 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15263
15264 * ls-lisp.el (ls-lisp-sanitize): New function.
15265 (ls-lisp-insert-directory): Use it to fix or remove any elements
15266 in file-alist with missing attributes. (Bug#4673)
15267
15268 2012-02-07 Alan Mackenzie <acm@muc.de>
15269
15270 Fix spurious recognition of c-in-knr-argdecl.
15271
15272 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15273 putative K&R region.
15274
15275 2012-02-07 Alan Mackenzie <acm@muc.de>
15276
15277 * progmodes/cc-engine.el (c-forward-objc-directive):
15278 Prevent looping in "#pragma mark @implementation".
15279
15280 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15281
15282 * notifications.el (notifications-on-closed-signal): Make `reason'
15283 optional. (Bug#10744)
15284
15285 2012-02-07 Glenn Morris <rgm@gnu.org>
15286
15287 * emacs-lisp/easy-mmode.el (define-minor-mode):
15288 Doc fixes for the macro and the mode it defines.
15289
15290 * image.el (imagemagick-types-inhibit): Doc fix.
15291
15292 * cus-start.el (imagemagick-render-type): Add it.
15293
15294 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15295
15296 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15297 Set the default at load time, too, so that `font-lock-fontify-buffer'
15298 can be called without setting up the entire mode first. This fixes
15299 a bug in `mm-inline-text' with C MIME parts.
15300
15301 2012-02-06 Chong Yidong <cyd@gnu.org>
15302
15303 * simple.el (list-processes--refresh): Delete exited processes
15304 (Bug#8094).
15305
15306 * comint.el (comint-next-prompt): next-single-char-property-change
15307 and prev-single-char-property-change never return nil (Bug#8657).
15308
15309 * custom.el (defcustom): Doc fix (Bug#9711).
15310
15311 2012-02-05 Chong Yidong <cyd@gnu.org>
15312
15313 * cus-edit.el (custom-variable-reset-backup): Quote the value
15314 before storing it in the customized-value property (Bug#6712).
15315 (custom-display): Add a customization type tag.
15316 (custom-buffer-create-internal): Improve tooltip message.
15317
15318 * wid-edit.el (widget-field-value-get): New optional arg to
15319 suppress trailing whitespace truncation.
15320 (character): Use it (Bug#2689).
15321
15322 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15323
15324 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15325 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15326
15327 2012-02-05 Chong Yidong <cyd@gnu.org>
15328
15329 * cus-edit.el (custom-variable-value-create): For mismatched
15330 types, show the current value (Bug#7600).
15331
15332 * custom.el (defcustom): Doc fix.
15333
15334 2012-02-05 Glenn Morris <rgm@gnu.org>
15335
15336 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15337
15338 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15339
15340 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15341 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15342 (pp-last-sexp): Use `looking-at-p'.
15343
15344 2012-02-04 Glenn Morris <rgm@gnu.org>
15345
15346 * files.el (revert-buffer):
15347 Doc fix (mention revert-buffer-in-progress-p).
15348
15349 * emacs-lisp/ert-x.el (ert-simulate-command):
15350 Check deferred-action-list (which is obsolete) is bound.
15351
15352 * subr.el (with-wrapper-hook): Doc fixes.
15353
15354 * simple.el (filter-buffer-substring-functions)
15355 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15356
15357 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15358
15359 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15360 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15361
15362 2012-02-04 Leo Liu <sdl.web@gmail.com>
15363
15364 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15365
15366 2012-02-04 Glenn Morris <rgm@gnu.org>
15367
15368 * image.el (image-extension-data): Add obsolete alias.
15369
15370 * isearch.el (isearch-update): Doc fix.
15371
15372 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15373
15374 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15375
15376 2012-02-03 Glenn Morris <rgm@gnu.org>
15377
15378 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15379 (image-animate-timeout): Doc fix.
15380
15381 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15382
15383 2012-02-02 Glenn Morris <rgm@gnu.org>
15384
15385 * server.el (server-auth-dir): Doc fix.
15386 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15387
15388 * subr.el (run-mode-hooks): Doc fix.
15389
15390 2012-02-02 Juri Linkov <juri@jurta.org>
15391
15392 * image-mode.el (image-toggle-display-image): Remove tautological
15393 `major-mode' from the `derived-mode-p' test.
15394
15395 2012-02-02 Kenichi Handa <handa@m17n.org>
15396
15397 * composite.el (compose-region): Cancel previous change.
15398
15399 2012-02-02 Kenichi Handa <handa@m17n.org>
15400
15401 * composite.el (compose-region, compose-string): Signal error for
15402 a null string component (Bug#6988).
15403
15404 2012-02-01 Chong Yidong <cyd@gnu.org>
15405
15406 * view.el (view-buffer-other-window, view-buffer-other-frame):
15407 Handle special modes like view-buffer (Bug#10650).
15408 (view-buffer): Simplify.
15409
15410 * frame.el (set-frame-font): Tweak meaning of third argument.
15411
15412 * dynamic-setting.el (font-setting-change-default-font):
15413 Use set-frame-font (Bug#9982).
15414
15415 2012-02-01 Glenn Morris <rgm@gnu.org>
15416
15417 * progmodes/compile.el (compilation-internal-error-properties):
15418 Respect compilation-first-column in the "*compilation*" buffer.
15419
15420 * emacs-lisp/easy-mmode.el (define-minor-mode):
15421 Relax :variable's test for a named function.
15422
15423 2012-01-31 Alan Mackenzie <acm@muc.de>
15424
15425 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15426 off by one error.
15427
15428 2012-01-31 Chong Yidong <cyd@gnu.org>
15429
15430 * frame.el (set-frame-font): New arg ALL-FRAMES.
15431
15432 * menu-bar.el (menu-set-font): Use set-frame-font.
15433
15434 * faces.el (face-spec-reset-face): Don't apply unspecified
15435 attribute values to the default face.
15436
15437 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15438
15439 * progmodes/cwarn.el (cwarn): Remove dead link.
15440 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15441 Remove * from defcustom docstrings.
15442 (turn-on-cwarn-mode): Make obsolete.
15443 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15444 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15445
15446 2012-01-31 Glenn Morris <rgm@gnu.org>
15447
15448 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15449 Fix :variable handling of mode a symbol not equal to modefun.
15450 Allow named functions to be used as the cdr of :variable.
15451
15452 2012-01-30 Glenn Morris <rgm@gnu.org>
15453
15454 * emacs-lisp/authors.el (authors-fixed-entries):
15455 Remove reference to deleted file rnewspost.el.
15456
15457 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15458
15459 * window.el (window-with-parameter): Remove unused variable `windows'.
15460 (window--side-check): Remove unused variable `code'.
15461 (window--resize-siblings): Remove unused variable `first'.
15462 (adjust-window-trailing-edge): Remove unused variable `failed'.
15463 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15464 Use `let', not `let*'.
15465 (balance-windows-2): Remove unused variable `found'.
15466 (window--state-put-2): Remove unused variable `splits'.
15467 (window-state-put): Remove unused variable `selected'.
15468 (same-window-p): Use `string-match-p'.
15469 (display-buffer-assq-regexp): Remove unused variable `value'.
15470 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15471 Mark argument ALIST as ignored.
15472 (pop-to-buffer): Remove unused variable `old-window'.
15473
15474 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15475
15476 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15477 and .lzma compressed files.
15478
15479 2012-01-29 Chong Yidong <cyd@gnu.org>
15480
15481 * frame.el (window-system-default-frame-alist): Doc fix.
15482
15483 * dynamic-setting.el (font-setting-change-default-font): Don't
15484 change the default face if SET-FONT argument is non-nil (Bug#9982).
15485
15486 2012-01-29 Samuel Bronson <naesten@gmail.com>
15487
15488 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15489
15490 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15491
15492 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15493 breakpoints in files outside current directory (Bug#6098).
15494
15495 2012-01-29 Chong Yidong <cyd@gnu.org>
15496
15497 * progmodes/python.el: Require ansi-color at top-level.
15498
15499 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15500 Define and use in Emacs Lisp mode (Bug#9360).
15501 (lisp-mode-abbrev-table): Add doc.
15502 (lisp-mode-variables): Don't set local-abbrev-table.
15503 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15504
15505 2012-01-28 Roland Winkler <winkler@gnu.org>
15506
15507 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15508
15509 2012-01-28 Roland Winkler <winkler@gnu.org>
15510
15511 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15512 (bibtex-set-dialect): Use it. Either set global values of
15513 dialect-dependent variables or bind these variables buffer-locally
15514 (Bug#10254).
15515 (bibtex-mode): Call bibtex-set-dialect via
15516 hack-local-variables-hook.
15517 (bibtex-dialect): Update docstring.
15518 Add safe-local-variable predicate.
15519 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15520 bibtex-set-dialect.
15521 (bibtex-mode-map): Define menu for each dialect.
15522 (bibtex-entry): Fix docstring.
15523
15524 2012-01-28 Chong Yidong <cyd@gnu.org>
15525
15526 * eshell/esh-arg.el (eshell-quote-argument): New function.
15527
15528 * eshell/esh-ext.el (eshell-invoke-batch-file):
15529 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15530 first arg to eshell-parse-command (Bug#10523).
15531
15532 2012-01-28 Drew Adams <drew.adams@oracle.com>
15533
15534 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15535 `default-directory' is non-nil.
15536
15537 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15538
15539 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15540 line that displays system-configuration-options. (Bug#9924)
15541
15542 2012-01-28 Drew Adams <drew.adams@oracle.com>
15543
15544 * descr-text.el (describe-char): Show information about POS, in
15545 addition to information about the character at POS. Improve and
15546 update the doc string. Change "code point" to "code point in
15547 charset", to avoid confusion with the character's Unicode code
15548 point shown above that. (Bug#10129)
15549
15550 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15551
15552 * descr-text.el (describe-char): Show the raw character, not only
15553 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15554 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15555 for the reasons.
15556
15557 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15558
15559 * emacs-lisp/package.el (package-install):
15560 Run package-refresh-contents if there is no archive yet (Bug#9798).
15561
15562 2012-01-28 Chong Yidong <cyd@gnu.org>
15563
15564 * emacs-lisp/package.el (package-maybe-load-descriptor):
15565 New function, split from package-maybe-load-descriptor.
15566 (package-maybe-load-descriptor): Use it.
15567 (package-download-transaction): Fully load required packages
15568 inside the loop, so that `require' calls work (Bug#10593).
15569 (package-install): No need to call package-initialize now.
15570
15571 2012-01-28 Chong Yidong <cyd@gnu.org>
15572
15573 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15574
15575 * tooltip.el (tooltip-mode): Doc fix.
15576 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15577
15578 * frame.el (set-cursor-color): Doc fix (Bug#352).
15579
15580 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15581 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15582
15583 * cus-edit.el (custom-buffer-create-internal): Fix search button
15584 action (Bug#10542).
15585 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15586
15587 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15588
15589 * dired.el (dired-mark-files-regexp):
15590 Include any subdirectory components. (Bug#10445)
15591
15592 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15593
15594 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15595 Handle [host]:port syntax. (Bug#10533)
15596
15597 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15598
15599 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15600
15601 2012-01-26 Glenn Morris <rgm@gnu.org>
15602
15603 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15604 * term.el (term-raw-escape-map): Use Control-X-prefix.
15605 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15606
15607 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15608
15609 * window.el (window-state-get, window--state-get-1): Don't deal
15610 with fixed-sizeness of windows. Simplify code.
15611
15612 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15613
15614 * window.el (window--state-get-1, window--state-put-2):
15615 Don't save and restore the mark.
15616
15617 2012-01-25 Chong Yidong <cyd@gnu.org>
15618
15619 * custom.el (custom-variable-p): Doc fix.
15620
15621 2012-01-25 Glenn Morris <rgm@gnu.org>
15622
15623 * dired.el (dired-goto-file): Handle some of the more common
15624 characters that `ls -b' escapes. (Bug#10596)
15625
15626 * progmodes/compile.el (compilation-next-error-function):
15627 Respect compilation-first-column in the "*compilation*" buffer.
15628 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15629
15630 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15631
15632 2012-01-24 Glenn Morris <rgm@gnu.org>
15633
15634 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15635
15636 2012-01-24 Julien Danjou <julien@danjou.info>
15637
15638 * color.el (color-rgb-to-hsl): Fix value computing.
15639 (color-hue-to-rgb): New function.
15640 (color-hsl-to-rgb): New function.
15641 (color-clamp, color-saturate-hsl, color-saturate-name)
15642 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15643 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15644
15645 2012-01-24 Glenn Morris <rgm@gnu.org>
15646
15647 * vc/vc-rcs.el (vc-rcs-create-tag):
15648 * vc/vc-sccs.el (vc-sccs-create-tag):
15649 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15650
15651 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15652
15653 * eshell/esh-util.el (eshell-read-hosts-file):
15654 Skip comment lines. (Bug#10549)
15655
15656 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15657
15658 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15659
15660 * subr.el (display-delayed-warnings): Doc fix.
15661 (collapse-delayed-warnings): New function to collapse identical
15662 adjacent warnings.
15663 (delayed-warnings-hook): Add it.
15664
15665 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15666
15667 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15668
15669 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15670 (tramp-default-user-alist): Don't add "pscp".
15671 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15672 property "login-as", if set. (Bug#10530)
15673
15674 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15675
15676 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15677 "plink1" and "psftp". (Bug#10530)
15678
15679 2012-01-21 Kenichi Handa <handa@m17n.org>
15680
15681 * international/mule-cmds.el (prefer-coding-system): Show a
15682 warning message if the default value of file-name-coding-system
15683 was not changed.
15684
15685 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15686
15687 * windmove.el (windmove-reference-loc):
15688 Fix windmove-reference-loc miscalculation.
15689
15690 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15691
15692 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15693 default unit.
15694
15695 2012-01-21 Glenn Morris <rgm@gnu.org>
15696
15697 * international/mule.el (auto-coding-alist): Add .tbz.
15698
15699 * files.el (local-enable-local-variables): Doc fix.
15700 (inhibit-local-variables-regexps): Rename from
15701 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15702 Doc fix. Add some extensions from auto-coding-alist.
15703 (inhibit-local-variables-suffixes):
15704 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15705 (inhibit-local-variables-p):
15706 New function, extracted from set-auto-mode-1.
15707 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15708 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15709 (hack-local-variables): Doc fix. Make the mode-only case
15710 respect enable-local-variables and friends.
15711 Respect inhibit-local-variables-regexps for file-locals, but
15712 not for directory-locals.
15713 (set-visited-file-name):
15714 Take account of inhibit-local-variables-regexps.
15715 Whether it applies may change as the file name is changed.
15716 * jka-cmpr-hook.el (jka-compr-install):
15717 * jka-compr.el (jka-compr-uninstall):
15718 Update for inhibit-first-line-modes-suffixes name change.
15719
15720 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15721
15722 * help-macro.el (make-help-screen): Temporarily restore original
15723 binding for minor-mode-map-alist (Bug#10454).
15724
15725 2012-01-19 Julien Danjou <julien@danjou.info>
15726
15727 * color.el (color-name-to-rgb): Use the white color to find the max
15728 color component value and return correctly computed values.
15729 (color-name-to-rgb): Add missing float conversion for max value.
15730
15731 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15732
15733 * window.el (window--state-get-1, window-state-get): Do not use
15734 special state value for window-persistent-parameters.
15735 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15736 (window--state-put-2): Reset all window parameters to nil before
15737 assigning values of persistent parameters.
15738
15739 2012-01-18 Alan Mackenzie <acm@muc.de>
15740
15741 Eliminate sluggishness and hangs in fontification of "semicolon
15742 deserts".
15743
15744 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15745 Change value 10000 -> 3000.
15746 (c-state-safe-place): Reformulate so it doesn't stack up an
15747 infinite number of wrong entries in c-state-nonlit-pos-cache.
15748 (c-determine-limit-get-base, c-determine-limit): New functions to
15749 determine backward search limits disregarding literals.
15750 (c-find-decl-spots): Amend commenting.
15751 (c-cheap-inside-bracelist-p): New function which detects "={".
15752
15753 * progmodes/cc-fonts.el
15754 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15755 backward search.
15756 (c-font-lock-declarations): Fix an occurrence of point being
15757 undefined. Check additionally for point being in a bracelist or
15758 near a macro invocation without a semicolon so as to avoid a
15759 fruitless time consuming search for a declarator. Give a more
15760 precise search limit for declarators using the new
15761 c-determine-limit.
15762
15763 2012-01-18 Glenn Morris <rgm@gnu.org>
15764
15765 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15766 (set-auto-mode): Doc fixes.
15767
15768 2012-01-17 Glenn Morris <rgm@gnu.org>
15769
15770 * isearch.el (search-nonincremental-instead): Fix doc typo.
15771
15772 * dired.el (dired-insert-directory): Handle newlines in directory name.
15773 (dired-build-subdir-alist): Unescape newlines in directory name.
15774
15775 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15776
15777 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15778 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15779 (tramp-action-terminal): Use it. (Bug#10530)
15780
15781 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15784
15785 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15786
15787 * window.el (window-state-ignored-parameters): Remove variable.
15788 (window--state-get-1): Rename argument MARKERS to IGNORE.
15789 Handle persistent window parameters. Make copy of clone-of
15790 parameter only if requested. (Bug#10348)
15791 (window--state-put-2): Install a window parameter only if it has
15792 a non-nil value or an existing parameter shall be overwritten.
15793
15794 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15795
15796 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15797
15798 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15799
15800 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15801 don't pass the (nil) value of `upnode' to string-match.
15802
15803 2012-01-14 Chong Yidong <cyd@gnu.org>
15804
15805 * startup.el (command-line): Fix X resource class for cursorColor.
15806 Fix values recognized by the cursorBlink resource.
15807
15808 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15809
15810 * epg.el (epg--make-temp-file): Avoid permission race condition
15811 when running on old Emacs versions (bug#10403).
15812
15813 2012-01-14 Glenn Morris <rgm@gnu.org>
15814
15815 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15816
15817 2012-01-13 Alan Mackenzie <acm@muc.de>
15818
15819 Fix filling for when filladapt mode is enabled.
15820
15821 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15822 c-mask-paragraph, pass in `fill-paragraph' rather than
15823 `fill-region-as-paragraph'. (This is a reversion of a previous
15824 change.)
15825 * progmodes/cc-mode.el (c-basic-common-init):
15826 Make fill-paragraph-handle-comment buffer local and set it to nil.
15827
15828 2012-01-13 Glenn Morris <rgm@gnu.org>
15829
15830 * dired.el (dired-switches-escape-p): New function.
15831 (dired-insert-directory): Use dired-switches-escape-p.
15832 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15833
15834 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15835
15836 2012-01-12 Glenn Morris <rgm@gnu.org>
15837
15838 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15839 changes in adaptive-fill-regexp. (Bug#10276)
15840
15841 2012-01-11 Alan Mackenzie <acm@muc.de>
15842
15843 Fix Emacs bug #10463 - put `widen's around the critical spots.
15844
15845 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15846 widen around each invocation of c-state-pp-to-literal. Remove an
15847 unused let variable.
15848
15849 2012-01-11 Glenn Morris <rgm@gnu.org>
15850
15851 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15852 Doc fix.
15853
15854 2012-01-10 Chong Yidong <cyd@gnu.org>
15855
15856 * net/network-stream.el (network-stream-open-starttls):
15857 Avoid emitting a confusing error message when the server gives a bad
15858 response to the capability command.
15859
15860 2012-01-10 Glenn Morris <rgm@gnu.org>
15861
15862 * mail/unrmail.el (unrmail): Tweak previous change.
15863
15864 2012-01-09 Chong Yidong <cyd@gnu.org>
15865
15866 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15867
15868 2012-01-08 Alan Mackenzie <acm@muc.de>
15869
15870 Optimize font locking in long enum definitions.
15871
15872 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15873 arm to a cond form to handle enums.
15874 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15875 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15876
15877 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15878
15879 * files.el (move-file-to-trash): Preserve default file modes on error.
15880 (Bug#10401)
15881
15882 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15883
15884 * faces.el (set-face-attribute): Clarify the meaning of the nil
15885 frame (bug#10294).
15886
15887 * subr.el (with-selected-frame): Mention that the selected frame
15888 is restored (bug#9980).
15889
15890 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15891 (bug#9759).
15892
15893 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15894 (password-read): Don't autoload unused function.
15895
15896 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15897
15898 * progmodes/which-func.el (which-func-mode): Turn into a
15899 non-interactive function and mark as obsolete (bug#10428).
15900
15901 2012-01-06 Chong Yidong <cyd@gnu.org>
15902
15903 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15904 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15905 functions, along with 1 and -1.
15906
15907 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15908
15909 * time.el (display-time-load-average)
15910 (display-time-default-load-average): Doc fixes. See the thread
15911 starting at
15912 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15913 for the details.
15914
15915 2012-01-06 Glenn Morris <rgm@gnu.org>
15916
15917 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15918 has no messages. (Bug#10377)
15919
15920 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15921 than Info-edit. (Bug#10385)
15922
15923 * time.el (display-time-load-average, display-time-next-load-average):
15924 Doc fixes.
15925
15926 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15927 local setting of buffer-read-only to the input buffer. (Bug#10419)
15928
15929 * calendar/calendar.el (calendar-mode):
15930 Locally set scroll-margin to 0. (Bug#10379)
15931
15932 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15933
15934 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15935
15936 2012-01-05 Glenn Morris <rgm@gnu.org>
15937
15938 * eshell/em-unix.el (diff-no-select): Autoload it.
15939 (eshell/diff): Use diff-no-select. (Bug#10420)
15940
15941 2012-01-05 Chong Yidong <cyd@gnu.org>
15942
15943 * shell.el (shell-dynamic-complete-functions): Revert last change.
15944 (shell-command-completion-function): New function.
15945 (shell-completion-vars): Use it to implement
15946 shell-completion-execonly (Bug#10417).
15947
15948 * custom.el (enable-theme): Don't set custom-safe-themes.
15949
15950 * cus-theme.el (custom-theme-merge-theme):
15951 Ignore custom-enabled-themes and custom-safe-themes.
15952
15953 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15954
15955 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15956 first prompt in `sql-interacive-mode'.
15957 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15958 keywords.
15959 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15960 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15961 context of original buffer. Invoke `sql-login-hook'.
15962
15963 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15964
15965 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15966 letters in cite-prefix.
15967
15968 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15969
15970 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15971
15972 2012-01-03 Chong Yidong <cyd@gnu.org>
15973
15974 * shell.el (shell-dynamic-complete-functions):
15975 Put pcomplete-completions-at-point, so as to try
15976 comint-filename-completion first (Bug#10417).
15977
15978 2012-01-02 Richard Stallman <rms@gnu.org>
15979
15980 * battery.el (battery-status-function):
15981 Detect when to use battery-yeeloong-sysfs.
15982 (battery-echo-area-format): Add string for Yeeloong.
15983 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15984 (battery-yeeloong-sysfs): New function.
15985
15986 2012-01-02 Chong Yidong <cyd@gnu.org>
15987
15988 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15989 (dirtrack): Merge code for handling relative filenames in prompt
15990 from shell-dir-cookie-watcher.
15991 (dirtrack-debug-message): New arg to avoid excess format calls.
15992
15993 * shell.el (shell-dir-cookie-re): Variable deleted.
15994 (shell-dir-cookie-watcher): Function deleted.
15995 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15996 with dirtrack-mode.
15997
15998 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15999
16000 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16001 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16002 libgnutls-26.dll.
16003
16004 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16005
16006 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16007
16008 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16009
16010 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16011 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16012
16013 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16014
16015 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16016 also for alternative shells.
16017 (tramp-open-connection-setup-interactive-shell): Check, whether
16018 the shell is a busybox.
16019 (tramp-send-command): Don't suppress multiple prompts for
16020 busyboxes, it hurts.
16021
16022 2011-12-28 Chong Yidong <cyd@gnu.org>
16023
16024 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16025 (gdb-get-source-file): Move mode line update to
16026 gdb-get-source-file (Bug#10087).
16027
16028 2011-12-25 Chong Yidong <cyd@gnu.org>
16029
16030 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16031 gud-gdb-marker-filter without taking it as an argument.
16032 (gud-gdb-run-command-fetch-lines): Caller changed.
16033 (gud-gdb-completion-function): New variable.
16034 (gud-gdb-completion-at-point): Use it.
16035 (gud-gdb-completions-1): Split from gud-gdb-completions.
16036
16037 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16038 function as separate arguments.
16039 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16040 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16041 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16042 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16043 (gdb-stopped, def-gdb-auto-update-trigger)
16044 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16045 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16046 Callers changed.
16047 (gud-gdbmi-completions): New function.
16048 (gdb): Use it for generating the completion table.
16049
16050 2011-12-24 Alan Mackenzie <acm@muc.de>
16051
16052 Introduce a mechanism to widen the region used in context font
16053 locking. Use this to protect declarations from losing their contexts.
16054
16055 * progmodes/cc-langs.el (c-before-font-lock-functions):
16056 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16057 (c-before-context-fontification-functions): New defvar, a list of
16058 functions to be run just before context (etc.) font locking.
16059
16060 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16061 New, functionality extracted from
16062 c-neutralize-syntax-in-and-mark-CPP.
16063 (c-in-after-change-fontification): New variable.
16064 (c-after-change): Set c-in-after-change-fontification.
16065 (c-set-fl-decl-start): Rejig its interface, so it can be called
16066 from both after-change and context fontifying.
16067 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16068 New functions.
16069 (c-standard-font-lock-fontify-region-function): New variable.
16070 (c-font-lock-fontify-region): New function.
16071
16072 2011-12-24 Juri Linkov <juri@jurta.org>
16073
16074 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16075 (Bug#10348)
16076
16077 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16078
16079 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16080 existence of source file. (Bug#10325)
16081
16082 2011-12-23 Alan Mackenzie <acm@muc.de>
16083
16084 Fix unstable fontification inside templates.
16085
16086 * progmodes/cc-langs.el (c-before-font-lock-functions):
16087 Newly created from the singular version. The (c c++ objc) entry now
16088 additionally has c-set-fl-decl-start. The other languages (apart
16089 from AWK) have that as a single entry.
16090
16091 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16092 The functionality for "local" declarations has been extracted to
16093 c-set-fl-decl-start.
16094
16095 * progmodes/cc-mode.el (c-common-init, c-after-change):
16096 Changes due to pluralisation of c-before-font-lock-functions.
16097 (c-set-fl-decl-start): New function, extracted from
16098 c-font-lock-enclosing-decls and enhanced.
16099
16100 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16101
16102 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16103
16104 2011-12-22 Juri Linkov <juri@jurta.org>
16105
16106 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16107
16108 2011-12-22 Chong Yidong <cyd@gnu.org>
16109
16110 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16111
16112 2011-12-21 Drew Adams <drew.adams@oracle.com>
16113
16114 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16115
16116 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16117
16118 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16119
16120 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16121
16122 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16123 highlighting and support. Fix up comments for capitalization.
16124 (cfengine-mode-debug): New var.
16125 (cfengine3-mode): Change the modeline indicator to "CFE3".
16126 (cfengine3-font-lock-keywords): Improve defun highlighting.
16127 (cfengine2-actions): Rename from `cfengine-actions'.
16128 (cfengine2-font-lock-keywords): Rename from
16129 `cfengine-font-lock-keywords'.
16130 (cfengine2-imenu-expression): Rename from
16131 `cfengine-imenu-expression'.
16132 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16133 (cfengine2-beginning-of-defun): Rename from
16134 `cfengine-beginning-of-defun'.
16135 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16136 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16137 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16138 modeline indicator to "CFE2".
16139 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16140 (cfengine-mode-abbrevs): Mark obsolete.
16141
16142 2011-12-21 Chong Yidong <cyd@gnu.org>
16143
16144 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16145 filename argument.
16146
16147 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16148
16149 * window.el (window-normalize-buffer-to-display): Remove.
16150 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16151
16152 2011-12-19 Chong Yidong <cyd@gnu.org>
16153
16154 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16155 Don't signal an error in a predicate function; return non-nil.
16156 (vc-dir-mark-file): Move the error here.
16157 (vc-dir-mark-unmark): If acting on the region, keep going if one
16158 of the entries cannot be marked/unmarked.
16159 (vc-dir-mark-all-files): If current entry is a directory, mark
16160 only child files, as documented.
16161
16162 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16163
16164 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16165 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16166 addition.
16167
16168 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16169
16170 * term/ns-win.el (ns-get-selection-internal)
16171 (ns-store-selection-internal): Declare.
16172 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16173 Declare as obsolete.
16174 (ns-get-pasteboard, ns-paste-secondary):
16175 Use ns-get-selection-internal.
16176 (ns-set-pasteboard, ns-copy-including-secondary):
16177 Use ns-store-selection-internal.
16178
16179 2011-12-17 Chong Yidong <cyd@gnu.org>
16180
16181 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16182 (vc-deduce-fileset): Doc fix.
16183
16184 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16185
16186 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16187
16188 2011-12-13 Sam Steingold <sds@gnu.org>
16189
16190 * man.el (Man-getpage-in-background): When running under a
16191 window-system, ignore $MANWIDTH and $COLUMNS.
16192
16193 2011-12-15 Kenichi Handa <handa@m17n.org>
16194
16195 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16196 (setup-ethiopic-environment-internal): Comment out key-binding for
16197 ethio-toggle-punctuation.
16198
16199 2011-12-13 Alan Mackenzie <acm@muc.de>
16200
16201 Add the switch statement to AWK Mode.
16202
16203 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16204 "default" to the keywords regexp.
16205
16206 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16207 expression as the rest.
16208 (c-nonlabel-token-key): Allow string literals for AWK.
16209 Refactor for the other modes.
16210
16211 Large brace-block initialisation makes CC Mode slow: Fix.
16212 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16213 routines. Limit backward searching in c-font-lock-enclosing.decl.
16214
16215 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16216 pp-state and literal type in addition to the limits.
16217 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16218 (c-state-literal-at): Use the above new defun.
16219 (c-slow-in-literal, c-fast-in-literal): Remove.
16220 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16221
16222 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16223 being in a literal. Add a limit for backward searching.
16224
16225 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16226 c-slow-in-literal.
16227
16228 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16231
16232 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16233
16234 * window.el (delete-other-windows): Use correct frame in call to
16235 window-with-parameter.
16236
16237 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16238
16239 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16240 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16241 (makefile-gmake-statements, makefile-makepp-statements):
16242 Use it and add new makepp keywords.
16243 (makefile-makepp-font-lock-keywords): Add new patterns.
16244 (makefile-match-function-end): Match new [...] and [[...]].
16245
16246 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16247
16248 * ses.el (ses-call-printer-return, ses-cell-property-get)
16249 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16250 (ses-create-cell-variable, ses-reset-header-string)
16251 (ses-cell-set-formula, ses-repair-cell-reference-all)
16252 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16253 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16254 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16255 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16256 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16257 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16258 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16259 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16260 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16261 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16262 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16263 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16264
16265 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16266
16267 * ses.el: The overall change is to add cell renaming, that is
16268 setting fancy names for cell symbols other than name matching
16269 "\\`[A-Z]+[0-9]+\\'" regexp .
16270 (ses-create-cell-variable): New defun.
16271 (ses-relocate-formula): Relocate formulas only for cells the
16272 symbols of which are not renamed, i.e. symbols whose names do not
16273 match regexp "\\`[A-Z]+[0-9]+\\'".
16274 (ses-relocate-all): Relocate values only for cells the symbols of
16275 which are not renamed.
16276 (ses-load): Create cells variables as the (ses-cell ...) are read,
16277 in order to check row col consistency with cell symbol name only
16278 for cells that are not renamed.
16279 (ses-replace-name-in-formula): New defun.
16280 (ses-rename-cell): New defun.
16281
16282 2011-12-11 Chong Yidong <cyd@gnu.org>
16283
16284 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16285 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16286
16287 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16288
16289 * window.el (other-window): Fix docstring.
16290
16291 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16292
16293 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16294 `from' or `to' address before taking its substring.
16295 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16296 encoded name is chopped in the middle of the encoded string, and
16297 thus displayed encoded.
16298
16299 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16300
16301 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16302
16303 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16304
16305 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16306 to use texinfo-update-node and commands that call it if the
16307 Texinfo file uses @node lines without next/prev/up pointers.
16308 Correct outdated description about texinfo-master-menu.
16309 (texinfo-all-menus-update, texinfo-master-menu)
16310 (texinfo-update-node, texinfo-every-node-update)
16311 (texinfo-multiple-files-update): Doc fix. Warn against updating
16312 all the @node lines.
16313 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16314 argument is numeric. Explain better in the doc string what the
16315 function really does.
16316 (texinfo-insert-master-menu-list): Improve the error message
16317 displayed if there's no menu in the Top node.
16318 (Bug#2975) See also this thread:
16319 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16320
16321 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16322
16323 * speedbar.el (speedbar-supported-extension-expressions):
16324 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16325
16326 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16327
16328 * printing.el (pr-mode-alist):
16329 * simple.el (filter-buffer-substring-functions)
16330 (completion-list-insert-choice-function):
16331 * window.el (window-with-parameter, window-atom-root)
16332 (window-sides-slots, window-size-fixed, window-min-delta)
16333 (window-max-delta, window--resize-mini-window)
16334 (window--resize-child-windows-normal, window-tree)
16335 (delete-other-windows, quit-window, split-window)
16336 (display-buffer-record-window, special-display-buffer-names)
16337 (special-display-regexps, special-display-popup-frame)
16338 (same-window-p, split-window-sensibly)
16339 (display-buffer-overriding-action, display-buffer-alist)
16340 (display-buffer-base-action, display-buffer, switch-to-buffer)
16341 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16342 (fit-window-to-buffer, recenter-positions)
16343 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16344 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16345 and remove unneeded backslashes in docstrings.
16346
16347 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16348
16349 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16350
16351 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16352 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16353 end in ".mk".
16354 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16355 when reading the makefile (bug#10116).
16356
16357 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16358
16359 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16360 (bug#10116).
16361
16362 2011-12-06 Glenn Morris <rgm@gnu.org>
16363
16364 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16365
16366 2011-12-06 Chong Yidong <cyd@gnu.org>
16367
16368 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16369
16370 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16371
16372 * textmodes/table.el (table-shorten-cell): Fix typo.
16373
16374 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16375
16376 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16377
16378 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16379
16380 * descr-text.el (describe-char): Fix display of strong
16381 right-to-left characters and directional embeddings and overrides.
16382
16383 * simple.el (what-cursor-position): Fix display of codepoints of
16384 strong right-to-left characters.
16385
16386 2011-12-05 Chong Yidong <cyd@gnu.org>
16387
16388 * faces.el (read-color): Doc fix.
16389
16390 2011-12-05 Glenn Morris <rgm@gnu.org>
16391
16392 * align.el (align--set-marker): Add doc-string.
16393 Don't try to move something that is not a marker. (Bug#10216)
16394
16395 2011-12-04 Glenn Morris <rgm@gnu.org>
16396
16397 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16398 overly zealous deletion of trailing whitespace.
16399
16400 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16401
16402 * server.el (server-delete-client): On Windows, do not try to delete
16403 the only terminal.
16404 (server-process-filter): On Windows, treat requests for a tty frame as
16405 if they were for a GUI frame if the running server is in GUI mode.
16406
16407 2011-12-03 Glenn Morris <rgm@gnu.org>
16408
16409 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16410
16411 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16412
16413 * electric.el: Streamline electric-indent's hook.
16414 (electric-indent-chars): Revert to simple list.
16415 (electric-indent-functions): New var.
16416 (electric-indent-post-self-insert-function): Use it.
16417
16418 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16419 there's no inferior buffer (bug#10196).
16420 (prolog-consult-compile): Don't use toggle-read-only.
16421
16422 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16423
16424 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16425 interrupt. (Bug#10187)
16426
16427 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16428
16429 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16430 (bug#9160).
16431
16432 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16433 (bug#10191).
16434
16435 2011-12-02 Juri Linkov <juri@jurta.org>
16436
16437 * info.el (Info-search): Display "end of manual" when Isearch
16438 reaches the end of single-file Info manual. (Bug#9918)
16439
16440 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16441
16442 * isearch.el (isearch-message-prefix): Run the input method part
16443 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16444
16445 2011-12-02 Juri Linkov <juri@jurta.org>
16446
16447 * isearch.el (isearch-occur): Use `word-search-regexp' for
16448 `isearch-word'.
16449 (isearch-search-and-update): Add condition for `isearch-word' and
16450 call `word-search-regexp'. (Bug#10145)
16451
16452 2011-12-01 Glenn Morris <rgm@gnu.org>
16453
16454 * eshell/em-hist.el (eshell-hist-initialize):
16455 Handle eshell-history-size nil and HISTSIZE set or unset.
16456 (eshell-history-file-name, eshell-history-size): Fix custom type.
16457
16458 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16459
16460 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16461
16462 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16463
16464 * progmodes/verilog-mode.el (verilog-pretty-expr):
16465 Rework verilog-pretty-expr to handle new assignment operators in system
16466 verilog, such as += *= and the like.
16467 (verilog-assignment-operator-re): Regular expression to find the
16468 assigment operator in a verilog assignment.
16469 (verilog-assignment-operation-re): Regular expression to find an
16470 assignment statement for pretty-expr.
16471 (verilog-in-attribute-p): Query returns true if point is in an
16472 attribute context; used to skip these for expression line up from
16473 pretty-expr.
16474 (verilog-in-parameter-p): Query returns true if point is in an
16475 parameter definition context; used to skip these for expression
16476 line up from pretty-expr.
16477 (verilog-in-parenthesis-p): Query returns true if point is in a
16478 parenthetical expression, specifically ( ) but not [ ] or { };
16479 used by pretty-expr.
16480 (verilog-just-one-space): If there is no space, don't add one.
16481 (verilog-get-lineup-indent-2): Specifically skip just attribute
16482 contexts for expression lineup, rather than skipping all
16483 parenthetical expressions.
16484 (verilog-calculate-indent): Fix comment, and fix indent.
16485 (verilog-do-indent): Indent declarations in lists (suggested by
16486 Joachim Lechner).
16487 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16488 skeleton items.
16489 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16490 by Alain Mellan).
16491
16492 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16493
16494 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16495 parameters with embedded comments. Reported by Ray Stevens.
16496 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16497 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16498 Reported by Tim Holt.
16499 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16500 instantiated by upper module causing wrong expansion until AUTOed a
16501 second time. Reported by K C Buckenmaier.
16502 (verilog-diff-auto): Fix showing .* as a difference when
16503 `verilog-auto-star-save' off. Reported by Dan Dever.
16504 (verilog-auto-reset, verilog-read-always-signals)
16505 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16506 temporary signals in reset list if
16507 verilog-auto-reset-blocking-in-non is nil, and match assignment
16508 style to each signal's assignment type, bug381.
16509 Reported by Thomas Esposito.
16510 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16511 (verilog-uvm-statement-re): Support UVM indentation and
16512 highlighting, with old OVM keywords only.
16513 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16514 Support AUTOTIEOFF creating non-wire data types.
16515 Suggested by Jonathan Greenlaw.
16516 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16517 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16518 (verilog-inject-sense, verilog-read-inst-pins)
16519 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16520 Fix mismatching parenthesis inside commented out code when deleting
16521 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16522 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16523 non-numeric vector width. Reported by Alex Reed.
16524 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16525 detecting signals with parameter widths. Reported by Alex Reed.
16526 (verilog-auto-delete-trailing-whitespace):
16527 With `verilog-auto-delete-trailing-whitespace' remove trailing
16528 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16529 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16530 Fix verilog-scan-cache corruption when running user AUTO expansion
16531 hooks that call indentation routines.
16532 (verilog-simplify-range-expression): Fix typo ignoring lower case
16533 identifiers.
16534 (verilog-delete-auto): Fix delete-autos to also remove user created
16535 automatics, as long as they start with AUTO.
16536 (verilog-batch-diff-auto, verilog-diff-auto)
16537 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16538 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16539 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16540 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16541 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16542 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16543 is disabled and its cache will get corrupt, causing AUTOS not to
16544 expand. Instead use only -quick functions.
16545 (verilog-scan-region): Fix scanning over escaped quotes.
16546 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16547 (verilog-re-search-backward-quick)
16548 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16549 related functions now ignore strings, to fix misparsing of strings
16550 with magic comments embedded in them.
16551 (verilog-read-auto-template):
16552 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16553 Reported by Brad Dobbie.
16554 (verilog-read-auto-template):
16555 Fix 'verilog-auto-inst-template-numbers' with comments.
16556 Reported by Brad Dobbie.
16557 (verilog-auto-inst, verilog-auto-inst-param)
16558 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16559 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16560 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16561 debugging templates without merge conflicts, bug357.
16562 Reported by Brad Dobbie.
16563 (verilog-read-auto-template):
16564 Fix verilog-auto-inst-template-numbers with multiple templates.
16565 Reported by Brad Dobbie.
16566 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16567 abbrevs so user won't be asked to save.
16568 (verilog-read-auto-lisp-present): Fix to start at beginning of
16569 buffer in case called outside of verilog-auto.
16570 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16571 to "X-2". Reported by Matthew Myers.
16572 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16573 all inputs from module templates. Reported by Leith Johnson.
16574 (verilog-module-inside-filename-p): Fix locating programs as with
16575 modules.
16576 (verilog-auto-inst-port): Fix vl-width expressions when using
16577 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16578 (verilog-decls-get-regs, verilog-decls-get-signals,
16579 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16580 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16581 verilog-read-decls): Combine reg and wire structures into one var
16582 structure to represent SystemVerilog concepts.
16583 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16584 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16585 (verilog-auto-wire-type, verilog-insert-definition):
16586 Add verilog-auto-wire-type and AUTOLOGIC to support using
16587 SystemVerilog "logic" keyword instead of "wire"/"reg".
16588 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16589 to declares outputs that also have assignments (presumably in an
16590 ifdef or generate if so there's not a driver conflict).
16591 Reported by Matthew Myers.
16592 (verilog-auto-declare-nettype, verilog-insert-definition):
16593 Add verilog-auto-declare-nettype to fix declarations using
16594 `default_nettype none. Reported by Julian Gorfajn.
16595 (verilog-read-always-signals-recurse, verilog-read-decls)
16596 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16597 malformed end statement, bug325. Reported by Joshua Wise and
16598 Andrew Drake.
16599 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16600 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16601 when expanding .* in interfaces, bug320.
16602 Reported by Pierre-David Pfister.
16603 (verilog-read-module-name): Fix import statements between module
16604 name and open parenthesis, bug317.
16605 Reported by Pierre-David Pfister.
16606 (verilog-simplify-range-expression): Fix simplification of
16607 multiplications inside AUTOWIRE connections, bug303.
16608 (verilog-auto-inst-port): Support parameter expansion in
16609 multidimensional arrays.
16610 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16611 after "assert property". Reported by Julian Gorfajn.
16612 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16613 with multiplication, bug303.
16614 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16615 Reported by Jan Frode Lonnum.
16616
16617 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16618
16619 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16620 (hfy-shell-file-name, hfy-shell):
16621 * international/fontset.el (x-decompose-font-name): Fix typos.
16622
16623 2011-11-29 Ken Brown <kbrown@cornell.edu>
16624
16625 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16626 (gdb-version): Remove defvar.
16627 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16628 (gdb-gud-context-command, gdb-non-stop-handler)
16629 (gdb-current-context-command, gdb-stopped): Use it.
16630 (gdb-init-1): Enable pretty printing here.
16631 (gdb-non-stop-handler): Don't enable pretty-printing here.
16632 Check to see if the target supports non-stop mode; if not, turn off
16633 non-stop mode. Use the following.
16634 (gdb-check-target-async): New defun.
16635 (gud-watch, gdb-stopped): Fix whitespace.
16636 (gdb-get-source-file): Don't try to display the source file if
16637 `gdb-main-file' is nil.
16638
16639 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * align.el: Try to generate fewer markers (bug#10047).
16642 (align--set-marker): New macro.
16643 (align-region): Use it.
16644
16645 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16646
16647 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16648
16649 2011-11-29 Chong Yidong <cyd@gnu.org>
16650
16651 * indent.el (indent-for-tab-command, indent-according-to-mode):
16652 Doc fix.
16653 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16654
16655 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16656
16657 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16658 aware of remote file names. (Bug#10124)
16659
16660 2011-11-29 Chong Yidong <cyd@gnu.org>
16661
16662 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16663
16664 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16665
16666 * files.el (find-file): Don't use force-same-window (bug#10144).
16667 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16668 use pop-to-buffer if the selected window can't be used.
16669 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16670
16671 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16672
16673 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16674 special-mode-map.
16675
16676 2011-11-28 Chong Yidong <cyd@gnu.org>
16677
16678 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16679
16680 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16681
16682 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16683 gdb-get-source-file-list on gdb-create-source-file-list.
16684
16685 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16686
16687 * whitespace.el (whitespace-newline): Use a different foreground
16688 color for 16-color light-background displays.
16689
16690 2011-11-24 Chong Yidong <cyd@gnu.org>
16691
16692 * window.el (display-buffer--special-action): Doc fix.
16693
16694 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16695
16696 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16697 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16698 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16699 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16700 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16701 (avl-tree-stack-first):
16702 * emacs-lisp/cconv.el (cconv--analyse-use):
16703 * net/gnutls.el (gnutls-negotiate): Fix typos.
16704
16705 2011-11-24 Glenn Morris <rgm@gnu.org>
16706
16707 * lpr.el (lpr-windows-system, lpr-lp-system):
16708 * mail/binhex.el (binhex-begin-line):
16709 * progmodes/grep.el (grep-history, grep-find-history):
16710 * textmodes/flyspell.el:
16711 * vc/pcvs-defs.el (cvs-global-menu):
16712 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16713 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16714 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16715
16716 * net/tls.el: Fix case of "GnuTLS".
16717
16718 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16719
16720 * version.el (emacs-build-system): Give it a doc-string.
16721
16722 2011-11-24 Juri Linkov <juri@jurta.org>
16723
16724 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16725
16726 2011-11-24 Glenn Morris <rgm@gnu.org>
16727
16728 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16729 if called on a non-mime message just toggle the headers. (Bug#8006)
16730
16731 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16732
16733 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16734 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16735 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16736 (allout-rebullet-heading, allout-open-sibtopic)
16737 (allout-toggle-current-subtree-encryption)
16738 (allout-toggle-subtree-encryption, allout-encrypt-string)
16739 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16740 (allout-distinctive-bullets-string, allout-auto-activation):
16741 * window.el (window-normalize-buffer-to-display):
16742 * progmodes/verilog-mode.el (verilog-batch-indent):
16743 * textmodes/bibtex.el (bibtex-field-braces-opt)
16744 (bibtex-field-strings-opt):
16745 * vc/cvs-status.el (cvs-tree-merge):
16746 Fix typos.
16747
16748 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16749
16750 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16751 `non-essential' to t, in order to avoid remote connections.
16752
16753 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16754
16755 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16756 On MS-DOS and MS-Windows, compare with loaddefs.el
16757 case-insensitively.
16758
16759 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16760
16761 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16762
16763 2011-11-23 Glenn Morris <rgm@gnu.org>
16764
16765 * paths.el (rmail-file-name): Reformat the doc-string so that it
16766 is picked up.
16767
16768 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16769 (rmail-auto-file): Ignore case in the "special" field names,
16770 as mail-fetch-field does for all others.
16771
16772 * mail/rmail.el (rmail-forward):
16773 * mail/rmailkwd.el (rmail-set-label):
16774 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16775 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16776
16777 * mail/rmail.el (rmail-current-message): Doc fix.
16778
16779 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16780
16781 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16782
16783 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16784
16785 2011-11-22 Glenn Morris <rgm@gnu.org>
16786
16787 * mail/rmailmm.el (test-rmail-mime-handler)
16788 (test-rmail-mime-bulk-handler)
16789 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16790
16791 2011-11-21 Juri Linkov <juri@jurta.org>
16792
16793 * calc/calc.el (calc-read-key-sequence):
16794 Let-bind `input-method-function' to nil. (Bug#10018)
16795
16796 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16797
16798 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16799 Tell the caller that the next line needs recomputation, even
16800 though it doesn't start a sexp (bug#10094).
16801
16802 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16803
16804 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16805
16806 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16807
16808 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16809 Use force-same-window.
16810
16811 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16812
16813 * descr-text.el (describe-char-unicode-data):
16814 * json.el (json-string-escape):
16815 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16816 (Footnote-unicode, Footnote-style-p):
16817 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16818
16819 2011-11-20 Chong Yidong <cyd@gnu.org>
16820
16821 * window.el (replace-buffer-in-windows): Restore interactive spec.
16822
16823 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16824
16825 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16826
16827 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16828 (byte-compile-global-not-obsolete-vars): New var.
16829 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16830 Use it.
16831 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16832
16833 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16834
16835 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16836 * progmodes/pascal.el (electric-pascal-equal):
16837 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16838 * xml.el (xml-substitute-special): Fix typos.
16839
16840 2011-11-20 Glenn Morris <rgm@gnu.org>
16841
16842 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16843 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16844 Doc fixes.
16845 (rmail-decode-mime-charset): Mark as obsolete.
16846
16847 * mail/rmailsum.el (rmail-message-regexp-p-1):
16848 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16849 Before using mime functions, check they are set. (Bug#10077)
16850
16851 2011-11-19 Juri Linkov <juri@jurta.org>
16852
16853 * info.el (Info-finder-find-node): Use `package--builtins' instead
16854 of `package-alist'. Use node names formed by the pattern "Keyword "
16855 and the keyword name.
16856
16857 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16858
16859 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16860
16861 2011-11-19 Juri Linkov <juri@jurta.org>
16862
16863 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16864 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16865 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16866 `old-history', `old-history-forward'. Add let-binding
16867 `window-selected'. Remove calls to `kill-buffer',
16868 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16869 before calling `Info-find-node', so `Info-find-node-2' will reread
16870 the Info file. Restore window positions only when `window-selected'
16871 is non-nil.
16872
16873 2011-11-19 Juri Linkov <juri@jurta.org>
16874
16875 * isearch.el (isearch-lazy-highlight-new-loop):
16876 Remove condition `(not isearch-error)'. (Bug#9918)
16877
16878 * misearch.el (multi-isearch-search-fun): Add condition
16879 `(not bound)' to ignore lazy-highlighting search.
16880 Add the search-failed message "end of multi" when the end of
16881 multi-sequence is reached. Uncapitalize the search-failed
16882 message "Repeat for next buffer".
16883
16884 * info.el (Info-search): Add the search-failed message
16885 "end of the manual" when the end of the manual is reached
16886 in Isearch mode.
16887
16888 2011-11-19 Juri Linkov <juri@jurta.org>
16889
16890 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16891 Use non-destructive `remove' instead of `delete' because
16892 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16893 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16894
16895 2011-11-19 Juri Linkov <juri@jurta.org>
16896
16897 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16898 to nil instead of binding `search-ring' and `regexp-search-ring'.
16899 (Bug#9185)
16900
16901 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16902
16903 * simple.el (line-move): Force movement by logical lines for any
16904 hscrolled window, not only when auto-hscroll-mode is on.
16905 (line-move-visual): Update doc string to that effect. (Bug#10076)
16906
16907 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16908
16909 * language/european.el (macintosh): Define as alias for mac-roman.
16910
16911 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16912
16913 * mail/rmailmm.el (rmail-mime-display-header)
16914 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16915 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16916 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16917 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16918 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16919 of a raw aref.
16920 (rmail-mime-entity-segment): To get past the tagline, move forward
16921 2 more lines, to account for the 2 empty lines that precede and
16922 follow the line with the buttons.
16923 (rmail-mime-update-tagline): Move one more line, to get past the
16924 empty line that follows the buttons in the tagline. (Bug#9520)
16925
16926 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16927
16928 * window.el (window-max-delta-1, window-min-delta-1)
16929 (window-min-size-1, window-state-get-1, window-state-put-1)
16930 (window-state-put-2): Use "window--" prefix.
16931
16932 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16933
16934 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16935 (smie-warning-count): New var.
16936 (smie-set-prec2tab): Use it.
16937 (smie-bnf->prec2): Improve warnings. Add docstring.
16938 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16939 (smie-bnf--set-class): New function.
16940 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16941 corner case.
16942
16943 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16944 (compilation-error-properties, compilation-move-to-column):
16945 Handle compilation-first-column while in the target buffer.
16946
16947 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16948 Don't hardcode point-min==1.
16949
16950 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16951 (eshell-rewrite-for-command): Remove workaround.
16952 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16953 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16954 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16955
16956 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16957
16958 2011-11-17 Glenn Morris <rgm@gnu.org>
16959
16960 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16961 Ignore buffer-local generated-autoload-file if it is the same
16962 as the global value. (Bug#10049)
16963
16964 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16965
16966 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16967 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16968 (reftex-toc-previous-heading, reftex-toc-max-level)
16969 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16970 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16971 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16972 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16973 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16974 (reftex-toc-rename-label, reftex-toc-visit-location)
16975 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16976 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16977 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16978 leaving "*toc*" only for references to the buffer.
16979
16980 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16981
16982 * window.el (window-resize, delete-window, split-window):
16983 Replace window-splits by window-combination-resize.
16984 * cus-start.el (window-splits): Replace by window-combination-resize.
16985
16986 2011-11-17 Glenn Morris <rgm@gnu.org>
16987
16988 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16989 Make bash entry derive from sh entry, not shell entry.
16990
16991 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16992
16993 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16994 local file name.
16995
16996 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16997
16998 * menu-bar.el (menu-bar-file-menu):
16999 * printing.el (pr-ps-utility):
17000 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17001 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17002 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17003 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17004 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17005 (icalendar--convert-cyclic-to-ical)
17006 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17007 (icalendar--convert-ical-to-diary)
17008 (icalendar--convert-recurring-to-diary)
17009 (icalendar--convert-non-recurring-all-day-to-diary)
17010 (icalendar-import-format-sample):
17011 * progmodes/idlw-shell.el (idlwave-shell-mode):
17012 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17013 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17014 (vhdl-ps-print-init): Fix typos.
17015
17016 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17017
17018 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17019 FSF and collapse date sequence, obscure author/maintainer email address
17020 better, remove extra version line, track relocation of author's webpage.
17021
17022 * progmodes/python.el (python-pdbtrack-input-prompt)
17023 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17024 regular python pdb prompts. Adjustments shamelessly taken exactly as
17025 suggested in EmacsWiki page (tiny change):
17026 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17027
17028 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17029
17030 * expand.el (expand-pos, expand-index, expand-point):
17031 Remove redundant info from docstring.
17032 (expand-add-abbrevs): Doc fix.
17033 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17034 (expand-sample-perl-mode-expand-list): Fix typos.
17035
17036 * net/dbus.el (dbus-event-member-name):
17037 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17038 * term/pc-win.el (msdos-create-frame-with-faces):
17039 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17040
17041 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17042
17043 * window.el (split-window, window-state-get-1)
17044 (window-state-put-1, window-state-put-2): Rename occurrences of
17045 window-nest to window-combination-limit.
17046 * cus-start.el (window-nest): Rename to window-combination-limit.
17047
17048 2011-11-16 Chong Yidong <cyd@gnu.org>
17049
17050 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17051 regexp (Bug#10033).
17052
17053 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17054
17055 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17056 `completing-read' will remove *Completions* and will preserve
17057 current-buffer for us.
17058 (tmm-add-prompt): Users of *Completions* will always (re)set its
17059 major mode.
17060 (tmm-old-comp-map): Remove.
17061
17062 2011-11-16 Glenn Morris <rgm@gnu.org>
17063
17064 * mail/rmailedit.el: Require rmailmm when compiling.
17065 (rmail-old-mime-state): New declaration.
17066 (rmail-edit-current-message): If editing a mime message,
17067 edit the "raw" message from the mbox buffer.
17068 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17069
17070 2011-11-15 Glenn Morris <rgm@gnu.org>
17071
17072 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17073 which wasn't being used. Add optional arg to force given state.
17074 (rmail-mime): Add optional arg to force given state.
17075
17076 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17077
17078 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17079 * frame.el (display-mm-dimensions-alist):
17080 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17081 (outline-move-subtree-down):
17082 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17083 (newsticker--treeview-do-get-node):
17084 * net/quickurl.el (quickurl-list-buffer-name):
17085 * progmodes/dcl-mode.el (dcl-mode):
17086 * progmodes/gdb-mi.el (gdb-mapcar*):
17087 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17088
17089 2011-11-15 Glenn Morris <rgm@gnu.org>
17090
17091 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17092 in a boolean sense, so just make it a boolean, and fix the doc.
17093 (rmail-show-mime-function, rmail-mime-feature)
17094 (rmail-require-mime-maybe): Doc fixes.
17095 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17096
17097 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17098
17099 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17100
17101 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17102 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17103 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17104 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17105
17106 2011-11-15 Glenn Morris <rgm@gnu.org>
17107
17108 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17109 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17110 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17111 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17112 (rmail-mime, rmail-show-mime): Doc fixes.
17113
17114 * term/ns-win.el (mode-line-frame-identification):
17115 Leave it alone. (Bug#10051)
17116
17117 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17118
17119 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17120 Handle empty buffers. (Bug#9978)
17121
17122 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17123
17124 * international/mule.el (define-charset):
17125 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17126 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17127 * progmodes/verilog-mode.el (verilog-backward-token):
17128 * textmodes/ispell.el (lookup-words):
17129 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17130
17131 2011-11-14 Glenn Morris <rgm@gnu.org>
17132
17133 * progmodes/executable.el
17134 (executable-make-buffer-file-executable-if-script-p):
17135 Handle file-modes returning nil.
17136
17137 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17138 message - not necessary, and causes problems. (Bug#9831)
17139
17140 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17141
17142 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17143
17144 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17145 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17146 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17147
17148 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17149
17150 * window.el (window-resize, delete-window): Use window-splits
17151 variable instead of function.
17152 (window-state-get-1, window-state-put-2, window-state-put):
17153 Don't deal with windows' splits status.
17154
17155 2011-11-12 Glenn Morris <rgm@gnu.org>
17156
17157 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17158 (apropos-documentation): Doc fixes.
17159
17160 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17161
17162 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17163 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17164
17165 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17166
17167 * electric.el (electric-indent-post-self-insert-function): Make it
17168 possible for a char to only indent in some circumstances.
17169 (electric-indent-mode): Simplify.
17170
17171 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17172
17173 * window.el (windows-with-parameter): Remove unused function.
17174 (windows-at-side): Rename to window-at-side-list.
17175 (window-check, window-atom-check, window-atom-check-1)
17176 (window-side-check, window-size-ignore, window-size-fixed-1)
17177 (window-in-direction-2): Prefix with "window--".
17178 (window-tree-1): Rename to window--subtree, fix doc-string.
17179
17180 2011-11-11 Glenn Morris <rgm@gnu.org>
17181
17182 * subr.el (eval-after-load): If FILE is already loaded,
17183 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17184
17185 2011-11-10 Glenn Morris <rgm@gnu.org>
17186
17187 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17188 Call svn via vc-svn-command rather than vc-do-command.
17189 (vc-svn-command): Add --non-interactive. (Bug#9993)
17190 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17191
17192 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17193 Add toggle-read-only. (Bug#7292)
17194 * files.el (toggle-read-only): Mention that it should only
17195 be used interactively. (Bug#10006)
17196
17197 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17198
17199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17200 Adjust regexp for OCaml warnings.
17201
17202 * electric.el (electric-pair-post-self-insert-function): Let user
17203 turn it off buffer-locally (bug#9932).
17204
17205 * progmodes/python.el (python-beginning-of-statement):
17206 Rewrite (bug#2703).
17207
17208 * progmodes/compile.el: Better handle TABs (bug#9749).
17209 (compilation-internal-error-properties)
17210 (compilation-next-error-function): Obey the target buffer's
17211 compilation-error-screen-columns.
17212
17213 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17214
17215 * progmodes/meta-mode.el: Remove obsolete comments.
17216 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17217 Fix typos in docstrings.
17218
17219 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17220
17221 * window.el (window-size-fixed-p): Rewrite doc-string.
17222 (window-resizable-p): Rename to window--resizable-p. Update callers.
17223 (window--resizable): New function. Make all callers of
17224 window-resizable call window--resizable instead.
17225 (window-resizable): Rewrite in terms of window--resizable.
17226
17227 2011-11-08 Glenn Morris <rgm@gnu.org>
17228
17229 * progmodes/delphi.el (delphi-mode-syntax-table):
17230 Let define-derived-mode define a proper syntax table. (Bug#9994)
17231
17232 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17233
17234 * window.el: Stay away from defsubst.
17235 (window-list-no-nils): Remove.
17236 (window-state-get-1, window-state-get): Use backquote instead.
17237
17238 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17239
17240 * emacs-lisp/find-func.el (find-function-read):
17241 Fix incorrect use of default argument in `completing-read'.
17242
17243 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17244
17245 * window.el (display-buffer-function, special-display-function):
17246 Mention display-buffer-record-window but do not mention
17247 help-setup parameter in doc-strings.
17248 (window-min-delta): Fix doc-string typo.
17249
17250 2011-11-08 Chong Yidong <cyd@gnu.org>
17251
17252 * window.el (window-total-height, window-total-width): Doc fix.
17253 (window-body-size): Move from C.
17254 (window-body-height, window-body-width): Move to C.
17255
17256 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17257
17258 * window.el: Make special-display like display-buffer-alist (bug#9532).
17259 (display-buffer--special-action): New function, morphed
17260 from display-buffer--special.
17261 (display-buffer): Use it to handle special-display-buffers at higher
17262 priority (just after display-buffer-alist).
17263 (display-buffer-fallback-action, display-buffer--other-frame-action)
17264 (pop-to-buffer-same-window): Remove display-buffer--special.
17265
17266 2011-11-07 Glenn Morris <rgm@gnu.org>
17267
17268 * calendar/cal-menu.el (cal-menu-set-date-title):
17269 Do nothing if not in a calendar. (Bug#9976)
17270
17271 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17272
17273 * files.el (find-file): Always use selected-window.
17274
17275 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17276
17277 * window.el (window-combinations): Make WINDOW argument
17278 mandatory. Rewrite doc-string.
17279 (walk-window-subtree, window-atom-check, window-min-delta)
17280 (window-max-delta, window--resize-this-window)
17281 (window--resize-root-window-vertically, window-tree)
17282 (balance-windows, window-state-put): Rewrite doc-strings as to
17283 not mention the term "subwindow".
17284 (window--resize-subwindows-skip-p): Rename to
17285 window--resize-child-windows-skip-p.
17286 (window--resize-subwindows-normal): Rename to
17287 window--resize-child-windows-normal.
17288 (window--resize-subwindows): Rename to
17289 window--resize-child-windows.
17290 (window-or-subwindow-p): Rename to window--in-subtree-p.
17291
17292 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17293
17294 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17295 Ensure that mbox format messages end in two newlines (Bug#9974).
17296
17297 2011-11-06 Chong Yidong <cyd@gnu.org>
17298
17299 * window.el (window-combination-p): Function deleted; its
17300 side-effect is not used in any existing code.
17301 (window-combinations, window-combined-p): Call window-*-child
17302 directly.
17303
17304 2011-11-05 Chong Yidong <cyd@gnu.org>
17305
17306 * window.el (window-valid-p): Rename from window-any-p.
17307 (window-size-ignore, window-state-get): Callers changed.
17308 (window-normalize-window): Rename from window-normalize-any-window.
17309 New arg LIVE-ONLY, replacing window-normalize-live-window.
17310 (window-normalize-live-window): Delete.
17311 (window-combination-p, window-combined-p, window-combinations)
17312 (walk-window-subtree, window-atom-root, window-min-size)
17313 (window-sizable, window-sizable-p, window-size-fixed-p)
17314 (window-min-delta, window-max-delta, window-resizable)
17315 (window-resizable-p, window-full-height-p, window-full-width-p)
17316 (window-current-scroll-bars, window-point-1, set-window-point-1)
17317 (window-at-side-p, window-in-direction, window-resize)
17318 (adjust-window-trailing-edge, maximize-window, minimize-window)
17319 (window-deletable-p, delete-window, delete-other-windows)
17320 (record-window-buffer, unrecord-window-buffer)
17321 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17322 (quit-window, split-window, window-state-put)
17323 (set-window-text-height, fit-window-to-buffer)
17324 (shrink-window-if-larger-than-buffer): Callers changed.
17325
17326 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17327
17328 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17329 rfc2047-decode-string.
17330 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17331 warnings.
17332
17333 * window.el (window-body-height, window-body-width): Mention in
17334 the doc string that the return values are in frame's canonical
17335 units. (Bug#9949)
17336
17337 2011-11-03 Alan Mackenzie <acm@muc.de>
17338
17339 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17340 change in cc-engine.el.
17341
17342 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17343
17344 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17345
17346 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17347
17348 * window.el (quit-window): Call unrecord-window-buffer after
17349 showing another buffer in the window. (Bug#9937)
17350 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17351
17352 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17353
17354 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17355 Accept status with more than 9 shelves. (Bug#9935)
17356 Reported by Colin D Bennett <colin@gibibit.com>.
17357
17358 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17359
17360 * help.el (with-help-window): Don't reference
17361 temp-buffer-show-specifiers in doc-string.
17362
17363 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17364
17365 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17366 menu-item.
17367
17368 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17369
17370 * whitespace.el: New version 13.2.2.
17371 (whitespace-newline-mode): Disable properly. Reported by Sarah
17372 <EmacsWiki>.
17373
17374 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17375
17376 * net/newst-treeview.el: Remove "Time-stamp".
17377 (newsticker--group-manage-orphan-feeds): Do not call
17378 newsticker--treeview-tree-update.
17379 (newsticker-treeview-update, newsticker-treeview):
17380 Call newsticker--treeview-tree-update if necessary.
17381
17382 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17383
17384 * window.el (window-iso-combination-p, window-iso-combined-p)
17385 (window-iso-combinations): Remove "iso-" infix.
17386 Suggested by Chong Yidong.
17387 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17388 (window-max-delta-1, window-resize, window--resize-siblings)
17389 (window--resize-this-window, adjust-window-trailing-edge)
17390 (split-window, balance-windows-1)
17391 (shrink-window-if-larger-than-buffer):
17392 * calendar/calendar.el (calendar-generate-window):
17393 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17394
17395 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17396
17397 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17398 in place (bug#9907).
17399 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17400 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17401 (eshell-structure-basic-command, eshell-rewrite-while-command)
17402 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17403 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17404 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17405 (eshell-do-pipelines-synchronously, eshell-eval-command):
17406 Use backquotes and prefer setq to set.
17407 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17408 (eshell-macrop): Use functionp.
17409 (eshell-do-eval): Handle multiple expressions in `while' body.
17410
17411 2011-10-30 Chong Yidong <cyd@gnu.org>
17412
17413 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17414 instead of set-mark (Bug#9810).
17415
17416 2011-10-30 Chong Yidong <cyd@gnu.org>
17417
17418 * window.el (split-window-below, split-window-right): Rename from
17419 split-window-above-each-other and split-window-side-by-side
17420 respectively. All callers changed.
17421 (split-window-sensibly, split-window-sensibly): Use them.
17422 (split-window-keep-point): Doc fix.
17423
17424 * isearch.el: Add isearch-scroll property to split-window-below
17425 and split-window-right.
17426
17427 * follow.el (follow-mode):
17428 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17429 * progmodes/ada-xref.el (ada-gdb-application):
17430 * emulation/vip.el (vip-buffer-in-two-windows):
17431 * image-dired.el (image-dired-dired-with-window-configuration):
17432 * dired-x.el (dired-do-find-marked-files):
17433 * dired.el (dired-pop-to-buffer):
17434 * bs.el (bs--show-with-configuration):
17435 * vc/emerge.el (emerge-setup-windows):
17436 * textmodes/two-column.el (2C-two-columns):
17437 * textmodes/reftex-toc.el (reftex-toc):
17438 * progmodes/gdb-mi.el (gdb-setup-windows):
17439 * progmodes/fortran.el (fortran-window-create):
17440 * net/newst-treeview.el (newsticker--treeview-window-init):
17441 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17442 * emulation/tpu-edt.el (tpu-gold-map):
17443 * emulation/crisp.el (crisp-mode-map):
17444 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17445
17446 2011-10-29 Chong Yidong <cyd@gnu.org>
17447
17448 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17449
17450 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17451
17452 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17453 forged Ispell output (Bug#7904).
17454
17455 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17456
17457 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17458
17459 * doc-view.el: Avoid ugly errors about not finding nil.
17460 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17461 (doc-view-dvipdf-program, doc-view-unoconv-program)
17462 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17463 Avoid nil or absolute file name as default value.
17464 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17465
17466 2011-10-28 Alan Mackenzie <acm@muc.de>
17467
17468 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17469
17470 2011-10-28 Alan Mackenzie <acm@muc.de>
17471
17472 Amend the handling of c-beginning/end-of-defun in nested declaration
17473 scopes.
17474
17475 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17476 cc-langs.el. Change it to a defcustom.
17477
17478 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17479 cc-vars.el.
17480
17481 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17482 Prevent "class foo : bar" being spuriously recognized as a label.
17483
17484 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17485 Add parameter `inclusive' (to include enclosing braces in the region).
17486 (c-widen-to-enclosing-decl-scope): New function.
17487 (c-while-widening-to-decl-block): New macro.
17488 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17489 outward for defun boundaries, and correspondingly change symbol
17490 `respect-enclosure' to `go-outward'.
17491 (c-declaration-limits): Change algorithm to report only the "innermost"
17492 defun's boundaries.
17493
17494 2011-10-28 Deniz Dogan <deniz@dogan.se>
17495
17496 * net/rcirc.el (rcirc-mode): Use hard newlines.
17497
17498 2011-10-28 Alan Mackenzie <acm@muc.de>
17499
17500 Amend to indent and fontify macros "which include their own semicolon"
17501 correctly, using the "virtual semicolon" mechanism.
17502
17503 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17504
17505 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17506 Recode to scan one line at a time rather than having \n and \r
17507 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17508 (c-forward-label): Amend for virtual semicolons.
17509 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17510
17511 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17512 of the new C macros.
17513
17514 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17515 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17516 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17517 (c-opt-cpp-macro-define): Make into a full language variable.
17518 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17519 AWK Mode (including \n, \r) removed, no longer needed.
17520
17521 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17522 Invoke c-make-macro-with-semi-re.
17523
17524 * progmodes/cc-vars.el (c-macro-with-semi-re):
17525 (c-macro-names-with-semicolon): New variables.
17526 (c-make-macro-with-semi-re): New function.
17527
17528 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * vc/log-edit.el: Fill empty field rather than adding new one.
17531 (log-edit-add-field): New function.
17532 (log-edit-insert-changelog): Use it.
17533
17534 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17535
17536 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17537
17538 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17539
17540 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17541 (gdb--check-interpreter): New function.
17542 (gdb): Use it.
17543
17544 2011-10-27 Glenn Morris <rgm@gnu.org>
17545
17546 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17547 (least-positive-float, least-negative-float)
17548 (least-positive-normalized-float, least-negative-normalized-float)
17549 (float-epsilon, float-negative-epsilon):
17550 Remove unnecessary declarations.
17551
17552 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17553 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17554 (least-positive-float, least-negative-float)
17555 (least-positive-normalized-float, least-negative-normalized-float)
17556 (float-epsilon, float-negative-epsilon): Add doc-strings,
17557 based on those in cl.texi.
17558
17559 * files.el (set-visited-file-name): If the major-mode changed,
17560 reload the local variables. (Bug#9796)
17561
17562 2011-10-27 Chong Yidong <cyd@gnu.org>
17563
17564 * subr.el (change-major-mode-after-body-hook): New hook.
17565 (run-mode-hooks): Run it.
17566
17567 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17568 Use change-major-mode-before-body-hook.
17569
17570 * simple.el (fundamental-mode):
17571 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17572 change introducing fundamental-mode-hook.
17573
17574 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17575
17576 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17577
17578 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17579
17580 * ido.el (ido-file-name-all-completions-1): Do not require
17581 tramp.el explicitly. (Bug#7583)
17582
17583 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17584
17585 * progmodes/octave-mod.el:
17586 * progmodes/octave-inf.el: Update maintainer.
17587
17588 2011-10-26 Chong Yidong <cyd@gnu.org>
17589
17590 * subr.el (with-wrapper-hook): Rewrite doc.
17591
17592 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17593
17594 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17595 filenames "/method:foo:". (Bug#9793)
17596
17597 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17598
17599 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17600 (bug#9865).
17601
17602 2011-10-24 Glenn Morris <rgm@gnu.org>
17603
17604 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17605
17606 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17607
17608 * notifications.el: Add the requirement of a running D-Bus session
17609 bus to the Commentary.
17610
17611 2011-10-24 Juri Linkov <juri@jurta.org>
17612
17613 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17614 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17615 (Bug#9364)
17616
17617 2011-10-24 Juri Linkov <juri@jurta.org>
17618
17619 * info.el (Info-following-node-name-re): Add newline to the list
17620 of allowed characters for leading space. (Bug#9824)
17621
17622 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17623
17624 * progmodes/octave-inf.el (inferior-octave-mode-map):
17625 Fix C-c C-h binding.
17626 * progmodes/octave-mod.el (octave-help): Remove.
17627
17628 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17629
17630 Sync with Tramp 2.2.3.
17631
17632 * net/tramp-cache.el (top): Pacify byte-compiler using
17633 `init-file-user' and `site-run-file'.
17634
17635 * net/trampver.el: Update release number.
17636
17637 2011-10-23 Chong Yidong <cyd@gnu.org>
17638
17639 * files.el (toggle-read-only): Remove obsolete comment about
17640 version control.
17641
17642 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17643 for toggle-read-only. Note that this hasn't called vc-next-action
17644 since 2008-05-02, though it wasn't documented at the time.
17645
17646 * vc/ediff-init.el (ediff-toggle-read-only-function):
17647 Use toggle-read-only.
17648
17649 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17650
17651 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17652 of c-parse-state.
17653
17654 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17655 correct faulty logical expression.
17656 (c-parse-state-state, c-record-parse-state-state):
17657 (c-replay-parse-state-state): New defvar/defuns.
17658 (c-debug-parse-state): Use new functions.
17659
17660 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17661
17662 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17663 last fix. Use window-in-direction correctly.
17664
17665 2011-10-21 Chong Yidong <cyd@gnu.org>
17666
17667 * progmodes/idlwave.el (idlwave-mode):
17668 * progmodes/vera-mode.el (vera-mode): No need to set
17669 require-final-newline; that's done in prog-mode.
17670 Suggested by Stefan Monnier.
17671
17672 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17673
17674 * mouse.el (mouse-drag-window-above)
17675 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17676 (mouse-drag-mode-line-1, mouse-drag-header-line)
17677 (mouse-drag-vertical-line-rightward-window): Remove.
17678 (mouse-drag-line): New function.
17679 (mouse-drag-mode-line, mouse-drag-header-line)
17680 (mouse-drag-vertical-line): Call mouse-drag-line.
17681 * window.el (window-at-side-p, windows-at-side): New functions.
17682
17683 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17684
17685 * tar-mode.el (tar-grind-file-mode):
17686 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17687
17688 2011-10-21 Chong Yidong <cyd@gnu.org>
17689
17690 * progmodes/idlwave.el (idlwave-mode):
17691 * progmodes/vera-mode.el (vera-mode):
17692 Use mode-require-final-newline.
17693
17694 2011-10-20 Glenn Morris <rgm@gnu.org>
17695
17696 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17697
17698 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17699
17700 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17701
17702 2011-10-20 Chong Yidong <cyd@gnu.org>
17703
17704 * emulation/cua-base.el (cua-mode):
17705 * mail/footnote.el (footnote-mode):
17706 * mail/mailabbrev.el (mail-abbrevs-mode):
17707 * net/xesam.el (xesam-minor-mode):
17708 * progmodes/bug-reference.el (bug-reference-mode):
17709 * progmodes/cap-words.el (capitalized-words-mode):
17710 * progmodes/compile.el (compilation-minor-mode)
17711 (compilation-shell-minor-mode):
17712 * progmodes/gud.el (gud-tooltip-mode):
17713 * progmodes/hideif.el (hide-ifdef-mode):
17714 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17715 * progmodes/subword.el (subword-mode):
17716 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17717 * progmodes/which-func.el (which-function-mode):
17718 * term/tvi970.el (tvi970-set-keypad-mode):
17719 * term/vt100.el (vt100-wide-mode):
17720 * textmodes/flyspell.el (flyspell-mode):
17721 * textmodes/ispell.el (ispell-minor-mode):
17722 * textmodes/nroff-mode.el (nroff-electric-mode):
17723 * textmodes/paragraphs.el (use-hard-newlines):
17724 * textmodes/refill.el (refill-mode):
17725 * textmodes/reftex.el (reftex-mode):
17726 * textmodes/rst.el (rst-minor-mode):
17727 * textmodes/sgml-mode.el (html-autoview-mode)
17728 (sgml-electric-tag-pair-mode):
17729 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17730 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17731 * emulation/crisp.el (crisp-mode):
17732 * emacs-lisp/eldoc.el (eldoc-mode):
17733 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17734 minor mode behavior.
17735
17736 2011-10-19 Juri Linkov <juri@jurta.org>
17737
17738 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17739 the list of hard-coded chars with escape-glyph face.
17740
17741 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17742
17743 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17744
17745 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17746
17747 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17748 running process.
17749
17750 2011-10-19 Glenn Morris <rgm@gnu.org>
17751
17752 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17753 Ignore ignored files. (Bug#9726)
17754
17755 2011-10-19 Chong Yidong <cyd@gnu.org>
17756
17757 Doc fix for minor modes, stating that an omitted argument enables
17758 the mode unconditionally when called from Lisp.
17759
17760 * abbrev.el (abbrev-mode):
17761 * allout.el (allout-mode):
17762 * autoinsert.el (auto-insert-mode):
17763 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17764 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17765 (global-auto-revert-mode):
17766 * battery.el (display-battery-mode):
17767 * composite.el (global-auto-composition-mode)
17768 (auto-composition-mode):
17769 * delsel.el (delete-selection-mode):
17770 * desktop.el (desktop-save-mode):
17771 * dired-x.el (dired-omit-mode):
17772 * dirtrack.el (dirtrack-mode):
17773 * doc-view.el (doc-view-minor-mode):
17774 * double.el (double-mode):
17775 * electric.el (electric-indent-mode, electric-pair-mode):
17776 * emacs-lock.el (emacs-lock-mode):
17777 * epa-hook.el (auto-encryption-mode):
17778 * follow.el (follow-mode):
17779 * font-core.el (font-lock-mode):
17780 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17781 * help.el (temp-buffer-resize-mode):
17782 * hilit-chg.el (highlight-changes-mode)
17783 (highlight-changes-visible-mode):
17784 * hi-lock.el (hi-lock-mode):
17785 * hl-line.el (hl-line-mode, global-hl-line-mode):
17786 * icomplete.el (icomplete-mode):
17787 * ido.el (ido-everywhere):
17788 * image-file.el (auto-image-file-mode):
17789 * image-mode.el (image-minor-mode):
17790 * iswitchb.el (iswitchb-mode):
17791 * jka-cmpr-hook.el (auto-compression-mode):
17792 * linum.el (linum-mode):
17793 * longlines.el (longlines-mode):
17794 * master.el (master-mode):
17795 * mb-depth.el (minibuffer-depth-indicate-mode):
17796 * menu-bar.el (menu-bar-mode):
17797 * minibuf-eldef.el (minibuffer-electric-default-mode):
17798 * mouse-sel.el (mouse-sel-mode):
17799 * msb.el (msb-mode):
17800 * mwheel.el (mouse-wheel-mode):
17801 * outline.el (outline-minor-mode):
17802 * paren.el (show-paren-mode):
17803 * recentf.el (recentf-mode):
17804 * reveal.el (reveal-mode, global-reveal-mode):
17805 * rfn-eshadow.el (file-name-shadow-mode):
17806 * ruler-mode.el (ruler-mode):
17807 * savehist.el (savehist-mode):
17808 * scroll-all.el (scroll-all-mode):
17809 * scroll-bar.el (scroll-bar-mode):
17810 * server.el (server-mode):
17811 * shell.el (shell-dirtrack-mode):
17812 * simple.el (auto-fill-mode, transient-mark-mode)
17813 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17814 (line-number-mode, column-number-mode, size-indication-mode)
17815 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17816 * strokes.el (strokes-mode):
17817 * time.el (display-time-mode):
17818 * t-mouse.el (gpm-mouse-mode):
17819 * tool-bar.el (tool-bar-mode):
17820 * tooltip.el (tooltip-mode):
17821 * type-break.el (type-break-mode-line-message-mode)
17822 (type-break-query-mode):
17823 * view.el (view-mode):
17824 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17825 (global-whitespace-mode, global-whitespace-newline-mode):
17826 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17827
17828 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17829 Fix autogenerated docstring.
17830
17831 2011-10-19 Juri Linkov <juri@jurta.org>
17832
17833 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17834 by checking environment variables "DESKTOP_SESSION" and
17835 "XDG_CURRENT_DESKTOP". (Bug#9779)
17836
17837 2011-10-19 Juri Linkov <juri@jurta.org>
17838
17839 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17840 (browse-url-chromium-program, browse-url-chromium-arguments):
17841 New defcustoms.
17842 (browse-url-default-browser): Check for `browse-url-chromium' and
17843 call `browse-url-chromium-program'.
17844 (browse-url-chromium): New command. (Bug#9779)
17845
17846 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17847
17848 * facemenu.el (list-colors-duplicates): On Windows, detect more
17849 duplicates by assuming that only colors matching "^System" are
17850 special "system colors". (Bug#9722)
17851
17852 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17853
17854 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17855 to distinguish the author from the committer.
17856
17857 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17858
17859 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17860
17861 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17862
17863 * international/mule.el (sgml-html-meta-auto-coding-function):
17864 Add support for detecting encoding in HTML5 specified only as
17865 <meta charset="UTF-8">. Implementation just makes http-equiv and
17866 content-type parts from HTML4 encoding string optional. (Bug#9716)
17867
17868 2011-10-18 Glenn Morris <rgm@gnu.org>
17869
17870 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17871
17872 2011-10-18 Chong Yidong <cyd@gnu.org>
17873
17874 * faces.el (cursor): Doc fix.
17875
17876 2011-10-17 Chong Yidong <cyd@gnu.org>
17877
17878 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17879
17880 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17881
17882 * dirtrack.el (dirtrack): Support shell buffers with path
17883 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17884
17885 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17886
17887 * json.el: Bump version to 1.3 and note change in History.
17888 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17889
17890 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17891
17892 * comint.el (comint-insert-input, comint-send-input)
17893 (comint-get-old-input-default, comint-backward-matching-input)
17894 (comint-next-prompt): Use nil instead of `input' for field property of
17895 past user input (bug#114).
17896
17897 * minibuffer.el (completion--replace): Inherit surrounding properties
17898 (bug#114).
17899 (minibuffer-complete-and-exit): Use it.
17900
17901 * comint.el (comint--table-subvert): Quote the all-completions output
17902 (bug#9160).
17903
17904 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17905
17906 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17907
17908 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17909 window on right of selected. (Bug#9350) Reword other window
17910 entries and separate them from frame entries.
17911
17912 2011-10-15 Glenn Morris <rgm@gnu.org>
17913
17914 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17915 Doc fixes.
17916
17917 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17918
17919 * net/network-stream.el (network-stream-open-starttls):
17920 Improve detection of failure due to lack of TLS support.
17921
17922 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17923 putting the input text in front and in bold.
17924
17925 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17926
17927 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17928
17929 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17930 empty buffer.
17931
17932 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17933 unread-command-events rather than pushing yet-another event.
17934
17935 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17936
17937 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17938 the explanation of the possible choices. Make the options passed
17939 to completing-read shorter.
17940
17941 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17942
17943 * textmodes/flyspell.el (flyspell-large-region): Make sure
17944 extended character mode is used if defined (Bug#1339).
17945
17946 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17947
17948 * simple.el (what-cursor-position): Fix the display of the
17949 character info for LRE, LRO, RLE, and RLO characters by appending
17950 an invisible PDF.
17951
17952 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17955 even in case of error; add debug spec; simplify data flow.
17956 (with-timeout-handler): Remove.
17957
17958 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17959
17960 Fix Bug#6019, Bug#9315.
17961
17962 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17963 complete `buffer-file-name', the local file name part could look
17964 remotely (for example on VMS).
17965
17966 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17967 `tramp-run-real-handler'.
17968 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17969 already quoted by '"'.
17970
17971 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17972 Let `file-name-handler-alist' be nil, the local file name part
17973 could look remotely (for example on VMS).
17974
17975 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17976
17977 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17978 from here...
17979 (flyspell-post-command-hook): ...to here.
17980
17981 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17982
17983 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17984 if not needed.
17985 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17986 using completion. Protect against "slow" callers.
17987 Remove the "message hack".
17988
17989 2011-10-11 Juri Linkov <juri@jurta.org>
17990
17991 * isearch.el (isearch-lazy-highlight-word): New variable.
17992 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17993 Use it. (Bug#9727)
17994
17995 2011-10-11 Glenn Morris <rgm@gnu.org>
17996
17997 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17998 like f90-previous-statement does.
17999
18000 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18001
18002 * eshell/eshell.el (eshell-command): History should be saved
18003 only in interactive use, to avoid error.
18004
18005 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18006
18007 * minibuffer.el (completion-file-name-table): Fix last change,
18008 i.e. ignore normal errors but not the other ones.
18009
18010 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18011
18012 * window.el (special-display-buffer-names)
18013 (special-display-regexps): Remove some remnants of earlier
18014 changes from doc-strings.
18015 (quit-windows-on): New function.
18016
18017 * vc/vc.el (vc-revert, vc-rollback):
18018 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18019 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18020 (Bug#6183) (Bug#7074) (Bug#7447)
18021
18022 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18023
18024 * window.el (frame-auto-hide-function): Add version tag.
18025 (Bug#9699)
18026
18027 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18028
18029 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18030 condition.
18031
18032 2011-10-09 Leo Liu <sdl.web@gmail.com>
18033
18034 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18035 (Bug#9701)
18036
18037 2011-10-08 Glenn Morris <rgm@gnu.org>
18038
18039 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18040 before the first code statement zero indent. (Bug#9690)
18041
18042 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18043
18044 * simple.el (count-words-region): Always count in the region.
18045 Report the number of lines and characters too.
18046 (count-words): New command, which counts in the buffer if the
18047 region is inactive, as count-words-region used to.
18048 (count-words--message): New function. Handle plurals.
18049 (count-lines-region): Make it an alias for count-words-region.
18050
18051 * bindings.el (esc-map): Replace count-lines-region with
18052 count-words-region.
18053
18054 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18055
18056 * window.el (window--delete): Delete dedicated frame
18057 unconditionally when argument KILL is non-nil. (Bug#9699)
18058 (switch-to-buffer): Fix doc-string typo.
18059
18060 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18061
18062 * eshell/eshell.el (eshell-command): Avoid using hooks.
18063
18064 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * bindings.el ([M-left],[M-right]): Bind to left-word and
18067 right-word respectively.
18068
18069 2011-10-07 Glenn Morris <rgm@gnu.org>
18070
18071 * cus-start.el (debug-on-quit): Fix custom type.
18072
18073 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18074
18075 * subr.el (define-key-after): Clarify that the function is not
18076 useful for non-menu keymaps.
18077
18078 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18079
18080 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18081
18082 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18083 in current minibuffer (Fix bug with recursive minibuffers).
18084
18085 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18086
18087 * progmodes/gdb-mi.el (gdb): Doc fix.
18088
18089 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18090
18091 * window.el (frame-auto-hide-function): New option replacing
18092 frame-auto-delete. Suggested by Stefan Monnier.
18093 (window--delete): Call frame-auto-hide-function instead of
18094 investigating frame-auto-delete.
18095 (window-point-1, set-window-point-1): New functions.
18096 (window-in-direction, record-window-buffer, window-state-get-1)
18097 (display-buffer-record-window): Use window-point-1 instead of
18098 window-point.
18099 (set-window-buffer-start-and-point): Use set-window-point-1.
18100
18101 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18102
18103 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18104
18105 2011-10-05 Glenn Morris <rgm@gnu.org>
18106
18107 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18108 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18109
18110 2011-10-05 Leo Liu <sdl.web@gmail.com>
18111
18112 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18113 works with buffer object.
18114
18115 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18116
18117 * mpc.el (mpc-tool-bar-map): Add labels.
18118
18119 2011-10-04 Glenn Morris <rgm@gnu.org>
18120
18121 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18122
18123 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18124
18125 * window.el (window--delete): New function.
18126 (frame-auto-delete): Resuscitate option.
18127 (bury-buffer, replace-buffer-in-windows)
18128 (quit-window): Rewrite using window--delete.
18129 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18130 Pass display-buffer-mark-dedicated to window--display-buffer-2
18131 (Bug#9639).
18132
18133 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18134
18135 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18136 returns a list (bug#9554). Add remote file name completion.
18137 * comint.el (comint--table-subvert): Curry and get quote&unquote
18138 functions as arguments.
18139 (comint--complete-file-name-data): Adjust call accordingly.
18140 * pcomplete.el (pcomplete--table-subvert): Remove.
18141 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18142
18143 * minibuffer.el (completion-table-case-fold): Use currying.
18144 (completion--styles-type, completion--cycling-threshold-type):
18145 New constants.
18146 (completion-styles, completion-category-overrides)
18147 (completion-cycle-threshold): Use them.
18148 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18149 completion-table-case-fold.
18150
18151 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18152
18153 * minibuffer.el (completion-category-overrides): Fix type of styles
18154 and add more user friendly tags (bug#9660).
18155
18156 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18159 (mule-input-method-string): New widget.
18160 (default-input-method, language-info-custom-alist): Use it.
18161
18162 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18163
18164 * pcomplete.el: Require comint.
18165 (pcomplete--common-suffix): Remove.
18166 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18167 (pcomplete--table-subvert): Sync with comint--table-subvert.
18168 (pcomplete--entries): Use comint-completion-file-name-table.
18169 * comint.el (comint-unquote-filename): Simplify.
18170 (comint-completion-file-name-table): New function (bug#9616).
18171 (comint--complete-file-name-data): Use it.
18172
18173 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18174 (pcmpl-gnu-tar-buffer): Remove.
18175 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18176 around. Make sure pcomplete-suffix-list is only changed temporarily.
18177 Don't look inside the tar's file if it's too large.
18178
18179 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18180
18181 * cus-edit.el (custom-mode-map):
18182 * epa.el (epa-key-list-mode-map):
18183 * man.el (Man-mode-map):
18184 * startup.el (splash-screen-keymap):
18185 * simple.el (special-mode-map): Use scroll-up-command and
18186 scroll-down-command.
18187
18188 * progmodes/idlw-help.el (idlwave-help-mode-map):
18189 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18190 * net/newst-plainview.el (newsticker-mode-map):
18191 * emulation/ws-mode.el (wordstar-mode-map):
18192 * emulation/vi.el (vi-com-map):
18193 * calc/calc-graph.el (calc-graph-show-dumb):
18194 * term/sun.el (terminal-init-sun):
18195 * term/ns-win.el (global-map):
18196 * progmodes/grep.el (grep-mode-map):
18197 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18198 * mail/rmail.el (rmail-mode-map):
18199 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18200
18201 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18202 custom-safe-themes as special.
18203
18204 2011-10-01 Julien Danjou <julien@danjou.info>
18205
18206 * notifications.el (notifications-notify): Fix docstring.
18207
18208 2011-10-01 Per Starbäck <per@starback.se>
18209
18210 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18211
18212 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18213
18214 * startup.el (command-line-1): Fix last fix by inserting
18215 initial-scratch-message into *scratch* before displaying it.
18216 (Bug#9605) and (Bug#9636)
18217
18218 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18219
18220 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18221 window is hscrolled, move by logical lines. (Bug#9607)
18222 (line-move-visual): Update the doc string to the above effect.
18223
18224 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18225
18226 * window.el (display-buffer-record-window): When WINDOW is the
18227 selected window use `point' instead of `window-point'. (Bug#9626)
18228
18229 * startup.el (command-line-1): Use insert-before-markers when
18230 inserting initial-scratch-message. (Bug#9605)
18231
18232 * help.el (help-window): Remove variable.
18233
18234 2011-09-29 Glenn Morris <rgm@gnu.org>
18235
18236 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18237
18238 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18239
18240 * descr-text.el (describe-char-categories): Accept category
18241 descriptions more than one line long.
18242
18243 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * simple.el (delete-trailing-whitespace): Fix last change.
18246
18247 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18248 Don't confuse "y => 3" as the beginning of a `y' operation.
18249
18250 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18251 object has more than 4 slots (bug#9613).
18252
18253 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18254
18255 * subr.el (with-output-to-temp-buffer):
18256 * net/quickurl.el (quickurl, quickurl-browse-url):
18257 Fix typos in docstrings.
18258
18259 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18260
18261 * minibuffer.el (completion-styles)
18262 (completion-category-overrides): Cross reference each other in doc
18263 strings.
18264
18265 2011-09-27 Glenn Morris <rgm@gnu.org>
18266
18267 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18268 to split-string. (Bug#9606)
18269
18270 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18271
18272 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18273 (bug#9615).
18274
18275 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18276
18277 * emacs-lisp/package.el (list-packages): Fix echo area message.
18278
18279 2011-09-27 Leo Liu <sdl.web@gmail.com>
18280
18281 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18282
18283 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18284
18285 * net/dbus.el (dbus-unregister-object): Don't release services for
18286 registered signals. (Bug#9581)
18287
18288 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18289
18290 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18291 function that picks between cfengine 2 and 3 support
18292 automatically. Update docs accordingly.
18293
18294 2011-09-22 Kenichi Handa <handa@m17n.org>
18295
18296 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18297 ZERO.
18298 (indian-itrans-v5-table-for-tamil): New variable.
18299 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18300
18301 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18302
18303 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18304 that's true if the current command involved collapsing of text.
18305 It's reset to false at the beginning of the next command.
18306 (allout-post-command-business): Move the cursor to the beginning
18307 of entry if the cursor is hidden and collapsing activity just
18308 happened.
18309
18310 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18311
18312 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18313 tracking (Bug#9541).
18314
18315 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18316
18317 * net/newst-reader.el (newsticker-html-renderer)
18318 (newsticker-show-news): Automatically load html rendering package
18319 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18320 because w3m-fill-column is let-bound" and the error "Symbol's value
18321 as variable is void: w3m-fill-column".
18322
18323 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18324
18325 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18326 Release services only if they are defined. (Bug#9581)
18327
18328 2011-09-23 Richard Stallman <rms@gnu.org>
18329
18330 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18331 distinguish start of paragraph from start of its text.
18332
18333 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18334
18335 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18336 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18337 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18338
18339 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18340
18341 * international/mule-diag.el (mule-diag): Insert a newline after
18342 each fontset description.
18343
18344 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18345
18346 * simple.el (delete-trailing-whitespace):
18347 Document last change; simplify.
18348
18349 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18350
18351 * simple.el (delete-trailing-whitespace): Also delete
18352 extra newlines at the end of the buffer.
18353
18354 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18355 (picture-newline): Use forward-line so as to ignore fields.
18356
18357 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18358
18359 * subr.el (with-wrapper-hook): Fix edebug spec.
18360
18361 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18362
18363 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18364 (bug#4538).
18365
18366 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18367
18368 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18369 Fix nasty bug using wrong cached values.
18370
18371 2011-09-23 Alan Mackenzie <acm@muc.de>
18372
18373 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18374
18375 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18376
18377 * window.el (pop-to-buffer): Ensure right window is selected if we
18378 chose another frame.
18379
18380 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18381
18382 * simple.el (what-cursor-position): Use get-char-property-change
18383 and next-single-char-property-change, to be able to show display
18384 properties that come from overlays as well as text properties.
18385
18386 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18387
18388 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18389
18390 * cmuscheme.el (run-scheme, switch-to-scheme):
18391 * cus-edit.el (customize-group, custom-buffer-create)
18392 (customize-browse):
18393 * info.el (info):
18394 * shell.el (shell):
18395 * mail/sendmail.el (mail):
18396 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18397
18398 2011-09-22 Richard Stallman <rms@gnu.org>
18399
18400 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18401 move back only to line beg, don't move back over blank lines.
18402
18403 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18404
18405 * files.el (copy-directory): Set directory attributes only in case
18406 they could be retrieved from the source directory. (Bug#9565)
18407
18408 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18409
18410 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18411 (hs-find-block-beginning, hs-hide-level-recursive):
18412 Ignore strings as well as comments. (Bug#9502)
18413
18414 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18415
18416 * progmodes/sql.el (sql-comint-postgres):
18417 Convert port number to a string. (Bug#9566)
18418
18419 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18420
18421 * window.el (quit-window): Undedicate window when switching to
18422 previous buffer. Reported by Thierry Volpiatto
18423 <thierry.volpiatto@gmail.com>.
18424 (special-display-popup-frame): When popping up a new frame reset
18425 its previous buffers to nil. Simplify code.
18426
18427 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18428
18429 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18430 and process filter, as done also in `shell-command'.
18431
18432 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18433
18434 * window.el (set-window-buffer-start-and-point):
18435 Call set-window-start with NOFORCE argument t.
18436 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18437 (quit-window): Reword doc-string. Handle new format of
18438 quit-restore parameter. Don't delete window if it has a
18439 previous buffer we can show instead of the present one.
18440 (display-buffer-record-window): Rewrite using a new format for
18441 the quit-restore window parameter
18442 (special-display-popup-frame, display-buffer-same-window)
18443 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18444 (display-buffer-pop-up-window, display-buffer-use-some-window):
18445 Adapt symbol passed to display-buffer-record-window.
18446 * help.el (help-window-setup): Handle new format of quit-restore
18447 parameter.
18448
18449 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * faces.el (face-list): Fix docstring (bug#9564).
18452
18453 * window.el (display-buffer--action-function-custom-type):
18454 Don't include internal functions in the Custom interface.
18455
18456 2011-09-20 Juri Linkov <juri@jurta.org>
18457
18458 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18459 (Info-forward-node, Info-backward-node, Info-next-preorder)
18460 (Info-last-preorder): Use it. (Bug#9528)
18461
18462 2011-09-20 Juri Linkov <juri@jurta.org>
18463
18464 * info.el (Info-last-preorder): Visit last menu item only when
18465 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18466
18467 2011-09-20 Julien Danjou <julien@danjou.info>
18468
18469 * password-cache.el (password-cache-remove): Remove entries even if the
18470 value is nil, so that password with a nil value (negative caching) is
18471 possible to invalidate.
18472
18473 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18474
18475 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18476 all whitespace around breakpoint. (Bug#9553)
18477 (f90-find-breakpoint): Only break at whitespace inside a comment.
18478
18479 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18480
18481 * minibuffer.el (completion-file-name-table): Keep track of errors.
18482 (completion-table-with-predicate): Handle the case where pred1 is nil.
18483 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18484
18485 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18486
18487 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18488 (debugger-return-value): Signal an error if the debugging context does
18489 not await any return value.
18490
18491 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18492 * image-mode.el (image-toggle-display-text)
18493 (image-toggle-display-image): Stay away from evil `intangible'.
18494
18495 2011-09-19 Leo Liu <sdl.web@gmail.com>
18496
18497 * replace.el (occur-revert-arguments): Make it permanent-local.
18498 (occur-mode): Don't call font-lock-defontify.
18499
18500 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18501
18502 * net/ldap.el (ldap-search-internal): Don't push empty search
18503 result (Bug#9508).
18504
18505 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18506
18507 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18508
18509 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18510
18511 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18512 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18513
18514 2011-09-18 Juri Linkov <juri@jurta.org>
18515
18516 * buff-menu.el (Buffer-menu-mode-map):
18517 * dired.el (dired-mode-map):
18518 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18519 (lisp-interaction-mode-map):
18520 * emacs-lisp/package.el (package-menu-mode-map):
18521 * epa.el (epa-key-list-mode-map):
18522 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18523 (menu-bar-options-menu):
18524 * outline.el (outline-mode-menu-bar-map):
18525 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18526 * vc/vc-dir.el (vc-dir-menu-map):
18527 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18528 Capitalize non-function content words in menu item strings.
18529
18530 * dired.el (dired-mode-map): Add menu item for
18531 `image-dired-dired-toggle-marked-thumbs'.
18532
18533 2011-09-18 Juri Linkov <juri@jurta.org>
18534
18535 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18536 to `isearch-case-fold-search' and restore its original value
18537 after the `isearch-mode' call.
18538
18539 2011-09-18 Juri Linkov <juri@jurta.org>
18540
18541 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18542 because `zgrep' returns 1 for successful matches (bug#9226).
18543
18544 2011-09-18 Juri Linkov <juri@jurta.org>
18545
18546 * info.el (Info-extract-menu-node-name): Check the second match
18547 for empty string (second test-case of bug#9528).
18548 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18549 intermediate nodes to the history (first test-case of bug#9528).
18550
18551 2011-09-18 Juri Linkov <juri@jurta.org>
18552
18553 * info.el (Info-mode-syntax-table): New variable.
18554 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18555
18556 2011-09-18 Juri Linkov <juri@jurta.org>
18557
18558 * info.el (Info-file-supports-index-cookies):
18559 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18560 outputs one more line for long file names (bug#4142).
18561
18562 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18563
18564 * newcomment.el (comment-normalize-vars): If prompting for
18565 comment-start, set comment-start-skip too (Bug#8424).
18566
18567 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18568
18569 * icomplete.el: Fix previous fix of Bug#5849.
18570 (icomplete-mode): Don't set completion-show-inline-help.
18571 (icomplete-minibuffer-setup): Set completion-show-inline-help
18572 locally during icompletion.
18573
18574 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18575
18576 * woman.el (woman2-process-escapes): Don't delete unrecognized
18577 escapes (Bug#7843).
18578
18579 * files.el (inhibit-first-line-modes-regexps): Add image files.
18580 (hack-local-variables-prop-line): Return nil for malformed
18581 prop-lines (Bug#9044).
18582
18583 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18584
18585 * net/tramp.el (top): Don't require 'shell.
18586 (tramp-methods): Fix docstring.
18587 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18588 Return complete remote file name. Handle "smb" case.
18589 Use `tramp-tmpdir', if defined for the respective method.
18590 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18591
18592 * net/tramp-compat.el (top): Require 'shell.
18593
18594 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18595 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18596 `tramp-current-host'.
18597 (tramp-get-remote-tmpdir): Remove.
18598
18599 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18600 `tramp-tmpdir' entries.
18601 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18602 (tramp-smb-handle-file-attributes): Ignore errors.
18603 (tramp-smb-wait-for-output): Check also for process end.
18604
18605 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18606
18607 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18608 when sending QUIT (bug#9312).
18609
18610 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18611
18612 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18613 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18614 occur-mode-display-occurrence.
18615 (occur-edit-mode): Add usage message.
18616 (occur-cease-edit): New command.
18617 (occur-after-change-function): Use text properties to find the
18618 position of the prefix text.
18619 (occur-engine): Set stickiness of prefix text properties.
18620
18621 2011-09-17 Glenn Morris <rgm@gnu.org>
18622
18623 * progmodes/etags.el (complete-tag):
18624 Fix call to completion-in-region. (Bug#9526)
18625
18626 2011-09-17 Juri Linkov <juri@jurta.org>
18627
18628 * textmodes/ispell.el (ispell-word): Add to the error message
18629 the word, ispell program name and current dictionary (bug#9121).
18630 (ispell-tex-arg-end): Capitalize "error" in the error message.
18631
18632 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18633
18634 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18635 check. (Bug#4251)
18636
18637 2011-09-17 Juri Linkov <juri@jurta.org>
18638
18639 * window.el (window-safe-min-height, window-safe-min-width):
18640 Fix typos (followup to bug#9522).
18641
18642 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18643
18644 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18645
18646 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18647
18648 * simple.el (line-move): If goal-column is set, move by logical
18649 lines, not by display lines. (Bug#971)
18650 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18651 to reflect the above change.
18652
18653 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18654
18655 * image.el (imagemagick-register-types): Use regexp-opt.
18656
18657 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18658
18659 * window.el (display-buffer-base-action): Rename from
18660 display-buffer-default-action. Make default value empty.
18661 (display-buffer-overriding-action): Convert to defvar.
18662 (display-buffer-fallback-action): New var.
18663
18664 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18665
18666 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18667 declaration.
18668 (package--add-to-archive-contents): If there is a duplicate entry
18669 with an older version, remove it.
18670 (package-menu-mark-delete, package-menu-mark-install)
18671 (package-menu-mark-unmark): Make unused args optional.
18672 (package-menu-mark-obsolete-for-deletion):
18673 Use package-menu-get-status instead of a regexp search.
18674 (package-menu-get-status): Use tabulated-list-entry.
18675 (package-menu-mark-upgrades): New command.
18676 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18677 (package-menu-execute): Do installation before deletion.
18678 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18679 instead of checking major-mode.
18680 (package-menu--find-upgrades): New function.
18681
18682 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18683
18684 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18685 passwords in the log buffer.
18686 (smtpmail-process-filter): Update the process marker so that the
18687 "broken by peer" status message is inserted in the right place.
18688
18689 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18690
18691 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18692 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18693 bibtex-completion-at-point-function.
18694 (bibtex-completion-at-point-function): Use them.
18695
18696 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18697
18698 * mpc.el (mpc-constraints-tag-lookup): New function.
18699 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18700 also to browser "album|playlist".
18701
18702 2011-09-14 Juri Linkov <juri@jurta.org>
18703
18704 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18705 (isearch-edit-string): Use length of `isearch-string' when
18706 `isearch-fail-pos' returns nil.
18707 (isearch-message): Remove duplicate code and call
18708 `isearch-fail-pos' with arg `t'.
18709
18710 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18711
18712 * replace.el (occur-mode-goto-occurrence): Don't force using other
18713 window (Bug#9499).
18714
18715 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18716
18717 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18718
18719 * window.el (display-buffer-window): Remove.
18720 (display-buffer-record-window): Use help-setup window parameter
18721 instead of variable display-buffer-window.
18722 (display-buffer-function, special-display-buffer-names)
18723 (special-display-function): Mention help-setup parameter instead
18724 of display-buffer-window in doc-string.
18725 * help.el (help-window-setup): New argument help-window.
18726 Use help-window-setup parameter instead of display-buffer-window.
18727 Reword some messages.
18728 (with-help-window): Pass window used for displaying the buffer
18729 to help-window-setup. Don't set display-buffer-window.
18730
18731 2011-09-13 Glenn Morris <rgm@gnu.org>
18732
18733 * emacs-lisp/debug.el (debugger-make-xrefs):
18734 Preserve point. (Bug#9462)
18735
18736 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18737
18738 * window.el (window-deletable-p): Use next-frame.
18739
18740 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18741
18742 * window.el (window-auto-delete): Remove.
18743 (window-deletable-p): Remove argument FORCE. Don't deal with
18744 dedication and previous buffers.
18745 (switch-to-prev-buffer): Don't delete window.
18746 (delete-windows-on): Delete a window's frame if and only if the
18747 window is dedicated.
18748 (replace-buffer-in-windows): Delete buffer's window or frame if
18749 and only if window is dedicated.
18750 (quit-window): Handle quit-restore as before last change.
18751 (bury-buffer): Delete window only if window-deletable-p returns t.
18752
18753 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18754
18755 * window.el (window-deletable-p): Never delete the last frame on a
18756 given terminal.
18757
18758 2011-09-13 Glenn Morris <rgm@gnu.org>
18759
18760 * help.el (describe-key-briefly): Copy previous standard-output change.
18761
18762 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18763
18764 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18765
18766 2011-09-13 Glenn Morris <rgm@gnu.org>
18767
18768 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18769 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18770
18771 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18772
18773 * dired-aux.el (dired-mark-read-string): Don't return default
18774 value on empty input (Bug#9361).
18775 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18776 Omit initial minibuffer contents.
18777 (dired-do-chmod): Signal an error on empty input.
18778 (dired-mark-read-string): Don't return default on empty input.
18779
18780 * files.el (file-modes-symbolic-to-number): Doc fix.
18781
18782 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18783
18784 * international/mule-cmds.el (ucs-completions): Remove.
18785 (read-char-by-name): Use complete-with-action instead; add metadata.
18786
18787 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18788
18789 * window.el (display-buffer--action-function-custom-type)
18790 (display-buffer--action-custom-type): New vars.
18791 (display-buffer-alist, display-buffer-default-action)
18792 (display-buffer-overriding-action): Add defcustom types.
18793
18794 * frame.el (delete-other-frames): Doc fix (Bug#276).
18795
18796 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18797
18798 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18799
18800 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18801
18802 Change modes that used same-window-* vars to use switch-to-buffer.
18803
18804 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18805 Use switch-to-buffer.
18806
18807 * cus-edit.el (customize-group, custom-buffer-create)
18808 (customize-browse, custom-buffer-create-other-window):
18809 Use switch-to-buffer or switch-to-buffer-other-window.
18810
18811 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18812 (Info-prev, Info-up, Info-speedbar-goto-node)
18813 (info-display-manual): Use switch-to-buffer.
18814 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18815
18816 * mail/sendmail.el (mail): Use switch-to-buffer.
18817 (mail-recover): Use switch-to-buffer-other-window.
18818
18819 * cmuscheme.el (run-scheme, switch-to-scheme):
18820 * ielm.el (ielm):
18821 * shell.el (shell):
18822 * net/rlogin.el (rlogin):
18823 * net/telnet.el (telnet, rsh):
18824 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18825
18826 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18827
18828 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18829
18830 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18831
18832 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18833 so don't mention it (bug#9301).
18834 (dired-sort-toggle-or-edit): Clarify string further.
18835
18836 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18837 match `x', `w32' and `ns', like the manual says (bug#9029).
18838
18839 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18840 (process-kill-buffer-query-function): Mention the buffer name in
18841 the query.
18842
18843 * image-mode.el (image-next-line): The line parameter is mandatory
18844 (bug#9258).
18845
18846 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18847 which can be useful (bug#9301).
18848
18849 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18850
18851 * subr.el (match-string): Mention that the current buffer should
18852 be the same as the search was done in (bug#9282).
18853
18854 * facemenu.el: Disable the remove-* commands if the mark isn't
18855 active (bug#9162).
18856
18857 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18858
18859 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18860 of display-buffer.
18861 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18862
18863 * replace.el (occur-mode-goto-occurrence)
18864 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18865 and display-buffer.
18866
18867 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18868 display-buffer.
18869
18870 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18871 special-display and same-window variables.
18872 (mail-other-window): Use switch-to-buffer-other-window.
18873 (mail-other-frame): USe switch-to-buffer-other-frame.
18874
18875 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18876 Use display-buffer-other-frame.
18877 (gdb-display-gdb-buffer): Use pop-to-buffer.
18878
18879 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18880
18881 * progmodes/python.el: Don't set same-window-buffer-names.
18882
18883 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18884
18885 * window.el (display-buffer-alist): Add *Python*.
18886
18887 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18888
18889 * window.el (display-buffer-alist): Add entry for buffers
18890 previously handled same-window-*.
18891 (display-buffer-alist, display-buffer-default-action)
18892 (display-buffer-overriding-action): Mark as risky.
18893 (display-buffer-alist): Document action function changes.
18894 (display-buffer--same-window-action)
18895 (display-buffer--other-frame-action): New variables.
18896 (switch-to-buffer, display-buffer-other-frame): Use them.
18897 (display-buffer): Rename reuse-frame entry to reusable-frames.
18898 (display-buffer-reuse-selected-window): Function deleted.
18899 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18900 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18901 (display-buffer-special): New function.
18902 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18903 display-buffer-reuse-or-pop-window. Split off special-display
18904 part into display-buffer-special.
18905 (display-buffer-use-some-window): Don't perform any special
18906 pop-up-frames handling.
18907 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18908 (display-buffer--maybe-same-window): Rename from
18909 display-buffer-maybe-same-window.
18910
18911 * info.el: Don't set same-window-regexps.
18912 (info-setup): New function.
18913 (info-other-window, info): Call it.
18914
18915 * cus-edit.el: Don't set same-window-regexps.
18916 (customize-group): New argument.
18917 (customize-group-other-window): Use it.
18918 (customize-face, customize-face-other-window): Likewise.
18919 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18920
18921 * net/rlogin.el:
18922 * net/telnet.el:
18923 * progmodes/gud.el: Don't set same-window-regexps.
18924
18925 * cmuscheme.el:
18926 * ielm.el:
18927 * shell.el:
18928 * mail/sendmail.el:
18929 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18930
18931 2011-09-10 Juri Linkov <juri@jurta.org>
18932
18933 * isearch.el (isearch-edit-string): Remove obsolete mention of
18934 `C-w' (`isearch-yank-word-or-char') from docstring.
18935 (isearch-query-replace): Fix typo in docstring (bug#9466).
18936
18937 2011-09-10 Juri Linkov <juri@jurta.org>
18938
18939 * paren.el (show-paren-function): Don't show escaped parens.
18940 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18941
18942 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18943
18944 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18945 (mm-default-file-encoding): Remove autoload forms, they are
18946 replaced with autoload cookies in mml.el and mm-encode.el.
18947 (mail-add-attachment): New command.
18948 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18949 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18950 the doc string.
18951 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18952
18953 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18954
18955 * simple.el (count-words-region): Use buffer if there's no region
18956 (bug#9429).
18957
18958 2011-09-09 Juri Linkov <juri@jurta.org>
18959
18960 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18961 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18962 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18963
18964 2011-09-09 Alan Mackenzie <acm@muc.de>
18965
18966 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18967 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18968
18969 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18970
18971 Fix for Savannah bug#9392.
18972 * simple.el (mail-encode-mml): New defvar.
18973
18974 * mail/rmail.el (mail-encode-mml): Add a defvar.
18975 (rmail-enable-mime-composing): Default to t.
18976 (rmail-forward): Use MIME method of forwarding only if both
18977 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18978 Set mail-encode-mml non-nil if the MIME method was used.
18979
18980 * mail/sendmail.el (mml-to-mime): Add autoload form.
18981 (mail-encode-mml): Add a defvar.
18982 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18983 to nil.
18984 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18985 message through mml-to-mime, and reset mail-encode-mml to nil.
18986
18987 2011-09-09 Glenn Morris <rgm@gnu.org>
18988
18989 * woman.el (woman-if-body): When processing an .el block,
18990 do not delete the next .el block as well. (Bug#9447)
18991 (woman-special-characters): Add oq, cq, and hy characters.
18992
18993 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18994
18995 * window.el (window-deletable-p): Make sure window is live before
18996 invoking window-prev-buffers.
18997
18998 2011-09-08 Leo Liu <sdl.web@gmail.com>
18999
19000 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19001
19002 2011-09-08 Juri Linkov <juri@jurta.org>
19003
19004 * progmodes/compile.el (compilation-environment): Make it
19005 a defcustom (bug#8340).
19006
19007 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19008
19009 * window.el (frame-auto-delete): Rename to window-auto-delete.
19010 Make it control auto-deletion of windows and/or frames.
19011 (window-deletable-p): New argument FORCE. Rewrite conditions
19012 for deleting window/frame. (Bug#9419)
19013 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19014 Rewrite handling of case when window/frame can be deleted.
19015 (delete-windows-on): Call window-deletable-p with new FORCE
19016 argument t. (Bug#9456)
19017
19018 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19019
19020 * help-mode.el (help-mode): Restore autoload.
19021
19022 2011-09-07 Juri Linkov <juri@jurta.org>
19023
19024 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19025 `compilation-environment'. Set buffer-local
19026 `compilation-environment' to `thisenv' later after (funcall mode).
19027 (Bug#8340)
19028
19029 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19030 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19031 instead of replacing its value. (Bug#8340)
19032
19033 2011-09-07 Juri Linkov <juri@jurta.org>
19034
19035 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19036 based on text properties put by `grep-filter' instead of matching
19037 escape sequences.
19038 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19039 to the value of `grep-error-screen-columns' (bug#9438).
19040
19041 2011-09-07 Juri Linkov <juri@jurta.org>
19042
19043 * simple.el (next-error-highlight, next-error-highlight-no-select):
19044 Doc fix (bug#9432).
19045
19046 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19047
19048 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19049 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19050
19051 2011-09-07 Leo Liu <sdl.web@gmail.com>
19052
19053 * net/rcirc.el (rcirc-mode): Conditionally initialize
19054 rcirc-input-ring.
19055
19056 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19057
19058 * emacs-lisp/find-func.el (find-function-C-source): Only set
19059 find-function-C-source-directory after checking that we found a source
19060 file there (bug#9440).
19061
19062 2011-09-06 Alan Mackenzie <acm@muc.de>
19063
19064 * isearch.el (isearch-other-meta-char): Wherever a key list is
19065 unread, "unread" the prefix arg, too. This fixes bug #8901.
19066
19067 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19068
19069 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19070
19071 2011-09-05 Juri Linkov <juri@jurta.org>
19072
19073 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19074
19075 2011-09-05 Juri Linkov <juri@jurta.org>
19076
19077 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19078 keeping point where processing of grep matches begins, and
19079 continue to delete remaining escape sequences from the same point.
19080 (grep-filter): Make leading zero optional in "0?1;31m" because
19081 git-grep emits "\033[1;31m" escape sequences unlike expected
19082 "\033[01;31m" as GNU Grep does (bug#9408).
19083 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19084
19085 2011-09-05 Juri Linkov <juri@jurta.org>
19086
19087 * subr.el (y-or-n-p): Capitalize "yes".
19088
19089 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19090
19091 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19092 `tramp-cache-unload-hook' where appropriate.
19093 (tramp-methods): Rename `tramp-remote-sh' to
19094 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19095 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19096
19097 * net/tramp-sh.el (top): Don't require 'shell.
19098 (tramp-methods): Add `tramp-remote-shell' and
19099 `tramp-remote-shell-args' entries.
19100 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19101 (tramp-sh-handle-shell-command): Remove.
19102 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19103 Use `tramp-remote-shell'.
19104
19105 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19106
19107 * mail/sendmail.el (sendmail-query-once-function): Delete.
19108 (sendmail-query-once): Save directly to send-mail-function.
19109 Update message-send-mail-function too.
19110
19111 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19112
19113 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19114
19115 * progmodes/python.el (python-mode-map): Use correct function to
19116 start python interpreter from menu-bar (as reported by Geert
19117 Kloosterman).
19118 (inferior-python-mode-map): Fix typo.
19119 (python-shell-map): Remove.
19120
19121 2011-09-03 Deniz Dogan <deniz@dogan.se>
19122
19123 * net/rcirc.el (rcirc-print): Simplify code for
19124 rcirc-scroll-show-maximum-output. There is no need to walk
19125 through all windows to find the right one.
19126
19127 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19128
19129 * help.el (help-return-method): Doc fix.
19130
19131 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19132
19133 * window.el (window-deletable-p): Don't return a non-nil value
19134 when there's a buffer that was shown in the window before.
19135 (Bug#9419)
19136 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19137 Set window's previous buffers to nil.
19138
19139 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19140
19141 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19142 newline before and after the tag line, so it doesn't interfere
19143 with determining the paragraph direction of bidirectional text.
19144
19145 2011-09-03 Leo Liu <sdl.web@gmail.com>
19146
19147 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19148
19149 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19150
19151 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19152 (pop-to-buffer): Change interactive spec. Pass second argument
19153 directly to display-buffer.
19154 (display-buffer): Fix interactive spec. Use functionp to
19155 distinguish between a function and a list of functions.
19156
19157 * abbrev.el (edit-abbrevs):
19158 * arc-mode.el (archive-extract):
19159 * autoinsert.el (auto-insert):
19160 * bookmark.el (bookmark-bmenu-list):
19161 * files.el (find-file):
19162 * view.el (view-buffer):
19163 * progmodes/compile.el (compilation-goto-locus):
19164 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19165
19166 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19167
19168 * window.el (display-buffer-alist): Doc fix.
19169 (display-buffer): Add docstring. Don't treat
19170 display-buffer-default specially.
19171 (display-buffer-reuse-selected-window)
19172 (display-buffer-same-window, display-buffer-maybe-same-window)
19173 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19174 (display-buffer-pop-up-window)
19175 (display-buffer-reuse-or-pop-window)
19176 (display-buffer-use-some-window): New functions.
19177 (display-buffer-default-action): Use them.
19178 (display-buffer-default): Delete.
19179 (pop-to-buffer-1): Fix choice of actions.
19180
19181 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19182
19183 * minibuffer.el (completion--insert-strings): Don't get confused by
19184 completion entries that end with an LF char.
19185
19186 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19187
19188 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19189
19190 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19191
19192 * window.el (display-buffer): Restore interactive spec.
19193 (display-buffer-same-window, display-buffer-other-window):
19194 New functions.
19195 (pop-to-buffer-1): New function. Use the above.
19196 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19197 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19198
19199 * view.el (view-buffer-other-window, view-buffer-other-frame):
19200 Just use pop-to-buffer.
19201
19202 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19203
19204 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19205
19206 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19207
19208 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19209
19210 2011-08-31 Richard Stallman <rms@gnu.org>
19211
19212 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19213 of the separation of rmail-view-buffer from rmail-buffer.
19214 If you say no to "replace original", the decrypt is in the
19215 view buffer. If you say yes, the decrypt goes into the
19216 rmail buffer also.
19217
19218 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19219
19220 * window.el (display-buffer-window): Rewrite doc-string.
19221 (display-buffer-record-window): New function.
19222 (display-buffer-macro-specifiers)
19223 (display-buffer-even-window-sizes, display-buffer-set-height)
19224 (display-buffer-set-width, display-buffer-in-window)
19225 (display-buffer-reuse-window, display-buffer-split-specifiers)
19226 (display-buffer-side-specifiers, display-buffer-split-window-1)
19227 (display-buffer-split-window, display-buffer-split-atom-window)
19228 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19229 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19230 (display-buffer-other-window-means-other-frame)
19231 (display-buffer-normalize-special)
19232 (display-buffer-normalize-default)
19233 (display-buffer-normalize-argument)
19234 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19235 (display-buffer-normalize-specifiers, display-buffer-frame)
19236 (display-buffer-same-window, display-buffer-same-frame)
19237 (display-buffer-other-window)
19238 (display-buffer-same-frame-other-window)
19239 (display-buffer-other-frame, pop-to-buffer-same-window)
19240 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19241 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19242 (switch-to-buffer-same-frame)
19243 (switch-to-buffer-other-window-same-frame)
19244 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19245 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19246 (display-buffer-alist-set): Remove.
19247 (display-buffer-function, special-display-buffer-names)
19248 (special-display-regexps, special-display-function):
19249 In doc-string refer to display-buffer-window and quit-restore
19250 parameter.
19251 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19252 (special-display-frame-alist, special-display-popup-frame)
19253 (same-window-buffer-names, same-window-regexps, same-window-p)
19254 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19255 (split-window-preferred-function, split-height-threshold)
19256 (split-width-threshold, window-splittable-p)
19257 (split-window-sensibly, window--try-to-split-window)
19258 (window--frame-usable-p, even-window-heights)
19259 (window--even-window-heights, window--display-buffer-1)
19260 (window--display-buffer-2, display-buffer-other-frame):
19261 Restore old Emacs 23 code, order and doc-strings where applicable.
19262 (display-buffer-default, display-buffer-assq-regexp): New functions.
19263 (display-buffer-alist): Rewrite doc-string.
19264 (display-buffer-default-action)
19265 (display-buffer-overriding-action): New variables.
19266 (display-buffer, switch-to-buffer): Rewrite.
19267 (pop-to-buffer): Restore Emacs 23 behavior but use
19268 window-normalize-buffer-to-display.
19269 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19270 Restore Emacs 23 behavior but use
19271 window-normalize-buffer-to-switch-to.
19272 (pop-to-buffer-same-window): Rewrite.
19273 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19274 Rewrite using Emacs 23 options.
19275
19276 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19277
19278 * net/tramp.el (tramp-root-regexp): Remove.
19279 (tramp-completion-file-name-regexp-unified)
19280 (tramp-completion-file-name-regexp-separate)
19281 (tramp-completion-file-name-regexp-url): Don't use leading volume
19282 letter on w32 systems. (Bug#5303, Bug#9311)
19283 (tramp-drop-volume-letter): Simplify definition.
19284 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19285
19286 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19289 (bug#9356).
19290
19291 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19292
19293 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19294
19295 2011-08-29 Juri Linkov <juri@jurta.org>
19296
19297 * isearch.el (isearch-done): Don't display message "Mark saved"
19298 when arg `edit' is non-nil to prevent its flicker in the echo area.
19299
19300 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19301
19302 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19303 obsolete packages for deletion.
19304
19305 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19306
19307 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19308 (help-mode): Derive help-mode from special-mode. Don't invoke
19309 view-mode from help-mode.
19310 (help-xref-override-view-map): Remove.
19311 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19312 view-mode is not used anymore.
19313
19314 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19315
19316 * server.el (server-port): Doc fix.
19317
19318 * cus-theme.el (custom-theme-choose-mode): Inherit from
19319 special-mode (Bug#9124).
19320 (custom-theme-choose-mode-map): Add special-mode to parent.
19321
19322 2011-08-28 Alan Mackenzie <acm@muc.de>
19323
19324 * progmodes/cc-fonts.el
19325 (c-make-font-lock-BO-decl-search-function): New function.
19326 (c-basic-matchers-after - "Fontify the clauses after various
19327 keywords"): Extract the three keyword lists for the 3 erroneous
19328 constructs from the list of four, and use the new function above
19329 in place of an old one.
19330
19331 2011-08-28 Deniz Dogan <deniz@dogan.se>
19332
19333 * net/rcirc.el (rcirc-insert-prev-input)
19334 (rcirc-insert-next-input): Remove unused argument.
19335
19336 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19337
19338 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19339
19340 2011-08-27 Alan Mackenzie <acm@muc.de>
19341
19342 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19343 handle function pointer parameters properly.
19344
19345 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19346
19347 * window.el (display-buffer-reuse-window): Fix case where
19348 selected window was reused with non-nil OTHER-WINDOW argument.
19349 (Bug#9381)
19350
19351 2011-08-27 Deniz Dogan <deniz@dogan.se>
19352
19353 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19354 oftc's NickServ messages.
19355
19356 2011-08-27 Glenn Morris <rgm@gnu.org>
19357
19358 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19359
19360 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19361
19362 * emacs-lisp/package.el (package-install): Call package-initialize
19363 if called interactively.
19364
19365 2011-08-26 Leo Liu <sdl.web@gmail.com>
19366
19367 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19368
19369 2011-08-25 Juri Linkov <juri@jurta.org>
19370
19371 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19372 `search-whitespace-regexp' (bug#9364).
19373
19374 2011-08-25 Juri Linkov <juri@jurta.org>
19375
19376 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19377 `regexp-search-ring' to their global values to protect from
19378 updating by `read-from-minibuffer' (bug#9185).
19379
19380 2011-08-25 Juri Linkov <juri@jurta.org>
19381
19382 * textmodes/ispell.el (ispell-command-loop): Add newline
19383 at the end of the "Use option `i'..." line.
19384
19385 2011-08-25 Juri Linkov <juri@jurta.org>
19386
19387 * battery.el (display-battery-mode): If `battery-status-function'
19388 or `battery-mode-line-format' is nil, display the message and set
19389 `display-battery-mode' to nil (bug#9363).
19390
19391 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19392
19393 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19394 bidi-string-mark-left-to-right; they are unnecessary now.
19395
19396 2011-08-25 Deniz Dogan <deniz@dogan.se>
19397
19398 * net/quickurl.el: Documentation typo fixes.
19399
19400 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19401
19402 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19403
19404 2011-08-25 Glenn Morris <rgm@gnu.org>
19405
19406 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19407
19408 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19409 (smtpmail-via-smtp): Handle nil response from smtp.
19410
19411 2011-08-24 Juri Linkov <juri@jurta.org>
19412
19413 * proced.el (proced-marked): Inherit from `error' instead of
19414 `font-lock-warning-face'.
19415
19416 * ibuffer.el (ibuffer-marked-face): Change default face from
19417 `font-lock-warning-face' to `warning'.
19418 (ibuffer-deletion-face): Change default face from
19419 `font-lock-type-face' to `error'.
19420
19421 * battery.el (battery-update): Use the face `error' instead of
19422 `font-lock-warning-face' (bug#6117).
19423
19424 2011-08-24 Juri Linkov <juri@jurta.org>
19425
19426 * faces.el (success): Change face color from "Green3" to
19427 "ForestGreen" on light background (bug#9353).
19428
19429 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19430
19431 * window.el (quit-window): Rename from quit-restore-window.
19432 Use same arglist as old quit-window.
19433 (frame-auto-delete): Doc fix.
19434
19435 * view.el (view-mode-exit): Use quit-window.
19436
19437 2011-08-24 Juri Linkov <juri@jurta.org>
19438
19439 * isearch.el (isearch-ring-adjust1): Start visiting previous
19440 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19441 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19442 for empty search string (when the last search string is reused
19443 automatically) to adjust the isearch ring to the last element and
19444 prepare the correct index for further M-p commands (bug#9185).
19445
19446 2011-08-24 Kenichi Handa <handa@m17n.org>
19447
19448 * international/ucs-normalize.el: If decomposition property of
19449 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19450 nil.
19451 (nfd, nfkd): Likewise.
19452
19453 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19454
19455 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19456 from process filters aren't reliably transmitted to the surrounding
19457 accept-process-output.
19458 (mpc-proc-check): New function.
19459 (mpc-proc-sync): Use it (bug#8293)
19460
19461 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19464 Add compatibility functions (bug#9313).
19465
19466 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19467
19468 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19469
19470 * international/uni-bidi.el: Regenerate.
19471
19472 2011-08-23 Kenichi Handa <handa@m17n.org>
19473
19474 * international/charprop.el:
19475 * international/uni-bidi.el:
19476 * international/uni-category.el:
19477 * international/uni-combining.el:
19478 * international/uni-comment.el:
19479 * international/uni-decimal.el:
19480 * international/uni-decomposition.el:
19481 * international/uni-digit.el:
19482 * international/uni-lowercase.el:
19483 * international/uni-mirrored.el:
19484 * international/uni-name.el:
19485 * international/uni-numeric.el:
19486 * international/uni-old-name.el:
19487 * international/uni-titlecase.el:
19488 * international/uni-uppercase.el: Regenerate.
19489
19490 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19491
19492 * help.el (help-window-setup): Fix message displayed when other
19493 window is reused. (Bug#9341)
19494
19495 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19496
19497 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19498 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19499
19500 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19501 Mark obsolete.
19502 * shell.el (shell-parse-pcomplete-arguments): New function.
19503 (shell-completion-vars): Use it instead (bug#9160).
19504
19505 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19506
19507 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19508 strings and comments (bug#9333).
19509
19510 * emacs-lisp/debug.el (debug-arglist): New function.
19511 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19512 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19513
19514 2011-08-22 Juri Linkov <juri@jurta.org>
19515
19516 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19517 Revert regexp that highlights output switches to its old
19518 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19519
19520 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19521 to check for empty output (bug#9226).
19522
19523 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19524
19525 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19526 symbol-constituent as the default, as that stops font-lock from
19527 working properly (Bug#8843).
19528
19529 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19530
19531 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19532 `coding-system-for-*' around the process open call to avoid
19533 auth-source side effects.
19534 (smtpmail-try-auth-methods): Expand the secret password.
19535 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19536 probe hangs.
19537
19538 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19539
19540 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19541
19542 * emacs-lisp/find-func.el (find-function-noselect): New arg
19543 lisp-only.
19544
19545 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19546 signal an error for built-in functions (Bug#6664).
19547
19548 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19549
19550 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19551 (smtpmail-try-auth-methods): Use it.
19552
19553 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19554
19555 * font-lock.el (font-lock-fontify-region)
19556 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19557 (font-lock-default-unfontify-buffer)
19558 (font-lock-default-fontify-region)
19559 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19560
19561 * progmodes/compile.el (compilation-error-properties):
19562 Fix confusion between file struct and message struct (Bug#9319).
19563 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19564 `ant' regexp.
19565
19566 * net/browse-url.el (browse-url-firefox): Don't call
19567 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19568
19569 2011-08-20 Glenn Morris <rgm@gnu.org>
19570
19571 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19572
19573 * tutorial.el (tutorial--default-keys): Update some default bindings.
19574
19575 * files.el (hack-local-variables): Fully ignore case for "mode:".
19576
19577 2011-08-20 Alan Mackenzie <acm@muc.de>
19578
19579 Resolve invalid use of a regexp in regexp-opt.
19580
19581 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19582 detection for a java annotation.
19583
19584 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19585 detection for a java annotation.
19586
19587 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19588 handling for java.
19589 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19590
19591 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19592
19593 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19594 (Bug#9274).
19595
19596 2011-08-20 Alan Mackenzie <acm@muc.de>
19597
19598 Fontify CPP expressions correctly when starting in the middle of
19599 such a construct. Mainly for when jit-lock etc. starts a chunk
19600 here.
19601
19602 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19603 variable.
19604 (c-make-font-lock-search-form): New function, extracted from
19605 c-make-font-lock-search-function.
19606 (c-make-font-lock-search-function): Use the above function.
19607 (c-make-font-lock-context-search-function): New function.
19608 (c-cpp-matchers): Enhance the preprocessor expression case with
19609 the above function
19610 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19611 which takes an expression.
19612
19613 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19614
19615 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19616
19617 * window.el (display-buffer-reuse-window)
19618 (display-buffer-pop-up-window): Don't reuse or split a side
19619 window.
19620
19621 2011-08-19 Glenn Morris <rgm@gnu.org>
19622
19623 * files.el (hack-local-variables-prop-line, hack-local-variables):
19624 Downcase "Mode:". (Bug#9331)
19625
19626 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19627
19628 * international/characters.el: Add L and R categories.
19629
19630 * subr.el (bidi-string-mark-left-to-right): Rename from
19631 string-mark-left-to-right. Use category search.
19632
19633 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19634
19635 2011-08-18 Juri Linkov <juri@jurta.org>
19636
19637 * faces.el (error, warning, success): New faces with definitions
19638 copied from old default values of `font-lock-warning-face',
19639 `compilation-warning', `compilation-info' (bug#6117).
19640
19641 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19642
19643 * progmodes/compile.el (compilation-error): Inherit from `error'.
19644 (compilation-warning): Inherit from `warning'.
19645 (compilation-info): Inherit from `success'.
19646
19647 * dired.el (dired-marked): Inherit from `warning'.
19648 (dired-flagged): Inherit from `error'.
19649
19650 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19651
19652 * mail/smtpmail.el (auth-source): Require to avoid problems with
19653 binding variables (bug#9298). Also clean up some unused
19654 autoloads.
19655
19656 * net/network-stream.el (network-stream-open-starttls):
19657 Support using starttls.el without using gnutls-cli.
19658
19659 2011-08-17 Juri Linkov <juri@jurta.org>
19660
19661 * progmodes/grep.el (rgrep): Handle the case when
19662 `grep-find-command' is a cons cell (bug#9278).
19663
19664 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19665
19666 * window.el (display-buffer-pop-up-frame): Run frame creation
19667 function with BUFFER current (as special-display-popup-frame
19668 does). Reported by Drew Adams.
19669
19670 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19671
19672 * epa-mail.el: Simplify GnuPG group expansion using
19673 epg-expand-group.
19674 (epa-mail-group-alist, epa-mail-group-modtime)
19675 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19676 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19677 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19678 Remove.
19679
19680 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19681
19682 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19683
19684 2011-08-16 Alan Mackenzie <acm@muc.de>
19685
19686 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19687 Correct, to avoid the inside of macros.
19688
19689 2011-08-16 Richard Stallman <rms@gnu.org>
19690
19691 * epa-mail.el: Handle GnuPG group definitions.
19692 (epa-mail-group-alist, epa-mail-group-modtime)
19693 (epa-mail-gnupg-conf-file): New variables.
19694 (epa-mail-parse-groups, epa-mail-sync-groups)
19695 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19696 (epa-mail-expand-recipients): New functions.
19697 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19698
19699 * mail/rmail.el (rmail-epa-decrypt): New command.
19700
19701 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19702 Don't bind buffer-read-only, just inhibit-read-only.
19703 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19704 (epa-decrypt-armor-in-region): Make error message clearer.
19705
19706 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19707
19708 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19709 and "a2b" to "ab" for `prefix'.
19710
19711 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19712
19713 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19714 filter groups.
19715 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19716 Fourquet (Bug#8804).
19717
19718 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19719
19720 * startup.el (argi): Declare as global variable (bug#9275).
19721
19722 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19723
19724 * subr.el (string-mark-left-to-right): Search the entire string
19725 for RTL script, not just the terminating character. Doc fix.
19726
19727 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19728
19729 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19730 New function.
19731 (js--regexp-literal, js-syntax-propertize-function): Remove.
19732 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19733 (js-mode-map): Don't rebind electric keys.
19734 (js-insert-and-indent): Remove.
19735 (js-mode): Setup electric-layout and electric-indent instead.
19736
19737 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19738
19739 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19740
19741 * epa.el (epa-progress-callback-function): Fix the logic of
19742 displaying progress.
19743 * epa-file.el (epa-file-insert-file-contents): Make progress
19744 display more user-friendly.
19745 (epa-file-write-region): Ditto.
19746
19747 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19748
19749 * subr.el (string-mark-left-to-right): New function.
19750
19751 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19752 Use string-mark-left-to-right.
19753 (list-buffers-noselect): Caller changed.
19754
19755 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19756 Use string-mark-left-to-right.
19757 (tabulated-list-print): Recenter after moving point.
19758
19759 2011-08-10 Juri Linkov <juri@jurta.org>
19760
19761 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19762 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19763 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19764
19765 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19766
19767 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19768 (Bug#7554).
19769
19770 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19771
19772 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19773 character. (Bug#6594)
19774
19775 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19776
19777 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19778 (image-dired--with-db-file): New macro.
19779 (image-dired-write-tags, image-dired-remove-tag)
19780 (image-dired-create-gallery-lists, image-dired-write-comments)
19781 (image-dired-get-comment, image-dired-mark-tagged-files)
19782 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19783 (image-dired-gallery-generate): Use insert-file-contents.
19784
19785 * time.el (display-time-world-list, display-time-world-display):
19786 * time-stamp.el (time-stamp-string):
19787 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19788 set-time-zone-rule (Bug#7337).
19789
19790 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19791
19792 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19793 (epg-error-to-string, epg-errors-to-string): New function.
19794 (epg-wait-for-completion): Reverse errors list.
19795 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19796 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19797 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19798 (epg-sign-keys, epg-generate-key-from-file)
19799 (epg-generate-key-from-string): Format errors by using
19800 epg-errors-to-string (bug#9255).
19801 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19802
19803 2011-08-07 Juri Linkov <juri@jurta.org>
19804
19805 * faces.el (list-faces-display): Remove extra angle bracket
19806 from `help-mode-map'.
19807
19808 * info.el (Info-history-toc-nodes): Doc fix.
19809
19810 * longlines.el (longlines-mode): Doc fix.
19811
19812 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19813
19814 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19815 of statements and in a few more cases (bug#9183).
19816
19817 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19818 New functions.
19819 (cl-transform-lambda): Use them (bug#9239).
19820
19821 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19822
19823 * window.el (display-buffer-same-window)
19824 (display-buffer-same-frame, display-buffer-other-window)
19825 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19826 (pop-to-buffer-other-window)
19827 (pop-to-buffer-same-frame-other-window)
19828 (pop-to-buffer-other-frame): Make them defuns.
19829 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19830
19831 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19832
19833 * subr.el (make-composed-keymap): Move from C. Change calling
19834 convention, and improve docstring to bring attention to a subtle point.
19835 * minibuffer.el (completing-read-default): Adjust accordingly.
19836
19837 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19838
19839 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19840 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19841
19842 * net/trampver.el: Update release number.
19843
19844 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19847 "in" (bug#9190).
19848
19849 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19850
19851 * mail/sendmail.el (sendmail-query-once): Restore the current
19852 buffer after querying (bug#9074).
19853
19854 * dired.el (dired-flagged): Use different faces for marked and
19855 flagged files (bug#6117).
19856
19857 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19858 (bug#4433).
19859
19860 * ido.el (ido-mode): Switch off the message if called
19861 non-interactively.
19862
19863 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19864 before 587, since it appears that that's more likely to work for
19865 more people.
19866
19867 * cus-edit.el (custom-file): When running under emacs -q, always
19868 refuse to save the customizations, even if the .emacs file doesn't
19869 exist.
19870
19871 * info.el: Remove the `Info-beginning-of-buffer' function
19872 (bug#8325).
19873
19874 * net/network-stream.el (network-stream-open-starttls):
19875 Use `starttls-available-p' to see whether starttls.el can be used.
19876
19877 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19878
19879 * window.el (display-buffer-in-window): Don't set dedicated status
19880 of window here (Bug#9215).
19881 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19882 (display-buffer-pop-up-side-window)
19883 (display-buffer-in-side-window): Set dedicated status of window here.
19884
19885 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19888 before binding generated-autoload-file.
19889
19890 2011-08-01 Deniz Dogan <deniz@dogan.se>
19891
19892 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19893
19894 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19895
19896 Sync with Tramp 2.2.2.
19897
19898 * net/trampver.el: Update release number.
19899
19900 2011-07-30 Juri Linkov <juri@jurta.org>
19901
19902 * dired-aux.el (dired-touch-initial): Remove function.
19903 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19904 current time, and `default' to the last modification time of the
19905 current marked file (bug#6887).
19906
19907 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19908
19909 * simple.el (goto-line): Use string-to-number to provide a
19910 numeric argument to read-number (bug#9163).
19911
19912 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19913
19914 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19915 connection process, it could be nil.
19916
19917 2011-07-27 Leo Liu <sdl.web@gmail.com>
19918
19919 Simplify url handling in rcirc-mode.
19920
19921 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19922 (rcirc-browse-url-at-mouse): Remove.
19923 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19924
19925 2011-07-26 Alan Mackenzie <acm@muc.de>
19926
19927 Fontify bitfield declarations properly.
19928
19929 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19930 (c-symbol-chars): Now exported as a lang variable.
19931 (c-not-primitive-type-keywords): New lang variable.
19932
19933 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19934 QT keyword "more" to prevent "more slots: ...." being spuriously
19935 parsed as a bitfield declaration.
19936
19937 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19938 Refactor and enhance to handle bitfield declarations.
19939 (c-punctuation-in): New function.
19940 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19941 declarations properly.
19942
19943 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19944
19945 * calendar/icalendar.el (icalendar--all-events): Take care of
19946 multiple vcalendars in a single file.
19947 (icalendar--convert-float-to-ical): Checkdoc fixes.
19948
19949 2011-07-25 Deniz Dogan <deniz@dogan.se>
19950
19951 * image.el (insert-image): Clarifying docstring.
19952
19953 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19954
19955 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19956 `tramp-send-command-and-check' if there is no error.
19957 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19958
19959 2011-07-22 Alan Mackenzie <acm@muc.de>
19960
19961 Prevent cc-langs.elc being loaded at run time.
19962
19963 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19964 cc-langs.
19965
19966 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19967 "(require 'cc-langs)". Quote a form so it will evaluate at
19968 (cc-mode's) compilation time.
19969
19970 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19971
19972 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19973 loading. (Bug#9114)
19974
19975 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19976
19977 * window.el (display-buffer-pop-up-window)
19978 (display-buffer-pop-up-side-window)
19979 (display-buffer-in-side-window): Call display-buffer-set-height
19980 and display-buffer-set-width after setting the new window's
19981 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19982
19983 2011-07-20 Sam Steingold <sds@gnu.org>
19984
19985 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19986 (etags-tags-included-tables): Call `convert-standard-filename' on
19987 the file names contained in TAGS so that windows Emacs can handle
19988 TAGS files created by cygwin ctags.
19989
19990 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19991
19992 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19993 which apparently didn't work.
19994
19995 2011-07-19 Roland Winkler <winkler@gnu.org>
19996
19997 * proced.el (proced-send-signal): For *Marked Processes* buffer
19998 put point at beginning of buffer.
19999
20000 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20001
20002 * proced.el (proced-format): Make header lines align with the text
20003 (bug#1779).
20004
20005 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20006
20007 * view.el (view-buffer): Allow running in `special' modes if we're
20008 visiting a file (bug#8615).
20009
20010 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20011
20012 * window.el (display-buffer-alist-of-strings-p)
20013 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20014 New functions.
20015 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20016 more accurately.
20017
20018 2011-07-18 Alan Mackenzie <acm@muc.de>
20019
20020 Fontify declarators properly when, e.g., a jit-lock chunk begins
20021 inside a declaration.
20022
20023 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20024
20025 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20026 New function.
20027 (c-complex-decl-matchers): Insert reference to
20028 c-font-lock-enclosing-decls.
20029
20030 * progmodes/cc-engine.el (c-backward-single-comment):
20031 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20032 to nil around calls to (forward-comment -1).
20033
20034 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20035
20036 * image.el (put-image): Doc typo fix.
20037
20038 * progmodes/etags.el (tags-search): Doc typo fix.
20039
20040 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20041 password if we get errors 550 to 554.
20042
20043 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20044
20045 * net/gnutls.el (gnutls-log-level): Remove.
20046
20047 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20048 indentation character (bug#6380).
20049
20050 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20051
20052 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20053 to clarify what the problem is (bug#4291).
20054
20055 * simple.el (current-kill): Clarify what
20056 `interprogram-paste-function' does (bug#7500).
20057 (auto-fill-mode): Document `auto-fill-function' in relation to
20058 `auto-fill-mode' (bug#2470).
20059
20060 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20061
20062 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20063 method if slot is read-only (bug#9035).
20064
20065 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20066
20067 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20068 * window.el (pop-to-buffer): Select window used even if it was
20069 selected before, see discussion of (Bug#8615), (Bug#6954).
20070 Pass argument NORECORD on to select-frame-set-input-focus.
20071
20072 2011-07-15 Glenn Morris <rgm@gnu.org>
20073
20074 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20075 Respect help-form.
20076
20077 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20078
20079 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20080 (gnutls-negotiate): Use it.
20081
20082 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20083
20084 * net/gnutls.el (gnutls-negotiate):
20085 Upcase `gnutls-algorithm-priority'.
20086
20087 2011-07-15 Glenn Morris <rgm@gnu.org>
20088
20089 * jka-compr.el (jka-compr-verbose): Move from here...
20090 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20091 Add missing :version tag.
20092 * info.el: No need to require jka-compr when compiling.
20093
20094 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20095
20096 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20097 (gnutls-negotiate): Use it.
20098
20099 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20100
20101 * info.el (Info-beginning-of-buffer): New command.
20102 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20103 announcing `b' as the key (bug#8325).
20104 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20105
20106 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20107
20108 * international/mule-cmds.el
20109 (describe-specified-language-support): Make the error message
20110 clearer (bug#8905).
20111
20112 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20113
20114 * isearch.el (isearch-barrier): Add a doc string, since it's
20115 mentioned in a function doc string (bug#8678).
20116
20117 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20118
20119 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20120 buffer argument (Bug#9083) and self-identifying label argument.
20121
20122 2011-07-15 Glenn Morris <rgm@gnu.org>
20123
20124 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20125
20126 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20127
20128 * man.el (Man-fontify-manpage): Fix message when formatting the
20129 man page (bug#7929).
20130
20131 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20132
20133 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20134 argument LRM; if non-nil, append an invisible LRM character to the
20135 buffer name.
20136 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20137 last argument non-nil, when formatting buffer names.
20138 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20139 paragraph direction.
20140
20141 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20142
20143 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20144 the man page name (bug#7929).
20145
20146 * image.el (put-image): Mention the `put-image' overlay property
20147 (bug#7834).
20148
20149 * scroll-bar.el (set-scroll-bar-mode): Mention that
20150 `scroll-bar-mode' lists the values (bug#7772).
20151
20152 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20153 command (bug#7729).
20154
20155 * rect.el (apply-on-rectangle): Return the point after the last
20156 operation.
20157 (string-rectangle): Go to the point after the last operation
20158 (bug#7522).
20159
20160 * printing.el (pr-toggle-region): Clarify the documentation
20161 slightly (bug#7493).
20162
20163 * time.el (display-time-update):
20164 Allow `display-time-mail-function' to return nil (bug#7158).
20165 Fix suggested by Detlev Zundel.
20166
20167 * vc/diff.el (diff): Clarify the order the file names are read
20168 (bug#7111).
20169
20170 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20171 the doc string (bug#7015).
20172
20173 * font-lock.el (font-lock-maximum-decoration): Mention what
20174 numeric levels mean (bug#6935).
20175
20176 * startup.el (initial-buffer-choice): Don't mention the `none'
20177 selection, which is against policy.
20178
20179 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20180
20181 * window.el (display-buffer-normalize-special):
20182 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20183
20184 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20185
20186 * subr.el (version<, version<=, version=): Mention "-CVS" and
20187 "-12345" alpha version numbers.
20188
20189 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20190
20191 * bindings.el: Add advertised binding for set-mark-command
20192 (Bug#5772).
20193
20194 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20195
20196 * bindings.el (mode-line-other-buffer):
20197 * bookmark.el (bookmark-bmenu-2-window):
20198 * bs.el (bs-cycle-next, bs-cycle-previous):
20199 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20200 switch-to-buffer.
20201
20202 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20203 Delete.
20204
20205 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20206
20207 * follow.el (follow-debug-message, follow-redisplay):
20208 * jka-cmpr-hook.el (with-auto-compression-mode):
20209 Fix typos in docstrings.
20210
20211 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20212
20213 * subr.el (with-silent-modifications): Clarify somewhat what the
20214 macro inhibits (bug#6525).
20215
20216 * simple.el (eval-expression): Note what it does if called
20217 interactively (bug#6495).
20218
20219 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20220
20221 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20222 Use pop-to-buffer buffer-or-name if it is nil.
20223
20224 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20225 Remove switch-to-buffer.
20226
20227 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20228
20229 * files.el (make-directory): Clarify that an error will be raised
20230 if there's an error (bug#6397).
20231
20232 * startup.el (initial-buffer-choice): Add `none' as a choice
20233 (bug#6234).
20234
20235 * subr.el (add-hook): Clarify section about buffer-local hooks
20236 (bug#6218).
20237
20238 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20239
20240 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20241
20242 * tabify.el (untabify): Preserve the current column so that point
20243 doesn't move (bug#6032).
20244
20245 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20246
20247 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20248 Rewrite to avoid awkward possessive "s" (bug#5986).
20249
20250 2011-07-13 Glenn Morris <rgm@gnu.org>
20251
20252 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20253 (dired-insert-directory): Give a message the first time
20254 if ls is found not to support --dired.
20255
20256 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20257
20258 * simple.el (toggle-truncate-lines): Clarify what is toggled
20259 (bug#5580). Text by Drew Adams.
20260
20261 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20262
20263 * simple.el (blink-matching-open): Make the error message from the
20264 last change less verbose.
20265
20266 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20267
20268 * font-lock.el (font-lock-comment-face): Use the high contrast
20269 "yellow" color for font-lock-comment-face on low color terminals
20270 using a dark background color (bug#4221).
20271
20272 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20273
20274 * dired.el (dired-insert-set-properties): Make the doc string
20275 reflect what it does now (bug#5325).
20276
20277 * simple.el (blink-matching-open): Say that we were unable to find
20278 the match within the limit, if we're limited (bug#5122).
20279
20280 * international/mule-cmds.el (prefer-coding-system): Add an
20281 example (bug#4869).
20282
20283 * progmodes/etags.el (tags-search): Document `file-list-form'
20284 (bug#4731).
20285
20286 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20287
20288 * net/browse-url.el (browse-url-default-browser)
20289 (browse-url-browser-function): Make the default browser choice a
20290 bit more logical (bug#4300). Also clean up the doc string.
20291
20292 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20293
20294 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20295 binary endings (bug#4440).
20296
20297 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20298
20299 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20300 which can be pretty annoying (bug#8971).
20301
20302 * jka-compr.el (jka-compr-verbose): New variable, and use
20303 throughout (bug#8971).
20304
20305 * info.el (Info-find-file): Fall back on the installation
20306 directory if we can't find the info node anywhere else.
20307
20308 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20309
20310 * vc/vc.el (vc-revert-file):
20311 Don't set file time-stamp in the past. (Bug#5181)
20312
20313 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20314
20315 * files.el (after-find-file): Give a better error message when
20316 trying to find a symlink that points to a file that doesn't exist
20317 (bug#4398).
20318
20319 * progmodes/cc-vars.el: Remove (probably) misleading comment
20320 (bug#4396).
20321
20322 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20323
20324 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20325
20326 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20327
20328 * mouse-sel.el: Hack restoring functionality, while keeping
20329 compatibility with 2010-07-03 changes to mouse selection.
20330 (mouse-sel-primary-overlay): New var.
20331 (mouse-sel-selection-alist): Use it.
20332 (mouse-sel-mode): Doc fix; remove points that are default features
20333 of mouse.el.
20334
20335 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20336
20337 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20338 Fix previous fix (bug#2490).
20339
20340 2011-07-12 Roland Winkler <winkler@gnu.org>
20341
20342 * textmodes/bibtex.el (bibtex-initialize):
20343 Use pop-to-buffer-same-window.
20344 (bibtex-search-entries): Fix interactive call.
20345
20346 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20347
20348 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20349 Fontise bytecomp Error lines more correctly (bug#2490).
20350 Fix suggested by Johan Bockgård.
20351
20352 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20353
20354 * dired-x.el (dired-guess-default): Use `delete-dups'.
20355
20356 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20357
20358 * dired.el (dired-mark-prompt):
20359 * dired-aux.el (dired-read-shell-command): Doc fix.
20360
20361 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20362
20363 * mail/sendmail.el (sendmail-query-once):
20364 Use `customize-save-variable' unconditionally, now that it works under
20365 emacs -Q.
20366
20367 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20368
20369 * cus-edit.el (custom-file): Take an optional no-error variable.
20370 (customize-save-variable): Set the variable, and give a warning if
20371 running under "emacs -q".
20372
20373 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20374
20375 * loadhist.el (unload-feature-special-hooks):
20376 Add `auto-coding-functions', `fill-nobreak-predicate' and
20377 `find-directory-functions' (bug#5327).
20378
20379 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380
20381 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20382
20383 * cus-edit.el (custom-guess-name-alist): -alist variables should
20384 use the `alist' type (bug#3120). Suggested by Drew Adams.
20385
20386 * printing.el: Add documentation to all the `pr-toggle-' commands.
20387
20388 2011-07-11 Leo Liu <sdl.web@gmail.com>
20389
20390 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20391 backends where it makes sense (bug#2623).
20392
20393 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20394
20395 * dired-x.el (dired-guess-default): Remove duplicate shell command
20396 entries (bug#2028).
20397 (dired-guess-default): Fix grammar in doc string (bug#2028).
20398 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20399
20400 * subr.el (remove-duplicates): New conveniency function.
20401
20402 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20403
20404 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20405 (bug#1526).
20406
20407 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20408
20409 * window.el (display-buffer-normalize-default): Don't invert
20410 meaning of even-window-heights. Reported by Eli Zaretskii
20411 <eliz@gnu.org>.
20412
20413 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20414
20415 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20416
20417 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20418
20419 * window.el (display-buffer): Fix arguments to
20420 display-buffer-reuse-window in last change.
20421
20422 * faces.el (link): Use a less saturated blue on light backgrounds.
20423
20424 * startup.el (fancy-startup-text, fancy-about-text)
20425 (fancy-startup-tail): Use font-lock faces, for background safety.
20426
20427 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20428
20429 * emulation/viper-cmd.el (viper-change-state-to-vi):
20430 Limit triggering of abbrev expansion (Bug#9038).
20431
20432 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20433
20434 * window.el (display-buffer-default-specifiers): Remove.
20435 (display-buffer-macro-specifiers): Remove default specifiers.
20436 (display-buffer-alist): Default to nil.
20437 (display-buffer-reuse-window): New optional argument other-window.
20438 (display-buffer-pop-up-window): Allow splitting internal
20439 windows. Check whether a live window was created.
20440 (display-buffer-other-window-means-other-frame)
20441 (display-buffer-normalize-arguments): Rename to
20442 display-buffer-normalize-argument and rewrite. Set the
20443 other-window specifier.
20444 (display-buffer-normalize-special): New function.
20445 (display-buffer-normalize-options): Rename to
20446 display-buffer-normalize-default and rewrite.
20447 (display-buffer-normalize-options-inhibit): Remove.
20448 (display-buffer-normalize-specifiers): Rewrite.
20449 (display-buffer): Process other-window specifier and call
20450 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20451 more faithfully.
20452 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20453 (display-buffer-alist-set): Don't handle 'unset default values.
20454 (display-buffer-in-window, display-buffer-alist-set):
20455 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20456 <tassilo@member.fsf.org>.
20457
20458 2011-07-09 Leo Liu <sdl.web@gmail.com>
20459
20460 * register.el (insert-register): Restore accidental change on
20461 2011-06-26. (Bug#9028)
20462
20463 2011-07-09 Glenn Morris <rgm@gnu.org>
20464
20465 * subr.el (remq): Handle the empty list. (Bug#9024)
20466
20467 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20468
20469 * mail/sendmail.el (send-mail-function): No longer delay custom
20470 initialization.
20471 * custom.el (custom-initialize-delay): Doc fix.
20472
20473 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20474
20475 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20476
20477 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20478
20479 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20480 human-friendly prompt.
20481
20482 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20483
20484 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20485 provided by a particular plugin.
20486
20487 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20488
20489 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20490 save customizations (with "emacs -Q"), just set the variable
20491 instead of erroring out.
20492
20493 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20494
20495 2011-07-08 Juri Linkov <juri@jurta.org>
20496
20497 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20498 (archive-zip-update-case): Use 7z if found by `executable-find'.
20499 The order of searching the available programs is the same as in
20500 `archive-zip-extract' (bug#8968).
20501
20502 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20503
20504 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20505 (menu-bar-options-menu): Tweak descriptions.
20506
20507 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20508
20509 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20510 menu items into verb phrases (bug#1421). Also refill to fit under
20511 80 columns.
20512
20513 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20514
20515 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20516 (Info-read-node-name): Doc fix (Bug#1084).
20517
20518 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20519 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20520 (end-of-sexp, beginning-of-sexp)
20521 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20522 (forward-symbol, forward-same-syntax, word-at-point)
20523 (sentence-at-point): Doc fix (Bug#1144).
20524
20525 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20526
20527 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20528 should cover it (bug#1281).
20529
20530 * cus-edit.el (custom-show): Mark as obsolete.
20531
20532 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20533 negotiation fails, then possibly try again with a non-encrypted
20534 connection (bug#9017).
20535
20536 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20537 be used.
20538
20539 2011-07-07 Richard Stallman <rms@gnu.org>
20540
20541 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20542 property, and handle its changed format.
20543 Look for the correct line number.
20544 Use file's line contents (but not past first =) to find
20545 correct line in message.
20546
20547 2011-07-07 Kenichi Handa <handa@m17n.org>
20548
20549 * international/characters.el (build-unicode-category-table):
20550 Delete it.
20551 (unicode-category-table): Set it by unicode-property-table-internal.
20552
20553 * international/mule-cmds.el (char-code-property-alist): Move to
20554 to src/chartab.c.
20555 (get-char-code-property): Call unicode-property-table-internal to
20556 load a file. Call get-unicode-property-internal where necessary.
20557 (put-char-code-property): Call unicode-property-table-internal to
20558 load a file. Call put-unicode-property-internal where necessary.
20559 put-unicode-property-internal where necessary.
20560 (char-code-property-description):
20561 Call unicode-property-table-internal to load a file.
20562
20563 * international/charprop.el:
20564 * international/uni-bidi.el:
20565 * international/uni-category.el:
20566 * international/uni-combining.el:
20567 * international/uni-comment.el:
20568 * international/uni-decimal.el:
20569 * international/uni-decomposition.el:
20570 * international/uni-digit.el:
20571 * international/uni-lowercase.el:
20572 * international/uni-mirrored.el:
20573 * international/uni-name.el:
20574 * international/uni-numeric.el:
20575 * international/uni-old-name.el:
20576 * international/uni-titlecase.el:
20577 * international/uni-uppercase.el: Regenerate.
20578
20579 * loadup.el: Load international/charprop.el before
20580 international/characters.
20581
20582 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20583
20584 * window.el (next-buffer, previous-buffer): Signal an error if
20585 called from a minibuffer window.
20586
20587 * bindings.el: Revert 2011-07-04 change.
20588
20589 2011-07-06 Richard Stallman <rms@gnu.org>
20590
20591 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20592 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20593 Treat markers like ints.
20594 (rmail-mime-entity): Doc fix.
20595
20596 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20597
20598 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20599 defcustom again for backwards compatibility.
20600
20601 * simple.el (shell-command-on-region): Fill.
20602
20603 * dired-aux.el (dired-kill-line): Add a doc string.
20604
20605 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20606 to "\\sw\\|\\s_" (bug#358).
20607
20608 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20609 (dired-unmark-backward): Ditto.
20610 (dired-flag-backup-files): Ditto.
20611
20612 * dired-x.el (dired-mark-sexp): Ditto.
20613
20614 2011-07-06 Richard Stallman <rms@gnu.org>
20615
20616 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20617 (rmail-mime-entity): New arg TRUNCATED.
20618 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20619 New functions.
20620 (rmail-mime-save): Warn if entity is truncated.
20621 (rmail-mime-toggle-hidden): Likewise, for showing.
20622 (rmail-mime-process-multipart): Record when an entity is truncated.
20623
20624 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20625 if ENTITY is a string.
20626
20627 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20628
20629 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20630 of faces when `M-C-x'-ing their definitions (bug#8378).
20631 Also clean up the code slightly.
20632
20633 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20634 because that makes the colors go away.
20635
20636 * mail/sendmail.el (send-mail-function): Change the default to
20637 `sendmail-query-once'.
20638 (sendmail-query-once): Add an autoload cookie.
20639
20640 * net/network-stream.el (network-stream-open-starttls): Try using
20641 a plain connection even if the server offered STARTTLS, and we
20642 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20643 capability. This should make smtpmail.el work in slightly more
20644 configurations.
20645
20646 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20647
20648 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20649 New defun.
20650 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20651
20652 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20653
20654 * progmodes/sql.el: Version 3.0
20655 (sql-product-alist): Add product :completion-object,
20656 :completion-column, and :statement attributes.
20657 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20658 (sql-mode-syntax-table): Mark all punctuation.
20659 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20660 ansi keywords.
20661 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20662 (sql-mode-oracle-font-lock-keywords): Improve.
20663 (sql-oracle-show-reserved-words): New function for development.
20664 (sql-product-font-lock): Simplify for source code buffers.
20665 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20666 New functions.
20667 (sql-highlight-product): Set product specific syntax table.
20668 (sql-mode-map): Add statement movement functions.
20669 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20670 New variable.
20671 (sql-statement-regexp, sql-beginning-of-statement)
20672 (sql-end-of-statement, sql-signum): New functions.
20673 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20674 (sql-show-sqli-buffer): Bug fix.
20675 (sql-interactive-mode): Store connection data as buffer local.
20676 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20677 with sql-interactive-mode.
20678 (sql-save-connection): Save buffer local settings.
20679 (sql-connection-menu-filter): Change menu entry name.
20680 (sql-product-interactive): Bug fix.
20681 (sql-preoutput-hold): New variable.
20682 (sql-interactive-remove-continuation-prompt): Bug fixes.
20683 (sql-debug-redirect): New variable.
20684 (sql-str-literal): New function.
20685 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20686 Redesign.
20687 (sql-oracle-save-settings, sql-oracle-restore-settings)
20688 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20689 (sql-completion-object, sql-completion-column)
20690 (sql-completion-sqlbuf): New variables.
20691 (sql-build-completions-1, sql-build-completions)
20692 (sql-try-completion): New functions.
20693 (sql-read-table-name): Use them.
20694 (sql-contains-names): New buffer local variable.
20695 (sql-list-all, sql-list-table): Use it.
20696 (sql-oracle-completion-types): New variable.
20697 (sql-oracle-completion-object, sql-sqlite-completion-object)
20698 (sql-postgres-completion-object): New functions.
20699
20700 2011-07-06 Glenn Morris <rgm@gnu.org>
20701
20702 * window.el (pop-to-buffer): Doc fix.
20703
20704 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20705
20706 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20707
20708 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20709
20710 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20711
20712 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20713
20714 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20715
20716 * button.el (button): Inherit from link face. Suggested by Dan
20717 Nicolaescu.
20718
20719 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20720
20721 * progmodes/gdb-mi.el: Fit in 80 columns.
20722 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20723 switch-to-buffer.
20724
20725 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20726 if imenu is simply not configured (bug#8941).
20727
20728 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20729
20730 * allout.el (allout-post-undo-hook): New allout outline-change
20731 event hook to signal undo activity.
20732 (allout-post-command-business): Run allout-post-undo-hook if an
20733 undo just occurred.
20734 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20735 * allout-widgets.el (allout-widgets-after-undo-function):
20736 Ensure the integrity of the current item's decoration after it has been
20737 in the vicinity of an undo.
20738 (allout-widgets-mode): Include allout-widgets-after-undo-function
20739 on the new allout-post-undo-hook.
20740
20741 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20742
20743 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20744 Let define-derived-mode define it.
20745 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20746 cycles of abbrev-table inheritance (bug#8998).
20747
20748 2011-07-05 Roland Winkler <winkler@gnu.org>
20749
20750 * textmodes/bibtex.el: Add support for biblatex.
20751 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20752 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20753 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20754 (bibtex-entry-alist, bibtex-field-alist): New variables.
20755 (bibtex-entry-field-alist): Obsolete alias for
20756 bibtex-BibTeX-entry-alist.
20757 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20758 (bibtex-set-dialect): New command.
20759 (bibtex-entry-type, bibtex-entry-head)
20760 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20761 Bind via bibtex-set-dialect.
20762 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20763 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20764 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20765 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20766 Define via bibtex-set-dialect.
20767 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20768 Obey bibtex-no-opt-remove-re.
20769 (bibtex-vec-push, bibtex-vec-incr): New functions.
20770 (bibtex-format-entry, bibtex-field-list)
20771 (bibtex-print-help-message, bibtex-validate)
20772 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20773
20774 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20775
20776 * progmodes/compile.el (compilation-goto-locus):
20777 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20778 * bs.el (bs-cycle-next, bs-cycle-previous):
20779 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20780 * bindings.el (mode-line-other-buffer):
20781 * autoinsert.el (auto-insert):
20782 * arc-mode.el (archive-extract):
20783 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20784
20785 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20786
20787 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20788 Fix check of `emacs-lock-unlockable-modes'.
20789 Coerce true values of `emacs-lock--try-unlocking' to t.
20790
20791 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20792
20793 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20794 * emacs-lock.el: New file.
20795
20796 2011-07-05 Julien Danjou <julien@danjou.info>
20797
20798 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20799 than `boundp' to check if face is set.
20800
20801 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20802
20803 * register.el (registerv-make):
20804 * window.el (window-min-height): Fix typos in docstrings.
20805
20806 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20807
20808 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20809 Update doc string.
20810
20811 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20812
20813 * server.el (server-execute): Catch quit and call
20814 `server-return-error' to pass the error back to emacsclient and
20815 close the connection (bug#8942).
20816
20817 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20818
20819 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20820 insecure exception for current topic. Also note that auto-saves
20821 are handled differently.
20822
20823 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20824 State variables for tracking auto-save inhibition situation.
20825
20826 (allout-write-contents-hook-handler): Rename from
20827 'allout-write-file-hook-handler', and describe how it depends on
20828 write-contents-functions sensitivity to non-nil value to prevent
20829 file write.
20830
20831 (allout-auto-save-hook-handler): Remove. auto-save does not check
20832 this in individual buffers, only in the starting buffer, so this
20833 is not the right way for us to inhibit auto-save in a buffer
20834 according to its condition.
20835
20836 (allout-mode): Use new allout-write-contents-hook-handler, and
20837 only with write-contents-functions. Remove auto-save provisions -
20838 they're implemented elsewhere.
20839
20840 (allout-before-change-handler): If undo is in progress, note that
20841 for attention of allout-post-command-business.
20842
20843 (allout-post-command-business): If the command we're following was
20844 an undo, check for change in the status of encrypted items and
20845 adjust auto-save inhibitions accordingly.
20846
20847 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20848 according to whether there are or aren't any plain-text topics
20849 pending encryption.
20850
20851 (allout-inhibit-auto-save-info-for-decryption):
20852 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20853 if there are plain-text topics pending encryption.
20854
20855 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20856 buffer-saved-size and some allout state to not inhibit auto-saves
20857 if there are no longer any plain-text topics pending encryption.
20858
20859 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20860 No longer provide for exemption of the current topic.
20861
20862 2011-07-04 Juri Linkov <juri@jurta.org>
20863
20864 Add 7z operations to delete and save changed members (bug#8968).
20865 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20866 New defcustoms.
20867 (archive-7z-write-file-member): New function.
20868 (archive-7z-summarize): Fix the number of dashes in the
20869 listing output.
20870
20871 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20872
20873 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20874 (bug#8958).
20875
20876 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20877
20878 * bindings.el: Ignore next-buffer and previous-buffer in
20879 minibuffer-local-map.
20880
20881 * font-lock.el (font-lock-builtin-face): Change light background
20882 color to dark slate blue (Bug#6693).
20883
20884 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20885
20886 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20887
20888 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20889
20890 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20891 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20892 Add switch-to-buffer.
20893
20894 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20895
20896 * isearch.el (isearch-search-fun-function): Clarify further the
20897 meaning of the function returned.
20898
20899 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20900
20901 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20902
20903 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20904 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20905 Use it.
20906 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20907 `tramp-default-remote-path' does not exist.
20908 (tramp-send-command-and-read): New optional argument NOERROR.
20909 (tramp-open-connection-setup-interactive-shell)
20910 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20911 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20912 (tramp-process-sentinel): Flush also process' connection property.
20913 (tramp-sh-handle-start-file-process): Do not set process
20914 sentinel. It is done now ...
20915 (tramp-maybe-open-connection): ... here. (Bug#8929)
20916
20917 2011-07-04 MON KEY <monkey@sandpframing.com>
20918
20919 * play/animate.el (animate-string): Doc fixes and allow changing
20920 the buffer name (bug#5417).
20921
20922 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20923
20924 * play/animate.el (animation-buffer-name): Rename from *animate*.
20925
20926 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20927
20928 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20929 This is simpler and helps future-proof the code.
20930 (timer-until): Use time-subtract and float-time.
20931 (timer--time-less-p): Use time-less-p.
20932
20933 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20934
20935 * type-break.el (timep): Use the value of `float-time' to avoid a
20936 byte-compiler warning.
20937
20938 * server.el (server-eval-and-print): Return any result, even nil.
20939
20940 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20941
20942 * type-break.el: Accept time formats that the builtins accept.
20943 (timep, type-break-time-difference): Accept any format that
20944 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20945 This is simpler and helps future-proof the code.
20946 (type-break-time-difference): Round rather than ignoring
20947 subseconds components.
20948
20949 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20950
20951 * info.el (Info-apropos-matches): Make non-interactive, since it
20952 doesn't seem to do anything useful as a command (bug#8829).
20953
20954 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20955
20956 * frame.el (frame-background-mode, frame-set-background-mode):
20957 Move from faces.el.
20958 (frame-default-terminal-background): New function.
20959
20960 * custom.el (custom-push-theme): Don't record faces in `changed'
20961 theme; this doesn't work correctly for per-frame face settings.
20962 (disable-theme): Use face-set-after-frame-default to reset faces.
20963 (custom--frame-color-default): New function.
20964
20965 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20966
20967 * dired.el (dired-flagging-regexp): Remove unused variable
20968 (bug#8769).
20969
20970 2011-03-29 Kevin Ryde <user42@zip.com.au>
20971
20972 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20973 `perl-Test2' extend to match possible "fail #N" rep count
20974 (bug#8377).
20975
20976 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20977
20978 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20979 `smtpmail-via-smtp' now returns the error instead of nil.
20980
20981 * isearch.el (isearch-search-fun-function): Clarify the doc string
20982 (bug#8101).
20983
20984 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20985
20986 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20987 unnecessary spaces (bug#8987).
20988
20989 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20990
20991 * net/network-stream.el (open-network-stream): Use the
20992 :end-of-capability command thoughout.
20993
20994 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20995
20996 * net/network-stream.el (open-network-stream): Add the
20997 :end-of-capability command parameter, used by pop3.el.
20998
20999 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21000
21001 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21002
21003 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21004 for list)" (bug#6475).
21005
21006 * files.el (file-expand-wildcards): Ignore non-readable
21007 sub-directories while trying to find matches instead of signaling
21008 an error (bug#6297).
21009
21010 * man.el (Man-reference-regexp): Allow matching possible
21011 word-wrapped references (bug#6289).
21012
21013 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21014 for consistency with the other vc buffers (bug#6197).
21015 (vc-checkin): Ditto.
21016
21017 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21018
21019 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21020
21021 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21022
21023 * custom.el (defcustom): Clarify that :set is only used in the
21024 Customize user interface (bug#6089).
21025
21026 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21027 associated with a file, refuse to run instead of erroring out
21028 (bug#6084).
21029
21030 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21031 the doc string, since it appears that using `fill-column' always
21032 controls the width (bug#7845).
21033
21034 * simple.el (shell-command-on-region): Say where the error output
21035 went if `shell-command-default-error-buffer' is set (bug#6857).
21036
21037 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21038
21039 * allout.el (allout-yank-processing): Adjust cursor position for
21040 backwards-deleted space.
21041
21042 (allout-rebullet-heading): Register changes with
21043 allout-exposure-changed-hook, so the modified topic is properly
21044 decorated.
21045
21046 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21047
21048 * minibuffer.el (completion-in-region): Document PREDICATE
21049 (bug#7136).
21050
21051 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21052 of keyword/argument pairs (bug#6904).
21053
21054 * replace.el (multi-occur):
21055 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21056
21057 2011-07-02 Drew Adams <drew.adams@oracle.com>
21058
21059 * dired.el (dired-mark-if): Make the message about whether it's
21060 marking or unmarking clearer (bug#8523).
21061
21062 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21063
21064 * disp-table.el (display-table-print-array): New function.
21065 (describe-display-table): Use it to print the vectors more pretty
21066 (Bug#8859).
21067
21068 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21069
21070 * window.el (window-state-get-1): Don't assign clone numbers.
21071 Add clone-of item to list of window parameters.
21072 (window-state-put-2): Don't process clone numbers.
21073 (display-buffer-alist): Fix doc-string.
21074
21075 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21076
21077 * subr.el (remq): Don't allocate if it's not needed.
21078 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21079 (keymap--merge-bindings): New functions.
21080 (keymap-canonicalize): Use them to refine the canonicalization.
21081 * minibuffer.el (minibuffer-local-completion-map)
21082 (minibuffer-local-must-match-map): Move initialization from C.
21083 (minibuffer-local-filename-completion-map): Move initialization from C;
21084 don't inherit from anything here.
21085 (minibuffer-local-filename-must-match-map): Make obsolete.
21086 (completing-read-default): Use make-composed-keymap to combine
21087 minibuffer-local-filename-completion-map with either
21088 minibuffer-local-must-match-map or
21089 minibuffer-local-filename-completion-map.
21090
21091 2011-07-01 Glenn Morris <rgm@gnu.org>
21092
21093 * type-break.el (type-break-time-sum): Use dolist.
21094
21095 * textmodes/flyspell.el (flyspell-word-search-backward):
21096 Replace CL function.
21097
21098 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21099
21100 * mouse.el (mouse--strip-first-event): New function.
21101 (function-key-map): Use it to map fringe clicks to normal clicks
21102 by default.
21103
21104 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21105 (vc-bzr-revision-completion-table): Add support for annotate and date.
21106
21107 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21108 inherit from parent.
21109
21110 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21111
21112 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21113 (dired-show-file-type): Doc fixup (bug#8818).
21114
21115 * dired.el (dired-mode): Fix up the doc string as suggested by
21116 Drew Adams (bug#8817).
21117
21118 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21119 cookie, since the manual says that it should be possible to add
21120 this function to `find-file-hook' (bug#8709).
21121
21122 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21123
21124 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21125 here. Noted Ted Zlatanov as the maintainer.
21126 (cfengine-common-settings, cfengine-common-syntax): New functions
21127 to set up common things between `cfengine-mode' and
21128 `cfengine3-mode'.
21129 (cfengine3-mode): New mode.
21130 (cfengine3-defuns cfengine3-defuns-regex
21131 (cfengine3-class-selector-regex cfengine3-category-regex)
21132 (cfengine3-vartypes cfengine3-font-lock-keywords)
21133 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21134 (cfengine3-indent-line): Add from cfengine3.el.
21135
21136 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21137
21138 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21139
21140 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21141
21142 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21143
21144 * window.el (same-window-buffer-names, same-window-regexps)
21145 (same-window-p, special-display-frame-alist)
21146 (special-display-popup-frame, special-display-function)
21147 (special-display-buffer-names, special-display-regexps)
21148 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21150 (split-window-preferred-function, split-height-threshold)
21151 (split-width-threshold, even-window-heights)
21152 (display-buffer-mark-dedicated, window-splittable-p)
21153 (split-window-sensibly, window-safely-shrinkable-p):
21154 Un-obsolete.
21155 (display-buffer): Don't spread args with function specifier
21156 because special-display-popup-frame won't like it.
21157
21158 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21159
21160 Time-stamp simplifications and fixes.
21161 These improve accuracy slightly, and future-proof the code
21162 against some potential changes to current-time format.
21163
21164 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21165 by using time-since and float-time.
21166
21167 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21168 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21169 + NNN microseconds".
21170
21171 * type-break.el (type-break-time-sum): Rewrite using time-add.
21172
21173 * play/hanoi.el (hanoi-current-time-float): Remove.
21174 All uses replaced by float-time.
21175
21176 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21177 This yields a more-accurate answer.
21178 (rng-time-to-float): Remove; no longer needed.
21179
21180 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21181
21182 * calendar/timeclock.el (timeclock-seconds-to-time):
21183 Defalias to seconds-to-time, since they're the same thing.
21184
21185 * emacs-lisp/elp.el (elp-elapsed-time):
21186 * emacs-lisp/benchmark.el (benchmark-elapse):
21187 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21188
21189 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21190
21191 * window.el (bury-buffer): Don't iconify the only frame.
21192 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21193 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21194
21195 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21196
21197 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21198 Add mouse-yank-primary.
21199
21200 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21201
21202 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21203
21204 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21205
21206 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21207 (find-library-name): Use it to find relative load names when provided
21208 absolute file name (bug#8803).
21209
21210 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21211
21212 * textmodes/flyspell.el (flyspell-word): Consider words that
21213 differ only in case as potential doublons (bug#5687).
21214
21215 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21216 Remove two rather uninteresting debugging-like messages to make
21217 debbugs.el more silent.
21218
21219 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21220 a password-like phrase.
21221
21222 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21223
21224 * progmodes/cc-guess.el: New file.
21225
21226 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21227
21228 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21229 derived from `c-basic-common-init'.
21230
21231 * progmodes/cc-mode.el (top-level): Require cc-guess.
21232 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21233
21234 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21235
21236 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21237
21238 2011-06-30 Alan Mackenzie <acm@muc.de>
21239
21240 * progmodes/cc-engine.el (c-guess-continued-construct):
21241 Correct the handling of template-args-cont, particularly for when font
21242 lock is disabled. Name this case as "CASE G".
21243
21244 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21245
21246 * allout.el (allout-yank-processing): Fix injection of extra space
21247 between bullet and non-whitespace character in first topic when
21248 pasting, ensuring that the actual spacing in the pasted topic
21249 following the bullet char is preserved. This extra space was
21250 causing pasted encrypted topics to get a decrypted status even
21251 when the content was actually still encrypted. Now the decryption
21252 status from before the paste is preserved.
21253
21254 (allout-flag-region): Set all allout overlays so they evaporate
21255 when reduced to zero length (evanescent), to prevent overlay
21256 leakage.
21257
21258 2011-06-30 Glenn Morris <rgm@gnu.org>
21259
21260 * w32-fns.el (w32-charset-info-alist): Declare.
21261
21262 * find-dired.el (find-grep-options): Simplify.
21263
21264 * term/ns-win.el (ns-set-resource): Declare.
21265
21266 * ses.el (row, col): Declare dynamic variables honestly.
21267
21268 * textmodes/reftex-parse.el (index-tags): Declare.
21269
21270 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21271
21272 * cus-edit.el (customize-push-and-save): New function.
21273
21274 * files.el (hack-local-variables-confirm): Use it.
21275
21276 * custom.el (load-theme): New arg NO-CONFIRM.
21277 Use customize-push-and-save (Bug#8720).
21278 (custom-enabled-themes): Doc fix.
21279
21280 * cus-theme.el (customize-create-theme)
21281 (custom-theme-merge-theme): Callers to load-theme changed.
21282
21283 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21284
21285 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21286 short URLs have at least one dot in them (bug #7614).
21287
21288 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21289 nil, because using a pty is apparently too slow (bug #895).
21290
21291 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21292
21293 * mail/sendmail.el (sendmail-query-once): New function.
21294 (sendmail-query-once-function): New variable.
21295
21296 2011-06-29 Glenn Morris <rgm@gnu.org>
21297
21298 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21299
21300 * ses.el (top-level): Require cl when compiling.
21301 (ses-set-localvars): Fix error statement.
21302 Call it at compile time to silence a storm of warnings.
21303
21304 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21305
21306 * window.el (normalize-live-buffer): Rename to
21307 window-normalize-buffer.
21308 (normalize-live-frame): Rename to window-normalize-frame.
21309 (normalize-any-window): Rename to window-normalize-any-window.
21310 (normalize-live-window): Rename to window-normalize-live-window.
21311 (make-window-atom): Rename to window-make-atom.
21312 (window-resize-reset): Rename to window--resize-reset.
21313 (window-resize-reset-1): Rename to window--resize-reset-1.
21314 (resize-mini-window): Rename to window--resize-mini-window.
21315 (resize-subwindows-skip-p): Rename to
21316 window--resize-subwindows-skip-p.
21317 (resize-subwindows-normal): Rename to
21318 window--resize-subwindows-normal.
21319 (resize-subwindows): Rename to window--resize-subwindows.
21320 (resize-other-windows): Rename to window--resize-siblings.
21321 (resize-this-window): Rename to window--resize-this-window.
21322 (resize-root-window): Rename to window--resize-root-window.
21323 (resize-root-window-vertically): Rename to
21324 window--resize-root-window-vertically.
21325 (normalize-buffer-to-display): Rename to
21326 window-normalize-buffer-to-display.
21327 (normalize-buffer-to-switch-to): Rename to
21328 window-normalize-buffer-to-switch-to.
21329 Correspondingly update all callers of the functions listed
21330 above.
21331 (display-buffer-alist, display-buffer-normalize-arguments)
21332 (display-buffer-normalize-options, display-buffer)
21333 (display-buffer-alist-set): Use "function" instead of
21334 "fun-with-args".
21335
21336 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21337
21338 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21339 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21340 debbugs.gnu.org. Mention acknowledgment email.
21341
21342 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21343
21344 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21345 buffer multibyteness, since it shouldn't matter.
21346
21347 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21348
21349 * window.el (display-buffer-in-side-window): Handle dedicated
21350 windows as in display-buffer-reuse-window.
21351 (display-buffer-normalize-alist): Use value of override
21352 specifier.
21353 (display-buffer-normalize-specifiers): Use value of
21354 other-window-means-other-frame specifier.
21355 (display-buffer-alist): Rewrite some texts in widgets.
21356 (display-buffer): Spread arguments when calling function
21357 specified by fun-with-args.
21358
21359 2011-06-28 Deniz Dogan <deniz@dogan.se>
21360
21361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21362 Unnest `let'.
21363
21364 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21365 selectors (Bug#5732).
21366 (css-proprietary-nmstart-re): Use `regexp-opt'.
21367
21368 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21369
21370 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21371 (eshell-ls-date-format): New defcustom.
21372 (eshell-ls-file): Use it.
21373
21374 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21375
21376 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21377
21378 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21379
21380 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21381 (ange-ftp-make-tmp-name): New arg.
21382 (ange-ftp-file-local-copy): Use it.
21383
21384 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21385
21386 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21387 no-conversion (Bug#8870).
21388
21389 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21390
21391 * window.el (window-right, window-left, window-child)
21392 (window-child-count, window-last-child)
21393 (window-iso-combination-p, walk-window-tree-1)
21394 (window-atom-check-1, window-tree-1, delete-window)
21395 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21396 new naming conventions - window-vchild, window-hchild,
21397 window-next and window-prev are now called window-top-child,
21398 window-left-child, window-next-sibling and window-prev-sibling
21399 respectively.
21400 (resize-window-reset): Rename to window-resize-reset.
21401 (resize-window-reset-1): Rename to window-resize-reset-1.
21402 (resize-window): Rename to window-resize.
21403 (window-min-height, window-min-width)
21404 (resize-mini-window, resize-this-window, resize-root-window)
21405 (resize-root-window-vertically, adjust-window-trailing-edge)
21406 (enlarge-window, shrink-window, maximize-window)
21407 (minimize-window, delete-window, quit-restore-window)
21408 (split-window, balance-windows, balance-windows-area-adjust)
21409 (balance-windows-area, window-state-put-2)
21410 (display-buffer-even-window-sizes, display-buffer-set-height)
21411 (display-buffer-set-width, set-window-text-height)
21412 (fit-window-to-buffer): Rename all "resize-window" prefixed
21413 calls to use the "window-resize" prefix convention.
21414 (display-buffer-alist): Fix symbol for label specifier.
21415 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21416 corresponding specifier.
21417 Reported by Juanma Barranquero <lekktu@gmail.com>.
21418
21419 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21420
21421 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21422 convention.
21423 (ses-call-printer): Does not pass an empty string to formatter when the
21424 cell is empty to keep from barking printer Calc math-format-value.
21425
21426 2011-06-27 Richard Stallman <rms@gnu.org>
21427
21428 * battery.el (battery-mode-line-limit): New variable.
21429 (battery-update): Handle it.
21430
21431 * mail/rmailmm.el (rmail-mime-process-multipart):
21432 Handle truncated messages.
21433
21434 2011-06-27 Glenn Morris <rgm@gnu.org>
21435
21436 * progmodes/flymake.el (flymake-err-line-patterns):
21437 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21438
21439 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21440
21441 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21442 (ses--clean-!, ses--clean-_): New functions.
21443 (ses-range): Add configurability of readout order, and conversion
21444 to Calc vector.
21445
21446 * ses.el (ses-repair-cell-reference-all): New function.
21447 (ses-cell-symbol): Set macro as safe, so that it can be used in
21448 formulas.
21449
21450 * ses.el: Update cycle detection algorithm.
21451 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21452 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21453 (ses-set-localvars): New function.
21454 (ses-make-cell): Add property-list as a cell element.
21455 (ses-cell-property-get-fun, ses-cell-property-get)
21456 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21457 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21458 New functions.
21459 (ses-cell-property-set, ses-cell-property-pop)
21460 (ses-cell-property-get-handle): New macro.
21461 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21462 New aliases, used for code readability.
21463 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21464 cycle detection.
21465 (ses-self-reference-early-detection): New defcustom.
21466 (ses-formula-references): Robustify against self-referring cells.
21467 (ses-mode): Use ses-set-localvars.
21468 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21469 before lauching the update processing.
21470 (ses-initialize-Dijkstra-attempt): New function.
21471 (ses-recalculate-cell): Update for cycle detection based on
21472 Dijkstra algorithm.
21473
21474 * ses.el: Fix commenting and indenting convention.
21475
21476 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21477
21478 * bs.el (bs-cycle-next): Complete last change.
21479
21480 2011-06-27 Drew Adams <drew.adams@oracle.com>
21481
21482 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21483
21484 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21485
21486 * net/network-stream.el (network-stream-open-starttls):
21487 Don't re-get capabilities unless we've reestablished connection.
21488 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21489
21490 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21491 to binary to possibly avoid line encoding issues on Windows (among
21492 other things).
21493
21494 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21495
21496 * net/network-stream.el (open-network-stream): Return an :error
21497 saying what the problem was, if possible.
21498
21499 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21500 server.
21501
21502 * net/network-stream.el (network-stream-open-starttls): If we
21503 wanted to use STARTTLS, and the server offered it, but we weren't
21504 able to because we had no STARTTLS support, then close the connection.
21505 (open-network-stream): Return an :error element, if present.
21506
21507 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21508
21509 * hl-line.el (hl-line-sticky-flag): Doc fix.
21510 (global-hl-line-sticky-flag): New option (Bug#8323).
21511 (global-hl-line-highlight): Obey it.
21512
21513 * vc/vc.el (vc-revert-show-diff): Default to t.
21514
21515 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21516
21517 * allout-widgets.el (allout-widgets-post-command-business):
21518 Stop decorating intermediate isearch matches. They're not being
21519 undecorated when an isearch is continued past, and isearch
21520 automatically collapses them. This leads to "widget leaks", where
21521 decorated items accumulate in collapsed areas. Lines with lots of
21522 hidden widgets can slow down cursor travel, substantially.
21523 Too much complicated machinery would be needed to ensure undecoration,
21524 so we're doing without this nicety.
21525
21526 (allout-widgets-tally-string): Don't try to do a hash-table-count
21527 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21528 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21529 *Messages* when allout-widgets-maintain-tally is t.
21530
21531 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21532
21533 * window.el (display-buffer-normalize-argument): Rename to
21534 display-buffer-normalize-arguments. Handle special meaning of
21535 LABEL argument. Respect special-display-function when popping up
21536 a new frame. Fix code searching for a window showing the buffer
21537 on another frame.
21538 (display-buffer-normalize-specifiers):
21539 Call display-buffer-normalize-arguments.
21540 (display-buffer-in-window): Don't undedicate the window if its
21541 buffer remains the same.
21542 Reported by Drew Adams <drew.adams@oracle.com>.
21543 (display-buffer-alist): Add choice for same-window macro
21544 specfier.
21545 (display-buffer): Mention special meaning of LABEL argument in
21546 doc-string. Fix quoting. Don't pop up a new frame even as
21547 fallback.
21548
21549 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21550
21551 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21552 avoid deleting the current window in some cases (bug#8911).
21553
21554 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21555
21556 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21557 (Bug#8934)
21558
21559 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21560
21561 * net/network-stream.el (network-stream-open-starttls):
21562 Use built-in TLS support if `gnutls-available-p' is true.
21563 (network-stream-open-tls): Ditto.
21564
21565 2011-06-26 Leo Liu <sdl.web@gmail.com>
21566
21567 * register.el (registerv): New struct.
21568 (registerv-make): New function.
21569 (jump-to-register, describe-register-1, insert-register):
21570 Support the jump-func, print-func and insert-func slot of a registerv
21571 struct. (Bug#8415)
21572
21573 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21574
21575 * vc/vc.el (vc-revert-show-diff): New defcustom.
21576 (vc-diff-internal): New arg specifying diff buffer.
21577 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21578 reuse an existing *vc-diff* buffer (Bug#8927).
21579
21580 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21581
21582 2011-06-26 Glenn Morris <rgm@gnu.org>
21583
21584 * progmodes/f90.el (f90-critical-indent): New option.
21585 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21586 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21587 (f90-mode): Doc fix.
21588 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21589 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21590 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21591 (f90-match-end): Handle block, critical.
21592
21593 2011-06-25 Glenn Morris <rgm@gnu.org>
21594
21595 * calendar/diary-lib.el (diary-included-files): Doc fix.
21596 (diary-include-files): New function, extracted from
21597 diary-include-other-diary-files and diary-mark-included-diary-files.
21598 (diary-include-other-diary-files, diary-mark-included-diary-files):
21599 Just call diary-include-files.
21600 (diary-mark-entries): Reset diary-included-files on first call.
21601
21602 * calendar/diary-lib.el (diary-mark-entries)
21603 (diary-mark-included-diary-files):
21604 Visit included diary-files in temp buffers.
21605
21606 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21607 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21608 (f90-start-block-re, f90-imenu-generic-expression)
21609 (f90-looking-at-program-block-start, f90-no-block-limit):
21610 Add support for submodules.
21611
21612 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21613 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21614
21615 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21616
21617 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21618 buffer-file-type before setting its value, to avoid disastrous
21619 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21620
21621 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21622
21623 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21624
21625 * ses.el (ses-unload-function):
21626 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21627
21628 * proced.el (proced-unload-function):
21629 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21630
21631 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21632
21633 * server.el (server-create-window-system-frame): Add parameters arg.
21634 (server-process-filter): Doc fix. Handle frame-parameters.
21635
21636 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21637
21638 Fix bug#8730, bug#8781.
21639
21640 * loadhist.el (unload--set-major-mode): New function.
21641 (unload-feature): Use it.
21642
21643 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21644 (python-unload-function): New function.
21645
21646 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21647
21648 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21649
21650 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21651
21652 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21653 the candidates list.
21654
21655 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21656
21657 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21658
21659 2011-06-23 Richard Stallman <rms@gnu.org>
21660
21661 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21662 (rmail-variables): Set next-error-move-function.
21663 (rmail-what-message): Take argument POS.
21664 (rmail-next-error-move): New function.
21665
21666 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21667
21668 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21669 messages for adjacent non-terminals.
21670
21671 2011-06-23 Richard Stallman <rms@gnu.org>
21672
21673 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21674 (rmail-show-message-1): Preserve buffer modified flag.
21675 (rmail-start-mail): Don't specify use of rmail-mail-return;
21676 that's done by mail-bury now.
21677 (rmail-mail-return): Handle arg NEWBUF.
21678
21679 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21680
21681 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21682 SIZE is a number.
21683
21684 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21685
21686 * window.el (get-lru-window, get-mru-window)
21687 (get-largest-window): Never return a minibuffer window.
21688 (display-buffer-pop-up-window): Fix a bug that could lead to
21689 reusing the minibuffer window.
21690 (display-buffer): Pass original specifier argument to
21691 display-buffer-function instead of the normalized one.
21692 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21693
21694 2011-06-22 Leo Liu <sdl.web@gmail.com>
21695
21696 * minibuffer.el (completing-read-function)
21697 (completing-read-default): Move from minibuf.c.
21698
21699 2011-06-22 Richard Stallman <rms@gnu.org>
21700
21701 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21702 to Rmail even if not started by a special Rmail command.
21703
21704 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21705 Copy the buffer currently showing just one message.
21706
21707 2011-06-22 Roland Winkler <winkler@gnu.org>
21708
21709 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21710 (bibtex-clean-entry): First delete the old key so that a
21711 customized algorithm for generating the new key does not get
21712 confused by the old key.
21713 (bibtex-url): Obey regexp of first step.
21714 (bibtex-search-entries): Do not use add-to-list with local
21715 list-var.
21716
21717 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21718
21719 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21720 stored a user name, then query for the password first, instead of
21721 waiting for SMTP to give an error message and the trying again.
21722
21723 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21724
21725 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21726 BUFFER in call-process.
21727
21728 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21729
21730 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21731 QUIT twice.
21732 (smtpmail-try-auth-methods): Require user name and password from
21733 auth-source.
21734
21735 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21736
21737 * window.el (display-buffer-default-specifiers)
21738 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21739 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21740 (split-window): Normalize SIDE argument (Bug#8916).
21741
21742 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21743 (special-display-frame-alist, special-display-popup-frame):
21744 Remove duplicate declarations. These are now in window.el.
21745
21746 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21747
21748 * mail/smtpmail.el (smtpmail-via-smtp):
21749 Set :use-starttls-if-possible so that we always use STARTTLS if the
21750 server supports it. SMTP servers that support STARTTLS commonly
21751 require it.
21752
21753 * net/network-stream.el (network-stream-open-starttls): Support
21754 upgrading to STARTTLS always, even if we don't have built-in support.
21755 (open-network-stream): Add the :always-query-capabilities keyword.
21756
21757 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21758 upgrades with `open-network-stream', and rely solely on
21759 auth-source for all credentials. Big changes throughout the file,
21760 but in particular:
21761 (smtpmail-auth-credentials): Remove.
21762 (smtpmail-starttls-credentials): Remove.
21763 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21764 MAIL FROM, too.
21765
21766 * net/network-stream.el (network-stream-open-starttls):
21767 Provide support for client certificates both for external and built-in
21768 STARTTLS.
21769 (auth-source): Require.
21770 (open-network-stream): Document the :client-certificate keyword.
21771 (network-stream-certificate): Change cert-cert to cert and
21772 cert-key to key.
21773
21774 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21775
21776 * net/tramp-cache.el (top): Don't load the persistency file when
21777 "emacs -Q" has been called.
21778
21779 2011-06-21 Tim Harper <timcharper@gmail.com>
21780
21781 * term/ns-win.el (ns-initialize-window-system):
21782 Set application-specific `ApplePressAndHoldEnabled' system
21783 resource to NO as it is not yet supported by the NS port.
21784
21785 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21786
21787 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21788 (list-dynamic-libraries): ...not here.
21789
21790 2011-06-21 Leo Liu <sdl.web@gmail.com>
21791
21792 * subr.el (sha1): Implement sha1 using secure-hash.
21793
21794 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21795
21796 * window.el (display-buffer-alist): In default value do not
21797 enforce searching a window on any but the selected frame.
21798 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21799 (display-buffer-select-window): Remove function.
21800 (display-buffer-in-window): When a window on another frame gets
21801 reused, do not select it any more but just raise its frame if
21802 necessary (Bug#8851) and (Bug#8856).
21803 (display-buffer-normalize-options): Handle pop-up-frames related
21804 options more faithfully.
21805 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21806 window if it is on another frame.
21807 (display-buffer-alist, display-buffer-default-specifiers):
21808 Don't make new frame unsplittable by default.
21809 (display-buffer-normalize-argument): Fix doc-string typo and use
21810 'same-frame-other-window instead of 'other-window when associating
21811 with display-buffer-macro-specifiers.
21812
21813 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21814
21815 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21816 New functions.
21817 (5x5-mode-map, 5x5-mode-menu): Bind them.
21818 (5x5-draw-grid): Tweak the solver's rendering.
21819
21820 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21821
21822 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21823 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21824
21825 2011-06-21 Drew Adams <drew.adams@oracle.com>
21826
21827 * menu-bar.el: Use function variable instead of switch-to-buffer.
21828 (menu-bar-select-buffer-function): New variable.
21829 (menu-bar-update-buffers): Use it (bug#8876).
21830
21831 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21832
21833 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21834 variable's status.
21835
21836 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21837
21838 * x-dnd.el (x-dnd-version-from-flags)
21839 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21840 and long as number (Bug#8899).
21841 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21842
21843 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21844
21845 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21846 (completion-try-completion, completion-all-completions): Compute the
21847 metadata argument if it's missing; make it optional (bug#8795).
21848
21849 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21850 (widget-complete): Use new :completion-function property.
21851 (widget-completions-at-point): New function.
21852 (default): Use :completion-function instead of :complete.
21853 (widget-default-completions): Rename from widget-default-complete;
21854 Rewrite.
21855 (widget-string-complete, widget-file-complete, widget-color-complete):
21856 Remove functions.
21857 (file, symbol, function, variable, coding-system, color):
21858 * international/mule-cmds.el (default-input-method, charset)
21859 (language-info-custom-alist):
21860 * cus-edit.el (face): Use new property :completions.
21861
21862 * progmodes/pascal.el (pascal-completions-at-point): New function.
21863 (pascal-mode): Use it.
21864 (pascal-mode-map): Use completion-at-point.
21865 (pascal-toggle-completions): Make obsolete.
21866 (pascal-complete-word, pascal-show-completions):
21867 * progmodes/octave-mod.el (octave-complete-symbol):
21868 Redefine as obsolete alias.
21869 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21870 Signal absence of completion info for old Octave,
21871 (inferior-octave-complete): Redefine as obsolete alias.
21872 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21873 (meta-completions-at-point): Rename from meta-complete-symbol and
21874 adapt it for use on completion-at-point-functions.
21875 (meta-common-mode): Use it.
21876 (meta-looking-at-backward, meta-match-buffer): Remove.
21877 (meta-complete-symbol): Redefine as obsolete alias.
21878 (meta-common-mode-map): Use completion-at-point.
21879 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21880 (makefile-mode-map): Use completion-at-point.
21881 (makefile-completions-at-point): Rename from makefile-complete and
21882 adapt it for use on completion-at-point-functions.
21883 (makefile-mode): Use it.
21884 (makefile-complete): Redefine as obsolete alias.
21885
21886 2011-06-20 Deniz Dogan <deniz@dogan.se>
21887
21888 * net/rcirc.el: Delete trailing whitespaces once and for all.
21889
21890 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21891
21892 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21893
21894 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21895
21896 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21897
21898 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21899
21900 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21901
21902 * window.el (display-buffer-other-window-means-other-frame):
21903 Call display-buffer-normalize-alist.
21904 (display-buffer-normalize-specifiers-1): Rename to
21905 display-buffer-normalize-argument. New argument other-frame.
21906 Rewrite.
21907 (display-buffer-normalize-specifiers-2): Rename to
21908 display-buffer-normalize-options.
21909 (display-buffer-normalize-alist-1): New function.
21910 (display-buffer-normalize-specifiers-3): Rename to
21911 display-buffer-normalize-alist.
21912 Call display-buffer-normalize-alist-1.
21913 (display-buffer-normalize-options-inhibit): New variable.
21914 (display-buffer-normalize-specifiers): Rewrite calling
21915 display-buffer-normalize-alist,
21916 display-buffer-normalize-argument, and
21917 display-buffer-normalize-options. Don't call the latter if
21918 display-buffer-normalize-options-inhibit is non-nil.
21919 (frame-auto-delete): New option.
21920 (window-deletable-p): Use frame-auto-delete.
21921 (window-list-no-nils, window-state-ignored-parameters)
21922 (window-state-get-1, window-state-get, window-state-put-list)
21923 (window-state-put-1, window-state-put-2, window-state-put):
21924 New functions.
21925 (display-buffer-normalize-options): Move special-display-p group
21926 after pop-up-frame group (Bug#8851) and (Bug#8856).
21927
21928 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21929
21930 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21931 groups (Bug#8776).
21932 (rx-submatch-n): New function.
21933 (rx): Document it.
21934
21935 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21936 (Bug#8768).
21937
21938 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21939
21940 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21941
21942 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21943 anytime existing face settings are present (Bug#8889).
21944
21945 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21946 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21947 Remove unused argument.
21948
21949 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21950
21951 * window.el (display-buffer-default-specifiers):
21952 Remove pop-up-frame. Add pop-up-window-min-height,
21953 pop-up-window-min-width, and another reuse-window specifier
21954 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21955 (display-buffer-normalize-specifiers-2):
21956 Handle split-height-threshold and split-width-threshold also when
21957 pop-up-windows is unset. Add a reuse-window specifier for the
21958 case popping up a new window fails.
21959 (special-display-popup-frame): Remove double quoting.
21960 (display-buffer-normalize-specifiers-1): Fix thinko.
21961
21962 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21963
21964 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21965 according to comint-completion-addsuffix.
21966
21967 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21968 (pcomplete-suffix-list): Mark as obsolete.
21969 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21970 pcomplete-seen in the closure.
21971 (pcomplete-comint-setup): Setup completion-at-point as well.
21972 (pcomplete--entries): New function.
21973 (pcomplete--env-regexp): New var.
21974 (pcomplete-entries): Rewrite to work with partial-completion and
21975 without relying on pcomplete-suffix-list.
21976 (pcomplete-pare-list): Remove, unused.
21977
21978 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21979
21980 * window.el (display-buffer-alist): Set pop-up-window-min-height
21981 and pop-up-window-min-width in default value. Reported by
21982 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21983 other-window-means-other-frame.
21984 (display-buffer-macro-specifiers): Comment out entry for
21985 other-window specifier.
21986 (display-buffer-other-window-means-other-frame): New function.
21987 (display-buffer-normalize-specifiers-1): New arguments
21988 buffer-name and label. Treat other-window case specially.
21989 (display-buffer-normalize-specifiers-2): Treat other-window case
21990 specially.
21991 (display-buffer-normalize-specifiers-3): New function.
21992 (display-buffer-normalize-specifiers):
21993 Call display-buffer-normalize-specifiers-3.
21994
21995 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21996
21997 * window.el (same-window-p): Fix two typos introduced when
21998 adding with-no-warnings.
21999 (display-buffer-normalize-specifiers-1): Don't check
22000 pop-up-frames for 'unset initialization.
22001 (display-buffer-normalize-specifiers-2): Major rewrite using
22002 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22003 (pop-up-frames, display-buffer-reuse-frames)
22004 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22005 Suggested by David Engster <deng@randomsample.de>.
22006 (even-window-heights): Initialize to 'unset.
22007 (display-buffer-alist-set): Handle new 'unset initializations.
22008 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22009 other window case.
22010
22011 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22012
22013 * window.el (display-buffer-normalize-specifiers-1):
22014 Respect current value of pop-up-frames for most reasonable values of
22015 second argument of display-buffer (Bug#8865).
22016 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22017 (switch-to-buffer-other-window-same-frame)
22018 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22019 Adams (Bug#8875).
22020 (display-buffer): Don't check noninteractive when calling
22021 display-buffer-pop-up-frame.
22022 (display-buffer-pop-up-frame): Never pop up a frame in
22023 noninteractive mode (Bug#8857).
22024 (enlarge-window, shrink-window): Don't report an error when the
22025 window can't be resized as requested (Bug#8862).
22026
22027 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22028
22029 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22030
22031 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22032
22033 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22034
22035 2011-06-15 Alan Mackenzie <acm@muc.de>
22036
22037 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22038 for declarators, disable knr checking to speed up for normal files.
22039 2: Refactor, replacing a sequence of nested if forms by a cond form.
22040
22041 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22042
22043 * net/network-stream.el (open-network-stream): Add the keyword
22044 :always-query-capabilities for the case where you want to force a
22045 `plain' network connection, but the protocol still requires the
22046 capabilitiy command (i.e., SMTP and EHLO).
22047
22048 * subr.el (process-live-p): Rename from `process-alive-p' for
22049 consistency with other `-live-p' functions.
22050
22051 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22052
22053 * window.el (same-window-buffer-names, same-window-regexps)
22054 (special-display-frame-alist, special-display-popup-frame)
22055 (special-display-function, special-display-buffer-names)
22056 (special-display-regexps, pop-up-frame-alist)
22057 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22058 (pop-up-windows, split-window-preferred-function)
22059 (split-height-threshold, split-width-threshold, even-window-heights)
22060 (display-buffer-mark-dedicated): Don't encourage the use of
22061 display-buffer-alist from Elisp code.
22062
22063 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22064
22065 * progmodes/python.el (python-mode): Derive from prog-mode.
22066 * progmodes/ps-mode.el (ps-mode):
22067 * progmodes/mixal-mode.el (mixal-mode):
22068 * progmodes/cfengine.el (cfengine-mode):
22069 * progmodes/ld-script.el (ld-script-mode): Likewise.
22070
22071 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22072
22073 * window.el (display-buffer-alist): Trim default value to avoid
22074 popping up a new frame (Bug#8857) or reusing an arbitrary window
22075 on another frame.
22076 (display-buffer): Do not fall back on popping up a new frame in
22077 batch mode (Bug#8857).
22078
22079 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22080
22081 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22082 (custom-theme-summary): New function.
22083 (customize-themes): Use it.
22084
22085 2011-06-13 Glenn Morris <rgm@gnu.org>
22086
22087 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22088
22089 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22090
22091 * help.el (help-window): Remove variable.
22092 (help-window-point-marker, temp-buffer-max-height)
22093 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22094 (help-print-return-message): Don't set help-window.
22095 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22096 (help-window-setup-finish): Remove.
22097 (help-window-display-message, help-window-setup)
22098 (with-help-window): Major rewrite based on new
22099 display-buffer-window variable.
22100
22101 * help-mode.el (help-mode-finish): Remove help-window related
22102 code.
22103
22104 * view.el (view-exits-all-viewing-windows): Remove reference to
22105 view-return-to-alist in doc-string.
22106 (view-return-to-alist): Make obsolete.
22107 (view-buffer): Call pop-to-buffer-same-window and remove
22108 undo-window code.
22109 (view-buffer-other-window): Call pop-to-buffer-other-window and
22110 simplify code. Ignore second argument.
22111 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22112 simplify code. Ignore second argument.
22113 (view-return-to-alist-update): Make obsolete.
22114 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22115 Rewrite using quit-restore window parameters.
22116 (view-mode-exit): Rename second argument to EXIT-ONLY.
22117 Rewrite using quit-restore-window.
22118 (View-exit, View-exit-and-edit, View-leave, View-quit)
22119 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22120 appropriate arguments.
22121 (view-end-message): Use quit-restore window parameter.
22122
22123 * window.el (display-buffer-function): Rewrite doc-string.
22124 (display-buffer-window, display-buffer-alist): New variables.
22125 (display-buffer-split-specifiers)
22126 (display-buffer-side-specifiers)
22127 (display-buffer-macro-specifiers): New constants.
22128 (display-buffer-even-window-sizes, display-buffer-set-height)
22129 (display-buffer-set-width, display-buffer-select-window)
22130 (display-buffer-in-window, display-buffer-reuse-window)
22131 (display-buffer-split-window-1, display-buffer-split-window)
22132 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22133 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22134 (display-buffer-in-side-window, normalize-buffer-to-display)
22135 (display-buffer-normalize-specifiers-1)
22136 (display-buffer-normalize-specifiers-2)
22137 (display-buffer-normalize-specifiers, display-buffer-frame):
22138 New functions.
22139 (display-buffer): Major rewrite.
22140 (display-buffer-other-window, display-buffer-other-frame)
22141 (pop-to-buffer, switch-to-buffer-other-window)
22142 (switch-to-buffer-other-frame): Rewrite.
22143 (display-buffer-same-window, display-buffer-same-frame)
22144 (display-buffer-same-frame-other-window)
22145 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22146 (pop-to-buffer-other-window)
22147 (pop-to-buffer-same-frame-other-window)
22148 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22149 (switch-to-buffer-other-window-same-frame): New functions.
22150 (same-window-p, special-display-p): Rewrite disabling warnings.
22151 Make obsolete.
22152 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22153 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22154 Make obsolete
22155 (same-window-buffer-names, same-window-regexps)
22156 (special-display-frame-alist, special-display-popup-frame)
22157 (special-display-function, special-display-buffer-names)
22158 (special-display-regexps, pop-up-frame-alist)
22159 (pop-up-frame-function, split-window-preferred-function)
22160 (split-height-threshold, split-width-threshold)
22161 (even-window-heights): Make obsolete.
22162
22163 2011-06-12 Glenn Morris <rgm@gnu.org>
22164
22165 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22166 Misc simplifications.
22167
22168 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22169
22170 * window.el (window-safely-shrinkable-p): Restore function which
22171 was inadvertently removed in change from 2011-06-11. Declare as
22172 obsolete.
22173
22174 * calendar/calendar.el (calendar-generate-window):
22175 Use window-iso-combined-p instead of combination of one-window-p and
22176 window-safely-shrinkable-p.
22177
22178 2011-06-12 Glenn Morris <rgm@gnu.org>
22179
22180 * progmodes/fortran.el (fortran-mode-syntax-table):
22181 * progmodes/f90.el (f90-mode-syntax-table):
22182 Set % to punctuation. (Bug#8820)
22183 (f90-find-tag-default): Remove, no longer needed.
22184
22185 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22186
22187 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22188
22189 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22190
22191 * image.el (image-animated-p): Return animation delay in seconds.
22192 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22193 (image-animate-timeout): Remove DELAY argument. Don't assume
22194 every subimage has the same delay; get it from image-animated-p.
22195 (image-animate): Caller changed.
22196
22197 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22198
22199 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22200 to ignored backtrace functions.
22201
22202 2011-06-11 Glenn Morris <rgm@gnu.org>
22203
22204 * calendar/appt.el (appt-disp-window-function): Doc fix.
22205 (appt-check): Handle overlapping appointments. (Bug#8337)
22206
22207 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22208
22209 * window.el (window-tree-1, window-tree): New functions, moving
22210 the latter to window.el.
22211 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22212 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22213 (bw-refresh-edges): Remove.
22214 (balance-windows-1, balance-windows-2): New functions.
22215 (balance-windows): Rewrite in terms of window tree functions,
22216 balance-windows-1 and balance-windows-2.
22217 (bw-adjust-window): Remove.
22218 (balance-windows-area-adjust): New function with functionality of
22219 bw-adjust-window but using resize-window.
22220 (set-window-text-height): Rewrite doc-string.
22221 Use normalize-live-window and resize-window.
22222 (enlarge-window-horizontally, shrink-window-horizontally):
22223 Rename argument to DELTA.
22224 (window-buffer-height): New function.
22225 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22226 Rewrite using new window resize routines.
22227 (kill-buffer-and-window, mouse-autoselect-window-select):
22228 Use ignore-errors instead of condition-case.
22229 (quit-window): Call delete-frame instead of delete-windows-on
22230 for the only buffer on frame.
22231
22232 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22233
22234 * loadup.el (top-level): Load window before files for the sake
22235 of replace-buffer-in-windows.
22236
22237 * files.el (read-buffer-to-switch)
22238 (switch-to-buffer-other-window)
22239 (switch-to-buffer-other-frame, display-buffer-other-frame):
22240 Move to window.el.
22241
22242 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22243 (previous-buffer): Move to window.el.
22244
22245 * bindings.el (unbury-buffer): Move to window.el.
22246
22247 * window.el (delete-other-windows-vertically): Move after
22248 definition of delete-other-windows.
22249 (other-window, delete-windows-on, replace-buffer-in-windows):
22250 Move here from window.c.
22251 (record-window-buffer, unrecord-window-buffer)
22252 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22253 (switch-to-next-buffer): New functions.
22254 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22255 from simple.el. Call switch-to-next-buffer.
22256 (previous-buffer): Move here from simple.el.
22257 Call switch-to-prev-buffer.
22258 (bury-buffer): Move here from buffer.c. Switch to previous
22259 buffer when window cannot be deleted.
22260 (unbury-buffer): Move here from bindings.el.
22261 (ctl-x-map): Move binding for other-window from window.c to
22262 here.
22263 (read-buffer-to-switch, switch-to-buffer-other-window)
22264 (switch-to-buffer-other-frame): Move here from files.el.
22265 (normalize-buffer-to-switch-to): New functions.
22266 (switch-to-buffer): Move here from buffer.c.
22267 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22268
22269 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22270
22271 * window.el (window-min-height, window-min-width): Move here
22272 from window.c. Add defcustoms and rewrite doc-strings.
22273 (resize-mini-window, resize-window): New functions.
22274 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22275 Move here from window.c.
22276 (maximize-window, minimize-window): New functions.
22277 (delete-window, delete-other-windows, split-window): Move here
22278 from window.c.
22279 (window-split-min-size): New function.
22280 (split-window-keep-point): Mention split-window-above-each-other
22281 instead of split-window-vertically.
22282 (split-window-above-each-other, split-window-vertically):
22283 Rename split-window-vertically to split-window-above-each-other
22284 and provide defalias for old definition.
22285 (split-window-side-by-side, split-window-horizontally):
22286 Rename split-window-horizontally to split-window-side-by-side
22287 and provide defalias for the old definition.
22288 (ctl-x-map): Move bindings for delete-window,
22289 delete-other-windows and enlarge-window here from window.c.
22290 Replace bindings for split-window-vertically and
22291 split-window-horizontally by bindings for
22292 split-window-above-each-other and split-window-side-by-side.
22293
22294 * cus-start.el (all): Remove entries for window-min-height and
22295 window-min-width. Add entries for window-splits and
22296 window-nest.
22297
22298 2011-06-09 Glenn Morris <rgm@gnu.org>
22299
22300 * calendar/appt.el (appt-mode-line): New function.
22301 (appt-check, appt-disp-window): Use it.
22302
22303 * files.el (hack-one-local-variable-eval-safep):
22304 Allow minor-modes with explicit +/-1 arguments.
22305
22306 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22307
22308 * term/xterm.el (xterm): Add defgroup.
22309 (xterm-extra-capabilities): Add defcustom to supply known xterm
22310 capabilities, skip querying them, or query them (default).
22311 (terminal-init-xterm): Use it.
22312 (terminal-init-xterm-modify-other-keys): New function to set up
22313 modifyOtherKeys support to simplify `terminal-init-xterm'.
22314
22315 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22316
22317 * window.el (resize-window-reset, resize-window-reset-1)
22318 (resize-subwindows-skip-p, resize-subwindows-normal)
22319 (resize-subwindows, resize-other-windows, resize-this-window)
22320 (resize-root-window, resize-root-window-vertically)
22321 (window-deletable-p, window-or-subwindow-p)
22322 (frame-root-window-p): New functions.
22323
22324 2011-06-09 Glenn Morris <rgm@gnu.org>
22325
22326 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22327 (ange-ftp-get-files): Use it.
22328
22329 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22330
22331 * mail/sendmail.el (mail-recover-1, mail-recover):
22332 * files.el (recover-file, recover-session):
22333 Handle dired-listing-switches not being just a single short option.
22334
22335 2011-06-09 Glenn Morris <rgm@gnu.org>
22336
22337 * calendar/appt.el (appt-display-message, appt-disp-window):
22338 Handle lists of appointments.
22339
22340 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22341
22342 * window.el (one-window-p): Move down in code.
22343 Rewrite doc-string.
22344 (window-current-scroll-bars): Rewrite doc-string.
22345 Normalize live window argument.
22346 (walk-windows, get-window-with-predicate, count-windows):
22347 Rewrite doc-string. Use window-list-1.
22348 (window-in-direction-2, window-in-direction, get-mru-window):
22349 New functions.
22350
22351 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22352
22353 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22354 Doc fix (Bug#8713).
22355
22356 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22357
22358 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22359
22360 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22361
22362 * loadhist.el (unload-feature-special-hooks):
22363 Add `comint-output-filter-functions'.
22364
22365 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22366
22367 * calendar/appt.el (appt-check): Move some initializations into the let.
22368
22369 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22370
22371 * window.el (window-height): Defalias to window-total-height.
22372 (window-width): Defalias to window-body-width.
22373
22374 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22375
22376 * image-mode.el (image-toggle-animation): New command.
22377 (image-mode-map): Bind it to RET.
22378 (image-mode): Update message.
22379 (image-toggle-display-image): Avoid a spurious cache flush.
22380 (image-transform-rotation): Doc fix.
22381 (image-transform-properties): Return quickly in the normal case.
22382 (image-animate-loop): Rename from image-animate-max-time.
22383
22384 * image.el (image-animate-max-time): Move to image-mode.el.
22385 (create-animated-image): Remove unnecessary function.
22386 (image-animate): Rename from image-animate-start. New arg.
22387 (image-animate-stop): Remove; just use image-animate-timer.
22388 (image-animate-timer): Use car-safe.
22389 (image-animate-timeout): Rename argument.
22390
22391 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22392
22393 * window.el (get-lru-window, get-largest-window): Move here from
22394 window.c. Rename first argument to ALL-FRAMES.
22395 Rephrase doc-strings.
22396 (get-buffer-window-list): Rewrite using window-list-1.
22397 Rephrase doc-string.
22398 (window-safe-min-height, window-safe-min-width): New constants.
22399 (window-size-ignore, window-min-size, window-min-size-1)
22400 (window-sizable, window-sizable-p, window-size-fixed-1)
22401 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22402 (window-max-delta-1, window-max-delta, window-resizable)
22403 (window-resizable-p, window-total-height, window-total-width)
22404 (window-body-width): New functions.
22405 (window-full-height-p, window-full-width-p): Rewrite using
22406 window-total-size.
22407 (window-body-height): Rewrite using window-body-size.
22408
22409 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22410
22411 * window.el (window-right, window-left, window-child)
22412 (window-child-count, window-last-child, window-any-p)
22413 (normalize-live-buffer, normalize-live-frame)
22414 (normalize-any-window, normalize-live-window)
22415 (window-iso-combination-p, window-iso-combined-p)
22416 (window-iso-combinations)
22417 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22418 (windows-with-parameter, window-with-parameter)
22419 (window-atom-root, make-window-atom, window-atom-check-1)
22420 (window-atom-check, window-side-check, window-check):
22421 New functions.
22422 (ignore-window-parameters, window-sides, window-sides-vertical)
22423 (window-sides-slots): New variables.
22424 (window-size-fixed): Move down in code. Minor doc-string fix.
22425
22426 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22427
22428 * comint.el (comint-dynamic-complete-as-filename)
22429 (comint-dynamic-complete-filename): Correctly call
22430 completion-in-region.
22431
22432 2011-06-05 Deniz Dogan <deniz@dogan.se>
22433
22434 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22435 in last change.
22436
22437 2011-06-05 Deniz Dogan <deniz@dogan.se>
22438
22439 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22440 (rcirc): Use it to prompt for encryption.
22441
22442 2011-06-05 Roland Winkler <winkler@gnu.org>
22443
22444 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22445 (bibtex-search-entries): New command bound to C-c C-a.
22446 (bibtex-display-entries): New function.
22447
22448 2011-06-05 Roland Winkler <winkler@gnu.org>
22449
22450 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22451 (bibtex-insert-kill): After yanking insert newline if necessary.
22452 (bibtex-initialize): Call bibtex-string-files-init only once.
22453 (bibtex-mode): Do not call easy-menu-add.
22454 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22455 (bibtex-yank): Set arg properly if nil.
22456
22457 2011-06-05 Roland Winkler <winkler@gnu.org>
22458
22459 * textmodes/bibtex.el (bibtex-search-entry-globally):
22460 New variable.
22461 (bibtex-search-entry): Use it.
22462
22463 2011-06-05 Roland Winkler <winkler@gnu.org>
22464
22465 * textmodes/bibtex.el (bibtex-entry-format): New option
22466 sort-fields.
22467 (bibtex-format-entry, bibtex-reformat): Honor this option.
22468 (bibtex-parse-entry): Return fields in proper order.
22469
22470 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22471
22472 * doc-view.el (doc-view-remove-if): Move computation of result out
22473 of `dolist' to silence misleading lexical-binding warning.
22474
22475 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22476
22477 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22478 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22479
22480 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22481
22482 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22483 "SunOS 5.10".
22484
22485 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22486
22487 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22488 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22489 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22490 (tramp-parse-putty):
22491 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22492 (tramp-completion-function-alist-ssh)
22493 (tramp-completion-function-alist-telnet)
22494 (tramp-completion-function-alist-su)
22495 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22496 cookie.
22497
22498 * net/tramp-ftp.el:
22499 * net/tramp-sh.el:
22500 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22501 load "tramp.el" `tramp-set-completion-function'.
22502
22503 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22504
22505 * shell.el: Require and use pcomplete.
22506 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22507 (shell-completion-vars): Set pcomplete-default-completion-function.
22508
22509 2011-06-04 Deniz Dogan <deniz@dogan.se>
22510
22511 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22512 `memq' (Bug#8799).
22513
22514 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22515
22516 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22517
22518 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22519
22520 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22521 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22522 * vc/log-view.el (log-view-beginning-of-defun):
22523 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22524 (smerge-refine-forward, smerge-refine-chopup-region):
22525 Silence warning for unused `dotimes' counter variables.
22526
22527 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22528
22529 * net/tramp.el (tramp-with-progress-reporter): Rename from
22530 with-progress-reporter. Use `declare'.
22531 * net/tramp-smb.el:
22532 * net/tramp-sh.el:
22533 * net/tramp-gvfs.el: Update all uses.
22534
22535 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22536
22537 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22538 buffer isn't killed before making it current.
22539
22540 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22541
22542 Silence various byte-compiler warnings.
22543 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22544 `access-type' and new obsolescence format.
22545 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22546 new format.
22547 (byte-compile-check-variable): New `access-type' argument.
22548 Only warn if the access-type is obsolete.
22549 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22550 (byte-compile-variable-set): Adjust callers.
22551 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22552 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22553 setting it as obsolete.
22554 * simple.el (minibuffer-completing-symbol):
22555 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22556 access as obsolete.
22557 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22558 obsolete yet.
22559 * international/quail.el (quail-mouse-choose-completion): Remove unused
22560 code referring to obsolete var.
22561 (quail-choose-completion-string): Remove.
22562 * server.el (server-clients-with, server-kill-buffer-query-function)
22563 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22564 * proced.el (proced-send-signal):
22565 * emacs-lisp/lisp.el (lisp-complete-symbol):
22566 Replace completion-annotate-function with completion-extra-properties.
22567
22568 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22569
22570 * simple.el (goto-line): Use read-number.
22571 (overriding-map-is-bound): Remove.
22572 (saved-overriding-map): Change default.
22573 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22574 Take the map as argument.
22575 (universal-argument, negative-argument, digit-argument): Use it.
22576 (restore-overriding-map): Adjust.
22577 (do-auto-fill): Use fill-forward-paragraph.
22578 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22579
22580 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22581 (minibuffer-inactive-mode): New major mode.
22582 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22583 the *Messages* buffer" hack.
22584 (mouse-popup-menubar): Don't burp if the event is a normal key.
22585
22586 Miscellaneous tweaks.
22587 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22588 lexical scoping as in subr.el's dolist and dotimes.
22589 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22590 Silence compiler warning.
22591 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22592 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22593 * international/ccl.el (ccl-compile): Trivial simplification.
22594 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22595 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22596 `printflag' argument.
22597 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22598 Purecopy the whole obsolescence data.
22599
22600 2011-06-01 Leo Liu <sdl.web@gmail.com>
22601
22602 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22603 improve doc-string as suggested by Marco Pessotto
22604 <melmothx@gmail.com>.
22605 (rcirc-print): Fix last change.
22606
22607 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22608
22609 * minibuffer.el (complete-with-action): Return nil for the metadata and
22610 boundaries of non-functional tables.
22611 (completion-table-dynamic): Return nil for the metadata.
22612 (completion-table-with-terminator): Add default case, using
22613 complete-with-action.
22614 (completion--metadata): New function.
22615 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22616 to try and avoid pathological performance problems.
22617 (completion--embedded-envvar-table): Return `category' metadata.
22618
22619 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22620
22621 * subr.el (process-alive-p): New tiny convenience function.
22622
22623 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22624
22625 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22626 content but also its previous major mode.
22627
22628 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22629
22630 * emacs-lisp/debug.el (debug): Restore the previous content of the
22631 *Backtrace* buffer when we exit with C-M-c.
22632
22633 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22634
22635 * minibuffer.el: Add metadata method to completion tables.
22636 (completion-category-overrides): New defcustom.
22637 (completion-metadata, completion--field-metadata)
22638 (completion-metadata-get, completion--styles)
22639 (completion--cycle-threshold): New functions.
22640 (completion-try-completion, completion-all-completions):
22641 Add `metadata' argument to choose completion-styles.
22642 (completion--do-completion): Use metadata to choose cycling.
22643 (completion-all-sorted-completions): Use metadata for sorting.
22644 Remove :completion-cycle-penalty which is not needed any more.
22645 (completion--try-word-completion): Add `metadata' argument.
22646 (minibuffer-completion-help): Check metadata for annotation function
22647 and sorting.
22648 (completion-file-name-table): Return `category' metadata.
22649 (minibuffer-completing-file-name): Make obsolete.
22650 * simple.el (minibuffer-completing-symbol): Make obsolete.
22651 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22652 completion-try-completion.
22653
22654 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22655
22656 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22657
22658 2011-05-30 Leo Liu <sdl.web@gmail.com>
22659
22660 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22661 (rcirc-print): Decode all incoming messages (bug#8744).
22662 (rcirc-decode-coding-system): Allow value nil for automatic coding
22663 system detection.
22664
22665 2011-06-01 Glenn Morris <rgm@gnu.org>
22666
22667 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22668
22669 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22670
22671 * image.el (image-animate-max-time): Allow nil and t values.
22672 Default to nil.
22673 (create-animated-image): Doc fix.
22674 (image-animate-start): Remove second arg; just use
22675 image-animate-max-time.
22676 (image-animate-timeout): Doc fix. Args changed.
22677
22678 * image-mode.el (image-toggle-display-image): Ensure that the
22679 image spec passed to the animate timer is the same object as in
22680 the buffer's display property (Bug#6981).
22681 (image-transform-properties): Doc fix.
22682
22683 * image.el (image-animate-max-time): Default to nil.
22684
22685 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22686
22687 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22688 entire buffer list (Bug#8184).
22689
22690 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22691
22692 * image.el (imagemagick-types-inhibit)
22693 (imagemagick-register-types): Doc fix.
22694
22695 2011-05-29 Deniz Dogan <deniz@dogan.se>
22696
22697 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22698 default.
22699
22700 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22701
22702 * select.el: Don't perform clipboard-manager saving in hooks;
22703 leave the hooks empty.
22704
22705 2011-05-28 Leo Liu <sdl.web@gmail.com>
22706
22707 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22708 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22709 (occur-edit-mode): New major mode (Bug#8463).
22710 (occur-after-change-function): New function.
22711 (occur-engine): Give Occur tags a read-only property.
22712
22713 2011-05-28 Kevin Ryde <user42@zip.com.au>
22714
22715 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22716
22717 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22718
22719 * bindings.el (help-echo): Make the initial non-indicator dash
22720 empty on graphical terminals (Bug#7295).
22721
22722 * files.el (auto-mode-alist): Move config rule after the
22723 in-stripping one (Bug#8547).
22724
22725 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22726
22727 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22728 setting (Bug#8740).
22729
22730 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22731
22732 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22733 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22734 (Bug#8539).
22735
22736 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22737
22738 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22739
22740 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22741
22742 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22743 (hs-hide-block-at-point, hs-find-block-beginning)
22744 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22745 (Bug#8279).
22746
22747 2011-05-28 Glenn Morris <rgm@gnu.org>
22748
22749 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22750
22751 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22752
22753 * help-fns.el (describe-function-1): If the function is a derived
22754 major mode, print the parent mode.
22755
22756 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22757 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22758
22759 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22760
22761 * minibuffer.el (completion--capf-wrapper): Check applicability before
22762 returning non-nil for non-exclusive completion data.
22763 * progmodes/etags.el (tags-completion-at-point-function):
22764 * info-look.el (info-lookup-completions-at-point): Mark as
22765 non-exclusive.
22766 (info-complete): Adjust accordingly.
22767
22768 * info-look.el: Convert to lexical-binding and completion-at-point.
22769 (info-lookup-completions-at-point): New function.
22770 (info-complete): Use it and completion-in-region.
22771
22772 2011-05-28 Drew Adams <drew.adams@oracle.com>
22773
22774 * isearch.el: Let M-e start with point at the first mismatched char.
22775 (isearch-fail-pos): New function.
22776 (isearch-edit-string): Use it.
22777
22778 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22779
22780 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22781
22782 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22783
22784 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22785 traversal functions for avl-trees.
22786 (avl-tree--stack): New struct.
22787 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22788 (avl-tree-enter): Add optional `updatefun' arg.
22789 (avl-tree--do-enter): Add optional `updatefun' arg.
22790 Change return value.
22791 (avl-tree-delete): Add optional `test' and `nilflag' args.
22792 (avl-tree--do-delete): Add `test' and `nilflag' args.
22793 Change return value.
22794 (avl-tree-member): Add optional `nilflag'
22795 (avl-tree-member-p): New function.
22796 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22797 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22798 (avl-tree-stack-empty-p): New functions.
22799
22800 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22801 avl-tree--del-balance1 and make it work both ways.
22802 (avl-tree--del-balance2): Remove.
22803 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22804 make it work both ways.
22805 (avl-tree--enter-balance2): Remove.
22806 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22807 New macros.
22808 (avl-tree--mapc, avl-tree-map): Add direction argument.
22809
22810 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22811
22812 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22813
22814 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22815
22816 * select.el: Support clipboard managers with built-in function
22817 x-clipboard-manager-save, via delete-frame-functions and
22818 kill-emacs-hook.
22819 (xselect-convert-to-targets): Add MULTIPLE target to list.
22820 (xselect-convert-to-save-targets): New function.
22821
22822 2011-05-27 Kenichi Handa <handa@m17n.org>
22823
22824 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22825 let-binding rfc2047-encode-encoded-words to nil.
22826
22827 2011-05-27 Glenn Morris <rgm@gnu.org>
22828
22829 * mail/emacsbug.el: Don't require url-util.
22830
22831 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22832
22833 * files.el (set-auto-mode):
22834 Also respect mode: entries at the end of the file. (Bug#8586)
22835
22836 2011-05-26 Glenn Morris <rgm@gnu.org>
22837
22838 * files.el (hack-local-variables-prop-line, hack-local-variables):
22839 Downcase mode names, as seems to be traditional.
22840 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22841
22842 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22843 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22844
22845 2011-05-25 Julien Danjou <julien@danjou.info>
22846
22847 * textmodes/rst.el (rst-define-level-faces): Do not define face
22848 symbol if it is already defined.
22849
22850 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22851
22852 * play/5x5.el (5x5-new-game, 5x5-randomize):
22853 Reset 5x5-solver-output to nil when a new grid is cast.
22854 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22855 these debugging traces, as defmacro breaks the compiled code.
22856
22857 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22858
22859 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22860
22861 2011-05-24 Leo Liu <sdl.web@gmail.com>
22862
22863 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22864 (vc-bzr-sha1): Adapt.
22865
22866 * sha1.el: Remove. Function `sha1' is now builtin.
22867
22868 * bindings.el: Provide sha1 feature.
22869
22870 2011-05-24 Kenichi Handa <handa@m17n.org>
22871
22872 * mail/sendmail.el: Require `rfc2047'.
22873 (mail-insert-from-field): Do not perform RFC2047 encoding.
22874 (mail-encode-header): New function.
22875 (sendmail-send-it): Set buffer-file-coding-system of the work
22876 buffer to the return value of select-message-coding-system.
22877 Call mail-encode-header.
22878
22879 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22880
22881 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22882
22883 * mail/supercite.el (sc-default-cite-frame):
22884 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22885
22886 2011-05-24 Glenn Morris <rgm@gnu.org>
22887
22888 * progmodes/python.el (brm-menu): Declare.
22889
22890 * emulation/viper.el (viper-set-hooks): Declare.
22891
22892 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22893 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22894 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22895 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22896 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22897 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22898
22899 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22900
22901 Add an :exit-function for completion-at-point.
22902
22903 * minibuffer.el (completion--done): New fun.
22904 (completion--do-completion): Use it. New arg `expect-exact'.
22905 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22906 since completion--do-completion does it for us now.
22907 (minibuffer-force-complete): Use completion--done and
22908 completion--replace. Handle sole-completion case with more care.
22909 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22910 (completion-extra-properties): New var.
22911 (completion-annotate-function): Make obsolete.
22912 (minibuffer-completion-help): Adjust accordingly.
22913 Use completion-list-insert-choice-function.
22914 (completion-at-point, completion-help-at-point):
22915 Bind completion-extra-properties.
22916 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22917 * simple.el (completion-list-insert-choice-function): New var.
22918 (completion-setup-function): Preserve it.
22919 (choose-completion): Pay attention to it, shuffle the code a bit.
22920 (choose-completion-string): New arg `insert-function'.
22921
22922 * textmodes/bibtex.el: Convert to lexical binding.
22923 (bibtex-mode-map): Use completion-at-point.
22924 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22925 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22926 (bibtex-complete): Define as obsolete alias.
22927 (bibtex-complete-internal): Remove.
22928 (bibtex-format-entry): Remove unused sub-group in regexp.
22929 * shell.el (shell--command-completion-data)
22930 (shell-environment-variable-completion):
22931 * pcomplete.el (pcomplete-completions-at-point):
22932 * comint.el (comint--complete-file-name-data): Use :exit-function
22933 instead of completion-table-with-terminator so it also works for
22934 choose-completion.
22935
22936 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22937
22938 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22939
22940 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22941 (bug#8710).
22942
22943 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22944
22945 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22946
22947 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22948 customization variable and implement: If non-nil, auto-fill will
22949 be inhibited while on topic's header line.
22950
22951 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22952
22953 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22954 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22955 always have a solution in grid size = 5 cases.
22956 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22957 (5x5-solver-output, 5x5-log-buffer): New vars.
22958 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22959 Make these variables buffer local to achieve 5x5 multi-session-ness.
22960 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22961 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22962 (5x5-solve-suggest): New funs.
22963 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22964 randomize a grid so that we ensure that there is always a solution.
22965 (5x5-make-random-grid): Allow other movement than flipping.
22966
22967 2011-05-23 Kevin Ryde <user42@zip.com.au>
22968
22969 * emacs-lisp/advice.el (ad-read-advised-function):
22970 Use `function-called-at-point' as the default, if it has
22971 advice and passes PREDICATE.
22972
22973 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22974
22975 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22976 byte-compile-lambda if it's actually a lambda.
22977
22978 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22979 Fix function quoting. Use backquote better.
22980
22981 2011-05-22 Yuanle Song <sylecn@gmail.com>
22982
22983 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22984 matching (Bug#8516).
22985
22986 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22987
22988 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22989 different face (Bug#8178).
22990
22991 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22992
22993 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22994 defface (Bug#8144).
22995
22996 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22997
22998 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22999 funcall as well (bug#8712). Warn when performing those conversions.
23000 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23001
23002 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23003
23004 2011-05-22 Glenn Morris <rgm@gnu.org>
23005
23006 * files.el (hack-local-variables-prop-line): Small simplifications.
23007 (hack-local-variables, hack-local-variables-prop-line):
23008 If MODE-ONLY, return the mode, rather than just `t'.
23009
23010 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23011
23012 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23013
23014 2011-05-21 Glenn Morris <rgm@gnu.org>
23015
23016 * files.el (hack-local-variables-prop-line, hack-local-variables):
23017 If only interested in the mode, don't bother doing the other stuff.
23018
23019 * image-mode.el (image-after-revert-hook):
23020 Redraw all frames on which the image is visible. (Bug#8567)
23021
23022 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23023
23024 * wid-edit.el (widget-checklist-match-inline):
23025 Fix 2011-04-19 change. (Bug#8649)
23026
23027 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23028
23029 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23030 Also allow singlespace after single-letter capitals followed by a dot.
23031
23032 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23033 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23034
23035 2011-05-20 Nix <nix@esperi.org.uk>
23036
23037 * files.el (basic-save-buffer-2):
23038 Fix handling of break-hardlink-on-save with non-existent files.
23039
23040 2011-05-19 Deniz Dogan <deniz@dogan.se>
23041
23042 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23043 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23044
23045 2011-05-19 Glenn Morris <rgm@gnu.org>
23046
23047 * progmodes/f90.el (f90-type-def-re):
23048 Handle "type, bind(c)". (Bug#8691)
23049
23050 * emacs-lisp/autoload.el (batch-update-autoloads):
23051 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23052
23053 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23054
23055 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23056 property for the correct connection in case of multihops.
23057
23058 2011-05-18 Glenn Morris <rgm@gnu.org>
23059
23060 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23061 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23062
23063 Rationalize calendar handling of day and month abbrev-arrays.
23064 * calendar/calendar.el (calendar-customized-p): New function.
23065 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23066 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23067 Add :set function.
23068 (calendar-abbrev-length, calendar-day-abbrev-array)
23069 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23070 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23071 Elements may no longer be nil.
23072 (calendar-day-name, calendar-month-name):
23073 Update for changed nature of abbrev arrays.
23074 * calendar/diary-lib.el (diary-name-pattern):
23075 Update for changed nature of abbrev arrays.
23076 (diary-mark-entries-1): Update calendar-make-alist calls.
23077 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23078 * calendar/cal-html.el (cal-html-day-abbrev-array):
23079 Simply inherit from calendar-day-abbrev-array.
23080
23081 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23082
23083 * progmodes/grep.el (grep-mode): Disable default
23084 compilation-directory-matcher setting (bug#8684).
23085
23086 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23087
23088 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23089 instead of "head" and "tail". There were problems with SunOS 5.9,
23090 and it performs better.
23091
23092 2011-05-17 Glenn Morris <rgm@gnu.org>
23093
23094 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23095
23096 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23097 Replace obsolete function.
23098
23099 * shell.el (pcomplete-parse-arguments-function): Declare.
23100
23101 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23102 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23103 (appt-check): Doc fixes.
23104 (appt-disp-window-function, appt-delete-window-function):
23105 Remove needless special case in custom :type.
23106 (appt-display-count): Default to 0, not nil.
23107 (appt-check): Reset appt-display-count to 0, not nil.
23108
23109 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23110
23111 * progmodes/python.el (python-font-lock-keywords):
23112 Add the Python 3.X keyword "nonlocal" (bug#8639).
23113
23114 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23115
23116 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23117
23118 2011-05-16 Kevin Ryde <user42@zip.com.au>
23119
23120 * info-look.el (makefile-automake-mode): New setups, looking in
23121 automake manual, then makefile-mode.
23122 (makefile-mode): Remove automake manual, have it just in
23123 makefile-automake-mode since there's various things different or
23124 not relevant to plain make.
23125 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23126 believe a hypothetical automake-mode would go to makefile-mode,
23127 not the other way around.
23128
23129 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23130
23131 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23132 hunk-end tags (Bug#8672).
23133
23134 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23135 vc-annotate-show-diff-revision-at-line (Bug#8671).
23136
23137 2011-05-14 Glenn Morris <rgm@gnu.org>
23138
23139 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23140 in the middle of an existing one with multiple authors. (Bug#8645)
23141 (change-log-font-lock-keywords): Also handle multiple author lines
23142 with leading tabs. (Bug#8644)
23143
23144 * calendar/appt.el (appt-check): Rename some local variables.
23145 Some simplification/reordering.
23146
23147 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23148 (feedmail-sendmail-f-doesnt-sell-me-out)
23149 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23150 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23151 (feedmail-queue-runner-message-sender): Set :version.
23152 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23153 (bbdb-dwim-net-address, vm-mail): Declare.
23154 (feedmail-binmail-gnulinuxish-template):
23155 Rename from feedmail-binmail-linuxish-template.
23156 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23157 Use insert-buffer-substring.
23158
23159 2011-05-14 Bill Carpenter <bill@carpenter.org>
23160
23161 * mail/feedmail.el (feedmail-patch-level): Increase.
23162 (feedmail-debug): New custom group.
23163 (feedmail-confirm-outgoing-timeout)
23164 (feedmail-sendmail-f-doesnt-sell-me-out)
23165 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23166 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23167 (feedmail-sender-line, feedmail-from-line)
23168 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23169 (feedmail-spray-this-address)
23170 (feedmail-spray-address-fiddle-plex-list)
23171 (feedmail-queue-use-send-time-for-date)
23172 (feedmail-queue-use-send-time-for-message-id)
23173 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23174 (feedmail-buffer-eating-function):
23175 Doc fixes.
23176 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23177 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23178 (feedmail-message-action-scroll-down): New functions.
23179 (feedmail-queue-directory, feedmail-queue-draft-directory):
23180 Use expand-file-name.
23181 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23182 Remove C-v help entry.
23183 (feedmail-queue-buffer-file-name): New variable.
23184 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23185 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23186 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23187 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23188 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23189 (feedmail-message-action-toggle-spray)
23190 (feedmail-run-the-queue-no-prompts)
23191 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23192 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23193 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23194 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23195 (feedmail-envelope-deducer, feedmail-fiddle-from)
23196 (feedmail-fiddle-sender, feedmail-default-date-generator)
23197 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23198 (feedmail-fiddle-spray-address)
23199 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23200 (feedmail-fiddle-list-of-fiddle-plexes)
23201 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23202 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23203 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23204 Change default. Doc fix.
23205 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23206 (feedmail-binmail-linuxish-template): New constant.
23207 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23208 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23209 (feedmail-send-it): Add debug call.
23210 Use feedmail-queue-buffer-file-name, and
23211 feedmail-send-it-immediately-wrapper.
23212 (feedmail-message-action-send): Add debug call.
23213 Use feedmail-send-it-immediately-wrapper.
23214 (feedmail-queue-express-to-queue): Add debug call.
23215 Run feedmail-queue-express-hook.
23216 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23217 (feedmail-message-action-help-blat):
23218 Rename from feedmail-queue-send-edit-prompt-help-first.
23219 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23220 Check line-endings. Handle errors better.
23221 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23222 Doc fix. Add debug call.
23223 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23224 Use feedmail-queue-send-edit-prompt-inner.
23225 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23226 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23227 from feedmail-queue-send-edit-prompt.
23228 (feedmail-queue-send-edit-prompt-help)
23229 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23230 (feedmail-tidy-up-slug): Add debug call.
23231 Respect feedmail-queue-slug-suspect-regexp.
23232 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23233 (feedmail-dump-message-to-queue): Add debug call.
23234 Expand queue-directory.
23235 (feedmail-dump-message-to-queue): Change message slightly.
23236 Use feedmail-say-chatter.
23237 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23238 (feedmail-send-it-immediately-wrapper): New function.
23239 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23240 Insert empty string rather than newline. Handle full-frame case.
23241 Use catch/throw. Use feedmail-say-chatter.
23242 (feedmail-fiddle-from): Try mail-host-address.
23243 (feedmail-default-message-id-generator): Doc fix.
23244 Bind system-time-locale. Handle missing end.
23245 (feedmail-fiddle-x-mailer): Add debug call.
23246 Handle feedmail-x-mailer-line being nil.
23247 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23248 Add debug call. Use buffer-substring-no-properties.
23249 (feedmail-say-debug, feedmail-say-chatter): New functions.
23250 (feedmail-find-eoh): Give an explicit error.
23251
23252 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23253
23254 * net/newst-treeview.el (newsticker-treeview-face): Change default
23255 family from helvetica to sans.
23256 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23257 etc/images/newsticker.
23258
23259 * net/newst-reader.el (newsticker-feed-face): Change default
23260 family from helvetica to sans.
23261
23262 * net/newst-plainview.el (newsticker-new-item-face)
23263 (newsticker-old-item-face, newsticker-immortal-item-face)
23264 (newsticker-obsolete-item-face, newsticker-date-face)
23265 (newsticker-statistics-face): Change default family from
23266 helvetica to sans.
23267 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23268 etc/images/newsticker.
23269
23270 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23271 (newsticker--process-auto-mark-filter-match): Tell user about
23272 auto-marking.
23273
23274 2011-05-13 Didier Verna <didier@xemacs.org>
23275
23276 Common Lisp indentation improvements on defmethod and lambda-lists.
23277 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23278 TODO entries.
23279 (lisp-lambda-list-keyword-parameter-indentation)
23280 (lisp-lambda-list-keyword-parameter-alignment)
23281 (lisp-lambda-list-keyword-alignment): New customizable user options.
23282 (lisp-indent-defun-method): Improve docstring.
23283 (extended-loop-p): Fix comment.
23284 (lisp-indent-lambda-list-keywords-regexp): New variable.
23285 (lisp-indent-lambda-list): New function.
23286 (lisp-indent-259): Use it.
23287 (lisp-indent-defmethod): Support for more than one
23288 method qualifier and properly indent methods lambda-lists.
23289 (defgeneric): Provide a missing common-lisp-indent-function property.
23290
23291 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23292
23293 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23294 bounds for the empty string (bug#8667).
23295
23296 2011-05-13 Glenn Morris <rgm@gnu.org>
23297
23298 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23299
23300 * mail/sendmail.el (sendmail-program): Try executable-find first.
23301 (sendmail-send-it): `sendmail-program' cannot be unbound.
23302
23303 * calendar/appt.el (appt-make-list): Simplify.
23304 (appt-time-msg-list): Doc fix.
23305 (appt-check): Change mode-line message at the time of the appointment.
23306
23307 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23308
23309 * progmodes/ld-script.el (ld-script-keywords)
23310 (ld-script-builtins): Update keywords list.
23311
23312 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23313
23314 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23315
23316 * shell.el (shell-completion-vars): New function.
23317 (shell-mode):
23318 * simple.el (read-shell-command): Use it.
23319 (blink-matching-open): No need for " [...]" in minibuffer-message.
23320
23321 2011-05-12 Glenn Morris <rgm@gnu.org>
23322
23323 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23324 (appt-check): Simplify.
23325
23326 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23327
23328 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23329 literal "/dev/null".
23330
23331 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23332
23333 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23334 Fix typo.
23335
23336 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23337
23338 * progmodes/which-func.el (which-function):
23339 Use add-log-current-defun instead of add-log-current-defun-function,
23340 which might not be defined (Bug#8260).
23341
23342 2011-05-12 Glenn Morris <rgm@gnu.org>
23343
23344 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23345 Let byte-compile-initial-macro-environment always take precedence.
23346
23347 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23348
23349 * net/rcirc.el: Add support for SSL/TLS connections.
23350 (rcirc-server-alist): New field `encryption'.
23351 (rcirc): Check `encryption' settings.
23352 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23353 Merge make-local-variable into `set'.
23354 (rcirc--connection-open-p): New function.
23355 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23356 the process is not a network process (e.g. running gnutls-cli).
23357 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23358 Make rcirc-(en|de)code-coding-system local here.
23359 (rcirc-mode): Merge make-local-variable into `set'.
23360 (rcirc-parent-buffer): Make permanent buffer-local.
23361 (rcirc-multiline-minor-mode): Don't do it here.
23362 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23363 there's no server buffer.
23364
23365 2011-05-11 Glenn Morris <rgm@gnu.org>
23366
23367 * newcomment.el (comment-kill): Prefix "unused" local.
23368
23369 * term/w32console.el (get-screen-color): Declare.
23370
23371 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23372 Handle symbol elements of byte-compile-initial-macro-environment.
23373
23374 2011-05-10 Leo Liu <sdl.web@gmail.com>
23375
23376 * bookmark.el (bookmark-bmenu-mode-map):
23377 Bind bookmark-bmenu-search to `/'.
23378
23379 * mail/footnote.el: Convert to utf-8 encoding.
23380 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23381 (Footnote-unicode): New function.
23382 (footnote-style-alist): Add unicode style to the list.
23383 (footnote-style): Doc fix.
23384
23385 2011-05-10 Jim Meyering <meyering@redhat.com>
23386
23387 Fix doubled-word typos.
23388 * international/quail.el (quail-insert-kbd-layout): and and -> and
23389 * kermit.el: and and -> and
23390 * net/ldap.el (ldap-search-internal): to to -> to
23391 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23392 * progmodes/js.el (js-mode): and and -> and
23393 * textmodes/artist.el (artist-move-to-xy): at at -> at
23394 (artist-draw-region-trim-line-endings): if if -> if
23395 And Safetyc -> Safety.
23396 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23397
23398 2011-05-10 Glenn Morris <rgm@gnu.org>
23399 Stefan Monnier <monnier@iro.umontreal.ca>
23400
23401 * files.el (hack-one-local-variable-eval-safep):
23402 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23403
23404 2011-05-10 Glenn Morris <rgm@gnu.org>
23405
23406 * calendar/diary-lib.el (diary-list-entries-hook)
23407 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23408 (diary-nongregorian-marking-hook, diary-list-entries)
23409 (diary-include-other-diary-files, diary-mark-entries)
23410 (diary-mark-included-diary-files): Doc fixes.
23411
23412 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23413
23414 * misc.el: Require tabulated-list.el during compilation.
23415
23416 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23417
23418 * progmodes/compile.el (compilation-start):
23419 Run compilation-filter-hook for the async case too.
23420 (compilation-filter-hook): Doc fix.
23421
23422 2011-05-09 Deniz Dogan <deniz@dogan.se>
23423
23424 * wdired.el: Remove outdated installation comment. Fix usage
23425 comment.
23426
23427 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23428
23429 * misc.el: Implement new command `list-dynamic-libraries'.
23430 (list-dynamic-libraries--loaded-only-p): New variable.
23431 (list-dynamic-libraries--refresh): New function.
23432 (list-dynamic-libraries): New command.
23433
23434 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23435
23436 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23437 Fix the ant regexp to handle end-line and end-column info from jikes.
23438 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23439 higher priority to avoid clobbering by gnu.
23440
23441 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23442
23443 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23444 if the face has existing theme settings (Bug#8454).
23445
23446 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23447
23448 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23449 Only match variables declared via `my' or `our' (Bug#8261).
23450
23451 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23452 special file names `.' and `..' (Bug#8259).
23453
23454 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23455
23456 * progmodes/grep.el (grep-mode-font-lock-keywords):
23457 Remove buffer-changing entries.
23458 (grep-filter): New function.
23459 (grep-mode): Add it to compilation-filter-hook.
23460
23461 * progmodes/compile.el (compilation-filter-hook)
23462 (compilation-filter-start): New defvars.
23463 (compilation-filter): Call compilation-filter-hook prior to
23464 updating the process mark.
23465
23466 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23467
23468 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23469
23470 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23471
23472 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23473 mailclient-send-it even if window-system is nil. (Bug#8595)
23474
23475 * term/w32console.el (terminal-init-w32console):
23476 Call get-screen-color and use its output to set the frame
23477 background-mode. (Bug#8597)
23478
23479 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23480
23481 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23482 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23483 New functions.
23484 (defgeneric, eieio--defmethod): Use them.
23485 (eieio-defgeneric): Remove.
23486 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23487
23488 2011-05-07 Glenn Morris <rgm@gnu.org>
23489
23490 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23491 Use let rather than let*.
23492 (timeclock-find-discrep): Remove unused local.
23493
23494 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23495
23496 * calendar/appt.el (appt-time-msg-list): Doc fix.
23497
23498 2011-05-06 Noah Friedman <friedman@splode.com>
23499
23500 * apropos.el (apropos-print-doc): Only use
23501 emacs-lisp-docstring-fill-column when it is bound to an integer,
23502 per that variable's documentation.
23503
23504 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23505
23506 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23507 and warnings are not silently discarded (e.g. use -d instead of -P).
23508
23509 2011-05-06 Glenn Morris <rgm@gnu.org>
23510
23511 * calendar/appt.el (appt-message-warning-time): Doc fix.
23512 (appt-warning-time-regexp): New option.
23513 (appt-make-list): Respect appt-message-warning-time.
23514
23515 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23516 New options.
23517 (diary-add-to-list): Strip comments from the displayed string.
23518 (diary-mode): Set comment-start and comment-end.
23519
23520 * vc/diff-mode.el (smerge-refine-subst): Declare.
23521 (diff-refine-hunk): Don't require smerge-mode when compiling.
23522
23523 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23524
23525 * simple.el (list-processes): Return nil as the docstring says.
23526
23527 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23528
23529 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23530 to "".
23531 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23532 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23533 determining of binary transfer. (Bug#7383)
23534
23535 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23536
23537 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23538 Fix port computation bug. (Bug#8618)
23539
23540 2011-05-05 Glenn Morris <rgm@gnu.org>
23541
23542 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23543
23544 * simple.el (shell-dynamic-complete-functions)
23545 (comint-dynamic-complete-functions): Declare.
23546
23547 * net/network-stream.el (gnutls-negotiate):
23548 * simple.el (tabulated-list-print): Fix declarations.
23549
23550 * progmodes/gud.el (syntax-symbol, syntax-point):
23551 Remove unnecessary and incorrect declarations.
23552
23553 * emacs-lisp/check-declare.el (check-declare-scan):
23554 Handle byte-compile-initial-macro-environment in bytecomp.el.
23555
23556 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23557
23558 Fix earlier half-done eieio-defmethod change (bug#8338).
23559 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23560 Streamline and change calling convention.
23561 (defmethod): Adjust accordingly and simplify.
23562 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23563 new eieio--defmethod.
23564 (slot-boundp): Minor CSE simplification.
23565
23566 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23567
23568 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23569 (glasses-make-readable): Use glasses-separate-capital-groups.
23570
23571 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23572
23573 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23574 (warning-series): Doc fix.
23575 (display-warning): Don't try to create the buffer if we just found it.
23576
23577 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23578
23579 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23580 (autoload-find-generated-file): New function.
23581 (generate-file-autoloads): Bind generated-autoload-file to
23582 buffer-file-name.
23583 (update-file-autoloads, update-directory-autoloads):
23584 Use autoload-find-generated-file. If called interactively, prompt for
23585 output file (Bug#7989).
23586 (batch-update-autoloads): Doc fix.
23587
23588 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23589
23590 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23591
23592 2011-05-04 Glenn Morris <rgm@gnu.org>
23593
23594 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23595 function, so it follows changes in calendar-date-style.
23596 (diary-fancy-date-matcher): New function.
23597 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23598 (diary-fancy-font-lock-fontify-region-function):
23599 Use diary-fancy-date-pattern as a function.
23600
23601 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23602 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23603
23604 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23605
23606 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23607 instead of positional arguments. Allow :keylist and :crlfiles
23608 arguments.
23609 (open-gnutls-stream): Call it.
23610
23611 * net/network-stream.el (network-stream-open-starttls): Adjust to
23612 call `gnutls-negotiate' with :process and :hostname arguments.
23613
23614 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23615
23616 * minibuffer.el (completion--message): New function.
23617 (completion--do-completion, minibuffer-complete)
23618 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23619 (completion--do-completion): Don't ignore completion-auto-help when in
23620 icomplete-mode.
23621
23622 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23623 internal encoding (e.g. tibetan zero is not whitespace).
23624 (global-whitespace-mode): Prefer save-current-buffer.
23625 (whitespace-trailing-regexp): Remove useless save-match-data.
23626 (whitespace-empty-at-bob-regexp): Minor simplification.
23627
23628 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23629
23630 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23631
23632 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23633
23634 * textmodes/ispell.el (ispell-add-per-file-word-list):
23635 Use `concat' to create string for insertion.
23636
23637 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23638
23639 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23640 Avoid open-line which runs post-self-insert-hook.
23641 (bibtex-fill-entry): Remove unused `end' var.
23642
23643 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23644
23645 * textmodes/ispell.el (ispell-add-per-file-word-list):
23646 Protect against `nil' value of `comment-start' (Bug#8579).
23647
23648 2011-05-03 Leo Liu <sdl.web@gmail.com>
23649
23650 * isearch.el (isearch-yank-pop): New command.
23651 (isearch-mode-map): Bind it to `M-y'.
23652 (isearch-forward): Mention it.
23653
23654 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23655
23656 * simple.el (minibuffer-complete-shell-command): Remove.
23657 (minibuffer-local-shell-command-map): Use completion-at-point.
23658 (read-shell-command): Setup completion vars here instead.
23659 (read-expression-map): Bind TAB to symbol completion.
23660
23661 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23662 error directly rather via storing it into `results'.
23663
23664 2011-05-02 Leo Liu <sdl.web@gmail.com>
23665
23666 * vc/diff.el: Fix description.
23667
23668 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23669
23670 * server.el (server-eval-at): New function.
23671
23672 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23673
23674 * net/network-stream.el (open-network-stream): Take a :nowait
23675 parameter and pass it on to `make-network-process'.
23676 (network-stream-open-plain): Ditto.
23677
23678 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23679
23680 * faces.el (face-spec-set-match-display): Don't match toolkit
23681 options on terminal frames.
23682
23683 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23684
23685 * progmodes/pascal.el: Use lexical binding.
23686 (pascal-mode-map): Remove author preferences.
23687
23688 * pcomplete.el (pcomplete-std-complete): Don't abuse
23689 completion-at-point.
23690
23691 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23692
23693 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23694 removing code that has been dead since 1991 or so.
23695
23696 * startup.el (command-line): When warning about "_emacs", use a
23697 delayed warning to allow the user to filter it out.
23698
23699 2011-04-28 Deniz Dogan <deniz@dogan.se>
23700
23701 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23702 user has not joined.
23703
23704 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23705
23706 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23707 aren't any completions at point.
23708
23709 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23710
23711 * subr.el (display-delayed-warnings): New function.
23712 (delayed-warnings-hook): New variable.
23713
23714 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23715
23716 * minibuffer.el (completion-at-point, completion-help-at-point):
23717 Don't presume that a given completion-at-point-function will always
23718 use the same calling convention.
23719
23720 * pcomplete.el (pcomplete-completions-at-point):
23721 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23722 pcomplete-seen is non-nil.
23723 (pcomplete-comint-setup): Also recognize the new comint/shell
23724 completion functions.
23725 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23726 pcomplete-seen is non-nil.
23727
23728 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23729
23730 * calendar/icalendar.el (diary-lib): Add require statement.
23731 (icalendar--create-uid): Read out a uid from a text-property on
23732 the first character in the entry. This allows for code to add its
23733 own uid to the entry.
23734 (icalendar--convert-float-to-ical): Add export of
23735 `diary-float'-entries save for those with the optional DAY
23736 argument.
23737
23738 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23739
23740 * subr.el (shell-quote-argument): Use alternate escaping strategy
23741 when we spot a variable reference in a string.
23742
23743 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23744
23745 * cus-start.el (all): Define customization for debug-on-event.
23746
23747 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23748
23749 * subr.el (shell-quote-argument): Escape correctly under Windows.
23750
23751 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23752
23753 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23754
23755 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23756
23757 * net/tramp.el (tramp-process-actions): Add POS argument.
23758 Delete region between POS and (pos).
23759
23760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23761 Use `nil' position in `tramp-process-actions' call.
23762 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23763
23764 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23765 position in `tramp-process-actions' call.
23766
23767 * net/trampver.el: Update release number.
23768
23769 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 * custom.el (defcustom): Obey lexical-binding.
23772
23773 Fix octave-inf completion problems reported by Alexander Klimov.
23774 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23775 Inherit from octave-mode-syntax-table.
23776 (inferior-octave-mode): Set info-lookup-mode.
23777 (inferior-octave-completion-at-point): New function.
23778 (inferior-octave-complete): Use it and completion-in-region.
23779 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23780 comint-filename-completion.
23781 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23782 symbol elements which shouldn't be word elements.
23783 (octave-font-lock-keywords, octave-beginning-of-defun)
23784 (octave-function-header-regexp): Adjust regexps accordingly.
23785 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23786
23787 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23788
23789 * net/gnutls.el (gnutls-errorp): Declare before first use.
23790
23791 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23792
23793 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23794 verify-error, and verify-hostname-error parameters. Check whether
23795 default trustfile exists before going to use it. Add missing
23796 argument to gnutls-message-maybe call. Return value.
23797 Reported by Claudio Bley <claudio.bley@gmail.com>.
23798 (open-gnutls-stream): Add usage example.
23799
23800 * net/network-stream.el (network-stream-open-starttls): Give host
23801 parameter to `gnutls-negotiate'.
23802 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23803 * subr.el (shell-quote-argument): Escape correctly under Windows.
23804
23805 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23806
23807 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23808 Use correct match group (bug#8438).
23809
23810 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23811
23812 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23813 (package-menu--generate): New arg specifying packages to show.
23814 (package-menu-refresh, package-menu-execute, list-packages):
23815 Callers changed.
23816 (package-show-package-list): New function, replacing deleted
23817 package--list-packages (renamed because it is non-internal).
23818
23819 * finder.el (finder-list-matches): Use package-show-package-list
23820 instead of deleted package--list-packages.
23821
23822 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23823 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23824 (vc-annotate-mode-map): Bind it to RET.
23825
23826 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23827
23828 * progmodes/etags.el (next-file): Don't use set-buffer to change
23829 buffers (Bug#8478).
23830
23831 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23832
23833 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23834
23835 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23836 (apropos-accumulator): Doc fix.
23837 (apropos-function, apropos-macro, apropos-command)
23838 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23839 (apropos-plist): Add face property.
23840 (apropos-symbols-internal): Fix indentation.
23841 (apropos-print): Simplify help, and recognize apropos-multi-type.
23842 (apropos-print-doc): Use button-type-get to extract the button's
23843 face property. Fill docstring (Bug#8352).
23844
23845 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23846
23847 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23848
23849 * play/mpuz.el (mpuz-silent): Doc fix.
23850 (mpuz-mode-map): Use mapc.
23851 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23852 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23853 Fix typos in docstrings.
23854
23855 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23856 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23857
23858 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23859
23860 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23861
23862 * minibuffer.el (completion--do-completion): Avoid the "Next char
23863 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23864
23865 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23866 mouse-2 into unread-command-events, it is interpreted correctly.
23867
23868 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23869 (image-toggle-display): Doc fix.
23870
23871 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23872
23873 * textmodes/page.el (what-page): Use line-number-at-pos to
23874 calculate line number (Bug#6825).
23875
23876 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23877
23878 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23879 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23880 Pass argument NO-DEFAULT to `find-tag-interactive'.
23881
23882 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23883
23884 Lexical-binding cleanup.
23885
23886 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23887 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23888 * progmodes/ada-prj.el (ada-prj-initialize-values)
23889 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23890 (ada-prj-show-value):
23891 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23892 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23893 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23894 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23895 * progmodes/bug-reference.el (bug-reference-push-button):
23896 * progmodes/fortran.el (fortran-line-length):
23897 * progmodes/glasses.el (glasses-change):
23898 * progmodes/octave-mod.el (octave-fill-paragraph):
23899 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23900 (python-pdbtrack-grub-for-buffer, python-sentinel):
23901 * progmodes/sql.el (sql-save-connection):
23902 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23903 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23904 Mark unused parameters.
23905
23906 * progmodes/compile.el (compilation--flush-directory-cache)
23907 (compilation--flush-parse, compile-internal): Mark unused parameters.
23908 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23909 (compilation-next-error-function): Remove unused variable `timestamp'.
23910
23911 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23912 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23913
23914 * progmodes/dcl-mode.el (dcl-end-of-command):
23915 Remove unused variable `start'.
23916 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23917 (dcl-option-value-basic, dcl-option-value-offset)
23918 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23919 Mark unused parameters.
23920 (dcl-save-local-variable): Remove unused variable `val'.
23921 (mode): Declare.
23922
23923 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23924 Mark unused parameters.
23925 (delphi-ignore-changes): Move before first use.
23926 (delphi-charset-token-at): Remove unused variable `start'.
23927 (delphi-else-start): Remove unused variable `if-count'.
23928 (delphi-comment-block-start, delphi-comment-block-end):
23929 Remove unused variable `kind'.
23930 (delphi-indent-line): Remove unused variable `new-point'.
23931
23932 * progmodes/ebrowse.el (ebrowse-files-list)
23933 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23934 Mark unused parameters. Don't quote `lambda'.
23935 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23936 Don't quote `lambda'.
23937 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23938 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23939 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23940 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23941 Use `ignore-errors'.
23942 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23943 (ebrowse-view/find-file-and-search-pattern)
23944 (ebrowse-view/find-member-declaration/definition):
23945 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23946 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23947 Rename parameter PREFIX-ARG to PREFIX.
23948 (ebrowse-tags-read-name): Remove unused variables `start' and
23949 `member-info'.
23950 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23951 to `tags-file'.
23952
23953 * progmodes/etags.el (local-find-tag-hook): Declare.
23954 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23955 Mark unused parameters.
23956
23957 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23958 (executable-interpret): Mark unused parameter.
23959
23960 * progmodes/flymake.el (flymake-process-sentinel)
23961 (flymake-after-change-function)
23962 (flymake-create-temp-with-folder-structure)
23963 (flymake-get-include-dirs-dot): Mark unused parameters.
23964 (flymake-safe-delete-directory): Remove unused variable `err'.
23965
23966 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23967 (speedbar-timer-fn, speedbar-line-text)
23968 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23969 (speedbar-center-buffer-smartly): Declare functions.
23970 (gdb-find-watch-expression): Remove unused variable `array'.
23971 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23972 (gdb-starting): Mark unused parameters.
23973 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23974 (gdb-table-string): Remove unused variable `res'.
23975 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23976 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23977 (gdb-display-buffer): Remove unused variable `cur-size'.
23978
23979 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23980 allow lexical-binding compilation.
23981 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23982 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23983 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23984 Mark unused parameters.
23985 (gud-gdb-marker-filter): Remove unused variable `match'.
23986 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23987 lambda expressions and funcall them, instead of using `fset'.
23988
23989 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23990 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23991
23992 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23993 variable `header-beg'; use `let'.
23994
23995 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23996 `restart', `last-sexp' and `at-do'.
23997
23998 * progmodes/js.el (js--debug): Mark unused parameter.
23999 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24000 (js--splice-into-items): Remove unused variable `item'.
24001 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24002
24003 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24004 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24005 (makefile-complete): Remove unused variable `try'.
24006 (makefile-fill-paragraph, makefile-match-function-end):
24007 Mark unused parameters.
24008
24009 * progmodes/octave-inf.el (inferior-octave-complete):
24010 Remove unused variable `proc'.
24011 (inferior-octave-output-digest): Mark unused parameter.
24012
24013 * progmodes/perl-mode.el (perl-calculate-indent):
24014 Remove unused variable `err'.
24015
24016 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24017 (prolog-indent-line): Mark unused parameters.
24018 (prolog-indent-line): Remove unused variable `beg'.
24019
24020 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24021 (reporter-dont-compact-list): Declare.
24022
24023 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24024 Remove unused variable `char'.
24025 (sh-debug): Mark unused parameter.
24026 (sh-get-indent-info): Remove unused variable `start'.
24027 (sh-calculate-indent): Remove unused variable `var'.
24028
24029 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24030 (simula-electric-keyword): Remove unused variable `null'.
24031 (simula-search-backward, simula-search-forward): Remove unused
24032 variables `begin' and `end'.
24033
24034 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24035 Remove unused variable `pos'.
24036 (vera-electric-tab, vera-comment-uncomment-region):
24037 Mark unused parameters.
24038 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24039
24040 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24041
24042 * emacs-lisp/package.el (package--builtins, package-alist)
24043 (package-load-descriptor, package-built-in-p, package-activate)
24044 (define-package, package-installed-p)
24045 (package-compute-transaction, package-buffer-info)
24046 (package--push): Doc fix. Distinguish more clearly between
24047 version strings and version lists.
24048
24049 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24050
24051 Lexical-binding cleanup.
24052
24053 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24054 (5x5-make-mutate-best):
24055 * play/fortune.el (fortune-in-buffer):
24056 * play/gomoku.el (gomoku-init-display):
24057 * play/solitaire.el (solitaire, solitaire-do-check):
24058 * play/tetris.el (tetris-default-update-speed-function):
24059 Mark unused parameters.
24060
24061 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24062 (bubbles--shift): Remove unused variable `char-org'.
24063 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24064 (bubbles--show-images): Remove unused variable `char'.
24065
24066 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24067 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24068 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24069 (decipher-analyze-buffer): Use ?\s.
24070 (decipher-make-checkpoint): Remove unused variable `mapping'.
24071
24072 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24073
24074 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24075 Remove unused variable `result'; use `let'.
24076
24077 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24078 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24079 (gametree-children-shown-p, gametree-compute-reduced-score):
24080 Use `ignore-errors'.
24081
24082 * play/handwrite.el (ps-lpr-switches): Declare.
24083 (handwrite): Remove unused variables `pmin' and `lastp'.
24084
24085 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24086
24087 * play/landmark.el (landmark-init-display)
24088 (landmark-update-naught-weights): Mark unused parameters.
24089 (landmark-y): Remove unused variable `noise'. Simplify.
24090 (landmark-human-plays): Remove unused variable `score'.
24091
24092 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24093 (mpuz-try-proposal): Remove unused variable `game'.
24094
24095 * play/zone.el (life-patterns): Declare.
24096
24097 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24098
24099 * vc/vc.el (ediff-vc-internal): Declare function.
24100
24101 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24102
24103 * shell.el: Use lexical-binding and std completion UI.
24104 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24105 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24106 comint-preoutput-filter-functions rather than on
24107 comint-output-filter-functions.
24108 (shell-command-completion, shell--command-completion-data)
24109 (shell-filename-completion, shell-environment-variable-completion)
24110 (shell-c-a-p-replace-by-expanded-directory): New functions.
24111 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24112 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24113 (shell-dynamic-complete-environment-variable): Use them.
24114 (shell-dynamic-complete-as-environment-variable)
24115 (shell-dynamic-complete-as-command): Remove.
24116 (shell-match-partial-variable): Match past point.
24117 * comint.el: Clean up use of completion-at-point-functions.
24118 (comint-completion-at-point): New function.
24119 (comint-mode): Use it completion-at-point-functions.
24120 (comint-dynamic-complete): Make it obsolete.
24121 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24122 (comint-c-a-p-replace-by-expanded-history): New function.
24123 (comint-dynamic-complete-functions)
24124 (comint-replace-by-expanded-history): Use it.
24125 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24126 termination strings. Try harder to avoid second try-completion.
24127 (completion-in-region-mode-map): Disable bindings that don't work yet.
24128
24129 * comint.el: Use lexical-binding. Require CL.
24130 (comint-dynamic-complete-functions): Use comint-filename-completion.
24131 (comint-completion-addsuffix): Tweak custom type.
24132 (comint-filename-completion, comint--common-suffix)
24133 (comint--common-quoted-suffix, comint--table-subvert)
24134 (comint--complete-file-name-data): New functions.
24135 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24136 (comint-dynamic-list-filename-completions): Use them.
24137 (comint-dynamic-simple-complete): Make obsolete.
24138
24139 * minibuffer.el (completion-in-region-mode):
24140 Keep completion-in-region-mode--predicate global.
24141 (completion-in-region--postch):
24142 Assume completion-in-region-mode--predicate is not null.
24143
24144 * progmodes/flymake.el (flymake-start-syntax-check-process):
24145 Obey `dir'. Simplify.
24146
24147 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24148 we're in VC after all.
24149
24150 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24151
24152 * vc/vc.el (vc-diff-build-argument-list-internal)
24153 (vc-version-ediff, vc-ediff): New commands.
24154 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24155
24156 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24157
24158 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24159 add sanity check.
24160
24161 * obsolete/erc-hecomplete.el: Make obsolete.
24162 * obsolete/: Standardize obsolescence info in the header.
24163
24164 2011-04-20 Glenn Morris <rgm@gnu.org>
24165
24166 * calendar/solar.el (solar-horizontal-coordinates):
24167 Use the longitude argument rather than `calendar-longitude'.
24168 (solar-date-next-longitude): Remove unused locals.
24169
24170 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24171
24172 * whitespace.el: New version 13.2.1.
24173
24174 2011-04-20 felix <EmacsWiki> (tiny change)
24175
24176 * whitespace.el (global-whitespace-mode): Keep highlight when
24177 switching between major modes on a file.
24178
24179 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24180
24181 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24182 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24183 multi-line comments as well.
24184
24185 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24186
24187 Lexical-binding cleanup.
24188
24189 * arc-mode.el (archive-mode-revert):
24190 * cmuscheme.el (scheme-interactively-start-process):
24191 * custom.el (custom-initialize-delay):
24192 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24193 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24194 * emacs-lock.el (emacs-lock-clear-sentinel):
24195 * ezimage.el (defezimage):
24196 * follow.el (follow-avoid-tail-recenter):
24197 * fringe.el (set-fringe-mode-1):
24198 * generic-x.el (bat-generic-mode-compile):
24199 * help-mode.el (help-info-variable, help-do-xref)
24200 (help-mode-revert-buffer):
24201 * help.el (view-emacs-todo):
24202 * iswitchb.el (iswitchb-completion-help):
24203 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24204 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24205 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24206 * locate.el (locate-update):
24207 * longlines.el (longlines-encode-region)
24208 (longlines-after-change-function):
24209 * outline.el (outline-isearch-open-invisible):
24210 * ps-def.el (declare-function, charset-dimension, char-width)
24211 (encode-char):
24212 * ps-mule.el (ps-mule-plot-string):
24213 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24214 (recentf-edit-list-select, recentf-edit-list-validate)
24215 (recentf-open-files-action):
24216 * rect.el (delete-whitespace-rectangle-line)
24217 (rectangle-number-line-callback):
24218 * register.el (window-configuration-to-register)
24219 (frame-configuration-to-register):
24220 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24221 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24222 (xselect-convert-to-targets, xselect-convert-to-delete)
24223 (xselect-convert-to-filename, xselect-convert-to-charpos)
24224 (xselect-convert-to-lineno, xselect-convert-to-colno)
24225 (xselect-convert-to-os, xselect-convert-to-host)
24226 (xselect-convert-to-user, xselect-convert-to-class)
24227 (xselect-convert-to-name, xselect-convert-to-integer)
24228 (xselect-convert-to-atom, xselect-convert-to-identity):
24229 * subr.el (declare, ignore, process-kill-without-query)
24230 (text-clone-maintain):
24231 * terminal.el (te-get-char, te-tic-sentinel):
24232 * tool-bar.el (tool-bar-make-keymap):
24233 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24234 * type-break.el (type-break-mode, type-break-noninteractive-query):
24235 * view.el (View-back-to-mark):
24236 * wid-browse.el (widget-browse-action, widget-browse-widget)
24237 (widget-browse-widgets, widget-browse-sexp):
24238 * widget.el (define-widget-keywords):
24239 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24240 Mark unused parameters.
24241
24242 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24243 (align-areas): Remove unused variable `look'.
24244 (align-region): Remove unused variables `real-end' and `pos-list'.
24245
24246 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24247
24248 * bindings.el (mode-line-modified, mode-line-remote):
24249 Mark unused parameters.
24250 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24251
24252 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24253 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24254
24255 * comint.el (comint-history-isearch-pop-state)
24256 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24257 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24258 (comint-substitute-in-file-name): Doc fix.
24259
24260 * completion.el (cmpl-statistics-block): Mark unused parameter.
24261 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24262 (save-completions-to-file, load-completions-from-file):
24263 Remove unused local variable `e'.
24264
24265 * composite.el (compose-chars): Remove unused variable `len'.
24266 (lgstring-insert-glyph): Remove unused variable `g'.
24267 (compose-glyph-string): Remove unused variables `ascent',
24268 `descent', `lbearing' and `rbearing'.
24269 (compose-glyph-string-relative): Remove unused variables
24270 `lbearing', `rbearing' and `wadjust'.
24271 (compose-gstring-for-graphic): Remove unused variables `header',
24272 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24273 (compose-gstring-for-terminal): Remove unused variables `header'
24274 and `nchars'. Use `let', not `let*'.
24275
24276 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24277 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24278 (Custom-buffer-done, custom-buffer-create-internal)
24279 (custom-browse-visibility-action, custom-browse-group-tag-action)
24280 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24281 (widget-magic-mouse-down-action, custom-toggle-parent)
24282 (custom-add-parent-links, custom-toggle-hide-variable)
24283 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24284 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24285 (custom-face-menu-create, custom-variable-menu-create, get)
24286 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24287 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24288 (customize-apropos): Remove unused variable `tests'.
24289 (custom-group-value-create): Remove unused variable `hidden-p'.
24290 (sort-fold-case): Declare.
24291
24292 * cus-theme.el (custom-reset-standard-faces-list)
24293 (custom-reset-standard-variables-list): Declare.
24294 (customize-create-theme, custom-theme-revert, custom-theme-write)
24295 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24296 Mark unused parameters.
24297
24298 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24299
24300 * delim-col.el (delimit-columns-max): Move defvar before first use.
24301
24302 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24303 (describe-char): Don't quote `lambda'. Mark unused parameter.
24304
24305 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24306 (auto-insert): Declare.
24307 (desktop-restore-file-buffer): Rename desktop-* parameters;
24308 mark unused ones.
24309 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24310 (desktop-buffer): Rename desktop-* parameters.
24311
24312 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24313 (dframe-reposition-frame-xemacs, dframe-help-echo)
24314 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24315 Mark unused parameters.
24316
24317 * dired-aux.el (backup-extract-version-start, overwrite-query)
24318 (overwrite-backup-query, rename-regexp-query)
24319 (rename-non-directory-query): Declare.
24320 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24321 (dired-add-entry): Remove unused variable `orig-file-name'.
24322 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24323 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24324 `dired-copy-preserve-time' directly.
24325 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24326 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24327
24328 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24329 (dired-virtual-revert, dired-make-relative-symlink):
24330 Mark unused parameters.
24331 (manual-program): Declare.
24332 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24333 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24334 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24335
24336 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24337
24338 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24339
24340 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24341 Declare.
24342
24343 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24344
24345 * electric.el (Electric-command-loop): Rename parameter
24346 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24347
24348 * expand.el (expand-in-literal): Remove unused variable `here'.
24349
24350 * facemenu.el (facemenu-add-new-color):
24351 Remove unused variable `docstring'.
24352
24353 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24354 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24355 (face-attr-construct): Mark unused parameter. Doc fix.
24356 (read-color): Remove unused variable `hex-string'.
24357
24358 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24359 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24360 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24361 (display-buffer-other-frame): Remove unused variable `old-window'.
24362 (kill-buffer-hook): Declare.
24363 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24364 Mark unused parameters.
24365 (after-find-file): Pass 1 to `auto-save-mode', not t.
24366
24367 * files-x.el (auto-insert): Declare.
24368 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24369
24370 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24371 variable `buf'. Mark unused parameter.
24372 (find-lisp-insert-directory): Mark unused parameter.
24373
24374 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24375 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24376 (format-common-tail): Remove, unused.
24377 (format-deannotate-region): Remove unused variable `loc'.
24378 (format-annotate-region): Remove unused variable `p'.
24379 (format-annotate-single-property-change): Remove unused variables
24380 `default' and `tail'.
24381
24382 * forms.el (read-file-filter): Declare.
24383 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24384
24385 * frame.el (frame-creation-function-alist): Mark unused parameter.
24386 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24387
24388 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24389 Remove unused parameters.
24390 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24391 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24392
24393 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24394 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24395 (hfy-prepare-tag-map): Mark unused parameters.
24396 (htmlfontify-buffer): Use `called-interactively-p'.
24397
24398 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24399 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24400 (ibuffer-do-occur): Mark unused parameters.
24401 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24402 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24403
24404 * ibuffer.el: Don't quote `lambda'.
24405 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24406 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24407 Mark unused parameters.
24408
24409 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24410 (ido-completing-read): Mark unused parameters.
24411 (ido-copy-current-word): Mark unused parameters;
24412 remove unused variable `name'.
24413 (ido-sort-merged-list): Remove unused parameter `dirs'.
24414
24415 * ielm.el (ielm-input-sender): Mark unused parameter.
24416 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24417 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24418 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24419 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24420 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24421
24422 * image-dired.el (image-dired-display-thumbs): Remove unused
24423 variables `curr-file' and `count'.
24424 (image-dired-remove-tag): Remove unused variable `start'.
24425 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24426 variable `curr-file'
24427 (image-dired-rotate-original): Remove unused variable `temp-file'.
24428 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24429 Remove unused variable `file'.
24430 (image-dired-gallery-generate): Remove unused variable `curr'.
24431 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24432
24433 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24434
24435 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24436
24437 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24438
24439 * isearch.el (minibuffer-history-symbol): Declare.
24440 (isearch-edit-string): Remove unused variable `err'.
24441 (isearch-message-prefix, isearch-message-suffix):
24442 Mark unused parameters.
24443
24444 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24445
24446 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24447
24448 * makesum.el (double-column): Remove unused variable `cnt'.
24449
24450 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24451 (ido-ignore-item-temp-list): Declare.
24452
24453 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24454 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24455 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24456 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24457 `mouse-col-delta'.
24458
24459 * mouse-sel.el (mouse-extend-internal):
24460 Remove unused variable `orig-window-frame'.
24461
24462 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24463 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24464 Move declarations before first use.
24465 (pcomplete-opt): Mark unused parameters; doc fix.
24466
24467 * proced.el (proced-revert): Mark unused parameter.
24468 (proced-send-signal): Remove unused variable `err'.
24469
24470 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24471 Rename parameter PREFIX-ARG to ARG.
24472 (ps-basic-plot-string, ps-basic-plot-whitespace):
24473 Mark unused parameters.
24474
24475 * replace.el (replace-count): Define.
24476 (occur-revert-function): Mark unused parameters.
24477 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24478 (isearch-case-fold-search, isearch-string): Declare.
24479 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24480 bind `case-fold-search'. Remove unused variables `beg' and `end',
24481 and simplify.
24482 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24483 COUNT and bind `replace-count'.
24484 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24485 to COUNT.
24486
24487 * savehist.el (print-readably, print-string-length): Declare.
24488
24489 * shadowfile.el (shadow-expand-cluster-in-file-name):
24490 Remove unused variable `cluster'.
24491 (shadow-copy-file): Remove unused variable `i'.
24492 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24493 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24494 (shadow-define-literal-group, shadow-define-regexp-group)
24495 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24496
24497 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24498 (shell): Use `called-interactively-p'.
24499 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24500
24501 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24502 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24503 (delete-backward-char): Remove unused variable `ocol'.
24504 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24505 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24506 (event-apply-hyper-modifier, event-apply-shift-modifier)
24507 (event-apply-control-modifier, event-apply-meta-modifier):
24508 Mark unused parameters.
24509 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24510 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24511
24512 * speedbar.el (speedbar-ignored-directory-expressions)
24513 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24514 (speedbar-find-file, speedbar-dir-follow)
24515 (speedbar-directory-buttons-follow, speedbar-tag-find)
24516 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24517 (speedbar-buffers-line-directory, speedbar-buffer-click):
24518 Mark unused parameters.
24519 (speedbar-tag-file): Remove unused variable `mode'.
24520 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24521
24522 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24523
24524 * talk.el (talk): Remove unused variable `display'.
24525
24526 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24527 (tar-write-region-annotate): Mark unused parameter.
24528
24529 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24530 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24531 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24532 warning by another.
24533
24534 * time-stamp.el (time-stamp-string-preprocess):
24535 Remove unused variable `require-padding'.
24536
24537 * tree-widget.el (widget-glyph-enable): Declare.
24538 (tree-widget-action): Mark unused parameter.
24539
24540 * w32-fns.el (x-get-selection): Mark unused parameter.
24541 (autoload-make-program, generated-autoload-file): Declare.
24542
24543 * wdired.el (wdired-revert): Mark unused parameters.
24544 (wdired-xcase-word): Remove unused variable `err'.
24545
24546 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24547 (whitespace-help-scroll): Remove unused variable `data-help'.
24548
24549 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24550 (widget-image-insert, widget-after-change, default)
24551 (widget-default-format-handler, widget-default-notify)
24552 (widget-default-prompt-value, widget-info-link-action)
24553 (widget-url-link-action, widget-function-link-action)
24554 (widget-variable-link-action, widget-file-link-action)
24555 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24556 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24557 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24558 (widget-insert-button-action, widget-delete-button-action, visibility)
24559 (widget-documentation-link-action, widget-documentation-string-action)
24560 (widget-const-prompt-value, widget-regexp-match, symbol)
24561 (widget-coding-system-prompt-value)
24562 (widget-key-sequence-value-to-external, sexp)
24563 (widget-sexp-value-to-internal, character, vector, cons)
24564 (widget-choice-prompt-value, widget-boolean-prompt-value)
24565 (widget-color--choose-action): Mark unused parameters.
24566 (widget-item-match-inline, widget-choice-match-inline)
24567 (widget-checklist-match, widget-checklist-match-inline)
24568 (widget-group-match): Rename parameter VALUES to VALS.
24569 (widget-field-value-set): Remove unused variable `size'.
24570 (widget-color-action): Remove unused variables `value' and `start'.
24571
24572 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24573 variable `dir'. Doc fix.
24574 (windmove-find-other-window): Don't pass it.
24575
24576 * window.el (count-windows): Mark unused parameter.
24577 (bw-adjust-window): Remove unused variable `err'.
24578
24579 * woman.el (woman-file-name): Remove unused variable `default'.
24580 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24581 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24582 (global-font-lock-mode): Declare.
24583 (woman-decode-region): Mark unused parameter.
24584 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24585
24586 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24587 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24588 (x-dnd-handle-moz-url): Remove unused variable `title'.
24589 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24590
24591 * xml.el (xml-parse-tag, xml-parse-attlist):
24592 Remove unused variable `pos'.
24593
24594 2011-04-19 Glenn Morris <rgm@gnu.org>
24595
24596 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24597 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24598 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24599 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24600 * calendar/cal-html.el (cal-html-insert-minical):
24601 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24602 (calendar-mark-date-pattern):
24603 Prefix "unused" locals.
24604
24605 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24606 optional argument `style'.
24607
24608 * calendar/appt.el (appt-make-list):
24609 * calendar/cal-china.el (calendar-chinese-date-string):
24610 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24611 (diary-hebrew-yahrzeit):
24612 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24613 * calendar/calendar.el (calendar-generate-window):
24614 * calendar/time-date.el (time-to-days):
24615 Remove unused local variables.
24616
24617 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24618
24619 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24620 glyphless-char-display table.
24621 (tabulated-list-glyphless-char-display): New var.
24622
24623 2011-04-18 Sam Steingold <sds@gnu.org>
24624
24625 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24626 to acknowledgments.
24627
24628 2011-04-17 Glenn Morris <rgm@gnu.org>
24629
24630 * calendar/diary-lib.el (diary-sexp-entry):
24631 * calendar/holidays.el (holiday-sexp):
24632 Set debug-on-error rather than the removed stack-trace-on-error.
24633
24634 2011-04-16 Glenn Morris <rgm@gnu.org>
24635
24636 * progmodes/f90.el: Use lexical-binding.
24637 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24638
24639 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24640
24641 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24642 (mail-mode): Setup mailalias completion here instead.
24643 * mail/mailalias.el: Use lexical-binding.
24644 (pattern, mailalias-done): Declare dynamic.
24645 (mail-completion-at-point-function): New function, from mail-complete.
24646 (mail-complete): Use it.
24647 (mail-completion-expand): New function.
24648 (mail-get-names): Use it.
24649 (mail-directory, mail-directory-process, mail-directory-stream):
24650 Don't use `pattern' for lexically bound arg.
24651
24652 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24653
24654 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24655 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24656 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24657
24658 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24659 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24660 (byte-interactive-p): Define them again, for use when inlining
24661 old code.
24662
24663 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24664
24665 * loadup.el: Use `string-to-number', not `string-to-int'.
24666
24667 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24668
24669 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24670 gud-gdb-complete-command.
24671 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24672 (gud-gdb-completion-at-point): New function.
24673 (gud-gdb-completions): Remove.
24674
24675 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24676
24677 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24678 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24679 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24680 whether `executable-find' is bound.
24681
24682 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24683
24684 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24685
24686 * minibuffer.el (completion-in-region-mode-predicate)
24687 (completion-in-region-mode--predicate): New vars.
24688 (completion-in-region, completion-in-region--postch)
24689 (completion-in-region-mode): Use them.
24690 (completion--capf-wrapper): Also return the hook function.
24691 (completion-at-point, completion-help-at-point):
24692 Adjust and provide a predicate.
24693
24694 Preserve arg names for advice of subr and lexical functions (bug#8457).
24695 * help-fns.el (help-function-arglist): Consolidate the subr and
24696 new-byte-code cases. Add argument `preserve-names' to extract names
24697 from the docstring when needed.
24698 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24699 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24700 (ad-arglist): Use help-function-arglist's new arg.
24701 (ad-definition-type): Use cond.
24702
24703 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24704
24705 * autorevert.el (auto-revert-handler):
24706 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24707 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24708 Don't quote lambda.
24709
24710 * image-mode.el (image-transform-set-scale):
24711 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24712
24713 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24714
24715 * net/network-stream.el (network-stream-open-starttls): Only do
24716 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24717 Upgrades via gnutls-cli are too slow to be done opportunistically.
24718
24719 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24720
24721 * dframe.el (dframe-current-frame): Remove spurious quote.
24722
24723 2011-04-12 Glenn Morris <rgm@gnu.org>
24724
24725 * calendar/cal-tex.el (cal-tex-end-document):
24726 Try to automatically use latin1 input if needed.
24727
24728 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24729 Don't try to cons a mark onto an empty element.
24730
24731 2011-04-11 Leo Liu <sdl.web@gmail.com>
24732
24733 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24734 buffers.
24735 (ido-kill-buffer-at-head): Support killing virtual buffers.
24736
24737 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24738
24739 * minibuffer.el (completion-show-inline-help): New var.
24740 (completion--do-completion, minibuffer-complete)
24741 (minibuffer-force-complete, minibuffer-complete-word):
24742 Inhibit minibuffer messages if completion-show-inline-help is nil.
24743
24744 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24745 to avoid interference from inline help (Bug#5849).
24746
24747 2011-04-10 Leo Liu <sdl.web@gmail.com>
24748
24749 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24750 Fix typo.
24751
24752 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24753
24754 * image-mode.el (image-toggle-display-image): Signal an error if
24755 not in Image mode.
24756 (image-transform-mode, image-transform-resize)
24757 (image-transform-set-rotation): Doc fix.
24758 (image-transform-set-resize): Delete.
24759 (image-transform-set-scale, image-transform-fit-to-height)
24760 (image-transform-fit-to-width): Handle image-toggle-display-image
24761 and image-transform-resize directly.
24762
24763 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24764
24765 * doc-view.el (doc-view-fit-width-to-window)
24766 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24767 New functions for fitting the shown image to the Emacs window size.
24768 (doc-view-mode-map): Add bindings for the new functions.
24769
24770 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24771
24772 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24773 Fix typo in docstring.
24774
24775 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24776
24777 * files.el (file-size-human-readable): Produce one digit after
24778 decimal, like "ls -lh" does.
24779
24780 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24781 the file size representation.
24782
24783 * simple.el (list-processes): If async subprocesses are not
24784 available, error out with a clear error message.
24785
24786 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24787
24788 * help.el (help-form-show): New function, to be called from C.
24789 Put help-form output in a buffer named differently than *Help*.
24790
24791 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24792
24793 * files.el (file-size-human-readable): New function.
24794
24795 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24796 computing the representation inline. Don't require `cl'.
24797
24798 2011-04-08 Glenn Morris <rgm@gnu.org>
24799
24800 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24801
24802 * net/browse-url.el (browse-url-firefox):
24803 Test system-type, not system-configuration.
24804
24805 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24806 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24807 Use log-edit-empty-buffer-p. (Bug#7598)
24808
24809 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24810 (rlogin-mode-map): Initialize in the defvar.
24811 (rlogin): Use ignore-errors.
24812
24813 * replace.el (occur-mode-map): Some fixes for menu items.
24814
24815 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24816
24817 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24818
24819 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24820
24821 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24822 issuing unused warnings.
24823
24824 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24825 macro directly.
24826
24827 * simple.el: Lisp reimplement of list-processes. Based on an
24828 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24829 (process-menu-mode): New major mode.
24830 (list-processes--refresh, list-processes):
24831 (process-menu-visit-buffer): New functions.
24832
24833 * files.el (save-buffers-kill-emacs): Don't assume any return
24834 value of list-processes, which is undocumented anyway.
24835
24836 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24837
24838 * emacs-lisp/tabulated-list.el: New file.
24839
24840 * emacs-lisp/package.el: Use Tabulated List mode.
24841 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24842 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24843 table format using Tabulated List mode variables.
24844 (package--push): New macro, replacing package-list-maybe-add.
24845 (package-menu--generate): Use package--push. Renamed from
24846 package--generate-package-list.
24847 (package-menu-refresh, list-packages): Use it.
24848 (package-menu--print-info): Rename from package-print-package.
24849 Return insertion data instead of inserting it directly.
24850 (package-menu-describe-package, package-menu-execute):
24851 Use tabulated-list-get-id.
24852 (package-menu-mark-delete, package-menu-mark-install)
24853 (package-menu-mark-unmark, package-menu-backup-unmark)
24854 (package-menu-mark-obsolete-for-deletion):
24855 Use tabulated-list-put-tag.
24856 (package--list-packages, package-menu-revert)
24857 (package-menu-get-package, package-menu-get-version)
24858 (package-menu-sort-by-column): Functions deleted.
24859 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24860 (package-menu--status-predicate, package-menu--version-predicate)
24861 (package-menu--name-predicate)
24862 (package-menu--description-predicate): Handle arguments in the
24863 Tabulated List format.
24864 (package-list-packages-no-fetch): Call list-packages.
24865
24866 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24867
24868 * files.el (after-find-file-from-revert-buffer): Remove variable.
24869 (after-find-file): Don't bind it.
24870 (revert-buffer-in-progress-p): New variable.
24871 (revert-buffer): Bind it.
24872 Pass nil for `after-find-file-from-revert-buffer'.
24873
24874 * saveplace.el (save-place-find-file-hook): Use new variable
24875 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24876
24877 2011-04-06 Glenn Morris <rgm@gnu.org>
24878
24879 * Makefile.in (AUTOGEN_VCS): New variable.
24880 (autoloads): Use $AUTOGEN_VCS.
24881
24882 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24883 * calendar/calendar.el (calendar-mode-map):
24884 Check for toolkit scroll bars. (Bug#8305)
24885
24886 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24887
24888 * minibuffer.el (completion-in-region--postch)
24889 (completion-in-region-mode): Remove unnecessary messages.
24890
24891 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24892
24893 * font-lock.el (font-lock-refresh-defaults):
24894 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24895 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24896
24897 * info.el (Info-directory-list, Info-read-node-name-2)
24898 (Info-split-parameter-string): Doc fixes.
24899 (Info-virtual-nodes): Reflow docstring.
24900 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24901 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24902 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24903 Fix typos in docstrings.
24904 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24905 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24906 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24907 (Info-restore-desktop-buffer): Mark unused parameters.
24908 (Info-directory-find-file, Info-directory-find-node)
24909 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24910 (Info-virtual-index-find-node, Info-apropos-find-file)
24911 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24912 Mark unused parameters; fix typos in docstrings.
24913 (Info-virtual-index): Remove unused local variable `nodename'.
24914
24915 2011-04-05 Deniz Dogan <deniz@dogan.se>
24916
24917 * net/rcirc.el: Update my e-mail address.
24918 (rcirc-mode-map): Remove M-o binding.
24919
24920 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24921
24922 * startup.el (command-line): Save the cursor's theme-face
24923 directly, instead of using face-override-spec.
24924
24925 * custom.el (load-theme): Minor optimization in assigning faces.
24926
24927 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24928
24929 * help-fns.el (describe-variable): Complete all variables having
24930 documentation, including keywords.
24931 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24932
24933 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24934
24935 Convert to lexical-binding.
24936
24937 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24938 (bs--get-marked-string, bs--get-modified-string)
24939 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24940 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24941 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24942
24943 * ehelp.el (electric-help-execute-extended)
24944 (electric-help-ctrl-x-prefix):
24945 * hexl.el (hexl-revert-buffer-function):
24946 * linum.el (linum-after-change, linum-after-scroll):
24947 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24948
24949 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24950
24951 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24952
24953 * epa-dired.el:
24954 * epa-mail.el:
24955 * epa-hook.el:
24956 * epa-file.el:
24957 * epa.el:
24958 * epg.el: Use lexical binding.
24959
24960 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24961
24962 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24963
24964 * textmodes/flyspell.el (flyspell-word): Recognize default
24965 dictionary case for flyspell-mark-duplications-exceptions.
24966 Use regexp matching for languages.
24967 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24968 default dictionary (Bug#7926).
24969
24970 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24971
24972 * emacs-lisp/package.el (package--with-work-buffer):
24973 Recognize https URLs.
24974
24975 * net/network-stream.el: Move from gnus/proto-stream.el.
24976 Change prefix to network-stream throughout.
24977 (open-protocol-stream): Merge into open-network-stream, leaving
24978 open-protocol-stream as an alias. Handle nil BUFFER args.
24979
24980 * subr.el (open-network-stream): Move to net/network-stream.el.
24981
24982 2011-04-02 Glenn Morris <rgm@gnu.org>
24983
24984 * find-dired.el (find-exec-terminator): New option.
24985 (find-ls-option): Test for -ls support.
24986 (find-ls-subdir-switches): Test for -b in find-ls-option.
24987 (find-dired, find-grep-dired): Doc fixes.
24988 (find-dired): Use find-exec-terminator.
24989
24990 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24991 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24992 (find-name-arg): Remove purecopy.
24993
24994 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24995 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24996 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24997 accordingly. Don't add the null-device if not needed.
24998
24999 * files.el (save-some-buffers): Doc fix.
25000
25001 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25002
25003 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25004
25005 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25006
25007 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25008 Use `dolist' rather than `mapcar'.
25009
25010 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25011
25012 Add lexical binding.
25013
25014 * subr.el (apply-partially): Use new closures rather than CL.
25015 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25016 (dolist, dotimes): Use slightly different expansion for lexical code.
25017 (functionp): Move to C.
25018 (letrec): New macro.
25019 (with-wrapper-hook): Use it and apply-partially instead of CL.
25020 (eval-after-load): Preserve lexical-binding.
25021 (save-window-excursion, with-output-to-temp-buffer): Turn them
25022 into macros.
25023
25024 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25025
25026 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25027 than the arglist.
25028 (help-add-fundoc-usage): Don't add `Not documented'.
25029 (help-function-arglist): Handle closures, subroutines, and new
25030 byte-code-functions.
25031 (help-make-usage): Remove leading underscores.
25032 (describe-function-1): Handle closures.
25033 (describe-variable): Use special-variable-p for completion.
25034
25035 * files.el (lexical-binding): Declare safe.
25036
25037 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25038 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25039 (pcase): Add `let' pattern.
25040 Change memoization so it actually works.
25041 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25042 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25043 <let>: New case.
25044
25045 * emacs-lisp/macroexp.el: Use lexical binding.
25046 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25047 Don't convert ' to #' without checking that it's indeed quoting
25048 a lambda.
25049
25050 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25051 Use eval-sexp-add-defvars.
25052 (eval-sexp-add-defvars): New fun.
25053
25054 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25055
25056 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25057 Don't autoload.
25058 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25059 than the internal `byte-compile-lambda'.
25060 (defmethod): Don't hide code under quotes.
25061 (eieio-defmethod): New `code' argument.
25062
25063 * emacs-lisp/eieio-comp.el: Remove.
25064
25065 * emacs-lisp/edebug.el (edebug-eval-defun)
25066 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25067 (edebug-toggle): Avoid `eval'.
25068
25069 * emacs-lisp/disass.el (disassemble-internal): Handle new
25070 `closure' objects.
25071 (disassemble-1): Handle new byte codes.
25072
25073 * emacs-lisp/cl.el (pushnew): Silence warning.
25074
25075 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25076 (cl-byte-compile-throw): Remove.
25077 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25078
25079 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25080 closures.
25081
25082 * emacs-lisp/cconv.el: New file.
25083
25084 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25085 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25086 (byte-compile-initial-macro-environment):
25087 Handle declare-function here.
25088 (byte-compile--lexical-environment): New var.
25089 (byte-stack-ref, byte-stack-set, byte-discardN)
25090 (byte-discardN-preserve-tos): New lap codes.
25091 (byte-interactive-p): Don't use any more.
25092 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25093 New macros.
25094 (byte-compile-lapcode): Use them and handle new lap codes.
25095 (byte-compile-obsolete): Remove.
25096 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25097 (byte-compile-arglist-warn): Check late def of inlinable funs.
25098 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25099 since they should have been expanded by now.
25100 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25101 (byte-compile-from-buffer): Remove unused second arg.
25102 (byte-compile-preprocess): New function.
25103 (byte-compile-toplevel-file-form): New function to distinguish
25104 file-form calls from outside from file-form calls from hunk-handlers.
25105 (byte-compile-file-form): Simplify.
25106 (byte-compile-file-form-defsubst): Remove.
25107 (byte-compile-file-form-defmumble): Simplify now that
25108 byte-compile-lambda always returns a byte-code-function.
25109 (byte-compile): Preprocess.
25110 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25111 Remove, not used any more.
25112 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25113 (byte-compile-make-args-desc): New funs.
25114 (byte-compile-lambda): Handle lexical functions. Always return
25115 a byte-code-function.
25116 (byte-compile-reserved-constants): New var, to make up room for
25117 closed-over variables.
25118 (byte-compile-constants-vector): Obey it.
25119 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25120 (byte-compile-macroexpand-declare-function): New function.
25121 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25122 byte-code-functions.
25123 (byte-compile-form): Check obsolescence here.
25124 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25125 (byte-compile-variable-ref): Remove.
25126 (byte-compile-dynamic-variable-op): New fun.
25127 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25128 (byte-compile-variable-set): New funs.
25129 (byte-compile-discard): Add 2 args.
25130 (byte-compile-stack-ref, byte-compile-stack-set)
25131 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25132 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25133 macroexpand-all instead.
25134 (byte-compile-quote-form): Remove.
25135 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25136 (byte-compile-bind, byte-compile-unbind): New funs.
25137 (byte-compile-let): Handle let* and lexical binding.
25138 (byte-compile-let*): Remove.
25139 (byte-compile-catch, byte-compile-unwind-protect)
25140 (byte-compile-track-mouse, byte-compile-condition-case):
25141 Handle a new :fun-body form, used for lexical scoping.
25142 (byte-compile-save-window-excursion)
25143 (byte-compile-with-output-to-temp-buffer): Remove.
25144 (byte-compile-defun): Simplify.
25145 (byte-compile-stack-adjustment): New fun.
25146 (byte-compile-out): Use it.
25147 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25148
25149 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25150 handler any more.
25151
25152 * emacs-lisp/byte-opt.el: Use lexical binding.
25153 (byte-inline-lapcode): Remove (to bytecomp).
25154 (byte-compile-inline-expand): Pay attention to inlining to/from
25155 lexically bound code.
25156 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25157 any more.
25158 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25159 any more and don't call compiler-macros.
25160 (byte-compile-splice-in-already-compiled-code): Remove.
25161 (byte-code): Don't inline any more.
25162 (disassemble-offset): Receive `bytes' as argument rather than via
25163 dynamic scoping.
25164 (byte-compile-tag-number): Declare before first use.
25165 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25166 `return' even if make-spliceable.
25167 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25168 obsolete interactive-p.
25169 (byte-optimize-lapcode): Optimize new lap-codes.
25170 Don't trip up on new form of `byte-constant' lap code.
25171
25172 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25173
25174 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25175
25176 * custom.el (custom-initialize-default, custom-declare-variable):
25177 Use `defvar'.
25178
25179 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25180 New variables.
25181 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25182 (COMPILE_FIRST): Add macroexp and cconv.
25183 * makefile.w32-in: Mirror changes in Makefile.in.
25184
25185 * vc/cvs-status.el:
25186 * vc/diff-mode.el:
25187 * vc/log-edit.el:
25188 * vc/log-view.el:
25189 * vc/smerge-mode.el:
25190 * textmodes/bibtex-style.el:
25191 * textmodes/css-mode.el:
25192 * startup.el:
25193 * uniquify.el:
25194 * minibuffer.el:
25195 * newcomment.el:
25196 * reveal.el:
25197 * server.el:
25198 * mpc.el:
25199 * emacs-lisp/smie.el:
25200 * doc-view.el:
25201 * dired.el:
25202 * abbrev.el: Use lexical binding.
25203
25204 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25205
25206 * info.el (info-display-manual): New function.
25207
25208 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25209
25210 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25211
25212 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25213
25214 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25215 an entry for that server in rcirc-authinfo. (Bug#8385)
25216
25217 2011-03-31 Glenn Morris <rgm@gnu.org>
25218
25219 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25220
25221 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25222
25223 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25224
25225 * progmodes/python.el (python-default-interpreter)
25226 (python-python-command-args, python-jython-command-args)
25227 (python-which-shell, python-which-args, python-which-bufname)
25228 (python-file-queue, python-comint-output-filter-function)
25229 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25230 variables and functions.
25231
25232 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25233
25234 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25235 (completion-in-region-mode): New minor mode.
25236 (completion-in-region): Use it.
25237 (completion-in-region--data, completion-in-region-mode-map): New vars.
25238 (completion-in-region--postch): New function.
25239 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25240 New vars.
25241 (completion--capf-wrapper): New function.
25242 (completion-at-point): Use it to track well-behavedness of
25243 hook functions.
25244 (completion-help-at-point): New command.
25245
25246 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25247
25248 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25249 syntax class to search for whitespace on a single line
25250 (Message-ID: <4D938140.4030905@redhat.com>).
25251
25252 2011-03-30 Leo Liu <sdl.web@gmail.com>
25253
25254 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25255 New commands.
25256 (edit-abbrevs-map): Bind them here.
25257 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25258
25259 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25260
25261 * allout.el (allout-hide-by-annotation, allout-flag-region):
25262 Reduce possibility of overlay leakage by making them volatile.
25263
25264 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25265 hash is not shared between buffers. Mode initialization is
25266 responsible for giving it a useful starting value.
25267 (allout-item-span): Reduce possibility of overlay leakage by
25268 making them volatile.
25269 (allout-widgets-count-buttons-in-region): Add diagnostic function
25270 for tracking down button overlay leaks.
25271
25272 2011-03-29 Leo Liu <sdl.web@gmail.com>
25273
25274 * ido.el (ido-read-internal): Use the default history var
25275 minibuffer-history if no HISTORY is specified.
25276
25277 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25278
25279 * net/imap.el (imap-shell-open, imap-process-connection-type):
25280 Use imap-process-connection-type for 'shell' streams as well as
25281 Kerberos, SSL, other subprocesses.
25282
25283 2011-03-28 Leo Liu <sdl.web@gmail.com>
25284
25285 * abbrev.el (abbrev-table-empty-p): New function.
25286 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25287 nonempty ones. (Bug#5937)
25288
25289 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25290
25291 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25292
25293 2011-03-27 Leo Liu <sdl.web@gmail.com>
25294
25295 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25296 for foreground and background colors.
25297 (ansi-color-make-color-map): Adapt.
25298
25299 2011-03-25 Leo Liu <sdl.web@gmail.com>
25300
25301 * midnight.el (midnight-time-float): Remove. Note it calculates
25302 the microsecond component incorrectly and seconds-to-time does the
25303 same job.
25304 Remove redundant (require 'timer).
25305
25306 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25307 (ido-completions): Remove unused arguments. (Bug#8329)
25308
25309 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25310
25311 * minibuffer.el (completion--flush-all-sorted-completions):
25312 Remove itself from hook.
25313 (completion-at-point): Let the functions perform the completion
25314 immediately and return nil or t.
25315 * comint.el (comint-dynamic-complete-functions): Now identical to
25316 completion-at-point-functions.
25317 (comint-dynamic-list-input-ring): Remove unused var `index'.
25318 (comint--match-partial-filename, comint--unquote&expand-filename):
25319 New funs, split from comint-match-partial-filename.
25320 (comint-dynamic-complete): Use completion-at-point.
25321 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25322
25323 2011-03-24 Drew Adams <drew.adams@oracle.com>
25324
25325 * thingatpt.el: Support `defun'.
25326
25327 2011-03-23 Leo Liu <sdl.web@gmail.com>
25328
25329 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25330
25331 * help-mode.el (help-mode-finish): Tweak regexp.
25332
25333 2011-03-23 Glenn Morris <rgm@gnu.org>
25334
25335 * eshell/esh-opt.el (eshell-eval-using-options):
25336 Do not bind unused local variable `eshell-option-stub'.
25337
25338 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25339
25340 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25341
25342 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25343 keymap variable in `with-no-warnings' to avoid a warning when the
25344 keymap has been already `defconst'ed.
25345
25346 2011-03-22 Leo Liu <sdl.web@gmail.com>
25347
25348 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25349 encode all chars in abbrevs; otherwise use emacs-mule or
25350 utf-8-emacs. (Bug#8308)
25351
25352 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25353
25354 * simple.el (backward-delete-char-untabify):
25355 Avoid warning about using `delete-backward-char'.
25356
25357 * image.el (image-type-file-name-regexps): Make it variable.
25358 `imagemagick-register-types' modifies it, and the user may want
25359 to add new extensions for known image types.
25360 (imagemagick-register-types): Throw error if not using ImageMagick.
25361
25362 2011-03-22 Leo Liu <sdl.web@gmail.com>
25363
25364 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25365 located before rcirc-prompt-end-marker.
25366 (rcirc-complete): Error if point is not after rcirc prompt.
25367 Handle the case when table is nil.
25368 (rcirc-user-authenticated): Define to fix compiler warning.
25369
25370 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25371
25372 * custom.el (custom--inhibit-theme-enable): Make it affect only
25373 custom-theme-set-variables and custom-theme-set-faces.
25374 (provide-theme): Ignore custom--inhibit-theme-enable.
25375 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25376 (custom-enabling-themes): Delete variable.
25377 (enable-theme): Accept only loaded themes as arguments.
25378 Ignore the special custom-enabled-themes variable.
25379 (custom-enabled-themes): Forbid themes from setting this.
25380 Eliminate use of custom-enabling-themes.
25381 (custom-push-theme): Quote "changed" custom var entry.
25382
25383 2011-03-21 Leo Liu <sdl.web@gmail.com>
25384
25385 * ido.el (ido-read-internal): Add ido-selected to history instead
25386 of user input.
25387
25388 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25389
25390 * subr.el (deferred-action-list, deferred-action-function):
25391 Mark obsolete.
25392
25393 2011-03-21 Leo Liu <sdl.web@gmail.com>
25394
25395 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25396 change on 2011-02-13 (bug#8309).
25397
25398 * minibuffer.el (read-file-name-function): Change default value.
25399 (read-file-name--defaults): Rename from read-file-name-defaults.
25400 (read-file-name-default): Rename from read-file-name.
25401 (read-file-name): Call read-file-name-function.
25402
25403 2011-03-21 Glenn Morris <rgm@gnu.org>
25404
25405 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25406 Doc fixes.
25407
25408 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25409
25410 * cus-theme.el: Add missing provide statement.
25411 (customize-create-theme): Extract theme value correctly.
25412 (custom-theme-visit-theme): Autoload.
25413 (customize-create-theme): Prompt before inserting default faces.
25414
25415 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25416
25417 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25418 units and musical notes.
25419
25420 2011-03-20 Leo Liu <sdl.web@gmail.com>
25421
25422 * ido.el (ido-read-internal): Use completing-read-default.
25423 (ido-completing-read): Fix compatibility with completing-read.
25424
25425 2011-03-20 Christian Ohler <ohler@gnu.org>
25426
25427 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25428 (ert-delete-all-tests): Use `called-interactively-p' rather than
25429 `interactive-p'.
25430 (ert--make-xrefs-region): Respect END.
25431
25432 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25433
25434 * dired-aux.el (dired-create-directory): Signal an error if the
25435 directory already exists (Bug#8246).
25436
25437 * facemenu.el (list-colors-display): Call list-faces-display
25438 inside with-help-window.
25439 (list-colors-print): Use display property to align the final
25440 column, instead of checking window-width.
25441
25442 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25443
25444 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25445 windows-nt systems.
25446 (emerge-protect-metachars): Quote correctly for ms-dos and
25447 windows-nt systems.
25448
25449 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25450
25451 * info.el (info-initialize): Replace all uses of `:' with
25452 path-separator for compatibility with non-Unix systems.
25453 Cache quoting of path-separator. (Bug#8258)
25454
25455 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25456
25457 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25458 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25459 (mouse-avoidance-mode): Fix typos in docstrings.
25460
25461 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25462
25463 * startup.el (package-subdirectory-regexp): Move from package.el.
25464 Omit \\` and \\', and let callers add them.
25465
25466 * emacs-lisp/package.el (package-strip-version)
25467 (package-load-all-descriptors): Add \\` and \\' to
25468 package-subdirectory-regexp before using it.
25469 (package-untar-buffer): New arg DIR; ensure that file untars only
25470 into this expected directory. Remove superfluous delete-region.
25471 (package-unpack): Caller changed.
25472 (package-tar-file-info): Use package-subdirectory-regexp.
25473
25474 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25475
25476 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25477 diff-mode-shared-map (bug#8284).
25478 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25479
25480 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25481
25482 * calendar/time-date.el (format-seconds): Use assoc instead of
25483 assoc-string, since assoc-string doesn't exist in XEmacs.
25484
25485 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25486
25487 * custom.el (custom-known-themes): Reflow docstring.
25488 (custom-theme-load-path): Fix typo in docstring.
25489 (load-theme): Fix typo in error message.
25490 (custom-available-themes, custom-variable-theme-value):
25491 Use `let', not `let*'.
25492
25493 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25494
25495 * calc/README: Mention inclusion of musical notes.
25496
25497 * calc/calc-units.el (calc-lu-quant): Rename from
25498 `calc-logunits-quantity'.
25499 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25500 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25501 (calc-db): Rename from `calc-dblevel'.
25502 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25503 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25504 (calc-np): Rename from `calc-nplevel'.
25505 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25506 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25507 (calc-lu-plus): Rename from `calc-logunits-add'.
25508 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25509 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25510 (calc-lu-minus): Rename from `calc-logunits-sub'.
25511 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25512 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25513 (calc-lu-times): Rename from `calc-logunits-mul'.
25514 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25515 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25516 (calc-lu-divide): Rename from `calc-logunits-div'.
25517 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25518 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25519
25520 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25521 functions being autoloaded.
25522
25523 * calc/calc.el (calc-lu-power-reference): Rename from
25524 `calc-logunits-power-reference'.
25525 (calc-lu-field-reference): Rename from
25526 `calc-logunits-field-reference'.
25527
25528 * calc/calc-help.el (calc-l-prefix-help):
25529 Mention musical note functions.
25530
25531 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25532
25533 * minibuffer.el (completion-all-sorted-completions):
25534 Use :completion-cycle-penalty text property if present.
25535
25536 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25537
25538 * allout.el (allout-yank-processing): Adjust for new rebulleting
25539 regime so bullet being yanked is used without prompting the user
25540 for a choice.
25541
25542 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25543
25544 * startup.el (command-line): Warn the user that _emacs is deprecated.
25545
25546 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25547
25548 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25549 (delphi-verbose, delphi-comment-face, delphi-string-face)
25550 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25551 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25552 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25553 (delphi-new-comment-line, delphi-font-lock-defaults)
25554 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25555 Fix typos in docstrings.
25556
25557 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25558
25559 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25560 Invert the roles of character and string values for INSTEAD, so a
25561 string is used for the more common case of a defaulting prompt.
25562
25563 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25564
25565 * progmodes/ruby-mode.el (ruby-backward-sexp):
25566 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25567 * play/gamegrid.el (gamegrid-make-face):
25568 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25569 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25570 * notifications.el (notifications-notify):
25571 * net/xesam.el (xesam-search-engines):
25572 * net/quickurl.el (quickurl-list-insert):
25573 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25574
25575 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25576
25577 * startup.el (command-line): Update package subdirectory regexp.
25578
25579 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25580
25581 * allout.el (allout-abbreviate-flattened-numbering)
25582 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25583
25584 * subr.el (read-char-choice): Only show the cursor after the prompt,
25585 not after the answer.
25586
25587 2011-03-15 Kevin Ryde <user42@zip.com.au>
25588
25589 * help-fns.el (variable-at-point): Skip leading quotes, if any
25590 (bug#8253).
25591
25592 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25593
25594 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25595 warning message.
25596
25597 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25598
25599 * shell.el (shell): When called interactively, offer to change the
25600 shell file name on remote hosts.
25601
25602 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25603
25604 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25605 integration for LDAP parameters. The host, base, user or binddn,
25606 and secret tokens can be specified in a netrc file, for instance.
25607 This is optional because an `auth-source' parameter must be
25608 specified in the search attributes.
25609
25610 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25611
25612 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25613
25614 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25615
25616 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25617 into declaration. Remove redundant and harmful binding.
25618
25619 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25620
25621 * files.el (file-ownership-preserved-p): Pass `integer' as an
25622 explicit 2nd argument to `file-attributes'. If the file's owner
25623 is the Administrators group on Windows, and the current user is
25624 Administrator, consider that a match.
25625
25626 * server.el (server-ensure-safe-dir): Consider server directory
25627 safe on MS-Windows if its owner is the Administrators group while
25628 the current Emacs user is Administrator. Use `=' to compare
25629 numerical UIDs, since they could be integers or floats.
25630
25631 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25632
25633 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25634
25635 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25636
25637 Sync with Tramp 2.2.1.
25638
25639 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25640
25641 * net/trampver.el: Update release number.
25642
25643 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25644
25645 * progmodes/compile.el (compilation--previous-directory): Fix up
25646 various nil/dead-marker mismatches (bug#8014).
25647 (compilation-directory-properties, compilation-error-properties):
25648 Don't call it at a position past the one we're about to change.
25649
25650 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25651 Disable obsolescence warnings in the file that declares it.
25652
25653 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25654
25655 * allout-widgets.el (allout-widgets-tally):
25656 Initialize allout-widgets-tally as a hash table rather than nil to
25657 prevent mode-line redisplay warnings. Also, clarify the module
25658 description and fix a comment typo.
25659
25660 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25661
25662 * help-fns.el (describe-variable): Don't complete keywords.
25663 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25664
25665 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25666
25667 * emacs-lisp/package.el (package-version-join): Impose a standard
25668 string representation for pre/alpha/beta version lists.
25669 (package-unpack-single): Standardize the directory name by passing
25670 it through package-version-join.
25671 (package-strip-rcs-id): Accept any version string that does not
25672 signal an error in version-to-list.
25673
25674 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25675
25676 * simple.el (delete-trailing-whitespace): Return nil for the
25677 benefit of `write-file-functions'.
25678
25679 2011-03-10 Glenn Morris <rgm@gnu.org>
25680
25681 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25682
25683 * vc/vc-git.el (vc-git-program): New option.
25684 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25685 (vc-git--call): Use it.
25686
25687 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25688
25689 * cus-edit.el (Custom-newline): If no button at point, look
25690 for a subgroup button at start-of-line. (Bug#2298)
25691
25692 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25693
25694 2011-03-10 Julien Danjou <julien@danjou.info>
25695
25696 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25697 `cursor-type' is nil.
25698
25699 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25700
25701 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25702
25703 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25704
25705 * allout.el: Change so yank of distinctive-bullet items
25706 preserves the existing header prefix, rebulleting it if necessary,
25707 rather than replacing it. This is necessary for proper operation
25708 of cooperative addons like allout-widgets.
25709 (allout-make-topic-prefix, allout-rebullet-heading):
25710 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25711 value as alternate bullet to be used, instead of prompting the user
25712 for a bullet character.
25713
25714 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25715
25716 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25717 Do not use `tramp-file-name-port', because this returns also
25718 `tramp-default-port'.
25719
25720 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25721
25722 * net/rcirc.el (rcirc-handler-001): Remove useless
25723 with-rcirc-process-buffer.
25724 (rcirc-check-auth-status): Swap arguments to string-match.
25725
25726 2011-03-09 Glenn Morris <rgm@gnu.org>
25727
25728 * shell.el (shell-mode):
25729 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25730
25731 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25732 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25733
25734 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25735
25736 * emacs-lisp/package.el (package-refresh-contents)
25737 (package-menu-execute): Use condition-case-no-debug.
25738
25739 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25740
25741 * simple.el (shell-command-to-string): Use `process-file'.
25742
25743 * emacs-lisp/package.el (package-tar-file-info): Handle also
25744 remote files.
25745
25746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25747 Use `equal' for upload base check.
25748
25749 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25750
25751 * textmodes/texinfo.el (texinfo-environments):
25752 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25753
25754 2011-03-08 Glenn Morris <rgm@gnu.org>
25755
25756 * cus-start.el (cursor-in-non-selected-windows):
25757 Fix :set quoting oddness. (Bug#8192)
25758
25759 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25760 in some setf expressions. (Bug#2159)
25761
25762 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25763
25764 * custom.el (custom-available-themes): Return themes in
25765 alphabetical order.
25766
25767 See ChangeLog.15 for earlier changes.
25768
25769 ;; Local Variables:
25770 ;; coding: utf-8
25771 ;; End:
25772
25773 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25774
25775 This file is part of GNU Emacs.
25776
25777 GNU Emacs is free software: you can redistribute it and/or modify
25778 it under the terms of the GNU General Public License as published by
25779 the Free Software Foundation, either version 3 of the License, or
25780 (at your option) any later version.
25781
25782 GNU Emacs is distributed in the hope that it will be useful,
25783 but WITHOUT ANY WARRANTY; without even the implied warranty of
25784 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25785 GNU General Public License for more details.
25786
25787 You should have received a copy of the GNU General Public License
25788 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.