Do not set x-display-name until X connection is established.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2
3 Do not set x-display-name until X connection is established.
4 This is needed to prevent from weird situation described at
5 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6 * frame.el (make-frame): Set x-display-name after call to
7 window system initialization function, not before.
8 * term/x-win.el (x-initialize-window-system): Add optional
9 display argument and use it.
10 * term/w32-win.el (w32-initialize-window-system):
11 * term/ns-win.el (ns-initialize-window-system):
12 * term/pc-win.el (msdos-initialize-window-system):
13 Add compatible optional display argument.
14
15 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16
17 * files.el (normal-backup-enable-predicate): On MS-Windows and
18 MS-DOS compare truenames of temporary-file-directory and of the
19 file, so that 8+3 aliases (usually found in $TEMP on Windows)
20 don't fail comparison by compare-strings. Also, compare file
21 names case-insensitively on MS-Windows and MS-DOS.
22
23 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
26 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
27
28 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
29
30 * whitespace.el (whitespace-color-on, whitespace-color-off): Only
31 call `font-lock-fontify-buffer' when `font-lock-mode' is on.
32
33 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
34
35 * ispell.el (ispell-set-spellchecker-params):
36 Really set `ispell-args' for all equivs.
37
38 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * ido.el (ido-completions): Use extra elements of ido-decorations
41 (bug#14143).
42 (ido-decorations): Update docstring.
43
44 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
45
46 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
47 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
48 nil during initialization, in order not to miss changes since the
49 file was opened. (Bug#14140)
50
51 2013-04-05 Leo Liu <sdl.web@gmail.com>
52
53 * kmacro.el (kmacro-call-macro): Fix bug#14135.
54
55 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
56
57 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
58
59 2013-04-04 Glenn Morris <rgm@gnu.org>
60
61 * electric.el (electric-pair-inhibit-predicate): Add :version.
62
63 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
66 when a package is required several times (bug#14082).
67
68 2013-04-04 Roland Winkler <winkler@gnu.org>
69
70 * faces.el (read-face-name): Behave as promised by the docstring.
71 Assume that arg default is a list of faces.
72 (describe-face): Call read-face-name with list of default faces.
73
74 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
75
76 * bookmark.el: Fix deletion of bookmarks (bug#13972).
77 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
78 (bookmark-bmenu-execute-deletions): Only skip first line if it's
79 the header.
80 (bookmark-exit-hook-internal): Save even if list is empty.
81
82 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
83
84 * emacs-lisp/package.el (package-pinned-packages): New var.
85 (package--add-to-archive-contents): Obey it (bug#14118).
86
87 2013-04-03 Alan Mackenzie <acm@muc.de>
88
89 Handle `parse-partial-sexp' landing inside a comment opener
90 (Bug#13244). Also adapt to the new values of element 7 of a parse
91 state.
92
93 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
94 parameter `not-in-delimiter'. Handle being inside comment opener.
95 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
96 character in case we're typing a '*' after a '/'.
97 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
98 instead by passing the parameter to c-state-pp-to-literal.
99
100 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
101 for elt. 7 of a parse state.
102
103 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
104
105 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
106 * international/latin1-disp.el, international/mule-util.el:
107 * language/cyril-util.el, language/european.el, language/ind-util.el:
108 * language/lao-util.el, language/thai.el, language/tibet-util.el:
109 * language/tibetan.el, language/viet-util.el:
110 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
111
112 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
115 (electric-pair-post-self-insert-function): Use it.
116 (electric-pair-default-inhibit): New function, extracted from
117 electric-pair-post-self-insert-function.
118
119 2013-03-31 Roland Winkler <winkler@gnu.org>
120
121 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
122
123 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
126
127 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
128
129 Un-indent after "pass" and "return" statements (Bug#13888)
130 * progmodes/python.el (python-indent-block-enders): New var.
131 (python-indent-calculate-indentation): Use it.
132
133 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
134
135 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
136 defun. Defining it as defalias could introduce too eager
137 byte-compiler optimization. (Bug#14030)
138
139 2013-03-30 Chong Yidong <cyd@gnu.org>
140
141 * iswitchb.el (iswitchb-read-buffer): Fix typo.
142
143 2013-03-30 Leo Liu <sdl.web@gmail.com>
144
145 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
146 (kmacro-execute-from-register): Pass the keyboard macro to
147 kmacro-call-macro or repeating won't work correctly.
148
149 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
150
151 * progmodes/subword.el: Back to using `forward-symbol'.
152
153 * subr.el (forward-whitespace, forward-symbol)
154 (forward-same-syntax): Move from thingatpt.el.
155
156 2013-03-29 Leo Liu <sdl.web@gmail.com>
157
158 * kmacro.el (kmacro-to-register): New command.
159 (kmacro-execute-from-register): New function.
160 (kmacro-keymap): Bind to 'x'. (Bug#14071)
161
162 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * mpc.el: Use defvar-local and setq-local.
165 (mpc--proc-connect): Connection failures are not bugs.
166 (mpc-mode-map): `follow-link' only applies to the buffer's content.
167 (mpc-volume-map): Bind to the up-events.
168
169 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
170
171 * progmodes/subword.el (superword-mode): Use `forward-sexp'
172 instead of `forward-symbol'.
173
174 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
177 (edebug--recursive-edit): Use it.
178 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
179 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
180
181 2013-03-28 Leo Liu <sdl.web@gmail.com>
182
183 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
184
185 2013-03-27 Eli Zaretskii <eliz@gnu.org>
186
187 * facemenu.el (list-colors-callback): New defvar.
188 (list-colors-redisplay): New function.
189 (list-colors-display): Install list-colors-redisplay as the
190 revert-buffer-function. (Bug#14063)
191
192 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
195 and suffixes don't overlap (bug#14061).
196
197 * case-table.el: Use lexical-binding.
198 (case-table-get-table): New function.
199 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
200
201 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
202
203 * progmodes/subword.el: Add `superword-mode' to do word motion
204 over symbol_words (parallels and leverages `subword-mode' which
205 does word motion inside MixedCaseWords).
206
207 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
208
209 * eshell/em-unix.el: Move su and sudo to...
210 * eshell/em-tramp.el: ...Eshell tramp module
211
212 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
215 Change return value to be a sexp. Delay `get-buffer' to after
216 restoring the desktop (bug#13951).
217
218 2013-03-26 Leo Liu <sdl.web@gmail.com>
219
220 * register.el: Move semantic tag handling back to
221 cedet/semantic/senator.el. (Bug#14052)
222
223 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
226 into the prompt either (bug#13963).
227
228 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
231 part of "(error-foo)".
232
233 2013-03-24 Juri Linkov <juri@jurta.org>
234
235 * replace.el (list-matching-lines-prefix-face): New defcustom.
236 (occur-1): Pass `list-matching-lines-prefix-face' to the function
237 `occur-engine' if `face-differs-from-default-p' returns t.
238 (occur-engine): Add `,' inside backquote construct to evaluate
239 `prefix-face'. Propertize the prefix with the `prefix-face' face.
240 Pass `prefix-face' to the functions `occur-context-lines' and
241 `occur-engine-add-prefix'.
242 (occur-engine-add-prefix, occur-context-lines): Add optional arg
243 `prefix-face' and propertize the prefix with `prefix-face'.
244 (Bug#14017)
245
246 2013-03-24 Leo Liu <sdl.web@gmail.com>
247
248 * nxml/rng-valid.el (rng-validate-while-idle)
249 (rng-validate-quick-while-idle): Guard against deleted buffer.
250 (Bug#13999)
251
252 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
253 is the last entry in kill-buffer-hook.
254
255 * files.el (kill-buffer-hook): Doc fix.
256
257 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
258
259 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
260 Make it safe-local.
261
262 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
263
264 2013-03-23 Leo Liu <sdl.web@gmail.com>
265
266 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
267 Remove.
268
269 * nxml/rng-valid.el (rng-validate-mode)
270 (rng-after-change-function, rng-do-some-validation):
271 * nxml/rng-maint.el (rng-validate-buffer):
272 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
273 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
274 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
275 (nxml-extend-after-change-region): Use with-silent-modifications.
276
277 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
278 timer-idle-list.
279
280 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
281 (rng-next-error-1, rng-previous-error-1): Do not let-bind
282 timer-idle-list. (Bug#13999)
283
284 2013-03-23 Juri Linkov <juri@jurta.org>
285
286 * info.el (info-index-match): New face.
287 (Info-index, Info-apropos-matches): Add a nested subgroup to the
288 main pattern and add text properties with the new face to matches
289 in index entries relative to the beginning of the index entry.
290 (Bug#14015)
291
292 2013-03-21 Eric Ludlam <zappo@gnu.org>
293
294 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
295 Inhibit read only while inserting objects.
296
297 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
298
299 * progmodes/cfengine.el: Update docs to mention
300 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
301 symbol motion. Remove "_" from the word syntax.
302
303 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
304
305 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
306 syntax for both `cfengine2-mode' and `cfengine3-mode'.
307
308 2013-03-20 Juri Linkov <juri@jurta.org>
309
310 * info.el (Info-next-reference-or-link)
311 (Info-prev-reference-or-link): New functions.
312 (Info-next-reference, Info-prev-reference): Use them.
313 (Info-try-follow-nearest-node): Handle footnote navigation.
314 (Info-fontify-node): Fontify footnotes. (Bug#13989)
315
316 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
319 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
320
321 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
322
323 Suppress unnecessary non-ASCII chatter during build process.
324 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
325 (batch-skkdic-convert): Suppress most of the chatter.
326 It's not needed so much now that machines are faster,
327 and its non-ASCII component was confusing; see Dmitry Gutov in
328 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
329
330 2013-03-20 Leo Liu <sdl.web@gmail.com>
331
332 * ido.el (ido-chop): Fix bug#10994.
333
334 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
335
336 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
337 Remove vars.
338 (whitespace-color-on, whitespace-color-off):
339 Use `font-lock-fontify-buffer' (Bug#13817).
340
341 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
344 remapping in mode-line.
345 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
346
347 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
348
349 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
350 value for `whitespace-line' face (Bug#13875).
351 (whitespace-font-lock-keywords): Change description.
352 (whitespace-color-on): Don't save `font-lock-keywords' value, save
353 the constructed keywords instead.
354 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
355
356 2013-03-19 Leo Liu <sdl.web@gmail.com>
357
358 * progmodes/compile.el (compilation-display-error): New command.
359 (compilation-mode-map, compilation-minor-mode-map): Bind it to
360 C-o. (Bug#13992)
361
362 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
363
364 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
365
366 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
367
368 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
369
370 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
371
372 * net/tramp-compat.el (tramp-compat-user-error): New defun.
373
374 * net/tramp-adb.el (tramp-adb-handle-shell-command):
375 * net/tramp-gvfs.el (top):
376 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
377 (tramp-handle-shell-command): Use it.
378 (tramp-dissect-file-name): Raise an error when hostname is a
379 method name, and neither method nor user is specified.
380
381 * net/trampver.el: Update release number.
382
383 2013-03-18 Leo Liu <sdl.web@gmail.com>
384
385 Make sure eldoc can be turned off properly.
386 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
387 eldoc-mode.
388 (eldoc-display-message-p): Revert last change.
389 (eldoc-display-message-no-interference-p)
390 (eldoc-print-current-symbol-info): Tweak.
391
392 2013-03-18 Tassilo Horn <tsdh@gnu.org>
393
394 * doc-view.el (doc-view-new-window-function): Check the new window
395 overlay's display property instead the char property of the
396 buffer's first char. Use `with-selected-window' instead of
397 `save-window-excursion' with `select-window'.
398 (doc-view-document->bitmap): Check the current doc-view overlay's
399 display property instead the char property of the buffer's first char.
400
401 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
402
403 Automate the build of ja-dic.el (Bug#13984).
404 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
405 from the input, rather than assume that it's been done for us by the
406 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
407 the current date into a ja-dic.el comment, as that complicates
408 regression testing.
409
410 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * whitespace.el: Fix double evaluation.
413 (whitespace-space, whitespace-hspace, whitespace-tab)
414 (whitespace-newline, whitespace-trailing, whitespace-line)
415 (whitespace-space-before-tab, whitespace-indentation)
416 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
417 obsolete defvars.
418 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
419 (whitespace-color-on): Use a single font-lock-add-keywords call.
420 Fix double-evaluation of face variables.
421
422 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
423
424 * net/tramp-adb.el (tramp-adb-parse-device-names):
425 Use `start-process' instead of `call-process'. Otherwise, the
426 function might be blocked under MS Windows. (Bug#13299)
427
428 2013-03-17 Leo Liu <sdl.web@gmail.com>
429
430 Extend eldoc to display info in the mode-line. (Bug#13978)
431 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
432 (eldoc-mode-line-string): New variable.
433 (eldoc-minibuffer-message): New function.
434 (eldoc-message-function): New variable.
435 (eldoc-message): Use it.
436 (eldoc-display-message-p)
437 (eldoc-display-message-no-interference-p):
438 Support eldoc-post-insert-mode.
439
440 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
441 (eval-expression): Run it.
442
443 2013-03-17 Roland Winkler <winkler@gnu.org>
444
445 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
446 strings in the list of return values.
447
448 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
449
450 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
451 radix before checking for HMS forms.
452
453 2013-03-16 Leo Liu <sdl.web@gmail.com>
454
455 * progmodes/scheme.el: Add indentation and font-locking for λ.
456 (Bug#13975)
457
458 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
461 token before point (bug#13942).
462
463 2013-03-16 Leo Liu <sdl.web@gmail.com>
464
465 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
466
467 2013-03-16 Eli Zaretskii <eliz@gnu.org>
468
469 * startup.el (command-line-normalize-file-name): Fix handling of
470 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
471 <xfq.free@gmail.com> in
472 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
473
474 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
475
476 Sync with Tramp 2.2.7.
477
478 * net/trampver.el: Update release number.
479
480 2013-03-14 Tassilo Horn <tsdh@gnu.org>
481
482 * doc-view.el Fix bug#13887.
483 (doc-view-insert-image): Don't modify overlay associated to
484 non-live windows, and implement horizontal centering of image in
485 case it's smaller than the window.
486 (doc-view-new-window-function): Force redisplay of new windows on
487 doc-view buffers.
488
489 2013-03-13 Karl Fogel <kfogel@red-bean.com>
490
491 * saveplace.el (save-place-alist-to-file): Don't sort
492 `save-place-alist', just pretty-print it (bug#13882).
493
494 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
497 whether `default-file-name-coding-system' is bound. It isn't in
498 XEmacs.
499
500 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
503 backquotes for `obsolete' (bug#13929).
504
505 * international/mule.el (find-auto-coding): Include file name in
506 obsolescence warning (bug#13922).
507
508 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
509
510 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
511 for CFEngine 3-specific indentation.
512 (cfengine3-indent-line): Use it. Fix up category regex.
513 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
514
515 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * type-break.el (type-break-file-name):
518 * textmodes/remember.el (remember-data-file):
519 * strokes.el (strokes-file):
520 * shadowfile.el (shadow-initialize):
521 * saveplace.el (save-place-file):
522 * ps-bdf.el (bdf-cache-file):
523 * progmodes/idlwave.el (idlwave-config-directory):
524 * net/quickurl.el (quickurl-url-file):
525 * international/kkc.el (kkc-init-file-name):
526 * ido.el (ido-save-directory-list-file):
527 * emulation/viper.el (viper-custom-file-name):
528 * emulation/vip.el (vip-startup-file):
529 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
530 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
531
532 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
533
534 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
535 * language/thai-word.el: Switch to UTF-8.
536
537 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
540
541 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
542
543 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
544 Use with-current-buffer and don't move point.
545 (net-utils-run-simple): Remove useless code.
546 (net-utils-remove-ctl-m): Remove unused custom.
547
548 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
549
550 * international/characters.el (glyphless-set-char-table-range): New fun.
551 (update-glyphless-char-display): Use it (bug#13744).
552
553 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
554
555 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
556 namespaces in the syntax, indent closer for hanging brace
557 correctly, allow single-quote delimited 'strings', and make
558 `cfengine3-mode' the default.
559
560 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
561
562 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
563 Use lexical-binding. Fix up docstring according to conventions.
564 (gdbmi-debug-mode): New var.
565 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
566 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
567 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
568 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
569 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
570 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
571 (gdbmi-bnf-incomplete-record-result): New functions.
572 (gdb-car<): Remove function.
573 (gdbmi-record-list): Remove variable.
574 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
575 (gdbmi-bnf-result-state-configs): New const.
576 (gud-gdbmi-marker-filter): Rewrite.
577 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
578 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
579 Add `token' argument.
580 (gdb-done, gdb-error): New functions.
581 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
582
583 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * term/xterm.el (xterm--report-background-handler): Don't burp
586 upon timeout.
587 (xterm--version-handler): Extract from terminal-init-xterm.
588 (xterm--query): Don't mishandle timeout. Remove debugging messages.
589 Allow multiple handlers.
590 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
591
592 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
593 (xterm--report-background-handler, xterm--query): New functions.
594 (terminal-init-xterm): Use them.
595
596 2013-03-11 Michael R. Mauger <michael@mauger.com>
597
598 * progmodes/sql.el Version 3.2
599 Please note that my address changed to <michael@mauger.com>;
600 the <mmaug@yahoo.com> address remains active.
601 (sql-connection-alist): Updates documentation to fix bug#13715.
602 (sql-connect): Handle missing `sql-connection-alist' correctly.
603 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
604 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
605 property.
606 (sql-default-value): New function.
607 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
608 values were not used.
609 (sql-rename-buffer): Make sure alternate buffer name has no text
610 properties.
611 (sql-input-sender, sql-execute-feature): Fetch variable with
612 `buffer-local-value' rather than `with-current-buffer'.
613 (sql-*): Use #' function syntax consistently.
614 (sql-*): Use message/error/user-error consistently.
615
616 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * xt-mouse.el (xterm-mouse-event-read): Remove.
619 (xterm-mouse--read-event-sequence-1000)
620 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
621
622 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * term/xterm.el (xterm-function-map): Support format used with
625 formatOtherKeys=1 (bug#13839).
626
627 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
628 (with-no-warnings): Use `declare'.
629
630 * whitespace.el (whitespace-enable-predicate): New variable.
631 (whitespace-enable-predicate): Use it.
632
633 * comint.el (comint-send-input, comint-snapshot-last-prompt)
634 (comint-output-filter, comint-update-fence):
635 Use with-silent-modifications.
636
637 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
638
639 * replace.el (occur-read-regexp-defaults-function): New var.
640 (occur-read-regexp-defaults): New defun.
641 (occur-read-primary-args): Propagate above change (bug#13892).
642
643 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * mouse.el (mouse-drag-track): Remove left-over debugging code.
646
647 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
648
649 Major rewrite due to changed D-Bus interface of GVFS 1.14.
650
651 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
652 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
653 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
654 New defconst.
655 (tramp-gvfs-file-name-handler-alist) [directory-files]
656 [directory-files-and-attributes, file-exists-p, file-modes]:
657 Use Tramp default handler.
658 [file-acl, file-selinux-context, process-file, set-file-acl]:
659 [set-file-modes, set-file-selinux-context, shell-command]:
660 [start-file-process]: Remove handler.
661 [verify-visited-file-modtime]: New handler.
662 (tramp-gvfs-dbus-string-to-byte-array)
663 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
664 calls of `dbus-string-to-byte-array' and
665 `tramp-gvfs-dbus-byte-array-to-string'.
666 (tramp-gvfs-handle-copy-file)
667 (tramp-gvfs-handle-delete-directory)
668 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
669 (tramp-gvfs-handle-file-directory-p)
670 (tramp-gvfs-handle-file-executable-p)
671 (tramp-gvfs-handle-file-name-all-completions)
672 (tramp-gvfs-handle-file-readable-p)
673 (tramp-gvfs-handle-file-writable-p)
674 (tramp-gvfs-handle-insert-directory)
675 (tramp-gvfs-handle-insert-file-contents)
676 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
677 (tramp-gvfs-handle-set-visited-file-modtime)
678 (tramp-gvfs-handle-write-region): Rewrite.
679 (tramp-gvfs-handle-file-acl)
680 (tramp-gvfs-handle-file-selinux-context)
681 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
682 (tramp-gvfs-handle-set-file-modes)
683 (tramp-gvfs-handle-set-file-selinux-context)
684 (tramp-gvfs-handle-shell-command)
685 (tramp-gvfs-handle-start-file-process)
686 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
687 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
688 over the symlinks. Fix user handling.
689 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
690 of the D-Bus signals.
691 (tramp-gvfs-connection-mounted-p): Handle different names of the
692 D-Bus methods.
693 (tramp-gvfs-mount-spec-entry): New defun.
694 (tramp-gvfs-mount-spec): Use it.
695 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
696 there is a share name. Handle different names of the D-Bus
697 signals and methods. Set connection properties needed for
698 `tramp-check-cached-permissions'.
699 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
700 Return t or nil.
701
702 * net/tramp.el (tramp-backtrace): Move up.
703 (tramp-error): Dump a backtrace into the debug buffer when
704 `tramp-verbose > 9.
705 (tramp-file-mode-type-map, tramp-file-mode-from-int)
706 (tramp-file-mode-permissions, tramp-get-local-uid)
707 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
708 tramp-sh.el.
709
710 * net/tramp-sh.el (tramp-file-mode-type-map)
711 (tramp-check-cached-permissions, tramp-file-mode-from-int)
712 (tramp-file-mode-permissions, tramp-get-local-uid)
713 (tramp-get-local-gid): Move to tramp.el.
714
715 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 Separate mouse-1-click-follows-link from mouse-drag-region.
718 * mouse.el (mouse--down-1-maybe-follows-link): New function.
719 (key-translation-map): Use it to implement mouse-1-click-follows-link.
720 (mouse-drag-line, mouse-drag-track):
721 Remove mouse-1-click-follows-link code.
722 (mouse--remap-link-click-p): Remove.
723
724 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
725
726 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
727 (hi-lock-read-regexp-defaults): New defun.
728 (hi-lock-line-face-buffer, hi-lock-face-buffer)
729 (hi-lock-face-phrase-buffer): Propagate above change.
730 Update docstring (bug#13892).
731
732 * subr.el (find-tag-default-as-regexp): New defun.
733 * replace.el (read-regexp): Propagate above change.
734
735 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
736
737 * calc/calc-units.el (calc-convert-units): Fix the way that default
738 new units are stored.
739
740 2013-03-07 Matthias Meulien <orontee@gmail.com>
741
742 * bookmark.el: Define a face to highlight bookmark names in
743 bookmark menu buffers, where the default is a bold face similarly
744 to buffer names in buffer menu buffers.
745 (bookmark-menu-bookmark): New face to highlight bookmark names.
746 (bookmark-insert-location): Remove duplicated text property to
747 conform to buffer list (see `list-buffers').
748 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
749 `bookmark-menu-bookmark' to bookmark names.
750
751 2013-03-07 Matthias Meulien <orontee@gmail.com>
752 Karl Fogel <kfogel@red-bean.com>
753
754 * bookmark.el: Display the bookmark list header similarly to the
755 buffer list header (see `list-buffers'), where the default is now
756 an immovable/immutable header line.
757 (bookmark-bmenu-use-header-line): New variable.
758 (bookmark-bmenu-inline-header-height): New name for
759 `bookmark-bmenu-header-height', to avoid confusion with the code
760 for the new immovable header. All references changed.
761 (bookmark-bmenu-set-header): New function.
762 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
763 Conditionalize header construction accordingly.
764 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
765 the inline header height.
766 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
767 Conditionalize the skipping of the inline header height.
768
769 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
770
771 * progmodes/js.el (js--multi-line-declaration-indentation):
772 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
773
774 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
775
776 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
777 Only propertize regexp when not inside a string (Bug#13885).
778
779 2013-03-06 Alan Mackenzie <acm@muc.de>
780
781 Correct the position of point in some line-up functions.
782 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
783 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
784 point at column 0 rather than at a random place in the line.
785
786 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
787
788 * net/tramp-compat.el (tramp-compat-delete-directory):
789 Implement TRASH argument.
790
791 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
792
793 Keep pre-existing highlighting in completion candidates (Bug#13250).
794 * minibuffer.el (completions-first-difference): State that the
795 face is "added" in the docstring.
796 (completions-common-part): Same. And don't inherit from default.
797 (completion-hilit-commonality): Prepend 'completions-common-part
798 and 'completion-first-difference faces to the 'face property,
799 instead of replacing the value(s).
800 (completion--insert-strings): Same with 'completions-annotations face.
801 (completion-hilit-commonality): Use 'face instead of
802 'font-lock-face, because it gets priority if the completion
803 strings already have 'face set.
804
805 2013-03-04 Alan Mackenzie <acm@muc.de>
806
807 Replace `last-command-event' by `last-command-char' in XEmacs.
808 * progmodes/cc-defs.el (c-last-command-char): New macro.
809 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
810 (c-semi&comma-no-newlines-before-nonblanks)
811 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
812 in place of `last-command-event'.
813 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
814 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
815 (c-electric-paren, c-electric-continued-statement): Use the new
816 macro in place of `last-command-event'.
817
818 2013-03-04 Glenn Morris <rgm@gnu.org>
819
820 * files.el (inhibit-local-variables-regexps):
821 Add .diff and .patch. (Bug#13862)
822
823 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
824
825 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
826 whether the "su" command is available on the device.
827
828 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
829
830 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
831 (tramp-adb-handle-process-file): Remove superfluous setting.
832 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
833 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
834 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
835
836 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
839 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
840 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
841 Use dict-key rather than dict-name for the error message.
842
843 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
844
845 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
846 when reverting (bug#13831).
847
848 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
849
850 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
851 Always expand affix-file before storing to protect against changed
852 `default-directory'.
853 (ispell-print-if-debug): Make sure message is printed at the end
854 of the debug buffer.
855
856 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
857
858 * net/tramp.el (tramp-obsolete-methods): New defconst.
859 (tramp-warned-obsolete-methods): New defvar.
860 (tramp-find-method): Check for obsolete methods. Map them to a
861 replacement method if appropriate.
862
863 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
864 Remove methods.
865 (top): Remove completion functions for "scp1", "scp2", "ssh1",
866 "ssh2" and "plink1".
867
868 2013-02-28 Dale Sedivec <dale@codefu.org>
869
870 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
871 Return valid syntax-table property value when converting
872 quotes within text from string syntax to punctuation syntax (bug#13844).
873
874 2013-02-28 Juri Linkov <juri@jurta.org>
875
876 * dired-aux.el (dired-diff): If file at point is a backup file,
877 use its original as the default value, and reverse the order
878 of arguments to the `diff' call. Doc fix. (Bug#13772)
879
880 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
881
882 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
883 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
884
885 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
886
887 Initial support for hunspell dictionaries auto-detection (Bug#13639)
888
889 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
890 Ask hunspell about available and default dictionaries.
891 (ispell-parse-hunspell-affix-file): Extract relevant info from
892 hunspell affix file.
893 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
894 `ispell-dictionary-alist' entry for given dictionary after info
895 provided by `ispell-parse-hunspell-affix-file'.
896 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
897 of parsed hunspell dicts and associated affix files.
898 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
899 of parsed hunspell dicts and associated parameters.
900 (ispell-set-spellchecker-params):
901 Call `ispell-find-hunspell-dictionaries' if hunspell and not
902 previously done.
903 (ispell-start-process):
904 Call `ispell-hunspell-fill-dictionary-entry' for current
905 dictionary if it is not initialized.
906
907 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * imenu.el: Comment nitpicks.
910
911 2013-02-28 Sam Steingold <sds@gnu.org>
912
913 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
914 See <http://stackoverflow.com/questions/14720205>.
915
916 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
917
918 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
919 (net-utils-mode): Use it.
920 (net-utils--revert-cmd): New var.
921 (net-utils-run-simple): Set it, and remove bogus interactive spec.
922 (traceroute): Use net-utils-run-simple.
923
924 2013-02-28 Glenn Morris <rgm@gnu.org>
925
926 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
927
928 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
931 (doc-view-fallback-mode): Remove overlays here.
932 (doc-view-toggle-display): Instead of here. Don't throw away
933 image-mode-winprops-alist.
934 (doc-view-goto-page): Don't mess with hscroll.
935
936 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
937
938 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
939 &optional (bug#13819).
940
941 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
942
943 * net/tramp-adb.el (tramp-adb-parse-device-names)
944 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
945
946 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
947
948 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
949 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
950 defined. POSIX environments fall back to the "C" locale then and
951 emit a warning, which shall be suppressed.
952
953 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
956 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
957
958 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
961
962 2013-02-25 Juri Linkov <juri@jurta.org>
963
964 * replace.el (read-regexp): Let-bind `default' to the first
965 element of `defaults' if it's a list, otherwise it should be
966 a string or nil. Let-bind `suggestions' to `defaults' if it's
967 a list, otherwise make a list with the string value. Doc fix.
968 (Bug#13805)
969
970 2013-02-25 Eli Zaretskii <eliz@gnu.org>
971
972 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
973 that match "\`\.#", to avoid compiling lock files, even if they
974 are readable (as they are on MS-Windows).
975
976 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * files.el (basic-save-buffer): Remove redundant directory-creation.
979
980 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
981
982 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
983 Add option to force `pi' to remain symbolic.
984 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
985 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
986 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
987 derivatives, when necessary.
988
989 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
990
991 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
992 (ps-mode-octal-region): Use string-make-unibyte.
993
994 2013-02-23 Glenn Morris <rgm@gnu.org>
995
996 * emulation/viper-cmd.el (viper-submit-report):
997 * progmodes/ps-mode.el (ps-mode-maintainer-address):
998 * progmodes/vera-mode.el (vera-mode-help-address):
999 * textmodes/artist.el (artist-maintainer-address):
1000 * textmodes/reftex.el (reftex-report-bug):
1001 * vc/ediff-util.el (ediff-submit-report):
1002 Add bug-gnu-emacs to bug report address.
1003
1004 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1005 Remove bug report entries.
1006 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1007
1008 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1009 (byte-compile-file, byte-compile-from-buffer):
1010 Use separate input/output buffers for each level of recursive
1011 byte-compile-file calls. (Bug#13787)
1012
1013 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1014
1015 * net/tramp.el (tramp-methods): Fix docstring.
1016 (tramp-ssh-controlmaster-options): Rename it from
1017 `tramp-ssh-controlmaster-template'. Return a string.
1018 (tramp-default-method): Adapt check for
1019 `tramp-ssh-controlmaster-options'.
1020
1021 * net/tramp-sh.el (tramp-methods):
1022 Replace `tramp-ssh-controlmaster-template' by "%c".
1023 (tramp-do-copy-or-rename-file-out-of-band)
1024 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1025 that it is applied for the first hop only.
1026
1027 2013-02-22 Juri Linkov <juri@jurta.org>
1028
1029 * isearch.el (isearch-lazy-highlight-new-loop):
1030 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1031 to `isearch-other-end' if it is not nil. (Bug#13402)
1032
1033 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1034 to `match-beg'.
1035
1036 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1037 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1038 and `isearch-error' to nil.
1039
1040 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1041
1042 * progmodes/python.el (python-info-current-defun):
1043 Enhance match-data cluttering prevention.
1044
1045 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1048
1049 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1050 Handle multibyte file names.
1051
1052 2013-02-22 Glenn Morris <rgm@gnu.org>
1053
1054 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1055 (sgml-transformation-function): Give it a :set function.
1056 (sgml-tag): Doc fix.
1057
1058 * cmuscheme.el (scheme-buffer):
1059 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1060 * progmodes/tcl.el (inferior-tcl-buffer):
1061 * textmodes/tex-mode.el (tex-command): Doc fixes.
1062
1063 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1064
1065 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1066
1067 2013-02-21 Bastien Guerry <bzg@gnu.org>
1068
1069 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1070
1071 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1072
1073 * progmodes/python.el (python-info-current-defun):
1074 Enhance match-data cluttering prevention.
1075
1076 2013-02-21 Glenn Morris <rgm@gnu.org>
1077
1078 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1079 loaded while outline-regexp is let bound. (Bug#9584)
1080
1081 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1082
1083 * progmodes/python.el (python-info-current-defun): Fix failed
1084 defun name retrieval because of unwanted match-data cluttering.
1085
1086 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1087
1088 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1089 defconst. Apply independent check for ControlPersist.
1090
1091 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1092 temporarily, via "env".
1093
1094 2013-02-21 Glenn Morris <rgm@gnu.org>
1095
1096 * info.el (Info-enable-edit): Remove.
1097 (Info-edit): Disable it rather than using Info-enable.
1098 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1099 (Info-cease-edit): Make editing of Info files obsolete.
1100
1101 * informat.el (Info-tagify):
1102 Handle buffers not visiting files. (Bug#13763)
1103
1104 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1105
1106 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1107
1108 2013-02-21 Glenn Morris <rgm@gnu.org>
1109
1110 * files.el (basic-save-buffer): Move check for existing parent
1111 directory after hooks. (Bug#13773)
1112
1113 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * simple.el (command-execute): Move from C. Add obsolete check.
1116 (extended-command-history): Move from C.
1117
1118 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1119
1120 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1121 (jka-compr-mode-alist-additions): Handle .txz suffix for
1122 XZ-compressed tar archives (bug#13770).
1123
1124 2013-02-20 Bastien Guerry <bzg@gnu.org>
1125
1126 * outline.el (outline-regexp, outline-heading-end-regexp):
1127 Make variables, not options (bug#13731).
1128
1129 2013-02-20 Glenn Morris <rgm@gnu.org>
1130
1131 * image.el (image-current-frame): Change from variable to function.
1132 (image-show-frame): Rename from image-nth-frame. Update callers.
1133 * image-mode.el (image-multi-frame): New variable.
1134 (image-mode-map, image-mode, image-goto-frame):
1135 Use image-multi-frame rather than image-current-frame.
1136 (image-mode, image-goto-frame): Use image-current-frame as
1137 function rather than as variable.
1138
1139 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1140 * emacs-lisp/cl-macs.el (cl--make-type-test)
1141 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1142
1143 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1146 (tramp-get-file-property, tramp-set-file-property)
1147 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1148 (tramp-flush-file-property, tramp-flush-directory-property):
1149 Rename argument to KEY.
1150 (tramp-flush-connection-property): Simplify a little bit.
1151 (tramp-connection-property-p): New defun.
1152 (top): Reapply saved values only if there isn't a corresponding
1153 entry in `tramp-connection-properties'.
1154
1155 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1156
1157 * progmodes/python.el (python-indent-context):
1158 Fix python-info-line-ends-backslash-p call.
1159 (python-info-line-ends-backslash-p)
1160 (python-info-beginning-of-backslash): Respect line-number argument.
1161 (python-info-current-line-comment-p):
1162 Fix behavior when not at beginning-of-line.
1163 (python-util-position): Remove function.
1164 (python-util-goto-line): New function.
1165
1166 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * eshell/em-unix.el (eshell/su): Require tramp.
1169 (eshell/sudo): Require tramp. Remove now unnecessary check.
1170
1171 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1172 `tramp-current-connection' in order to avoid an error when several
1173 commands are invoked in a short time in eshell and friends.
1174
1175 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 Cleanup some of EIEIO's namespace.
1178 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1179 Use it to define all the class-* and object-* field accessors (renamed
1180 to eieio--class-* and eieio--object-*). Update all uses.
1181 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1182 class-num-slots and object-num-slots.
1183 (eieio--check-type): New macro.
1184 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1185 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1186 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1187 (object-assoc-list-safe): Use it.
1188 (eieio-defclass): Tighten regexp.
1189 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1190 Remove unreachable code.
1191 (object-class-fast): Declare obsolete.
1192 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1193 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1194 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1195 Rename from class-name, object-name, object-set-name-string,
1196 object-class, object-class-name, class-parents, class-children,
1197 class-precedence-list, class-parent; with obsolete alias.
1198 (class-of, class-direct-superclasses, class-direct-subclasses):
1199 Declare obsolete.
1200 (eieio-defmethod): Use `memq'; remove unreachable code.
1201 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1202 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1203 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1204
1205
1206 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1207
1208 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1209 commentary.
1210
1211 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1212
1213 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1214 Use font-lock-keyword-face for macros and special forms (bug#8345).
1215
1216 2013-02-17 Didier Verna <didier@didierverna.net>
1217
1218 * net/network-stream.el (network-stream-open-starttls):
1219 Check that response to the starttls-command is non-nil. (Bug#13706)
1220
1221 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1224 Don't assume all identifier chars have syntax word.
1225 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1226 Remove bar-not-symbol. Adjust callers.
1227 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1228
1229 2013-02-17 Leo Liu <sdl.web@gmail.com>
1230
1231 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1232
1233 2013-02-17 Glenn Morris <rgm@gnu.org>
1234
1235 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1236
1237 * image-mode.el (image-mode-map): Add image-dired menu entry.
1238
1239 * image-dired.el (tumme): Make this alias obsolete.
1240
1241 2013-02-16 Glenn Morris <rgm@gnu.org>
1242
1243 * image.el (image-animated-types): Remove.
1244 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1245 (image-animated-p): Make obsolete alias.
1246 (image-animate, image-nth-frame, image-animate-timeout):
1247 Use image-multi-frame-p.
1248 (image-animate-timeout): If no delay, use image-default-frame-delay.
1249 * image-mode.el (image-mode, image-toggle-animation):
1250 Use image-multi-frame-p. (Bug#763, bug#10739)
1251 (image-mode): Adjust startup message for a multi-frame image.
1252
1253 * image-mode.el (image-mode-map): Give it a menu.
1254
1255 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * net/tramp-cache.el (tramp-connection-properties): New customer
1258 option.
1259 (tramp-get-connection-property): Use it.
1260
1261 * net/tramp-compat.el (top): Require 'trampver.
1262
1263 * net/tramp-sh.el (tramp-remote-process-environment):
1264 Set tramp-autoload cookie.
1265
1266 2013-02-16 Kevin Ryde <user42@zip.com.au>
1267
1268 * info-look.el (info-lookup-select-mode): If major-mode has no
1269 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1270
1271 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1272
1273 * replace.el (read-regexp): Tighten the regexp that matches tag.
1274 When tag is retrieved with `find-tag-default', use regexp that
1275 matches tag at point. Also update docstring (Bug#13687).
1276
1277 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1278
1279 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1280 add watch for the file, not its parent directory, since w32notify
1281 sets up the watch for the directory internally. (Bug#13725)
1282
1283 2013-02-16 Glenn Morris <rgm@gnu.org>
1284
1285 * image.el (image-default-frame-delay): New variable.
1286 (image-animated-p): Use image-default-frame-delay.
1287 (image-minimum-frame-delay): New constant.
1288 (image-animate-timeout): Use image-minimum-frame-delay.
1289
1290 * image.el (image-nth-frame): New, split from image-animate-timeout.
1291 (image-animate-timeout): Use image-nth-frame.
1292 * image-mode.el (image-goto-frame, image-next-frame)
1293 (image-previous-frame): New commands.
1294 (image-mode-map): Add new frame commands.
1295
1296 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1297
1298 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1299 If col-desc already has help-echo, use it. (Bug#13563)
1300
1301 2013-02-16 Glenn Morris <rgm@gnu.org>
1302
1303 * image.el (image-current-frame): New variable.
1304 (image-animate-timeout): Set image-current-frame.
1305 * image-mode.el (image-mode): For animated images,
1306 display a frame counter via mode-line-process.
1307
1308 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1309
1310 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1313
1314 2013-02-15 Alan Mackenzie <acm@muc.de>
1315
1316 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1317 global minor mode has been enabled, call the minor mode function
1318 for a new buffer once only, after the major mode hook, whilst
1319 allowing that hook explicitly to disable the minor mode.
1320 (MODE-disable-in-buffer): New (generated) function.
1321 (disable-MODE): New (generated) buffer local variable.
1322
1323 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1324
1325 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1326 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1327 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1328 `ido-next-match' and `ido-prev-match' resply.
1329 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1330 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1331 `icomplete-backward-completions' (Bug#13708).
1332
1333 2013-02-15 Glenn Morris <rgm@gnu.org>
1334
1335 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1336
1337 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1340 (goto-address-fontify-region): Use them instead of narrowing, so
1341 syntax-ppss has access to the whole buffer.
1342
1343 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1344
1345 * progmodes/python.el: Explain how to restore "cc-mode"-like
1346 forward-sexp movement in header documentation (Bug#13642).
1347 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1348 comments and strings (GH bug 114).
1349
1350 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1351
1352 * progmodes/python.el (python-info-current-defun): Fix current
1353 defun detection (Bug#13618).
1354
1355 2013-02-15 Chong Yidong <cyd@gnu.org>
1356
1357 * xml.el (xml-parse-string): Fix typo in handling of bad character
1358 references.
1359
1360 2013-02-15 Glenn Morris <rgm@gnu.org>
1361
1362 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1363
1364 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * net/tramp.el (tramp-debug-message):
1367 Add `tramp-condition-case-unless-debug'.
1368 (tramp-debug-on-error): New defvar.
1369 (tramp-condition-case-unless-debug): New defun.
1370 (tramp-file-name-handler): Use it.
1371
1372 2013-02-14 Juri Linkov <juri@jurta.org>
1373
1374 * info.el (Info-isearch-filter): Treat non-nil values of
1375 `search-invisible' including its default value `open'
1376 like the value `t' to match hidden text. (Bug#13402)
1377
1378 2013-02-14 Glenn Morris <rgm@gnu.org>
1379
1380 * help-fns.el (find-lisp-object-file-name): Give special treatment
1381 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1382
1383 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1384
1385 * net/quickurl.el (quickurl-save-urls):
1386 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1387
1388 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1389
1390 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1391 depth for unfinished percent literal. Not using it in the caller.
1392 (ruby-move-to-block): Jump over multiline literals of all types,
1393 ignoring code-looking contents inside them.
1394 (ruby-add-log-current-method): Improve performance at the expense
1395 of accuracy. `ruby-block-contains-point' is relatively slow, so
1396 only use it for method and singleton class blocks.
1397
1398 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1399
1400 Use ControlMaster where applicable. (Bug#13677)
1401
1402 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1403 replacing `tramp-detect-ssh-controlmaster'.
1404 (tramp-default-method): Use it.
1405
1406 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1407 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1408 arguments.
1409 [scpc, rsyncc]: Remove methods.
1410 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1411 and "ssh2_old".
1412 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1413 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1414
1415 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * emacs-lisp/package.el (package--initialized): Move before first use.
1418
1419 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1420
1421 * icomplete.el (icomplete-hide-common-prefix): New user option.
1422 (icomplete-first-match): New face.
1423 (icomplete-completions): Correct handling of "complete but not
1424 unique" (Bug#12638).
1425
1426 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1427
1428 * descr-text.el (describe-char): Display the script (bug#13698).
1429
1430 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * tmm.el: Use lexical-binding and current-active-maps.
1433 (tmm-menubar): Use map-keymap and pcase.
1434 (tmm--completion-table): New function.
1435 (tmm-prompt): Use it to fix the menu order.
1436 (tmm-get-keybind): Use current-active-maps.
1437
1438 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1439
1440 Add dired-hide-details-mode. (Bug#6799)
1441
1442 * locate.el (locate-mode): Set parent mode property to dired-mode.
1443
1444 * find-dired.el (find-dired): Call dired-insert-set-properties on
1445 initial information line. Set process mark on end of buffer.
1446 (find-dired-sentinel):
1447 Call dired-insert-set-properties on summary.
1448
1449 * dired.el (dired-hide-details-hide-symlink-targets)
1450 (dired-hide-details-hide-information-lines): New options.
1451 (dired-insert-directory):
1452 Set properties after final treatment of output.
1453 (dired-insert-set-properties):
1454 Set dired-hide-details-* properties.
1455 (dired-mode-map): Bind dired-hide-details-mode.
1456 (dired-mode): Set buffer-invisibility-spec to a list.
1457 (dired-next-line): Skip hidden lines.
1458 (dired-previous-line): Use dired-next-line.
1459 (dired-hide-details-mode): New minor mode.
1460 (dired-hide-details-update-invisibility-spec): New function.
1461
1462 2013-02-13 Glenn Morris <rgm@gnu.org>
1463
1464 * play/yow.el: Move to obsolete/. (Bug#9384)
1465
1466 2013-02-13 Juri Linkov <juri@jurta.org>
1467
1468 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1469 to select `ediff-control-frame' and set input focus correctly on Xfce.
1470 (Bug#12218)
1471
1472 2013-02-13 Juri Linkov <juri@jurta.org>
1473
1474 * image-mode.el (image-mode-map):
1475 * doc-view.el (doc-view-mode-map):
1476 * vc/ediff-util.el (ediff-setup-keymap):
1477 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1478
1479 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1480
1481 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1482 performance. Instead of recalculating indentation fully for each
1483 line, sum up indentation depth based only on visited lines.
1484 (ruby-parse-partial): Increase the depth after "do" even when END
1485 is right after it.
1486 (ruby-parse-partial): When END is in the middle of a percent
1487 literal, increase the depth if the delimiter chars belong to the
1488 paren syntax class.
1489
1490 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1491
1492 * play/fortune.el (fortune-compile): Also make the compiled file
1493 if it does not exist at all, not just if it is old. (Bug#5338)
1494
1495 2013-02-13 Glenn Morris <rgm@gnu.org>
1496
1497 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1498
1499 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1500
1501 * lisp/emacs-lisp/package.el (package-menu-execute):
1502 Add optional noquery argument. (Bug#13625)
1503
1504 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1505
1506 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1507 if DIR exists and PARENTS is non-nil.
1508
1509 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1510
1511 * progmodes/js.el (js--multi-line-declaration-indentation):
1512 Silence byte-compiler warning.
1513
1514 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1515
1516 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1517
1518 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1519 only if it doesn't exist.
1520
1521 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1522 Set process marker.
1523
1524 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1525
1526 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1527 UserInstallation when calling soffice to work around LibreOffice
1528 bug 37531.
1529
1530 2013-02-12 Glenn Morris <rgm@gnu.org>
1531
1532 * files.el (basic-save-buffer):
1533 Offer to create a non-existing directory. (Bug#3016)
1534
1535 * calc/calc-graph.el (calc-graph-show-dumb):
1536 * calendar/calendar.el (calendar-mode-map):
1537 * cus-edit.el (custom-mode-map):
1538 * ehelp.el (electric-help-map):
1539 * emulation/vip.el (vip-mode-map):
1540 * epa.el (epa-key-list-mode-map):
1541 * info.el (Info-mode-map):
1542 * mail/rmail.el (rmail-mode-map):
1543 * mail/rmailsum.el (rmail-summary-mode-map):
1544 * man.el (Man-mode-map):
1545 * net/newst-plainview.el (newsticker-mode-map):
1546 * progmodes/cpp.el (cpp-edit-mode-map):
1547 * progmodes/grep.el (grep-mode-map):
1548 * progmodes/idlw-help.el (idlwave-help-mode-map):
1549 * simple.el (special-mode-map):
1550 * startup.el (splash-screen-keymap):
1551 * view.el (view-mode-map):
1552 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1553
1554 2013-02-11 Elias Pipping <pipping@lavabit.com>
1555
1556 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1557 (bug#13679).
1558
1559 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1562
1563 2013-02-11 Glenn Morris <rgm@gnu.org>
1564
1565 * vc/diff.el (diff-use-labels): New variable.
1566 (diff-no-select): Use --label rather than -L, and first
1567 check that it is supported. (Bug#11067)
1568
1569 * files.el (enable-dir-local-variables): New variable.
1570 (hack-dir-local-variables): Respect enable-dir-local-variables.
1571 * tutorial.el (help-with-tutorial):
1572 Ignore directory-local variables. (Bug#11127)
1573
1574 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1575 (vc-svn-global-switches): ... to here. (Bug#13513)
1576
1577 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1578
1579 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1580 Handle "foo (bar, default: xxx): " prompts.
1581
1582 2013-02-10 Chong Yidong <cyd@gnu.org>
1583
1584 * files.el (basic-save-buffer-1): Do not set
1585 buffer-file-coding-system-explicit (Bug#4533).
1586
1587 * mail/emacsbug.el (report-emacs-bug): Change binding of
1588 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1589
1590 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1591
1592 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1593 * calc/calc-units.el (calc-convert-units): Use new variable.
1594
1595 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1596
1597 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1598
1599 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1600 buffer-file-type.
1601
1602 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1603 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1604 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1605 coding-system-for-write instead.
1606
1607 * jka-compr.el (jka-compr-write-region): Don't bind
1608 buffer-file-type.
1609
1610 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1611 buffer-file-type.
1612
1613 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1614 (insert-file-contents-literally): Remove reference to
1615 file-name-buffer-file-type-alist.
1616
1617 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1618 make-obsolete.
1619 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1620 (find-buffer-file-type-coding-system): Remove references to
1621 find-buffer-file-type-match, find-buffer-file-type, and
1622 buffer-file-type.
1623 Don't put find-buffer-file-type-coding-system into
1624 file-coding-system-alist.
1625 (find-file-binary, find-file-text): Bind coding-system-for-read
1626 instead of file-name-buffer-file-type-alist.
1627
1628 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1629
1630 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1631 converter (Bug#13622).
1632 (doc-view-unoconv-program): Make obsolete alias.
1633 (doc-view-odf->pdf-converter-program): New variable.
1634 (doc-view-odf->pdf-converter-function): New variable.
1635 (doc-view-mode-p): Use it.
1636 (doc-view-odf->pdf-converter-unoconv):
1637 Rename from `doc-view-odf->pdf-converter-unoconv'.
1638 (doc-view-odf->pdf-converter-soffice): New function.
1639 (doc-view-convert-current-doc):
1640 Use `doc-view-odf->pdf-converter-function'.
1641
1642 2013-02-09 Chong Yidong <cyd@gnu.org>
1643
1644 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1645 view-echo-area-messages (Bug#13340).
1646
1647 * help.el (view-echo-area-messages): Use display-buffer.
1648
1649 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1650 (Bug#13561).
1651
1652 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1655 Eval body right away, now that we do eager macroexpansion (bug#13605).
1656
1657 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1658 (fundamental-mode): Use run-mode-hooks.
1659
1660 * eshell/esh-proc.el (eshell/kill): Fix last change.
1661 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1662
1663 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1664
1665 * eshell/esh-proc.el (eshell/kill): Rewrite.
1666
1667 * eshell/em-ls.el (show-almost-all): Declare.
1668 (eshell-do-ls): Add support for -A argument.
1669
1670 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1671
1672 * icomplete.el (icomplete-forward-completions)
1673 (icomplete-backward-completions): Handle corner case (bug#13602).
1674
1675 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1676
1677 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1678 be nil. Handle this. (Bug#13636)
1679
1680 2013-02-07 Richard Stallman <rms@gnu.org>
1681
1682 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1683 `save-buffer-coding-system'.
1684
1685 2013-02-07 Alan Mackenzie <acm@muc.de>
1686
1687 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1688 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1689 (c-parse-state-get-strategy): Don't return 'BOD any more.
1690 (c-append-lower-brace-pair-to-state-cache):
1691 Extra parameter HERE instead of narrowing.
1692 Widen to top of buffer before searching backwards for a brace pair.
1693 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1694 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1695 Narrow to parameter HERE, in place of being called narrowed.
1696 (c-remove-stale-state-cache): Extra parameter HERE in place of
1697 narrowing. Check there's an open brace in the cache before
1698 searching for its match.
1699 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1700 (c-parse-state-1): Don't narrow here for 'forward strategy,
1701 instead passing extra parameter HERE to several functions.
1702 Remove 'BOD strategy.
1703
1704 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1705
1706 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1707 used to install the package.
1708
1709 2013-02-06 Glenn Morris <rgm@gnu.org>
1710
1711 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1712 if we can't get user input. (Bug#6567)
1713
1714 * startup.el (command-line): If simple.el is missing,
1715 test and warn about for some possible causes.
1716
1717 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1718
1719 * cus-start.el (all): Add ns-use-native-fullscreen.
1720
1721 2013-02-05 Glenn Morris <rgm@gnu.org>
1722
1723 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1724
1725 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1726 Fix directory creation in fallback case.
1727
1728 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1729
1730 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1731 (vc-update-change-log): Use dolist.
1732
1733 2013-02-04 Chong Yidong <cyd@gnu.org>
1734
1735 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1736 code from ffap.el.
1737 (thing-at-point-beginning-of-url-regexp): New var.
1738 (thing-at-point-uri-schemes): Update list of URI schemes.
1739 (thing-at-point-url-regexp): Variable deleted.
1740 (thing-at-point-markedup-url-regexp): Disallow newlines.
1741 (thing-at-point-newsgroup-regexp)
1742 (thing-at-point-newsgroup-heads)
1743 (thing-at-point-default-mail-uri-scheme): New variables.
1744 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1745 method to find the possible bounds of the URI at point.
1746 New optional argument to find ill-formed URIs.
1747 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1748 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1749 the scheme-adding heuristics from ffap-url-at-point.
1750 (thing-at-point--bounds-of-well-formed-url): New function.
1751 Do parens matching to decide whether to include parens in the URI
1752 (Bug#9153).
1753
1754 * ffap.el: Require thingatpt.
1755 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1756 All URI-valid characters are now recognized (Bug#5673).
1757 (ffap-string-at-point): Use use-region-p.
1758 (ffap-url-regexp): Extra character is handled by thing-at-point.
1759 (ffap-string-at-point-mode-alist): Allow parentheses.
1760 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1761 Convert to aliases; code moved to thingatpt.el.
1762 (ffap-gnus-hook): Use setq-local.
1763
1764 2013-02-04 Glenn Morris <rgm@gnu.org>
1765
1766 * emacs-lisp/ert.el (ert--explain-format-atom):
1767 Don't try to print non-characters as characters. (Bug#13543)
1768
1769 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1770
1771 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1772 (tramp-backtrace): New defun.
1773 (tramp-handle-insert-file-contents): Use `visit' when inserting
1774 the local copy.
1775
1776 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1777 Use `remote-file-name-inhibit-cache'.
1778
1779 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1782 (bug#13614).
1783
1784 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1785 current-load-list (bug#13366).
1786
1787 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1788
1789 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1790 Identify g++ template instantiation trace. (Bug#12287)
1791 (compilation-mode-hook, compilation-start-hook)
1792 (compilation-window-height): Simplify docstrings. (Bug#13379)
1793
1794 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * mouse.el (mouse-drag-track): Always deactivate the mark before
1797 running the final event's command since that command is in charge of
1798 activating the mark if needed (bug#13523).
1799
1800 2013-02-02 Juri Linkov <juri@jurta.org>
1801
1802 * replace.el (perform-replace): Move let-bindings of isearch-*
1803 variables deeper to the loop that searches for the next match.
1804 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1805 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1806 (Bug#13579)
1807
1808 * isearch.el (isearch-search-fun-default): Check for null
1809 first element of isearch-cmds as a precaution when it's used
1810 with inactive isearch.
1811
1812 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1813
1814 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1815 error when buffer in question is narrowed so position 1 is out of
1816 visible part.
1817
1818 2013-02-02 Glenn Morris <rgm@gnu.org>
1819
1820 * textmodes/remember.el (remember-clipboard): Doc fix.
1821
1822 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1825 properties (bug#13179).
1826
1827 2013-02-02 Juri Linkov <juri@jurta.org>
1828
1829 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1830 instead of hard-coded default face `match'. (Bug#9438)
1831
1832 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1833
1834 * vc/vc-arch.el (vc-arch-registered):
1835 * vc/vc-bzr.el (vc-bzr-registered):
1836 * vc/vc-cvs.el (vc-cvs-registered):
1837 * vc/vc-git.el (vc-git-registered):
1838 * vc/vc-hg.el (vc-hg-registered):
1839 * vc/vc-mtn.el (vc-mtn-registered):
1840 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1841 (Bug#13139)
1842
1843 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1844 prefix argument. (Bug#11656)
1845
1846 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1849
1850 2013-02-01 Glenn Morris <rgm@gnu.org>
1851
1852 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1853 if the backend is known not to support it.
1854
1855 * imenu.el (imenu-default-create-index-function):
1856 Tweak infinite loop test to check for forward motion as well as none.
1857
1858 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1859
1860 * net/soap-client.el (soap-invoke): Encode the string for
1861 `url-request-data' as UTF-8.
1862 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1863
1864 2013-02-01 Glenn Morris <rgm@gnu.org>
1865
1866 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1867
1868 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1869
1870 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1871
1872 * net/tramp.el (tramp-tramp-file-p): Comment check for
1873 `string-as-unibyte'. The function does not exist on XEmacs, and
1874 likely we need another approach.
1875
1876 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1877 `tramp-gw-*' variables are bound.
1878
1879 2013-01-31 Glenn Morris <rgm@gnu.org>
1880
1881 * files.el (basic-save-buffer-2): Choose coding system for
1882 writing the file before backing it up, to reduce delay between
1883 backing up and writing the new version. (Bug#13522)
1884
1885 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1886
1887 * simple.el (cycle-spacing): New command.
1888 (just-one-space): Use it.
1889
1890 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1893 (opascal-newline-always-indents): Remove custom.
1894 (opascal-tab, opascal-newline): Remove commands.
1895 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1896 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1897 (opascal-save-match-data): Remove, use save-match-data instead.
1898 (opascal-save-state): Use with-silent-modifications.
1899
1900 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1901 (bug#13585).
1902
1903 2013-01-30 Juri Linkov <juri@jurta.org>
1904
1905 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1906 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1907 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1908
1909 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1912 column if we're just deleting the backslashes.
1913 (makefile-fill-paragraph): Use eolp.
1914
1915 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1916
1917 * autorevert.el (auto-revert-use-notify): Fix docstring.
1918
1919 2013-01-30 Leo Liu <sdl.web@gmail.com>
1920
1921 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1922
1923 2013-01-30 Glenn Morris <rgm@gnu.org>
1924
1925 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1926 unread-command-events twice in some cases. This tries to implement
1927 the 2012-07-26 changes in a different way. (Bug#13560)
1928
1929 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1930
1931 * progmodes/python.el
1932 (python-pdbtrack-comint-output-filter-function): Enhancements on
1933 stacktrace detection. (thanks @gnovak)
1934
1935 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1938 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1939 Use defvar-local.
1940 (jit-lock-register): Use setq-local.
1941
1942 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1943
1944 * calc-units.el (math-default-units-table): Remove initial value.
1945 (calc-convert-units): Treat expressions where all the units cancel as
1946 if they didn't have units.
1947
1948 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1951 (tramp-completion-reread-directory-timeout): Fix type.
1952 (tramp-connection-min-time-diff): New defcustom.
1953
1954 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1955
1956 2013-01-30 Glenn Morris <rgm@gnu.org>
1957
1958 * imenu.el (imenu-default-create-index-function):
1959 Put back a version of the infinite loop test removed 2013-01-23.
1960
1961 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1962
1963 * progmodes/python.el (python-shell-parse-command):
1964 Find python-shell-interpreter with modified environment.
1965
1966 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1969
1970 2013-01-29 Alan Mackenzie <acm@muc.de>
1971
1972 Amend to fontify /regexp/s in actions correctly.
1973 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1974 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1975 are no longer included.
1976 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1977 What used to be these variables without "-line" in the name.
1978 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1979 (c-awk-non-arith-op-bra-re): Now also matches {.
1980 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1981 "return", and "case".
1982 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1983 by /.
1984 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1985 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1986
1987 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1988
1989 * autorevert.el (auto-revert-use-notify):
1990 Use `custom-initialize-default' for initialization. (Bug#13583)
1991
1992 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1993
1994 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1995 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1996 in `tramp-file-name-handler'.
1997 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1998 compatibility.
1999 (tramp-compute-multi-hops): Check, whether
2000 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2001
2002 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2004 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2005 (bug#13297).
2006
2007 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2008
2009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2010 checks made superfluous by the \_< operator.
2011 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2012 temporarily) broken indentation.
2013 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2014 Highlight nested constants, too. \_< broke that.
2015
2016 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2017
2018 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2019 instead of "\\b".
2020
2021 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2022
2023 * autorevert.el (auto-revert-handler): Notifications which result
2024 from a saved file shall not be taken into account. (Bug#13557)
2025
2026 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2027
2028 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2029 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2030 (lisp-mode): Pass t for it. (Bug#13556)
2031
2032 2013-01-25 Alan Mackenzie <acm@muc.de>
2033
2034 AWK Mode: Fix indentation bug at top level. Bug #12274.
2035
2036 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2037 just before CASE 5D.
2038
2039 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2040
2041 * net/socks.el (socks-nslookup-host): Use string-to-number.
2042
2043 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2044
2045 * autorevert.el (auto-revert-remote-files)
2046 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2047 (auto-revert-notify-enabled, auto-revert-use-notify)
2048 (auto-revert-notify-watch-descriptor-hash-list)
2049 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2050 (auto-revert-notify-event-descriptor)
2051 (auto-revert-notify-event-action)
2052 (auto-revert-notify-event-file-name): Doc fix.
2053 (global-auto-revert-mode): Reorder checks.
2054 (auto-revert-notify-rm-watch): Respect changed values of
2055 `auto-revert-notify-watch-descriptor-hash-list'.
2056 (auto-revert-notify-add-watch): Check for
2057 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2058 `inotify-add-watch'. Watch `default-directory' instead of
2059 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2060 has a changed meaning now. (Bug#13540)
2061 (auto-revert-notify-handler): Change implementation wrt events
2062 returning from a directory.
2063 (auto-revert-handler): Reorder implementation for checks of remote
2064 files.
2065 (auto-revert-buffers): Fix parentheses error.
2066
2067 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2068
2069 * progmodes/python.el: Enhancements to header documentation about
2070 skeletons. (Bug#5716)
2071
2072 * imenu.el (imenu-default-create-index-function): Remove useless
2073 infinite loop check. (Bug#13438)
2074
2075 2013-01-25 Alan Mackenzie <acm@muc.de>
2076
2077 Fix a bug in the state cache mechanism. Refactor this a bit.
2078
2079 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2080 `cache-pos' element from the return value.
2081 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2082 buffer to enable proper searching from beyond HERE. Amend the
2083 test for detecting the sought brace pair. Amend the value written
2084 to the "brace desert cache" when the brace isn't found.
2085 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2086 and several other variables analogously.
2087 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2088 parameter to a locally calculated variable.
2089 (c-parse-state-1): Change the calling conventions to the two
2090 defuns involving `cache-pos'.
2091
2092 2013-01-25 Chong Yidong <cyd@gnu.org>
2093
2094 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2095
2096 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2097
2098 * paren.el (show-paren-function): Make sure to set 'priority and
2099 'face only if the overlay does exist.
2100
2101 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2102
2103 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2104
2105 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2106 basic attributes.
2107 (tramp-sh-handle-set-file-acl): Improve error checking.
2108
2109 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2110
2111 * doc-view.el (doc-view-display): Force mode line update until all
2112 document is converted. Suggested by Stefan Monnier (Bug#13164).
2113
2114 2013-01-23 Bastien Guerry <bzg@gnu.org>
2115
2116 * paren.el (show-paren-function): Make sure an overlay exists
2117 before trying to delete it. Also use `pos' as a position only
2118 when it is an integer.
2119
2120 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2121
2122 * play/gametree.el (gametree-break-line-here): Use point-marker.
2123
2124 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2125
2126 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2127 Mark descriptive parts with `display' property.
2128
2129 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2130
2131 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2132 New variable to map standard dict names to hunspell ones.
2133 (ispell-set-spellchecker-params): Make sure specific dict names
2134 are used for standard dicts with hunspell.
2135
2136 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2137
2138 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2139 chars for note (%N) and url (%U).
2140 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2141
2142 2013-01-21 Juri Linkov <juri@jurta.org>
2143
2144 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2145 in addition to existing separate binding `meta f10' in `global-map'.
2146 (Bug#13484)
2147
2148 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2149
2150 Improve XEmacs compatibility.
2151
2152 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2153
2154 * net/tramp-adb.el (top): Require `time-date'.
2155 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2156 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2157 Use `tramp-file-name-handler'.
2158 (tramp-adb-maybe-open-connection):
2159 Use `tramp-compat-set-process-query-on-exit-flag'.
2160
2161 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2162 Use `tramp-compat-funcall'.
2163
2164 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2165 `tramp-compat-funcall'.
2166
2167 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2168
2169 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2170 reimplementation using "adb shell command ..." instead of running
2171 remote shell interactively.
2172
2173 2013-01-20 Glenn Morris <rgm@gnu.org>
2174
2175 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2176 Add native profiler menu entries.
2177
2178 * profiler.el (profiler-running-p): New function.
2179 (profiler-cpu-profile): Use profiler-running-p.
2180 (profiler-report-mode-map): Add some more menu entries.
2181
2182 2013-01-19 Glenn Morris <rgm@gnu.org>
2183
2184 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2185 fixes 2012-12-07 change. (Bug#13499)
2186
2187 2013-01-19 Leo Liu <sdl.web@gmail.com>
2188
2189 * dired.el (dired-get-marked-files): Prune erroneous values due to
2190 last change. (Bug#13152)
2191
2192 2013-01-19 Glenn Morris <rgm@gnu.org>
2193
2194 * progmodes/etags.el (tags-table-check-computed-list):
2195 Preserve point in tags buffer. (Bug#13412)
2196
2197 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2198
2199 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2200 Chong Yidong <cyd@gnu.org>
2201
2202 * image-mode.el (image-next-file, image-previous-file):
2203 New commands (Bug#8453).
2204 (image-mode-map): Bind them to n and p.
2205 (image-mode--images-in-directory): New helper function.
2206
2207 2013-01-19 Chong Yidong <cyd@gnu.org>
2208
2209 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2210 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2211 save and restore the old window configuration.
2212
2213 2013-01-18 Leo Liu <sdl.web@gmail.com>
2214
2215 * progmodes/js.el: Tweak autoload cookie for alias.
2216
2217 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2218
2219 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2220 buffer local, again. This was lost with the fix on 2013-01-12.
2221
2222 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2223
2224 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2225 order to support several eshell buffers in parallel.
2226
2227 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2228
2229 * autorevert.el (auto-revert-use-notify): In the :set function, do
2230 not modify `kill-buffer-hook'.
2231 (auto-revert-notify-rm-watch):
2232 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2233 (auto-revert-notify-add-watch): Do not call
2234 `auto-revert-notify-rm-watch', but add it to a buffer local
2235 `kill-buffer-hook'.
2236
2237 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2240 call to `eval' rather than a backquoted lambda.
2241
2242 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2245 to return an explicit nil.
2246 (advice--remove-function): Change accordingly.
2247
2248 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2249 the use of nadvice.el.
2250
2251 * progmodes/which-func.el (which-function): Silence imenu errors
2252 (bug#13433).
2253
2254 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2255
2256 * progmodes/sql.el: (sql-imenu-generic-expression):
2257 (sql-mode-font-lock-object-name): Match schema qualified names.
2258 (sql-connect): Use string keys.
2259 (sql-product-interactive): Wait for interpreter prompt.
2260 (sql-comint-oracle): Set process coding based on NLS_LANG.
2261
2262 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2263
2264 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2265 (sql-interactive-remove-continuation-prompt):
2266 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2267
2268 2013-01-14 Leo Liu <sdl.web@gmail.com>
2269
2270 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2271 (Bug#13420)
2272
2273 2013-01-14 Glenn Morris <rgm@gnu.org>
2274
2275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2276 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2277
2278 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2279
2280 * progmodes/python.el (python-nav-end-of-statement):
2281 Fix cornercase when handling multiline strings.
2282
2283 2013-01-13 Richard Stallman <rms@gnu.org>
2284
2285 * mail/sendmail.el (mail-position-on-field): Add doc string.
2286
2287 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2288 Get current message boundaries and pass them to
2289 message-forward-make-body-mime. Minor style changes.
2290
2291 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2292
2293 * cus-start.el (all): Avoid warnings about
2294 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2295
2296 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2297
2298 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2299
2300 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2303 (jit-lock--debug-fontifying): New var.
2304 (jit-lock--debug-fontify): New function.
2305 * subr.el (condition-case-unless-debug): Don't prevent catching the
2306 error, just let the debbugger run.
2307 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2308 timer code and don't drop errors silently.
2309
2310 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2311
2312 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2313 `permanent-local' property.
2314 (auto-revert-notify-handler): Use `file-equal-p'.
2315
2316 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2317
2318 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2319 file notification by ACTION. For filtering by file name, compare
2320 only the non-directory part of the file name.
2321
2322 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * autorevert.el: Use cl-lib instead of cl.
2325
2326 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2327 (vc-bzr-checkin): Use it.
2328 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2329 will preserve match-data.
2330
2331 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2332
2333 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2334 (js--declaration-keyword-re): New var.
2335 (js--multi-line-declaration-indentation): New function.
2336 (js--proper-indentation): Use it.
2337
2338 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2339
2340 * calc/calc.el (calc-highlight-selections-with-faces)
2341 (calc-dispatch):
2342 * comint.el (comint-history-isearch-message):
2343 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2344 * ffap.el (ffap-string-at-point-region, ffap-next)
2345 (ffap-string-at-point, ffap-string-around)
2346 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2347 (ffap-literally):
2348 * font-lock.el (font-lock-keywords-alist)
2349 (font-lock-removed-keywords-alist):
2350 * help-mode.el (help-xref-symbol-regexp):
2351 * info.el (Info-find-emacs-command-nodes):
2352 * international/mule.el (add-to-coding-system-list):
2353 * isearch.el (isearch-message-function, isearch-fail-pos):
2354 * misearch.el (multi-isearch-next-buffer-function):
2355 * newcomment.el (comment-box):
2356 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2357 (pr-setting-database):
2358 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2359 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2360 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2361 (pike-font-lock-keywords-3):
2362 * progmodes/compile.el (compile):
2363 * progmodes/etags.el (tags-table-files)
2364 (tags-table-files-function, tags-included-tables-function):
2365 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2366 (gdb-restore-windows):
2367 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2368 (ps-n-up-filling-database):
2369 * server.el (server-buffer, server-log):
2370 * simple.el (newline, delete-backward-char, delete-forward-char)
2371 (minibuffer-history-isearch-message, kill-line, track-eol)
2372 (temporary-goal-column):
2373 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2374 (flyspell-default-deplacement-commands):
2375 * textmodes/ispell.el (ispell-accept-output):
2376 * textmodes/sgml-mode.el (html-tag-help):
2377 * vc/compare-w.el (compare-ignore-whitespace)
2378 (compare-ignore-case, compare-windows-dehighlight):
2379 * vc/diff.el (diff):
2380 * whitespace.el (whitespace-point)
2381 (whitespace-font-lock-refontify, whitespace-bob-marker)
2382 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2383
2384 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2385
2386 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2387 (auto-revert-notify-rm-watch): Ignore errors.
2388 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2389 inotify, and '(size last-write-time) for w32notify.
2390 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2391 watch fails - this is a fallback to the file modification check.
2392 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2393 (auto-revert-notify-event-action)
2394 (auto-revert-notify-event-file-name): New defuns.
2395 (auto-revert-notify-handler): Use them. Implement first
2396 plausibility checks.
2397 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2398
2399 2013-01-11 Julien Danjou <julien@danjou.info>
2400
2401 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2402 max are almost equal. Also return the correct value for V which is
2403 already between 0 and 1.
2404
2405 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2406
2407 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2408
2409 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2410
2411 * autorevert.el (auto-revert-notify-rm-watch)
2412 (auto-revert-notify-add-watch): Fix typos in w32notify function
2413 names.
2414
2415 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2416
2417 * autorevert.el (auto-revert-notify-enabled): Move up.
2418 (auto-revert-use-notify): New defcustom.
2419 (auto-revert-mode, global-auto-revert-mode)
2420 (auto-revert-notify-add-watch, auto-revert-handler)
2421 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2422 `auto-revert-notify-enabled'.
2423
2424 2013-01-10 Elias Pipping <pipping@exherbo.org>
2425
2426 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2427 * doc-view.el (doc-view-document->bitmap):
2428 Use doc-view-single-page-converter-function instead of
2429 single-page-converter arg; adjust callers.
2430
2431 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2432
2433 * progmodes/which-func.el (which-function): Understand Semantic's use
2434 of overlays in imenu--index-alist.
2435
2436 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2437
2438 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2439 (Man-man-k-use-anchor): New var.
2440 (Man-parse-man-k): New function.
2441 (Man-completion-table): Use it.
2442 (man): Flush the completion cache between uses.
2443
2444 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2445
2446 * autorevert.el: Add file watch support.
2447 (auto-revert-notify-enabled): New defconst.
2448 (auto-revert-notify-watch-descriptor-hash-list)
2449 (auto-revert-notify-watch-descriptor)
2450 (auto-revert-notify-modified-p): New defvars.
2451 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2452 (auto-revert-notify-handler): New defuns.
2453 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2454 when mode is disabled.
2455 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2456 (auto-revert-buffers): Add file watches for active buffers.
2457
2458 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2459
2460 * cus-start.el (toplevel): Only allow float values for
2461 scroll-up-aggressively and scroll-down-aggressively.
2462 Allow any number for line-spacing.
2463
2464 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2467 (doc-view-pdf->png-converter-function): Use mupdf if available.
2468 (doc-view-djvu->png-converter-function)
2469 (doc-view-ps->png-converter-function): Remove.
2470 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2471 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2472 (doc-view-already-converted-p): Adjust accordingly.
2473 (doc-view-mode-p): Simplify.
2474 (doc-view-enlarge): Use setq-local.
2475 (doc-view-pdf->png-converter-ghostscript)
2476 (doc-view-djvu->png-converter-ddjvu)
2477 (doc-view-pdf->png-converter-mupdf): Rework to call
2478 doc-view-start-process directly.
2479 (doc-view-pdf/ps->png): Simplify accordingly.
2480 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2481 (doc-view-document->bitmap): Rename from doc-view-document->png.
2482 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2483 (doc-view-set-slice-from-bounding-box): Fix completion table.
2484 (doc-view-mode): Use add-hook for after-revert-hook.
2485
2486 2013-01-10 Glenn Morris <rgm@gnu.org>
2487
2488 * emacs-lisp/authors.el (authors-ignored-files)
2489 (authors-valid-file-names, authors-renamed-files-alist):
2490 Add some more entries.
2491
2492 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2495 `t' pseudo-window entry.
2496
2497 2013-01-10 Alan Mackenzie <acm@muc.de>
2498
2499 Fix bugs in the c-parse-state mechanism. Reuse some markers
2500 instead of continually generating new ones.
2501
2502 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2503 (c-state-old-cpp-end-marker): New variables.
2504 (c-append-lower-brace-pair-to-state-cache): Start a backward
2505 search for "}" definitively outside CPP constructs.
2506 (c-remove-stale-state-cache): Inform the caller of a need to
2507 search back for a brace pair in certain circumstances.
2508 (c-state-maybe-marker): New macro.
2509 (c-parse-state): Reuse markers when appropriate.
2510
2511 2013-01-10 Glenn Morris <rgm@gnu.org>
2512
2513 * simple.el (execute-extended-command): Doc fix.
2514 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2515
2516 2013-01-10 Chong Yidong <cyd@gnu.org>
2517
2518 * faces.el (read-face-name): Doc fix.
2519
2520 2013-01-10 Roland Winkler <winkler@gnu.org>
2521
2522 * emacs-lisp/crm.el: Allow any regexp for separators.
2523 (crm-default-separator): All spaces around the default comma separator.
2524 (crm--completion-command): New macro.
2525 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2526 (crm-complete-and-exit): Handle non-single-char separators.
2527
2528 2013-01-09 Elias Pipping <pipping@lavabit.com>
2529
2530 * doc-view.el: Add support for DjVu (bug#13164).
2531 (doc-view-djvu->png-converter-function): New config var.
2532 (doc-view-single-page-converter-function, doc-view--image-type)
2533 (doc-view--image-file-extension): New vars.
2534 (doc-view-mode): Initialize them.
2535 (doc-view-goto-page): Use them.
2536 (doc-view-mode-p): Add support for ddjvu.
2537 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2538 (doc-view-set-up-single-converter): New funs.
2539 (doc-view-pdf/ps->png): Extend for djvu.
2540 (doc-view-document->png): Rename from doc-view-pdf->png.
2541 (doc-view-convert-current-doc): Handle djvu.
2542 (doc-view-insert-image, doc-view-display)
2543 (doc-view-already-converted-p): Don't hardcode png.
2544 (doc-view-set-doc-type): Recognize djvu docs.
2545
2546 2013-01-09 Elias Pipping <pipping@lavabit.com>
2547
2548 * doc-view.el: Add support for mupdf converter (bug#13164).
2549 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2550 (doc-view-ps->png-converter-function): New config vars.
2551 (doc-view-pdf->png-converter-ghostscript)
2552 (doc-view-ps->png-converter-ghostscript)
2553 (doc-view-pdf->png-converter-mupdf): New functions.
2554 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2555
2556 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2557
2558 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2559 first in session cache: When `tramp-own-remote-path' is in
2560 `tramp-remote-path', the remote path is only set in the session
2561 cache.
2562
2563 2013-01-09 Glenn Morris <rgm@gnu.org>
2564
2565 * emacs-lisp/trace.el (trace-function-foreground)
2566 (trace-function-background): Doc fix.
2567
2568 2013-01-09 Juri Linkov <juri@jurta.org>
2569
2570 * international/mule-cmds.el (read-char-by-name): Move let-binding
2571 of completion-ignore-case around completing-read to fix regression
2572 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2573 `string-match-p' using the nil value of `case-fold-search' and
2574 `completion-ignore-case' in `completion-pcm--all-completions'.
2575 (Bug#12615).
2576
2577 2013-01-09 Glenn Morris <rgm@gnu.org>
2578
2579 * progmodes/compile.el (compilation-parse-errors):
2580 Fix typo. (Bug#13369)
2581
2582 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2583
2584 * comint.el (comint-send-input): Check size of buffer before
2585 waiting for process output, in case already accepted. (Bug#13290)
2586
2587 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2588
2589 Spelling fixes.
2590 * net/tramp-adb.el (tramp-adb-get-toolbox):
2591 Fix misspelling of 'unknown'.
2592
2593 2013-01-08 Juri Linkov <juri@jurta.org>
2594
2595 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2596 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2597 Use underline style wave on terminals that support it. (Bug#13000)
2598
2599 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2602 the predicate returns nil.
2603
2604 * simple.el: Use lexical-binding.
2605 (primitive-undo): Use pcase.
2606 (minibuffer-history-isearch-push-state): Use a closure.
2607
2608 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2609
2610 * simple.el (primitive-undo): Move from undo.c.
2611
2612 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2615 (cvs-mode-remove-handled): Use it (bug#13380).
2616
2617 * emacs-lisp/nadvice.el (advice--tweak): New function.
2618 (advice--remove-function, advice--subst-main): Use it.
2619
2620 * emacs-lisp/advice.el: Update commentary.
2621
2622 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2625 Remove spurious entry.
2626
2627 2013-01-08 Glenn Morris <rgm@gnu.org>
2628
2629 * net/tramp.el (tramp-default-host-alist): Add :version.
2630
2631 2013-01-08 Juri Linkov <juri@jurta.org>
2632
2633 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2634 single completion. (Bug#12456)
2635 (info--manual-names): Expand node completions into an explicit list
2636 before appending it to another list. Filter out internal buffers
2637 with the leading space in the buffer name. (Bug#10771)
2638
2639 2013-01-08 Juri Linkov <juri@jurta.org>
2640
2641 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2642 that defaults to the Top node.
2643 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2644 the short format (FILENAME) goes to the Top node.
2645 (Info-build-node-completions): Rename arg `file' to `filename'.
2646 (Bug#13365)
2647
2648 2013-01-07 Bastien Guerry <bzg@gnu.org>
2649
2650 * menu-bar.el (menu-bar-search-documentation-menu):
2651 Use `apropos-user-option' and fix the help message.
2652
2653 2013-01-07 Bastien Guerry <bzg@gnu.org>
2654
2655 * apropos.el (apropos-do-all): Update docstring.
2656 (apropos-user-option-button): New face.
2657 (apropos-user-option): Rename from `apropos-variable' and update
2658 docstring.
2659 (apropos-variable): Rewrite, now show all variables by default.
2660 (apropos-print): Mention "User option" instead of "Variable" when
2661 printing doc for user options. (Bug#13276)
2662
2663 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2664
2665 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2666 Handle filename correctly, when parsing "source -> target" symlink
2667 output.
2668 (tramp-adb-handle-set-file-times): New defun.
2669
2670 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2673 advice list when the interactive-spec of ad-Advice-* changes.
2674
2675 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2676
2677 * wid-edit.el (widget-default-get): Work for inlined elements.
2678 (Bug#12670)
2679
2680 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * net/tramp.el (tramp-default-host-alist): New defcustom.
2683 (tramp-find-host): Use it.
2684 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2685 `eshell-directory-change-hook'.
2686
2687 * net/tramp-adb.el (top): Add adb specific entry in
2688 `tramp-default-host-alist'.
2689 (tramp-adb-file-name-host): Remove function.
2690 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2691 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2692
2693 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2694
2695 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2696
2697 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2698
2699 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2702 consist of more than one digit.
2703 (tramp-adb-file-name-handler-alist):
2704 Use `tramp-handle-file-exists-p' consistently.
2705 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2706 (tramp-adb-handle-file-exists-p): Remove function.
2707 (tramp-adb-file-name-host): New defun.
2708 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2709 Use it.
2710 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2711
2712 2013-01-06 Chong Yidong <cyd@gnu.org>
2713
2714 * vc/vc.el (vc-next-action): Detect buffer modifications
2715 conflicting with locking VCS operation (Bug#11490).
2716
2717 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2718
2719 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2720
2721 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2722 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2723
2724 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2725
2726 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2727 parsing of ls output using regular expression (handle filenames
2728 with spaces). Use virtual device number.
2729 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2730 cleanup).
2731
2732 2013-01-04 Daiki Ueno <ueno@gnu.org>
2733
2734 * epg.el: Silence byte-compiler warnings.
2735 (epg--start): Use delete-char instead of delete-backward-char.
2736 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2737
2738 2013-01-04 Daiki Ueno <ueno@gnu.org>
2739
2740 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2741 Suggested by Eli Zaretskii <eliz@gnu.org>.
2742
2743 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2746 non-negative integers. Otherwise, the default values are used.
2747 (tramp-convert-file-attributes): Convert uid and gid to integers.
2748
2749 2013-01-04 Glenn Morris <rgm@gnu.org>
2750
2751 * term.el (term-handle-colors-array): Ensure face attributes
2752 are fully specified, not nil. (Bug#13337)
2753
2754 * term.el (term-default-fg-color, term-default-bg-color):
2755 Fix custom type.
2756
2757 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2758 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2759 rather than 'jka-compr being loaded. (Bug#13338)
2760
2761 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2762
2763 * icomplete.el (icomplete-completions):
2764 Honor icomplete-prospects-height once more following
2765 2012-11-29 changes. (Bug#13224)
2766
2767 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2770 of called-interactively-p as well (bug#13237).
2771
2772 * view.el (view--enable, view--disable): Rename from view-mode-enable
2773 and view-mode-disable and assume it's called from view-mode.
2774 (view-mode-enable, view-mode-disable): Redefine as obsolete
2775 compatibility layer above view-mode.
2776 (view-mode-enter): Call `view-mode'.
2777
2778 * files.el (after-find-file): Call `view-mode'.
2779
2780 * doc-view.el (doc-view-scale-internally): New var.
2781 (doc-view-enlarge, doc-view-insert-image): Obey it.
2782
2783 2013-01-03 Daiki Ueno <ueno@gnu.org>
2784
2785 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2786 exist. (Bug#13344)
2787
2788 2013-01-03 Glenn Morris <rgm@gnu.org>
2789
2790 * mail/rmail.el (rmail-set-header-1): Ignore case.
2791 Handle multi-line headers. (Bug#13330)
2792
2793 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2794 Handle paragraph starting at beginning of buffer.
2795
2796 * subr.el (eval-after-load): Don't purecopy the form, so that it
2797 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2798
2799 * emacs-lisp/byte-run.el (defun): Place cl declarations
2800 after any interactive spec. (Bug#13265)
2801
2802 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2803
2804 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2805 defun. Don't check for DECL if DOCSTRING isn't a string.
2806 (defun): Likewise.
2807
2808 2013-01-02 Glenn Morris <rgm@gnu.org>
2809
2810 * eshell/em-cmpl.el (eshell-pcomplete):
2811 More thoroughly imitate pcomplete. (Bug#13293)
2812
2813 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2814 Return nil for empty path elements. (Bug#13296)
2815
2816 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2817
2818 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2819 order to improve efficiency (Based on Daniel Colascione's
2820 <dancol@dancol.org> patch). (Bug#13182)
2821
2822 2013-01-02 Glenn Morris <rgm@gnu.org>
2823
2824 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2825
2826 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2827
2828 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2829 neither DOCSTRING nor DECL was given. (Bug#13316)
2830
2831 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2832
2833 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2834 `error' call.
2835 (tramp-do-copy-or-rename-file): Ignore errors when calling
2836 `set-file-extended-attributes'.
2837
2838 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2839 Add handler for `file-acl'.
2840 (tramp-smb-handle-file-acl): New defun.
2841
2842 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2843
2844 * calc/README: Mention ISO 8601 week-numbering dates.
2845
2846 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2847
2848 * view.el (view-mode-enable): New argument run-view-mode-hook.
2849 Run view-mode-hook only when it's non-nil (Bug#13315).
2850 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2851 argument t.
2852
2853 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2854
2855 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2856 (No device connected, invalid device name). (Bug #13299)
2857
2858 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2859
2860 * window.el (window-resizable--p): Rename to window-resizable-p.
2861 (window-resize-no-error): New function.
2862
2863 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2864 broken in fix from 2012-12-28.
2865
2866 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * subr.el (special-form-p): Don't signal errors on undef aliases.
2869
2870 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2871
2872 * calc/calc-forms.el (math-parse-date): Try using
2873 `math-parse-iso-date' when it looks like it might be needed.
2874 Allow times of 24:00.
2875 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2876 of 24:00.
2877
2878 2012-12-30 Glenn Morris <rgm@gnu.org>
2879
2880 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2881 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2882 (rmail-summary-displayed, rmail-summary): Declare.
2883 (mairix-rmail-display): Just require rmail.
2884
2885 2012-12-30 Chong Yidong <cyd@gnu.org>
2886
2887 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2888 check for the tarball contents.
2889
2890 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2891
2892 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2893 tarfile content listings (Bug#13136).
2894
2895 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2896
2897 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2898 Insert the undecoded text of the message being forwarded. (Bug#9521)
2899
2900 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2901
2902 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2903 integers, if they are real numbers. (Bug#13282)
2904
2905 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2906 Return `t' on success.
2907
2908 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2909 Add handler for `set-file-selinux-context'.
2910
2911 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2912
2913 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2914 (tramp-sh-handle-set-file-acl): Return `t' on success.
2915
2916 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2917
2918 * files.el (backup-buffer-copy, basic-save-buffer-2):
2919 If set-file-extended-attributes fails, fall back on set-file-modes
2920 instead of signaling an error. (Bug#13298)
2921 (basic-save-buffer): Likewise.
2922
2923 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2924
2925 * progmodes/python.el: Support other commands triggering
2926 python-indent-line so indentation cycling continues to work.
2927 (python-indent-trigger-commands): New defcustom.
2928 (python-indent-line): Use it.
2929
2930 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2931
2932 * progmodes/python.el (python-shell-send-region): Add blank lines
2933 for non sent code so backtraces remain correct.
2934
2935 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2936
2937 * progmodes/python.el: Remove cl dependency.
2938 (python-syntax-count-quotes): Replace incf call.
2939 (python-fill-string): Replace setf call.
2940
2941 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2942
2943 * info.el (info-other-window): New arg, for consistency with info.
2944
2945 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2946
2947 * mail/rmail.el (rmail-maybe-display-summary):
2948 Rewrite (Bug#13066).
2949
2950 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2951
2952 * epg.el (epg--start): Modify process-environment locally.
2953
2954 2012-12-28 Daiki Ueno <ueno@gnu.org>
2955
2956 * epg.el: Support pinentry-curses.
2957 Suggested by Werner Koch in
2958 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2959 (epg-agent-file, epg-agent-mtime): New variable.
2960 (epg--start): Record the modified time of gpg-agent socket file,
2961 to restore Emacs frame after pinentry-curses termination.
2962 (epg-wait-for-completion): Restore Emacs frame here.
2963
2964 2012-12-27 Juri Linkov <juri@jurta.org>
2965
2966 * info.el (Info-file-completions): New variable.
2967 (Info-read-node-name-1): Complete node names in the Info file
2968 when a file name is given. Call `Info-build-node-completions'
2969 with a file name.
2970 (Info-build-node-completions): Add new arg `file'. When it is
2971 non-nil, visit it in a temporary buffer and cache its completions in
2972 `Info-current-file-completions'. Move most of the function body to
2973 `Info-build-node-completions-1'.
2974 (Info-build-node-completions-1): New function with the body from
2975 `Info-build-node-completions'. (Bug#12456)
2976
2977 2012-12-27 Juri Linkov <juri@jurta.org>
2978
2979 * frame.el (frame-maximization-style): Remove user option.
2980 (cycle-frame-maximized): Remove function.
2981 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2982 (toggle-frame-fullscreen): New command bound to <f11> instead of
2983 `toggle-frame-maximized'.
2984 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2985
2986 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2987
2988 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2989
2990 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2992 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2993 for `file-accessible-directory-p'. (Bug#13275)
2994
2995 2012-12-27 Sam Steingold <sds@gnu.org>
2996
2997 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2998 continuations, see <http://stackoverflow.com/questions/3582436>.
2999
3000 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3001
3002 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3003 "module" and "def" to have indentation before them.
3004 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3005
3006 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3007
3008 2012-12-27 Alan Mackenzie <acm@muc.de>
3009
3010 Speed up fontification where there's large brace blocks.
3011 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3012 to a call of c-beginning-of-decl-1.
3013
3014 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3015
3016 * comint.el (comint-adjust-window-point): New function.
3017 (comint-postoutput-scroll-to-bottom):
3018 Call comint-adjust-window-point (Bug#13248).
3019
3020 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3021
3022 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3023 Rakefile regexp.
3024 (auto-mode-alist): Associate .gemspec files with ruby-mode
3025 (https://bugs.ruby-lang.org/issues/5453).
3026
3027 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3028
3029 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3030 Suppress coloring, if possible (required for BusyBox based systems like
3031 CyanogenMod).
3032 (tramp-adb-handle-file-attributes)
3033 (tramp-adb-handle-insert-directory)
3034 (tramp-adb-handle-file-name-all-completions): Use it.
3035 (tramp-adb-get-toolbox): New defun. Check for remote shell
3036 implementation (BusyBox or Toolbox).
3037
3038 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3039
3040 * startup.el (initial-buffer-choice): Allow function as value
3041 (Bug#13251).
3042 (command-line-1): Handle case where initial-buffer-choice
3043 specifies a function.
3044 * server.el (server-execute): Handle case where
3045 initial-buffer-choice specifies a function.
3046
3047 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3048
3049 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3050 its own function.
3051 (smtpmail-try-auth-methods): Forget the user name/password if the
3052 login is unsuccessful (bug#12424).
3053
3054 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3055
3056 * notifications.el (notifications-notify): Protect body with
3057 `with-demoted-errors'.
3058
3059 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3060 Check properties of remote device. Restart connection, if there is a
3061 change.
3062
3063 2012-12-21 Chong Yidong <cyd@gnu.org>
3064
3065 * sort.el (sort-subr): Doc fix (Bug#13056).
3066
3067 2012-12-21 Bastien Guerry <bzg@gnu.org>
3068
3069 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3070
3071 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3072
3073 * simple.el (process-file): Overwrite stderr file, if exists.
3074
3075 2012-12-21 Daiki Ueno <ueno@gnu.org>
3076
3077 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3078 (epg-error): Set `error-message' property.
3079
3080 2012-12-21 Chong Yidong <cyd@gnu.org>
3081
3082 * international/mule-cmds.el (read-char-by-name): Signal an error
3083 if the user does not supply a valid character (Bug#13177).
3084
3085 * simple.el (transpose-subr-1): Preserve marker positions by
3086 changing the insertion sequence (Bug#13122).
3087
3088 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3089
3090 * simple.el (kill-region): Deactivate mark even for empty regions
3091 (Bug#13169).
3092
3093 2012-12-21 Chong Yidong <cyd@gnu.org>
3094
3095 * help-fns.el (describe-variable): Make sure we get the right
3096 buffer name (Bug#13105). Suggested by Kelly Dean.
3097
3098 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3099
3100 * comint.el (comint-redirect-previous-input-string): New variable.
3101 (comint-redirect-setup, comint-redirect-cleanup)
3102 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3103 (comint-redirect-preoutput-filter): Fix verbose message.
3104
3105 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3108 is too long for Tramp. See discussion in
3109 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3110
3111 * progmodes/compile.el (compilation-start): Remove line escape
3112 template.
3113
3114 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3115
3116 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3117 Adjust comment.
3118
3119 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3120
3121 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3122 following non-comment text (bug#13207).
3123 (lm-header-multiline): Continuation lines need to be indented more than
3124 the first line.
3125 (lm-homepage): New function.
3126 (lm-with-file): Don't be confused if narrowing is in effect.
3127
3128 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3131 very beginning of a hunk (e.g. killing the first line).
3132
3133 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3136 and text properties from returned ACL string.
3137 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3138 for "setfacl" command.
3139
3140 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3141
3142 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3143 `tramp-cleanup-this-connection', when the process has died.
3144 (Bug#13151)
3145
3146 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3149
3150 2012-12-17 Kevin Ryde <user42@zip.com.au>
3151
3152 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3153
3154 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3155
3156 Add support for preserving ACL entries of files.
3157
3158 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3159 `set-file-acl' handlers.
3160
3161 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3162 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3163
3164 * net/tramp-compat.el (tramp-compat-copy-file):
3165 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3166
3167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3168 Add `file-acl' and `set-file-acl' handlers.
3169 (tramp-gvfs-handle-copy-file):
3170 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3171 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3172 New defuns.
3173
3174 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3175 Add `file-acl' and `set-file-acl' handlers.
3176 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3177 (tramp-sh-handle-set-file-acl): New defuns.
3178 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3179 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3180
3181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3182 Add `file-acl' and `set-file-acl' handlers.
3183 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3184
3185 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3186
3187 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3188 use pop-to-buffer with NORECORD argument t. As buffer name, use
3189 *Metahelp* with a leading space (Bug#13190).
3190
3191 2012-12-16 Romain Francoise <romain@orebokech.com>
3192
3193 * files.el (file-extended-attributes)
3194 (set-file-extended-attributes): New functions.
3195 (backup-buffer): Use them to handle both SELinux context and ACL
3196 entries.
3197 (backup-buffer-copy): Work with an alist of extended attributes,
3198 rather than an SELinux context.
3199 (basic-save-buffer-2): Ditto.
3200
3201 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3202
3203 * battery.el (battery-bsd-apm): New function.
3204
3205 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3206
3207 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3208 standard date formats.
3209
3210 2012-12-15 Juri Linkov <juri@jurta.org>
3211
3212 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3213 `isearch-insert-char-by-name'.
3214 (with-isearch-suspended): New defmacro with body mostly from
3215 `isearch-edit-string' except the part that sets
3216 `isearch-new-string' and `isearch-new-message'.
3217 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3218 body that sets `isearch-new-string' and `isearch-new-message'.
3219 (isearch-insert-char-by-name): New command.
3220 * international/mule-cmds.el (read-char-by-name): Let-bind
3221 `enable-recursive-minibuffers' to t.
3222 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3223
3224 2012-12-15 Juri Linkov <juri@jurta.org>
3225
3226 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3227 (Bug#13175)
3228
3229 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3230
3231 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3232 the prompt. (Bug#13045)
3233
3234 2012-12-14 Glenn Morris <rgm@gnu.org>
3235
3236 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3237 Try to include filename in non-bytecomp warning. (Bug#13132)
3238
3239 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3240
3241 Fix permissions bugs with setgid directories etc. (Bug#13125)
3242 * files.el (backup-buffer): Don't rely on 9th output of
3243 file-attributes, as it's now a placeholder. Instead, use the new
3244 optional arg of file-ownership-preserved-p.
3245 (file-ownership-preserved-p): New optional arg GROUP.
3246 Fix mishandling of setuid directories that would cause this
3247 function to return t when it should have returned nil.
3248 Document what happens if the file does not exist, and when
3249 it's not known whether the ownership will be preserved.
3250 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3251 Likewise.
3252 (tramp-get-local-gid): Use group-gid for integer, as that's
3253 faster and more reliable.
3254
3255 2012-12-14 Julien Danjou <julien@danjou.info>
3256
3257 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3258 Update keywords list, data type and PL/pgSQL.
3259
3260 2012-12-14 Dave Abrahams <dave@boostpro.com>
3261
3262 * vc/ediff-util.el (ediff-buffer-type): New function.
3263 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3264 rather than taking it as as argument.
3265 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3266
3267 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3268
3269 * json.el: Add pretty-print option (bug#12634).
3270 (json-encoding-separator, json-encoding-default-indentation)
3271 (json--encoding-current-indentation, json-encoding-pretty-print)
3272 (json-encoding-lisp-style-closings): New vars.
3273 (json--with-indentation): New macro.
3274 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3275 (json-encode-array): Use it to obey json-encoding-pretty-print.
3276 (json-pretty-print-buffer, json-pretty-print): New commands.
3277
3278 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3279
3280 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3281 Extract `ruby-syntax-propertize-expansions'.
3282 (ruby-syntax-propertize-expansions): Only change syntax on
3283 certain string delimiters, to punctuation. This way the common
3284 functions like forward-word and thing-at-point still work.
3285 (ruby-match-expression-expansion): Improve readability.
3286 (ruby-block-contains-point): New function.
3287 (ruby-add-log-current-method): Handle several edge cases.
3288
3289 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3292 unload-feature finishes even when aborting an ongoing edebug session.
3293 Also, do not worry about edebug-mode, unload-feature takes care of it.
3294
3295 2012-12-13 Andreas Schwab <schwab@suse.de>
3296
3297 * net/tls.el (tls-program): Update customize type.
3298
3299 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3300
3301 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3302 (edebug-setup-hook, cl-read-load-hooks): Use it.
3303 (edebug-unload-function): New function. (Bug#13163)
3304
3305 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3308 Otherwise, there could be errors in autoloading. (Bug#13151)
3309
3310 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3311
3312 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3313 sequences.
3314
3315 2012-12-13 Alan Mackenzie <acm@muc.de>
3316
3317 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3318 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3319 around `forward-comment' not recognizing ^M as whitespace.
3320
3321 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3322
3323 * progmodes/python.el (python-skeleton-class)
3324 (python-skeleton-def): Do not add space after defun name.
3325
3326 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3329 (cl--symbol-function): Remove (now that funbound is like nil).
3330
3331 2012-12-12 Glenn Morris <rgm@gnu.org>
3332
3333 * button.el (button--area-button-p): Fix typo.
3334
3335 2012-12-12 Sam Steingold <sds@gnu.org>
3336
3337 * frame.el (frame-maximization-style): New user option.
3338 (toggle-frame-maximized): Toggle frame maximization according to
3339 `frame-maximization-style', bound to <f11>.
3340 (cycle-frame-maximized): Cycle between all maximization styles and
3341 non-maximized frame, bound to shift-<f11>.
3342
3343 2012-12-12 David Cadé <codename68@gmail.com>
3344
3345 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3346
3347 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3348
3349 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3350 (eieio-override-prin1): Don't quote kewords and booleans.
3351 (object-write) <eieio-default-superclass>: Don't put closing parens
3352 on new line, avoid needless empty lines, align values that are objects
3353 with the slot keyword (instead of beginning on the same line).
3354 (eieio-list-prin1): Align value with slot keyword; increase
3355 eieio-print-depth before printing members of the list.
3356
3357 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3360 a display text-property.
3361 (report-emacs-bug-hook): Don't bother deleting it any more.
3362
3363 * hilit-chg.el (highlight-save-buffer-state): Delete.
3364 Use with-silent-modifications instead.
3365 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3366
3367 * button.el: Handle buttons in display text-properties.
3368 (button--area-button-p, button--area-button-string):
3369 Use (STRING . STRING-POS) representation instead of just STRING.
3370
3371 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3372
3373 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3374 subdirectory be skipped.
3375
3376 2012-12-11 Glenn Morris <rgm@gnu.org>
3377
3378 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3379
3380 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3381 Treat preprocessor lines embedded in continuations like comments.
3382 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3383
3384 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3385
3386 * calc/calc.el (calc-standard-date-formats): Add more date
3387 formats.
3388 * calc/calc-forms.el (math-parse-iso-date): New function.
3389 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3390 (math-parse-iso-date-validate): Add extra error checking.
3391 (calc-date-notation): Add ability to access new date formats.
3392
3393 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3396 font-lock as well as when there's no text-property.
3397
3398 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3399
3400 * hi-lock.el: Refine the choice of default face.
3401 (hi-lock-keyword->face): New function. Use it wherever we used
3402 cadadadr instead.
3403 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3404 (hi-lock--last-face): Remove var.
3405 (hi-lock--unused-faces): New var to replace it.
3406 (hi-lock-read-face-name): Use/maintain it.
3407 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3408 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3409 if it has another face.
3410
3411 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3412
3413 * subr.el (w32notify-handle-event): New function.
3414 (inotify-handle-event): Doc fix.
3415
3416 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3417
3418 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3419
3420 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3421
3422 * simple.el (just-one-space): Doc fix.
3423
3424 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3425
3426 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3427
3428 2012-12-10 Le Wang <l26wang@gmail.com>
3429
3430 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3431 narrowed buffer (bug#12361).
3432
3433 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3434
3435 * vc/vc-hooks.el (vc-state): Doc fix.
3436
3437 2012-12-10 Glenn Morris <rgm@gnu.org>
3438
3439 * mail/rmail.el (rmail-maybe-display-summary):
3440 Preserve buffer, in case select-window changes it. (Bug#13066)
3441
3442 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3445 cl-load-hook where they belong.
3446
3447 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3450
3451 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3452
3453 Parallelize byte compilation on MS-Windows.
3454 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3455 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3456 (WINS_BASIC): Define as concatenation of the above.
3457 (compile): Subdivide into 4 separate and independent jobs that can
3458 be run in parallel.
3459 (compile0-CMD, compile0-SH): New targets for compiling
3460 COMPILE_FIRST files, which are prerequisites for the rest of the
3461 byte-compilation.
3462 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3463 New targets for parallel compilation with cmd.exe.
3464 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3465 compiling under a Unixy shell.
3466
3467 2012-12-09 Chong Yidong <cyd@gnu.org>
3468
3469 * simple.el (set-mark-default-inactive): Delete this
3470 accidentally-introduced option.
3471 (set-mark-command, exchange-point-and-mark): Remove calls.
3472
3473 2012-12-09 Glenn Morris <rgm@gnu.org>
3474
3475 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3476 Respect a defcustom's :set function, if appropriate. (Bug#109)
3477 (eval-defun): Doc fix.
3478
3479 2012-12-08 Juri Linkov <juri@jurta.org>
3480
3481 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3482 (Info-fontify-node, Info-bookmark-make-record): Remove the
3483 file extension from Info-current-file (Bug#13016).
3484
3485 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3488 point, still provide some default.
3489 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3490 names, since we don't use it right now. Actually return the list.
3491 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3492
3493 2012-12-07 Chong Yidong <cyd@gnu.org>
3494
3495 * novice.el (disabled-command-function): Remove a spurious help
3496 xref (Bug#13043). Suggested by Kelly Dean.
3497
3498 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3499 syntax is specified (Bug#13025).
3500
3501 * info.el (Info-set-mode-line): Remove the file extension from
3502 Info-current-file if there is one (Bug#13016).
3503
3504 2012-12-07 Glenn Morris <rgm@gnu.org>
3505
3506 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3507 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3508 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3509 and rmail-mime-decoded. (Bug#9841)
3510
3511 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3512 (batch-unrmail, unrmail): Doc fixes.
3513 (unrmail): Respect unrmail-mbox-format.
3514 * mail/rmail.el (rmail-mbox-format): New option.
3515 (rmail-show-message-1): Respect rmail-mbox-format.
3516
3517 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3520
3521 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3524 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3525 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3526 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3527 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3528 (cl-progv): Don't rely on dynamic scoping to find the body.
3529 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3530 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3531 (cl-declaim): Use backquotes.
3532 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3533 Use "cl--" prefix for the object's tag.
3534
3535 * ses.el: Use advice-add/remove.
3536 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3537 (copy-region-as-kill, yank): Use advice-add.
3538 (ses-unload-function): Use advice-remove.
3539
3540 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3541
3542 * button.el: Make them work in header-lines (bug#12817).
3543 (button-map): Add bindings for header-line and mode-line use.
3544 (button-get, button-put, button-label): `button' may now be a string.
3545 (button-activate): Don't make it a defsubst.
3546 (button--area-button-p, button--area-button-string): New functions.
3547 (make-text-button): Fix the return value when `beg' was a string.
3548 (push-button): Handle the mode-line case.
3549
3550 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3553 (sql-signum): Remove. Use `cl-signum' instead.
3554 (sql-read-passwd): Remove; use read-passwd instread.
3555 (sql-get-login-ext): Use read-string.
3556 (sql-get-login): Use dolist and pcase.
3557 (sql--completion-table): Rename from sql-try-completion.
3558 Use complete-with-action.
3559 (sql-mode): Don't change abbrev-all-caps globally.
3560 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3561 (sql-postgres-completion-object): Initialize vars in their `let'.
3562 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3563 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3564 (sql-comint-interbase): Use a single append, without setq.
3565 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3566
3567 * hi-lock.el: Rework the default face and the serialize regexp code.
3568 (hi-lock--auto-select-face-defaults): Remove.
3569 (hi-lock-string-serialize-serial): Remove.
3570 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3571 make weak.
3572 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3573 equal string.
3574 (hi-lock-set-pattern): Adjust accordingly.
3575 (hi-lock--regexps-at-point): Simplify accordingly.
3576 (hi-lock--auto-select-face-defaults): Remove.
3577 (hi-lock--last-face): New var to replace it.
3578 (hi-lock-read-face-name): Rewrite (bug#11095).
3579 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3580
3581 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3582
3583 * net/tramp.el (tramp-replace-environment-variables):
3584 Hide compiler warning.
3585 (tramp-file-name-for-operation): Remove `executable-find',
3586 `start-process', `call-process' and `call-process-region'.
3587
3588 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3589
3590 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3591 compatibility.
3592
3593 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3594
3595 2012-12-06 Chong Yidong <cyd@gnu.org>
3596
3597 * ffap.el (ffap-replace-file-component): Fix typo.
3598
3599 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3602 fix open-paren-like token test (bug#12785).
3603
3604 2012-12-06 Glenn Morris <rgm@gnu.org>
3605
3606 * mail/rmailsum.el (rmail-new-summary): Tweak for
3607 rmail-maybe-display-summary changing buffer. (Bug#13066)
3608
3609 2012-12-06 Juri Linkov <juri@jurta.org>
3610
3611 * info.el (Info-fontify-node): Don't hide the last newline.
3612 (Bug#12272)
3613
3614 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3615
3616 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3617 so as to enable message-read-from-minibuffer to expand mail aliases.
3618
3619 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3622 the `intangible' property.
3623 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3624
3625 2012-12-05 Deniz Dogan <deniz@dogan.se>
3626
3627 * net/rcirc.el (rcirc-urls): Update documentation.
3628 (rcirc-condition-filter): New function.
3629 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3630 and exclude consecutive duplicate URLs (Bug#6082).
3631
3632 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3633
3634 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3635 Check return code of copy command.
3636
3637 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3638 Use group `tramp'. Add version.
3639
3640 2012-12-05 Chong Yidong <cyd@gnu.org>
3641
3642 * ffap.el (ffap-url-regexp): Don't require matching at front of
3643 string (Bug#4952).
3644 (ffap-url-p): If only a substring matches, return that.
3645 (ffap-url-at-point): Use the return value of ffap-url-p.
3646 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3647 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3648 (ffap-guess-file-name-at-point): Likewise.
3649 (ffap-replace-file-component): Fix typo.
3650
3651 * info.el (info-display-manual): Add existing Info buffers, whose
3652 files may not be in Info-directory-list, to the completion.
3653 (info--manual-names): New helper function.
3654
3655 2012-12-05 Glenn Morris <rgm@gnu.org>
3656
3657 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3658 New functions, for detecting and resolving conflicts. (Bug#10709)
3659
3660 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3661
3662 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3663 (hi-lock-auto-select-face-defaults): New buffer local variable.
3664 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3665 (hi-lock-unface-buffer): Prompt user with useful defaults.
3666 With prefix arg, unhighlight all hi-lock patterns in buffer.
3667
3668 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3671
3672 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3673
3674 * Makefile.in (TRAMP_SRC):
3675 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3676
3677 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3678
3679 * net/tramp-adb.el: New package.
3680
3681 2012-12-04 Chong Yidong <cyd@gnu.org>
3682
3683 * terminal.el: Move to obsolete/.
3684
3685 * longlines.el: Move to obsolete/.
3686
3687 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3688 Remove code referring to longlines mode.
3689
3690 2012-12-03 Juri Linkov <juri@jurta.org>
3691
3692 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3693
3694 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3695
3696 * textmodes/ispell.el (ispell-init-process)
3697 (ispell-start-process, ispell-internal-change-dictionary):
3698 Make sure personal dictionary name is expanded after initial
3699 `default-directory' value. Use expanded strings for
3700 keep/restart checks and for value (Bug#13019).
3701
3702 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3703
3704 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3705
3706 2012-12-03 Leo Liu <sdl.web@gmail.com>
3707
3708 * files.el (dir-locals-read-from-file): Check file non-empty
3709 before reading. (Bug#13038)
3710
3711 2012-12-03 Glenn Morris <rgm@gnu.org>
3712
3713 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3714 Remove any version extension before checking filename. (Bug#13006)
3715 (jka-compr-compression-info-list): Belated :version bump.
3716
3717 2012-12-03 Chong Yidong <cyd@gnu.org>
3718
3719 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3720
3721 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3722 (buffer-menu): Doc fix (Bug#12294).
3723
3724 2012-12-03 Roland Winkler <winkler@gnu.org>
3725
3726 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3727 of diary-show-all-entries in the diary buffer (Bug#12994).
3728
3729 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3730
3731 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3732 "<STDIN>". This is binary safe.
3733
3734 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3735
3736 * calc/calc-forms.el (math-absolute-from-iso-dt)
3737 (math-date-to-iso-dt, math-parse-iso-date-validate)
3738 (math-iso-dt-to-date): New functions.
3739 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3740 (math-fd-isoweekday): New variables.
3741 (calc-date-notation, math-parse-standard-date, math-format-date)
3742 (math-format-date-part): Add support for more formatting codes.
3743
3744 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3745
3746 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3747 current buffer's file name when called interactively (Bug#12488).
3748
3749 2012-12-02 Juri Linkov <juri@jurta.org>
3750
3751 * info.el (info-display-manual): Don't clobber an existing Info
3752 buffer (Bug#10770). Add completion (Bug#10771).
3753
3754 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3755
3756 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3757 before using it for comparison (Bug#5297).
3758
3759 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3760
3761 * textmodes/css-mode.el (css-current-defun-name): New function.
3762 (css-mode): Use it.
3763
3764 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3765 (html-mode): Use it.
3766
3767 2012-12-01 Chong Yidong <cyd@gnu.org>
3768
3769 Modularize add-log-current-defun (Bug#2224).
3770 Suggested by Jari Aalto.
3771
3772 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3773 (add-log-current-defun): Move mode-specific code to other files.
3774 (add-log-lisp-like-modes, add-log-c-like-modes)
3775 (add-log-tex-like-modes): Variables deleted.
3776
3777 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3778 (lisp-mode-variables): Use it.
3779
3780 * progmodes/cc-mode.el (c-common-init):
3781 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3782 add-log-current-defun-function.
3783
3784 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3785 (m4-mode): Use it.
3786
3787 * progmodes/perl-mode.el (perl-current-defun-name): New.
3788 (perl-mode): Use it.
3789
3790 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3791 Use lisp-current-defun-name.
3792
3793 * textmodes/tex-mode.el (tex-current-defun-name): New.
3794 (tex-common-initialization): Use it.
3795
3796 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3797 (texinfo-mode): Use it.
3798
3799 2012-12-01 Chong Yidong <cyd@gnu.org>
3800
3801 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3802 * progmodes/autoconf.el (autoconf-mode):
3803 * progmodes/js.el (js-mode):
3804 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3805 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3806 * progmodes/perl-mode.el (perl-mode):
3807 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3808 * textmodes/css-mode.el (css-mode):
3809 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3810 (sgml-tags-invisible, sgml-guess-indent):
3811 * textmodes/tex-mode.el (tex-common-initialization)
3812 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3813 (doctex-mode, plain-tex-mode, latex-mode):
3814 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3815
3816 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3817
3818 * vc/vc-hg.el (vc-hg-next-revision):
3819 Ensure use of default "tip" output format. (Bug#6968)
3820
3821 2012-12-01 Kim F. Storm <storm@cua.dk>
3822
3823 * startup.el (fancy-startup-tail): Add a clickable link
3824 (Bug#2176).
3825
3826 2012-12-01 Chong Yidong <cyd@gnu.org>
3827
3828 * startup.el (fancy-startup-tail): Improve the message about
3829 auto-save files (Bug#2176).
3830
3831 * files.el (recover-session): Improve the descriptive message, and
3832 use substitute-command-keys.
3833
3834 2012-12-01 Glenn Morris <rgm@gnu.org>
3835
3836 * ido.el (ido-file-internal):
3837 Handle other-window, other-frame for dired. (Bug#13036)
3838
3839 2012-11-30 Glenn Morris <rgm@gnu.org>
3840
3841 * icomplete.el (icomplete-separator): Fix :version.
3842
3843 2012-11-30 Chong Yidong <cyd@gnu.org>
3844
3845 * shell.el (shell): For C-u M-x shell, use an inactive shell
3846 buffer as the default (Bug#1975).
3847 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3848 (shell-mode): Use them to reapply ansi colorization if Shell mode
3849 is re-enabled.
3850
3851 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3852
3853 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3854
3855 2012-11-30 Samuel Bronson <naesten@gmail.com>
3856
3857 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3858 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3859
3860 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3861
3862 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3863 by move-to-column (Bug#3234).
3864
3865 2012-11-30 Chong Yidong <cyd@gnu.org>
3866
3867 * longlines.el (longlines-wrap-line, longlines-encode-region):
3868 Preserve text properties (Bug#1425).
3869
3870 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3871
3872 * vc/vc.el (vc-register): Allow registering a file which is
3873 already registered with a different backend (Bug#10589).
3874
3875 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3876 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * icomplete.el: Change separator; add ido-style commands.
3879 (icomplete-show-key-bindings): Remove custom var.
3880 (icomplete-get-keys): Remove function.
3881 (icomplete-forward-completions, icomplete-backward-completions):
3882 New commands.
3883 (icomplete-minibuffer-map): New var.
3884 (icomplete-minibuffer-setup): Use it.
3885 (icomplete-exhibit): Don't delay if the list of completions is known.
3886 (icomplete-separator): New custom.
3887 (icomplete-completions): Use it.
3888 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3889 (minibuffer-force-complete-and-exit): New command.
3890 (minibuffer--complete-and-exit): New function extracted from
3891 minibuffer-complete-and-exit.
3892 (minibuffer-complete-and-exit): Use it.
3893
3894 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3895 error message when the file doesn't exist (bug#12974).
3896
3897 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3898
3899 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3900
3901 2012-11-29 Glenn Morris <rgm@gnu.org>
3902
3903 * files.el (hack-dir-local-variables): Warn if try to set
3904 coding via dir-locals, since it doesn't work. (Bug#7169)
3905
3906 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3907 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3908 Set buffer-local value of desktop-save-buffer.
3909 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3910 New functions.
3911 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3912 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3913
3914 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3915 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3916 Doc fix.
3917 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3918 Doc fixes.
3919
3920 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3921
3922 * calc/calc-forms.el (calc-date-notation): Fix regexp
3923 used to find time codes. Fix symbol for seconds.
3924
3925 2012-11-27 Glenn Morris <rgm@gnu.org>
3926
3927 * emacs-lisp/derived.el (derived-mode-make-docstring):
3928 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3929
3930 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3933 lexically scoped variables (bug#13005).
3934
3935 2012-11-27 Glenn Morris <rgm@gnu.org>
3936
3937 * vc/vc-hooks.el (vc-mistrust-permissions):
3938 Default to t, to avoid data-loss. (Bug#11490)
3939
3940 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3941
3942 * progmodes/python.el (python-indent-guess-indent-offset):
3943 If indentation is guessed make python-indent-offset buffer-local.
3944
3945 Fix Imenu regression.
3946 * progmodes/python.el (python-nav-beginning-of-defun):
3947 Fix forward movement when statement(s) separates point from defun.
3948 (python-imenu-prev-index-position): New function.
3949
3950 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3951
3952 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3953
3954 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3955 Don't set buffer-file-type. Return nil. (Bug#12989)
3956
3957 2012-11-27 Glenn Morris <rgm@gnu.org>
3958
3959 * hippie-exp.el (hippie-expand-try-functions-list):
3960 Re-autoload it. (Bug#12982)
3961
3962 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3963
3964 * descr-text.el (describe-char-padded-string):
3965 Call internal-char-font only on GUI frames. (Bug#11964)
3966
3967 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3968
3969 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3970 and obsoletion message.
3971
3972 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3975 the constructs to keep outside of the `cl-block' (bug#12977).
3976
3977 2012-11-27 Chong Yidong <cyd@gnu.org>
3978
3979 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3980 keep reading until we get the up-event anyway, in order to process
3981 the up-event for mouse-1-click-follows-link (Bug#12971).
3982
3983 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3986 base function is not yet defined (bug#12965).
3987 (ad-activate-advised-definition): Use ad-compile-function.
3988 (ad-activate): Use cond.
3989
3990 2012-11-25 Leo Liu <sdl.web@gmail.com>
3991
3992 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3993 (Bug#12979)
3994
3995 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3996
3997 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3998 reftex-section-info-function in order to be compatible with
3999 Texinfo integration.
4000
4001 * textmodes/reftex.el (reftex-section-pre-regexp)
4002 (reftex-section-post-regexp, reftex-section-info-function):
4003 New variable.
4004 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4005 reftex-section-post-regexp, and reftex-section-info-function in order
4006 to be compatible with Texinfo integration.
4007
4008 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4009 use reftex-section-pre-regexp variable in order to be compatible with
4010 Texinfo integration.
4011
4012 2012-11-25 Chong Yidong <cyd@gnu.org>
4013
4014 * faces.el: Make face-spec-set more analogous to setq.
4015 (face-spec-set): Change the third arg to specify whether this
4016 function is being called via defface, customize, or a third party.
4017 Set the appropriate symbol properties. Clear the override spec if
4018 setting via Custom. Initialize face if necessary. (Bug#4988)
4019 (face-spec-recalc): Allow theme faces to completely replace the
4020 defface spec, in the same way as custom faces (Bug#8454).
4021
4022 * cus-face.el (custom-declare-face): Move face initialization to
4023 face-spec-set.
4024 (custom-theme-set-faces): Don't initialize the face name here, as
4025 that is now done in face-spec-set.
4026
4027 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4028 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4029 Simplify by using the new arg to face-spec-set.
4030
4031 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4032 reset face-override-spec too, and use custom-declare-face.
4033
4034 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4035
4036 * term/ns-win.el (ns-initialize-window-system): Move creation of
4037 fontsets here (Bug#11964).
4038
4039 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4040
4041 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4042 cell renaming.
4043
4044 2012-11-24 Chong Yidong <cyd@gnu.org>
4045
4046 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4047 obsolete.
4048
4049 * custom.el (custom-theme-set-variables): Use a topological sort
4050 for ordering by custom dependencies (Bug#12952).
4051 (custom--sort-vars, custom--sort-vars-1): New functions.
4052
4053 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4056 lexical-binding (bug#12938).
4057
4058 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4059
4060 * image-mode.el (image-transform-check-size): Use assertions only
4061 for images of type imagemagick.
4062
4063 Otherwise no error, image-transform-fit-to-{width,height} is
4064 silently ignored, as before. Doc fix.
4065
4066 2012-11-24 Chong Yidong <cyd@gnu.org>
4067
4068 * faces.el (color-defined-p): Doc fix (Bug#12853).
4069
4070 2012-11-24 Juri Linkov <juri@jurta.org>
4071
4072 * dired.el (dired-mark): Add optional arg `interactive'.
4073 Check for `use-region-p' if `interactive' is non-nil.
4074 (dired-unmark, dired-flag-file-deletion): Add optional arg
4075 `interactive'. Call `dired-mark' with the arg `interactive'.
4076 (Bug#10624)
4077
4078 * wdired.el: Revert 2012-10-17 change partly and replace it with
4079 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4080 (wdired-finish-edit): Add marks for new file names to
4081 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4082 after `revert-buffer'.
4083 (wdired-do-renames): Remove calls to `dired-remove-file',
4084 `dired-add-file', `dired-add-entry'. (Bug#11795)
4085
4086 2012-11-24 Alan Mackenzie <acm@muc.de>
4087
4088 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4089
4090 Fix bugs in the state cache. Enhance a debugging mechanism.
4091 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4092 "brace at column zero" strategy for C++.
4093 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4094 (c-parse-state-point): New variable.
4095 (c-record-parse-state-state): Record old parse state with
4096 `copy-tree'. Record previous value of point.
4097 (c-debug-parse-state-double-cons): New debugging function.
4098 (c-debug-parse-state): Call the above new function.
4099 (c-toggle-parse-state-debug): Output a confirmatory message.
4100
4101 * progmodes/cc-mode.el (c-before-change, c-after-change):
4102 Call c-invalidate-state-cache from `c-before-change' instead of
4103 `c-after-change'.
4104
4105 2012-11-23 Chong Yidong <cyd@gnu.org>
4106
4107 * find-cmd.el (find-constituents): Add executable, ipath,
4108 readable, samefile, writable, daystart, regextype (Bug#12856).
4109
4110 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4113
4114 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4115
4116 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4117 definition. This fixes a bootstrap failure.
4118 (calc-gregorian-switch): In menu, put dates before regions.
4119 This is easier to follow, lines up better in the menu, and lets us
4120 coalesce regions that switch at the same time. Give country
4121 names, not "Vatican", as that's better for non-expert users.
4122 Use names that are stable between the date of switch and now, e.g.,
4123 Bohemia and Moravia (which existed then and now) and not
4124 Czechoslovakia (which didn't exist then and doesn't exist now).
4125 What is now the U.S. mostly did not switch at the same time as
4126 Britain, so omit the U.S. Correct spelling of "Britain".
4127 Catholic Switzerland was too much of a mess, so omit it.
4128
4129 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4130
4131 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4132 after the variable is changed.
4133
4134 2012-11-21 Daniel Colascione <dancol@dancol.org>
4135
4136 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4137 in SQL declarations for font-lock.
4138 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4139
4140 2012-11-21 Glenn Morris <rgm@gnu.org>
4141
4142 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4143 (face-italic-p): Add optional argument "inherit".
4144
4145 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4146 Remove -p suffix from names, for consistency with other set-face-*.
4147 (set-face-inverse-video): Fix interactive spec.
4148 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4149 * textmodes/table.el (table--update-cell-face):
4150 Use set-face-inverse-video rather than now obsolete alias.
4151
4152 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4153
4154 * simple.el (line-move): Don't call line-move-partial if
4155 scroll-conservatively is in effect. (Bug#12927)
4156
4157 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4160 Fallback on completion-at-point rather than
4161 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4162 (eshell-cmpl-initialize): Setup completion-at-point.
4163
4164 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4165
4166 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4167
4168 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4169
4170 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4171 are remote, check out-of-band property for both.
4172
4173 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4176 code rewrite.
4177
4178 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4179
4180 More minor time fixes.
4181 * calendar/time-date.el: Commentary fix.
4182 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4183 too much other code depends on (0 0) time stamps.
4184 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4185 Add a couple of FIXME comments.
4186
4187 Minor cleanup for times as lists of four integers.
4188 * files.el (dir-locals-directory-cache):
4189 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4190 Doc fixes.
4191 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4192 * ps-bdf.el (bdf-file-newer-than-time):
4193 Process four-integers time stamps, not two. Doc fixes.
4194
4195 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * uniquify.el (uniquify-managed): Use defvar-local.
4198 (rename-buffer, create-file-buffer): Advise with advice-add.
4199 (uniquify-unload-function): Unadvise accordingly.
4200
4201 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4202 (trace-buffer): Don't purecopy.
4203 (trace-entry-message, trace-exit-message): Add `context' arg.
4204 (trace--timer): New var.
4205 (trace-make-advice): Adjust for use in nadvice.
4206 Add `context' argument. Delay `display-buffer' via a timer.
4207 (trace-function-internal): Use advice-add.
4208 (trace--read-args): New function.
4209 (trace-function-foreground, trace-function-background): Use it.
4210 (trace-function): Rename to trace-function-foreground and redefine as
4211 an alias to that new name.
4212 (untrace-function, untrace-all): Adjust to the use of nadvice.
4213
4214 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4215
4216 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4217
4218 * subr.el (called-interactively-p-functions): New var.
4219 (internal--called-interactively-p--get-frame): New macro.
4220 (called-interactively-p, interactive-p): Rewrite in Lisp.
4221 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4222 (called-interactively-p-functions): Use it.
4223 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4224 (called-interactively-p-functions): Use it.
4225 * allout.el (allout-called-interactively-p): Don't assume
4226 called-interactively-p is a subr.
4227
4228 2012-11-20 Glenn Morris <rgm@gnu.org>
4229
4230 * profiler.el (profiler-report-mode-map): Add a menu.
4231 No need to bind `q' because we derive from special-mode.
4232 (profiler-report-find-entry): Handle calls from the menu-bar.
4233
4234 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * emacs-lisp/byte-run.el (defun-declarations-alist):
4237 Allow a compiler-macro to be a lambda expression.
4238
4239 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4240 eval-when-compile.
4241 (python-syntax-context): Add compiler-macro.
4242 (python-font-lock-keywords): Simplify with De Morgan.
4243
4244 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4245
4246 * files.el (load-file): Require match in minibuffer selection, as was
4247 the case in Emacs-20 before we changed the spec to allow .elc files
4248 (bug#12935).
4249
4250 * json.el: Don't require cl since we don't use it.
4251 * color.el: Don't require cl.
4252 (color-complement): `caddr' -> `nth 2'.
4253
4254 * calendar/time-date.el (time-to-seconds): De-obsolete.
4255
4256 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4257
4258 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4259 year numbers.
4260 (math-date-to-julian-dt): Adjust the initial approximation for the
4261 year to deal with the new definition of the DATE.
4262
4263 2012-11-19 Daniel Colascione <dancol@dancol.org>
4264
4265 * term/w32-win.el (cygwin-convert-path-from-windows):
4266 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4267
4268 2012-11-18 Chong Yidong <cyd@gnu.org>
4269
4270 * filecache.el (file-cache--read-list): New function.
4271 (file-cache-add-directory-list, file-cache-add-file-list)
4272 (file-cache-delete-file-list, file-cache-delete-directory-list):
4273 Use it to read a list of files or directories (Bug#12846).
4274 (file-cache-add-file, file-cache-add-directory)
4275 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4276 (file-cache-delete-directory): Print an message.
4277
4278 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4279
4280 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4281 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4282
4283 2012-11-18 Glenn Morris <rgm@gnu.org>
4284
4285 * image.el (insert-image, insert-sliced-image): Doc fix.
4286
4287 2012-11-18 Chong Yidong <cyd@gnu.org>
4288
4289 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4290 (Bug#12810).
4291
4292 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4293
4294 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4295 response when the target file is in a subdirectory (Bug#12757).
4296
4297 2012-11-18 Chong Yidong <cyd@gnu.org>
4298
4299 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4300
4301 2012-11-18 Glenn Morris <rgm@gnu.org>
4302
4303 * emacs-lisp/cl-lib.el (face-underline-p):
4304 Use set-face-underline rather than the alias set-face-underline-p.
4305
4306 * window.el (with-temp-buffer-window): Doc fix.
4307 * subr.el (with-output-to-temp-buffer):
4308 Add doc xref to with-temp-buffer-window.
4309
4310 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4313 * calc/calc.el (math-format-date-cache): Declare.
4314
4315 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4316
4317 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4318 It also uses January 1, 1 AD as its day number 1.
4319 * calc/calc-forms.el (math-julian-date-beginning)
4320 (math-julian-date-beginning-int): Implement this.
4321
4322 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4323
4324 * descr-text.el (quail-find-key):
4325 * dired.el (desktop-file-name):
4326 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4327 * generic-x.el (comint-mode, comint-exec):
4328 * image-dired.el (widget-forward):
4329 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4330 (speedbar-change-expand-button-char)
4331 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4332 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4333 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4334 (widget-field-action, widget-value-set):
4335 * speedbar.el (imenu--make-index-alist):
4336 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4337 (ring-length, ring-insert):
4338 * vcursor.el (compare-windows-skip-whitespace):
4339 * woman.el (dired-get-filename):
4340 Declare functions.
4341
4342 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4343
4344 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4345
4346 * calc/calc.el (calc-gregorian-switch): New variable.
4347
4348 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4349 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4350 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4351 (math-leap-year-p): Add option to distinguish between Julian
4352 and Gregorian calendars.
4353 (math-day-number): Use `math-day-in-year' to do the computations.
4354 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4355 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4356 to do the computations.
4357 (math-date-to-dt): Use `math-date-to-julian-dt' and
4358 `math-date-to-gregorian-dt' to do the computations.
4359 (calcFunc-weekday, math-format-date-part): Use the new version of
4360 the DATE to determine the weekday.
4361 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4362 when necessary.
4363
4364 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4365
4366 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4367 Cygwin; otherwise use 'file:'. (Bug#12914)
4368 (cygwin-convert-path-from-windows): Declare, to avoid
4369 byte-compiler warnings.
4370
4371 2012-11-17 Andreas Politz <politza@fh-trier.de>
4372
4373 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4374 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4375 prefix and negative numeric prefix args (Bug#12795).
4376
4377 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4378
4379 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4380 Don't signal an error with a score that is too low to add to the
4381 list of top scores. (Bug#12779)
4382
4383 2012-11-17 Chong Yidong <cyd@gnu.org>
4384
4385 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4386
4387 * filecache.el (file-cache-add-file): Handle relative file name in
4388 the argument (Bug#12694).
4389
4390 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4391
4392 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4393
4394 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4397
4398 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4399
4400 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4401
4402 * window.el (enlarge-window, shrink-window): Don't mention return
4403 value in doc-string (Bug#12896).
4404 (window--display-buffer): Don't resize frames - it won't work
4405 with all window managers and defeat pop-up-frame-alist.
4406 (display-buffer-alist): In doc-string explain that CONDITION can
4407 be a function and which arguments are passed to it (Bug#12854).
4408 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4409 expressions (Bug#12854).
4410 (display-buffer): Pass ACTION argument to
4411 display-buffer-assq-regexp.
4412
4413 2012-11-16 Glenn Morris <rgm@gnu.org>
4414
4415 * window.el (fit-frame-to-buffer-bottom-margin)
4416 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4417
4418 * faces.el (face-underline-p): Use face-attribute-specified-or.
4419
4420 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4421
4422 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4423
4424 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4427
4428 2012-11-16 Glenn Morris <rgm@gnu.org>
4429
4430 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4431 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4432
4433 * faces.el (face-underline-p): Doc fix. Handle :underline being
4434 things other than `t' (a string, a list).
4435 (face-inverse-video-p): Doc fix.
4436 (set-face-underline): Rename it back from set-face-underline-p.
4437 Doc fix. Allow interactive input of values other than t.
4438 (read-face-attribute): Apply formatting to :underline,
4439 since like :box and :stipple it can take list values.
4440
4441 * term.el (ansi-term): Don't let C-x escape-char binding
4442 clobber the more standard C-c binding. (Bug#12842)
4443
4444 * subr.el (set-temporary-overlay-map): Doc fix.
4445
4446 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4447
4448 * window.el (record-window-buffer)
4449 (display-buffer-record-window): When copying the markers to
4450 window-point preserve window-point-insertion-type. (Bug#12588)
4451
4452 2012-11-16 Glenn Morris <rgm@gnu.org>
4453
4454 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4455 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4456 Use new names for hooks rather than obsolete aliases.
4457
4458 2012-11-15 Daniel Colascione <dancol@dancol.org>
4459
4460 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4461 prefix instead of "file:" so that when FILE-NAME begins with "//",
4462 as it does when the target file is on a network share, url-handler
4463 isn't confused.
4464
4465 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4468 a preactivated advice from an old advice.el; they're not compatible!
4469
4470 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4471
4472 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4473 Fix string-spec case.
4474
4475 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4476
4477 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4480 (advice--buffer-local-function-sample): New var.
4481 (advice--set-buffer-local, advice--buffer-local): New functions.
4482 (add-function, remove-function): Use them.
4483
4484 2012-11-15 Drew Adams <drew.adams@oracle.com>
4485
4486 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4487
4488 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4491 potential binding of print-gensym to t, and prettify (back)quotes in
4492 case they appear in args's default values (bug#12884).
4493
4494 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4497 (advice-eval-interactive-spec): New function.
4498 (advice--make-interactive-form): Support around advice (bug#12844).
4499
4500 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4501
4502 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4503 more strict. Add docstring.
4504 (ruby-expression-expansion-re): Extract from
4505 `ruby-match-expression-expansion'.
4506 (ruby-syntax-propertize-function): After everything else, search
4507 for expansions in string literals, mark their insides as
4508 whitespace syntax and save match data for font-lock.
4509 (ruby-font-lock-keywords): Use the 2nd group from expression
4510 expansion matches.
4511 (ruby-match-expression-expansion): Use the match data saved to the
4512 text property in ruby-syntax-propertize-function.
4513
4514 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4517 (bug#12879).
4518
4519 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4520
4521 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4522 start/end keyword a bit harder. Works with different values of N.
4523 Add more comments.
4524 (ruby-end-of-block): Update accordingly.
4525
4526 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * woman.el (woman-file-name): Don't mess with unread-command-events
4529 (bug#12861).
4530
4531 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4532 Remove out of date self-require hack.
4533 (ad-do-advised-functions): Use simple `dolist'.
4534 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4535 (ad-advice-definition): Redefine as functions.
4536 (ad-advice-classes): Move before first use.
4537 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4538 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4539 (ad--defalias-fset): Remove functions.
4540 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4541 (ad-get-orig-definition): Rewrite.
4542 (ad-make-advised-definition-docstring): Change base docstring.
4543 (ad-real-orig-definition): Rewrite.
4544 (ad-map-arglists): Change name of called function.
4545 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4546 (ad-make-advised-definition): Simplify.
4547 (ad-assemble-advised-definition): Tweak for new calling context.
4548 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4549 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4550 function and call ad-activate if needed.
4551 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4552 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4553 (ad-compile-function): Compile ad-Advice-*.
4554 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4555 (ad-start-advice, ad-stop-advice): Remove.
4556
4557 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4560 period before class method names, not after. Remove handling of
4561 one impossible case. Add comments.
4562
4563 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * emacs-lisp/advice.el: Remove support for freezing.
4566 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4567 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4568 Remove support for `freeze'.
4569
4570 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4571 override the default.
4572 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4573 cl--dotimes/dolist.
4574 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4575 `cl' is loaded.
4576
4577 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4578 from add-advice.
4579 (advice--strip-macro): New function.
4580 (advice--defalias-fset): Use them to handle macros.
4581 (advice-add): Use them.
4582 (advice-member-p): Correctly handle macros.
4583
4584 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4585
4586 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4587 Never font-lock the beginning of singleton class as heredoc.
4588
4589 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4592
4593 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4594
4595 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4596 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4597 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4598
4599 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4600
4601 Fix end-of-defun misbehavior.
4602 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4603 python-beginning-of-defun-function. Handle nested defuns
4604 correctly.
4605 (python-nav-end-of-defun): Rename from
4606 python-end-of-defun-function. Ensure forward movement.
4607 (python-info-current-defun): Reimplement to work as intended
4608 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4609 parent defuns as soon as possible.
4610
4611 2012-11-13 Glenn Morris <rgm@gnu.org>
4612
4613 * progmodes/flymake.el (flymake-error-bitmap)
4614 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4615 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4616
4617 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4618
4619 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4620 backward, always stop at indentation. Reverts the change from
4621 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4622
4623 2012-11-13 Glenn Morris <rgm@gnu.org>
4624
4625 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4626 Add ibuffer-filter-by-derived-mode.
4627
4628 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4629 the same name shadowing each other.
4630
4631 * window.el (with-temp-buffer-window): Doc tweak.
4632
4633 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4634
4635 * help.el (temp-buffer-max-height):
4636 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4637 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4638
4639 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/nadvice.el: New package.
4642 * subr.el (special-form-p): New function.
4643 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4644 (elp-all-instrumented-list): Remove var.
4645 (elp-not-profilable): Remove elp-wrapper.
4646 (elp-profilable-p): Use autoloadp and special-form-p.
4647 (elp--advice-name): New const.
4648 (elp-instrument-function): Use advice-add.
4649 (elp--instrumented-p): New predicate.
4650 (elp-restore-function): Use advice-remove.
4651 (elp-restore-all, elp-reset-all): Use mapatoms.
4652 (elp-set-master): Use elp--instrumented-p.
4653 (elp--make-wrapper): Rename from elp-wrapper, return a function
4654 suitable for advice-add. Use cl-inf.
4655 (elp-results): Use mapatoms+elp--instrumented-p.
4656 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4657 (debug-function-list): Remove var.
4658 (debug): Rename arg, and then let-bind it explicitly inside.
4659 (debugger-setup-buffer): Rename arg.
4660 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4661 (debugger-frame-number): Adjust to new debug-on-entry setup.
4662 (debug--implement-debug-on-entry): Rename from
4663 implement-debug-on-entry, add argument.
4664 (debugger-special-form-p): Remove, use special-form-p instead.
4665 (debug-on-entry): Use advice-add.
4666 (debug--function-list): New function.
4667 (cancel-debug-on-entry): Use it, along with advice-remove.
4668 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4669 (debugger-list-functions): Use debug--function-list instead of
4670 debug-function-list.
4671 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4672 (ad-special-form-p): Remove, use special-form-p instead.
4673 (ad-set-advice-info): Use add-function and remove-function.
4674 (ad--defalias-fset): Adjust accordingly.
4675
4676 2012-11-10 Glenn Morris <rgm@gnu.org>
4677
4678 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4679 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4680 (report-emacs-bug-create-existing-bugs-buffer)
4681 (report-emacs-bug-parse-query-results)
4682 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4683
4684 * term.el (term-default-fg-color, term-default-bg-color):
4685 Make obsolete, rather than just saying "deprecated" in the doc.
4686
4687 * term.el (term): Rename from `term-face'.
4688 (term-current-face, ansi-term-color-vector)
4689 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4690 Update all users.
4691
4692 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4693
4694 * server.el (server-create-window-system-frame): Handle Nextstep
4695 specially (Bug#12780).
4696
4697 2012-11-10 Glenn Morris <rgm@gnu.org>
4698
4699 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4700 Unautoload, and make obsolete. (Bug#7449)
4701
4702 2012-11-10 Chong Yidong <cyd@gnu.org>
4703
4704 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4705 rename from diff-remove-trailing-whitespace (Bug#12831).
4706
4707 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4710 miscompilation of trace.el.
4711
4712 2012-11-10 Glenn Morris <rgm@gnu.org>
4713
4714 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4715
4716 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4719 (bug#12812).
4720
4721 2012-11-10 Chong Yidong <cyd@gnu.org>
4722
4723 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4724 a defcustom with an appropriate :set function.
4725 (minibuffer-default--in-prompt-regexps): New function.
4726
4727 2012-11-10 Glenn Morris <rgm@gnu.org>
4728
4729 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4730 (define-modify-macro): Doc fixes.
4731
4732 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4733 (gv-define-simple-setter): Update doc of `fix-return'.
4734
4735 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4738 twice when `fix-return' is set (bug#12813).
4739
4740 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4741 gv-define-simple-setter (bug#12812).
4742
4743 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4744 (bug#12756).
4745
4746 2012-11-10 Glenn Morris <rgm@gnu.org>
4747
4748 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4749
4750 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4751 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4752 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4753 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4754
4755 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4756
4757 2012-11-10 Leo Liu <sdl.web@gmail.com>
4758
4759 * ido.el (ido-set-matches-1): Improve flex matching performance by
4760 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4761
4762 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4765 (ad--defalias-fset): New function.
4766 (ad-safe-fset): Remove.
4767 (ad-make-freeze-definition): Use cl-letf*.
4768
4769 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * subr.el (dolist): Don't bind VAR in RESULT.
4772
4773 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4774 (fset, documentation): Don't save real def since we don't advise.
4775 (ad-do-advised-functions): Remove problematic `result-form'.
4776 (ad-safe-fset): `ad-real-fset' => `fset'.
4777 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4778 uses CL's dolist internally.
4779 (ad-arglist): Remove unused arg `name'.
4780 (ad-docstring, ad-make-advised-docstring):
4781 `ad-real-documentation' => `documentation'.
4782 (warning-suppress-types): Declare.
4783 (ad-set-arguments): Simple CSE.
4784 (ad-recover-normality): Sanity check.
4785
4786 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4787 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4788
4789 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4790
4791 * ses.el: symbol to coordinate mapping is made by symbol property
4792 `ses-cell'. This means that the same mapping is done for all SES
4793 sheets. That is good enough for cells with standard A1 names, but
4794 not for named cell. So a hash map is added for the latter.
4795 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4796 (ses-sym-rowcol): Use hashmap for named cell.
4797 (ses-is-cell-sym-p): New defun.
4798 (ses-decode-cell-symbol): New defun.
4799 (ses-create-cell-variable): Add cell to hashmap when name is not
4800 A1-like.
4801 (ses-rename-cell): Check that cell new name is not already in
4802 spreadsheet with the use of ses-is-cell-sym-p
4803 (ses-rename-cell): Use hash map for named cells, but accept also
4804 renaming back to A1-like.
4805
4806 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * emacs-lisp/advice.el: Use new dynamic docstrings.
4809 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4810 Use dynamic-docstring-function instead of ad-advice-info.
4811 (ad--make-advised-docstring): New function extracted from
4812 ad-make-advised-docstring.
4813 (ad-make-advised-docstring): Use it.
4814 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4815 from sql-help.
4816 (sql-help): Use it with dynamic-docstring-function.
4817
4818 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4819
4820 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * files.el (hack-one-local-variable--obsolete): New function.
4823 (hack-one-local-variable): Use it for obsolete settings.
4824
4825 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4826 the new name.
4827
4828 * progmodes/js.el (js--filling-paragraph): New var.
4829 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4830 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4831 less sneaky.
4832
4833 2012-11-08 Julien Danjou <julien@danjou.info>
4834
4835 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4836 `auto-mode-alist' (Bug#12835).
4837
4838 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4841 (perl--prettify-symbols-alist): New const.
4842 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4843 New functions.
4844 (perl-font-lock-keywords-2): Use them.
4845 (perl-electric-noindent-p): New function.
4846 (perl-mode): Use it to set up electric-indent-mode.
4847 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4848 (perl-mode-map): Remove bindings for them.
4849 (perl-imenu-generic-expression, perl-outline-level):
4850 Match functions&packages in column>0.
4851
4852 * env.el (env--substitute-vars-regexp): New const.
4853 (substitute-env-vars): Use it. Add `only-defined' arg.
4854 * net/tramp.el (tramp-replace-environment-variables): Use it.
4855
4856 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4857 Byte-compile *before* eval in eval-and-compile.
4858 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4859 (byte-compile-file-form-autoload): Don't hide actual definition.
4860 (byte-compile-maybe-guarded): Accept `functionp' as well.
4861
4862 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4863
4864 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4865
4866 * notifications.el (notifications-get-server-information-method):
4867 New defconst.
4868 (notifications-get-capabilities): Fix docstring.
4869 (notifications-get-server-information): New defun.
4870
4871 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4872
4873 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4874 readability.
4875
4876 * textmodes/ispell.el: Experimental support for support debugging.
4877 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4878 buffer for ispell.
4879 (ispell-print-if-debug): New function to print stuff to
4880 `ispell-debug-buffer' if debugging is enabled.
4881 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4882 show some debugging info.
4883 (ispell-buffer-with-debug): New function that creates a debugging
4884 buffer and calls `ispell-buffer' with debugging enabled.
4885
4886 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4887 comment in autoconf mode. (Bug#12768)
4888
4889 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4890
4891 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4892 frame-first-window, frame-root-window, frame-selected-window,
4893 minibuffer-selected-window, minibuffer-window,
4894 window-absolute-pixel-edges, window-at, window-body-height,
4895 window-body-width, window-display-table, window-combination-limit,
4896 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4897 window-inside-edges, window-inside-pixel-edges, window-left-child,
4898 window-left-column, window-margins, window-next-buffers,
4899 window-next-sibling, window-new-normal, window-new-total,
4900 window-normal-size, window-parameter, window-parameters, window-parent,
4901 window-pixel-edges, window-point, window-prev-buffers,
4902 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4903 window-start, window-text-height, window-top-child, window-top-line,
4904 window-total-height, window-total-width and window-use-time to the list
4905 of functions without side-effects.
4906 (toplevel): Add window-valid-p to the list of error-free functions
4907 without side-effects.
4908
4909 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4910
4911 * textmodes/ispell.el (ispell-program-name):
4912 Update spellchecker parameters when customized.
4913
4914 2012-11-04 Glenn Morris <rgm@gnu.org>
4915
4916 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4917
4918 2012-11-04 Chong Yidong <cyd@gnu.org>
4919
4920 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4921 same-window-* variables.
4922
4923 2012-11-04 Juri Linkov <juri@jurta.org>
4924
4925 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4926 (isearch-describe-key, isearch-describe-mode): Use a display
4927 action instead of binding same-window-* variables (Bug#10040).
4928
4929 2012-11-03 Glenn Morris <rgm@gnu.org>
4930
4931 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4932 Rename handler properties back from cl-- to cl-. (Bug#12788)
4933
4934 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4935
4936 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4937
4938 * term/pc-win.el: Don't load term/internal from here.
4939
4940 * loadup.el: Load term/internal from here.
4941
4942 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4943
4944 * progmodes/python.el (inferior-python-mode): Fix hang in
4945 jit-lock (Bug#12645).
4946
4947 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (switch-to-visible-buffer)
4950 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4951
4952 2012-11-03 Glenn Morris <rgm@gnu.org>
4953
4954 * emacs-lisp/cl-lib.el (cl--random-time):
4955 Rename from cl-random-time. (Bug#12773)
4956 (cl--gensym-counter, cl--random-state): Update callers.
4957 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4958
4959 2012-11-03 Chong Yidong <cyd@gnu.org>
4960
4961 * cus-start.el: Make cursor-type customizable (Bug#11633).
4962
4963 2012-11-02 Glenn Morris <rgm@gnu.org>
4964
4965 * filecache.el: No need to load find-lisp when compiling.
4966 (find-lisp-find-files): Autoload it.
4967 (file-cache-add-directory-recursively): Don't require find-lisp.
4968
4969 * image.el (image-type-from-file-name): Trivial simplification.
4970
4971 * emacs-lisp/bytecomp.el (byte-compile-eval):
4972 Decouple "noruntime" and "cl-functions" warnings.
4973
4974 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4975
4976 * play/gomoku.el (gomoku-display-statistics): Update mode line
4977 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4978
4979 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4980
4981 * window.el (quit-restore-window): If the window has been
4982 created on an existing frame and ended up as the sole window on
4983 that frame, do not delete it (Bug#12764).
4984
4985 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4988 Rename from sh--inside-arithmetic-expression, handle more cases
4989 (bug#11263).
4990
4991 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4992 (sh-font-lock-open-heredoc): Use it (bug#12770).
4993
4994 2012-10-30 Glenn Morris <rgm@gnu.org>
4995
4996 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4997
4998 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4999
5000 2012-10-29 Chong Yidong <cyd@gnu.org>
5001
5002 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5003 function key is stored in a keyboard macro (Bug#4894).
5004
5005 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5006
5007 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5010 header comments".
5011 (diff-unified->context, diff-context->unified)
5012 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5013
5014 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5015
5016 * files.el (find-alternate-file): Only ask one question (bug#12487).
5017
5018 2012-10-29 Chong Yidong <cyd@gnu.org>
5019
5020 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5021 Suggested by Dan Nicolaescu (Bug#6326).
5022
5023 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5024
5025 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5026
5027 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5028
5029 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5030
5031 * face-remap.el (face-remap-add-relative): Handle the case where a
5032 face-remapping-alist entry is a cons cell (Bug#12762).
5033
5034 2012-10-29 Kevin Ryde <user42@zip.com.au>
5035
5036 * woman.el (woman-parse-numeric-value): Handle picas correctly
5037 (Bug#12639).
5038
5039 2012-10-29 Glenn Morris <rgm@gnu.org>
5040
5041 * emacs-lisp/cl.el (defsetf): Doc fix.
5042
5043 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5046 syntax to the matching opener, if any (bug#12547).
5047 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5048 matching open as a "case-(".
5049 (sh-smie-rc-grammar): Add a corresponding rule for it.
5050
5051 2012-10-28 Daniel Hackney <dan@haxney.org>
5052
5053 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5054 "PKGNAME-autoloads.el" in case we created it.
5055
5056 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5059 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5060 (completion--twq-all): Disable too-strict assertions.
5061
5062 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5063
5064 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5065
5066 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5067 text to match the real keybindings.
5068
5069 2012-10-27 Juri Linkov <juri@jurta.org>
5070
5071 * wdired.el (wdired-keep-marker-rename): New defcustom.
5072 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5073 (Bug#11795)
5074
5075 * dired.el (dired-keep-marker-rename): Add reference to
5076 `wdired-keep-marker-rename' in the docstring.
5077 Add default character value ?R to display initially in
5078 Customization UI instead of ?@.
5079
5080 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5081
5082 * window.el (display-buffer): In doc-string describe
5083 window-height and window-width alist entries.
5084
5085 * time.el (display-time-world): Restore fit-window-to-buffer
5086 behavior.
5087
5088 2012-10-27 Chong Yidong <cyd@gnu.org>
5089
5090 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5091
5092 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5093
5094 * minibuffer.el (completion-category-overrides): New completion
5095 category `bookmark' (bug#11131).
5096
5097 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5100 Silence bogus compiler warnings for ad-do-it.
5101
5102 * bookmark.el (bookmark-completing-read): Set the completion category
5103 to `bookmark' (bug#11131).
5104
5105 2012-10-26 Bastien <bzg@altern.org>
5106 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * face-remap.el: Use lexical-binding.
5109 (text-scale-adjust): Improve docstring. Use itself for the temporary
5110 overlay-map bindings, so as to repeat the "Use..." message each time.
5111
5112 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/macroexp.el (macroexp--expand-all):
5115 Obey byte-compile-warning-enabled-p (bug#12486).
5116
5117 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5118 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5119
5120 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5121
5122 * mouse.el (mouse-drag-line): Move last form into preceding when
5123 clause (Bug#12731).
5124
5125 * help.el (resize-temp-buffer-window): Fix doc-string.
5126
5127 2012-10-25 David Engster <deng@randomsample.de>
5128
5129 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5130 Remove. This feature is already integrated in imenu.
5131
5132 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5133 always loaded. Require `speedbar' unconditionally.
5134
5135 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5138
5139 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5140
5141 * net/ldap.el (ldap-search-internal): The official ldif format starts
5142 with a "version: 1" header (bug#12724).
5143
5144 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5145 (bug#12721).
5146
5147 2012-10-25 Glenn Morris <rgm@gnu.org>
5148
5149 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5150
5151 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * minibuffer.el (minibuffer-force-complete): Use one more marker
5154 for the temporary-overlay-map command (bug#12619).
5155
5156 2012-10-24 Chong Yidong <cyd@gnu.org>
5157
5158 * time.el (display-time-world-mode): Derive from special-mode.
5159 (display-time-world): Use display-buffer (Bug#12708).
5160 (display-time-world-mode-map): Variable deleted.
5161 (display-time-world-display): Wrap the final delete-char inside
5162 inhibit-read-only.
5163
5164 2012-10-24 Chong Yidong <cyd@gnu.org>
5165
5166 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5167 Doc fix.
5168
5169 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5170
5171 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * minibuffer.el (completion--all-sorted-completions-location): New var.
5174 (completion--cache-all-sorted-completions)
5175 (completion--flush-all-sorted-completions): Use it.
5176 (completion-in-region, completion-in-region--postch)
5177 (completion-at-point, completion-help-at-point): Use markers in
5178 completion-in-region--data (bug#12619).
5179
5180 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * progmodes/compile.el (compilation-start): Try to handle common
5183 quoting of `cd' argument (bug#12640).
5184
5185 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5186 (bug#12671).
5187
5188 2012-10-23 Glenn Morris <rgm@gnu.org>
5189
5190 * progmodes/gud.el (gud-menu-map):
5191 Check gdb-active-process is bound. (Bug#12358)
5192
5193 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * repeat.el (repeat): Set real-this-command (bug#12232).
5196
5197 * htmlfontify.el (hfy-post-html-hook):
5198 * filesets.el (filesets-cache-fill-content-hook):
5199 * arc-mode.el (archive-extract-hook):
5200 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5201 * net/rcirc.el (rcirc-sentinel-functions)
5202 (rcirc-receive-message-functions, rcirc-activity-functions)
5203 (rcirc-print-functions):
5204 * net/dbus.el (dbus-event-error-functions):
5205 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5206 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5207 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5208 * term/sun.el (sun-raw-prefix-hooks):
5209 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5210
5211 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5214 Set `tramp-chunksize' to 1. This improves the performance.
5215 (tramp-smb-wait-for-output): Add timeout to
5216 `tramp-accept-process-output' calls.
5217
5218 2012-10-23 Chong Yidong <cyd@gnu.org>
5219
5220 * faces.el (font-list-limit): Define as an obsolete variable.
5221
5222 * startup.el (command-line):
5223 * cus-start.el: Don't refer to font-list-limit.
5224
5225 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5226
5227 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * subr.el (internal-temp-output-buffer-show): Rename from
5230 temp-output-buffer-show, since previously compiled files expect this name.
5231
5232 2012-10-23 Glenn Morris <rgm@gnu.org>
5233
5234 * image.el (image-type-from-file-name): If multiple types match,
5235 return the first one that is supported. (Bug#9045)
5236
5237 2012-10-22 Glenn Morris <rgm@gnu.org>
5238
5239 * image.el (imagemagick-enabled-types): Doc fix.
5240
5241 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5242
5243 * progmodes/which-func.el (which-func-current): The hash-table may have
5244 an explicit nil (bug#12338).
5245
5246 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * electric.el (electric-pair-delete-selection-self-insert-function):
5249 Rename to electric-pair-will-use-region, return a boolean.
5250 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5251
5252 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5253 (delete-selection-pre-hook): Use use-region-p.
5254 (delete-selection-self-insert-function): Remove.
5255 (self-insert-command): Obey self-insert-uses-region-functions.
5256 (self-insert-iso): Revert to previous setting, since we don't actually
5257 know what that command does.
5258 (delete-selection-self-insert-hooks): Remove.
5259
5260 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5261
5262 * delsel.el (delete-selection-helper): New function, extracted from
5263 delete-selection-pre-hook.
5264 (delete-selection-pre-hook): Use it.
5265 (delete-selection-self-insert-function): New function.
5266 (delete-selection-self-insert-hooks): New hook.
5267 (self-insert-command, self-insert-iso): Use it.
5268 * electric.el (electric-pair-syntax): New function, extracted from
5269 electric-pair-post-self-insert-function.
5270 (electric-pair-post-self-insert-function): Use it.
5271 (electric-pair-delete-selection-self-insert-function): New function.
5272 (electric-pair-mode): Require delsel and setup
5273 delete-selection-self-insert-hooks (bug#11520).
5274
5275 2012-10-20 Chong Yidong <cyd@gnu.org>
5276
5277 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5278 no changes to show (Bug#12586).
5279
5280 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5281 list explicitly (Bug#12571).
5282
5283 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5284
5285 * progmodes/flymake.el (flymake-create-temp-inplace):
5286 Use file-truename.
5287
5288 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5289
5290 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5291
5292 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5293
5294 * calc/calc-units.el (math-extract-units): Properly extract powers
5295 of units.
5296
5297 2012-10-20 Daniel Colascione <dancol@dancol.org>
5298
5299 * frame.el (make-frame): Set x-display-name as we used to in order
5300 to unbreak creating an X11 frame from an Emacs daemon started
5301 without a display.
5302
5303 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5306 the same completion-field (bug#12221).
5307
5308 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5309
5310 * emacs-lisp/debug.el (debug): Record height of debugger window
5311 also when debugger will be back (Bug#8789).
5312
5313 2012-10-18 Chong Yidong <cyd@gnu.org>
5314
5315 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5316 Convert to defcustom.
5317 (gdb-get-source-file): Don't bind pop-up-windows.
5318
5319 * progmodes/gud.el (gud-display-line): Don't specially re-use
5320 other frames for the gdb-mi case (Bug#12648).
5321
5322 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * emacs-lisp/advice.el: Clean up commentary a bit.
5325 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5326 (byte-code-function-p): Never redefine.
5327
5328 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5329
5330 2012-10-18 Glenn Morris <rgm@gnu.org>
5331
5332 * dired.el (dired-sort-toggle): Some ls implementations only allow
5333 a single option string. (Bug#12666)
5334
5335 * minibuffer.el (completion-cycle-threshold): Doc fix.
5336
5337 2012-10-17 Kenichi Handa <handa@gnu.org>
5338
5339 * international/mule.el (set-keyboard-coding-system):
5340 Recover input meta mode when the new coding system doesn not use 8-bit.
5341 Supply TERMINAL arg to set-input-meta-mode.
5342
5343 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5344
5345 * wdired.el (wdired-old-marks): New variable.
5346 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5347 (wdired-do-renames): Move point with renamed file and don't lose
5348 mark status (Bug#11795).
5349
5350 2012-10-16 Juri Linkov <juri@jurta.org>
5351
5352 * replace.el (query-replace-help): Mention multi-buffer replacement
5353 keys in the Help message. (Bug#12655)
5354
5355 2012-10-15 Chong Yidong <cyd@gnu.org>
5356
5357 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5358
5359 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5360
5361 * window.el (display-buffer): Doc fix.
5362
5363 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5364 Adjust the msft regexp to the output of Studio 2010, and move msft
5365 before edg-1. See the discussion on emacs-devel,
5366 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5367 for the details.
5368
5369 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5372 (oset): Move uses of object-class-fast macro after its definition.
5373
5374 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5375
5376 2012-10-13 Chong Yidong <cyd@gnu.org>
5377
5378 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5379 enabled, re-enable it (Bug#11963).
5380
5381 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5382
5383 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5384 non-nil, restore window configuration (Bug#12623).
5385
5386 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * help-fns.el (describe-variable, describe-function-1):
5389 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5390
5391 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5392
5393 2012-10-12 Glenn Morris <rgm@gnu.org>
5394
5395 * mail/rmailsum.el (rmail-header-summary):
5396 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5397
5398 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5399
5400 * progmodes/python.el (python-mode-map):
5401 Replace subtitute-key-definition with proper command remapping.
5402 (python-nav--up-list): Fix behavior for blocks on the same level.
5403
5404 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5407
5408 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5409 changes to the format of load-history.
5410
5411 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5412 completion-ignore-case in case that var is buffer-local (bug#12615).
5413
5414 2012-10-11 Kenichi Handa <handa@gnu.org>
5415
5416 * international/eucjp-ms.el: Re-generated.
5417
5418 2012-10-10 Kenichi Handa <handa@gnu.org>
5419
5420 * select.el (xselect--encode-string): If a coding is specified for
5421 selection, and that is compatible with COMPOUND_TEXT, use it.
5422
5423 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5424
5425 * window.el (switch-to-buffer-preserve-window-point): New option.
5426 (switch-to-buffer):
5427 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5428
5429 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5432 Don't document nil as a useful value (bug#12583).
5433
5434 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5435
5436 * net/tramp.el (tramp-debug-message):
5437 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5438 (with-tramp-progress-reporter): Rename from
5439 `tramp-with-progress-reporter'.
5440 (with-tramp-file-property, with-tramp-connection-property):
5441 Move from tramp-cache.el, rename from `with-file-property' and
5442 `with-connection-property', respectively.
5443
5444 * net/tramp-cache.el: Remove `with-file-property' and
5445 `with-connection-property'.
5446
5447 * net/tramp.el:
5448 * net/tramp-gvfs.el:
5449 * net/tramp-sh.el:
5450 * net/tramp-smb.el: Adapt callees.
5451
5452 * net/trampver.el: Update release number.
5453
5454 2012-10-09 Glenn Morris <rgm@gnu.org>
5455
5456 * w32-fns.el (set-message-beep):
5457 * term/w32-win.el (set-message-beep): Update declarations.
5458
5459 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5462 (mode-line-widen, mode-line-input-method-map)
5463 (mode-line-coding-system-map, mode-line-remote)
5464 (mode-line-unbury-buffer, mode-line-bury-buffer)
5465 (mode-line-next-buffer, mode-line-previous-buffer):
5466 Replace save-selected-window+select-window => with-selected-window.
5467
5468 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5469 * progmodes/cc-vars.el (bq-process): Remove, unused.
5470
5471 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5472
5473 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5474
5475 Implemented `backward-up-list'-like navigation.
5476 * progmodes/python.el (python-nav-up-list)
5477 (python-nav-backward-up-list): New functions.
5478 (python-mode-map): Define substitute key for backward-up-list to
5479 python-nav-backward-up-list.
5480
5481 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5482
5483 * progmodes/python.el (python-fill-paragraph): Rename from
5484 python-fill-paragraph-function. Fixed fill-paragraph for
5485 decorators (Bug#12605).
5486
5487 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5488
5489 * progmodes/python.el (python-shell-output-filter): Handle extra
5490 carriage return in OSX (Bug#12409).
5491
5492 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5493
5494 Fix shell handling of unbalanced quotes and parens in output.
5495 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5496 (python-syntax-propertize-function): Use it.
5497 (python-shell-output-syntax-table): New var.
5498 (inferior-python-mode): Prevent unbalanced parens/quotes from
5499 previous output mess with current input context.
5500
5501 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5502
5503 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5504 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5505
5506 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5507
5508 * ffap.el (ffap-replace-file-component): Support Tramp file name
5509 syntax, not only ange-ftp's one.
5510
5511 2012-10-08 Glenn Morris <rgm@gnu.org>
5512
5513 * cus-start.el (message-log-max): Set :version.
5514
5515 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5516
5517 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5518
5519 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5520 the minibuffer window (Bug#10851).
5521
5522 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5523
5524 Enhancements on forward-sexp movement.
5525 * progmodes/python.el (python-nav-beginning-of-statement)
5526 (python-nav-end-of-statement): Return point-marker.
5527 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5528 (python-info-current-symbol)
5529 (python-info-statement-starts-block-p): Rename from
5530 python-info-beginning-of-block-p.
5531 (python-info-statement-ends-block-p): Rename from
5532 python-info-end-of-block-p.
5533 (python-info-beginning-of-statement-p)
5534 (python-info-end-of-statement-p)
5535 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5536 New functions.
5537
5538 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5541 frame-selected-windows.
5542
5543 2012-10-08 Daniel Colascione <dancol@dancol.org>
5544
5545 * battery.el (battery-status-function): Check for
5546 w32-battery-status itself, not system-time windows-nt.
5547
5548 * frame.el: Require cl-lib.
5549 (display-format-alist): New variable mapping frame types to
5550 functions that initialize them.
5551 (window-system-for-display): New function: interprets
5552 display-format-alist.
5553 (make-frame-on-display): Remove existing display-selection logic
5554 and just forward to make-frame, which will now DTRT.
5555 (make-frame): Restructure to use window-system-for-display to
5556 figure out how to create a frame on a given display.
5557 (display-mouse-p): Look for frame-type w32, not a particular
5558 system-type.
5559
5560 * loadup.el: Load w32 lisp code when we have the w32 feature.
5561
5562 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5563 system-type windows-nt.
5564
5565 * server.el (server-create-window-system-frame): Look for window
5566 type.
5567 (server-proces-filter): Only force a window system when windows-nt
5568 _and_ w32. Explain why.
5569
5570 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5571 of window systems we configure for the mode.
5572
5573 * startup.el (command-line): Mark window system is initialized
5574 after we've done it.
5575
5576 * common-win.el (x-select-text): Look for w32, not windows-nt.
5577
5578 * ns-win.el: Require cl-lib. Add ourselves to
5579 display-format-alist.
5580 (ns-initialize-window-system): Assert we're not initialized twice.
5581
5582 * w32-win.el: Enable lexical binding; require cl-lib; add
5583 ourselves to display-format-alist.
5584 (w32-handle-dropped-file): Convert incoming dropped files from
5585 Windows paths to Cygwin ones before passing them on to the rest of
5586 Emacs.
5587 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5588 (w32-initialize-window-system): Assert we're not initialized twice.
5589
5590 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5591 (x-initialize-window-system): Assert we're not initialized twice.
5592
5593 * w32-common-fns.el: New File.
5594 (w32-version, w32-using-nt, w32-get-clipboard-data)
5595 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5596 (w32-charset-info-alist, x-last-selected, text)
5597 (x-get-selection-value, x-selection-value): Move here.
5598
5599 * w32-fns.el: Require w32-common-fns.
5600 (w32-version, w32-using-nt, w32-get-clipboard-data)
5601 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5602 (w32-charset-info-alist, x-last-selected, text)
5603 (x-get-selection-value, x-selection-value): Move to
5604 w32-common-fns.
5605
5606 * w32-vars.el:
5607 (w32-allow-system-shell, w32-system-shells): Define only in
5608 non-cygwin case.
5609
5610 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5613 (read-passwd): Remove a few more potential sources of leaks.
5614
5615 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5616
5617 * progmodes/python.el (inferior-python-mode)
5618 (python-shell-make-comint): Fix initialization of local
5619 variables copied from parent buffer.
5620
5621 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5622
5623 * term/ns-win.el (ns-read-file-name): Update declaration to match
5624 nsfns.m.
5625 (ns-respond-to-change-font): Change fontsize separately so we are sure
5626 it is set when font is acted upon.
5627
5628 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5629
5630 Enhancements to indentation.
5631 * progmodes/python.el (python-indent-context): Give priority to
5632 inside-string context. Make comments indentation markers.
5633 (python-indent-region): Do not mess with strings, unless it's the
5634 enclosing set of quotes.
5635
5636 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * window.el (internal--before-save-selected-window)
5639 (internal--after-save-selected-window): New functions extracted from
5640 save-selected-window. Make sure we return the `alist' we construct.
5641 (save-selected-window): Use them.
5642
5643 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5644 Use with-selected-window.
5645
5646 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5647 forms that define macros (bug#12593).
5648
5649 2012-10-07 Kenichi Handa <handa@gnu.org>
5650
5651 * international/mule-conf.el (compound-text-with-extensions):
5652 Add :mime-charset property as x-ctext.
5653
5654 2012-10-07 Stefan Merten <smerten@oekonux.de>
5655
5656 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5657 (rst-indent-literal-normal, rst-indent-literal-minimized)
5658 (rst-indent-comment): Correct :version tag.
5659 (rst-official-cvs-rev): Correct version string.
5660
5661 2012-10-07 Glenn Morris <rgm@gnu.org>
5662
5663 * mail/rmailmm.el (rmail-mime-process-multipart):
5664 Do not confuse a multipart message with an epilogue
5665 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5666
5667 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5668
5669 Fix shell output retrieval and comint-prompt-regexp init.
5670 * progmodes/python.el (inferior-python-mode):
5671 (python-shell-make-comint): Fix initialization of
5672 comint-prompt-regexp from copied file local variables.
5673 (python-shell-fetched-lines): Remove var.
5674 (python-shell-output-filter-in-progress): Rename from
5675 python-shell-fetch-lines-in-progress.
5676 (python-shell-output-filter-buffer): Rename from
5677 python-shell-fetch-lines-string.
5678 (python-shell-fetch-lines-filter): Delete function.
5679 (python-shell-output-filter): New function.
5680 (python-shell-send-string-no-output): Use them.
5681
5682 2012-10-07 Glenn Morris <rgm@gnu.org>
5683
5684 * hi-lock.el (hi-lock-process-phrase):
5685 Try to make it less fragile. (Bug#7161)
5686
5687 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5688
5689 2012-10-06 Glenn Morris <rgm@gnu.org>
5690
5691 * ehelp.el (electric-help-mode): Use help-mode rather than
5692 non-existent mode `help'.
5693 (electric-help-map): Use button-buffer-map. (Bug#10917)
5694
5695 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5696 (reftex-create-bibtex-footer): Fix custom types.
5697
5698 * progmodes/sh-script.el (sh-indent-after-continuation):
5699 Add explicit :group.
5700
5701 * textmodes/rst.el (rst-preferred-decorations)
5702 (rst-shift-basic-offset): Clarify obsolescence versions.
5703
5704 * profiler.el (profiler): Add missing group :version tag.
5705 * avoid.el (mouse-avoidance-banish-position):
5706 * proced.el (proced-renice-command):
5707 * calc/calc.el (calc-ensure-consistent-units):
5708 * calendar/icalendar.el (icalendar-import-format-uid):
5709 * net/tramp.el (tramp-save-ad-hoc-proxies):
5710 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5711 * progmodes/flymake.el (flymake-error-bitmap)
5712 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5713 * progmodes/sh-script.el (sh-indent-after-continuation):
5714 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5715 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5716 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5717 (vhdl-array-index-record-field-in-sensitivity-list)
5718 (vhdl-indent-comment-like-next-code-line):
5719 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5720 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5721 (reftex-cite-key-separator, reftex-create-bibtex-header)
5722 (reftex-create-bibtex-footer):
5723 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5724 (rst-indent-literal-normal, rst-indent-literal-minimized)
5725 (rst-indent-comment): Add missing custom :version tags.
5726
5727 * calendar/timeclock.el (timeclock-modeline-display):
5728 Add missing obsolete alias for renamed user option.
5729
5730 * strokes.el (strokes-modeline-string):
5731 * emulation/crisp.el (crisp-mode-modeline-string):
5732 * eshell/esh-mode.el (eshell-status-in-modeline):
5733 Aliases to defcustoms must come before the defcustom.
5734
5735 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5736 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5737 (cal-tex-cursor-week-monday): Doc fixes.
5738 (cal-tex-cursor-week2-summary): Doc fix.
5739 Rename from cal-tex-cursor-week-at-a-glance.
5740
5741 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5742 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5743
5744 * calendar/calendar.el (calendar-mode-map):
5745 Add cal-tex-cursor-week2-summary.
5746
5747 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5750
5751 * subr.el (read-passwd-map): New var.
5752 (read-passwd): Use `read-string' again.
5753 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5754
5755 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5756
5757 * register.el (append-to-register, prepend-to-register):
5758 Deactivate mark, as does `copy-to-register' (bug#12389).
5759
5760 2012-10-06 Chong Yidong <cyd@gnu.org>
5761
5762 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5763
5764 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5765
5766 * international/characters.el: Fix simple mistake ((car chars) ->
5767 elt), delete duplicated code.
5768
5769 2012-10-06 Glenn Morris <rgm@gnu.org>
5770
5771 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5772
5773 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5774
5775 * color.el (color-hsl-to-rgb): Fix incorrect results for
5776 small and large hue values. (Bug#12559)
5777
5778 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5779
5780 Enhancements to docstring formatting when filling paragraphs.
5781 * progmodes/python.el (python-fill-docstring-style): Rename from
5782 python-fill-string-style. Added new style.
5783 (python-fill-string): Use new style. Better checks for
5784 docstrings.
5785
5786 2012-10-05 Glenn Morris <rgm@gnu.org>
5787
5788 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5789
5790 * color.el (color-name-to-rgb, color-rgb-to-hex)
5791 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5792 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5793 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5794 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5795
5796 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5797
5798 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5799
5800 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5801 to get the correct size across symlinks.
5802
5803 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5804
5805 2012-10-04 Juri Linkov <juri@jurta.org>
5806
5807 * replace.el (query-replace-interactive): Declare obsolete.
5808 (query-replace-read-from): Add the last incremental search string
5809 to the list of default values accessible via M-n.
5810 (map-query-replace-regexp): Use `read-regexp'.
5811 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5812 (map-query-replace-regexp, replace-string, replace-regexp):
5813 Fix docstrings to replace mentions of `query-replace-interactive'
5814 with alternatives. (Bug#12526)
5815
5816 2012-10-04 Juri Linkov <juri@jurta.org>
5817
5818 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5819 (dired-pop-to-buffer): Declare obsolete.
5820 (dired-mark-pop-up): Doc fix.
5821
5822 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5823
5824 Allow user to set docstring style for fill-paragraph.
5825 * progmodes/python.el
5826 (python-fill-comment-function, python-fill-string-function)
5827 (python-fill-decorator-function, python-fill-paren-function):
5828 Remove :safe for defcustoms.
5829 (python-fill-string-style): New defcustom
5830 (python-fill-paragraph-function): Enhance context detection.
5831 (python-fill-string): Honor python-fill-string-style settings.
5832
5833 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5834
5835 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5836 after setting its buffer (Bug#10805).
5837
5838 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5839
5840 Fix cornercase for string syntax.
5841 * progmodes/python.el (python-syntax-propertize-function):
5842 Simplify and enhance the regexp for unescaped quotes. Now it also
5843 matches quotes in weird situations like the single quote in
5844 "something\"'".
5845 (python-syntax-stringify): Simplify num-quotes detecting code.
5846
5847 2012-10-03 Glenn Morris <rgm@gnu.org>
5848
5849 * help-macro.el (three-step-help):
5850 Revert 2012-09-29 change. (Bug#12567)
5851
5852 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5853
5854 * menu-bar.el (kill-this-buffer): Don't do anything when
5855 `menu-frame' is not alive or visible (Bug#8184).
5856
5857 * emacs-lisp/debug.el (debug): When quitting the debugger window
5858 restore current buffer (Bug#12502).
5859
5860 2012-10-02 Chong Yidong <cyd@gnu.org>
5861
5862 * progmodes/hideif.el (hif-lookup, hif-defined):
5863 Handle semantic-c-takeover-hideif.
5864
5865 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5866
5867 Change sampling interval units from ms to ns.
5868 * profiler.el (profiler-sampling-interval): Change units
5869 from ms to ns, multiplying the default by 1000000 so that
5870 it remains 1 ms.
5871 (profiler-report-cpu-line-format): Give enough room for
5872 the maximum counters on 64-bit hosts.
5873 (profiler-report-render-calltree-1): Call them "CPU samples",
5874 not "Time (ms)", since they are not milliseconds now (and
5875 never really were).
5876
5877 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5878
5879 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5880 Fix querying BBDB for entries without a last name (Bug#11580).
5881
5882 2012-10-02 Chong Yidong <cyd@gnu.org>
5883
5884 * emacs-lisp/eieio.el: Restore Version header.
5885
5886 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * vc/diff-mode.el (diff--auto-refine-data): New var.
5889 (diff-hunk): Use it to delay refinement.
5890 (diff-mode): Remove overlays when we turn off font-lock.
5891
5892 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5893 (table-initialize-table-fixed-width-mode)
5894 (table-set-table-fixed-width-mode): Remove functions.
5895 (table-command-list): Move initialization into declaration.
5896 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5897 (table-with-cache-buffer): Use `declare'.
5898 (table-span-cell): Simplify via CSE.
5899 (table-fixed-width-mode): Use define-minor-mode.
5900 (table-call-interactively, table-funcall, table-apply): Remove.
5901 (table-function): New function, to replace them.
5902
5903 * bookmark.el (bookmark-search-pattern): Remove var.
5904 (bookmark-read-search-input): Remove function.
5905 (bookmark-bmenu-search): Reimplement using a minibuffer.
5906
5907 * faces.el (modeline): Remove obsolete face name.
5908
5909 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5910 and give a non-nil default value.
5911 (add-change-log-entry): Simplify accordingly.
5912
5913 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5914
5915 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5916 (vc-git-log-edit-toggle-amend): New function.
5917 (vc-git-log-edit-toggle-signoff): New function.
5918 (vc-git-log-edit-mode): New major mode.
5919 (vc-git-log-edit-mode-map): Keymap for it.
5920 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5921
5922 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5923 header names.
5924 (log-edit-toggle-header): New function.
5925 (log-edit-extract-headers): Accept function values in HEADERS alist.
5926
5927 2012-10-01 David Engster <deng@randomsample.de>
5928
5929 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5930 from symbol property and change message to be more consistent with
5931 Emacs proper.
5932 (eieio-describe-generic): Add filename for each implementation.
5933 Fix indices for generic and normal methods.
5934 (eieio-method-def, eieio-class-def): New buttons.
5935 (eieio-help-find-method-definition)
5936 (eieio-help-find-class-definition): New functions.
5937 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5938 class, constructor and method definitions.
5939
5940 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5941 information in symbol property.
5942 (scoped-class): Remove.
5943 (eieio-slot-name-index, call-next-method): Check if it is bound.
5944
5945 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5946
5947 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5948 (eieio-custom-mode): New major mode.
5949 (eieio-customize-object): Use it.
5950
5951 2012-10-01 Eric Ludlam <zappo@gnu.org>
5952
5953 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5954 specifying the expected class, and whether subclassing is allowed.
5955 (eieio-persistent-convert-list-to-object):
5956 (eieio-persistent-validate/fix-slot-value)
5957 (eieio-persistent-slot-type-is-class-p): New functions.
5958 (eieio-named::slot-missing): Doc fix.
5959
5960 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5961 Stop using unused publd variable.
5962
5963 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5964 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5965 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5966 (eieio-speedbar-handle-click): Do not specify a class for the
5967 method. Fixes method invocation order problems with EDE.
5968
5969 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5972 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5973
5974 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5975
5976 * bookmark.el (bookmark-version-control): Give tags in the
5977 :type choices (Bug#12309), and improve doc string.
5978 (bookmark-write-file): Bind `print-circle' to `t' to allow
5979 circular custom bookmark types. (Bug#12503)
5980
5981 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5982
5983 Revert the FOLLOW-SYMLINKS change for file-attributes.
5984 * files.el (remote-file-name-inhibit-cache, after-find-file):
5985 * time.el (display-time-file-nonempty-p): Undo last change.
5986
5987 * profiler.el (profiler-sampling-interval): Change default back to 1.
5988 See Stefan Monnier in
5989 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5990
5991 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5992
5993 Shell output catching a la gud-gdb.
5994 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5995 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5996 New Vars.
5997 (python-shell-fetch-lines-filter): New function.
5998 (python-shell-send-string-no-output): Use them.
5999
6000 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6001
6002 * profiler.el (profiler-sampling-interval): Rename from
6003 profiler-sample-interval.
6004 (profiler-sampling-interval): Default to 10.
6005 (profiler-find-profile): New command (was profiler-find-log).
6006 (profiler-find-profile-other-window): New command.
6007 (profiler-find-profile-other-frame): New command.
6008 (profiler-profile): Introduce API-level data structure.
6009
6010 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6011
6012 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6013 * files.el (remote-file-name-inhibit-cache):
6014 * time.el (display-time-file-nonempty-p): Use it.
6015 * files.el (after-find-file): Don't chase links before calling
6016 file-exists-p, as file-exists-p already does the right thing.
6017
6018 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6019
6020 Merge from standalone RefTeX repository.
6021
6022 The following ChangeLog entries are shortened versions of the
6023 original ones with file paths adapted. A not so strongly edited
6024 version of the original ChangeLog can be found in the commit log.
6025
6026 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6027 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6028 Correctly handle new value type returned by `reftex-citation'.
6029
6030 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6031 that entries with whitespace at various places are found.
6032 Doc fix. Include entries that are cross-referenced from cited entries.
6033 Include @String definitions in the resulting bib file. Add header
6034 and footer defined in `reftex-create-bibtex-header' and
6035 `reftex-create-bibtex-footer'.
6036 (reftex-do-citation): Make it possible again to insert
6037 non-existent entries. Save match data when asking for optional
6038 arguments. Return all keys, not just the first one.
6039 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6040 all citations in the same line.
6041 (reftex-parse-bibtex-entry): Accept additional optional argument
6042 `raw' and keep quotes or braces if it is non-nil. Match fields
6043 containing hyphens besides word constituents.
6044 (reftex-get-string-refs): New function.
6045 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6046 and ask if it should be reread in case it did.
6047 (reftex-pop-to-bibtex-entry)
6048 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6049 entries with spaces or tabs in front of arguments.
6050 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6051 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6052 Match entries containing numbers and symbol constituents.
6053 (reftex-do-citation, reftex-figure-out-cite-format):
6054 Use `reftex-cite-key-separator'.
6055
6056 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6057 (reftex-mouse-view-crossref): Explain why point is set.
6058
6059 * textmodes/reftex-global.el: Whitespace changes.
6060
6061 * textmodes/reftex-index.el: Move provide statement to end of
6062 file.
6063 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6064 (reftex-index-visit-phrases-buffer): Set marker when visiting
6065 buffer. This allows for returning from the phrases file to the
6066 file one was just editing instead of the file where the last
6067 phrases was added from.
6068 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6069 punctuation syntax as it usually is not used as string quote in
6070 TeX-related modes and may occur unmatched. The change also
6071 prevents fontification of quoted content.
6072 (reftex-index-phrases-mode): Use it.
6073
6074 * textmodes/reftex-parse.el (reftex-parse-from-file):
6075 Move backward one char if a `\' was matched after a section macro.
6076 (reftex-parse-from-file): Use beginning of match instead of end as
6077 bound.
6078
6079 * textmodes/reftex-ref.el: Adapt creation of
6080 `reftex-<package>-<macro>' functions to new structure of
6081 `reftex-ref-style-alist'.
6082 (reftex-reference): Use `reftex-ref-style-list' function.
6083 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6084 reference macro if `reftex-ref-macro-prompt' is non-nil.
6085 (reftex-reference): Pass refstyle to `reftex-format-special'.
6086 Determine reference macro by looking at
6087 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6088 Use only one special format function.
6089 (reftex-varioref-vref, reftex-fancyref-fref)
6090 (reftex-fancyref-Fref): Remove definitions. The functions are now
6091 generated from `reftex-ref-style-alist'.
6092 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6093 Remove.
6094 (reftex-format-special): New function.
6095
6096 * textmodes/reftex-sel.el
6097 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6098 of `reftex-ref-style-alist'. Remove code for testing macro type.
6099 (reftex-select-toggle-varioref)
6100 (reftex-select-toggle-fancyref): Remove.
6101 (reftex-select-cycle-ref-style-internal)
6102 (reftex-select-cycle-ref-style-forward)
6103 (reftex-select-cycle-ref-style-backward): New functions.
6104 (reftex-select-label-map): Use `v' and `V' for general cycling
6105 through reference styles. Add `p' for switching between number
6106 and page reference types.
6107
6108 * textmodes/reftex-toc.el (reftex-re-enlarge):
6109 Call `enlarge-window' only if there is something to do because in Emacs
6110 the horizontal version throws an error even if the parameter is 0.
6111
6112 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6113 (reftex-plug-into-AUCTeX): Doc fix.
6114 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6115 string. Adapt to new name.
6116 (reftex-ref-style-alist): Change structure so that it is not
6117 possible to use multiple different package names within a style.
6118 Remove the symbols for symbols for macro type distinction.
6119 Add characters for macro selection.
6120 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6121 (reftex-create-bibtex-footer): New variables.
6122 (reftex-format-ref-function): Mention third argument of special
6123 format function.
6124 (reftex-ref-style-alist, reftex-ref-style-default-list):
6125 New variables.
6126 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6127 to new implementation. Mark as obsolete. Add compatibility code
6128 for honoring the variable values in case they are set.
6129 (reftex-cite-format-builtin, reftex-bibliography-commands):
6130 Add support for ConTeXt.
6131 (reftex-format-ref-function, reftex-format-cite-function):
6132 Fix custom type.
6133 (reftex-cite-key-separator): New variable.
6134
6135 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6136 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6137 `reftex-syntax-table' because parens have to retain their paren
6138 syntax in order for parsing of BibTeX entries like @book(...) to
6139 work.
6140 (reftex-in-comment): Do not error out if `comment-start-skip' is
6141 not set. Deal correctly with escaped comment characters.
6142 (reftex-tie-multifile-symbols): Add doc string.
6143 Initialize `reftex-ref-style-list'.
6144 (reftex-untie-multifile-symbols): Add doc string.
6145 (reftex-add-index-macros): Doc fix.
6146 (reftex-ref-style-activate, reftex-ref-style-toggle)
6147 (reftex-ref-style-list): New functions.
6148 (reftex-mode-menu): Use them. Adapt to new structure of
6149 `reftex-ref-style-alist'.
6150 (reftex-select-with-char): Kill the RefTeX Select buffer when
6151 done.
6152 (reftex-remove-if): New function.
6153 (reftex-erase-all-selection-and-index-buffers)
6154 (reftex-mode-menu): Reference styles are now computed from
6155 `reftex-ref-style-alist'. Fix typo.
6156 (reftex-report-bug): New function.
6157 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6158 algorithms with O(n log n). Introduce optional argument SORT (not
6159 yet used).
6160
6161 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6162
6163 Enhancements for triple-quote string syntax.
6164 * progmodes/python.el (python-syntax-propertize-function):
6165 Match both quote cases in one regexp.
6166 (python-syntax-stringify): Handle matches properly.
6167
6168 2012-09-30 Juri Linkov <juri@jurta.org>
6169
6170 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6171 to nil around the call to `insert' to prevent
6172 directory time modification by lock_file. (Bug#2295)
6173 * tar-mode.el (tar-summarize-buffer): Idem.
6174
6175 2012-09-30 Juri Linkov <juri@jurta.org>
6176
6177 * facemenu.el (list-colors-sort): Add option "Luminance".
6178 (list-colors-sort-key): Implement it.
6179
6180 * vc/diff-mode.el (diff-refine-removed):
6181 * vc/ediff-init.el (ediff-fine-diff-A):
6182 * vc/smerge-mode.el (smerge-refined-removed):
6183 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6184
6185 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6186
6187 * term/ns-win.el (x-file-dialog): New function.
6188
6189 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6190
6191 * ido.el (ido-max-directory-size): Default to nil; the current
6192 default is small for POSIX systems, and impractical on Windows 7
6193 now that lstat returns directory sizes for NTFS.
6194
6195 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6196
6197 In buffer display functions handle window-height/window-width
6198 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6199 * window.el (window--display-buffer): New argument ALIST.
6200 Obey window-height and window-width alist entries.
6201 (window--try-to-split-window): New argument ALIST.
6202 Bind window-combination-limit to t when the window's size shall be
6203 changed and window-combination-limit equals `window-size'.
6204 (display-buffer-in-atom-window)
6205 (display-buffer-in-major-side-window)
6206 (display-buffer-in-side-window, display-buffer-same-window)
6207 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6208 (display-buffer-pop-up-window, display-buffer-below-selected)
6209 (display-buffer-at-bottom, display-buffer-in-previous-window)
6210 (display-buffer-use-some-window): Adjust all callers of
6211 window--display-buffer and window--try-to-split-window.
6212 (fit-frame-to-buffer): New option.
6213 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6214 is non-nil.
6215 (display-buffer-in-major-side-window): Evaluate window-height /
6216 window-width alist entries.
6217
6218 * help.el (temp-buffer-resize-frames)
6219 (temp-buffer-resize-regexps): Remove options.
6220 (temp-buffer-resize-mode): Adjust doc-string.
6221 (resize-temp-buffer-window): Don't consult
6222 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6223 temp-buffer-resize-frames.
6224
6225 * dired.el (dired-mark-pop-up):
6226 Call display-buffer-below-selected with a fit-window-to-buffer alist
6227 entry.
6228
6229 2012-09-30 Chong Yidong <cyd@gnu.org>
6230
6231 * server.el (server-host): Document the security implications.
6232 (server-auth-key): Doc fix.
6233
6234 * startup.el (initial-buffer-choice): Doc fix.
6235
6236 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6237
6238 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6239 restriction change.
6240
6241 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6242
6243 * help-fns.el (help-fns--obsolete): Fix last change.
6244
6245 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6248 (minor-mode-map-alist): Remove redundant code.
6249
6250 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6251 visited in a buffer.
6252 (cvs-insert-visited-file): New function.
6253 (find-file-hook): Use it.
6254
6255 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6256
6257 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6258 chose face.
6259 (log-edit-empty-buffer-p): Don't require a space after a header.
6260
6261 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6262
6263 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6264
6265 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6266 a proper minor-mode.
6267
6268 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6269
6270 2012-09-29 Glenn Morris <rgm@gnu.org>
6271
6272 * winner.el (winner-mode): Remove variable (let define-minor-mode
6273 handle it).
6274 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6275 Doc fixes.
6276 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6277 (winner-mode): Use define-minor-mode.
6278
6279 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6280 the full definition in loaddefs, rather than duplicating it.
6281
6282 * help-macro.el (three-step-help): No need to autoload defcustom.
6283
6284 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6285 (inferior-lisp-program, inferior-lisp-load-command)
6286 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6287 No need to autoload defcustoms.
6288
6289 * hippie-exp.el (hippie-expand-try-functions-list)
6290 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6291 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6292 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6293 (hippie-expand-only-buffers): No need to autoload defcustoms.
6294 * progmodes/vhdl-mode.el (vhdl-line-expand):
6295 Explicitly load hippie-exp, so it does not get autoloaded
6296 while hippie-expand-try-functions-list is let-bound.
6297
6298 2012-09-28 Glenn Morris <rgm@gnu.org>
6299
6300 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6301
6302 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6303 Only "cl.el" counts as cl these days.
6304
6305 2012-09-28 Juri Linkov <juri@jurta.org>
6306
6307 Display archive errors in the echo area instead of inserting
6308 to the file buffer.
6309
6310 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6311 to STDERR-TEST that can be a regexp matching a successful output.
6312 Create a temporary file and redirect stderr to it. Search for
6313 STDERR-TEST in the stderr output and display it in the echo area
6314 if no match is found.
6315 (archive-extract-by-file): New function like
6316 `archive-extract-by-stdout' but extracting archives to files
6317 and looking for successful matches in stdout. Function body is
6318 mostly copied from `archive-rar-extract'.
6319 (archive-rar-extract): Use `archive-extract-by-file'.
6320 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6321
6322 2012-09-28 Leo Liu <sdl.web@gmail.com>
6323
6324 * pcomplete.el (pcomplete-show-completions):
6325 Use minibuffer-message to make pcomplete usable in minibuffer.
6326
6327 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6328
6329 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * type-break.el: Use lexical-binding.
6332 (type-break-mode): Use define-minor-mode.
6333
6334 * emacs-lisp/pcase.el (pcase--mark-used): New.
6335 (pcase--u1): Use it (bug#12512).
6336
6337 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6338 in load-history with the right file name.
6339
6340 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6341
6342 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6343 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6344 (doc-view-get-bounding-box): Make bounding box slicing work for
6345 ODF and DVI documents.
6346
6347 2012-09-28 Glenn Morris <rgm@gnu.org>
6348
6349 * type-break.el (type-break-mode, type-break-interval)
6350 (type-break-good-rest-interval, type-break-keystroke-threshold):
6351 No need to autoload.
6352 (type-break-good-rest-interval, type-break-keystroke-threshold):
6353 Add :set-after.
6354
6355 2012-09-28 Chong Yidong <cyd@gnu.org>
6356
6357 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6358 Add :version tag.
6359
6360 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6363
6364 2012-09-27 Glenn Morris <rgm@gnu.org>
6365
6366 * faces.el (x-display-name): Declare (for without-x builds).
6367
6368 * linum.el (linum-format): Don't autoload it. Improve :type.
6369
6370 * progmodes/tcl.el: Don't require outline when compiling.
6371 (outline-regexp, outline-level): Declare.
6372 * textmodes/sgml-mode.el: Don't require outline when compiling.
6373 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6374
6375 * term.el (term-ansi-reset):
6376 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6377
6378 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6379 files for RCS and SCCS. (Bug#9781)
6380
6381 2012-09-27 Chong Yidong <cyd@gnu.org>
6382
6383 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6384 change; value should be t.
6385
6386 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * image-mode.el: Use lexical-binding.
6389 (image-mode-winprops): Use t to stand for the window of
6390 a buffer that's not displayed.
6391 * doc-view.el (doc-view-new-window-function): Handle the new
6392 t in winprops.
6393 (doc-view-enlarge): Make it a real nop if the size is not changed.
6394 (doc-view-display): Handle the case where the buffer is not (yet?)
6395 displayed in any window.
6396 (doc-view-saved-settings): New var.
6397 (doc-view-mode): Use it.
6398 (doc-view-fallback-mode): Set it.
6399
6400 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6401 Set lexical-binding.
6402 (minibuffer-eldef-shorten-default): New var.
6403 (minibuffer-default-in-prompt-regexps): Use it for new default.
6404 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6405
6406 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6407
6408 * international/uni-bidi.el:
6409 * international/uni-category.el:
6410 * international/uni-name.el:
6411 * international/uni-numeric.el: Regenerate.
6412
6413 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6414 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * profiler.el: New file.
6417
6418 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6421 (testcover-reinstrument): Simplify with CSE.
6422
6423 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6424
6425 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6426
6427 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6428
6429 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6430 (verilog-auto-input, verilog-auto-insert-lisp)
6431 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6432 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6433 (verilog-auto-unused, verilog-auto-wire)
6434 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6435 newline. Reported by Andrew Jones.
6436 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6437 Reported by Brad Dobbie.
6438 (verilog-batch-delete-trailing-whitespace):
6439 Create verilog-batch-delete-trailing-whitespace.
6440 Reported by Brad Dobbie.
6441 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6442 parameters from another module. Reported by Dan Katz.
6443 (verilog-auto, verilog-auto-assign-modport)
6444 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6445 AUTOINOUTMODPORT for UVM interface module shell generation.
6446 Reported by Brad Dobbie.
6447 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6448 standard behavior.
6449 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6450 Reported by Matt Martin.
6451
6452 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6453
6454 * window.el (window--resize-child-windows): When resizing child
6455 windows proportionally, process them in reverse order to
6456 preserve the "when splitting a window the new one gets the odd
6457 line" behavior.
6458 (window--resize-root-window-vertically): When resizing the
6459 minibuffer window try to affect only windows at the bottom of the
6460 frame. (Bug#12419)
6461
6462 2012-09-25 Chong Yidong <cyd@gnu.org>
6463
6464 * subr.el (declare): Doc fix.
6465
6466 * help-fns.el (help-fns--obsolete): Handle macros properly.
6467
6468 2012-09-25 Chong Yidong <cyd@gnu.org>
6469
6470 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6471 this function obsolete.
6472
6473 * calendar/cal-x.el (calendar-two-frame-setup)
6474 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6475 * calendar/calendar.el (american-calendar, european-calendar)
6476 (calendar-for-loop):
6477 * comint.el (comint-dynamic-simple-complete)
6478 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6479 * desktop.el (desktop-load-default):
6480 * dired-x.el (dired-omit-here-always)
6481 (dired-hack-local-variables, dired-default-directory):
6482 * emacs-lisp/derived.el (derived-mode-class):
6483 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6484 * emacs-lock.el (toggle-emacs-lock):
6485 * epa.el (epa-display-verify-result):
6486 * epg.el (epg-sign-keys, epg-start-sign-keys)
6487 (epg-passphrase-callback-function):
6488 * eshell/esh-util.el (eshell-for):
6489 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6490 (eshell-add-to-window-buffer-names):
6491 * files.el (locate-file-completion):
6492 * imenu.el (imenu-example--create-c-index)
6493 (imenu-example--create-lisp-index)
6494 (imenu-example--lisp-extract-index-name)
6495 (imenu-example--name-and-position):
6496 * international/mule-cmds.el (princ-list):
6497 * international/mule-diag.el (decode-codepage-char):
6498 * international/mule-util.el (detect-coding-with-priority):
6499 * iswitchb.el (iswitchb-read-buffer):
6500 * mail/mailalias.el (mail-complete):
6501 * mail/sendmail.el (mail-sent-via):
6502 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6503 (mouse-major-mode-menu):
6504 * password-cache.el (password-read-and-add):
6505 * pcomplete.el (pcomplete-parse-comint-arguments):
6506 * progmodes/sh-script.el (sh-maybe-here-document):
6507 * replace.el (query-replace-regexp-eval):
6508 * savehist.el (savehist-load):
6509 * simple.el (choose-completion-delete-max-match):
6510 * term.el (term-dynamic-simple-complete):
6511 * vc/ediff-init.el (ediff-check-version):
6512 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6513 * vc/vc.el (vc-diff-switches-list):
6514 * view.el (view-return-to-alist-update): Likewise.
6515
6516 * subr.el (eval-next-after-load, makehash, insert-string)
6517 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6518 mark obsolete.
6519 (mode-line-inverse-video): Variable deleted.
6520
6521 * international/mule-util.el (string-to-sequence): Remove.
6522
6523 * calendar/calendar.el (calendar-version):
6524 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6525 (icalendar-convert-diary-to-ical):
6526 * cus-edit.el (custom-mode):
6527 * ansi-color.el (ansi-color-unfontify-region):
6528 * international/latin1-disp.el (latin1-char-displayable-p):
6529 * progmodes/cwarn.el (turn-on-cwarn-mode):
6530 * progmodes/which-func.el (which-func-update-1):
6531 Use define-obsolete-function-alias.
6532
6533 * net/newst-backend.el (newsticker-cache-filename):
6534 * net/newst-treeview.el (newsticker-groups-filename):
6535 Fix incorrect obsolescence declaration.
6536
6537 * allout.el (allout-passphrase-hint-string): Likewise.
6538 (allout-init): Use a declare form to mark obsolete.
6539
6540 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6541 this applies to functions.
6542
6543 * iswitchb.el (iswitchb-read-buffer): Move code of
6544 iswitchb-define-mode-map here, and delete that obsolete function.
6545
6546 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6547 font-lock-reference-face.
6548
6549 2012-09-25 Glenn Morris <rgm@gnu.org>
6550
6551 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6552 Doc fixes.
6553
6554 * eshell/em-term.el (eshell-term-name):
6555 Default to term-term-name. (Bug#12485)
6556
6557 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6558
6559 * progmodes/python.el (python-shell-send-buffer): Better handling
6560 of "if __name__ == '__main__':" conditionals when sending the buffer.
6561
6562 2012-09-24 Glenn Morris <rgm@gnu.org>
6563
6564 * eshell/esh-cmd.el (eshell-find-alias-function):
6565 Tighten up file-name regexp. (Bug#12499)
6566
6567 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6568
6569 Enhancements for triple-quote string syntax.
6570 * progmodes/python.el (python-quote-syntax): Remove.
6571 (python-syntax-propertize-function): New value.
6572 (python-syntax-count-quotes, python-syntax-stringify):
6573 New functions.
6574
6575 2012-09-24 Chong Yidong <cyd@gnu.org>
6576
6577 * mail/supercite.el (sc-version): Remove obsolete function.
6578 (sc-describe): Don't mark as obsolete, since it is bound.
6579 (sc-submit-bug-report): Remove.
6580
6581 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6582 (cvs-commit-buffer-require-final-newline): Remove.
6583 (log-edit-require-final-newline)
6584 (log-edit-changelog-full-paragraphs): Default to t.
6585
6586 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6587 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6588 * vc/vc.el (vc-checkout-carefully): Likewise.
6589
6590 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6591 (emerge-version): Remove.
6592
6593 * progmodes/compile.el (compile-internal): Remove.
6594 (compilation-parse-errors-function): Fix typo.
6595
6596 * international/mule.el (set-char-table-default): Remove.
6597 (set-coding-priority, make-coding-system, generic-char-p)
6598 (charset-list, charset-bytes, charset-id): Use declare to mark
6599 functions as obsolete.
6600
6601 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6602 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6603 * vc/vc-hooks.el (vc-default-registered): Don't use
6604 vc-master-templates.
6605
6606 * font-lock.el (font-lock-reference-face):
6607 Use define-obsolete-variable-alias.
6608
6609 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6610 * calendar/calendar.el (calendar-font-lock-keywords):
6611 * calendar/diary-lib.el (diary-font-lock-keywords)
6612 (diary-fancy-font-lock-keywords):
6613 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6614 * textmodes/reftex-index.el (reftex-insert-index):
6615 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6616 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6617 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6618 * progmodes/prolog.el (prolog-font-lock-keywords):
6619 * progmodes/idlwave.el (idlwave-idl-keywords):
6620 * progmodes/ada-mode.el (ada-font-lock-keywords):
6621 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6622
6623 2012-09-24 Glenn Morris <rgm@gnu.org>
6624
6625 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6626
6627 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6628
6629 * progmodes/python.el (python-indent-line): More consistent cursor
6630 movement behavior.
6631
6632 2012-09-23 Stefan Merten <smerten@oekonux.de>
6633
6634 * textmodes/rst.el: Fix compiler warning.
6635
6636 2012-09-23 Roland Winkler <winkler@gnu.org>
6637
6638 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6639 Transcribe also LaTeX hyphenation.
6640 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6641 bibtex-reformat-previous-options.
6642
6643 2012-09-23 Roland Winkler <winkler@gnu.org>
6644
6645 * proced.el (proced-renice-command): New variable.
6646 (proced-marked-processes): New function.
6647 (proced-with-processes-buffer): New macro.
6648 (proced-send-signal): Use them.
6649 (proced-renice): New command bound to r.
6650
6651 2012-09-23 Roland Winkler <winkler@gnu.org>
6652
6653 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6654 ibuffer-saved-filter-groups has one element, shortcut the call of
6655 completing-read. (Bug#12331)
6656
6657 2012-09-23 Chong Yidong <cyd@gnu.org>
6658
6659 * bindings.el (mode-line-toggle-read-only):
6660 * bs.el (bs-toggle-readonly):
6661 * buff-menu.el (Buffer-menu-toggle-read-only):
6662 * dired.el (dired-toggle-read-only):
6663 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6664
6665 2012-09-23 Chong Yidong <cyd@gnu.org>
6666
6667 * image.el (image-type-available-p): Adapt to init-image-library
6668 argument changes.
6669
6670 2012-09-22 Juri Linkov <juri@jurta.org>
6671
6672 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6673 `dired-toggle-read-only'. (Bug#12462)
6674
6675 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6676
6677 * subr.el (temp-output-buffer-show): New function.
6678 (with-output-to-temp-buffer): Call temp-output-buffer-show
6679 instead of internal-temp-output-buffer-show.
6680
6681 2012-09-22 Chong Yidong <cyd@gnu.org>
6682
6683 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6684 (Bug#12462).
6685
6686 * repeat.el (repeat): Doc fix (Bug#12348).
6687
6688 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6689 (Bug#10909).
6690
6691 * simple.el (shell-command-on-region): Doc fix.
6692 (read-only-mode): Doc fix.
6693
6694 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6695
6696 * emacs-lisp/timer.el (run-with-idle-timer)
6697 (timer-activate-when-idle): Warn against reinvoking an idle timer
6698 from within its own timer action. (Bug#12447)
6699
6700 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6701
6702 * cus-start.el (window-combination-limit): Add new optional
6703 values.
6704 * window.el (temp-buffer-window-show)
6705 (window--try-to-split-window): Handle new values of
6706 window-combination-limit (Bug#1806).
6707 (split-window): Test window-combination-limit for t instead of
6708 non-nil.
6709 (display-buffer-at-bottom): New buffer display action function.
6710 * help.el (temp-buffer-resize-regexps): New option.
6711 (temp-buffer-resize-mode): Rewrite doc-string.
6712 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6713 Don't resize reused window. Suggested by Glenn Morris.
6714
6715 2012-09-22 Stefan Merten <smerten@oekonux.de>
6716
6717 * textmodes/rst.el: Revamp section title faces.
6718 (rst-official-version)
6719 (rst-package-emacs-version-alist): Sync with official version
6720 V1.4.0.
6721 (rst-faces-defaults, rst-set-level-default)
6722 (rst-level-face-max, rst-level-face-base-color)
6723 (rst-level-face-base-light, rst-level-face-format-light)
6724 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6725 (rst-adornment-faces-alist): Match new setup.
6726 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6727 (rst-level-5, rst-level-6): New faces.
6728
6729 2012-09-22 Chong Yidong <cyd@gnu.org>
6730
6731 * simple.el (undo): Handle indirect buffers (Bug#8207).
6732
6733 2012-09-21 Leo Liu <sdl.web@gmail.com>
6734
6735 IDO: Disable match re-ordering for buffer switching.
6736 * ido.el (ido-buffer-disable-smart-matches): New variable.
6737 (ido-set-matches-1): Use it. (Bug#2042)
6738
6739 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6740
6741 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6742 Fix 2011-05-17 change. (Bug#12418)
6743
6744 2012-09-21 Leo Liu <sdl.web@gmail.com>
6745
6746 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6747
6748 2012-09-21 Glenn Morris <rgm@gnu.org>
6749
6750 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6751 Be more robust about locating simple.el.
6752
6753 2012-09-21 Glenn Morris <rgm@gnu.org>
6754
6755 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6756
6757 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6758
6759 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6760
6761 2012-09-20 Juri Linkov <juri@jurta.org>
6762
6763 * replace.el (query-replace-read-from): Use `read-regexp' instead
6764 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6765 (occur-read-primary-args): Use `read-regexp' instead of
6766 `read-string'.
6767 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6768 `read-from-minibuffer'.
6769 * isearch.el (isearch-occur): Use `read-regexp' instead of
6770 `read-string'.
6771 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6772 `read-from-minibuffer'.
6773 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6774 of `read-string'. (Bug#7567)
6775
6776 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6777 and allow accepting a list of strings prepended to a list of
6778 standard default values. Doc fix. (Bug#12321)
6779
6780 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6781
6782 * replace.el (read-regexp): Don't add ": " when PROMPT already
6783 ends with a colon and space. (Bug#12321)
6784
6785 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6786
6787 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6788 error.
6789
6790 2012-09-20 Stefan Merten <smerten@oekonux.de>
6791
6792 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6793 Fixes feature request bug#11711.
6794 (rst-mode): Create `imenu-create-index-function'.
6795 (rst-get-stripped-line): Delete after refactoring.
6796 (rst-section-tree, rst-section-tree-rec)
6797 (rst-section-tree-point): Refactor and document properly.
6798 (rst-imenu-find-adornments-for-position)
6799 (rst-imenu-convert-cell, rst-imenu-create-index):
6800 New function.
6801
6802 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6805 (macroexp--expand-all): Use it.
6806 (macroexp--funcall-and-return): Remove by folding it into its sole
6807 caller (macroexp--warn-and-return).
6808 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6809 Use macroexp--obsolete-warning.
6810
6811 * calc/calc.el: Fix last change by removing the whole chunk, since it
6812 was only needed back when Calc was not bundled.
6813
6814 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6815
6816 * emacs-lisp/debug.el (debug): Restore assignment to
6817 debugger-old-buffer removed on 2012-09-08.
6818
6819 2012-09-20 Juri Linkov <juri@jurta.org>
6820
6821 * dired-aux.el (dired-diff): Remove (require 'diff) since
6822 `diff-latest-backup-file' is now autoloaded.
6823
6824 2012-09-20 Chong Yidong <cyd@gnu.org>
6825
6826 * vc/diff.el (diff-latest-backup-file): Autoload.
6827
6828 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * calc/calc.el: Remove redundant autoload shape check.
6831 (sel-mode): Don't defvar.
6832 (calc-get-stack-element): Add `sel-mode' arg instead.
6833 (calc-top, calc-top-list): Pass it this additional argument.
6834 * calc/calc-store.el (calc-store-map):
6835 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6836 (calc-map-equation, calc-outer-product, calc-inner-product):
6837 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6838
6839 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6840
6841 2012-09-19 Juri Linkov <juri@jurta.org>
6842
6843 * dired-aux.el (dired-diff): Add (require 'diff) because
6844 `diff-latest-backup-file' is not autoloaded.
6845 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6846 of `dired-get-filename' to t to not report error when there is
6847 no default file on the current line.
6848
6849 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6852 macroexp--eval-if-compile.
6853 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6854 (macroexp--expand-all): Use them (bug#12371).
6855
6856 * doc-view.el (doc-view-guess-paper-size)
6857 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6858
6859 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6860
6861 New feature: set optimal slice from BoundingBox information.
6862 * doc-view.el (doc-view-mode-map): Add keybinding.
6863 (doc-view-menu): Add menu entry.
6864 (doc-view-set-slice): Adapt docstring.
6865 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6866 (doc-view-scale-bounding-box)
6867 (doc-view-set-slice-from-bounding-box): New functions.
6868 (doc-view-paper-sizes): New defvar.
6869
6870 2012-09-19 Glenn Morris <rgm@gnu.org>
6871
6872 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6873 (byte-compile-log-warning): Autoload. (Bug#12371)
6874
6875 * calendar/calendar.el (calendar-american-month-header)
6876 (calendar-european-month-header, calendar-iso-month-header)
6877 (calendar-month-header): New options.
6878 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6879 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6880
6881 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6882
6883 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6884
6885 2012-09-18 Juri Linkov <juri@jurta.org>
6886
6887 * dired-aux.el (dired-diff): Restore original functionality of
6888 getting the default value, but keep new feature of using the
6889 latest existing backup file (`diff-latest-backup-file').
6890
6891 2012-09-18 Juri Linkov <juri@jurta.org>
6892
6893 * dired.el (dired-mark): If the region is active in Transient Mark
6894 mode, mark all files in the active region. Doc fix.
6895 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6896 Doc fix. (Bug#10624)
6897
6898 2012-09-18 Juri Linkov <juri@jurta.org>
6899
6900 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6901 attributes for M-n are pulled from the file at point.
6902 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6903 Suggested by Drew Adams. (Bug#10624)
6904
6905 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6906
6907 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6908 whitespace after "end".
6909 (ruby-do-end-to-brace): Collapse block to one line if it fits
6910 within fill-column.
6911
6912 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6913
6914 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6915 value.
6916 (debug): Don't remove debugger window when debugger is expected
6917 to be back.
6918
6919 2012-09-18 Chong Yidong <cyd@gnu.org>
6920
6921 * custom.el (defface): Doc fix.
6922
6923 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6924
6925 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6926
6927 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6928 to initialize query-on-exit; then test that instead (bug#12288).
6929
6930 2012-09-17 Stefan Merten <smerten@oekonux.de>
6931
6932 * textmodes/rst.el: Add support for `testcover'.
6933 (rst-defcustom-testcover, rst-testcover-add-compose)
6934 (rst-testcover-add-1value): New functions.
6935 (rst-portable-mark-active-p): Replace by `use-region-p'.
6936 (rst-update-section, rst-classify-adornment)
6937 (rst-find-title-line): Mark `1value' forms.
6938 (rst-classify-adornment): Remove superfluous form.
6939 (rst-update-section, rst-get-adornments-around)
6940 (rst-adornment-complete-p, rst-get-next-adornment)
6941 (rst-adjust, rst-promote-region)
6942 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6943 (rst-find-pfx-in-region, rst-section-tree-rec)
6944 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6945 (rst-toc-node, rst-toc, rst-forward-section)
6946 (rst-iterate-leftmost-paragraphs)
6947 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6948 (rst-bullet-list-region)
6949 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6950 (rst-compile-find-conf, rst-compile)
6951 (rst-repeat-last-character): Fix style.
6952
6953 2012-09-17 Chong Yidong <cyd@gnu.org>
6954
6955 * comint.el (comint--complete-file-name-data): Don't add a space
6956 if the status is `sole'; that adds a gratuitous space in the
6957 completion-cycling case (Bug#12092).
6958
6959 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6960
6961 2012-09-17 Richard Stallman <rms@gnu.org>
6962
6963 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6964 only in the mime-shown mode, not in raw mode.
6965 (rmail-mime): Toggle off mime by displaying the message without
6966 mime processing. (Bug#12305)
6967
6968 * mail/rmail.el (rmail-retry-failure):
6969 Turn off mime processing first. (Bug#12037)
6970
6971 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6972
6973 2012-09-17 Chong Yidong <cyd@gnu.org>
6974
6975 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6976 (shell-dynamic-complete-functions): Convert to defcustom.
6977 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6978
6979 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6980 * comint.el (comint-prompt-read-only):
6981 * custom.el (defcustom):
6982 * hi-lock.el (hi-lock-mode):
6983 * ibuffer.el (ibuffer-formats):
6984 * ielm.el (ielm-prompt-read-only):
6985 * novice.el (disable-command):
6986 * saveplace.el (toggle-save-place):
6987 * speedbar.el (speedbar-supported-extension-expressions):
6988 * startup.el (auto-save-list-file-prefix, init-file-user)
6989 (after-init-hook, inhibit-startup-echo-area-message):
6990 * strokes.el (strokes-help):
6991 * time-stamp.el (time-stamp):
6992 * calendar/calendar.el (calendar, diary-file):
6993 * calendar/diary-lib.el (diary-mail-entries, diary)
6994 (diary-list-entries-hook):
6995 * calendar/holidays.el (holidays, calendar-holidays):
6996 * calendar/lunar.el (lunar-phases):
6997 * calendar/solar.el (sunrise-sunset):
6998 * emulation/edt.el (edt-load-keys):
6999 * emulation/viper.el (viper-mode):
7000 * eshell/em-alias.el (eshell-command-aliases-list):
7001 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7002 * international/ogonek.el (ogonek-information):
7003 * net/tramp-cmds.el (tramp-bug):
7004 * net/quickurl.el (quickurl-reread-hook-postfix):
7005 * play/decipher.el (decipher-font-lock-keywords):
7006 * progmodes/cc-styles.el (c-set-style):
7007 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7008 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7009 * progmodes/octave-mod.el (octave-mode):
7010 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7011 * progmodes/verilog-mode.el (verilog-read-defines):
7012 * textmodes/two-column.el (2C-mode): Likewise.
7013
7014 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7015
7016 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7017 that holds many addresses.
7018
7019 2012-09-16 Chong Yidong <cyd@gnu.org>
7020
7021 * align.el (align-areas): Call the indication function with
7022 positions instead of markers for arguments (Bug#12343).
7023
7024 * files.el (parse-colon-path): Use split-string (Bug#12351).
7025
7026 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7027 (display-buffer-function): Mark as obsolete.
7028
7029 * progmodes/compile.el (compilation-parse-errors): Accept list
7030 values similar to font-lock-keywords (Bug#12136).
7031 Suggested by Oleksandr Manzyuk.
7032 (compilation-error-regexp-alist): Doc fix.
7033
7034 2012-09-15 Glenn Morris <rgm@gnu.org>
7035
7036 * version.el (emacs-bzr-version-bzr): New function.
7037 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7038
7039 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7040 checkouts, check the parent dirstate matches the branch.
7041 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7042 empty string.
7043
7044 * version.el (emacs-bzr-version): Doc fix.
7045 (emacs-bzr-version-dirstate): New function.
7046 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7047 is local try and check that it matches the branch. If not, just
7048 use dirstate information. (Bug#12441)
7049
7050 2012-09-14 Juri Linkov <juri@jurta.org>
7051
7052 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7053 (Bug#12399)
7054
7055 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7058
7059 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7060 Remove obsolete byte-compiler hack that tried to silence some warnings.
7061 (edebug-submit-bug-report): Remove.
7062 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7063 Remove aliases, use the un-prefixed name instead.
7064 (edebug-pop-to-buffer): Consider other frames.
7065 (edebug-original-read):: Make it more obvious that it's always defined.
7066 (edebug--make-form-data-entry, edebug--form-data-name)
7067 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7068 single-dashed name, and implement with cl-defstruct.
7069 (edebug-set-form-data-entry): Use the standard accessors.
7070 (edebug-make-top-form-data-entry): Use push.
7071 (edebug-no-match): Drop useless `funcall'.
7072 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7073 to functions.
7074 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7075 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7076 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7077 (easy-menu-define, with-custom-print): Remove redundant specs.
7078 (edebug-outside-overriding-local-map)
7079 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7080 (edebug--display): Bind unread-command-events directly to nil rather
7081 than binding it to unread-command-events and later setting it to nil.
7082 (edebug--display): Kill edebug-eval-buffer here...
7083 (edebug--recursive-edit): ...rather than here.
7084 Bind standard-output and standard-input.
7085 (edebug-eval): Check cl-macroexpand-all is fboundp.
7086 (edebug-temp-display-freq-count): Fix last change.
7087
7088 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7089 * subr.el (noreturn, 1value): Add `debug' spec.
7090 * emacs-lisp/advice.el: Require cl-lib.
7091 (ad-copy-tree): Remove, use copy-tree instead.
7092 (ad-dolist): Remove use dolist or cl-dolist instead.
7093 (ad-do-return): Remove, use cl-return instead.
7094 (defadvice): Add `debug' spec.
7095
7096 2012-09-13 Juri Linkov <juri@jurta.org>
7097
7098 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7099 (Bug#12399)
7100
7101 2012-09-13 Glenn Morris <rgm@gnu.org>
7102
7103 * calc/calc.el (math-compose-expr):
7104 * calc/calc-ext.el (math-compose-expr):
7105 * progmodes/cc-defs.el (cl-macroexpand-all):
7106 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7107 (cl-macroexpand-all): Update declarations.
7108
7109 * vc/vc.el: No need to require ediff.
7110 (ediff-load-version-control): Declare.
7111 (ediff-vc-internal): Fix declaration.
7112 (vc-version-ediff): Require ediff.
7113
7114 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7115
7116 Use a more backwards-compatible timer format (Bug#12430).
7117 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7118 being right after USECS, as that better supports old code that
7119 inadvisedly looked directly at the timer vector.
7120
7121 2012-09-13 Kenichi Handa <handa@gnu.org>
7122
7123 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7124 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7125 `coding-priority' property of these language environment.
7126
7127 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7128
7129 Fix glitches caused by addition of psec to timers (Bug#12430).
7130 * image.el (image-animate-timer):
7131 * time.el (display-time-world-timer):
7132 Use timer--function and timer--args rather than raw access to
7133 timer vector.
7134
7135 2012-09-13 Glenn Morris <rgm@gnu.org>
7136
7137 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7138 If not compiling a file, try using load-file-name.
7139
7140 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7143 Fix last change.
7144 (edebug-update-eval-list): Use `push'.
7145
7146 * emacs-lisp/edebug.el: Use lexical-binding.
7147 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7148 Mark unused args with underscore.
7149 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7150 (edebug-form-data): Use defvar-local.
7151 (edebug-make-before-and-after-form, edebug-make-after-form):
7152 Use backquote.
7153 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7154 Not dynamically scoped any more.
7155 (edebug--enter-trace): Add arguments `function' and `args'.
7156 Rename from edebug-enter-trace.
7157 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7158 (edebug--update-coverage): Add `after-index' and `value' args.
7159 Rename from edebug-update-coverage.
7160 (edebug-slow-after): Call it accordingly.
7161 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7162 edebug-recursive-edit.
7163 (edebug--display): Call it accordingly. Add args `value',
7164 `offset-index', and `arg-mode'. Rename from edebug-display.
7165 (edebug-debugger, edebug): Call it accordingly.
7166 (edebug-eval-display-list): Use dolist.
7167
7168 2012-09-12 Juri Linkov <juri@jurta.org>
7169
7170 * info.el (Info-search): Don't check for isearch-mode and
7171 isearch-regexp before let-binding search-spaces-regexp to
7172 Info-search-whitespace-regexp.
7173 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7174 search-whitespace-regexp if isearch-lax-whitespace or
7175 isearch-regexp-lax-whitespace is non-nil.
7176 (Info-mode): Don't set local variable search-whitespace-regexp.
7177 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7178
7179 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7182 (debugger-env-macro): Remove support for unread-command-char.
7183
7184 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7185 the temporary map re-appearing on emulation-mode-map-alists.
7186
7187 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7188 since 22.1.
7189
7190 * ehelp.el (with-electric-help): Accept functions in
7191 electric-help-form-to-execute.
7192 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7193 And replace unread-command-char -> unread-command-events.
7194
7195 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7196
7197 Sync with Tramp 2.2.6.
7198
7199 * net/tramp.el (tramp-accept-process-output): Don't use
7200 JUST-THIS-ONE in the XEmacs case.
7201
7202 * net/trampver.el: Update release number.
7203
7204 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7205
7206 * emacs-lisp/debug.el (debugger-previous-window-height):
7207 New variable.
7208 (debug): When debugger-jumping-flag is non-nil try to restore
7209 height of debugger window. (Bug#8789)
7210
7211 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7214 overriding-local-map and pre/post-command-hook here.
7215 (edebug-recursive-edit): Do it here instead (bug#12345).
7216 (edebug-outside-unread-command-char): Remove all uses of
7217 unread-command-char.
7218
7219 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7220 inhibit-debugger is bound instead.
7221
7222 2012-09-11 Bastien Guerry <bzg@gnu.org>
7223
7224 * subr.el (set-temporary-overlay-map): Add a docstring.
7225 (Bug#12346)
7226
7227 2012-09-11 Bastien Guerry <bzg@gnu.org>
7228
7229 * minibuffer.el (completion-table-subvert): Fix docstring.
7230 (Bug#12347)
7231
7232 2012-09-11 Bastien Guerry <bzg@gnu.org>
7233
7234 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7235
7236 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7237
7238 * progmodes/sql.el: Version 3.1
7239 (sql-db2-escape-newlines): New variable.
7240 (sql-escape-newlines-filter): Use it.
7241
7242 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7243
7244 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7245
7246 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7247
7248 * vc/diff-mode.el (diff-mode-menu):
7249 Bind diff-remove-trailing-whitespace.
7250
7251 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7254 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7255 (emacs-lisp-byte-code-mode): New functions.
7256 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7257 (eval-defun-2): Remove bogus interactive spec.
7258 (lisp-indent-line): Remove redundant whole-exp code, now done in
7259 indent-according-to-mode.
7260 (save-match-data): Remove redundant indent data.
7261
7262 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7263 Use `declare'.
7264
7265 2012-09-09 Juri Linkov <juri@jurta.org>
7266
7267 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7268 (replace-lax-whitespace, query-replace-regexp)
7269 (query-replace-regexp-eval, replace-regexp): Doc fix.
7270 (perform-replace, replace-highlight): Let-bind
7271 isearch-lax-whitespace to replace-lax-whitespace and
7272 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7273
7274 * isearch.el (isearch-query-replace): Let-bind
7275 replace-lax-whitespace to isearch-lax-whitespace and
7276 replace-regexp-lax-whitespace to
7277 isearch-regexp-lax-whitespace. (Bug#10885)
7278
7279 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7282
7283 2012-09-09 Alan Mackenzie <acm@muc.de>
7284
7285 * progmodes/cc-engine.el (c-state-cache-init):
7286 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7287 (c-record-parse-state-state):
7288 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7289
7290 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7291
7292 * register.el (register-separator): Rename from
7293 separator-register. All uses changed. Doc fix.
7294 (register): Fix version.
7295
7296 2012-09-09 Chong Yidong <cyd@gnu.org>
7297
7298 * replace.el (query-replace-map): Bind four new symbols for
7299 requesting window scrolling.
7300
7301 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7302 query-replace-map (Bug#8948).
7303
7304 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7305
7306 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7307 since they are now in query-replace-map.
7308
7309 * window.el (scroll-other-window-down): Make the arg optional.
7310
7311 2012-09-09 Chong Yidong <cyd@gnu.org>
7312
7313 * files.el (hack-local-variables-confirm): Use quit-window to kill
7314 the *Local Variables* buffer.
7315
7316 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7317
7318 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7319 not just expect to be at its beginning. Adjust callees.
7320 Succeed when do-end block has no space before the pipe character.
7321 (ruby-brace-to-do-end): When the original block is one-liner,
7322 convert to multiline. Reindent the result.
7323
7324 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7325
7326 * register.el (register): New group.
7327 (separator-register): New user option.
7328 (increment-register): Route it to `append-to-register', if
7329 register contains text. Implication is that `C-x r +' can now be
7330 used for appending to a text register (bug#12217).
7331 (append-to-register, prepend-to-register): Add separator based on
7332 `separator-register'.
7333
7334 2012-09-08 Alan Mackenzie <acm@muc.de>
7335
7336 AWK Mode: make auto-newline work when there's "==" in the pattern.
7337 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7338 correctly.
7339 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7340 Test more rigorously for "=" token.
7341
7342 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7343
7344 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7345 Only fail when reached LIMIT.
7346
7347 2012-09-08 Chong Yidong <cyd@gnu.org>
7348
7349 * dired.el (dired-mode-map): Don't bind M-=.
7350
7351 * dired-aux.el (dired-diff): Use backup file as default.
7352
7353 2012-09-08 Drew Adams <drew.adams@oracle.com>
7354
7355 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7356
7357 2012-09-08 Chong Yidong <cyd@gnu.org>
7358
7359 * subr.el (syntax-after, syntax-class): Doc fix.
7360
7361 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7362
7363 * window.el (display-buffer-in-previous-window): New buffer
7364 display action function.
7365
7366 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7367 (debugger-previous-window): New variable.
7368 (debug): Rewrite using display-buffer-in-previous-window,
7369 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7370
7371 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7374
7375 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7376
7377 * progmodes/python.el (python-shell-send-string):
7378 When default-directory is remote, create temp file on remote
7379 filesystem.
7380 (python-shell-send-file): When file is remote, pass local view of
7381 file paths to remote Python interpreter. (Bug#12340)
7382
7383 2012-09-07 Chong Yidong <cyd@gnu.org>
7384
7385 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7386
7387 * files.el (after-find-file): Don't fail on a read-only buffer if
7388 require-final-newline is `visit' or `visit-save' (Bug#11156).
7389
7390 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7391
7392 * userlock.el (ask-user-about-supersession-threat):
7393 Use read-char-choice (Bug#12093).
7394
7395 2012-09-07 Chong Yidong <cyd@gnu.org>
7396
7397 * subr.el (buffer-narrowed-p): New function.
7398
7399 * ses.el (ses-widen):
7400 * simple.el (count-words--buffer-message):
7401 * net/browse-url.el (browse-url-of-buffer): Use it.
7402
7403 * simple.el (count-words-region): Don't signal an error if there
7404 is a non-nil prefix arg and the mark is not set.
7405
7406 * help.el (describe-key-briefly): Allow the message to be seen
7407 when invoked from the minibuffer (Bug#7014).
7408
7409 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7410
7411 * progmodes/ruby-mode.el (ruby-end-of-defun)
7412 (ruby-beginning-of-defun): Simplify, allow indentation before
7413 block beginning and end keywords.
7414 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7415 (ruby-end-of-defun): Expect that the point is at the beginning of
7416 the defun.
7417
7418 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7421 (bug#12367).
7422 (cl--make-usage-args): Strip _ from argument names.
7423
7424 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7425
7426 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7427 obsolete alias speedbar-key-map.
7428 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7429 (vhdl-index-menu-init): Don't use obsolete variable
7430 font-lock-maximum-size.
7431
7432 2012-09-06 Chong Yidong <cyd@gnu.org>
7433
7434 * frame.el (window-system-version): Mark as obsolete.
7435
7436 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7437 of obsolete variable speedbar-key-map.
7438
7439 2012-09-06 Juri Linkov <juri@jurta.org>
7440
7441 * replace.el (replace-lax-whitespace): New defcustom.
7442 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7443 (replace-string, replace-regexp): Mention it in docstrings.
7444 (perform-replace, replace-highlight): Let-bind
7445 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7446 to the values of replace-lax-whitespace and regexp-flag.
7447 Don't let-bind search-whitespace-regexp. (Bug#10885)
7448
7449 * isearch.el (isearch-query-replace): Let-bind
7450 replace-lax-whitespace instead of let-binding
7451 replace-search-function and replace-re-search-function.
7452 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7453 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7454 (isearch-toggle-symbol): Set isearch-regexp to nil
7455 in isearch-word mode (like in isearch-toggle-word).
7456
7457 2012-09-06 Juri Linkov <juri@jurta.org>
7458
7459 * replace.el (replace-search-function)
7460 (replace-re-search-function): Set default values to nil.
7461 (perform-replace): Let-bind isearch-related variables based on
7462 replace-related values, call `isearch-search-fun' and let-bind
7463 the result to `search-function'. Remove code that sets
7464 `search-function' and `search-string' separately for
7465 `delimited-flag'.
7466 (replace-highlight): Add new argument `delimited-flag' and
7467 rename other arguments to the names used in `perform-replace'.
7468 Let-bind `isearch-word' to the argument `delimited-flag'.
7469 (Bug#10885, bug#10887)
7470
7471 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7472
7473 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7474 ruby-beginning-of-indent, simplify, allow all keywords to have
7475 indentation before them.
7476 (ruby-beginning-of-indent): Adjust for above. Search until the
7477 found point is not inside a string or comment.
7478 (ruby-font-lock-keywords): Allow symbols to start with "@"
7479 character, give them higher priority than variables.
7480 (ruby-syntax-propertize-function)
7481 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7482 matchers. Expression expansions are not comments when inside a
7483 string, and there comment syntax status is irrelevant.
7484 (ruby-match-expression-expansion): New function. Check that
7485 expression expansion is inside a string, and it's not escaped.
7486 (ruby-font-lock-keywords): Use it.
7487
7488 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7489
7490 * help.el (temp-buffer-max-height): New default value.
7491 (temp-buffer-resize-frames): New option.
7492 (resize-temp-buffer-window): Optionally resize frame.
7493
7494 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7495 (fit-frame-to-buffer): New function.
7496
7497 2012-09-05 Glenn Morris <rgm@gnu.org>
7498
7499 * emulation/cua-rect.el (cua--init-rectangles):
7500 * textmodes/picture.el (picture-mode-map):
7501 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7502 like forward-char and backward-char. (Bug#12317)
7503
7504 2012-09-05 Leo Liu <sdl.web@gmail.com>
7505
7506 * progmodes/flymake.el (flymake-warning-re): New variable.
7507 (flymake-parse-line): Use it.
7508
7509 2012-09-05 Glenn Morris <rgm@gnu.org>
7510
7511 * calendar/holidays.el (holiday-christian-holidays):
7512 Rename an entry. (Bug#12289)
7513
7514 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7517 (bug#12222).
7518
7519 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * loadup.el: Load macroexp. Remove hack.
7522 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7523 (macroexp--expand-all): Use it to get better warnings.
7524 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7525 (internal-macroexpand-for-load): New functions.
7526 (macroexp--pending-eager-loads): New var.
7527 (emacs-startup-hook): New hack to replace one in loadup.el.
7528 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7529 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7530 (cl-psetf): Simplify.
7531 (cl-defstruct): Add indent rule.
7532
7533 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7534
7535 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7536 over `user-mail-address' for the SMTP MAIL FROM envelope.
7537 (smtpmail-via-smtp): Ditto.
7538
7539 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7540
7541 * progmodes/ruby-mode.el: Clean up keybindings.
7542 (ruby-mode-map): Don't bind ruby-electric-brace,
7543 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7544 backward-kill-word, reindent-then-newline-and-indent.
7545 (ruby-mark-defun): Remove.
7546 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7547 (ruby-mode): Set local beginning-of-defun-function and
7548 end-of-defun-function values.
7549
7550 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7551
7552 * window.el (temp-buffer-window-setup-hook)
7553 (temp-buffer-window-show-hook): New hooks.
7554 (temp-buffer-window-setup, temp-buffer-window-show)
7555 (with-temp-buffer-window): New functions.
7556 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7557 (special-display-popup-frame): Make sure the window used shows BUFFER.
7558
7559 * help.el (temp-buffer-resize-mode): Fix doc-string.
7560 (resize-temp-buffer-window): New optional argument WINDOW.
7561
7562 * files.el (recover-file, save-buffers-kill-emacs):
7563 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7564
7565 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7566
7567 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7568 remote definition of `default-directory', ensure we can connect.
7569
7570 2012-09-02 Juri Linkov <juri@jurta.org>
7571
7572 Toggle whitespace matching mode with M-s SPC.
7573 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7574
7575 * isearch.el (search-whitespace-regexp): Doc fix.
7576 Remove cons cell customization.
7577 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7578 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7579 New variables.
7580 (isearch-forward, isearch-forward-regexp): Doc fix.
7581 (isearch-toggle-lax-whitespace): New command.
7582 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7583 (re-search-forward-lax-whitespace)
7584 (re-search-backward-lax-whitespace): New functions.
7585 (isearch-whitespace-regexp): Remove function.
7586 (isearch-query-replace): Let-bind replace-search-function and
7587 replace-re-search-function.
7588 (isearch-occur): Let-bind search-spaces-regexp according to the
7589 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7590 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7591 condition for C-q SPC.
7592 (isearch-search-fun-default): Use new functions mentioned above.
7593 (isearch-search-forward, isearch-search-backward): Remove functions.
7594 (isearch-search): Don't let-bind search-spaces-regexp.
7595 (isearch-lazy-highlight-space-regexp): Remove variable.
7596 (isearch-lazy-highlight-lax-whitespace)
7597 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7598 (isearch-lazy-highlight-new-loop): Use them.
7599 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7600
7601 2012-09-02 Chong Yidong <cyd@gnu.org>
7602
7603 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7604
7605 2012-09-02 Glenn Morris <rgm@gnu.org>
7606
7607 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7608
7609 2012-09-01 Glenn Morris <rgm@gnu.org>
7610
7611 * term.el: Tidy up menu definitions.
7612 (term-mode-map): Use easymenu for In/Out, Complete menus.
7613 (term-pager-break-map): Initialize in the defvar.
7614 (term-terminal-menu, term-signals-menu): Define with easymenu.
7615 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7616 (term-pager-menu): New, extracted from term-process-pager.
7617 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7618 (term-update-mode-line): Propertize line/char and page items.
7619 (term-process-pager): Move keymap initialization elsewhere.
7620
7621 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7622
7623 * window.el (switch-to-prev-buffer): Handle additional values of
7624 BURY-OR-KILL argument. Don't switch in minibuffer window.
7625 (switch-to-next-buffer): Don't switch in minibuffer window.
7626 (quit-restore-window): New function based on quit-window.
7627 Handle additional values of former KILL argument.
7628 (quit-window): Call quit-restore-window with appropriate
7629 interpretation of KILL argument.
7630 (display-buffer-below-selected): New buffer display action
7631 function.
7632
7633 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * minibuffer.el (completion-at-point-functions): Complete docstring
7636 (bug#12254).
7637
7638 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7639
7640 Better seed support for (random).
7641 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7642 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7643 * play/mpuz.el, play/tetris.el, play/zone.el:
7644 * calc/calc-comb.el (math-init-random-base):
7645 * play/blackbox.el (bb-init-board):
7646 * play/life.el (life):
7647 * server.el (server-use-tcp):
7648 * type-break.el (type-break):
7649 Remove unnecessary call to (random t).
7650 * net/sasl.el (sasl-unique-id-function):
7651 Change (random t) to (random), now that the latter is more random.
7652 * play/life.el (life-initialized): Remove no-longer-needed var.
7653
7654 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7655
7656 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7657 Consider frame's buffer predicate when choosing the buffer.
7658 (Bug#12081)
7659
7660 2012-08-30 Richard Stallman <rms@gnu.org>
7661
7662 * simple.el (special-mode-map): Delete binding for `z'.
7663
7664 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7665
7666 * progmodes/compile.el (compilation-always-kill): Doc fix.
7667
7668 2012-08-30 Chong Yidong <cyd@gnu.org>
7669
7670 * window.el (display-buffer-reuse-frames): Make the obsolescence
7671 message more informative.
7672
7673 2012-08-30 Glenn Morris <rgm@gnu.org>
7674
7675 * paren.el (show-paren-delay):
7676 Add a :set function. Doc fix. (Bug#12297)
7677
7678 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7679
7680 * progmodes/compile.el (compilation-always-kill): New var.
7681 (compilation-start): Use it.
7682
7683 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7686 * files.el (read-only-mode): Move to simple.el.
7687
7688 * files.el (read-only-mode): New minor mode.
7689 (toggle-read-only): Use it and mark obsolete.
7690 (find-file--read-only):
7691 * vc/vc.el (vc-next-action, vc-checkout):
7692 * vc/vc-cvs.el (vc-cvs-checkout):
7693 * obsolete/vc-mcvs.el (vc-mcvs-update):
7694 * ffap.el (ffap--toggle-read-only): Update callers.
7695
7696 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7697
7698 * eshell/esh-ext.el (eshell-external-command): Do not examine
7699 remote shell scripts.
7700 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7701
7702 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7703 "/usr/local/sbin".
7704
7705 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7708
7709 2012-08-28 Leo Liu <sdl.web@gmail.com>
7710
7711 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7712 completion-at-point. (Bug#12220)
7713
7714 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7715
7716 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7717
7718 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7721 be buffer-local; add delete-trailing-whitespace (bug#12259).
7722
7723 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7724
7725 * progmodes/hideif.el (hif-compress-define-list):
7726 Fix typo. (Bug#11951)
7727
7728 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7729
7730 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7731 buffer local setting.
7732
7733 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7734 rcirc-encode-coding-system.
7735
7736 2012-08-28 Leo Liu <sdl.web@gmail.com>
7737
7738 * net/rcirc.el (rcirc-split-message): New function.
7739 (rcirc-send-message): Use it. (Bug#12051)
7740
7741 2012-08-28 Juri Linkov <juri@jurta.org>
7742
7743 * info.el (Info-fontify-node): Hide empty lines at the end of
7744 the node. (Bug#12272)
7745
7746 2012-08-27 Drew Adams <drew.adams@oracle.com>
7747
7748 * dired.el (dired-pop-to-buffer): Make window start at beginning
7749 of buffer (Bug#12281).
7750
7751 2012-08-26 Chong Yidong <cyd@gnu.org>
7752
7753 * window.el (special-display-regexps, special-display-frame-alist)
7754 (special-display-buffer-names, special-display-function)
7755 (display-buffer-reuse-frames): Mark as obsolete.
7756
7757 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7758
7759 * help.el (help-print-return-message): Don't treat
7760 display-buffer-reuse-frames specially.
7761
7762 2012-08-26 Chong Yidong <cyd@gnu.org>
7763
7764 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7765 New variable, replacing gdb-frame-parameters.
7766 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7767 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7768 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7769 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7770 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7771 the functions directly with gdb-display-buffer-other-frame-action.
7772 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7773 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7774 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7775 (gdb-display-registers-buffer): Define directly.
7776 (def-gdb-display-buffer): Macro deleted.
7777 (gdb-display-buffer): Remove second and third args, callers don't
7778 use them. Defer to the default display-buffer behavior, apart
7779 from making windows dedicated.
7780 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7781
7782 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7783
7784 * window.el (display-buffer-pop-up-frame): Handle a
7785 pop-up-frame-parameters alist entry.
7786 (display-buffer): Document it.
7787
7788 2012-08-26 Chong Yidong <cyd@gnu.org>
7789
7790 * isearch.el (search-whitespace-regexp): Make string and nil
7791 values apply to both ordinary and regexp search. Allow a cons
7792 cell value to distinguish between the two.
7793 (isearch-whitespace-regexp, isearch-search-forward)
7794 (isearch-search-backward): New functions.
7795 (isearch-occur, isearch-search-fun-default, isearch-search)
7796 (isearch-lazy-highlight-new-loop): Use them.
7797 (isearch-forward, isearch-forward-regexp): Doc fix.
7798
7799 2012-08-26 Chong Yidong <cyd@gnu.org>
7800
7801 * faces.el (help-argument-name): Always inherit from italic
7802 (Bug#12213).
7803
7804 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7805
7806 * window.el (window--even-window-heights): Even heights when
7807 WINDOW and the selected window form a vertical combination.
7808 (display-buffer-use-some-window): Provide that window used gets
7809 sized back by quit-window. (Bug#11880) and (Bug#12091)
7810
7811 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7812
7813 Fix file time stamp problem with bzr and CVS (Bug#12001).
7814 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7815 in the file's time stamp, since the version control system loses
7816 that information.
7817
7818 2012-08-22 Juri Linkov <juri@jurta.org>
7819
7820 * info.el (Info-fontify-node): Hide the suffix of the
7821 Info file name in the header line. (Bug#12187)
7822
7823 2012-08-22 Glenn Morris <rgm@gnu.org>
7824
7825 * calendar/cal-tex.el (cal-tex-weekly-common):
7826 Restore leading blank page.
7827
7828 2012-08-22 Le Wang <l26wang@gmail.com>
7829
7830 * misc.el (forward-to-word, backward-to-word): Activate or extend
7831 the region under `shift-select-mode'. (Bug#12231)
7832
7833 2012-08-22 Bastien Guerry <bzg@gnu.org>
7834
7835 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7836 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7837 gives details on why the space is never needed.
7838
7839 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7840
7841 * window.el (walk-window-tree, window-with-parameter):
7842 New optional argument MINIBUF to control whether these functions
7843 should run on the minibuffer window.
7844 (window-at-side-list): Don't operate on minibuffer window.
7845 (window-in-direction): Simplify and rewrite doc-string.
7846 (window--size-ignore): Rename to window--size-ignore-p.
7847 Update callers.
7848 (display-buffer-in-atom-window, window--major-non-side-window)
7849 (window--major-side-window, display-buffer-in-major-side-window)
7850 (delete-side-window, display-buffer-in-side-window):
7851 New functions.
7852 (window--side-check, window-deletable-p, delete-window)
7853 (delete-other-windows, split-window): Handle side windows and
7854 atomic windows appropriately.
7855 (window--display-buffer): Call display-buffer-record-window also
7856 when the window buffer did not change.
7857
7858 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7859
7860 * help-fns.el (help-fns--key-bindings):
7861 Abbreviate non-symbol remap targets. (Bug#12174)
7862
7863 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7864
7865 * dired.el (dired-mark-remembered): Don't clobber point.
7866 (Bug#11795)
7867
7868 2012-08-22 Glenn Morris <rgm@gnu.org>
7869
7870 * progmodes/bug-reference.el (bug-reference): New custom group.
7871 (bug-reference-bug-regexp): Make it a defcustom.
7872
7873 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7874
7875 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7876 (js-paren-indent-offset, js-square-indent-offset)
7877 (js-curly-indent-offset): Add :safe (Bug#12257).
7878
7879 2012-08-22 Edward O'Connor <hober0@gmail.com>
7880
7881 * json.el (json-key-format): Add error properties.
7882 (json-encode-key): New function.
7883 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7884 Use json-encode-key.
7885
7886 2012-08-22 Glenn Morris <rgm@gnu.org>
7887
7888 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7889 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7890 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7891 Update for above change.
7892
7893 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7894
7895 * cus-face.el (custom-face-attributes): Fix customize type for the
7896 :underline attribute. (Bug#11805)
7897
7898 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7899
7900 * window.el (window-point-1, set-window-point-1): Remove.
7901 (window-in-direction, record-window-buffer)
7902 (set-window-buffer-start-and-point, split-window-below)
7903 (window--state-get-1, display-buffer-record-window):
7904 Replace calls to window-point-1 and set-window-point-1 by calls to
7905 window-point and set-window-point respectively.
7906
7907 2012-08-21 Glenn Morris <rgm@gnu.org>
7908
7909 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7910 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7911 Use it.
7912
7913 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7914 (cal-tex-shortday): New function.
7915 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7916 (cal-tex-cursor-filofax-daily): Use the above.
7917
7918 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7919 New functions.
7920 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7921 (cal-tex-cursor-filofax-week): Use them.
7922
7923 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7924 New constants.
7925 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7926 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7927
7928 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7929 (cal-tex-end-document): Don't rely on buffer name.
7930
7931 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7932 Use cal-tex-vspace.
7933 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7934 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7935 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7936 Use cal-tex-arg.
7937
7938 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7939 (cal-tex-cursor-week, cal-tex-cursor-week2)
7940 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7941 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7942 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7943 (cal-tex-insert-preamble, cal-tex-b-document)
7944 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7945 Improve cal-tex-cmd usage.
7946
7947 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7948 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7949 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7950 (cal-tex-weekly-paper): New function.
7951 (cal-tex-cursor-week, cal-tex-cursor-week2)
7952 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7953 (cal-tex-cursor-day): Use it.
7954
7955 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7956 (cal-tex-cursor-filofax-week): Remove leading blank page.
7957
7958 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7959 Add autoload cookie. For now at least, don't use color, since
7960 no other cal-tex function does.
7961
7962 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7963 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7964 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7965
7966 2012-08-21 Juri Linkov <juri@jurta.org>
7967
7968 * info.el (Info-file-attributes): New variable.
7969 (info-insert-file-contents): Add file attributes to
7970 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7971 `Info-toc-nodes' when previous modtime of the Info file is less
7972 than new modtime.
7973 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7974 of info.el. (Bug#12230)
7975
7976 2012-08-20 Glenn Morris <rgm@gnu.org>
7977
7978 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7979 * calendar/holidays.el (calendar-holiday-list):
7980 Report errors with display-warning rather than beep'n'sleep.
7981
7982 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7983
7984 * net/tramp.el (tramp-accept-process-output): Accept only output
7985 from PROC. Otherwise, process filters and sentinels might be
7986 confused. (Bug#12145)
7987
7988 2012-08-20 Chong Yidong <cyd@gnu.org>
7989
7990 * descr-text.el (describe-text-properties-1): Use overlays-in to
7991 report on empty overlays (Bug#3322).
7992
7993 2012-08-20 Glenn Morris <rgm@gnu.org>
7994
7995 * mail/rmailout.el (rmail-output-read-file-name):
7996 Trap and report errors in rmail-output-file-alist elements.
7997
7998 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7999 since most non-font-lock faces are not also variables).
8000
8001 2012-08-20 Edward Reingold <reingold@iit.edu>
8002
8003 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8004 New function. (Bug12160)
8005
8006 2012-08-19 Glenn Morris <rgm@gnu.org>
8007
8008 * mail/rmailout.el (rmail-output-read-file-name):
8009 Fix previous change (when the alist is nil or does not match).
8010
8011 2012-08-19 Chong Yidong <cyd@gnu.org>
8012
8013 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8014 (Bug#12228).
8015
8016 2012-08-18 Chong Yidong <cyd@gnu.org>
8017
8018 * simple.el (yank-handled-properties): New defcustom.
8019 (yank-excluded-properties): Add font-lock-face and category.
8020 (yank): Doc fix.
8021
8022 * subr.el (remove-yank-excluded-properties):
8023 Obey yank-handled-properties. The special handling of font-lock-face
8024 and category is now done this way, instead of being hard-coded.
8025 (insert-for-yank-1): Remove font-lock-face handling.
8026 (yank-handle-font-lock-face-property)
8027 (yank-handle-category-property): New function.
8028
8029 2012-08-17 Glenn Morris <rgm@gnu.org>
8030
8031 * mail/rmailout.el (rmail-output-read-file-name):
8032 Check rmail-output-file-alist against the full message body
8033 in the correct rmail buffer. (Bug#12214)
8034
8035 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8036
8037 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8038 Eliminate superfluous prompt. (Bug#12203)
8039
8040 2012-08-17 Chong Yidong <cyd@gnu.org>
8041
8042 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8043 font spec, set the font directly (Bug#3228).
8044
8045 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8046
8047 * window.el (delete-window): Fix last fix.
8048
8049 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8050
8051 * window.el (window-valid-p): Move to window.c.
8052 (window-child, window-child-count, window-last-child)
8053 (window-normalize-window, window-combined-p)
8054 (window-combinations, window-atom-root, window-min-size)
8055 (window-sizable, window-sizable-p, window-size-fixed-p)
8056 (window-min-delta, window-max-delta, window--resizable)
8057 (window--resizable-p, window-resizable, window-total-size)
8058 (window-full-height-p, window-full-width-p, window-body-size)
8059 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8060 (minimize-window, window-deletable-p, delete-window)
8061 (delete-other-windows, set-window-buffer-start-and-point)
8062 (next-buffer, previous-buffer, split-window, balance-windows-2)
8063 (set-window-text-height, window-buffer-height)
8064 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8065 (truncated-partial-width-window-p): Minor code adjustments.
8066 In doc-strings state whether the argument window has to denote a
8067 live, valid or any window.
8068
8069 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8070
8071 * progmodes/subword.el (subword-forward-function)
8072 (subword-backward-function, subword-forward-regexp)
8073 (subword-backward-regexp): New variables.
8074 (subword-forward, subword-forward-internal, subword-backward-internal):
8075 Use new variables, eg so that different "word" definitions
8076 can be easily used. (Bug#11411)
8077
8078 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8081 for composite selectors.
8082 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8083 operation just because we can't find a previous revision.
8084
8085 2012-08-15 Chong Yidong <cyd@gnu.org>
8086
8087 * frame.el (set-frame-font): Accept font objects.
8088
8089 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8092
8093 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8094
8095 * man.el (Man-overstrike-face, Man-underline-face)
8096 (Man-reverse-face): Remove variables.
8097 (Man-overstrike, Man-underline, Man-reverse): New faces.
8098 (Man-fontify-manpage): Use them instead of the variables.
8099 (Man-cleanup-manpage): Comment change.
8100 (Man-ansi-color-map): New variable.
8101 (Man-fontify-manpage): Use it.
8102 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8103
8104 Implement ANSI SGR parameters 22-27 (bug#12146).
8105 * ansi-color.el (ansi-colors): Doc fix.
8106 (ansi-color-context, ansi-color-context-region): Doc fix.
8107 (ansi-color--find-face): New function.
8108 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8109 Rename the local variable `face' to `codes' since it is now a list of
8110 ansi codes. Doc fix.
8111 (ansi-color-get-face): Remove.
8112 (ansi-color-parse-sequence): New function, derived from
8113 ansi-color-get-face.
8114 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8115 codes 22-27.
8116
8117 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * subr.el (read-passwd): Allow use from a minibuffer.
8120
8121 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8122
8123 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8124 inside comments and strings as identifiers.
8125
8126 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8127 expression to evaluate. This allows to evaluate expressions with
8128 embedded whitespace.
8129 (gud-tooltip-tips): Add a blank before the newline in the
8130 message-box text, for the benefit of message-box emulation on
8131 MS-Windows.
8132
8133 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8134 messages from GDB, pop them up in a tooltip to give feedback to
8135 user.
8136 (gdb-tooltip-print-1): Quote the expression to evaluate.
8137 This allows to evaluate expressions with embedded whitespace.
8138 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8139 if the TTY name is nil or empty (which happens when communicating
8140 with the inferior via pipes, e.g. on MS-Windows).
8141 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8142 don't send that to the GUD buffer.
8143
8144 2012-08-14 Glenn Morris <rgm@gnu.org>
8145
8146 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8147 Optimize away setq-default with no args, as for setq. (Bug#12195)
8148
8149 2012-08-14 Chong Yidong <cyd@gnu.org>
8150
8151 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8152
8153 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8154 (Bug#12085).
8155
8156 2012-08-14 Glenn Morris <rgm@gnu.org>
8157
8158 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8159
8160 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8161
8162 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8163 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8164 Use cached shell name.
8165
8166 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8167
8168 * progmodes/python.el (python-shell-send-string):
8169 (python-shell-send-setup-code): Do not use `format' with `message'.
8170
8171 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8172
8173 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8174 (ruby-percent-literal-beg-re): New constant.
8175 (ruby-syntax-general-delimiters-goto-beg): Rename to
8176 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8177 (ruby-syntax-propertize-general-delimiters): Rename to
8178 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8179 popular term. Adjust comments everywhere.
8180 (ruby-syntax-propertize-percent-literal): Only propertize when not
8181 inside a simple string or comment. When the literal is unclosed,
8182 leave the text after it unpropertized.
8183 (ruby-syntax-methods-before-regexp): New constant.
8184 (ruby-syntax-propertize-function): Use it to recognize regexps.
8185 Don't look at the text after regexp, just use the whitelist.
8186
8187 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8188
8189 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8190 non-nil always load the compiled file if it exists. (Bug#12197)
8191
8192 2012-08-14 Chong Yidong <cyd@gnu.org>
8193
8194 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8195 (hi-lock-set-pattern): When deciding whether to use font lock or
8196 overlays, look at font-lock-mode instead of font-lock-fontified
8197 (Bug#12168).
8198 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8199 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8200
8201 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8202
8203 * subr.el (internal--after-with-selected-window): Fix typo
8204 (Bug#12193).
8205
8206 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8207
8208 Use `completion-table-dynamic' for completion functions.
8209 * progmodes/python.el
8210 (python-shell-completion--do-completion-at-point)
8211 (python-shell-completion--get-completions):
8212 Remove functions.
8213 (python-shell-completion-complete-at-point): New function.
8214 (python-completion-complete-at-point): Use it.
8215
8216 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8217
8218 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8219 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8220
8221 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * subr.el (function-get): Refine `autoload' arg so it can also
8224 autoload functions for gv.el (bug#12191).
8225 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8226 autoloads macros.
8227
8228 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8229 Prefer pcase-let over destructuring-bind.
8230 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8231 Also, remove whitespace as we go, rather than after accumulating the
8232 various places.
8233
8234 * subr.el (internal--before-with-selected-window)
8235 (internal--after-with-selected-window): Fix typo seleted->selected.
8236 (with-selected-window): Adjust callers.
8237 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8238
8239 2012-08-13 Bastien Guerry <bzg@gnu.org>
8240
8241 * window.el (special-display-popup-frame): Minor docstring
8242 enhancement. (Bug#12172)
8243
8244 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8245
8246 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8247 type 1-6.
8248 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8249 extended headers.
8250
8251 * files.el (hack-local-variables-filter): Remove useless eval.
8252
8253 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8254
8255 * subr.el (with-selected-window): Fix last change.
8256
8257 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * subr.el (internal--before-with-seleted-window)
8260 (internal--after-with-seleted-window): New functions.
8261 (with-selected-window): Use them, to replace dependency on
8262 tty-top-frame.
8263
8264 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8265
8266 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8267 binding for `newline'.
8268 (ruby-move-to-block): When moving backward, stop at block opening,
8269 not indentation.
8270 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8271 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8272 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8273 `ruby-toggle-block'.
8274
8275 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * ibuffer.el (ibuffer-do-toggle-read-only):
8278 * dired.el (dired-toggle-read-only):
8279 * buff-menu.el (Buffer-menu-toggle-read-only):
8280 * bindings.el (mode-line-toggle-read-only):
8281 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8282
8283 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8284
8285 * descr-text.el (describe-char): Put the overlays over the
8286 "displayed as" character.
8287
8288 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8289
8290 * calc/calc-units.el (math-default-units-table): Give an
8291 initial value.
8292 (math-put-default-units): Add options to put composite units and
8293 unit systems in the default units table.
8294 (calc-convert-units): Send composite units to
8295 `math-put-default-units' when appropriate.
8296
8297 2012-08-11 Glenn Morris <rgm@gnu.org>
8298
8299 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8300
8301 * tutorial.el (help-with-tutorial):
8302 * emacs-lisp/copyright.el (copyright-update-directory):
8303 * emacs-lisp/autoload.el (autoload-find-generated-file)
8304 (autoload-find-file): Disable local eval: (for insurance).
8305
8306 * files.el (hack-local-variables-filter): If an eval: form is not
8307 known to be safe, and enable-local-variables is :safe, then ignore
8308 the form totally, as is done for non-eval forms. (Bug#12155)
8309 This is CVE-2012-3479.
8310
8311 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8314 (rx-form): Simplify.
8315
8316 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8317
8318 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8319 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8320 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8321 (ruby-syntax-propertize-function): Adjust for changes in
8322 `ruby-syntax-propertize-heredoc'.
8323
8324 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8325
8326 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8327 binding (use `M-;' instead).
8328 (ruby-singleton-class-p): New function.
8329 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8330
8331 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8334
8335 2012-08-10 Chong Yidong <cyd@gnu.org>
8336
8337 * progmodes/python.el (python-shell-get-process-name): Don't mess
8338 with same-window-buffer-names.
8339
8340 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8341 (eshell-remove-from-window-buffer-names): Make obsolete.
8342 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8343 (eshell): Just use pop-to-buffer-same-window instead.
8344
8345 2012-08-10 Chong Yidong <cyd@gnu.org>
8346
8347 * bindings.el: Bind M-= back to count-words-region.
8348
8349 * simple.el (count-words-region): Accept a prefix arg for acting
8350 on the entire buffer.
8351 (count-words--buffer-message): New helper function.
8352
8353 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8356 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8357 (event-start, event-end): Use posn-at-point to return a more
8358 informative posn.
8359 (posnp): New function.
8360 * mouse.el (popup-menu-normalize-position): Use it.
8361
8362 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8363
8364 * mouse.el (popup-menu-normalize-position): New function.
8365 (popup-menu): Use `popup-menu-normalize-position' to normalize
8366 the form for POSITION argument.
8367
8368 * term/x-win.el (x-menu-bar-open):
8369 Use the value returend from (posn-at-point) as position
8370 passed to `popup-menu'.
8371
8372 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8373
8374 * calc/calccomp.el (math-compose-expr): Add extra argument
8375 indicating that parentheses should be put around products in
8376 denominators. Give multiplication precedence over division during
8377 composition.
8378
8379 2012-08-09 Chong Yidong <cyd@gnu.org>
8380
8381 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8382 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8383 (Man-untabify-command, manual-program): Convert to defcustom
8384 (Bug#10429).
8385
8386 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8387
8388 * descr-text.el (describe-char): Don't insert extra newlines
8389 (Bug#10127).
8390
8391 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8392 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8393
8394 * align.el (align-region): Delete temporary markers (Bug#10047).
8395 Plus some code cleanups.
8396
8397 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8398
8399 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8400 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8401 (python-shell-internal-last-output): Use make-local-variable
8402 instead of make-variable-buffer-local.
8403
8404 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8405
8406 * progmodes/python.el: Enhancements to forward-sexp.
8407 (python-nav-forward-sexp): Rename from
8408 python-nav-forward-sexp-function.
8409 (python-nav--forward-sexp, python-nav--backward-sexp):
8410 New functions.
8411
8412 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8413
8414 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8415 modes and simplification modes.
8416
8417 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * delsel.el (delete-selection-pre-hook): Don't propagate the
8420 file-supersession signals (bug#12161).
8421
8422 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8425 (cl-map-extents): Add compatibility aliases (bug#12135).
8426
8427 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8428
8429 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8430 tests by `ignore-error'.
8431 (tramp-find-shell): Open also a new shell, when cache is already
8432 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8433
8434 2012-08-08 Juri Linkov <juri@jurta.org>
8435
8436 * bookmark.el: Add `defaults' property to the bookmark record.
8437 (bookmark-current-buffer): Doc fix.
8438 (bookmark-make-record): Add `defaults' property with default values
8439 to the bookmark record.
8440 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8441 with `bookmark-insert-current-bookmark'.
8442 (bookmark-set): Get `defaults' property from the bookmark record
8443 and use it in `read-from-minibuffer'.
8444 (bookmark-insert-current-bookmark): Remove function.
8445
8446 * info.el (Info-bookmark-make-record): Add `defaults' property
8447 with values of canonical Info node name, the current Info file
8448 name and the current Info node name. (Bug#12107)
8449
8450 2012-08-08 Juri Linkov <juri@jurta.org>
8451
8452 * files.el (basic-save-buffer): Use `buffer-name' as the default
8453 of `read-file-name' when buffer is not visiting a file (bug#12128).
8454
8455 2012-08-08 Juri Linkov <juri@jurta.org>
8456
8457 * info.el (Info-isearch-search): Doc fix.
8458 (Info-search): Change search-failed message from "initial node" to
8459 "end of node" (bug#12078).
8460 (Info-isearch-search): Change `isearch-string-state' to
8461 `isearch--state-string'.
8462
8463 2012-08-08 Glenn Morris <rgm@gnu.org>
8464
8465 * language/persian.el: Remove file.
8466 * language/misc-lang.el: Move unique part of persian.el here.
8467 * loadup.el: Remove language/persian.
8468
8469 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8470
8471 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8472
8473 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8474
8475 * progmodes/python.el: Fix defsubst warning.
8476 (python-syntax-context) Rename from python-info-ppss-context.
8477 (python-syntax-context-type): Rename from
8478 python-info-ppss-context-type.
8479 (python-syntax-comment-or-string-p): Rename from
8480 python-info-ppss-comment-or-string-p.
8481
8482 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8483
8484 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8485
8486 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8487
8488 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8489 a defcustom that is quoted with backquote.
8490
8491 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8492 Fix handling of interactive spec when the body uses return.
8493 (math-do-arg-check, math-define-function-body): Use backquote forms.
8494 * calc/calc-ext.el (math-defcache): Likewise.
8495 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8496 * allout.el (allout-new-exposure): Likewise.
8497 * calc/calcalg2.el (math-tracing-integral): Likewise.
8498 * info.el (Info-last-menu-item): Likewise.
8499 * emulation/vip.el (vip-loop): Likewise.
8500 * textmodes/artist.el (artist-funcall): Likewise.
8501 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8502 Construct menu-item directly.
8503
8504 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8505 Don't declare.
8506
8507 2012-08-07 Chong Yidong <cyd@gnu.org>
8508
8509 * simple.el (deactivate-mark): Preserve text properties when
8510 saving the primary selection (Bug#8384).
8511
8512 2012-08-07 Kevin Ryde <user42@zip.com.au>
8513
8514 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8515 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8516 and continue processing (Bug#12110).
8517
8518 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8521 syntax-propertize-function (bug#10095).
8522
8523 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8526 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8527 describe-function-1.
8528 (describe-function-1): Use them. Move compiler macro after sig.
8529 (help-fns--compiler-macro): Use function-get. Assume we're already in
8530 standard-output. Adjust layout to new call order.
8531
8532 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8533 re-binding a symbol that has a symbol-macro (bug#12119).
8534
8535 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8536
8537 * language/persian.el: New file. (Bug#11812)
8538 * loadup.el: Add language/persian.el.
8539
8540 2012-08-06 Chong Yidong <cyd@gnu.org>
8541
8542 * window.el (window--maybe-raise-frame): New function.
8543 (window--display-buffer): Split off from here.
8544 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8545 (display-buffer-pop-up-window, display-buffer-use-some-window):
8546 Obey an inhibit-switch-frame action alist entry.
8547 (display-buffer): Update doc.
8548
8549 * replace.el (occur-after-change-function): Avoid losing focus by
8550 using the inhibit-switch-frame display parameter (Bug#12139).
8551
8552 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8553
8554 Make internal shell process buffer names start with space.
8555 * progmodes/python.el (python-shell-make-comint): Add optional
8556 argument INTERNAL.
8557 (run-python-internal): Use it.
8558 (python-shell-internal-get-or-create-process): Check for new
8559 internal buffer names.
8560
8561 2012-08-06 Glenn Morris <rgm@gnu.org>
8562
8563 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8564 Do less getting and setting of environment variables.
8565
8566 2012-08-05 Chong Yidong <cyd@gnu.org>
8567
8568 * proced.el (proced): Add substitution string to docstring to
8569 trigger autoloading of the proced library on C-h f (Bug#1768).
8570
8571 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8572 Don't show defvars which have no second argument (Bug#8638).
8573
8574 * imenu.el (imenu-generic-expression): Move documentation here
8575 from imenu--generic-function.
8576 (imenu--generic-function): Refer to imenu-generic-expression.
8577
8578 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8579
8580 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8581 indentation declaration.
8582 (viper-loop): Add indentation declaration (Bug#7025).
8583
8584 2012-08-05 Chong Yidong <cyd@gnu.org>
8585
8586 * help-fns.el (describe-variable): Add hyperlink for
8587 directory-local variables files. Improve buffer-local and
8588 permanent-local reporting; suggested by MON KEY (Bug#6644).
8589
8590 * help-mode.el (help-dir-local-var-def): New button type.
8591
8592 * files.el (kill-buffer-hook): Provide a defvar.
8593
8594 2012-08-05 Glenn Morris <rgm@gnu.org>
8595
8596 * eshell/esh-ext.el (eshell/addpath):
8597 Also update eshell-path-env. (Bug#12013)
8598
8599 2012-08-05 Chong Yidong <cyd@gnu.org>
8600
8601 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8602
8603 * fringe.el (fringe-styles): Add docstring.
8604 (fringe--check-mode): New function.
8605 (set-fringe-mode, set-fringe-style): Use it.
8606 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8607
8608 * files.el (set-auto-mode): Fix invalid setq call.
8609
8610 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * isearch.el: Misc simplification; use defstruct.
8613 (isearch-mode-map): Dense maps now work like sparse ones.
8614 (isearch--state): New defstruct.
8615 (isearch-string-state, isearch-message-state, isearch-point-state)
8616 (isearch-success-state, isearch-forward-state)
8617 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8618 (isearch-wrapped-state, isearch-barrier-state)
8619 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8620 replaced by defstruct's accessors.
8621 (isearch--set-state): Rename from isearch-top-state and change
8622 calling convention.
8623 (isearch-push-state): Use new isearch--get-state.
8624 (isearch-toggle-word): Disable regexp when enabling word.
8625 (isearch-message-prefix): Remove unused arg _c-q-hack.
8626 (isearch-message-suffix): Remove unused arg _ellipsis.
8627
8628 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8629
8630 * simple.el (list-processes--refresh): For a server use :host or
8631 :local as the address.
8632 (list-processes): Doc fix.
8633
8634 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8635
8636 * lisp/mpc.el: Support password in host argument.
8637 (mpc--proc-connect): Parse and use new password element.
8638 Set mpc-proc variable instead of returning process.
8639 (mpc-proc): Adjust accordingly.
8640
8641 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8642
8643 * whitespace.el (whitespace-display-mappings): Use Unicode
8644 codepoints, instead of emacs-mule codepoints. See
8645 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8646 for the details.
8647
8648 * files.el (file-truename): Don't skip symlink-chasing part on
8649 windows-nt. Incorporate the resolution of 8+3 short aliases on
8650 Windows into the loop that recursively chases symlinks.
8651 Compare directory and its parent case-insensitively on MS-Windows and
8652 MS-DOS.
8653
8654 2012-08-03 Chong Yidong <cyd@gnu.org>
8655
8656 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8657
8658 * sort.el (sort-regexp-fields): Doc fix.
8659
8660 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8661
8662 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8663 labels regex position point at the expected place.
8664
8665 2012-08-03 MON KEY <monkey@sandpframing.com>
8666
8667 * net/imap.el (imap-interactive-login, imap-authenticate)
8668 (imap-mailbox-lsub, imap-mailbox-list)
8669 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8670 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8671 (imap-parse-response): Doc fix.
8672
8673 2012-08-03 João Távora <joaotavora@gmail.com>
8674
8675 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8676 if sexp scanning does not move point (Bug#5734).
8677
8678 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8679
8680 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8681 Add listings, minted, and ctable packages.
8682 (reftex-label-alist-builtin): Move listings, minted, and ctable
8683 entries before LaTeX.
8684 (reftex-label-alist): Docfix.
8685
8686 2012-08-02 Bastien Guerry <bzg@gnu.org>
8687
8688 * replace.el (occur): Fix docstring (bug#12122).
8689
8690 2012-08-02 Glenn Morris <rgm@gnu.org>
8691
8692 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8693
8694 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8695
8696 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8697 * international/mule-cmds.el: Create
8698 inactivate-current-input-method-function as an obsolete alias for
8699 deactivate-current-input-method-function. See Katsumi Yamaoka in
8700 <http://bugs.gnu.org/10150#46>.
8701
8702 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8703
8704 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8705 of nested `if's.
8706
8707 2012-08-01 Glenn Morris <rgm@gnu.org>
8708
8709 * progmodes/autoconf.el (autoconf-definition-regexp):
8710 Add AH_TEMPLATE, adjust submatch numbering.
8711 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8712 (autoconf-current-defun-function): Update for above change.
8713 (autoconf-current-defun-function): First skip to end of current word.
8714
8715 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8716
8717 * calendar/cal-html.el (cal-html-insert-agenda-days):
8718 Fix typo. (Bug#12018)
8719
8720 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8721
8722 Shell processes: enhancements to startup and CEDET compatibility.
8723 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8724 (python-shell-make-comint): accept-process-output at startup.
8725 (run-python-internal): Set inferior-python-mode-hook to nil.
8726 (python-shell-internal-get-or-create-process): call sit-for.
8727 (python-preoutput-result): Add obsolete alias.
8728 (python-shell-internal-send-string): Use it.
8729 (python-shell-send-setup-code): Remove call to
8730 accept-process-output.
8731
8732 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8733
8734 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8735 (Bug#12108)
8736
8737 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8738
8739 * calc-mode.el (calc-basic-simplification-mode): Rename from
8740 `calc-limited-simplification-mode'.
8741 (calc-alg-simplification-mode): New function.
8742 (calc-set-simplify-mode): Adjust message.
8743
8744 * calc.el (calc-set-mode-line): Adjust mode line display for
8745 basic simplification mode.
8746
8747 * calc-help.el (calc-m-prefix-help): Update help message.
8748
8749 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8750 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8751
8752 2012-07-31 Bastien Guerry <bzg@gnu.org>
8753
8754 * man.el (man): Fix comment. (bug#12101)
8755
8756 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8757
8758 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8759 Don't return a non-nil value when no suitable buffer was found.
8760
8761 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8762
8763 * progmodes/python.el (run-python-internal): Disable font lock for
8764 internal shells.
8765
8766 2012-07-30 Stefan Merten <smerten@oekonux.de>
8767
8768 * textmodes/rst.el: Silence `checkdoc-ispell'.
8769 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8770 (rst-official-version, rst-official-cvs-rev)
8771 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8772 (rst-mode-map): New key binding.
8773
8774 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8775
8776 Update .PHONY listings in makefiles.
8777 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8778 autoloads, update-subdirs, updates, bzr-update, update-authors,
8779 compile-onefile, compile-calc, backup-compiled-files,
8780 compile-after-backup, compile-one-process, mh-autoloads,
8781 bootstrap-clean, distclean, maintainer-clean.
8782
8783 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8784
8785 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8786 (calc-set-mode-line): Don't display "AlgSimp ".
8787
8788 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8789 (calc-lim-simplify-mode): New function.
8790 (calc-set-simplify-mode): Default to 'alg.
8791 (calc-default-simplify-mode): Make algebraic simplifications
8792 the default.
8793
8794 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8795 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8796
8797 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8798 indicate new simplification modes.
8799
8800 * calc/README: Mention new default simplification mode.
8801
8802 * calc/calc.el (math-normalize-error): New variable.
8803 (math-normalize): Set `math-normalize-error' to t
8804 when there's an error.
8805
8806 * calc/calc-alg.el (math-simplify): Don't simplify when
8807 `math-normalize' returns an error.
8808
8809 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8810
8811 * international/mule-cmds.el (set-locale-environment): Revert last
8812 change, since display-graphic-p returns nil when this function is
8813 called during startup. Instead...
8814
8815 * term/w32console.el (terminal-init-w32console): ...setup the
8816 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8817
8818 2012-07-29 Juri Linkov <juri@jurta.org>
8819
8820 * simple.el (goto-line): Don't display default line number in the
8821 prompt because it should be displayed by `read-number' (bug#9952).
8822 Add the current line number to the defaults of `goto-line' to
8823 allow its easier modification by users with `M-n' (bug#9201).
8824
8825 * subr.el (read-number): Support multiple default values like in
8826 other minibuffer reading functions. Replace `read' with
8827 `string-to-number' for consistency with `number-to-string'.
8828
8829 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8830
8831 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8832 * emulation/viper-init.el (viper-deactivate-input-method-action):
8833 Rename from viper-inactivate-input-method-action.
8834 (viper-deactivate-input-method):
8835 Rename from viper-inactivate-input-method.
8836 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8837 * international/mule-cmds.el (deactivate-input-method):
8838 Rename from inactivate-input-method.
8839 Also run input-method-deactivate-hook.
8840 (deactivate-current-input-method-function):
8841 Rename from inactivate-current-input-method-function.
8842 (input-method-deactivate-hook): New hook.
8843 (input-method-inactivate-hook): Mark obsolete.
8844 (inactivate-input-method): Mark obsolete.
8845
8846 * international/quail.el (quail-activate):
8847 Also run quail-deactivate-hook.
8848 (quail-deactivate): Rename from quail-inactivate.
8849 * international/robin.el (robin-activate):
8850 Also run robin-deactivate-hook.
8851 (robin-deactivate): Rename from robin-inactivate.
8852
8853 2012-07-29 Chong Yidong <cyd@gnu.org>
8854
8855 * simple.el (indicate-copied-region): New function.
8856 (kill-ring-save): Split off from here.
8857
8858 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8859 (kill-rectangle): Set deactivate-mark to t on read-only error.
8860
8861 * register.el (copy-to-register, copy-rectangle-to-register):
8862 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8863 (append-to-register, prepend-to-register): Call indicate-copied-region.
8864
8865 2012-07-29 Juri Linkov <juri@jurta.org>
8866
8867 * simple.el (async-shell-command-buffer): New defcustom.
8868 (shell-command): Use it. (Bug#4719)
8869
8870 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8871
8872 * international/mule-cmds.el (set-locale-environment): In a
8873 console session on MS-Windows, set up keyboard and terminal
8874 encoding from the OEM codepage, not the ANSI codepage.
8875 (Bug#12055)
8876
8877 2012-07-28 Chong Yidong <cyd@gnu.org>
8878
8879 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8880 gdb-get-location.
8881
8882 2012-07-28 Leo Liu <sdl.web@gmail.com>
8883
8884 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8885 the alist (bug#12029).
8886
8887 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8888
8889 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8890 (compile-always, compile-first)
8891 ($(lisp)/calendar/cal-loaddefs.el)
8892 ($(lisp)/calendar/diary-loaddefs.el)
8893 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8894 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8895 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8896 instead of on update-subdirs.
8897 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8898
8899 2012-07-28 Chong Yidong <cyd@gnu.org>
8900
8901 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8902 directory if vc-deduce-backend returns nil (Bug#7350).
8903
8904 * simple.el (delete-trailing-lines): New option.
8905 (delete-trailing-whitespace): Obey it (Bug#11879).
8906
8907 2012-07-28 David Engster <deng@randomsample.de>
8908
8909 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8910 Explanation of new 'symbol-qnames feature in doc-strings.
8911 (xml-maybe-do-ns): Return expanded names as plain symbols if
8912 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8913 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8914
8915 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8916
8917 Consistent completion in inferior python with emacs -nw.
8918 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8919 binding in inferior-python-mode-map with "\t".
8920 (python-shell-completion-complete-at-point)
8921 (python-completion-complete-at-point): Remove interactive spec.
8922
8923 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8924
8925 * calc/calccomp.el (math-compose-expr): Undo previous change.
8926
8927 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8928
8929 * progmodes/python.el (python-mode-map): Add keybinding for
8930 run-python.
8931 (python-shell-make-comint): Fix pop-to-buffer call.
8932 (run-python): Autoload. New arg SHOW.
8933 (python-shell-get-or-create-process): Do not pop python process
8934 buffer.
8935
8936 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8937
8938 * notifications.el (notifications-on-action-signal)
8939 (notifications-on-closed-signal): Use also the bus address for the map.
8940 (notifications-notify, notifications-close-notification)
8941 (notifications-get-capabilities): Add optional argument BUS.
8942
8943 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8944
8945 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8946 Add support for the lstlisting and minted environments, and for the
8947 ctable macro.
8948 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8949 labels written in keyvals syntax.
8950
8951 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8952
8953 * calc/calccomp.el (math-compose-expr): Use parentheses when
8954 there is a product in the denominator of a fraction.
8955
8956 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8957
8958 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8959 ($(lisp)/calendar/diary-loaddefs.el)
8960 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8961 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8962 Fixes failures in parallel bootstrap because subdirs.el is being
8963 rewritten while the autoload files are built at the same time,
8964 which needs to load subdirs.el.
8965
8966 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8967
8968 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8969 (mouse-drag-line): Don't exit tracking when a switch-frame or
8970 switch-window event occurs (Bug#12006).
8971
8972 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * mouse.el (popup-menu): Fix last change.
8975
8976 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8977
8978 Autoload from Lisp with more care. Follow aliases when looking for
8979 function properties.
8980 * subr.el (autoloadp): New function.
8981 (symbol-file): Use it.
8982 (function-get): New function.
8983 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8984 autoload-do-load.
8985 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8986 (lisp-indent-function):
8987 * emacs-lisp/gv.el (gv-get):
8988 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8989 * emacs-lisp/byte-opt.el (byte-optimize-form):
8990 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8991 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8992 Use function-get.
8993 * emacs-lisp/cl.el: Don't propagate function properties any more.
8994
8995 * speedbar.el (speedbar-add-localized-speedbar-support):
8996 * emacs-lisp/disass.el (disassemble-internal):
8997 * desktop.el (desktop-load-file):
8998 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8999 (describe-function-1):
9000 * emacs-lisp/find-func.el (find-function-noselect):
9001 * emacs-lisp/elp.el (elp-instrument-function):
9002 * emacs-lisp/advice.el (ad-has-proper-definition):
9003 * apropos.el (apropos-safe-documentation, apropos-macrop):
9004 * emacs-lisp/debug.el (debug-on-entry):
9005 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9006 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9007 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9008
9009 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9010
9011 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9012 function, not an obsolete variable (Bug#12046).
9013
9014 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9015
9016 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9017
9018 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9019
9020 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9021 window only if it is still live (Bug#12034).
9022
9023 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9024
9025 * subr.el (redirect-frame-focus): Add advertised calling
9026 convention (Bug#12030).
9027
9028 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9029
9030 Prefer typical American spelling for "acknowledgment".
9031 * vc/add-log.el (change-log-acknowledgment): Rename from
9032 change-log-acknowledgement, with an alias for the old name.
9033
9034 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9035
9036 * calc-alg.el (math-simplify-divide): Don't cross multiply
9037 in an equation when the lhs is a variable.
9038
9039 2012-07-24 Julien Danjou <julien@danjou.info>
9040
9041 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9042 Remove, unused.
9043
9044 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9045
9046 * startup.el (command-line): Don't display an empty user name in
9047 the error message about non-existent home directory, when
9048 init-file-user was set to an empty string. See
9049 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9050 for the details and context.
9051
9052 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9053
9054 * ses.el (ses-cell-formula-aset): New macro.
9055 (ses-cell-references-aset): New macro.
9056 (ses-cell-p): New function.
9057 (ses-rename-cell): Do no longer rely on complex operations like
9058 ses-cell-set-formula or ses-set-cell to change the cell and handle
9059 the undo at the same time, but rather use lower level new macros
9060 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9061 the undo directly. Refresh the mode line.
9062
9063 2012-07-21 Leo Liu <sdl.web@gmail.com>
9064
9065 * progmodes/cc-cmds.el (c-defun-name):
9066 Use match-string-no-properties instead for consistency.
9067
9068 2012-07-20 Leo Liu <sdl.web@gmail.com>
9069
9070 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9071 (Bug#7879)
9072
9073 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9074
9075 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9078 * progmodes/bug-reference.el, misearch.el: Provide themselves
9079 (bug#11915).
9080
9081 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9082 of narrowed buffer (bug#11966).
9083
9084 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9085
9086 * ses.el (ses-rename-cell): Set new name also in reference list of
9087 cells of which the renamed cell depends.
9088
9089 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9090
9091 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9092 to check whether menu-bar is shown or not. If not shown,
9093 show the menu-bar as a popup menu instead of using tmm.
9094 * mouse.el (popup-menu): Accept `point' as `position' argument.
9095
9096 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9097
9098 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9099 up inside string symbol literal (bug#11923).
9100
9101 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9102
9103 * startup.el (fancy-startup-text): Read the whole tutorial, not
9104 just its first 256 bytes. Prevents gibberish in display of the
9105 tutorial title.
9106
9107 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9108
9109 Drop idle buffer compaction due to an absence of the
9110 proved efficiency.
9111 * compact.el: Remove.
9112
9113 2012-07-19 Sam Steingold <sds@gnu.org>
9114
9115 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9116 vc-bzr-pull & vc-bzr-merge-branch.
9117 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9118 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9119 for consistency with compilation-error-regexp-alist.
9120 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9121 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9122 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9123 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9124
9125 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * emacs-lisp/chart.el: Use lexical-binding.
9128 (chart-emacs-storage): Don't hardcode the list of entries.
9129
9130 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9131
9132 Next round of tweaks caused by Fgarbage_collect changes.
9133 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9134
9135 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9136
9137 Compact buffers when idle.
9138 * compact.el: New file.
9139
9140 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * subr.el (eventp): Presume that if it looks vaguely like an event,
9143 it's an event (bug#10190).
9144
9145 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9146
9147 Enhancements to ppss related code (thanks Stefan).
9148 * progmodes/python.el (python-indent-context)
9149 (python-indent-calculate-indentation, python-indent-dedent-line)
9150 (python-indent-electric-colon, python-nav-forward-block)
9151 (python-mode-abbrev-table)
9152 (python-info-assignment-continuation-line-p): Simplify checks
9153 for ppss context.
9154 (python-info-continuation-line-p): Cleanup.
9155 (python-info-ppss-context): Do not catch 'quote.
9156 (python-info-ppss-context-type)
9157 (python-info-ppss-comment-or-string-p): Simplify.
9158
9159 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9160
9161 * progmodes/python.el: Enhancements to eldoc support.
9162 (python-info-current-symbol): New function.
9163 (python-eldoc-at-point): Use python-info-current-symbol.
9164 (python-info-current-defun): Fix cornercase on first defun scan.
9165 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9166 and signal error when no inferior python process is available.
9167
9168 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9169
9170 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9171 assume it's always t.
9172 (vc-git-registered): Remove caching, the function is only called
9173 once.
9174 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9175
9176 2012-07-18 Chong Yidong <cyd@gnu.org>
9177
9178 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9179
9180 * simple.el (count-words): Report on narrowing (Bug#9959).
9181
9182 * bindings.el: Bind M-= to count-words.
9183
9184 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9185
9186 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9187
9188 * progmodes/sh-script.el (sh-imenu-generic-expression):
9189 Capture a function with `function' keyword and without parentheses
9190 like "function FOO" (bug#11856).
9191
9192 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9193
9194 * window.el (split-window-sensibly): Make WINDOW argument
9195 optional.
9196
9197 2012-07-18 Chong Yidong <cyd@gnu.org>
9198
9199 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9200
9201 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9202 and make C-x 8 RET exit isearch (Bug#11439).
9203
9204 * international/iso-transl.el: Move isearch-mode-map key
9205 definitions to isearch.el.
9206
9207 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9210 (eieio-defclass): Use gv-define-setter when possible.
9211
9212 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9213
9214 Reflect recent changes in Fgarbage_collect.
9215 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9216 reflect new format of data returned by Fgarbage_collect.
9217
9218 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9219
9220 New utility functions + python-info-ppss-context fix (Bug#11910).
9221 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9222 (python-info-ppss-comment-or-string-p): New functions.
9223 (python-info-ppss-context): Small fix for string check.
9224
9225 2012-07-17 Juri Linkov <juri@jurta.org>
9226
9227 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9228 (dired-do-async-shell-command): Don't add `*' at the end of the
9229 command (Bug#11815).
9230 (dired-do-shell-command): Doc fix.
9231 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9232 Join the individual commands using either "&" or ";" as the
9233 separator depending on the values of these trailing characters.
9234 At the end re-add the trailing "&". (Bug#10598)
9235
9236 * simple.el (async-shell-command): Sync the interactive spec with
9237 `shell-command'. Doc fix.
9238 (shell-command): Doc fix.
9239
9240 2012-07-17 Juri Linkov <juri@jurta.org>
9241
9242 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9243
9244 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9245
9246 Final renames and doc fixes for movement commands (bug#11899).
9247 * progmodes/python.el (python-nav-beginning-of-statement):
9248 Rename from python-nav-statement-start.
9249 (python-nav-end-of-statement): Rename from
9250 python-nav-statement-end.
9251 (python-nav-beginning-of-block): Rename from
9252 python-nav-block-start.
9253 (python-nav-end-of-block): Rename from python-nav-block-end.
9254
9255 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9256
9257 * progmodes/python.el (python-shell-send-string-no-output):
9258 Allow accept-process-output to quit, keeping shell process ready for
9259 future interactions (Bug#11868).
9260
9261 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9264
9265 * emacs-lisp/elint.el (elint-find-args-in-code):
9266 Use help-function-arglist, so as to handle lexical byte-code.
9267
9268 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9269 change (bug#11826).
9270
9271 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9274 Avoid spuriously marking the buffer as modified because of c-is-sws.
9275
9276 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9277 as not-a-comment (bug#11946).
9278
9279 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9280 for uninterned vars.
9281
9282 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9283 Use read-event since we don't really want to read chars but bytes.
9284
9285 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9286 $$..$$ but also $..$ using regexps (bug#11953).
9287 Use tex-verbatim for \url and \path.
9288 (tex-font-lock-keywords): Define as defconst like the others.
9289 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9290
9291 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9292
9293 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9294 alias for insert-char.
9295
9296 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9297
9298 * progmodes/python.el: Simplified imenu implementation.
9299 (python-nav-jump-to-defun): Remove command.
9300 (python-mode-map): Use `imenu' instead.
9301 (python-nav-list-defun-positions-cache)
9302 (python-imenu-include-defun-type, python-imenu-make-tree)
9303 (python-imenu-subtree-root-label, python-imenu-index-alist):
9304 Remove vars.
9305 (python-nav-list-defun-positions, python-nav-read-defun)
9306 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9307 (python-imenu-make-tree, python-imenu-create-index):
9308 Remove functions.
9309 (python-mode): Update to interact with imenu by setting
9310 `imenu-extract-index-name-function' only.
9311
9312 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9313
9314 * progmodes/python.el: Enhancements to navigation commands.
9315 (python-nav-backward-sentence)
9316 (python-nav-forward-sentence): Remove.
9317 (python-nav-backward-statement, python-nav-forward-statement)
9318 (python-nav-statement-start, python-nav-statement-end)
9319 (python-nav-backward-block, python-nav-forward-block)
9320 (python-nav-block-start, python-nav-block-end)
9321 (python-nav-forward-sexp-function)
9322 (python-info-current-line-comment-p)
9323 (python-info-current-line-empty-p): New functions.
9324 (python-indent-context): Use `python-nav-statement-start'.
9325
9326 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9327
9328 * eshell/em-ls.el (eshell/ls): Use `apply'.
9329
9330 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9331 multi-hops, instead of Tramp internals.
9332
9333 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9334
9335 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9336 when F1 and F2 are located on different hosts.
9337
9338 2012-07-14 Chong Yidong <cyd@gnu.org>
9339
9340 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9341 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9342 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9343 (xterm-mouse--read-event-sequence-1000)
9344 (xterm-mouse--read-event-sequence-1006): New functions. For old
9345 mouse protocol, handle M-mouse-X events correctly.
9346 (xterm-mouse-event): New arg specifying mouse protocol.
9347 (turn-on-xterm-mouse-tracking-on-terminal)
9348 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9349 sequence to toggle extended coordinates on newer XTerms.
9350 This appears to be harmless on terminals which do not support this.
9351
9352 2012-07-14 Leo Liu <sdl.web@gmail.com>
9353
9354 Add fringe bitmap indicators for flymake. (Bug#11253)
9355 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9356 (flymake-make-overlay): New arg BITMAP.
9357 (flymake-error-bitmap, flymake-warning-bitmap)
9358 (flymake-fringe-indicator-position): New user variables.
9359
9360 * fringe.el: New bitmap exclamation-mark.
9361
9362 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9363
9364 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9365 also (Bug#7879).
9366
9367 2012-07-14 Chong Yidong <cyd@gnu.org>
9368
9369 * electric.el (electric-pair-post-self-insert-function): Fix pair
9370 insertion in empty-region case (Bug#11520).
9371
9372 2012-07-14 Chong Yidong <cyd@gnu.org>
9373
9374 * bindings.el: Consolidate ctl-x-r-map bindings.
9375 Bind copy-rectangle-as-kill to C-x r w.
9376
9377 * rect.el, register.el: Move bindings to bindings.el.
9378
9379 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9380
9381 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9382
9383 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9384
9385 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9386
9387 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9388
9389 * bindings.el (top): Use `mapc' instead of `mapcar'.
9390
9391 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9392
9393 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9394
9395 * progmodes/sql.el (sql-comint): Suppress the check for program on
9396 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9397 (Bug#11908)
9398
9399 2012-07-13 Chong Yidong <cyd@gnu.org>
9400
9401 * bindings.el: Assign a non-nil permanent-local property to
9402 per-buffer variables which lack a default value (Bug#11930).
9403
9404 * help-fns.el (describe-variable): In the "automatically becomes
9405 local" notice, take note of permanent-local variables.
9406
9407 2012-07-13 Chong Yidong <cyd@gnu.org>
9408
9409 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9410 to allow printing the message when called from Lisp.
9411
9412 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9413 Remove toggle-read-only.
9414
9415 * bs.el (bs-toggle-readonly):
9416 * buff-menu.el (Buffer-menu-toggle-read-only):
9417 Remove with-no-warnings around toggle-read-only.
9418
9419 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9420 Remove with-no-warnings around toggle-read-only.
9421 (ffap-read-only, ffap-read-only-other-window)
9422 (ffap-read-only-other-frame): Callers changed.
9423
9424 * help-mode.el: Don't require view package.
9425 (help-mode-finish): Set buffer-read-only instead of calling
9426 toggle-read-only.
9427
9428 * bindings.el (mode-line-toggle-read-only):
9429 * dired.el (dired-toggle-read-only):
9430 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9431 with non-nil second arg.
9432
9433 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9434 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9435 directly.
9436
9437 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9438
9439 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9440 not incf.
9441
9442 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 More CL cleanups and reduction of use of cl.el.
9445 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9446 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9447 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9448 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9449 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9450 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9451 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9452 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9453 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9454 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9455 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9456 * eshell/em-cmpl.el, eshell/em-banner.el:
9457 * calendar/parse-time.el: Use cl-lib.
9458 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9459 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9460 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9461 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9462 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9463 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9464 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9465 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9466 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9467 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9468 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9469 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9470 `lambda' rather than with `quote'.
9471 (eshell-do-opt): Adjust accordingly.
9472 (eshell-process-option): Simplify.
9473 * eshell/esh-var.el:
9474 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9475 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9476 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9477 to `pcase--dontcare'.
9478 * emacs-lisp/cl.el (labels): Mark obsolete.
9479 (cl--letf, letf): Move to cl-lib.
9480 (cl--letf*, letf*): Remove.
9481 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9482 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9483 (cl-progv): Rewrite.
9484 (cl--letf, cl-letf): Move from cl.el.
9485 (cl-letf*): New macro.
9486 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9487
9488 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9491
9492 2012-07-11 Chong Yidong <cyd@gnu.org>
9493
9494 * vc/log-edit.el (log-edit-vc-backend): New variable.
9495 (log-edit): Doc fix.
9496
9497 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9498 argument of log-edit to set up all local variables.
9499 (vc-start-logentry): New optional arg specifying VC backend.
9500
9501 * vc/vc.el (vc-checkin): Use it.
9502 (vc-deduce-fileset): Handle Log Edit buffers.
9503 (vc-diff): Make first argument optional too.
9504
9505 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9506
9507 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9508
9509 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9510 command, just in case. The function is not needed anymore.
9511 (eshell-external-command): Do not call `eshell-remote-command'.
9512
9513 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 Reduce use of (require 'cl).
9516 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9517 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9518 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9519 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9520 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9521 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9522 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9523 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9524 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9525 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9526 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9527 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9528 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9529 (byte-compile-unfold-bcf, byte-compile-check-variable):
9530 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9531 (byte-compile-nilconstp):
9532 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9533 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9534
9535 * emacs-lisp/gv.el (cond): Make it a valid place.
9536 (if): Simplify slightly.
9537
9538 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9539 (pcase--self-quoting-p): New function.
9540 (pcase--u1): Use it.
9541
9542 2012-07-10 Glenn Morris <rgm@gnu.org>
9543
9544 * emacs-lisp/authors.el (authors-fixed-entries):
9545 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9546
9547 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9548
9549 Rename configure.in to configure.ac (Bug#11603).
9550 * emacs-lisp/authors.el (authors-canonical-file-name):
9551 * progmodes/autoconf.el (autoconf-mode):
9552 Prefer configure.ac to configure.in.
9553
9554 2012-07-08 Chong Yidong <cyd@gnu.org>
9555
9556 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9557 Implement the mouse-1-click-follows-link handling properly.
9558
9559 * info.el (Info-link-keymap): Use follow-link mechanism for
9560 header-line links (Bug#374).
9561
9562 * simple.el (deactivate-mark): Do not set the primary selection
9563 if another program has acquired it (Bug#11772).
9564
9565 2012-07-07 Kevin Ryde <user42@zip.com.au>
9566
9567 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9568 (woman-decode-region): Replace escaped-escapes without destroying
9569 bold or underline (Bug#11552).
9570 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9571
9572 2012-07-07 Chong Yidong <cyd@gnu.org>
9573
9574 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9575 (interprogram-cut-function, interprogram-paste-function):
9576 Mention that we typically mean the clipboard.
9577
9578 2012-07-06 Glenn Morris <rgm@gnu.org>
9579
9580 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9581
9582 * files.el (toggle-read-only): Restrict message to interactive use.
9583
9584 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9587
9588 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9589
9590 2012-07-06 Glenn Morris <rgm@gnu.org>
9591
9592 * Makefile.in (compile-one-process): Rename from "recompile".
9593
9594 * Makefile.in (bzr-update): "compile" is the same as "recompile
9595 autoloads", but parallelizable, so use that instead.
9596
9597 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9598
9599 * window.el (quit-window): Always restore window height when
9600 it's saved in quit-restore parameter (Bug#11810).
9601
9602 2012-07-06 Glenn Morris <rgm@gnu.org>
9603
9604 * simple.el (kill-whole-line): Doc tweak.
9605
9606 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9607
9608 * files.el (file-relative-name): Compare file names
9609 case-insensitively if on MS-Windows or MS-DOS, or if
9610 read-file-name-completion-ignore-case is non-nil. Don't use
9611 case-fold-search for this purpose. (Bug#11827)
9612
9613 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9614
9615 * calendar/cal-dst.el (calendar-current-time-zone):
9616 Return calendar-current-time-zone-cache if non-nil.
9617
9618 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9619 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9620
9621 * calendar/cal-dst.el (calendar-current-time-zone):
9622 Return calendar-current-time-zone-cache if non-nil.
9623
9624 2012-07-06 Glenn Morris <rgm@gnu.org>
9625
9626 * Makefile.in (cvs-update): Remove old alias.
9627
9628 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9629
9630 Sync with Tramp 2.2.6-pre.
9631
9632 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9633 compatible declaration.
9634
9635 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9636 Protect `list-load-path-shadows' call.
9637
9638 * net/tramp-compat.el (top): Require packages, which aren't
9639 autoloaded anymore for XEmacs. Protect call of
9640 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9641 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9642 it hurts at least for SXEmacs.
9643 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9644 standard-value for `temporary-file-directory'.
9645
9646 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9647 Redirect stderr to /dev/null.
9648 (tramp-sh-handle-write-region): uid and gid can be floats.
9649 Reported by Russell Sim <russell.sim@gmail.com>.
9650 (tramp-sh-handle-vc-registered): Hide errors.
9651 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9652 and `start-file-process'.
9653 (tramp-maybe-open-connection): Check also whether `non-essential'
9654 is bound.
9655
9656 2012-07-04 Chong Yidong <cyd@gnu.org>
9657
9658 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9659 (xml-parse-tag): Likewise, and avoid changing entity tables.
9660 (xml-syntax-table): Define from scratch, making sure not to give
9661 x2000 and other Unicode spaces whitespace syntax, since those are
9662 not spaces in XML.
9663 (xml-parse-fragment): Delete unused function.
9664 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9665 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9666 (xml-entity-ref, xml-pe-reference-re)
9667 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9668 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9669 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9670 (xml-entity-value-re): Use syntax references in regexps where
9671 possible; no need to define inside a let-binding.
9672 (xml-parse-dtd): Use xml-pe-reference-re.
9673 (xml-entity-or-char-ref-re): New defconst.
9674 (xml-parse-string, xml-substitute-special): Use it.
9675
9676 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9679 (find-file--read-only): New function.
9680 (find-file-read-only, find-file-read-only-other-window)
9681 (find-file-read-only-other-frame): Use it.
9682 (insert-file-contents-literally): Don't `fset'.
9683 (get-free-disk-space): Use locate-dominating-file.
9684
9685 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9686 function is already compiled.
9687
9688 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9689
9690 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9691
9692 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9693 files on the same host.
9694
9695 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9696
9697 * help-fns.el (describe-function-1): Only call
9698 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9699
9700 2012-07-03 Chong Yidong <cyd@gnu.org>
9701
9702 * xml.el: Protect parser against XML bombs.
9703 (xml-entity-expansion-limit): New variable.
9704 (xml-parse-string, xml-substitute-special): Use it.
9705 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9706
9707 2012-07-03 Glenn Morris <rgm@gnu.org>
9708
9709 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9710 Allow linking to specific messages in debbugs reports (eg 123#5).
9711
9712 2012-07-02 Chong Yidong <cyd@gnu.org>
9713
9714 * xml.el: Fix entity and character reference expansion, allowing
9715 them to expand into markup as per XML spec.
9716 (xml-default-ns): New variable.
9717 (xml-entity-alist): Use XML spec definitions for lt and amp.
9718 (xml-parse-region): Make first two arguments optional.
9719 Discard text properties.
9720 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9721 All callers changed.
9722 (xml-parse-tag): Call xml-parse-tag-1. For backward
9723 compatibility, this function should not modify buffer contents.
9724 (xml-parse-tag-1): Fix opening-tag regexp.
9725 (xml-parse-string): Rewrite, handling entity and character
9726 references properly.
9727 (xml--entity-replacement-text): Signal an error if a parameter
9728 entity is undefined.
9729
9730 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * comint.el (comint-output-filter): Filter out repeated prompts.
9733
9734 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9735 and file-name-absolute-p.
9736 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9737 internal calls.
9738
9739 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9740
9741 Spelling fixes.
9742 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9743 Rename from byte-compile--refiy-function. All uses changed.
9744
9745 2012-07-01 Chong Yidong <cyd@gnu.org>
9746
9747 * xml.el (xml--parse-buffer): New function. Move most of
9748 xml-parse-region here.
9749 (xml-parse-region): Copy region into a temporary buffer, since
9750 parameter entity substitution requires changing buffer contents.
9751 Use xml--parse-buffer.
9752 (xml-parse-file): Use xml--parse-buffer.
9753 (xml-parse-dtd): Make parameter entity substitution work right.
9754 Use proper regexps for ELEMENT declarations (Bug#7172).
9755
9756 2012-06-30 Glenn Morris <rgm@gnu.org>
9757
9758 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9759
9760 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9761 Remove outdated and unnecessary dbus declarations.
9762
9763 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9764
9765 * emacs-lisp/timer.el (timer-until): Subtract results of
9766 float-time, instead of taking float-time of the result of
9767 time-subtract, since float-time signals an error for negative time
9768 arguments.
9769
9770 2012-06-30 Chong Yidong <cyd@gnu.org>
9771
9772 * xml.el (xml-*-re): Convert defvars into defconsts, and
9773 eval-and-compile them so eval-and-compile works on derivatives.
9774 (xml--entity-replacement-text): Use eval-and-comple.
9775
9776 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9777
9778 * vc/vc-git.el (vc-git-registered): Use cache property
9779 `git-registered'.
9780 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9781 `vc-git-working-revision' in order to benefit from the cache.
9782 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9783
9784 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9785
9786 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9787 removed (likely outside Emacs). (Bug#11757)
9788
9789 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * emacs-lisp/cl-lib.el: Require macroexp.
9792
9793 2012-06-30 Chong Yidong <cyd@gnu.org>
9794
9795 * xml.el: Implement XML parameter entities.
9796 (xml-parameter-entity-alist): New variable.
9797 (xml-parse-region, xml-parse-fragment): Preserve previous values
9798 of xml-entity-alist and xml-parameter-entity-alist, so that
9799 repeated calls on different documents do not change them.
9800 (xml-parse-tag): Fix doctype regexp.
9801 (xml--entity-replacement-text): New function.
9802 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9803 properly requires url retrieval which is unimplemented.
9804 (xml-escape-string): Doc fix.
9805
9806 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9809
9810 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9811
9812 * fringe.el (fringe-mode): Doc fix.
9813
9814 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9815
9816 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9817 is non-nil.
9818 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9819 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9820
9821 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9822
9823 * calendar/cal-dst.el (calendar-current-time-zone):
9824 Return calendar-current-time-zone-cache if non-nil.
9825
9826 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9827
9828 * progmodes/which-func.el (which-func-format):
9829 Add mouse-face. (Bug#11698)
9830
9831 2012-06-29 Leo Liu <sdl.web@gmail.com>
9832
9833 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9834
9835 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * minibuffer.el (minibuffer-confirm-exit-commands):
9838 Add completion-at-point (bug#11725).
9839
9840 2012-06-29 Glenn Morris <rgm@gnu.org>
9841
9842 * progmodes/f90.el (f90-font-lock-keywords-2):
9843 Add some preprocessor elements. (Bug#10499)
9844
9845 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9848 Use syntax-propertize (bug#11739).
9849
9850 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9851
9852 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9853
9854 2012-06-28 Julien Danjou <julien@danjou.info>
9855
9856 * term.el (term-handle-colors-array): Use a set of new faces to
9857 color the terminal. Also uses :inverse-video property.
9858 (term-default-fg-color): Set to nil by default, deprecate in favor
9859 of `term-face'.
9860 (term-default-bg-color): Set to nil by default, deprecate in favor
9861 of `term-face'.
9862 (term-current-face): Use `term-face' by default.
9863 (term-bold-attribute): Variable deleted.
9864
9865 2012-06-28 Glenn Morris <rgm@gnu.org>
9866
9867 * simple.el (completion-list-mode-finish):
9868 Don't use toggle-read-only. (Since completion-list-mode has
9869 a special mode-class, it wasn't doing anything extra anyway.)
9870
9871 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 Make inlining of other-mode interpreted functions work (bug#11799).
9874 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9875 (byte-compile): Use it to fix compilation of lexical-binding closures.
9876 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9877 function, if needed.
9878
9879 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * help-mode.el (help-make-xrefs): Don't just withstand
9882 cyclic-variable-indirection but any error in documentation-property.
9883
9884 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9885 memory use.
9886 * bindings.el (bindings--define-key): New function.
9887 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9888 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9889 * bindings.el: Use it to purecopy define-key bindings.
9890
9891 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9892
9893 * emacs-lisp/cl.el (flet): Mark obsolete.
9894 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9895 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9896 * progmodes/js.el (js-c-fill-paragraph):
9897 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9898 (ebrowse-switch-member-buffer-to-derived-class):
9899 * play/5x5.el (5x5-solver): Use cl-flet.
9900
9901 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9902 (cl--symbol-function): New macro.
9903 (cl--letf, cl--letf*): Use it.
9904
9905 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9906 Strip "toggle-" if any.
9907
9908 2012-06-27 Glenn Morris <rgm@gnu.org>
9909
9910 * info.el (Info-default-directory-list): Move here from paths.el.
9911 * paths.el: Remove file, which is now empty.
9912 * loadup.el: No longer load "paths".
9913
9914 * custom.el (custom-initialize-delay): Doc fix.
9915
9916 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9917 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9918 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9919 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9920 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9921 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9922 * eshell/eshell.el (eshell-defgroup): Remove alias.
9923
9924 2012-06-27 Chong Yidong <cyd@gnu.org>
9925
9926 * help.el (help-enable-auto-load): New variable.
9927
9928 * help-fns.el (help-fns--autoloaded-p): New function.
9929 (describe-function-1): Refer to a function as "autoloaded" if it
9930 was autoloaded at any time in the past. Perform autoloading if
9931 help-enable-auto-load is non-nil.
9932
9933 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9934
9935 * makefile.w32-in (compile, compile-always): Depend on
9936 update-subdirs, not on subdirs.el. Otherwise, several different
9937 sub-targets of 'bootstrap' running in parallel could
9938 simultaneously write to subdirs.el, producing a garbled file.
9939
9940 2012-06-26 Sam Steingold <sds@gnu.org>
9941
9942 * files.el (file-name-base): New convenience function.
9943 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9944 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9945 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9946 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9947 * textmodes/ispell.el, textmodes/reftex-ref.el:
9948 * textmodes/tex-mode.el: Use it.
9949 Did not touch cedet and org because they are maintained elsewhere.
9950
9951 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9952
9953 * calendar/calendar.el (calendar-exit): Don't try to delete or
9954 iconify last frame. See:
9955 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9956
9957 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9958
9959 * server.el (server-process-filter): Remember dir in the
9960 process's `server-client-directory' properties.
9961
9962 2012-06-24 Chong Yidong <cyd@gnu.org>
9963
9964 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9965 non-tag text.
9966
9967 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9970
9971 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * help-fns.el (describe-variable): Don't croak when doc is not found.
9974 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9975 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9976 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9977 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9978 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9979 ((lambda ..) ..).
9980 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9981
9982 2012-06-23 Chong Yidong <cyd@gnu.org>
9983
9984 * info.el (Info-mouse-follow-link): Accept symbol values of
9985 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9986 (Info-fontify-node): Use Info-link-keymap for all navigation
9987 buttons, with link-args property to perform the desired action.
9988 (Info-link-keymap): Doc fix.
9989 (Info-next-link-keymap, Info-prev-link-keymap)
9990 (Info-up-link-keymap): Delete now-unused keymaps.
9991
9992 2012-06-23 Chong Yidong <cyd@gnu.org>
9993
9994 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9995
9996 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9997 system abbrevs.
9998
9999 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10000
10001 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10002
10003 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10004 (bug#11719).
10005
10006 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10007 the requote function doesn't work properly (bug#11714).
10008
10009 2012-06-23 Glenn Morris <rgm@gnu.org>
10010
10011 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10012
10013 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 Further GV/CL cleanups.
10016 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10017 gv-expander.
10018 (gv--defun-declaration): New function.
10019 (defun-declarations-alist): Use it.
10020 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10021 (gv-place): Autoload.
10022 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10023 original definition of dotimes and dolist.
10024 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10025 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10026 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10027 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10028 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10029 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10030 to the function's definition.
10031 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10032 * window.el:
10033 * files.el:
10034 * faces.el:
10035 * env.el: Don't use CL.
10036
10037 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10038
10039 Support higher-resolution time stamps (Bug#9000).
10040
10041 * calendar/time-date.el (with-decoded-time-value): New arg
10042 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10043 (encode-time-value): New optional arg PICO. New type 3.
10044 (time-to-seconds) [!float-time]: Support the new picoseconds
10045 component if it's used.
10046 (seconds-to-time, time-subtract, time-add):
10047 Support ps-resolution time stamps as well.
10048
10049 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10050 (timerp): Timer vectors now have length 9, not 8.
10051 (timer--time): Support new-style (4-part) time stamps.
10052 (timer-next-integral-multiple-of-time): Time stamps now have
10053 picosecond resolution, so take a bit more care about rounding.
10054 (timer-relative-time, timer-inc-time): New optional arg psecs.
10055 (timer-set-time-with-usecs): Set psecs to 0.
10056 (timer--activate): Check psecs component, too.
10057
10058 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10059
10060 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10063 Move the non-essential binding to the post/pre-command-hook where it is
10064 more obviously correct.
10065
10066 * subr.el (read-passwd): Don't use a history at all.
10067 * savehist.el (savehist-save): Remove password saved accidentally
10068 because of the above bug.
10069
10070 2012-06-22 Bastien Guerry <bzg@gnu.org>
10071
10072 * files.el (toggle-read-only): Display a message telling whether
10073 the buffer is read-only or not (bug#11726).
10074
10075 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * emacs-lisp/gv.el: New file.
10078 * subr.el (push, pop): Extend to generalized variables.
10079 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10080 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10081 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10082 gv-define-simple-setter, and gv-define-expander.
10083 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10084 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10085 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10086 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10087 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10088 gv-letplace.
10089 (cl-defstruct): Don't define setf-method any more.
10090 * emacs-lisp/cl.el (flet): Don't autoload.
10091 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10092 (define-setf-expander, defsetf, define-modify-macro)
10093 (cl-struct-setf-expander): Move from cl-lib.el.
10094 * emacs-lisp/syntax.el:
10095 * emacs-lisp/ewoc.el:
10096 * emacs-lisp/smie.el:
10097 * emacs-lisp/cconv.el:
10098 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10099 (timer--time): Use gv-define-simple-setter.
10100 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10101 to avoid coding-system problems in subr.el. Adjust all users.
10102 (macroexp--maxsize, macroexp-small-p): New functions.
10103 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10104 * scroll-bar.el (scroll-bar-mode):
10105 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10106 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10107 * winner.el (winner-configuration, winner-make-point-alist)
10108 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10109 * files.el (locate-file-completion-table): Avoid list*.
10110
10111 2012-06-22 Chong Yidong <cyd@gnu.org>
10112
10113 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10114 (dired-create-files): Doc fix (Bug#11329).
10115 (dired-do-copy): Doc fix (Bug#11334).
10116 (dired-mark-read-string): Doc fix (Bug#11553).
10117
10118 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10119 Doc fix (Bug#11326).
10120 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10121 (dired-dwim-target): Doc fix.
10122
10123 * wdired.el (wdired-mode): Doc fix.
10124
10125 2012-06-22 Glenn Morris <rgm@gnu.org>
10126
10127 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10128 (pcmpl-rpm-cache-stamp-file): New constant.
10129 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10130 (pcmpl-rpm-packages): Optionally cache list of packages.
10131
10132 * pcmpl-rpm.el (pcmpl-rpm): New group.
10133 (pcmpl-rpm-query-options): New option.
10134 (pcmpl-rpm-packages): No need to inline it.
10135 Use pcmpl-rpm-query-options.
10136
10137 * calendar/calendar.el (calendar-in-read-only-buffer):
10138 Avoid some needless mode changes.
10139
10140 2012-06-21 Chong Yidong <cyd@gnu.org>
10141
10142 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10143 (desktop-path): Remove . from the default value (Bug#10977).
10144 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10145
10146 2012-06-20 Chong Yidong <cyd@gnu.org>
10147
10148 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10149
10150 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10151
10152 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10153 (bug#11201).
10154
10155 2012-06-20 Chong Yidong <cyd@gnu.org>
10156
10157 * term.el (term-window-width): Handle the case of a missing right
10158 fringe (Bug#8837).
10159 (term-check-size): Use window-text-height (Bug#5445).
10160 (term-mode): Use define-derived-mode. Minor cleanups.
10161 Set font-lock-defaults (Bug#7692).
10162 (term-move-columns, term-insert-char, term-emulate-terminal)
10163 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10164
10165 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10166
10167 * net/ange-ftp.el (ange-ftp-get-passwd):
10168 Bind `enable-recursive-minibuffers'.
10169 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10170
10171 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10172
10173 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10174
10175 2012-06-19 Glenn Morris <rgm@gnu.org>
10176
10177 * progmodes/python.el (python-mode): Derive from prog-mode.
10178
10179 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10180
10181 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10182 (edt-user-menu-bar-update-buffers): New functions.
10183 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10184
10185 2012-06-19 Chong Yidong <cyd@gnu.org>
10186
10187 * subr.el (with-selected-window): Preserve the selected window's
10188 terminal's top-frame (Bug#4702).
10189
10190 * window.el (save-selected-window): Likewise.
10191
10192 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * progmodes/python.el (python-rx-constituents): Move backquote.
10195 (python-skeleton-define, python-define-auxiliary-skeleton):
10196 Use `declare'.
10197
10198 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10199
10200 * minibuffer.el (read-file-name-default): Revert the patch from
10201 2012-06-17.
10202
10203 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10206 (pcase--u1, pcase--q1): Don't use apply-partially.
10207
10208 2012-06-18 Glenn Morris <rgm@gnu.org>
10209
10210 * progmodes/python.el (python-proc, python-buffer)
10211 (python-send-receive, python-send-string): Fix obsolete versions.
10212
10213 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10214
10215 * window.el (special-display-p): Completely remove stringp
10216 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10217
10218 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10219
10220 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10221
10222 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10223
10224 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10225 * net/tramp-sh.el (tramp-maybe-open-connection):
10226 Throw if `non-essential' is non-nil.
10227
10228 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10229
10230 * window.el (special-display-p): Signal an error if BUFFER-NAME
10231 is not a string (Bug#11713).
10232
10233 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10234
10235 * progmodes/python.el (python-info-beginning-of-backslash):
10236 Rename from python-info-beginning-of-backlash, as a spelling fix.
10237
10238 2012-06-17 Chong Yidong <cyd@gnu.org>
10239
10240 * term.el (term-emulate-terminal): If term-check-size is called,
10241 move point to the process mark without resetting point (Bug#4635).
10242
10243 2012-06-17 Glenn Morris <rgm@gnu.org>
10244
10245 * international/mule-cmds.el (mule-menu-keymap)
10246 (set-language-environment, set-locale-environment): Doc tweaks.
10247
10248 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10249
10250 * cus-face.el (custom-face-attributes): Add wave-style underline
10251 attribute.
10252 * faces.el (set-face-attribute): Update docstring to describe
10253 wave-style underline attribute.
10254
10255 2012-06-16 Chong Yidong <cyd@gnu.org>
10256
10257 * term/xterm.el (terminal-init-xterm): Discard input before
10258 querying background mode (Bug#10959).
10259
10260 2012-06-16 Stefan Merten <smerten@oekonux.de>
10261
10262 * textmodes/rst.el: Added and corrected some comments.
10263 (rst-re-alist-def): Improve symbol syntax.
10264 (rst-mode-syntax-table): Correct syntax entries.
10265 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10266 (rst-official-version, rst-official-cvs-rev): Update version
10267 information.
10268
10269 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10270
10271 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10272 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10273
10274 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10275
10276 * progmodes/python.el: New python.el merge.
10277 (python-guess-indent): Obsolete var.
10278 (python-indent-guess-indent-offset): New defcustom.
10279 (python-indent): Obsolete var.
10280 (python-indent-offset): New defcustom.
10281 (python-python-command, python-jython-command): Delete var.
10282 (python-shell-interpreter): New defcustom.
10283 (python-pdbtrack-do-tracking-p): Delete var.
10284 (python-pdbtrack-activate): New defcustom.
10285 (python-use-skeletons): Obsolete var.
10286 (python-skeleton-autoinsert): New defcustom.
10287 (inferior-python-filter-regexp, python-continuation-offset)
10288 (python-honour-comment-indentation, python-indent-string-contents)
10289 (python-jython-packages, python-mode-hook)
10290 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10291 (python-shell-prompt-alist)
10292 (python-source-modes): Delete defcustoms.
10293 (python-check-buffer-name, python-eldoc-setup-code)
10294 (python-eldoc-string-code, python-ffap-setup-code)
10295 (python-ffap-string-code, python-fill-comment-function)
10296 (python-fill-decorator-function, python-fill-paren-function)
10297 (python-fill-string-function, python-imenu-include-defun-type)
10298 (python-imenu-make-tree, python-imenu-subtree-root-label)
10299 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10300 (python-shell-compilation-regexp-alist)
10301 (python-shell-completion-module-string-code)
10302 (python-shell-completion-pdb-string-code)
10303 (python-shell-completion-setup-code)
10304 (python-shell-completion-string-code)
10305 (python-shell-enable-font-lock, python-shell-exec-path)
10306 (python-shell-extra-pythonpaths)
10307 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10308 (python-shell-process-environment)
10309 (python-shell-prompt-block-regexp)
10310 (python-shell-prompt-output-regexp)
10311 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10312 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10313 (python-shell-virtualenv-path): New defcustoms.
10314 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10315 (inferior-python-mode-syntax-table, python--prompt-regexp)
10316 (python-buffer, python-command python-python-command)
10317 (python-default-template, python-imports, python-indent-index)
10318 (python-indent-list, python-indent-list-length)
10319 (python-mode-running, python-pdbtrack-is-tracking-p)
10320 (python-preoutput-continuation, python-preoutput-leftover)
10321 (python-preoutput-result, python-preoutput-skip-next-prompt)
10322 (python-prev-dir/file, python-recursing)
10323 (python-saved-check-command, python-version-checked)
10324 (python-which-func-length-limit)
10325 (view-return-to-alist): Delete vars.
10326 (python-check-custom-command, python-dotty-syntax-table)
10327 (python-imenu-index-alist, python-indent-current-level)
10328 (python-indent-dedenters, python-indent-levels)
10329 (python-nav-beginning-of-defun-regexp)
10330 (python-nav-list-defun-positions-cache)
10331 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10332 (python-shell-internal-buffer)
10333 (python-skeleton-available): New vars.
10334 (def-python-skeleton): Delete macro.
10335 (python-skeleton-define): New macro.
10336 (python-define-auxiliary-skeleton, python-rx): New macros.
10337 (python-insert-class): Delete command.
10338 (python-skeleton-class): New command.
10339 (python-insert-def): Delete command.
10340 (python-skeleton-def): New command.
10341 (python-insert-for): Delete command.
10342 (python-skeleton-for): New command.
10343 (python-insert-if): Delete command.
10344 (python-skeleton-if): New command.
10345 (python-insert-try/except, python-insert-try/finally): Delete commands.
10346 (python-skeleton-try): New command.
10347 (python-insert-while): Delete command.
10348 (python-skeleton-while): New command.
10349 (python-backspace): Delete command.
10350 (python-indent-dedent-line-backspace): New command.
10351 (python-electric-colon): Delete command.
10352 (python-indent-electric-colon): New command.
10353 (python-guess-indent): Delete command.
10354 (python-indent-guess-indent-offset): New command.
10355 (python-shift-left): Delete command.
10356 (python-indent-shift-left): New command.
10357 (python-shift-right): Delete command.
10358 (python-indent-shift-right): New command.
10359 (python-find-function): Delete command.
10360 (python-nav-jump-to-defun): New command.
10361 (python-next-statement): Delete command.
10362 (python-nav-forward-sentence): New command.
10363 (python-previous-statement): Delete command.
10364 (python-nav-backward-sentence): New command.
10365 (python-fill-paragraph): Delete command.
10366 (python-fill-paragraph-function): New command.
10367 (python-send-buffer): Delete command.
10368 (python-shell-send-buffer): New command.
10369 (python-send-defun): Delete command.
10370 (python-shell-send-defun): New command.
10371 (python-send-region, python-send-region-and-go): Delete commands.
10372 (python-shell-send-region)
10373 (python-shell-switch-to-shell): New commands.
10374 (python-send-string): Delete command.
10375 (python-shell-send-string): New command.
10376 (python-switch-to-python): Delete command.
10377 (python-shell-switch-to-shell): New command.
10378 (python-describe-symbol): Delete command.
10379 (python-eldoc-at-point): New command.
10380 (python--set-prompt-regexp, python-args-to-list)
10381 (python-after-info-look, python-check-version)
10382 (python-check-comint-prompt, python-find-imports)
10383 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10384 (python-unload-function, python-expand-template)
10385 (python-maybe-jython, python-preoutput-filter)
10386 (python-pdbtrack-get-source-buffer)
10387 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10388 (python-pdbtrack-toggle-stack-tracking)
10389 (python-pdbtrack-track-stack-file, python-initial-text)
10390 (python-first-word, python-comment-line-p, python-send-command)
10391 (python-setup-brm, python-sentinel, python-set-proc)
10392 (python-skip-out, python-input-filter, python-outdent-p)
10393 (python-outline-level, python-backslash-continuation-line-p)
10394 (python-end-of-block, python-end-of-statement, python-mark-block)
10395 (python-beginning-of-block, python-beginning-of-statement)
10396 (python-blank-line-p, python-beginning-of-string)
10397 (python-open-block-statement-p): Delete functions.
10398 (python-indent-line, python-indent-line-1): Delete functions.
10399 (python-indent-line): New function.
10400 (python-indentation-levels): Delete function.
10401 (python-indent-calculate-levels): New function.
10402 (python-proc): Delete function.
10403 (python-shell-get-process): New function.
10404 (python-send-receive): Delete function.
10405 (python-shell-send-string-no-output): New function.
10406 (python-module-path): Delete function.
10407 (python-ffap-module-path): New function.
10408 (python-completion-at-point)
10409 (python-symbol-completions): Delete functions.
10410 (python-completion-complete-at-point): New function.
10411 (python-load-file): Delete function.
10412 (python-shell-send-file): New function.
10413 (python-calculate-indentation): Delete function.
10414 (python-indent-calculate-indentation): New function.
10415 (python-skip-comments/blanks): Delete function.
10416 (python-util-forward-comment): New function.
10417 (python-continuation-line-p): Delete function.
10418 (python-info-continuation-line-p): New function.
10419 (python-which-func, python-current-defun): Delete function.
10420 (python-info-current-defun): New function.
10421 (python-beginning-of-defun): Delete function.
10422 (python-nav-beginning-of-defun): New function.
10423 (python-close-block-statement-p)
10424 (python-block-end-p): Delete function.
10425 (python-info-closing-block): New function.
10426 (python-comint-output-filter-function)
10427 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10428 (python-fill-comment, python-fill-decorator, python-fill-paren)
10429 (python-fill-string, python-imenu-make-element-tree)
10430 (python-imenu-make-tree, python-imenu-tree-assoc)
10431 (python-indent-context, python-indent-dedent-line)
10432 (python-indent-line-function)
10433 (python-indent-post-self-insert-function)
10434 (python-indent-toggle-levels)
10435 (python-info-assignment-continuation-line-p)
10436 (python-info-beginning-of-backlash)
10437 (python-info-block-continuation-line-p)
10438 (python-info-closing-block-message)
10439 (python-info-line-ends-backslash-p)
10440 (python-info-looking-at-beginning-of-defun)
10441 (python-info-ppss-context, python-info-ppss-context-type)
10442 (python-nav-list-defun-positions, python-nav-read-defun)
10443 (python-nav-sentence-end, python-nav-sentence-start)
10444 (python-pdbtrack-comint-output-filter-function)
10445 (python-pdbtrack-set-tracked-buffer)
10446 (python-shell-calculate-exec-path)
10447 (python-shell-calculate-process-environment)
10448 (python-shell-completion--do-completion-at-point)
10449 (python-shell-completion--get-completions)
10450 (python-shell-completion-complete-at-point)
10451 (python-shell-completion-complete-or-indent)
10452 (python-shell-get-or-create-process)
10453 (python-shell-get-process-name)
10454 (python-shell-internal-get-or-create-process)
10455 (python-shell-internal-get-process-name)
10456 (python-shell-internal-send-string, python-shell-make-comint)
10457 (python-shell-parse-command, python-shell-send-setup-code)
10458 (python-skeleton-add-menu-items)
10459 (python-util-clone-local-variables, python-util-position)
10460 (run-python-internal, python-indentation-levels)
10461 (python-nav-beginning-of-defun)
10462 (python-completion-complete-at-point): New functions.
10463 (run-python): Change arguments. New API requirements.
10464
10465 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10468 (bug#11649).
10469
10470 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10471 (macroexp--expand-all): Use it.
10472
10473 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10474 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10475 Use `cl-function' instead.
10476
10477 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10480 Suggested by Stefan Monnier while discussing bug#11657.
10481
10482 2012-06-14 Sam Steingold <sds@gnu.org>
10483
10484 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10485
10486 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10487
10488 * play/doctor.el (doctor-doc): Remove parameter and use
10489 doctor-sent instead of sent.
10490 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10491
10492 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * files.el: Require cl-lib.
10495 (file-name-non-special): Replace case -> cl-case.
10496
10497 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10498
10499 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10500 mapping from #' to function*.
10501
10502 2012-06-13 Chong Yidong <cyd@gnu.org>
10503
10504 * mouse.el (mouse-drag-track): Do not set the mark if the user
10505 releases the mouse without selecting anything (Bug#11588).
10506
10507 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10510 as well (bug#11646).
10511
10512 * loadup.el: Count byte-code functions as well.
10513
10514 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10515 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10516
10517 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10518 (bug#11649). Add cl-defun and cl-defmacro.
10519
10520 2012-06-13 Drew Adams <drew.adams@oracle.com>
10521
10522 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10523 Fix last change.
10524
10525 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10526
10527 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10528 Otherwise, it blocks in batch mode.
10529
10530 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10531
10532 * help-mode.el (bookmark-make-record-default): Declare.
10533
10534 2012-06-13 Chong Yidong <cyd@gnu.org>
10535
10536 * emacs-lisp/package.el (list-packages): Compute a list of
10537 packages that are newly-available since the last list-packages
10538 invocation.
10539 (package-menu--new-package-list): New var.
10540 (package-menu--generate, package-menu--print-info)
10541 (package-menu--status-predicate, package-menu-mark-install):
10542 Handle new status label "new".
10543
10544 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10545
10546 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10547 conversion to backquotes.
10548
10549 2012-06-12 Chong Yidong <cyd@gnu.org>
10550
10551 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10552 Rename from gud-inhibit-global-bindings.
10553
10554 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10555
10556 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10557 hook from nxml-glyph-set-hook.
10558
10559 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10560 declaration.
10561
10562 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10563
10564 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10565 Convert to defcustom.
10566
10567 2012-06-12 Drew Adams <drew.adams@oracle.com>
10568
10569 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10570 New functions.
10571 (help-mode): Use them.
10572
10573 2012-06-11 Glenn Morris <rgm@gnu.org>
10574
10575 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10576 Use preprocessor face for directives.
10577 (fortran-directive-re): Doc fix.
10578
10579 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10582 conversion to backquotes (bug#11652).
10583
10584 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10585 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10586 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10587 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10588 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10589 (cl-ninth, cl-tenth): Mark them as inlinable.
10590 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10591 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10592 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10593 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10594 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10595 (cl-list*, cl-adjoin): Don't put an autoload manually.
10596 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10597 (cl--compiler-macro-list*): Add autoload cookie.
10598 (cl--compiler-macro-cXXr): New function.
10599
10600 * help-fns.el (help-fns--compiler-macro): New function extracted from
10601 describe-function-1; follow aliases and use `compiler-macro' property.
10602 (describe-function-1): Use it.
10603
10604 2012-06-11 Chong Yidong <cyd@gnu.org>
10605
10606 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10607 is uninstalled, if imagemagick is installed.
10608
10609 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * emacs-lisp/cl-lib.el: Use lexical-binding.
10612 (cl-map-extents, cl-maclisp-member): Remove.
10613 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10614 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10615 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10616 * emacs-lisp/cl-extra.el: Use lexical-binding.
10617 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10618 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10619 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10620 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10621 * emacs-lisp/cl-seq.el: Use lexical-binding.
10622 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10623 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10624 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10625 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10626 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10627 CL's internals.
10628
10629 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10630
10631 Sync with Tramp 2.2.6-pre.
10632
10633 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10634 `print-length' and `print-level' to nil, in order to avoid
10635 truncation. Reported by Christopher Schmidt
10636 <christopher@ristopher.com>.
10637
10638 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10639
10640 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10641 New defmacro.
10642 (tramp-compat-copy-directory): Add optional argument
10643 COPY-CONTENTS. It is not handled yet.
10644
10645 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10646 (tramp-ftp-file-name-p): Simplify.
10647
10648 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10649 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10650 connection vector.
10651
10652 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10653 (tramp-methods): Do not use `tramp-password-end-of-line'.
10654 (tramp-completion-function-alist-putty): Handle UNIX case.
10655 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10656 (tramp-do-file-attributes-with-stat)
10657 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10658 gid as real numbers. They could run out of integer range on cygwin.
10659 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10660 (tramp-sh-handle-expand-file-name): Handle hops.
10661 (tramp-open-connection-setup-interactive-shell):
10662 Use `tramp-cleanup'. Move check for busyboxes ...
10663 (tramp-find-shell): ... here. Simplify implementation.
10664 Set "remote-shell" property also for alternative shells.
10665 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10666 If failing, a regular file would be written otherwise.
10667 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10668 (tramp-find-inline-encoding): Cache the coding commands in the
10669 process cache. Apply test command on the remote side, if defined.
10670 (tramp-find-inline-compress): Cache the compress commands in the
10671 process cache.
10672 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10673 when requested. Handle hops.
10674 (tramp-current-connection): New defvar.
10675 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10676 Throw `suppress', if there was a failed connection shortly before.
10677 Handle user interrupt. (Bug#10187)
10678 (tramp-get-inline-compress, tramp-get-inline-coding):
10679 Read connection properties from the process cache.
10680
10681 * net/tramp-smb.el (tramp-smb-server-version)
10682 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10683 New defconsts.
10684 (tramp-smb-prompt): Extend for powershell prompt.
10685 (tramp-smb-file-name-handler-alist): Add handlers for
10686 `process-file', `shell-command' and `start-file-process'.
10687 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10688 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10689 (tramp-smb-file-name-p): Simplify.
10690 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10691 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10692 (tramp-smb-shell-quote-argument): New defuns.
10693 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10694 Implement using "tar". By this, time-stamps are preserved.
10695 (tramp-smb-handle-copy-file): Handle also the case of directories.
10696 (tramp-smb-do-file-attributes-with-stat)
10697 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10698 Use `tramp-get-connection-buffer').
10699 (tramp-smb-handle-rename-file): Use "rename", when source and
10700 target are on the same share.
10701 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10702 Use `tramp-smb-server-version'.
10703 (tramp-smb-wait-for-output): Remove prompt.
10704
10705 * net/tramp.el (top): Require 'cl.
10706 (tramp-methods, tramp-rsh-end-of-line):
10707 Remove `tramp-password-end-of-line' from docstring.
10708 (tramp-save-ad-hoc-proxies): New defcustom.
10709 (tramp-completion-function-alist): Adapt docstring.
10710 (tramp-default-password-end-of-line): Remove defcustom.
10711 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10712 (tramp-user-regexp, tramp-file-name-regexp-unified)
10713 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10714 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10715 (tramp-remote-file-name-spec-regexp): New defconst.
10716 (tramp-file-name-structure): Extend structure for hops.
10717 (tramp-get-method-parameter): Move up.
10718 (tramp-file-name-p, tramp-dissect-file-name)
10719 (with-parsed-tramp-file-name): Handle hops.
10720 (tramp-file-name-hop): New defun.
10721 (tramp-make-tramp-file-name): New optional arg HOP.
10722 (tramp-message-show-progress-reporter-message): New defvar.
10723 (tramp-with-progress-reporter): Use it. We cannot use
10724 `tramp-message-show-message' here, because this suppresses also
10725 error buffers.
10726 (tramp-error-with-buffer): Suppress buffer view, if
10727 `tramp-message-show-message' is nil.
10728 Use `tramp-get-connection-buffer'.
10729 (tramp-cleanup): New defun.
10730 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10731 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10732 an error unchanged.
10733 (tramp-completion-handle-file-name-all-completions): Handle hops.
10734 Fix an error when called from ido.
10735 (tramp-completion-dissect-file-name): Use better local variable
10736 name. Add hop to the vector.
10737 (tramp-handle-insert-file-contents): Use progress-reporter for the
10738 whole scenario.
10739 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10740 to `t'.
10741 (tramp-check-for-regexp): Simplify search.
10742 (tramp-enter-password): Remove it. Move implementation ...
10743 (tramp-action-password): ... here.
10744 (tramp-mode-string-to-int, tramp-local-host-p)
10745 (tramp-make-tramp-temp-file, tramp-read-passwd)
10746 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10747 Set tramp-autoload cookie.
10748
10749 * net/trampver.el: Update release number.
10750
10751 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10752 Michael Albinus <michael.albinus@gmx.de>
10753
10754 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10755 (tramp-parse-group, tramp-parse-file)
10756 (tramp-parse-shostkeys-sknownhosts): New defuns.
10757 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10758 (tramp-parse-shosts-group, tramp-parse-sconfig)
10759 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10760 (tramp-parse-sknownhosts, tramp-parse-hosts)
10761 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10762 Use them.
10763 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10764 (tramp-parse-putty-group): Don't narrow.
10765 (tramp-parse-putty): Make a loop.
10766 (tramp-file-name-handler): Catch the `suppress' signal.
10767
10768 2012-06-11 Chong Yidong <cyd@gnu.org>
10769
10770 * image.el (imagemagick-register-types): Put the ImageMagick entry
10771 at the end of image-type-file-name-regexps.
10772
10773 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10774
10775 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10776 (pcase, pcase-let*, pcase-dolist): Use them.
10777
10778 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * emacs-lisp/pcase.el (pcase--let*): New function.
10781 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10782 (pcase--expand): Use macroexp-let².
10783
10784 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10787 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10788 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10789 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10790 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10791 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10792
10793 2012-06-10 Glenn Morris <rgm@gnu.org>
10794
10795 * mail/rmail.el (rmail-yank-current-message): Leave point at
10796 correct position. (Bug#11660)
10797
10798 2012-06-10 Chong Yidong <cyd@gnu.org>
10799
10800 * allout-widgets.el: Fix code header.
10801
10802 2012-06-10 Chong Yidong <cyd@gnu.org>
10803
10804 * cus-edit.el (customize-changed-options-previous-release):
10805 Bump to 24.1.
10806
10807 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10808
10809 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10810
10811 2012-06-09 Chong Yidong <cyd@gnu.org>
10812
10813 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10814
10815 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10816
10817 * window.el (special-display-popup-frame): Don't use
10818 window--display-buffer (Bug#11651).
10819
10820 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10821
10822 Fix parallel builds: make sure loaddefs.el is not being written
10823 while Lisp files are compiled.
10824 (compile): Don't depend on 'mh-autoloads'.
10825 (compile-CMD, compile-SH): Depend on 'autoloads'.
10826 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10827
10828 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10829
10830 2012-06-09 Chong Yidong <cyd@gnu.org>
10831
10832 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10833 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10834 Doc fixes (Bug#11225).
10835
10836 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10839 a function if there's a clear indication that it has a compiler-macro.
10840 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10841 (macro-declarations-alist): Add arglist to declaration functions.
10842 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10843 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10844 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10845 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10846 Also add autoload to find the compiler macro.
10847 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10848 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10849 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10850 (cl--compiler-macro-get): New functions, replacing calls to
10851 cl-define-compiler-macro.
10852 (cl-typep) [compiler-macro]: Use macroexp-let².
10853
10854 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10855
10856 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10857 string properly, fixes Bug#11473.
10858
10859 2012-06-08 Chong Yidong <cyd@gnu.org>
10860
10861 * faces.el (set-face-attribute): Doc fix.
10862 (modify-face): Don't use :bold and :italic.
10863 (error, warning, success): Tweak definitions.
10864
10865 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10866 (custom-modified, custom-set, custom-changed, custom-themed)
10867 (custom-saved, custom-button, custom-button-mouse)
10868 (custom-button-pressed, custom-state, custom-comment-tag)
10869 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10870 (custom-group-subtitle): Use new-style face specs.
10871 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10872 (custom-set-face, custom-changed-face, custom-saved-face)
10873 (custom-button-face, custom-button-pressed-face)
10874 (custom-documentation-face, custom-state-face)
10875 (custom-comment-face, custom-comment-tag-face)
10876 (custom-variable-tag-face, custom-variable-button-face)
10877 (custom-face-tag-face, custom-group-tag-face-1)
10878 (custom-group-tag-face): Remove obsolete face alias.
10879
10880 * epa.el (epa-validity-high, epa-validity-medium)
10881 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10882 (epa-field-name, epa-field-body):
10883 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10884 (font-lock-keyword-face, font-lock-builtin-face)
10885 (font-lock-function-name-face, font-lock-variable-name-face)
10886 (font-lock-type-face, font-lock-constant-face):
10887 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10888 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10889 * speedbar.el (speedbar-button-face, speedbar-file-face)
10890 (speedbar-directory-face, speedbar-tag-face)
10891 (speedbar-selected-face, speedbar-highlight-face)
10892 (speedbar-separator-face):
10893 * whitespace.el (whitespace-newline, whitespace-space)
10894 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10895 (whitespace-line, whitespace-space-before-tab)
10896 (whitespace-space-after-tab, whitespace-indentation)
10897 (whitespace-empty):
10898 * emulation/cua-base.el (cua-global-mark):
10899 * eshell/em-prompt.el (eshell-prompt):
10900 * net/newst-plainview.el (newsticker-new-item-face)
10901 (newsticker-old-item-face, newsticker-immortal-item-face)
10902 (newsticker-obsolete-item-face, newsticker-date-face)
10903 (newsticker-statistics-face, newsticker-default-face):
10904 * net/newst-reader.el (newsticker-feed-face)
10905 (newsticker-extra-face, newsticker-enclosure-face):
10906 * net/newst-treeview.el (newsticker-treeview-face)
10907 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10908 (newsticker-treeview-immortal-face)
10909 (newsticker-treeview-obsolete-face)
10910 (newsticker-treeview-selection-face):
10911 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10912 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10913 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10914 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10915 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10916 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10917 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10918 (mpuz-text):
10919 * progmodes/vera-mode.el (vera-font-lock-number)
10920 (vera-font-lock-function, vera-font-lock-interface):
10921 * textmodes/table.el (table-cell): Use new-style face specs, and
10922 don't use the old :bold and :italic attributes.
10923
10924 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10925 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10926 (ebrowse-member-class, ebrowse-progress): Likewise.
10927 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10928 (ebrowse-file-name-face, ebrowse-default-face)
10929 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10930 (ebrowse-progress-face): Remove obsolete faces.
10931
10932 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10933 Inherit from error and warning faces respectively.
10934
10935 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10936 Likewise.
10937 (flyspell-incorrect-face, flyspell-duplicate-face):
10938 Remove obsolete aliases.
10939
10940 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10943 Avoid infloop.
10944
10945 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * startup.el (argv, argi): Make lexically scoped.
10948 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10949 * emacs-lisp/cl-macs.el: Use lexical-binding.
10950 Rename cl-bind-* to cl--bind-*.
10951 * files.el: Don't require `cl' since it doesn't use it.
10952 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10953
10954 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10955
10956 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10957 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10958 instead of calling external sort utility.
10959 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10960
10961 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10962
10963 * descr-text.el (describe-char): Mention how to insert the
10964 character, if the current input method doesn't support it.
10965 See the discussion in this thread for the details:
10966 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10967
10968 2012-06-08 Sam Steingold <sds@gnu.org>
10969
10970 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10971 XF86Back to previous-buffer.
10972 (minibuffer-local-map): Bind them to next-history-element and
10973 previous-history-element respectively.
10974 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10975 help-go-back respectively.
10976 * info.el (Info-mode-map): Bind them to Info-history-forward and
10977 Info-history-back respectively.
10978 These are the keys next to Up on the ThinkPad keyboard.
10979
10980 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10983 * emacs-lisp/cl-macs.el: Provide itself.
10984 (cl--labels-convert-cache): New var.
10985 (cl--labels-convert): New function.
10986 (cl-flet, cl-labels): New implementation with new semantics, relying on
10987 lexical-binding.
10988 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10989 (cl-closure-vars, cl--function-convert-cache)
10990 (cl--function-convert): Move from cl-macs.el.
10991 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10992 rename by removing the "cl-" prefix.
10993 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10994
10995 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10998 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10999 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11000 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11001 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11002 (cl-hash-table-count): Add old compatibility aliases.
11003
11004 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11005 Use macroexpand-all-environment instead.
11006 (cl--old-macroexpand): New var.
11007 (cl--sm-macroexpand): New function.
11008 (cl-symbol-macrolet): Use it during macro expansion.
11009 (cl--function-convert-cache): New var.
11010 (cl--function-convert): New function, extracted from
11011 cl-macroexpand-all.
11012 (cl-lexical-let): Use it.
11013
11014 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11015 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11016 (cl-member): Remove old alias.
11017
11018 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11019 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11020 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11021 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11022 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11023 (cl-macroexpand-cmacs): Remove var.
11024 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11025 Use macroexpand-all instead.
11026
11027 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11030 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11031 (macroexp-copyable-p): New functions and macros.
11032 * emacs-lisp/edebug.el (edebug-unwrap):
11033 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11034 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11035 (pcase--let*): Remove.
11036 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11037 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11038 macroexp-const-p instead.
11039 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11040
11041 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11042 instead of "cl-" for internal definitions. Use macroexp-const-p.
11043 (cl-old-bc-file-form): Remove var.
11044 (cl-const-exprs-p): Remove fun.
11045 (cl-labels, cl-macrolet): Use backquote.
11046 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11047 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11048 (cl-define-setf-expander): Rename from cl-define-setf-method.
11049 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11050
11051 * international/mule-cmds.el: Don't require CL.
11052 (view-hello-file): Don't use `letf'.
11053
11054 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11055
11056 * tmm.el (tmm-prompt): Use string-prefix-p.
11057 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11058 (tmm-add-prompt): Use minibuffer-completion-help.
11059 (tmm-delete-map): Remove.
11060
11061 * subr.el (kbd): Make it its own function.
11062
11063 2012-06-07 Stefan Merten <smerten@oekonux.de>
11064
11065 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11066 Silence compiler warnings. Fix versions.
11067 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11068 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11069 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11070 (rst-package-emacs-version-alist): Correct Emacs version to
11071 represent major merge with upstream.
11072 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11073
11074 2012-06-06 Glenn Morris <rgm@gnu.org>
11075
11076 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11077 Only print environment variables if set.
11078
11079 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11080
11081 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11082 (macroexp--cons): Rename from maybe-cons.
11083 (macroexp--accumulate): Rename from macroexp-accumulate.
11084 (macroexp--all-forms): Rename from macroexpand-all-forms.
11085 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11086 (macroexp--expand-all): Rename from macroexpand-all-1.
11087
11088 2012-06-06 Sam Steingold <sds@gnu.org>
11089
11090 * calendar/calendar.el (calendar-in-read-only-buffer):
11091 Call `special-mode' to enable the standard read-only keybindings.
11092
11093 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11096 with "loading" messages (bug#11635).
11097
11098 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11099
11100 * files.el (enable-remote-dir-locals): New option.
11101 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11102
11103 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11104 Ensure, that the temp directory is local.
11105
11106 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11107 `temporary-file-directory'.
11108
11109 * progmodes/python.el (python-send-region): Ensure, that the
11110 temporary file is created also in the remote case.
11111
11112 2012-06-06 Glenn Morris <rgm@gnu.org>
11113
11114 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11115 (vc-rcs-update-changelog): Use it.
11116
11117 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11118
11119 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11120 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11121 (vc-sccs-diff): Replace use of the external vcdiff script.
11122
11123 2012-06-05 Glenn Morris <rgm@gnu.org>
11124
11125 * ledit.el: Move to obsolete/.
11126
11127 2012-06-05 Sam Steingold <sds@gnu.org>
11128
11129 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11130 patch (Bug#11140).
11131
11132 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * emacs-lisp/cust-print.el: Move to obsolete.
11135
11136 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11137 compiler-macro expansion.
11138
11139 Add native compiler-macro support.
11140 * emacs-lisp/macroexp.el (macroexpand-all-1):
11141 Support compiler-macros directly. Properly follow aliases and apply
11142 the compiler macros more thoroughly.
11143 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11144 macroexpand now properly follows aliases.
11145 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11146 (cl-compiler-macroexpand): Use new prop.
11147 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11148
11149 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11150
11151 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11152
11153 * window.el (get-lru-window, get-mru-window, get-largest-window):
11154 New argument NOT-SELECTED to avoid picking the selected window.
11155 (window--display-buffer-1, window--display-buffer-2): Replace by
11156 new function window--display-buffer
11157 (display-buffer-same-window, display-buffer-reuse-window)
11158 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11159 Use window--display-buffer.
11160 (display-buffer-use-some-window): Remove temporary dedication
11161 hack by calling get-lru-window and get-largest-window with
11162 NOT-SELECTED argument non-nil. Call window--display-buffer.
11163
11164 2012-06-05 Glenn Morris <rgm@gnu.org>
11165
11166 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11167 Replace external vcdiff script.
11168
11169 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11172
11173 2012-06-04 Chong Yidong <cyd@gnu.org>
11174
11175 * image.el (imagemagick-types-inhibit): Revert last change.
11176 Add INFO and M.
11177 (imagemagick-enabled-types): Remove CIN and EPS*.
11178
11179 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * emacs-lisp/cl-lib.el: Rename from cl.el.
11182 * emacs-lisp/cl.el: New compatibility file.
11183 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11184 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11185 to obey the "cl-" prefix.
11186 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11187
11188 2012-06-03 Glenn Morris <rgm@gnu.org>
11189
11190 * emacs-lisp/authors.el (authors-aliases): Addition.
11191
11192 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11193 Fix :version.
11194
11195 2012-06-03 Stefan Merten <smerten@oekonux.de>
11196
11197 * textmodes/rst.el: Add comments.
11198 (rst-transition, rst-adornment): New faces.
11199 (rst-adornment-faces-alist): Make default safe to reevaluate.
11200 Fixes
11201 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11202 Improve customization tags.
11203 (rst-define-level-faces): Clarify meaning.
11204
11205 2012-06-03 Chong Yidong <cyd@gnu.org>
11206
11207 * progmodes/compile.el (compilation-mode-line-fail)
11208 (compilation-mode-line-run, compilation-mode-line-exit):
11209 New faces.
11210 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11211
11212 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11213
11214 * progmodes/which-func.el (which-func-update-ediff-windows):
11215 New function. Use it in ediff-select-hook (Bug#11478).
11216
11217 2012-06-03 Chong Yidong <cyd@gnu.org>
11218
11219 * bindings.el: Remove explicit help text from format-mode-line.
11220 It is now supplied by mode-line-default-help-echo.
11221 (mode-line-front-space, mode-line-end-spaces)
11222 (mode-line-misc-info): New variables.
11223 (mode-line-modes, mode-line-position): Move the default value to
11224 the variable definition.
11225 (mode-line-default-help-echo): New defcustom.
11226 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11227 (mode-line-modified-help-echo): New functions.
11228 (mode-line-mule-info, mode-line-modified): Use them.
11229 (mode-line-eol-desc, propertized-buffer-identification):
11230 Consistency fixes for help text.
11231 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11232 set-buffer-file-coding-system (Bug#289).
11233 (mode-line-mule-info-help-echo): Update help text.
11234
11235 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * simple.el (execute-extended-command): Set real-this-command
11238 (bug#11506).
11239
11240 2012-06-02 Chong Yidong <cyd@gnu.org>
11241
11242 Remove incorrect uses of "modeline" in comments, docstrings, and
11243 function/variable names (Bug#10329).
11244
11245 * cus-edit.el (mode-line):
11246 * dframe.el (dframe-mouse-hscroll):
11247 * emacs-lisp/re-builder.el:
11248 * emacs-lisp/easy-mmode.el (define-minor-mode):
11249 * frame.el (set-frame-name):
11250 * help.el (lookup-minor-mode-from-indicator):
11251 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11252 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11253 (c-toggle-hungry-state):
11254 * progmodes/antlr-mode.el (antlr-language-alist):
11255 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11256 * progmodes/vhdl-mode.el (vhdl-mode):
11257 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11258 * term/ns-win.el (ns-face-at-pos):
11259 * term/sup-mouse.el (sup-mouse-report):
11260 * textmodes/flyspell.el (flyspell-mode-line-string):
11261 * textmodes/ispell.el (ispell-highlight-face):
11262 * textmodes/reftex-global.el:
11263 * vc/vc-arch.el (vc-arch-mode-line-string):
11264 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11265 * vc/vc-git.el (vc-git-mode-line-string):
11266 * vc/vc-hooks.el (vc-display-status)
11267 (vc-default-mode-line-string):
11268 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11269
11270 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11271
11272 * dired.el (dired-sort-set-mode-line): Rename from
11273 dired-sort-set-modeline. All callers changed.
11274
11275 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11276 eshell-status-in-modeline.
11277
11278 * foldout.el (foldout-mode-line-string): Rename from
11279 foldout-modeline-string. All callers changed.
11280 (foldout-update-mode-line): Rename from foldout-update-modeline.
11281
11282 * subr.el (redraw-modeline): Make into obsolete alias.
11283
11284 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11285 timeclock-modeline-display. Make old name an alias.
11286 (timeclock-update-mode-line): Likewise. All callers changed.
11287 (timeclock-mode-line-display): No need to check before using
11288 add-hook.
11289 (timeclock-relative, timeclock-day-over-hook)
11290 (timeclock-use-elapsed, timeclock-mode-string)
11291 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11292
11293 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11294 crisp-mode-modeline-string.
11295
11296 * play/solitaire.el (solitaire-build-mode-line): Rename from
11297 solitaire-build-modeline. All callers changed.
11298
11299 * play/zone.el (zone-hiding-mode-line): Rename from
11300 zone-hiding-modeline. All callers changed.
11301 (zone): Remove unusued `modeline-hidden-level' property.
11302
11303 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11304 xscheme-modeline-initialize. All callers changed.
11305
11306 * strokes.el (strokes-lighter): Rename from
11307 strokes-modeline-string.
11308
11309 * textmodes/sgml-mode.el (html-face-tag-alist)
11310 (html-tag-face-alist): Use mode-line face instead of obsolete
11311 alias modeline.
11312
11313 2012-06-02 Stefan Merten <smerten@oekonux.de>
11314
11315 * textmodes/rst.el: Always require `cl'.
11316 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11317
11318 2012-06-02 Chong Yidong <cyd@gnu.org>
11319
11320 * image.el (imagemagick-enabled-types): Rename from
11321 imagemagick-types-enable. Add many more types.
11322 (imagemagick-types-inhibit): Change default to nil.
11323 (imagemagick-filter-types): Caller changed.
11324
11325 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11326
11327 * emacs-lisp/cl-macs.el: Use backquotes.
11328 (cl-transform-function-property): Use eval-and-compile rather than
11329 abusing `require'.
11330 (defstruct): Use declare-function instead of with-no-warnings.
11331
11332 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11333 (byte-compile-output-docform): Re-add the print-circle bindings.
11334 (byte-compile-fix-header): Use #$ just because it's shorter.
11335 (byte-compile-output-file-form): Remove defun/defmacro.
11336
11337 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11338
11339 * simple.el (choose-completion): Remove now obsolete binding for
11340 owindow.
11341
11342 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11343
11344 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11345 in order to avoid "Stack overflow in regexp matcher".
11346
11347 2012-05-31 Glenn Morris <rgm@gnu.org>
11348
11349 * image.el: For clarity, call imagemagick-register-types at
11350 top-level, rather than relying on a custom :initialize.
11351 (imagemagick-types-enable): New option. (Bug#11557)
11352 (imagemagick-filter-types): New function. (Bug#7406)
11353 (imagemagick-register-types): Use imagemagick-filter-types.
11354 If disabling support, remove elements altogether rather
11355 than using an impossible regexp.
11356 (imagemagick-types-inhibit): Give it the default init function.
11357
11358 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11361 Handle arbitrary file name lengths (Bug#11585).
11362
11363 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11364
11365 * desktop.el (desktop-read): Clear previous and next buffers for
11366 all windows and bury *Messages* buffer (bug#11556).
11367
11368 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 Add `declare' for `defun'. Align `defmacro's with it.
11371 * emacs-lisp/easy-mmode.el (define-minor-mode)
11372 (define-globalized-minor-mode): Don't autoload the var definitions.
11373 * emacs-lisp/byte-run.el: Use lexical-binding.
11374 (defun-declarations-alist, macro-declarations-alist): New vars.
11375 (defmacro, defun): Use them.
11376 (make-obsolete, define-obsolete-function-alias)
11377 (make-obsolete-variable, define-obsolete-variable-alias):
11378 Use `declare'.
11379 (macro-declaration-function): Mark obsolete.
11380 * emacs-lisp/autoload.el: Use lexical-binding.
11381 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11382
11383 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11384
11385 * textmodes/ispell.el (ispell-with-no-warnings):
11386 Define as a macro.
11387 (ispell-kill-ispell, ispell-change-dictionary):
11388 Use `called-interactively-p' for Emacs instead of obsolete
11389 `interactive-p'.
11390
11391 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11394 (macro-declaration-function): Move var from C code.
11395 (macro-declaration-function): Define function with defalias.
11396 * emacs-lisp/macroexp.el (macroexpand-all-1):
11397 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11398 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11399 defun/defmacro any more.
11400 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11401 Provide fallback for unknown arglist.
11402 (byte-compile-arglist-warn): Change calling convention.
11403 (byte-compile-output-file-form): Move print-vars binding.
11404 (byte-compile-output-docform): Simplify accordingly.
11405 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11406 (byte-compile-defmacro-declaration): Remove.
11407 (byte-compile-file-form-defmumble): Generalize to defalias.
11408 (byte-compile-output-as-comment): Return byte-positions.
11409 Simplify callers accordingly.
11410 (byte-compile-lambda): Use `assert'.
11411 (byte-compile-defun, byte-compile-defmacro): Remove.
11412 (byte-compile-file-form-defalias):
11413 Use byte-compile-file-form-defmumble.
11414 (byte-compile-defalias-warn): Remove.
11415
11416 2012-05-29 Stefan Merten <smerten@oekonux.de>
11417
11418 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11419 possible. Fix authors. Improve comments. Improve loading of `cl'.
11420
11421 (rst-mode-abbrev-table): Merge definition.
11422 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11423 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11424
11425 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11426
11427 * calendar/icalendar.el
11428 (icalendar-export-region): Export UID properly.
11429
11430 2012-05-29 Leo Liu <sdl.web@gmail.com>
11431 * calendar/icalendar.el (icalendar-import-format):
11432 Add `icalendar-import-format-uid' (Bug#11525).
11433 (icalendar-import-format-uid): New.
11434 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11435 Export UID.
11436
11437 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11440 different alternative patterns.
11441 (pcase-codegen): Be more careful to preserve identity.
11442 (pcase--u1): Don't forget to mark vars as used.
11443
11444 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11445 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11446 (byte-compile-from-buffer): ...rather than here.
11447
11448 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11449 functions from byte-compile-function-environment.
11450
11451 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11452
11453 * window.el (window-deletable-p): Avoid deleting the root window
11454 of a frame with an active minibuffer.
11455
11456 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11457
11458 * simple.el (choose-completion): Use quit-window (Bug#11567).
11459
11460 2012-05-29 Chong Yidong <cyd@gnu.org>
11461
11462 * whitespace.el (whitespace-cleanup): Fix usage of
11463 whitespace-empty-at-bob-regexp (Bug#11492).
11464
11465 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11466
11467 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11468 revert (Bug#11488).
11469
11470 2012-05-29 Juri Linkov <juri@jurta.org>
11471
11472 * isearch.el (isearch-mode-map): Bind `M-s _' to
11473 `isearch-toggle-symbol'. Bind `M-s c' to
11474 `isearch-toggle-case-fold'.
11475 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11476 (isearch-forward): Add `M-s _' to the docstring.
11477 (isearch-forward-symbol, isearch-toggle-case-fold)
11478 (isearch-symbol-regexp): New functions. (Bug#11381)
11479
11480 2012-05-29 Juri Linkov <juri@jurta.org>
11481
11482 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11483 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11484 a function, call it to get the regexp.
11485 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11486 property `isearch-message-prefix' instead of the string "word ".
11487 (isearch-search-fun-default): For the case of `isearch-word',
11488 return a lambda that calls re-search-forward/re-search-backward
11489 with a regexp returned by `word-search-regexp' or by the function
11490 in `isearch-word'.
11491
11492 2012-05-29 Juri Linkov <juri@jurta.org>
11493
11494 * isearch.el (isearch-search-fun-default): New function.
11495 (isearch-search-fun): Move default part to the new function
11496 `isearch-search-fun-default'.
11497 (isearch-search-fun-function): Set the default value to
11498 `isearch-search-fun-default'. (Bug#11381)
11499
11500 * comint.el (comint-history-isearch-end):
11501 Use `isearch-search-fun-default'.
11502 (comint-history-isearch-search): Use `isearch-search-fun-default'
11503 and remove spacial case for `isearch-word'.
11504 (comint-history-isearch-wrap): Remove spacial case for
11505 `isearch-word'.
11506
11507 * hexl.el (hexl-isearch-search-function):
11508 Use `isearch-search-fun-default'.
11509
11510 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11511 Use `word-search-regexp' for `isearch-word'.
11512
11513 * misearch.el (multi-isearch-search-fun):
11514 Use `isearch-search-fun-default'.
11515
11516 * simple.el (minibuffer-history-isearch-search):
11517 Use `isearch-search-fun-default' and remove spacial case for
11518 `isearch-word'.
11519 (minibuffer-history-isearch-wrap): Remove spacial case for
11520 `isearch-word'.
11521
11522 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11523 Remove spacial case for `isearch-word'.
11524 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11525
11526 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11527
11528 Decrease XEmacs incompatibilities.
11529 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11530 Use `string-match'.
11531 (flyspell-delete-region-overlays): Use alternative definition for
11532 XEmacs.
11533 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11534 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11535 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11536 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11537 `define-obsolete-face-alias' under XEmacs, but old method.
11538
11539 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11540 `with-no-warnings' definition or Emacs alias.
11541 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11542 (ispell-word): Do not use `region-p' if XEmacs.
11543
11544 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11545
11546 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11547 Check for `ispell-dictionary-base-alist' instead of full
11548 `ispell-dictionary-alist'.
11549 (ispell-init-process): Show spellchecker when starting new Ispell
11550 process.
11551
11552 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11555 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11556
11557 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11558
11559 * version.el (motif-version-string, gtk-version-string)
11560 (ns-version-string): Declare.
11561
11562 2012-05-27 Juri Linkov <juri@jurta.org>
11563
11564 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11565 after the `eval-defun-1' specialcaseing
11566 like in `edebug-eval-defun' (bug#10181).
11567
11568 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11569 like in `eval-defun-1'.
11570
11571 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11572
11573 * mail/sendmail.el (mail-yank-region):
11574 Recognize rmail-yank-current-message in addition to insert-buffer.
11575 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11576 a *mail* buffer created through rmail-start-mail with sendmail as
11577 mail-user-agent.
11578
11579 2012-05-27 Chong Yidong <cyd@gnu.org>
11580
11581 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11582 Default to 256 (Bug#11267).
11583
11584 * help.el (describe-mode): Doc fix.
11585
11586 2012-05-26 Glenn Morris <rgm@gnu.org>
11587
11588 * w32-fns.el (w32-init-info): Remove.
11589 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11590
11591 * info.el (info-initialize): For self-contained NS builds, put the
11592 included info/ directory at the front. (Bug#2791)
11593
11594 * paths.el (Info-default-directory-list): Make it a defcustom,
11595 mainly so that we can use custom-initialize-delay.
11596
11597 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 * subr.el (buffer-has-markers-at): Mark obsolete.
11600
11601 * subr.el (lambda): Use declare.
11602
11603 * emacs-lisp/lisp-mode.el (lambda):
11604 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11605
11606 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11607
11608 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11609
11610 2012-05-26 Glenn Morris <rgm@gnu.org>
11611
11612 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11613
11614 2012-05-25 Glenn Morris <rgm@gnu.org>
11615
11616 * paths.el: Remove no-byte-compile.
11617 * loadup.el: No need to load paths.el uncompiled.
11618
11619 * image.el (imagemagick-types-inhibit): Doc fix.
11620
11621 * version.el: Remove no-byte-compile and associated formatting.
11622 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11623 is ancient code from when there was an "inc-vers.el".
11624
11625 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * progmodes/gdb-mi.el: Minor style changes.
11628 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11629 Turn into minor modes.
11630 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11631 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11632 (gdb-shell): Remove unneeded let-binding.
11633 (gdb-get-many-fields): Eliminate O(n²) behavior.
11634
11635 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11636
11637 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11638 platforms that don't link in fontset.c.
11639
11640 2012-05-25 Juri Linkov <juri@jurta.org>
11641
11642 Use the same diff color scheme as in modern VCSes (bug#10181).
11643
11644 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11645 to avoid confusion with `diff-added' that now uses green colors.
11646 (diff-removed): Use shades of red.
11647 (diff-added): Use shades of green.
11648 (diff-changed): Leave just the yellow color.
11649 (diff-use-changed-face): New variable.
11650 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11651 how to highlight context diff changes.
11652 (diff-refine-change): Use shades of yellow.
11653 (diff-refine-removed): New face that uses shades of red.
11654 (diff-refine-added): New face that uses shades of green.
11655 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11656 `diff-refine-removed' in the call to `smerge-refine-subst'
11657 depending on the value of `diff-use-changed-face'.
11658
11659 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11660 (smerge-other): Use shades of green.
11661 (smerge-base): Use shades of yellow.
11662 (smerge-refined-change): Empty face.
11663 (smerge-refined-removed): New face that uses shades of red.
11664 (smerge-refined-added): New face that uses shades of green.
11665 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11666 args `props-r' and `props-a', and use them. Doc fix.
11667 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11668 on its value use different faces `smerge-refined-change',
11669 `smerge-refined-removed', `smerge-refined-added' in the call to
11670 `smerge-refine-subst'.
11671
11672 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11673 Add face condition `min-colors 88' with shades of red.
11674 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11675 `min-colors 88' with shades of green.
11676 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11677 `min-colors 88' with shades of yellow.
11678
11679 2012-05-24 Glenn Morris <rgm@gnu.org>
11680
11681 * paths.el (prune-directory-list, remote-shell-program): Move to...
11682 * files.el (prune-directory-list, remote-shell-program): ...here.
11683 For the latter, delay initialization, prefer ssh, just search PATH.
11684
11685 * paths.el (term-file-prefix): Move to faces.el (the only user).
11686 * faces.el (term-file-prefix): Move here, make it a defcustom.
11687
11688 * paths.el (news-directory, news-path, news-inews-program):
11689 Move to gnus/nnspool.el.
11690
11691 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11692
11693 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11694 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11695 Make the latter a defcustom, with a delayed initialization.
11696
11697 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11698 These were deleted from Gnus itself late 2010.
11699
11700 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * progmodes/which-func.el (which-func-ff-hook):
11703 Check against user-error, not error.
11704
11705 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11706 cl-specs.el, which no longer exists.
11707
11708 2012-05-22 Glenn Morris <rgm@gnu.org>
11709
11710 * info.el (info-emacs-bug): New command.
11711 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11712 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11713
11714 2012-05-21 Glenn Morris <rgm@gnu.org>
11715
11716 * makefile.w32-in (update-subdirs-SH):
11717 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11718
11719 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11722
11723 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11724 Simplify Maven regexp, and make sure the file can't start with a space
11725 (bug#11517).
11726
11727 2012-05-21 Glenn Morris <rgm@gnu.org>
11728
11729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11730 Scrap superfluous subshells.
11731
11732 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11733
11734 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11735 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11736
11737 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11738
11739 * calc/calc.el (calc-ensure-consistent-units): New variable.
11740
11741 * calc/calc-units.el (math-consistent-units-p)
11742 (math-check-unit-consistency): New functions.
11743 (calc-quick-units, calc-convert-units):
11744 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11745 is non-nil.
11746 (calc-extract-units): Fix typo.
11747
11748 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11751
11752 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11753 (flyspell-default-deplacement-commands): Don't spell check after
11754 repeated window/frame switches (e.g. triggered by mouse-movement).
11755 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11756 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11757 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11758 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11759 Remove unused vars.
11760 (flyspell-get-casechars, flyspell-get-not-casechars):
11761 Simplify; Don't bother removing a ] just to add it back.
11762 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11763
11764 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11765
11766 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11767 New functions.
11768 (math-function-table): Add support for more C functions.
11769
11770 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11771
11772 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11773 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11774 Protect delay handling for otherchars against empty otherchars.
11775
11776 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11779 their respective macro declarations.
11780 * skeleton.el (define-skeleton):
11781 * progmodes/compile.el (define-compilation-mode):
11782 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11783 (define-ibuffer-filter):
11784 * emacs-lisp/generic.el (define-generic-mode):
11785 * emacs-lisp/easy-mmode.el (define-minor-mode)
11786 (define-globalized-minor-mode):
11787 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11788 * emacs-lisp/byte-run.el (defsubst):
11789 * custom.el (deftheme): Add doc-string metadata.
11790
11791 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11794
11795 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11798
11799 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11800 * emacs-lisp/cl-macs.el: Idem.
11801 * emacs-lisp/cl-specs.el: Remove.
11802
11803 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 Minor renaming of internal CL functions and variables.
11806 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11807 (cl--position): Rename from cl-position.
11808 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11809 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11810 (cl--random-state): Rename from *random-state*.
11811
11812 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11815 parens around the arg list (bug#11499).
11816
11817 2012-05-17 Juri Linkov <juri@jurta.org>
11818
11819 * isearch.el (word-search-regexp, word-search-backward)
11820 (word-search-forward, word-search-backward-lax)
11821 (word-search-forward-lax): Move functions from search.c
11822 (bug#10145, bug#11381).
11823
11824 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11825
11826 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11827 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11828 Delay for otherchars as for normal word components.
11829
11830 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * minibuffer.el (completion--sifn-requote): Fix last change.
11833 (minibuffer-local-must-match-filename-map):
11834 Move define-obsolete-variable-alias before its var.
11835
11836 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11839
11840 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11841 behavior.
11842 (completion--string-equal-p): New function.
11843 (completion--twq-all): Use it to get better assertion failure data.
11844
11845 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11846 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11847 (shell--requote-argument): New functions.
11848 (shell-completion-vars): Use them.
11849 (shell--parse-pcomplete-arguments): Rename from
11850 shell-parse-pcomplete-arguments.
11851 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11852 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11853 Obey comint-file-name-quote-list.
11854
11855 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11856 (smie-indent-keyword): Use it.
11857
11858 2012-05-14 Stefan Merten <smerten@oekonux.de>
11859
11860 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11861
11862 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * net/rlogin.el (rlogin-mode-map): Fix last change.
11865
11866 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11867
11868 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11869 the following \r\n using a single `process-send-string', since the
11870 Lotus SMTP server refuses to accept any commands if they are sent
11871 with two `process-send-string's (Bug#11444).
11872
11873 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * shell.el (shell-parse-pcomplete-arguments):
11876 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11877
11878 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11879
11880 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11881 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11882 (image-transform-width, image-transform-fit-width): New functions.
11883 (image-transform-properties): Use them.
11884 (image-transform-check-size): New function.
11885 (image-toggle-display-image): Use it (for testing).
11886 (image-transform-set-rotation): Reduce angle mod 360.
11887 Delete obsolete comment.
11888
11889 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11890
11891 * image-mode.el: Fix scaling (bug#11399).
11892 (image-transform-resize): Doc fix.
11893 (image-transform-properties): Default scale is 1 and height should
11894 be an integer.
11895
11896 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11897
11898 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11899 than hard-coding `car', to fix misbehavior when moving forward.
11900
11901 2012-05-13 Chong Yidong <cyd@gnu.org>
11902
11903 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11904 (tabulated-list-entries, tabulated-list-padding)
11905 (tabulated-list-sort-key): Make permanent-local.
11906
11907 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11908 (electric-buffer-list): Put electric buffer menu
11909 command descriptions in this docstring, instead of the docstring
11910 of electric-buffer-menu-mode. Code cleanups.
11911 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11912 Electric-buffer-menu-mode.
11913 (electric-buffer-update-highlight): Minor code cleanup.
11914
11915 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11916
11917 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11918 (Bug#11447)
11919
11920 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 Move define-obsolete-variable-alias before the var's definition.
11923 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11924 * tooltip.el (tooltip-hook):
11925 * textmodes/reftex-toc.el (reftex-toc-map):
11926 * textmodes/reftex-sel.el (reftex-select-label-map)
11927 (reftex-select-bib-map):
11928 * textmodes/reftex-index.el (reftex-index-map)
11929 (reftex-index-phrases-map):
11930 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11931 * progmodes/meta-mode.el (meta-mode-map):
11932 * novice.el (disabled-command-hook):
11933 * loadhist.el (unload-hook-features-list):
11934 * frame.el (blink-cursor):
11935 * files.el (find-file-not-found-hooks, write-file-hooks)
11936 (write-contents-hooks):
11937 * emulation/tpu-edt.el (GOLD-map):
11938 * emacs-lock.el (emacs-lock-from-exiting):
11939 * emacs-lisp/generic.el (generic-font-lock-defaults):
11940 * emacs-lisp/chart.el (chart-map):
11941 * dos-fns.el (register-name-alist):
11942 * dired-x.el (dired-omit-files-p):
11943 * desktop.el (desktop-enable):
11944 * cus-edit.el (custom-mode-hook):
11945 * buff-menu.el (buffer-menu-mode-hook):
11946 * bookmark.el (bookmark-read-annotation-text-func)
11947 (bookmark-exit-hooks):
11948 * allout.el (allout-mode-deactivate-hook)
11949 (allout-exposure-change-hook, allout-structure-added-hook)
11950 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11951 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11952 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11953 comes before the corresponding variable's definition.
11954
11955 2012-05-12 Chong Yidong <cyd@gnu.org>
11956
11957 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11958 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11959 (Buffer-menu-mode-map): Bind it.
11960 (Buffer-menu--pretty-name): Add a mouse-face property.
11961
11962 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11965 (prolog-upper-case-string, prolog-lower-case-string)
11966 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11967 (prolog-use-smie, prolog-smie-grammar): New vars.
11968 (prolog-smie-forward-token, prolog-smie-backward-token)
11969 (prolog-smie-rules): New funs.
11970 (prolog-comment-indent): Remove.
11971 (prolog-mode-variables): Use default comment indentation instead.
11972 Setup SMIE.
11973 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11974 (prolog-mode): Don't call them any more.
11975 (prolog-electric-colon, prolog-electric-dash)
11976 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11977
11978 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11979
11980 * minibuffer.el (completion--twq-all): Again, allow case differences.
11981
11982 * term.el: Move keymap initialization code to be more idiomatic.
11983 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11984 (term-terminal-menu): Move initialization into declaration.
11985 (term-escape-char): Let the user set it in her .emacs.
11986
11987 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11988 Provide SMIE-based indentation (not enabled by default yet).
11989 (sh-mode-map): Don't bind electric keys.
11990 Use electric-pair-mode instead of skeleton-pair.
11991 (sh-assignment-regexp): Fit within 80 columns.
11992 (sh-indent-supported): Specify actual shell name instead of boolean.
11993 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11994 (sh-maybe-here-document): Use it. Make obsolete.
11995 (sh-electric-here-document-mode) New minor mode.
11996 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11997 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11998 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11999 (sh-smie-rc-grammar, sh-use-smie): New vars.
12000 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12001 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12002 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12003 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12004 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12005 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12006 (sh-set-shell): Use smie-setup if requested.
12007
12008 * term.el (term-set-escape-char): Properly set term-escape-char.
12009 See http://stackoverflow.com/questions/10524656.
12010
12011 2012-05-10 Chong Yidong <cyd@gnu.org>
12012
12013 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12014 Use url-generic-parse-url, and handle host names and Windows
12015 filenames properly.
12016 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12017 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12018 URL schemes to work on.
12019 (ffap--toggle-read-only): New function.
12020 (ffap-read-only, ffap-read-only-other-window)
12021 (ffap-read-only-other-frame): Use it.
12022 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12023 necessary for ffap-url-unwrap-remote.
12024
12025 2012-05-10 Dave Abrahams <dave@boostpro.com>
12026
12027 * cus-start.el (create-lockfiles): Add it.
12028
12029 2012-05-09 Chong Yidong <cyd@gnu.org>
12030
12031 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12032 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12033
12034 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12037
12038 2012-05-09 Chong Yidong <cyd@gnu.org>
12039
12040 * ansi-color.el (ansi-color-process-output): Check for validity of
12041 comint-last-output-start before using it. This avoids a bad
12042 interaction with gdb-mi's input/output buffer.
12043
12044 2012-05-09 Glenn Morris <rgm@gnu.org>
12045
12046 * files.el (dir-locals-read-from-file):
12047 Mention dir-locals in any error message.
12048
12049 2012-05-09 Chong Yidong <cyd@gnu.org>
12050
12051 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12052 package (Bug#11410).
12053
12054 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12055 variables into description.
12056
12057 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12060 shell-delimiter-argument-list (bug#11348).
12061 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12062
12063 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12064
12065 * textmodes/rst.el: Silence byte-compiler warnings.
12066 (rst-re-alist, rst-reset-section-caches): Move around.
12067 (rst-re): Use `characterp', not `char-valid-p'.
12068 (font-lock-beg, font-lock-end): Declare.
12069
12070 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12071 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12072
12073 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12074
12075 2012-05-08 Glenn Morris <rgm@gnu.org>
12076
12077 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12078
12079 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * vc/log-edit.el: Add GNU coding standards highlighting.
12082 (log-edit-font-lock-gnu-style)
12083 (log-edit-font-lock-gnu-keywords): New vars.
12084 (log-edit-font-lock-keywords): New fun.
12085 (log-edit-mode): Don't fold case in font-lock.
12086 (log-edit-font-lock-keywords): Do not assume case-folding.
12087
12088 * imenu.el: Misc cleanup. Make docstrings out of comments.
12089 Use lexical-binding.
12090 (imenu--index-alist, imenu--last-menubar-index-alist)
12091 (imenu-menubar-modified-tick): Use defvar-local.
12092 (imenu--split-menu): Remove unused var.
12093 (imenu--cleanup-seen): Declare as global.
12094 (imenu--cleanup): Use dolist.
12095
12096 * subr.el (defvar-local): Add debug spec and doc-string position.
12097
12098 2012-05-08 Glenn Morris <rgm@gnu.org>
12099
12100 * language/burmese.el, language/cham.el, language/czech.el:
12101 * language/english.el, language/georgian.el, language/greek.el:
12102 * language/japanese.el, language/khmer.el, language/korean.el:
12103 * language/lao.el, language/misc-lang.el, language/romanian.el:
12104 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12105 * language/thai.el, language/utf-8-lang.el:
12106 Remove no-byte-compile setting.
12107
12108 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12109
12110 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12111
12112 * progmodes/make-mode.el (makefile-browse):
12113 Remove unnecessary interactive. (Bug#11324)
12114
12115 2012-05-07 Glenn Morris <rgm@gnu.org>
12116
12117 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12118
12119 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12120
12121 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * loadup.el: Preload newcomment.el.
12124 * newcomment.el: Move autoload-only code to toplevel.
12125
12126 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12127 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12128 Handle new :right-align column property.
12129 (tabulated-list-print-col): Idem, plus use `display' text-property to
12130 try and preserve alignment for variable pitch fonts.
12131
12132 2012-05-07 Chong Yidong <cyd@gnu.org>
12133
12134 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12135 (tabulated-list-use-header-line): New var.
12136 (tabulated-list-init-header): Use it.
12137 (tabulated-list-print-fake-header): New function.
12138 (tabulated-list-print): Use it.
12139 (tabulated-list-sort-button-map): Add non-header-line commands.
12140 (tabulated-list-init-header): Add column name property to basic
12141 labels as well.
12142 (tabulated-list-col-sort): Handle non-header-line button case.
12143 (tabulated-list--sort-by-column-name): Fix a corner case.
12144
12145 * buff-menu.el (list-buffers--refresh):
12146 Handle Buffer-menu-use-header-line.
12147
12148 2012-05-06 Chong Yidong <cyd@gnu.org>
12149
12150 * buff-menu.el: Convert to Tabulated List mode.
12151 (Buffer-menu-buffer+size-width): Make obsolete.
12152 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12153 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12154 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12155 documentation into docstring of buffer-menu.
12156 (Buffer-menu-toggle-files-only): Add an informative message.
12157 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12158 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12159 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12160 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12161 (Buffer-menu-execute, Buffer-menu-select)
12162 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12163 (Buffer-menu-bury): Use Tabulated List machinery.
12164 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12165 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12166 Delete.
12167 (list-buffers--refresh): New function.
12168 (list-buffers-noselect): Use it.
12169 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12170 (Buffer-menu--pretty-file-name): New helper functions.
12171
12172 * loadup.el: Preload tabulated-list.
12173
12174 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12175 tabulated-list-sort-column.
12176 (tabulated-list-init-header): Add the initial aligning space even
12177 if tabulated-list-padding is zero.
12178
12179 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12180
12181 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12182 whose cdr is not a cons cell correctly (bug#11038).
12183
12184 2012-05-06 Chong Yidong <cyd@gnu.org>
12185
12186 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12187 Accept additional plist in column descriptors.
12188 (tabulated-list-init-header): Obey it.
12189 (tabulated-list-get-entry): New function.
12190 (tabulated-list-put-tag): Use it. Use string-width instead of
12191 length.
12192 (tabulated-list--column-number): New function.
12193 (tabulated-list-print): Use it.
12194 (tabulated-list-print-col): New function.
12195 Set `tabulated-list-column-name' property on each column's text.
12196 (tabulated-list-print-entry): Use it.
12197 (tabulated-list-delete-entry, tabulated-list-set-col):
12198 New functions.
12199 (tabulated-list-sort-column): New command (Bug#11337).
12200
12201 * buff-menu.el (list-buffers): Move C-x C-b binding from
12202 buff-menu.el to bindings.el.
12203
12204 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12205 :advertised-binding feature.
12206
12207 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12208
12209 * progmodes/compile.el (compilation-internal-error-properties):
12210 Calculate start position correctly when end-col is set but
12211 end-line is not (Bug#11382).
12212
12213 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12214
12215 * man.el (Man-unindent): Use text-property-default-nonsticky to
12216 prevent untabify from inheriting face properties (Bug#11408).
12217
12218 2012-05-05 Stefan Merten <smerten@oekonux.de>
12219
12220 * textmodes/rst.el: Major merge with upstream development up to
12221 Docutils SVN r7399 / rst.el V1.2.1.
12222
12223 Clarify maintainership and authors.
12224
12225 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12226 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12227 (rst-official-version, rst-official-cvs-rev, rst-version)
12228 (rst-package-emacs-version-alist): New functions and variables
12229 for version information.
12230
12231 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12232 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12233 (rst-mode-syntax-table, rst-mode): New and corrected functions
12234 and variables representing reStructuredText features.
12235
12236 (rst-re): New function for reStructuredText regexes. Use in
12237 many places.
12238
12239 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12240 (rst-mode-map): Rebind keys.
12241
12242 (rst-mode-lazy, rst-font-lock-keywords)
12243 (rst-font-lock-extend-region)
12244 (rst-font-lock-extend-region-internal)
12245 (rst-font-lock-extend-region-extend)
12246 (rst-font-lock-find-unindented-line-limit)
12247 (rst-font-lock-find-unindented-line-match)
12248 (rst-adornment-level, rst-font-lock-adornment-level)
12249 (rst-font-lock-adornment-match)
12250 (rst-font-lock-handle-adornment-pre-match-form)
12251 (rst-font-lock-handle-adornment-matcher): Major revision of
12252 font-locking. Integrate with other code. Use `jit-lock-mode'.
12253
12254 (rst-preferred-adornments, rst-adjust-hook)
12255 (rst-new-adornment-down, rst-preferred-bullets)
12256 (rst-preferred-bullets, rst-indent, rst-indent-width)
12257 (rst-indent-field, rst-indent-literal-normal)
12258 (rst-indent-literal-minimized, rst-indent-comment): Change,
12259 extend and improve customization.
12260
12261 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12262 (rst-normalize-cursor-position, rst-get-decoration)
12263 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12264 (rst-rstrip, rst-toc-insert-find-delete-contents)
12265 (rst-shift-fill-region, rst-compute-bullet-tabs)
12266 (rst-debug-print-tabs, rst-debug-mark-found)
12267 (rst-shift-region-guts, rst-shift-region-right)
12268 (rst-shift-region-left, rst-use-char-classes)
12269 (rst-font-lock-keywords-function)
12270 (rst-font-lock-indentation-point)
12271 (rst-font-lock-find-unindented-line-begin)
12272 (rst-font-lock-find-unindented-line-end)
12273 (rst-font-lock-find-unindented-line)
12274 (rst-font-lock-adornment-point, rst-font-lock-level)
12275 (rst-adornment-level-alist): Remove functions and variables.
12276
12277 (rst-compare-adornments, rst-get-adornment-match)
12278 (rst-suggest-new-adornment, rst-get-adornments-around)
12279 (rst-adornment-complete-p, rst-get-next-adornment)
12280 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12281 (rst-straighten-adornments): Standardize function names to
12282 use "adornment" instead of "decoration". Correct callers.
12283 Similar standardizing in many places.
12284
12285 (rst-update-section, rst-adjust, rst-promote-region)
12286 (rst-enumerate-region, rst-bullet-list-region)
12287 (rst-repeat-last-character): Correct use of `interactive'.
12288
12289 (rst-classify-adornment, rst-find-all-adornments)
12290 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12291 (rst-find-leftmost-column, rst-repeat-last-character):
12292 Refactor functions.
12293
12294 (rst-find-title-line, rst-reset-section-caches)
12295 (rst-get-adornments-around, rst-adjust-adornment-work)
12296 (rst-arabic-to-roman, rst-roman-to-arabic)
12297 (rst-insert-list-pos, rst-insert-list-new-item)
12298 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12299 New functions.
12300
12301 (rst-all-sections, rst-section-hierarchy)
12302 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12303 New variables.
12304
12305 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12306 configuration instead of only buffer. Change where necessary.
12307
12308 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12309 (rst-shift-region, rst-adaptive-fill): New functions for
12310 indentation and filling.
12311
12312 (rst-comment-line-break, rst-comment-indent)
12313 (rst-comment-insert-comment, rst-comment-region)
12314 (rst-uncomment-region): New functions for handling comments.
12315
12316 (rst-compile): Quote shell arguments.
12317
12318 (rst-compile-pdf-preview, rst-compile-slides-preview):
12319 Delete temporary files after use.
12320
12321 2012-05-05 Glenn Morris <rgm@gnu.org>
12322
12323 * calendar/cal-html.el: Optionally include holidays in the output.
12324 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12325 (cal-html-holidays): New option.
12326 (cal-html-css-default): Add holiday entry.
12327 (holiday-in-range): Autoload it.
12328 (cal-html-htmlify-entry): Add optional class argument.
12329 (cal-html-htmlify-list): Add optional holidays argument.
12330 (cal-html-insert-agenda-days): Include holidays in the output.
12331 (cal-html-one-month): Maybe include holidays.
12332
12333 * calendar/holidays.el (holiday-in-range):
12334 Move here from cal-tex-list-holidays.
12335 * calendar/cal-tex.el (cal-tex-list-holidays):
12336 Make it an obsolete alias for holiday-in-range. Update all callers.
12337
12338 2012-05-05 Chong Yidong <cyd@gnu.org>
12339
12340 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12341 Nextstep.
12342
12343 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12344
12345 * files.el (file-auto-mode-skip): New var.
12346 (set-auto-mode-1): Use it.
12347
12348 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12349
12350 * repeat.el: Use lexical-binding.
12351 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12352 (repeat-undo-count): Remove.
12353 (repeat):
12354 * progmodes/octave-mod.el (octave-abbrev-start):
12355 * progmodes/f90.el (f90-abbrev-start):
12356 * face-remap.el (text-scale-adjust):
12357 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12358
12359 * emacs-lisp/pcase.el (pcase--let*): New function.
12360 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12361 a bit more.
12362 (pcase--split-pred): Be more clever about ruling out overlap between
12363 a predicate and some constant pattern.
12364 (pcase--q1): Use `null' instead of (eq foo nil).
12365
12366 * subr.el (setq-local, defvar-local): New macros.
12367 (kbd): Redefine as an alias.
12368 (with-selected-window): Leave unrelated frames alone.
12369 (set-temporary-overlay-map): New function.
12370
12371 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * subr.el (user-error): New function.
12374 * window.el (switch-to-buffer):
12375 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12376 (smerge-match-conflict):
12377 * simple.el (previous-matching-history-element)
12378 (next-matching-history-element, goto-history-element, undo-more)
12379 (undo-start):
12380 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12381 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12382 (next-file, tags-loop-scan, list-tags, complete-tag):
12383 * progmodes/compile.el (compilation-loop):
12384 * mouse.el (mouse-minibuffer-check):
12385 * man.el (Man-bgproc-sentinel, Man-goto-page):
12386 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12387 (Info-history-forward, Info-follow-reference, Info-menu)
12388 (Info-extract-menu-item, Info-extract-menu-counting)
12389 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12390 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12391 (Info-next-reference, Info-prev-reference, Info-index)
12392 (Info-index-next, Info-follow-nearest-node)
12393 (Info-copy-current-node-name):
12394 * imenu.el (imenu--make-index-alist)
12395 (imenu-default-create-index-function, imenu-add-to-menubar):
12396 * files.el (basic-save-buffer, recover-file):
12397 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12398 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12399 (checkdoc-message-text, checkdoc-defun):
12400 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12401 * cus-edit.el (customize-changed-options, customize-rogue)
12402 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12403 (custom-variable-mark-to-reset-standard)
12404 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12405 (custom-file):
12406 * completion.el (check-completion-length):
12407 * comint.el (comint-search-arg)
12408 (comint-previous-matching-input-string-position)
12409 (comint-previous-matching-input)
12410 (comint-replace-by-expanded-history-before-point, comint-send-input)
12411 (comint-copy-old-input, comint-backward-matching-input)
12412 (comint-goto-process-mark, comint-set-process-mark):
12413 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12414 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12415
12416 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12417
12418 * dabbrev.el (dabbrev--ignore-case-p): New function.
12419 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12420 Use it.
12421
12422 * files.el (automount-dir-prefix): Mark as obsolete.
12423
12424 2012-05-04 Glenn Morris <rgm@gnu.org>
12425
12426 * patcomp.el, play/bruce.el: Move to obsolete/.
12427
12428 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12429
12430 Fix minor Y10k bugs.
12431 * arc-mode.el (archive-unixdate):
12432 * autoinsert.el (auto-insert-alist):
12433 * calc/calc-forms.el (math-this-year):
12434 * emacs-lisp/copyright.el (copyright-current-year)
12435 (copyright-update-year, copyright):
12436 * tar-mode.el (tar-clip-time-string):
12437 * time.el (display-time-update):
12438 Don't assume years have 4 digits.
12439
12440 2012-05-04 Chong Yidong <cyd@gnu.org>
12441
12442 * dos-w32.el (file-name-buffer-file-type-alist)
12443 (direct-print-region-use-command-dot-com):
12444 * ffap.el (ffap-menu-regexp):
12445 * find-file.el (ff-special-constructs):
12446 * follow.el (follow-debug):
12447 * forms.el (forms--debug):
12448 * iswitchb.el (iswitchb-all-frames):
12449 * ido.el (ido-all-frames):
12450 * emacs-lisp/timer.el (timer-max-repeats):
12451 * mail/feedmail.el (feedmail-mail-send-hook)
12452 (feedmail-mail-send-hook-queued):
12453 * mail/footnote.el (footnote-signature-separator):
12454 * mail/mailabbrev.el (mail-alias-separator-string)
12455 (mail-abbrev-mode-regexp):
12456 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12457 * progmodes/idlwave.el (idlwave-libinfo-file)
12458 (idlwave-default-completion-case-is-down)
12459 (idlwave-library-routines): Convert defvars to defcustoms.
12460
12461 * mail/rmail.el (rmail-decode-mime-charset):
12462 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12463 (idlwave-shell-fix-inserted-breaks)
12464 (idlwave-shell-activate-alt-keybindings)
12465 (idlwave-shell-use-breakpoint-glyph):
12466 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12467
12468 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12471
12472 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12473
12474 * progmodes/verilog-mode.el (font-lock-keywords):
12475 Fix mis-highligting auto. Reported by Craig Barner.
12476 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12477 defines from global name space. Reported by Dan Dever.
12478 (verilog-auto-reset, verilog-auto-reset-widths)
12479 (verilog-auto-tieoff): Support using unbased numbers for
12480 AUTORESET and AUTOTIEOFF.
12481 (verilog-submit-bug-report): Update variable list.
12482 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12483 parenthesis from not matching. Reported by Michael Rytting.
12484 (verilog-auto-template-lint): Fix hash error when linting modules
12485 with no used templates.
12486 (verilog-warn, verilog-warn-error)
12487 (verilog-warn-fatal): When non-interactive report multiple
12488 warnings before exiting. Suggested by Brad Dobbie.
12489 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12490 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12491 to report unused template errors. Reported by Brad Dobbie.
12492 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12493 nets, bug438. Reported by Vns Blore.
12494 (verilog-auto-inout-module, verilog-auto-reg)
12495 (verilog-read-decls, verilog-read-sub-decls-sig)
12496 (verilog-signals-edit-wire-reg, verilog-signals-with):
12497 Fix passing of Verilog data types in ANSI input/output ports
12498 such as "output logic" into the AUTOs. Special case "wire" and
12499 "reg" for backwards compatibility presuming Verilog 2001.
12500 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12501 (verilog-preprocess): Fix replication of preprocess output.
12502 Reported by Brad Dobbie.
12503 (verilog-auto-inst-interfaced-ports):
12504 Create verilog-auto-inst-interfaced-ports, bug429.
12505 Reported by Julian Gorfajn.
12506 (verilog-after-save-font-hook)
12507 (verilog-before-save-font-hook): New variable.
12508 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12509 (verilog-save-font-mods): Wrap disabling fontification, reported
12510 by David Rogoff.
12511 (verilog-do-indent, verilog-pretty-declarations-auto)
12512 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12513 Reported by Pierre-David Pfister.
12514 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12515 of class declarations, bug292. Reported by Kevin Heilman.
12516 (verilog-read-decls): Fix 'parameter type' not appearing in
12517 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12518 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12519 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12520 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12521 Reported by David Kravitz.
12522
12523 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12524
12525 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12526 assignment with tests in ifs and for loops.
12527 (verilog-extended-complete-re, verilog-complete-reg): Change so
12528 that DPI inport functions don't look like fuction declarations.
12529 (verilog-pretty-expr): Don't line up assignment
12530 operations to the test and increment in if and for loops
12531 (verilog-extended-complete-re, verilog-complete-reg): Change so
12532 that DPI inport functions don't look like fuction declarations.
12533
12534 2012-05-03 Kenichi Handa <handa@m17n.org>
12535
12536 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12537 decoding, and show a warning message without signaling an error
12538 (Bug#11282).
12539
12540 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12541
12542 * emacs-lisp/bytecomp.el
12543 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12544 since cconv.el might have introduced :fun-body, internal-make-closure,
12545 and friends for bytecomp to handle (bug#11391).
12546 * custom.el (defcustom): Avoid ((λ ..) ..).
12547
12548 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12551
12552 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * notifications.el (dbus-debug):
12555 * term/linux.el (gpm-mouse-enable):
12556 * term/screen.el (xterm-register-default-colors): Declare.
12557
12558 2012-05-02 Chong Yidong <cyd@gnu.org>
12559
12560 * cus-start.el (gc-cons-percentage, exec-suffixes)
12561 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12562 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12563 (make-cursor-line-fully-visible, void-text-area-pointer)
12564 (font-list-limit): Add customization data.
12565
12566 * allout.el (allout-exposure-change-functions)
12567 (allout-structure-added-functions)
12568 (allout-structure-deleted-functions)
12569 (allout-structure-shifted-functions): Rename abnormal hooks from
12570 *-hook, and convert to defcustoms.
12571 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12572 Convert to defcustoms.
12573 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12574
12575 * allout-widgets.el: Hook callers changed.
12576
12577 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12578
12579 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12580 the yanked message in preference to the default value of
12581 buffer-file-coding-system.
12582
12583 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12584
12585 * window.el (display-buffer--action-function-custom-type):
12586 Fix entry.
12587
12588 2012-05-02 Alan Mackenzie <acm@muc.de>
12589
12590 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12591
12592 2012-05-01 Glenn Morris <rgm@gnu.org>
12593
12594 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12595
12596 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12597
12598 * cus-edit.el (custom-variable-documentation): Simplify with format.
12599
12600 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12601 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * simple.el (suggest-key-bindings, execute-extended-command):
12604 Move from keyboard.c.
12605
12606 2012-05-01 Chong Yidong <cyd@gnu.org>
12607
12608 * follow.el: Eliminate advice.
12609 (set-process-filter, process-filter, sit-for): Advice deleted.
12610 (follow-mode-off-hook): Obsolete hook removed.
12611 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12612 Vars deleted.
12613 (follow-auto): Use a :set function.
12614 (follow-mode): Rewritten. Don't advise process filters.
12615 (follow-switch-to-current-buffer-all, follow-scroll-up)
12616 (follow-scroll-down): Assume follow-mode is bound.
12617 (follow-comint-scroll-to-bottom)
12618 (follow-align-compilation-windows): New functions.
12619 (follow--window-sorter): New function.
12620 (follow-all-followers): Use it to explicitly sort windows by their
12621 positions; don't make assumptions about next-window order.
12622 (follow-windows-start-end, follow-delete-other-windows-and-split)
12623 (follow-calc-win-start): Doc fix.
12624 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12625 vertical-motion unnecessarily.
12626 (follow-adjust-window): New function.
12627 (follow-post-command-hook): Use it.
12628 (follow-call-set-process-filter, follow-call-process-filter)
12629 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12630 (follow-stop-intercept-process-output, follow-generic-filter):
12631 Functions deleted.
12632 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12633 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12634 New functions, replacing advice on scroll-bar-* commands.
12635 (follow-mwheel-scroll): New function (Bug#4112).
12636
12637 * comint.el (comint-adjust-point): New function.
12638 (comint-postoutput-scroll-to-bottom): Use it.
12639 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12640
12641 2012-05-01 Glenn Morris <rgm@gnu.org>
12642
12643 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12644 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12645 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12646 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12647 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12648 Remove no-byte-compile setting.
12649
12650 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12653 all-completions code to not return a number in the last cdr.
12654
12655 2012-04-30 Leo Liu <sdl.web@gmail.com>
12656
12657 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12658 read-only error.
12659
12660 2012-04-29 Chong Yidong <cyd@gnu.org>
12661
12662 * follow.el (follow-calc-win-end): Rewrite to handle partial
12663 screen lines correctly (Bug#8390).
12664 (follow-avoid-tail-recenter): Minor cleanup.
12665
12666 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 Avoid the obsolete `assoc' package.
12669 * speedbar.el (speedbar-refresh): Avoid adelete.
12670 (speedbar-file-lists): Simplify and avoid aput.
12671 * man.el (Man--sections, Man--refpages): New vars, replacing
12672 Man-sections-alist and Man-refpages-alist.
12673 (Man-build-section-alist, Man-build-references-alist):
12674 Use them; avoid aput.
12675 (Man--last-section, Man--last-refpage): New vars.
12676 (Man-follow-manual-reference): Use them.
12677 Use the `default' arg of completing-read.
12678 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12679
12680 2012-04-27 Chong Yidong <cyd@gnu.org>
12681
12682 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12683
12684 * startup.el (x-apply-session-resources): New function.
12685
12686 * term/ns-win.el (ns-initialize-window-system):
12687 * term/w32-win.el (w32-initialize-window-system):
12688 * term/x-win.el (x-initialize-window-system): Use it to properly
12689 set menu-bar-mode and other vars from X resources, even if the
12690 initial frame is not a window-system frame (Bug#2299).
12691
12692 * subr.el (read-key): Avoid running filter function when setting
12693 up temporary tool bar entries (Bug#9922).
12694
12695 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12696
12697 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12698 (Bug#11344)
12699
12700 2012-04-27 Chong Yidong <cyd@gnu.org>
12701
12702 * select.el (xselect--encode-string): New function, split from
12703 xselect-convert-to-string.
12704 (xselect-convert-to-string): Use it.
12705 (xselect-convert-to-filename, xselect-convert-to-os)
12706 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12707 returned strings are properly encoded (Bug#11315).
12708
12709 2012-04-27 Chong Yidong <cyd@gnu.org>
12710
12711 * simple.el (delete-active-region): Move to killing custom group.
12712
12713 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12714
12715 * progmodes/which-func.el (which-func-current): Quote %
12716 characters for mode-line processing.
12717
12718 2012-04-27 Chong Yidong <cyd@gnu.org>
12719
12720 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12721 reaching eob (Bug#11286).
12722
12723 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12724
12725 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12726 (gdb): Make it buffer-local and init to zero.
12727 (gdb-control-commands-regexp): New variable.
12728 (gdb-send): Don't wrap in "-interpreter-exec console" if
12729 gdb-control-level is positive. Increment gdb-control-level
12730 whenever the command matches gdb-control-commands-regexp, and
12731 decrement it each time the command is "end". (Bug#11279)
12732
12733 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12734
12735 * window.el (adjust-window-trailing-edge, enlarge-window)
12736 (shrink-window, window-resize):
12737 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12738 windows (Bug#11276).
12739
12740 2012-04-27 Chong Yidong <cyd@gnu.org>
12741
12742 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12743 fix "missing prefix" warning. All callers changed.
12744
12745 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * emacs-lisp/assoc.el: Move to obsolete/.
12748
12749 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12750
12751 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12752
12753 * term/ns-win.el (ns-define-service):
12754 * progmodes/pascal.el (pascal-goto-defun):
12755 * progmodes/js.el (js--read-tab):
12756 * progmodes/etags.el (tags-lazy-completion-table):
12757 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12758 * emacs-lisp/ewoc.el (ewoc--wrap):
12759 * emacs-lisp/assoc.el (aput, adelete, amake):
12760 * doc-view.el (doc-view-convert-current-doc):
12761 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12762
12763 2012-04-26 Chong Yidong <cyd@gnu.org>
12764
12765 * image.el (image-type-from-buffer): Only return supported image
12766 type (Bug#9045).
12767
12768 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12769 value, for symmetry with diff-end-of-hunk.
12770 (diff-split-hunk, diff-find-source-location)
12771 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12772 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12773 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12774 compute the relevant hunk or file properly (Bug#6005).
12775 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12776
12777 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12778
12779 * vc/vc-mtn.el:
12780 * vc/vc-hg.el:
12781 * vc/vc-git.el:
12782 * vc/vc-dir.el:
12783 * vc/vc-cvs.el:
12784 * vc/vc-bzr.el:
12785 * vc/vc-arch.el:
12786 * vc/vc.el: Replace lexical-let by lexical-binding.
12787 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12788 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12789 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12790
12791 2012-04-26 Chong Yidong <cyd@gnu.org>
12792
12793 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12794 (diff-mode-shared-map): Bind it to / and [remap undo].
12795
12796 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12797 (ediff-window-setup-function): Use it as the default, to set up
12798 windows based on whether the current frame is graphical (Bug#2138).
12799 (ediff-choose-window-setup-function-automatically): Make obsolete.
12800
12801 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12802
12803 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * ffap.el: Remove old code for obsolete package.
12806 (ffap-complete-as-file-p): Remove.
12807
12808 Use completion-table-with-quoting for comint and pcomplete.
12809 * comint.el (comint--unquote&requote-argument)
12810 (comint--unquote-argument, comint--requote-argument): New functions.
12811 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12812 (comint-quote-filename): Use regexp-opt-charset.
12813 (comint--common-suffix, comint--common-quoted-suffix)
12814 (comint--table-subvert): Remove.
12815 (comint-unquote-function, comint-requote-function): New vars.
12816 (comint--complete-file-name-data): Use them with
12817 completion-table-with-quoting.
12818 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12819 * pcomplete.el (pcomplete-arg-quote-list)
12820 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12821 (pcomplete-unquote-argument-function): Default to non-nil.
12822 (pcomplete-unquote-argument): Simplify.
12823 (pcomplete--common-quoted-suffix): Remove.
12824 (pcomplete-requote-argument-function): New var.
12825 (pcomplete--common-suffix): New function.
12826 (pcomplete-completions-at-point): Use completion-table-with-quoting
12827 and completion-table-subvert.
12828
12829 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12830 (minibuffer--double-dollars): Preserve properties.
12831 (completion--sifn-requote): New function.
12832 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12833
12834 * minibuffer.el: Add support for completion of quoted/escaped data.
12835 (completion-table-with-quoting, completion-table-subvert): New funs.
12836 (completion--twq-try, completion--twq-all): New functions.
12837 (completion--nth-completion): New function.
12838 (completion-try-completion, completion-all-completions): Use it.
12839
12840 2012-04-25 Leo Liu <sdl.web@gmail.com>
12841
12842 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12843 Use compilation-message if available to find real filename.
12844
12845 2012-04-25 Chong Yidong <cyd@gnu.org>
12846
12847 * vc/diff-mode.el (diff-setup-whitespace): New function.
12848 (diff-mode): Use it.
12849
12850 * vc/diff.el (diff-sentinel):
12851 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12852 Whitespace mode variables based on diff style (Bug#8612).
12853
12854 2012-04-25 Leo Liu <sdl.web@gmail.com>
12855
12856 * progmodes/python.el (python-send-region): Add suffix .py to the
12857 temp file.
12858
12859 * files.el (auto-mode-alist): Use javascript-mode instead.
12860
12861 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12862
12863 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12864
12865 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12866 (soap-resolve-references-for-array-type): Hack to prevent self
12867 references, see Bug#9.
12868 (soap-parse-envelope): Report the contents of the 'detail' node
12869 when receiving a fault reply.
12870 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12871
12872 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12873 (soap-inspect-simple-type): New function.
12874
12875 * net/soap-client.el (soap-simple-type): New struct.
12876 (soap-default-xsd-types, soap-default-soapenc-types)
12877 (soap-decode-basic-type, soap-encode-basic-type):
12878 support unsignedInt and double basic types.
12879 (soap-resolve-references-for-simple-type)
12880 (soap-parse-simple-type, soap-encode-simple-type): New function.
12881 (soap-parse-schema): Parse xsd:simpleType declarations.
12882
12883 * net/soap-client.el (soap-default-xsd-types)
12884 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12885 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12886 the local name of "soapenc:Array".
12887 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12888 decoding integer, byte and anyURI xsd types.
12889
12890 2012-04-25 Chong Yidong <cyd@gnu.org>
12891
12892 * cus-edit.el (custom-buffer-create-internal): Update header text.
12893
12894 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12895
12896 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12897 settings on 'system-type', not on 'window-system'. On MS-Windows,
12898 set interactive-mode on in GDB.
12899
12900 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12903 (ruby-syntax-propertize-regexp): Remove.
12904 (ruby-syntax-propertize-function): Split regexp into chunks.
12905 Match following code directly.
12906
12907 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12908
12909 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12910 (ruby-syntax-propertize-regexp): New function.
12911 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12912 by a special keyword.
12913
12914 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12915 (ruby-syntax-general-delimiters-goto-beg)
12916 (ruby-syntax-propertize-general-delimiters): New functions.
12917 (ruby-syntax-propertize-function): Use them to handle GDL.
12918 (ruby-font-lock-keywords): Move old handling of GDL...
12919 (ruby-font-lock-syntactic-keywords): .. to here.
12920 (ruby-calculate-indent): Adjust indentation for GDL.
12921
12922 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12923
12924 * notifications.el (top): Remove unneeded declarations.
12925 (notifications-specification-version): Change to "1.2".
12926 (notifications-interface, notifications-notify-method)
12927 (notifications-close-notification-method): Fix docstring.
12928 (notifications-get-capabilities-method): New defconst.
12929 (notifications-notify): Add :action-items, :resident and
12930 :transient hints. Change "image_data" to "image-data" and
12931 "image_path" to "image-path".
12932 (notifications-get-capabilities): New defun.
12933
12934 2012-04-24 Leo Liu <sdl.web@gmail.com>
12935
12936 * progmodes/python.el: Move hideshow setup to the end.
12937
12938 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12939
12940 * window.el (handle-select-window): Clear echo area since this is
12941 no more done by read_char (Bug#11304).
12942
12943 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12944
12945 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12946 and `/ M' to filter-derived-mode.
12947 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12948 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12949 (ibuffer-mark-by-mode): Use default rather than initial-input.
12950 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12951
12952 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12953
12954 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12955 (ibuffer-filter-by-derived-mode): New filter.
12956 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12957
12958 2012-04-23 Andreas Politz <politza@fh-trier.de>
12959
12960 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12961
12962 2012-04-23 Chong Yidong <cyd@gnu.org>
12963
12964 * cus-edit.el (customize-apropos, customize-apropos-options):
12965 Disable matching of non-option variables (Bug#11176).
12966 (customize-option, customize-option-other-window)
12967 (customize-changed-options): Doc fix.
12968 (customize-apropos-options, customize-apropos-faces)
12969 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12970
12971 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12972 Fix word list splitting (Bug#11132).
12973 (apropos-symbol, apropos-keybinding, apropos-label)
12974 (apropos-property, apropos-function-button)
12975 (apropos-variable-button, apropos-misc-button): New faces.
12976 (apropos-symbol-face, apropos-keybinding-face)
12977 (apropos-label-face, apropos-property-face, apropos-match-face):
12978 Variables removed (Bug#8396).
12979 (apropos-library-button, apropos-format-plist, apropos-print)
12980 (apropos-print-doc, apropos-describe-plist): Callers changed.
12981
12982 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12983
12984 * net/xesam.el (xesam-mode-map): Use let-bound map in
12985 initialization. (Bug#11292)
12986
12987 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12988
12989 Preserve ispell session localwords when switching back to
12990 original buffer.
12991
12992 * textmodes/ispell.el (ispell-buffer-session-localwords):
12993 New buffer-local variable to hold buffer session localwords.
12994 (ispell-kill-ispell): Add option 'clear to delete session
12995 localwords.
12996 (ispell-command-loop, ispell-change-dictionary)
12997 (ispell-buffer-local-words): Preserve session localwords when
12998 needed.
12999
13000 * textmodes/flyspell.el (flyspell-process-localwords)
13001 (flyspell-do-correct): Preserve session localwords when needed.
13002
13003 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13004
13005 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13006 using obsolete `translation-table-for-input'.
13007 (ispell-word, ispell-process-line, ispell-complete-word):
13008 Use plain `insert' instead of removed `ispell-insert-word'.
13009
13010 2012-04-22 Chong Yidong <cyd@gnu.org>
13011
13012 * cus-edit.el (custom-variable-menu)
13013 (custom-variable-reset-saved, custom-face-menu)
13014 (custom-face-reset-saved): If there is no saved value, make the
13015 "reset-saved" operation bring back the default (Bug#9509).
13016 (custom-face-state): Properly detect themed faces.
13017
13018 * faces.el (face-spec-set): Stop supporting deprecated form of
13019 third arg.
13020
13021 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13022
13023 Move functions from C to Lisp. Make non-blocking method calls
13024 the default. Implement further D-Bus standard interfaces.
13025
13026 * net/dbus.el (dbus-message-internal): Declare function.
13027 Remove unneeded function declarations.
13028 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13029 (dbus-message-type-method-return, dbus-message-type-error)
13030 (dbus-message-type-signal): Declare variables. Remove local
13031 definitions.
13032 (dbus-interface-dbus, dbus-interface-peer)
13033 (dbus-interface-introspectable, dbus-interface-properties)
13034 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13035 Adapt docstring.
13036 (dbus-interface-objectmanager): New defconst.
13037 (dbus-call-method, dbus-call-method-asynchronously)
13038 (dbus-send-signal, dbus-method-return-internal)
13039 (dbus-method-error-internal, dbus-register-service)
13040 (dbus-register-signal, dbus-register-method): New defuns, moved
13041 from dbusbind.c
13042 (dbus-call-method-handler, dbus-setenv)
13043 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13044 New defuns.
13045 (dbus-call-method-non-blocking): Make it an obsolete function.
13046 (dbus-unregister-object, dbus-unregister-service)
13047 (dbus-handle-event, dbus-register-property)
13048 (dbus-property-handler): Obey the new structure of
13049 `bus-registered-objects'.
13050 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13051 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13052 Use `dbus-call-method'.
13053
13054 2012-04-22 Chong Yidong <cyd@gnu.org>
13055
13056 * cus-edit.el (custom-commands, custom-reset-menu)
13057 (Custom-reset-standard): Tweak labels.
13058 (custom-reset-button-menu): Change default to t.
13059 (custom-buffer-create-internal): For the custom-reset-button-menu
13060 case, put the revert button first.
13061 (custom-group-subtitle): New face.
13062 (custom-group-value-create): Align docstring to a specific column.
13063
13064 * wid-edit.el (widget-documentation-link-add): Don't handle
13065 indentation in this function.
13066 (widget-documentation-string-indent-to): New function.
13067 (widget-documentation-string-value-create): Use it.
13068
13069 * autorevert.el (auto-revert):
13070 * epg-config.el (epg):
13071 * ibuffer.el (ibuffer):
13072 * mpc.el (mpc):
13073 * ses.el (ses):
13074 * eshell/eshell.el (eshell):
13075 * net/ange-ftp.el (ange-ftp):
13076 * progmodes/ebnf2ps.el (postscript):
13077 * progmodes/flymake.el (flymake):
13078 * progmodes/prolog.el (prolog):
13079 * progmodes/verilog-mode.el (verilog-mode):
13080 * progmodes/which-func.el (which-func):
13081 * term/xterm.el (xterm):
13082 * textmodes/picture.el (picture):
13083 * textmodes/tildify.el (tildify):
13084 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13085 customization buffers.
13086
13087 2012-04-22 Alan Mackenzie <acm@muc.de>
13088
13089 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13090 Adding a ) can hide the resulting (..) from searches. Fix it.
13091 Bound the backward search to the position of the existing (.
13092
13093 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * progmodes/verilog-mode.el (verilog-mode): Check whether
13096 which-func-modes is t before adding verilog-mode.
13097 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13098
13099 2012-04-21 Leo Liu <sdl.web@gmail.com>
13100
13101 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13102
13103 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13104
13105 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13106 filling of the last column of a table (Bug#5635).
13107 (woman-find-next-control-line): New arg, specifying an additional
13108 regexp component for the control line.
13109 (woman2-roff-buffer): Use it.
13110 (woman-break-table): New function.
13111 (woman2-TS): Use it.
13112
13113 2012-04-21 Chong Yidong <cyd@gnu.org>
13114
13115 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13116 (woman-horizontal-escapes, woman-negative-vertical-space)
13117 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13118 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13119
13120 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13121
13122 * minibuffer.el (completion-file-name-table): Complete user names.
13123
13124 2012-04-20 Leo Liu <sdl.web@gmail.com>
13125
13126 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13127 and pcase-let*.
13128
13129 2012-04-20 Chong Yidong <cyd@gnu.org>
13130
13131 * server.el (server-execute): Respect initial-buffer-choice if it
13132 is a string and there are no files to open (Bug#2825).
13133 (server-create-window-system-frame, server-create-tty-frame):
13134 Don't switch buffers here.
13135 (server-process-filter): Only try to open a window system frame if
13136 compiled with graphical support (Bug#8314).
13137
13138 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13139
13140 * battery.el (battery-echo-area-format): Display remaining time
13141 for sysfs backend too (Bug#11269).
13142 (battery-linux-sysfs): Fix conditional for the charge.
13143
13144 2012-04-20 Chong Yidong <cyd@gnu.org>
13145
13146 * progmodes/gdb-mi.el (gdb): Revert previous change.
13147 (gdb-inferior-io--init-proc): New function.
13148 (gdb-init-1): Use it.
13149 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13150 responsible for allocating a new pty and hooking it to gdb when
13151 the old pty gets an EIO due to process exit.
13152 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13153 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13154 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13155
13156 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13157
13158 * window.el (window-min-size, window-sizable, window-min-delta)
13159 (window-max-delta, window--resizable, window-resizable)
13160 (window-total-size, window-full-height-p, window-full-width-p)
13161 (window-in-direction, window--resize-mini-window, window-resize)
13162 (window--resize-child-windows-normal)
13163 (window--resize-child-windows, window--resize-siblings)
13164 (window--resize-this-window, adjust-window-trailing-edge)
13165 (enlarge-window, shrink-window): Doc fixes.
13166
13167 2012-04-20 Chong Yidong <cyd@gnu.org>
13168
13169 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13170 New function to call delete-process on the gdb-inferior buffer's pty.
13171 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13172 pty process (Bug#11273).
13173 (gdb-update): New arg to suppress talking to the gdb process.
13174 (gdb-done-or-error): Use it.
13175 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13176 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13177 sentinel not being called.
13178
13179 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13180
13181 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13182
13183 2012-04-20 Glenn Morris <rgm@gnu.org>
13184
13185 * net/network-stream.el (open-network-stream): Doc fix.
13186
13187 2012-04-20 Chong Yidong <cyd@gnu.org>
13188
13189 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13190
13191 2012-04-20 Alan Mackenzie <acm@muc.de>
13192
13193 Ensure searching for keywords is case sensitive.
13194
13195 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13196 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13197 (c-defun-name, c-mark-function, c-cpp-define-name)
13198 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13199 (c-context-line-break): Bind case-fold-search to nil.
13200
13201 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13202 Bind case-fold-search to nil.
13203
13204 2012-04-20 Chong Yidong <cyd@gnu.org>
13205
13206 * mail/sendmail.el (mail-bury): Call return action with the right
13207 Rmail buffer (Bug#11242).
13208
13209 * server.el (server-process-filter): Handle corner case where both
13210 tty and nowait options are present (Bug#11102).
13211
13212 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13213
13214 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13215 (top level): Put into the executable the ident-style '$Id:' tag on
13216 windows-nt as well.
13217
13218 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * electric.el (electric-indent-post-self-insert-function): Check that
13221 electric-indent-mode is enabled in current buffer.
13222
13223 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13224
13225 * imenu.el (imenu-progress-message): Restore; it is "used" in
13226 erc/erc-imenu.el and net/snmp-mode.el.
13227
13228 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13229
13230 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13231 (mouse-avoidance-nudge-mouse): Remove unused binding.
13232
13233 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13234
13235 * descr-text.el (describe-char):
13236 * progmodes/python.el (python-describe-symbol):
13237 Don't call `toggle-read-only', set `buffer-read-only'.
13238
13239 * imenu.el (imenu-default-goto-function): Mark unused args.
13240 (imenu-progress-message): Remove obsolete macro; all callers changed.
13241
13242 * subr.el (keymap-canonicalize): Remove unused binding.
13243 (read-passwd): Mark unused arg.
13244
13245 * tutorial.el (tutorial--display-changes): Remove unused binding.
13246 (tutorial--save-tutorial-to): Remove unused variable.
13247
13248 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13249 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13250 (package-generate-autoloads, package-menu--generate)
13251 (package-menu--find-upgrades): Remove unused bindings.
13252
13253 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13254 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13255 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13256 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13257 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13258 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13259 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13260 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13261 (cua-delete-char-rectangle): Mark unused args.
13262 (cua-align-rectangle): Remove unused binding.
13263
13264 * mail/rmail.el (compilation--message->loc)
13265 (epa--find-coding-system-for-mime-charset): Declare.
13266
13267 * net/dbus.el (dbus-register-service): Declare.
13268 (dbus-name-owner-changed-handler): Remove unused binding.
13269
13270 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13271 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13272 (nxml-scan-backward-within): Mark unused arg.
13273 (nxml-dynamic-markup-word): Remove unused binding.
13274
13275 * mouse.el (mouse-menu-major-mode-map):
13276 * emacs-lisp/authors.el (authors-scan-change-log)
13277 (authors-add-to-author-list):
13278 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13279 * emacs-lisp/smie.el (smie-auto-fill):
13280 * mail/sendmail.el (mail-bury):
13281 * mail/unrmail.el (unrmail):
13282 * net/tls.el (open-tls-stream):
13283 * textmodes/picture.el (picture-mouse-set-point):
13284 Remove unused bindings.
13285
13286 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13287
13288 * net/tramp.el (tramp-action-password): Let-bind
13289 `enable-recursive-minibuffers' to t.
13290
13291 2012-04-18 Sam Steingold <sds@gnu.org>
13292
13293 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13294 instead of 'string to accommodate values like [f11].
13295 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13296 * progmodes/gdb-mi.el: Likewise.
13297
13298 2012-04-18 Leo Liu <sdl.web@gmail.com>
13299
13300 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13301 current buffer.
13302 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13303 LOCAL is nil.
13304
13305 2012-04-18 Chong Yidong <cyd@gnu.org>
13306
13307 * simple.el (line-move): Use forward-line if in batch mode
13308 (Bug#11053).
13309
13310 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13311
13312 * files.el (after-find-file): Do not try to add a final newline if
13313 the buffer is read-only (Bug#11156).
13314
13315 2012-04-17 Richard Stallman <rms@gnu.org>
13316
13317 * mail/rmail.el (rmail-start-mail):
13318 Pass (rmail-mail-return...) for the return-action.
13319 Pass (rmail-yank-current-message...) for the yank-action.
13320 (rmail-yank-current-message): New function.
13321 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13322 (rmail-reply): Likewise.
13323 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13324
13325 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13326 buffer, not the last. Reject temp buffers. Use the rmail-mode
13327 buffer, not newbuf.
13328
13329 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13330
13331 * server.el (server-ensure-safe-dir): Simplify.
13332
13333 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * emacs-lisp/smie.el: Provide smarter auto-filling.
13336 (smie-auto-fill): New function.
13337 (smie-setup): Use it.
13338
13339 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13340
13341 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13342
13343 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13344 (comment-indent): Use it.
13345
13346 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13347
13348 * ses.el: The overall change is to add cell renaming, that is
13349 setting fancy names for cell symbols other than name matching
13350 "\\`[A-Z]+[0-9]+\\'" regexp .
13351 (ses-localvars): Add ses--renamed-cell-symb-list.
13352 (ses-create-cell-variable): New defun.
13353 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13354 (ses-relocate-formula): Relocate formulas only for cells the
13355 symbols of which are not renamed, i.e. symbols whose names do not
13356 match regexp "\\`[A-Z]+[0-9]+\\'".
13357 (ses-relocate-all): Relocate values only for cells the symbols of
13358 which are not renamed.
13359 (ses-load): Create cells variables as the (ses-cell ...) are read,
13360 in order to check row col consistency with cell symbol name only
13361 for cells that are not renamed.
13362 (ses-replace-name-in-formula): New defun.
13363 (ses-rename-cell): New defun.
13364
13365 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13366
13367 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13368 New option (bug#11118).
13369 (perl-calculate-indent): Respect it.
13370
13371 2012-04-17 Glenn Morris <rgm@gnu.org>
13372
13373 * dired-aux.el (dired-mark-read-string): Doc fix.
13374
13375 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13376
13377 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13378 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13379
13380 2012-04-17 Glenn Morris <rgm@gnu.org>
13381
13382 * mouse.el (mouse-drag-track):
13383 * speedbar.el (speedbar-frame-mode):
13384 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13385
13386 2012-04-16 Leo Liu <sdl.web@gmail.com>
13387
13388 * progmodes/python.el: Trivial cleanup.
13389
13390 2012-04-16 Glenn Morris <rgm@gnu.org>
13391
13392 * vc/vc.el (vc-string-prefix-p):
13393 * vc/pcvs-util.el (cvs-string-prefix-p):
13394 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13395 * mpc.el (mpc-string-prefix-p):
13396 Make all of these into obsolete aliases for string-prefix-p.
13397 Update callers.
13398 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13399
13400 * textmodes/two-column.el: Move custom options to the start.
13401 (frame-width): Remove compat definition.
13402 (2C-associate-buffer, 2C-dissociate):
13403 Use with-current-buffer rather than save-excursion.
13404 (2C-dissociate): Force a mode-line update.
13405 (2C-autoscroll): Use ignore-errors.
13406
13407 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13408 Autoload trivia.
13409
13410 * emacs-lisp/cl-extra.el (*random-state*):
13411 Remove unnecessary declaration.
13412
13413 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13414
13415 * play/cookie1.el (cookie-snarf):
13416 Give an explicit error if input file cannot be read.
13417
13418 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13419
13420 * progmodes/perl-mode.el (c-macro-expand):
13421 Remove unnecessary autoload (it is in loaddefs.el).
13422
13423 * textmodes/picture.el (picture-desired-column)
13424 (picture-update-desired-column): Convert comments to doc-strings.
13425 (picture-substitute): Remove function.
13426 (picture-mode-map): Initialize in the defvar.
13427
13428 * woman.el: Remove eval-after-load for tar-mode.
13429 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13430 (woman-tar-extract-file): Autoload it.
13431
13432 * frame.el (automatic-hscrolling): Make this alias obsolete.
13433
13434 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13435
13436 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13437 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13438 (ispell-dictionary-base-alist): Revert to original XEmacs
13439 friendly version for default. [:alpha:] will be added in
13440 `ispell-set-spellchecker-params' if needed.
13441
13442 2012-04-16 Chong Yidong <cyd@gnu.org>
13443
13444 * image.el (imagemagick--file-regexp): New variable.
13445 (imagemagick-register-types): Use it.
13446 (imagemagick-types-inhibit): Add :set function. Allow new value
13447 of t to inhibit all types.
13448
13449 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13450 so we can preload it.
13451
13452 * loadup.el (fboundp): Preload regexp-opt, needed by
13453 imagemagick-register-types.
13454
13455 2012-04-15 Chong Yidong <cyd@gnu.org>
13456
13457 * frame.el (scrolling): Remove nearly unused customization group.
13458
13459 * scroll-all.el (scroll-all-mode): Move to windows group.
13460
13461 2012-04-15 Chong Yidong <cyd@gnu.org>
13462
13463 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13464
13465 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13466
13467 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13468 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13469
13470 2012-04-15 Glenn Morris <rgm@gnu.org>
13471
13472 * simple.el (process-file-side-effects): Doc fix.
13473
13474 2012-04-15 Glenn Morris <rgm@gnu.org>
13475
13476 * international/mule-cmds.el (set-language-environment): Doc fix.
13477
13478 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13479
13480 * server.el (server-auth-key, server-generate-key): Doc fixes.
13481 (server-get-auth-key): Doc fix. Use `string-match-p'.
13482 (server-start): Reflow docstring.
13483
13484 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13485
13486 * server.el (server-generate-key): `called-interactively-p'
13487 requires a parameter.
13488
13489 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13490
13491 * server.el (server-auth-key): New variable.
13492 (server-generate-key, server-get-auth-key): New function.
13493 (server-start): Use the new variable and functions to allow
13494 setting a permanent server key (bug#9423).
13495
13496 2012-04-14 Leo Liu <sdl.web@gmail.com>
13497
13498 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13499
13500 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13501
13502 Spelling fixes.
13503 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13504 Emacs uses American spelling.
13505
13506 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13507
13508 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13509 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13510 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13511 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13512
13513 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * progmodes/which-func.el (which-func-modes): Change default.
13516
13517 2012-04-14 Kim F. Storm <storm@cua.dk>
13518
13519 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13520 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13521
13522 2012-04-14 Chong Yidong <cyd@gnu.org>
13523
13524 * custom.el (custom-theme-set-variables): Doc fix.
13525
13526 2012-04-14 Glenn Morris <rgm@gnu.org>
13527
13528 * international/mule.el (set-auto-coding-for-load): Doc fix.
13529
13530 2012-04-14 Alan Mackenzie <acm@muc.de>
13531
13532 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13533 imenu work again for Objective C Mode. Correct the *-index values,
13534 these having been disturbed by a previous change in 2011-08.
13535
13536 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13537 Correct two search limits.
13538
13539 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13542
13543 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13544
13545 * international/characters.el: Fix sorting.
13546
13547 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13548
13549 * international/characters.el: Add more missing Latin case pairs.
13550
13551 2012-04-14 Glenn Morris <rgm@gnu.org>
13552
13553 * files.el (dir-locals-set-class-variables): Doc fix.
13554
13555 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13556
13557 * international/characters.el: Add set-case-syntax-pair call for
13558 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13559 counterpart. (Bug#11209)
13560
13561 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13562
13563 2012-04-14 Glenn Morris <rgm@gnu.org>
13564
13565 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13566
13567 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13568
13569 * textmodes/ispell.el (ispell-dictionary-base-alist):
13570 Add data for Hebrew.
13571
13572 2012-04-14 Chong Yidong <cyd@gnu.org>
13573
13574 * net/rcirc.el (rcirc-cmd-quit):
13575 Revert 2012-03-18 change (Bug#11192).
13576
13577 2012-04-14 Glenn Morris <rgm@gnu.org>
13578
13579 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13580
13581 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13582
13583 * minibuffer.el (completion-in-region-mode-map):
13584 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13585
13586 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13587
13588 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13589
13590 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13591
13592 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13593 to allow `C-M-f' and `C-M-b' to move to the nearest path
13594 separator (bug#9511).
13595
13596 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13597
13598 * avoid.el: Require cl when compiling. And also move the
13599 `provide' to the end.
13600
13601 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13602
13603 * avoid.el (mouse-avoidance-banish-position): New variable.
13604 (mouse-avoidance-banish-destination): Use it (bug#10165).
13605
13606 2012-04-13 Leo Liu <sdl.web@gmail.com>
13607
13608 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13609
13610 2012-04-13 Ken Brown <kbrown@cornell.edu>
13611
13612 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13613 this is no longer needed now that cygstart understands file:// URLs.
13614 (browse-url-filename-alist): For the same reason, don't modify
13615 file:// URLs on Cygwin.
13616
13617 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13620 the region on shift if the binding is already shifted (bug#11221).
13621
13622 2012-04-12 Glenn Morris <rgm@gnu.org>
13623
13624 * mail/mailpost.el: Move to obsolete/.
13625
13626 2012-04-12 Drew Adams <drew.adams@oracle.com>
13627
13628 * imenu.el (imenu--generic-function): Ignore invisible definitions
13629 (bug#10123).
13630
13631 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13632
13633 * hexl.el (hexl-bits): New variable.
13634 (hexl-options): Mention the variable in the doc string.
13635 (hexl-rulerise, hexl-line-displen): New functions.
13636 (hexl-mode): Mention the new variable.
13637 (hexl-mode, hexl-current-address, hexl-current-address):
13638 Use the displen.
13639 (hexl-ascii-start-column): New function.
13640 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13641 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13642
13643 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13644
13645 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13646 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13647 the encoding, as expected by hunspell.
13648
13649 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * battery.el (battery--linux-sysfs-regexp): New const.
13652 (battery-status-function): Use it. Remove yeeloong special case.
13653 (battery-yeeloong-sysfs): Remove.
13654 (battery-echo-area-format): Remove yeeloong special case.
13655
13656 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13659 Reported by Noah Friedman.
13660
13661 * subr.el (read-passwd): Use read-string.
13662
13663 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13664
13665 * vcursor.el (vcursor-move): Increase the priority of the overlay
13666 (bug#9663).
13667
13668 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13669
13670 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13671 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13672
13673 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13674
13675 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13676 define-minor-mode (bug#10760).
13677
13678 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13679
13680 * progmodes/grep.el (rgrep): Tweak the find command line so
13681 that directories matching `grep-find-ignored-files' won't be
13682 pruned (bug#10351).
13683
13684 2012-04-11 Chong Yidong <cyd@gnu.org>
13685
13686 * startup.el (command-line): Remove support for long-obsolete
13687 variable font-lock-face-attributes.
13688
13689 2012-04-11 Glenn Morris <rgm@gnu.org>
13690
13691 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13692
13693 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * window.el (window--state-get-1): Obey window-point-insertion-type.
13696
13697 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13698
13699 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13700 to previous function when point is on the first character of a
13701 function. Take care of that in `narrow-to-defun' (bug#6157).
13702
13703 2012-04-11 Glenn Morris <rgm@gnu.org>
13704
13705 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13706 not just file-errors.
13707
13708 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13709 (vc-bzr-sha1): Use internal sha1.
13710
13711 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13712
13713 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13714
13715 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13716
13717 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13718 that start in the middle of the line (bug#10496).
13719
13720 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13721
13722 * battery.el (battery-linux-proc-acpi): Only one battery is
13723 discharged at a time, but that seems to confuse battery.el when
13724 computing `rate-type' for the battery not being discharged
13725 (bug#10332).
13726
13727 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13728
13729 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13730
13731 * international/quail.el: Use dolist and simplify.
13732 (quail-define-package, quail-update-keyboard-layout)
13733 (quail-define-rules): Use dolist.
13734 (quail-insert-kbd-layout, quail-get-translation): CSE.
13735
13736 * tmm.el: Use dolist, remove left over hook.
13737 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13738 Use dolist.
13739 (calendar-load-hook): Don't mess with it.
13740
13741 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13742 Use derived-mode-p. Run the diff asynchronously.
13743
13744 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13745
13746 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13747
13748 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13749
13750 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13751 (list-dynamic-libraries--loaded): New function.
13752 (list-dynamic-libraries--refresh): Use it.
13753
13754 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13755
13756 * progmodes/python.el (python-fill-paragraph):
13757 Make python-fill-region in a multiline string work when font-lock is
13758 disabled (bug#7018).
13759
13760 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13761
13762 * language/european.el (cp775): Add oem/legacy (en)coding on
13763 DOS/MS Windows for the Baltic languages. There are still plenty
13764 of texts written in this encoding/codepage (bug#6519).
13765
13766 2012-04-10 Glenn Morris <rgm@gnu.org>
13767
13768 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13769 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13770
13771 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13772
13773 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13774 next-line "n" and previous-line "p" in order to make recentf more
13775 consistent with ibuffer, dired or org-mode (bug#9387).
13776
13777 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13778
13779 * image.el (put-image): Return the overlay created instead of the
13780 optional input string (bug#7834). Note that this may break code
13781 that is (for some reason or other) depending on `put-image'
13782 returning the string.
13783
13784 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13785
13786 * simple.el (zap-to-char): Allow zapping using input methods
13787 (bug#1580).
13788
13789 * textmodes/fill.el (fill-region): Leave point and mark where they
13790 were before filling (bug#5399).
13791
13792 2012-04-09 Glenn Morris <rgm@gnu.org>
13793
13794 * version.el (emacs-bzr-get-version):
13795 Handle lightweight checkouts of local branches.
13796
13797 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13798
13799 * international/characters.el: Recover lost case pairs. (Bug#11209)
13800
13801 2012-04-09 Chong Yidong <cyd@gnu.org>
13802
13803 * custom.el (custom-variable-p): Return nil for non-symbol
13804 arguments instead of signaling an error.
13805 (user-variable-p): Obsolete alias for custom-variable-p.
13806
13807 * apropos.el (apropos-variable):
13808 * files-x.el (read-file-local-variable):
13809 * simple.el (set-variable):
13810 * woman.el (woman-mini-help):
13811 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13812
13813 2012-04-09 Glenn Morris <rgm@gnu.org>
13814
13815 * startup.el (normal-top-level): Don't look for leim-list.el
13816 in places where it will not be found. (Bug#910)
13817
13818 * international/mule-cmds.el (set-default-coding-systems):
13819 * files.el (normal-mode):
13820 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13821 This function was removed with ucs-tables.el in 2008.
13822
13823 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13824
13825 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13826 ispell-encoding8-command to "-i", without a trailing space.
13827 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13828 separate command-line arguments, to specify the encoding, since
13829 that's how hunspell expects it.
13830
13831 2012-04-08 Glenn Morris <rgm@gnu.org>
13832
13833 * loadup.el: Load bindings before cus-start.
13834 This reduces somewhat the number of "rogue" settings in emacs -Q.
13835
13836 2012-04-07 Glenn Morris <rgm@gnu.org>
13837
13838 * version.el (emacs-bzr-get-version): New function.
13839 (emacs-bzr-version): New variable.
13840 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13841 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13842
13843 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13844
13845 * international/uni-bidi.el, international/uni-category.el:
13846 * international/uni-combining.el, international/uni-decimal.el:
13847 * international/uni-decomposition.el, international/uni-digit.el:
13848 * international/uni-lowercase.el, international/uni-mirrored.el:
13849 * international/uni-name.el, international/uni-numeric.el:
13850 * international/uni-titlecase.el, international/uni-uppercase.el:
13851 Update for Unicode 6.1.
13852
13853 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13854
13855 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13856
13857 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13858
13859 * window.el (shrink-window): Mention the `window-min-height'
13860 variable in the doc string.
13861
13862 2012-04-05 Bastien Guerry <bzg@altern.org>
13863
13864 * color.el (color-lighten-name): Fix typo.
13865
13866 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * server.el (server--on-display-p): New function.
13869 (server--on-display-p): Use it.
13870
13871 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13872
13873 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13874 (bug#11145).
13875
13876 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 * comint.el (comint--common-quoted-suffix): Check string boundary
13879 before comparing (bug#11158).
13880 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13881
13882 2012-04-04 Chong Yidong <cyd@gnu.org>
13883
13884 * minibuffer.el (completion-extra-properties): Doc fix.
13885
13886 * subr.el (delayed-warnings-hook): Doc fix.
13887
13888 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13889
13890 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13891 selection (Bug#11159).
13892 (epa-insert-keys): Inform that the default public key will be
13893 exported if no key is selected.
13894
13895 2012-04-04 Richard Stallman <rms@gnu.org>
13896
13897 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13898
13899 2012-04-03 Chong Yidong <cyd@gnu.org>
13900
13901 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13902 mail-insert-file, not its obsolete alias mail-attach-file.
13903
13904 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13905
13906 * notifications.el (notifications-notify): Fix docstring.
13907
13908 2012-04-02 Glenn Morris <rgm@gnu.org>
13909
13910 * emacs-lisp/authors.el (authors-aliases): Another addition.
13911
13912 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13913
13914 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13915 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13916 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13917
13918 2012-04-01 Chong Yidong <cyd@gnu.org>
13919
13920 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13921 Handle root directory properly.
13922 (copy-directory): Caller changed.
13923
13924 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13925 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13926
13927 2012-03-31 Glenn Morris <rgm@gnu.org>
13928
13929 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13930
13931 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13932
13933 * calendar/calendar.el (calendar-window-list)
13934 (calendar-hide-window): Restore. (Bug#11140)
13935 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13936
13937 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13938
13939 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13940
13941 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13942 Check if file is a symlink (Bug#10489).
13943
13944 * files.el (copy-directory): Likewise.
13945
13946 2012-03-30 Chong Yidong <cyd@gnu.org>
13947
13948 * image.el (imagemagick-types-inhibit)
13949 (imagemagick-register-types): Doc fix.
13950
13951 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13952
13953 * textmodes/ispell.el (ispell-get-extended-character-mode):
13954 Disable extended-char-mode for hunspell. hunspell does not support it
13955 and treats ~word as ordinary words in pipe mode.
13956
13957 2012-03-30 Glenn Morris <rgm@gnu.org>
13958
13959 * tutorial.el (help-with-tutorial): Ensure local variables don't
13960 happen to make the buffer read-only. (Bug#11127)
13961
13962 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13965 (perl-calculate-indent): Return `noindent' in strings.
13966
13967 2012-03-28 Sam Steingold <sds@gnu.org>
13968
13969 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13970 instead of the broken adhockery which does not prevent calendar
13971 buffers from being displayed at random after exit.
13972 (calendar-window-list, calendar-hide-window): Remove the broken
13973 adhockery.
13974
13975 2012-03-28 Glenn Morris <rgm@gnu.org>
13976
13977 * replace.el (query-replace-map): Doc fix.
13978
13979 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13980
13981 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13982 contents. (Bug#11109)
13983
13984 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13985
13986 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13987 (bug#11077).
13988 (avl-tree--check, avl-tree--check-node): New funs.
13989
13990 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13991
13992 * window.el (switch-to-visible-buffer): New option.
13993 (switch-to-prev-buffer, switch-to-next-buffer):
13994 Observe switch-to-visible-buffer. Make sure that checking for a window
13995 showing a buffer already is done on the same frame.
13996
13997 2012-03-27 Glenn Morris <rgm@gnu.org>
13998
13999 * startup.el (mail-host-address): Doc fix.
14000
14001 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14004 than 197 variables.
14005
14006 2012-03-26 Ami Fischman <ami@fischman.org>
14007
14008 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14009
14010 2012-03-26 Glenn Morris <rgm@gnu.org>
14011
14012 * files.el (save-buffers-kill-emacs): Doc fix.
14013
14014 * startup.el (normal-top-level, command-line, command-line-1):
14015 Give them doc strings.
14016
14017 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14018
14019 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14020 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14021
14022 2012-03-25 Chong Yidong <cyd@gnu.org>
14023
14024 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14025 theme if it was previously enabled before (Bug#11031).
14026
14027 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14028 spec with custom-face-get-current-spec if its :shown-value is not
14029 determined yet (Bug#9337).
14030 (customize-create-theme, custom-theme-revert): Doc fixes.
14031
14032 * button.el (button-at): Minor addition to docstring.
14033
14034 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14035
14036 * vc/vc.el (vc-merge): Fix a prompt.
14037
14038 2012-03-24 Chong Yidong <cyd@gnu.org>
14039
14040 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14041 point (Bug#9623).
14042
14043 * button.el (button-at): Minor addition to docstring.
14044
14045 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14046
14047 * newcomment.el (comment-choose-indent): No space after BOL.
14048
14049 2012-03-22 Sam Steingold <sds@gnu.org>
14050
14051 * window.el (switch-to-prev-buffer): Revert last patch because the
14052 bug turned out to be an advertised feature (Elisp manual 28.14).
14053
14054 2012-03-22 Glenn Morris <rgm@gnu.org>
14055
14056 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14057 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14058
14059 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14060
14061 * net/network-stream.el (network-stream-open-starttls): Make error
14062 message under Windows be less misleading.
14063
14064 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14065
14066 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14067 understands (bug#9942).
14068
14069 2012-03-22 Chong Yidong <cyd@gnu.org>
14070
14071 * simple.el (end-of-visible-line): Handle return value of
14072 next-single-property-change properly (Bug#9371).
14073
14074 2012-03-22 Kenichi Handa <handa@m17n.org>
14075
14076 * international/quail.el (quail-insert-kbd-layout): Fix previous
14077 change. To avoid unwanted bidi reordering, use
14078 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14079
14080 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14081
14082 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14083 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14084 (ruby-beginning-of-indent): Be more careful with the difference
14085 between word-boundary and symbol boundary.
14086 (ruby-mode-syntax-table): Make : a symbol constituent.
14087
14088 2012-03-21 Andreas Politz <politza@fh-trier.de>
14089
14090 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14091
14092 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14093
14094 * progmodes/etags.el (tags-completion-at-point-function):
14095 Improve last fix.
14096
14097 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14098
14099 2012-03-21 Sam Steingold <sds@gnu.org>
14100
14101 * progmodes/etags.el (tags-completion-at-point-function):
14102 Avoid the error when point is inside the pattern.
14103
14104 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14105
14106 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14107 line (Bug#10855).
14108
14109 2012-03-21 Drew Adams <drew.adams@oracle.com>
14110
14111 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14112
14113 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14114
14115 * ido.el (ido-set-current-directory, ido-read-internal)
14116 (ido-choose-completion-string, ido-completion-help): Handle nil
14117 value of ido-completion-buffer (Bug#11008).
14118
14119 2012-03-21 Sam Steingold <sds@gnu.org>
14120
14121 * window.el (switch-to-prev-buffer): Do not switch to a visible
14122 window previous buffer, just like with the frame previous buffers.
14123
14124 2012-03-21 Chong Yidong <cyd@gnu.org>
14125
14126 * faces.el (make-face, make-empty-face, copy-face):
14127 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14128 Doc fixes.
14129
14130 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14131
14132 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14133 (widget-complete): Remove broken use of it.
14134
14135 2012-03-20 Chong Yidong <cyd@gnu.org>
14136
14137 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14138 Use string-width and truncate-string-width to handle arbitrary
14139 characters.
14140
14141 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14142
14143 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14144 to draw rectangles, not squares. (Regression introduced by revno
14145 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14146
14147 2012-03-18 Chong Yidong <cyd@gnu.org>
14148
14149 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14150 it is not yet defined (for temacs).
14151
14152 2012-03-18 Leo Liu <sdl.web@gmail.com>
14153
14154 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14155 prefix.
14156
14157 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14158
14159 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14160 (ispell-choices-win-default-height, ispell-silently-savep)
14161 (ispell-dictionary-alist, ispell-encoding8-command)
14162 (ispell-check-version, ispell-aspell-find-dictionary)
14163 (ispell-valid-dictionary-list, ispell-words-keyword)
14164 (ispell-get-word, ispell-internal-change-dictionary)
14165 (ispell-region, ispell-skip-region-list)
14166 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14167 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14168 (ispell-message-text-end, ispell-message)
14169 (ispell-buffer-local-parsing): Doc fix.
14170
14171 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14172
14173 * htmlfontify.el: Add support for code block fontification for ODT
14174 export (Bug #9914).
14175 (hfy-optimisations): Define new option
14176 `body-text-only'
14177 (hfy-fontify-buffer): Honor above setting.
14178 (hfy-begin-span, hfy-end-span): New routines factored out form
14179 `hfy-fontify-buffer'.
14180 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14181 that permit insertion of custom tags.
14182 (hfy-fontify-buffer): Use above handlers.
14183 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14184 (hfy-face-to-css): Re-defined to be a variable.
14185 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14186 over multiple runs. This is made possible by having the caller let
14187 bind a special variable `hfy-user-sheet-assoc'.
14188 (htmlfontify-string): New defun.
14189 (hfy-compile-face-map): Make sure that the last char in the
14190 buffer is correctly fontified.
14191 (hfy-face-resolve-face): Whitespace only change.
14192
14193 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14194
14195 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14196 message more clear.
14197
14198 2012-03-16 Leo Liu <sdl.web@gmail.com>
14199
14200 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14201
14202 2012-03-16 Alan Mackenzie <acm@muc.de>
14203
14204 Further optimize the handling of large macros.
14205
14206 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14207 limit to a call of `c-literal-limits'.
14208 (c-determine-+ve-limit): New function.
14209 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14210 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14211 In CASE 5B, restrict a search limit to 500.
14212 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14213
14214 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14215 Restrict macro bounds to +-500 from after-change's BEG END.
14216
14217 2012-03-16 Leo Liu <sdl.web@gmail.com>
14218
14219 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14220
14221 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14222
14223 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14224 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14225
14226 2012-03-16 Glenn Morris <rgm@gnu.org>
14227
14228 * view.el (view-buffer, view-buffer-other-window)
14229 (view-buffer-other-frame): Doc fixes re special mode-class.
14230
14231 * subr.el (eval-after-load): If named feature is provided not from
14232 a file, run after-load forms. (Bug#10946)
14233
14234 * calendar/calendar.el (calendar-insert-at-column):
14235 Handle non-unit-width characters a bit better. (Bug#10978)
14236
14237 2012-03-15 Chong Yidong <cyd@gnu.org>
14238
14239 * emacs-lisp/ring.el (ring-extend): New function.
14240 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14241
14242 * comint.el (comint-read-input-ring)
14243 (comint-add-to-input-history): Grow comint-input-ring lazily.
14244
14245 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14248 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14249
14250 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14251 (imenu-add-to-menubar): Don't add a redundant index.
14252 (imenu-update-menubar): Handle a dynamically composed keymap.
14253
14254 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14255
14256 * mail/sendmail.el (mail-encode-header):
14257 Bind rfc2047-encode-encoded-words to nil.
14258
14259 2012-03-13 Glenn Morris <rgm@gnu.org>
14260
14261 * calendar/calendar.el (calendar-string-spread):
14262 Handle non-unit-width characters a bit better. (Bug#10978)
14263
14264 2012-03-13 Leo Liu <sdl.web@gmail.com>
14265
14266 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14267 directory and file as argument (Bug#10822).
14268
14269 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14270
14271 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14272 For dynamically generated code, follow $PC.
14273 (gdb-disassembly-handler-custom): Handle no function name case.
14274
14275 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14276
14277 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14278 * emulation/ws-mode.el (ws-query-replace):
14279 * sort.el (sort-regexp-fields):
14280 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14281
14282 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14283
14284 * dabbrev.el: Fix cycle completion order (bug#10963).
14285 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14286 (dabbrev-completion): Don't use an obarray; provide
14287 a cycle-sort-function.
14288
14289 2012-03-12 Leo Liu <sdl.web@gmail.com>
14290
14291 * simple.el (kill-new): Use equal-including-properties for comparison.
14292 (kill-do-not-save-duplicates): Doc fix.
14293
14294 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * dabbrev.el: Fix cycle completion (bug#10963).
14297 Use lexical binding and wrap to 80 columns.
14298 (dabbrev-completion): Delay computing the list of completions.
14299
14300 2012-03-12 Kenichi Handa <handa@m17n.org>
14301
14302 * international/quail.el (quail-insert-kbd-layout): Surround each
14303 row by LRO and PDF instead of inserting many LRMs. Pad the left
14304 and right of each non-spacing marks. Insert invisible space
14305 between lower and upper characters to prevent composition.
14306
14307 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 * minibuffer.el (minibuffer-complete): Don't get confused when the
14310 function is run twice via different commands (bug#10958).
14311 (complete-with-action): Fix docstring.
14312
14313 2012-03-12 Chong Yidong <cyd@gnu.org>
14314
14315 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14316 (nxml-completion-at-point-function): New function.
14317 (nxml-mode): Use it.
14318 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14319
14320 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14321 Load generated autoloads file before byte compiling (Bug#10970).
14322 (package--make-autoloads-and-compile): New helper fun.
14323
14324 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14325
14326 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14327
14328 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14329
14330 * autorevert.el (auto-revert-handler): Ensure, that
14331 file-readable-p is applied only for local files or in
14332 auto-revert-tail-mode.
14333
14334 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14335
14336 * server.el (server-eval-at): Handle non-tcp connections.
14337 Decode result string.
14338
14339 * server.el (server-msg-size): New constant.
14340 (server-reply-print): New function.
14341 (server-eval-and-print): Use it.
14342 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14343 Handle -print-nonl.
14344
14345 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14346
14347 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14348 (Bug#10987).
14349
14350 2012-03-11 Chong Yidong <cyd@gnu.org>
14351
14352 * simple.el (goto-line): Doc fix (Bug#9938).
14353
14354 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14355
14356 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14357 when finished (Bug#10963).
14358
14359 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14360
14361 * window.el (split-window-below): Fix bug in case where
14362 split-window-keep-point is nil (Bug#10971).
14363
14364 2012-03-11 Juri Linkov <juri@jurta.org>
14365
14366 * replace.el (replace-highlight): Set isearch-word to nil
14367 unconditionally. (Bug#10887)
14368
14369 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14370
14371 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14372 mairix-replace-illegal-chars; all callers changed. Don't remove
14373 ^, ~, and = characters: they are meaningful in mairix search specs.
14374 (mairix-widget-create-query): Add usage information about mairix
14375 search forms: negating words, searching for substrings, etc.
14376
14377 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14378
14379 * international/fontset.el (font-encoding-alist): Add an entry for
14380 ksx1001 (Bug#5667).
14381
14382 2012-03-10 Richard Stallman <rms@gnu.org>
14383
14384 * mail/sendmail.el (mail-encode-header):
14385 Set rfc2047-encode-encoded-words.
14386
14387 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14388
14389 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14390 view buffer means not swapped.
14391 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14392 (rmail-write-region-annotate): Error if real text has disappeared.
14393
14394 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14395
14396 2012-03-10 Chong Yidong <cyd@gnu.org>
14397
14398 * emulation/cua-rect.el (cua--init-rectangles):
14399 * emulation/cua-base.el (cua--init-keymaps):
14400 Add delete-forward-char to remappings (Bug#9666).
14401
14402 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14403
14404 * speedbar.el (speedbar-unhighlight-one-tag-line):
14405 Avoid unhighlighting due to frame switching (Bug#10275).
14406
14407 2012-03-10 Chong Yidong <cyd@gnu.org>
14408
14409 * minibuffer.el (completion-in-region, completion-help-at-point):
14410 Give the completion field overlay a high priority (Bug#6830).
14411
14412 * dired.el (dired-goto-file): Recognize absolute file name
14413 listings (Bug#7126).
14414 (dired-goto-file-1): New helper function.
14415 (dired-toggle-read-only): Inhibit warnings.
14416
14417 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14418
14419 * net/dbus.el (dbus-property-handler): Return empty array if
14420 there are no properties.
14421
14422 2012-03-09 Leo Liu <sdl.web@gmail.com>
14423
14424 * savehist.el (savehist-printable): Stricter check for string
14425 value (Bug#10937).
14426
14427 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14428
14429 * mail/smtpmail.el (smtpmail-send-it):
14430 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14431 valid mbox format.
14432
14433 2012-03-09 Glenn Morris <rgm@gnu.org>
14434
14435 * files.el (dir-locals-find-file):
14436 Don't check result is regular, readable.
14437 (dir-locals-read-from-file): Demote errors.
14438
14439 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14440
14441 * international/quail.el (quail-insert-kbd-layout):
14442 Insert invisible LRM characters before each character in a keyboard
14443 layout cell, to prevent their reordering by bidi display engine.
14444 For details, see the discussion in
14445 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14446
14447 2012-03-08 Alan Mackenzie <acm@muc.de>
14448
14449 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14450 the starting position; make it extend the marked region when
14451 invoked repeatedly - all under appropriate circumstances.
14452 Fixes bugs #5525, #10906.
14453
14454 2012-03-08 Glenn Morris <rgm@gnu.org>
14455
14456 * files.el (locate-dominating-file, dir-locals-find-file):
14457 Undo 2012-03-06 change.
14458
14459 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14460
14461 * international/quail.el (quail-help):
14462 Force bidi-paragraph-direction be left-to-right. See discussion in
14463 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14464 for the reason.
14465
14466 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14467
14468 Avoid superfluous registering of signals. (Bug#10807)
14469
14470 * notifications.el (notifications-on-action-object)
14471 (notifications-on-close-object): New defvars.
14472 (notifications-on-action-signal, notifications-on-closed-signal):
14473 Unregister the signal if not needed any longer.
14474 (notifications-notify): Register `notifications-action-signal' or
14475 `notifications-closed-signal', if :on-action or :on-close has been
14476 passed as argument.
14477
14478 2012-03-07 Chong Yidong <cyd@gnu.org>
14479
14480 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14481 non-X platforms.
14482
14483 2012-03-06 Glenn Morris <rgm@gnu.org>
14484
14485 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14486 (x-disown-selection-internal, x-get-selection-internal):
14487 Doc fix (add arglist signatures). (Bug#10783)
14488
14489 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14490
14491 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14492 Handle breakpoints with no "type".
14493
14494 2012-03-06 Glenn Morris <rgm@gnu.org>
14495
14496 * files.el (locate-dominating-file): Add optional predicate argument.
14497 (dir-locals-find-file): Make use of above change.
14498
14499 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14500
14501 * info.el (Info-insert-dir): Also try "dir.gz".
14502
14503 2012-03-06 Glenn Morris <rgm@gnu.org>
14504
14505 * files.el (dir-locals-find-file):
14506 Ignore non-readable or non-regular files. (Bug#10928)
14507
14508 * files.el (locate-dominating-file): Doc fix.
14509
14510 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14511
14512 * calendar/calendar.el (calendar-set-mode-line):
14513 `getenv' returns a string. (Bug#10951)
14514
14515 2012-03-05 Leo Liu <sdl.web@gmail.com>
14516
14517 * simple.el (backward-delete-char-untabify): Constrain point to
14518 field (Bug#10939).
14519
14520 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14521
14522 2012-03-05 Chong Yidong <cyd@gnu.org>
14523
14524 * simple.el (count-words): If called from Lisp, return the word
14525 count, for symmetry with `count-lines'. Arglist changed.
14526 (count-words--message): Args changed. Consolidate counting code
14527 from count-words and count-words-region.
14528 (count-words-region): Caller changed.
14529 (count-lines-region): Make it an obsolete alias.
14530
14531 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14532
14533 * saveplace.el (save-place-to-alist)
14534 (save-place-ignore-files-regexp): Allow value nil to disable this
14535 feature.
14536
14537 2012-03-04 Chong Yidong <cyd@gnu.org>
14538
14539 * faces.el (face-spec-reset-face): For the default face, reset the
14540 attributes to default values (Bug#10748).
14541
14542 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14543
14544 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14545 previous patch: Check `message-send-mail-function', and not the
14546 default function (bug#10897).
14547
14548 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14549
14550 * notifications.el (notifications-on-action-signal)
14551 (notifications-on-closed-signal): Check for unique service name of
14552 incoming event. Fix error in removing entry.
14553 (top): Register for signals with wildcard service name.
14554 (notifications-notify): Use daemon unique service name for map entries.
14555
14556 2012-03-04 Chong Yidong <cyd@gnu.org>
14557
14558 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14559
14560 2012-03-04 Glenn Morris <rgm@gnu.org>
14561
14562 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14563 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14564 (expand-abbrev, define-abbrev-table): Doc fixes.
14565
14566 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14567
14568 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14569 `message-default-send-mail-function' and not `send-mail-function'
14570 when doing the prompting for `sendmail-query-once' before sending
14571 in Message buffers (bug#10897).
14572
14573 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14574 This is inconsistent with all the other stream functions, which leave
14575 the setting up to the higher levels (if so wanted) (bug#10931).
14576
14577 2012-03-02 Alan Mackenzie <acm@muc.de>
14578
14579 Depessimize the handling of very large macros.
14580
14581 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14582 (c-macro-cache-syntactic): New variables to implement a one
14583 element macro cache.
14584 (c-invalidate-macro-cache): New function.
14585 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14586 Adapt to use the new cache.
14587 (c-state-safe-place): Use better the cache of safe positions.
14588 (c-state-semi-nonlit-pos-cache)
14589 (c-state-semi-nonlit-pos-cache-limit):
14590 New variables for...
14591 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14592 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14593 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14594 Use c-state-semi-safe-place.
14595
14596 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14597 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14598
14599 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14600
14601 * jka-compr.el (jka-compr-call-process):
14602 Apply `file-accessible-directory-p' only when the default directory is
14603 not remote.
14604
14605 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14606
14607 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14608 access of FILE2, if FILE1 does not exist.
14609
14610 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14611 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14612
14613 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14614 Add "PAGER=" to `process-environment'.
14615
14616 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14617
14618 * progmodes/sql.el: Bug fix
14619 (sql-get-login-ext): Save login values in globals.
14620 (sql-get-login): Use new version of `sql-get-login-ext'.
14621 (sql-interactive-mode): Set global `sql-connection' to nil.
14622 (sql-connect): Set global values for connection.
14623 (sql-product-interactive): Save global values as buffer local.
14624
14625 2012-02-29 Leo Liu <sdl.web@gmail.com>
14626
14627 * abbrev.el (define-abbrevs): Reset sys to nil.
14628
14629 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14630
14631 * files.el (file-equal-p): Rename from `files-equal-p'.
14632 Return nil when one or both files don't exist.
14633 (file-subdir-of-p): Now only top directory must exists,
14634 return nil if it doesn't.
14635 (copy-directory): No need to test with `file-subdir-of-p' after
14636 creating dir.
14637 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14638 to `file-equal-p'.
14639
14640 2012-02-28 Glenn Morris <rgm@gnu.org>
14641
14642 * shell.el (shell-mode):
14643 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14644 * play/landmark.el (landmark-font-lock-face-O):
14645 * play/handwrite.el (handwrite):
14646 * play/gomoku.el (gomoku-O):
14647 * net/browse-url.el (browse-url-browser-display):
14648 * international/mule.el (define-charset):
14649 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14650 * filesets.el (filesets-find-file-delay):
14651 * eshell/em-xtra.el (eshell-xtra):
14652 * eshell/em-unix.el (eshell-grep):
14653 * emulation/viper.el (viper-mode):
14654 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14655 * emacs-lisp/easymenu.el (easy-menu-define):
14656 * calendar/timeclock.el (timeclock-use-display-time):
14657 * bs.el (bs-mode):
14658 * bookmark.el (bookmark-save-flag):
14659 Doc fix (standardize possessive apostrophe usage).
14660
14661 2012-02-27 Chong Yidong <cyd@gnu.org>
14662
14663 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14664 Fix key-binding lookup for ESC key (Bug#9146).
14665
14666 * font-lock.el (font-lock-specified-p): Rename from
14667 font-lock-spec-present. Callers changed.
14668
14669 2012-02-27 Daniel Hackney <dan@haxney.org>
14670
14671 * emacs-lisp/package.el (package-compute-transaction):
14672 Handle holding a package version to t in package-load-list.
14673
14674 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14677 (tramp-get-inode, tramp-get-device): Use cached values.
14678
14679 2012-02-26 Alan Mackenzie <acm@muc.de>
14680
14681 Check there is a font-lock specification before doing initial
14682 fontification.
14683
14684 * font-core.el (font-lock-mode): Move the conditional from
14685 :after-hook to font-lock-initial-fontify.
14686 (font-lock-default-function): Move the check for a specification
14687 to font-lock-spec-present.
14688
14689 * font-lock.el (font-lock-initial-fontify): Call ...
14690 (font-lock-spec-present): New function.
14691
14692 2012-02-26 Jim Blandy <jimb@red-bean.com>
14693
14694 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14695 (gdb-send): Apply it to the operand of the '-interpreter-exec
14696 console' command, so that we can pass arguments with (say) quotes
14697 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14698
14699 2012-02-26 Chong Yidong <cyd@gnu.org>
14700
14701 * help-fns.el (describe-function-1): Clarify description of
14702 remapping (Bug#10844).
14703
14704 * files.el (files-equal-p): Doc fix.
14705 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14706 and quit the loop once a mismatch is found.
14707
14708 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14709
14710 * bs.el (bs--show-with-configuration): Don't throw an error
14711 if the window cannot be split; otherwise, subsequent calls to
14712 bs-show fail, restoring a stale window config. (Bug#10882)
14713
14714 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14715
14716 * term/ns-win.el (global-map): Bind ns-drag-file to
14717 ns-find-file (Bug#5855, Bug#10050).
14718
14719 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14720
14721 * calendar/parse-time.el (parse-time-string): Allow extractor to
14722 return nil.
14723
14724 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14725
14726 * net/tramp.el (tramp-file-name-for-operation):
14727 Add `files-equal-p' and `file-subdir-of-p'.
14728
14729 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14730 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14731 Add COPY-CONTENTS argument.
14732
14733 2012-02-25 Chong Yidong <cyd@gnu.org>
14734
14735 Add custom groups for VC backends, for consistency with vc-bzr.
14736
14737 * vc/vc-arch.el (vc-arch):
14738 * vc/vc-cvs.el (vc-cvs):
14739 * vc/vc-git.el (vc-git):
14740 * vc/vc-hg.el (vc-hg):
14741 * vc/vc-mtn.el (vc-mtn):
14742 * vc/vc-rcs.el (vc-rcs):
14743 * vc/vc-sccs.el (vc-sccs):
14744 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14745 All relevant defcustoms reassigned.
14746
14747 2012-02-25 Chong Yidong <cyd@gnu.org>
14748
14749 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14750
14751 * term/x-win.el (x-initialize-window-system): Reduce default for
14752 x-selection-timeout to 5 seconds (Bug#8869).
14753
14754 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14755
14756 * files.el (files-equal-p, file-subdir-of-p): New functions.
14757 (copy-directory): Error when trying to copy a directory on itself.
14758 Add missing copy-contents arg to tramp handler.
14759 * dired-aux.el (dired-copy-file-recursive): Same.
14760 (dired-create-files): Modify destination when source is equal to
14761 dest when copying files.
14762 Return also when dest is a subdir of source. (Bug#10489)
14763
14764 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14765
14766 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14767 (Bug#10874)
14768
14769 2012-02-23 Alan Mackenzie <acm@muc.de>
14770
14771 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14772 parameter "after-hook:" to allow the expansion to run code after
14773 the execution of the mode hooks.
14774
14775 * font-lock.el (font-lock-initial-fontify): New function extracted
14776 from font-lock-mode-internal.
14777
14778 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14779 :after-hook.
14780
14781 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14784 (completion--cache-all-sorted-completions): New function.
14785 (completion-all-sorted-completions): Use it.
14786 (completion--do-completion, minibuffer-force-complete):
14787 Use it to re-instate the flush hook.
14788
14789 * icomplete.el (icomplete-completions): Replace last fix with a better
14790 one (bug#10850).
14791
14792 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14793
14794 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14795 when it might call us back infinitely (bug#10797).
14796
14797 2012-02-23 Glenn Morris <rgm@gnu.org>
14798
14799 * minibuffer.el (completion-category-overrides): Doc fix.
14800
14801 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14804 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14805
14806 2012-02-23 Glenn Morris <rgm@gnu.org>
14807
14808 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14809 (authors-obsolete-files-regexps, authors-ignored-files)
14810 (authors-ambiguous-files, authors-renamed-files-alist):
14811 Add more entries.
14812
14813 2012-02-23 Juri Linkov <juri@jurta.org>
14814
14815 * isearch.el (isearch-occur): Sync interactive spec with occur's
14816 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14817
14818 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14819
14820 2012-02-22 Juri Linkov <juri@jurta.org>
14821
14822 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14823 (ucs-insert): Doc fix. Check for hex digits in the string.
14824 Don't display `nil' in the error message. (Bug#10857)
14825
14826 2012-02-22 Alan Mackenzie <acm@muc.de>
14827
14828 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14829
14830 2012-02-22 Glenn Morris <rgm@gnu.org>
14831
14832 * ffap.el (ffap-c-path):
14833 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14834
14835 2012-02-22 Chong Yidong <cyd@gnu.org>
14836
14837 * custom.el (load-theme): Doc fix.
14838
14839 2012-02-22 Glenn Morris <rgm@gnu.org>
14840
14841 * dired-x.el (dired-guess-shell-alist-default):
14842 Remove escape sequences from nroff output. (Bug#172)
14843
14844 2012-02-21 Glenn Morris <rgm@gnu.org>
14845
14846 * vc/emerge.el (emerge-defvar-local):
14847 Set `permanent-local' property rather than unused `preserved'.
14848
14849 * textmodes/picture.el (picture-delete-char): New alias.
14850 (picture-mode-map): Use it. (Bug#10860)
14851 (picture-mode): Doc fix.
14852
14853 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14854
14855 * newcomment.el (uncomment-region-default): Remove unused binding.
14856
14857 2012-02-21 Glenn Morris <rgm@gnu.org>
14858
14859 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14860 (picture-self-insert, picture-tab-chars): Doc fix.
14861 (picture-mode-map): Fix C-a, C-e.
14862
14863 2012-02-20 Glenn Morris <rgm@gnu.org>
14864
14865 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14866
14867 2012-02-20 Leo Liu <sdl.web@gmail.com>
14868
14869 * icomplete.el (icomplete-completions): Check FROM arg before
14870 passing to substring (Bug#10850).
14871
14872 2012-02-19 Chong Yidong <cyd@gnu.org>
14873
14874 * comint.el: Require ansi-color.
14875 (comint-output-filter-functions): Add ansi-color-process-output.
14876
14877 * ansi-color.el: Don't set comint-output-filter-functions; it is
14878 now in the initial value defined in comint.el.
14879 (ansi-color-apply-face-function): New variable.
14880 (ansi-color-apply-on-region): Use it.
14881 (ansi-color-apply-overlay-face): New function.
14882
14883 * shell.el (shell): No need to require ansi-color.
14884 (shell-mode): Use ansi-color-apply-face-function to highlight
14885 color escapes using font-lock-face property (Bug#10835).
14886
14887 2012-02-19 Chong Yidong <cyd@gnu.org>
14888
14889 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14890 mode-line formats (Bug#10839).
14891
14892 2012-02-18 Glenn Morris <rgm@gnu.org>
14893
14894 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14895
14896 * mail/undigest.el (unforward-rmail-message): Doc fix.
14897
14898 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14899
14900 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14901
14902 * international/characters.el (script-list): Sync with the latest
14903 Unicode Character Database.
14904
14905 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14906
14907 * international/titdic-cnv.el: Remove duplicate coding tag.
14908 * language/cham.el: Likewise.
14909 * language/tai-viet.el: Likewise.
14910
14911 2012-02-18 Glenn Morris <rgm@gnu.org>
14912
14913 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14914 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14915 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14916 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14917 * calendar/holidays.el (holiday-bahai-holidays)
14918 (calendar-holidays, list-holidays):
14919 Use utf-8 Bahá'í in doc-strings, menus, etc.
14920
14921 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14922
14923 * saveplace.el (save-place-ignore-files-regexp): New variable
14924 allowing for excluding files from saving their location of point.
14925 The default value matches the temporary commit message editing
14926 files from Git, SVN, Bazaar, and Mercurial.
14927 (save-place-to-alist): Use it.
14928
14929 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14930 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * newcomment.el (uncomment-region-default): Don't leave extra space
14933 when an arg is provided (bug#8150).
14934
14935 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14936
14937 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14938
14939 2012-02-17 Glenn Morris <rgm@gnu.org>
14940
14941 * net/socks.el: Require network-stream. (Bug#10599)
14942
14943 2012-02-17 Kenichi Handa <handa@m17n.org>
14944
14945 * international/charprop.el:
14946 * international/uni-name.el:
14947 * international/uni-old-name.el:
14948 * international/uni-comment.el: Regenerate.
14949
14950 2012-02-16 Glenn Morris <rgm@gnu.org>
14951
14952 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14953 Interactively in calendar buffer, give an error if not on a date.
14954
14955 2012-02-15 Glenn Morris <rgm@gnu.org>
14956
14957 * shell.el (shell-delimiter-argument-list):
14958 Revert 2011-02-17 change. (Bug#8027)
14959
14960 2012-02-15 Chong Yidong <cyd@gnu.org>
14961
14962 * minibuffer.el (completion-at-point-functions): Doc fix.
14963
14964 * custom.el (defcustom): Doc fix; note use of defvar.
14965
14966 2012-02-15 Glenn Morris <rgm@gnu.org>
14967
14968 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14969 Doc fixes.
14970
14971 2012-02-14 Glenn Morris <rgm@gnu.org>
14972
14973 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14974
14975 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14976
14977 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14978 way the ports list is computed.
14979 (smtpmail-query-smtp-server): Prompt the user for a port number if
14980 we can't connect to any of the standard ports (bug#10810).
14981
14982 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14983
14984 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14985
14986 2012-02-13 Glenn Morris <rgm@gnu.org>
14987
14988 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14989
14990 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14991
14992 * net/gnutls.el (gnutls-trustfiles): New variable.
14993 (gnutls-negotiate): Use it.
14994
14995 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14996
14997 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14998 does its stuff if Gnus is running.
14999
15000 2012-02-13 Alan Mackenzie <acm@muc.de>
15001
15002 Fix a loop in c-set-fl-decl-start.
15003
15004 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15005 c-backward-syntactic-ws actually moves backwards.
15006
15007 2012-02-13 Leo Liu <sdl.web@gmail.com>
15008
15009 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15010 beginning so that all \C-o chars are removed.
15011
15012 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15013
15014 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15015
15016 2012-02-12 Alan Mackenzie <acm@muc.de>
15017
15018 Fix infinite loop with long macros.
15019 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15020
15021 2012-02-12 Chong Yidong <cyd@gnu.org>
15022
15023 * window.el (display-buffer): Doc fix (Bug#10785).
15024
15025 2012-02-12 Glenn Morris <rgm@gnu.org>
15026
15027 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15028 (x-disown-selection-internal, x-get-selection-internal):
15029 Sync docs with the xselect.c versions.
15030
15031 * allout-widgets.el: Add missing license notice.
15032
15033 2012-02-11 Glenn Morris <rgm@gnu.org>
15034
15035 * select.el (x-get-selection-internal, x-own-selection-internal)
15036 (x-disown-selection-internal):
15037 * x-dnd.el (x-get-selection-internal): Update declarations.
15038
15039 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15040
15041 * window.el (window-sides-slots):
15042 * tool-bar.el (tool-bar-position):
15043 * term/xterm.el (xterm-extra-capabilities):
15044 * ses.el (ses-self-reference-early-detection):
15045 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15046 (verilog-auto-wire-type)
15047 (verilog-auto-delete-trailing-whitespace)
15048 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15049 (verilog-auto-tieoff-declaration):
15050 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15051 (sql-oracle-statement-starters, sql-oracle-scan-on):
15052 * progmodes/prolog.el (prolog-align-comments-flag)
15053 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15054 (prolog-left-indent-regexp, prolog-paren-indent-p)
15055 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15056 (prolog-types, prolog-mode-specificators)
15057 (prolog-determinism-specificators, prolog-directives)
15058 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15059 (prolog-electric-dot-flag)
15060 (prolog-electric-dot-full-predicate-template)
15061 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15062 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15063 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15064 (prolog-program-switches, prolog-prompt-regexp)
15065 (prolog-debug-on-string, prolog-debug-off-string)
15066 (prolog-trace-on-string, prolog-trace-off-string)
15067 (prolog-zip-on-string, prolog-zip-off-string)
15068 (prolog-use-standard-consult-compile-method-flag)
15069 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15070 (prolog-imenu-max-lines, prolog-info-predicate-index)
15071 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15072 (prolog-char-quote-workaround):
15073 * progmodes/cc-vars.el (c-defun-tactic):
15074 * net/tramp.el (tramp-encoding-command-interactive)
15075 (tramp-local-end-of-line):
15076 * net/soap-client.el (soap-client):
15077 * net/netrc.el (netrc-file):
15078 * net/gnutls.el (gnutls):
15079 * minibuffer.el (completion-category-overrides)
15080 (completion-cycle-threshold)
15081 (completion-pcm-complete-word-inserts-delimiters):
15082 * man.el (Man-name-local-regexp):
15083 * mail/feedmail.el (feedmail-display-full-frame):
15084 * international/characters.el (glyphless-char-display-control):
15085 * eshell/em-ls.el (eshell-ls-date-format):
15086 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15087 (lisp-lambda-list-keyword-parameter-indentation)
15088 (lisp-lambda-list-keyword-parameter-alignment):
15089 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15090 * dired-x.el (dired-omit-verbose):
15091 * cus-theme.el (custom-theme-allow-multiple-selections):
15092 * calc/calc.el (calc-highlight-selections-with-faces)
15093 (calc-lu-field-reference, calc-lu-power-reference)
15094 (calc-note-threshold):
15095 * battery.el (battery-mode-line-limit):
15096 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15097 (archive-7z-update):
15098 * allout.el (allout-prefixed-keybindings)
15099 (allout-unprefixed-keybindings)
15100 (allout-inhibit-auto-fill-on-headline)
15101 (allout-flattened-numbering-abbreviation):
15102 * allout-widgets.el (allout-widgets-auto-activation)
15103 (allout-widgets-icons-dark-subdir)
15104 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15105 (allout-widgets-theme-dark-background)
15106 (allout-widgets-theme-light-background)
15107 (allout-widgets-item-image-properties-emacs)
15108 (allout-widgets-item-image-properties-xemacs)
15109 (allout-widgets-run-unit-tests-on-load)
15110 (allout-widgets-time-decoration-activity)
15111 (allout-widgets-hook-error-post-time)
15112 (allout-widgets-track-decoration):
15113 Add missing :version tags to new defcustoms and defgroups.
15114
15115 * progmodes/sql.el (sql-ansi-statement-starters)
15116 (sql-oracle-statement-starters): Add custom type.
15117
15118 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15119 (prolog-system-version): Give it a type.
15120
15121 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15122
15123 * term/pc-win.el (x-select-text, x-selection-owner-p)
15124 (x-own-selection-internal, x-disown-selection-internal)
15125 (x-get-selection-internal): Sync doc strings and argument lists
15126 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15127
15128 2012-02-11 Leo Liu <sdl.web@gmail.com>
15129
15130 * progmodes/python.el (python-end-of-statement): Fix infinite
15131 loop. (Bug#10788)
15132
15133 2012-02-10 Glenn Morris <rgm@gnu.org>
15134
15135 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15136 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15137
15138 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15139
15140 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15141 about SMTP before checking the From header.
15142
15143 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15144 into own function for reuse by emacsbug.el.
15145
15146 2012-02-10 Leo Liu <sdl.web@gmail.com>
15147
15148 * subr.el (condition-case-unless-debug): Rename from
15149 condition-case-no-debug. All callers changed.
15150 (with-demoted-errors): Fix caller.
15151
15152 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15153 * nxml/rng-valid.el (rng-do-some-validation):
15154 * emacs-lisp/package.el (package-refresh-contents)
15155 (package-menu-execute):
15156 * desktop.el (desktop-create-buffer):
15157 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15158
15159 2012-02-10 Glenn Morris <rgm@gnu.org>
15160
15161 * textmodes/bibtex.el:
15162 Add missing :version tags for new/changed defcustoms.
15163
15164 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15165
15166 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15167
15168 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15169 (smtpmail-via-smtp): Use it, or fall back on the From address.
15170 (smtpmail-send-it): Ditto.
15171
15172 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15173
15174 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15175 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15176 (byte-compile-tmp-var): New const.
15177 (byte-compile-defvar): Use it to minimize .elc size.
15178 Just use `defvar' rather than simulate it (bug#10761).
15179
15180 2012-02-09 Glenn Morris <rgm@gnu.org>
15181
15182 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15183
15184 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15185 Add :version tags.
15186
15187 * progmodes/compile.el (compilation-error-screen-columns)
15188 (compilation-first-column, compilation-filter-start): Doc fixes.
15189
15190 * vc/log-view.el (log-view-toggle-entry-display):
15191 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15192
15193 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15194 (report-emacs-bug-can-use-xdg-email):
15195 (report-emacs-bug-insert-to-mailer): Doc fixes.
15196 (report-emacs-bug): Message fix.
15197
15198 * net/browse-url.el (browse-url-can-use-xdg-open)
15199 (browse-url-xdg-open): Doc fixes.
15200
15201 * electric.el (electric-indent-mode, electric-pair-mode)
15202 (electric-layout-rules, electric-layout-mode): Doc fixes.
15203 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15204
15205 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15206
15207 * server.el (server-unselect-display): Don't inadvertently kill
15208 the current buffer. (Bug#10729)
15209
15210 2012-02-08 Glenn Morris <rgm@gnu.org>
15211
15212 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15213 (sql-list-table): Doc fixes.
15214
15215 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15216 Comment out (does nothing).
15217
15218 * completion.el (dynamic-completion-mode):
15219 * dirtrack.el (dirtrack-debug-mode):
15220 * electric.el (electric-layout-mode):
15221 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15222 * face-remap.el (text-scale-mode, buffer-face-mode):
15223 * iimage.el (iimage-mode):
15224 * image-mode.el (image-transform-mode):
15225 * minibuffer.el (completion-in-region-mode):
15226 * scroll-lock.el (scroll-lock-mode):
15227 * simple.el (next-error-follow-minor-mode):
15228 * tar-mode.el (tar-subfile-mode):
15229 * tooltip.el (tooltip-mode):
15230 * vcursor.el (vcursor-use-vcursor-map):
15231 * wid-browse.el (widget-minor-mode):
15232 * emulation/tpu-edt.el (tpu-edt-mode):
15233 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15234 * international/iso-ascii.el (iso-ascii-mode):
15235 * language/thai-util.el (thai-word-mode):
15236 * mail/supercite.el (sc-minor-mode):
15237 * net/goto-addr.el (goto-address-mode):
15238 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15239 * progmodes/cwarn.el (cwarn-mode):
15240 * progmodes/flymake.el (flymake-mode):
15241 * progmodes/glasses.el (glasses-mode):
15242 * progmodes/hideshow.el (hs-minor-mode):
15243 * progmodes/pascal.el (pascal-outline-mode):
15244 * textmodes/enriched.el (enriched-mode):
15245 * vc/smerge-mode.el (smerge-mode):
15246 Doc fixes (minor mode argument).
15247
15248 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15249
15250 * ls-lisp.el (ls-lisp-sanitize): New function.
15251 (ls-lisp-insert-directory): Use it to fix or remove any elements
15252 in file-alist with missing attributes. (Bug#4673)
15253
15254 2012-02-07 Alan Mackenzie <acm@muc.de>
15255
15256 Fix spurious recognition of c-in-knr-argdecl.
15257
15258 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15259 putative K&R region.
15260
15261 2012-02-07 Alan Mackenzie <acm@muc.de>
15262
15263 * progmodes/cc-engine.el (c-forward-objc-directive):
15264 Prevent looping in "#pragma mark @implementation".
15265
15266 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15267
15268 * notifications.el (notifications-on-closed-signal): Make `reason'
15269 optional. (Bug#10744)
15270
15271 2012-02-07 Glenn Morris <rgm@gnu.org>
15272
15273 * emacs-lisp/easy-mmode.el (define-minor-mode):
15274 Doc fixes for the macro and the mode it defines.
15275
15276 * image.el (imagemagick-types-inhibit): Doc fix.
15277
15278 * cus-start.el (imagemagick-render-type): Add it.
15279
15280 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15281
15282 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15283 Set the default at load time, too, so that `font-lock-fontify-buffer'
15284 can be called without setting up the entire mode first. This fixes
15285 a bug in `mm-inline-text' with C MIME parts.
15286
15287 2012-02-06 Chong Yidong <cyd@gnu.org>
15288
15289 * simple.el (list-processes--refresh): Delete exited processes
15290 (Bug#8094).
15291
15292 * comint.el (comint-next-prompt): next-single-char-property-change
15293 and prev-single-char-property-change never return nil (Bug#8657).
15294
15295 * custom.el (defcustom): Doc fix (Bug#9711).
15296
15297 2012-02-05 Chong Yidong <cyd@gnu.org>
15298
15299 * cus-edit.el (custom-variable-reset-backup): Quote the value
15300 before storing it in the customized-value property (Bug#6712).
15301 (custom-display): Add a customization type tag.
15302 (custom-buffer-create-internal): Improve tooltip message.
15303
15304 * wid-edit.el (widget-field-value-get): New optional arg to
15305 suppress trailing whitespace truncation.
15306 (character): Use it (Bug#2689).
15307
15308 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15309
15310 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15311 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15312
15313 2012-02-05 Chong Yidong <cyd@gnu.org>
15314
15315 * cus-edit.el (custom-variable-value-create): For mismatched
15316 types, show the current value (Bug#7600).
15317
15318 * custom.el (defcustom): Doc fix.
15319
15320 2012-02-05 Glenn Morris <rgm@gnu.org>
15321
15322 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15323
15324 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15325
15326 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15327 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15328 (pp-last-sexp): Use `looking-at-p'.
15329
15330 2012-02-04 Glenn Morris <rgm@gnu.org>
15331
15332 * files.el (revert-buffer):
15333 Doc fix (mention revert-buffer-in-progress-p).
15334
15335 * emacs-lisp/ert-x.el (ert-simulate-command):
15336 Check deferred-action-list (which is obsolete) is bound.
15337
15338 * subr.el (with-wrapper-hook): Doc fixes.
15339
15340 * simple.el (filter-buffer-substring-functions)
15341 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15342
15343 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15344
15345 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15346 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15347
15348 2012-02-04 Leo Liu <sdl.web@gmail.com>
15349
15350 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15351
15352 2012-02-04 Glenn Morris <rgm@gnu.org>
15353
15354 * image.el (image-extension-data): Add obsolete alias.
15355
15356 * isearch.el (isearch-update): Doc fix.
15357
15358 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15359
15360 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15361
15362 2012-02-03 Glenn Morris <rgm@gnu.org>
15363
15364 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15365 (image-animate-timeout): Doc fix.
15366
15367 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15368
15369 2012-02-02 Glenn Morris <rgm@gnu.org>
15370
15371 * server.el (server-auth-dir): Doc fix.
15372 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15373
15374 * subr.el (run-mode-hooks): Doc fix.
15375
15376 2012-02-02 Juri Linkov <juri@jurta.org>
15377
15378 * image-mode.el (image-toggle-display-image): Remove tautological
15379 `major-mode' from the `derived-mode-p' test.
15380
15381 2012-02-02 Kenichi Handa <handa@m17n.org>
15382
15383 * composite.el (compose-region): Cancel previous change.
15384
15385 2012-02-02 Kenichi Handa <handa@m17n.org>
15386
15387 * composite.el (compose-region, compose-string): Signal error for
15388 a null string component (Bug#6988).
15389
15390 2012-02-01 Chong Yidong <cyd@gnu.org>
15391
15392 * view.el (view-buffer-other-window, view-buffer-other-frame):
15393 Handle special modes like view-buffer (Bug#10650).
15394 (view-buffer): Simplify.
15395
15396 * frame.el (set-frame-font): Tweak meaning of third argument.
15397
15398 * dynamic-setting.el (font-setting-change-default-font):
15399 Use set-frame-font (Bug#9982).
15400
15401 2012-02-01 Glenn Morris <rgm@gnu.org>
15402
15403 * progmodes/compile.el (compilation-internal-error-properties):
15404 Respect compilation-first-column in the "*compilation*" buffer.
15405
15406 * emacs-lisp/easy-mmode.el (define-minor-mode):
15407 Relax :variable's test for a named function.
15408
15409 2012-01-31 Alan Mackenzie <acm@muc.de>
15410
15411 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15412 off by one error.
15413
15414 2012-01-31 Chong Yidong <cyd@gnu.org>
15415
15416 * frame.el (set-frame-font): New arg ALL-FRAMES.
15417
15418 * menu-bar.el (menu-set-font): Use set-frame-font.
15419
15420 * faces.el (face-spec-reset-face): Don't apply unspecified
15421 attribute values to the default face.
15422
15423 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15424
15425 * progmodes/cwarn.el (cwarn): Remove dead link.
15426 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15427 Remove * from defcustom docstrings.
15428 (turn-on-cwarn-mode): Make obsolete.
15429 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15430 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15431
15432 2012-01-31 Glenn Morris <rgm@gnu.org>
15433
15434 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15435 Fix :variable handling of mode a symbol not equal to modefun.
15436 Allow named functions to be used as the cdr of :variable.
15437
15438 2012-01-30 Glenn Morris <rgm@gnu.org>
15439
15440 * emacs-lisp/authors.el (authors-fixed-entries):
15441 Remove reference to deleted file rnewspost.el.
15442
15443 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15444
15445 * window.el (window-with-parameter): Remove unused variable `windows'.
15446 (window--side-check): Remove unused variable `code'.
15447 (window--resize-siblings): Remove unused variable `first'.
15448 (adjust-window-trailing-edge): Remove unused variable `failed'.
15449 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15450 Use `let', not `let*'.
15451 (balance-windows-2): Remove unused variable `found'.
15452 (window--state-put-2): Remove unused variable `splits'.
15453 (window-state-put): Remove unused variable `selected'.
15454 (same-window-p): Use `string-match-p'.
15455 (display-buffer-assq-regexp): Remove unused variable `value'.
15456 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15457 Mark argument ALIST as ignored.
15458 (pop-to-buffer): Remove unused variable `old-window'.
15459
15460 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15461
15462 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15463 and .lzma compressed files.
15464
15465 2012-01-29 Chong Yidong <cyd@gnu.org>
15466
15467 * frame.el (window-system-default-frame-alist): Doc fix.
15468
15469 * dynamic-setting.el (font-setting-change-default-font): Don't
15470 change the default face if SET-FONT argument is non-nil (Bug#9982).
15471
15472 2012-01-29 Samuel Bronson <naesten@gmail.com>
15473
15474 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15475
15476 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15477
15478 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15479 breakpoints in files outside current directory (Bug#6098).
15480
15481 2012-01-29 Chong Yidong <cyd@gnu.org>
15482
15483 * progmodes/python.el: Require ansi-color at top-level.
15484
15485 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15486 Define and use in Emacs Lisp mode (Bug#9360).
15487 (lisp-mode-abbrev-table): Add doc.
15488 (lisp-mode-variables): Don't set local-abbrev-table.
15489 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15490
15491 2012-01-28 Roland Winkler <winkler@gnu.org>
15492
15493 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15494
15495 2012-01-28 Roland Winkler <winkler@gnu.org>
15496
15497 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15498 (bibtex-set-dialect): Use it. Either set global values of
15499 dialect-dependent variables or bind these variables buffer-locally
15500 (Bug#10254).
15501 (bibtex-mode): Call bibtex-set-dialect via
15502 hack-local-variables-hook.
15503 (bibtex-dialect): Update docstring.
15504 Add safe-local-variable predicate.
15505 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15506 bibtex-set-dialect.
15507 (bibtex-mode-map): Define menu for each dialect.
15508 (bibtex-entry): Fix docstring.
15509
15510 2012-01-28 Chong Yidong <cyd@gnu.org>
15511
15512 * eshell/esh-arg.el (eshell-quote-argument): New function.
15513
15514 * eshell/esh-ext.el (eshell-invoke-batch-file):
15515 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15516 first arg to eshell-parse-command (Bug#10523).
15517
15518 2012-01-28 Drew Adams <drew.adams@oracle.com>
15519
15520 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15521 `default-directory' is non-nil.
15522
15523 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15524
15525 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15526 line that displays system-configuration-options. (Bug#9924)
15527
15528 2012-01-28 Drew Adams <drew.adams@oracle.com>
15529
15530 * descr-text.el (describe-char): Show information about POS, in
15531 addition to information about the character at POS. Improve and
15532 update the doc string. Change "code point" to "code point in
15533 charset", to avoid confusion with the character's Unicode code
15534 point shown above that. (Bug#10129)
15535
15536 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15537
15538 * descr-text.el (describe-char): Show the raw character, not only
15539 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15540 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15541 for the reasons.
15542
15543 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15544
15545 * emacs-lisp/package.el (package-install):
15546 Run package-refresh-contents if there is no archive yet (Bug#9798).
15547
15548 2012-01-28 Chong Yidong <cyd@gnu.org>
15549
15550 * emacs-lisp/package.el (package-maybe-load-descriptor):
15551 New function, split from package-maybe-load-descriptor.
15552 (package-maybe-load-descriptor): Use it.
15553 (package-download-transaction): Fully load required packages
15554 inside the loop, so that `require' calls work (Bug#10593).
15555 (package-install): No need to call package-initialize now.
15556
15557 2012-01-28 Chong Yidong <cyd@gnu.org>
15558
15559 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15560
15561 * tooltip.el (tooltip-mode): Doc fix.
15562 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15563
15564 * frame.el (set-cursor-color): Doc fix (Bug#352).
15565
15566 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15567 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15568
15569 * cus-edit.el (custom-buffer-create-internal): Fix search button
15570 action (Bug#10542).
15571 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15572
15573 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15574
15575 * dired.el (dired-mark-files-regexp):
15576 Include any subdirectory components. (Bug#10445)
15577
15578 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15579
15580 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15581 Handle [host]:port syntax. (Bug#10533)
15582
15583 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15584
15585 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15586
15587 2012-01-26 Glenn Morris <rgm@gnu.org>
15588
15589 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15590 * term.el (term-raw-escape-map): Use Control-X-prefix.
15591 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15592
15593 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15594
15595 * window.el (window-state-get, window--state-get-1): Don't deal
15596 with fixed-sizeness of windows. Simplify code.
15597
15598 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15599
15600 * window.el (window--state-get-1, window--state-put-2):
15601 Don't save and restore the mark.
15602
15603 2012-01-25 Chong Yidong <cyd@gnu.org>
15604
15605 * custom.el (custom-variable-p): Doc fix.
15606
15607 2012-01-25 Glenn Morris <rgm@gnu.org>
15608
15609 * dired.el (dired-goto-file): Handle some of the more common
15610 characters that `ls -b' escapes. (Bug#10596)
15611
15612 * progmodes/compile.el (compilation-next-error-function):
15613 Respect compilation-first-column in the "*compilation*" buffer.
15614 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15615
15616 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15617
15618 2012-01-24 Glenn Morris <rgm@gnu.org>
15619
15620 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15621
15622 2012-01-24 Julien Danjou <julien@danjou.info>
15623
15624 * color.el (color-rgb-to-hsl): Fix value computing.
15625 (color-hue-to-rgb): New function.
15626 (color-hsl-to-rgb): New function.
15627 (color-clamp, color-saturate-hsl, color-saturate-name)
15628 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15629 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15630
15631 2012-01-24 Glenn Morris <rgm@gnu.org>
15632
15633 * vc/vc-rcs.el (vc-rcs-create-tag):
15634 * vc/vc-sccs.el (vc-sccs-create-tag):
15635 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15636
15637 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15638
15639 * eshell/esh-util.el (eshell-read-hosts-file):
15640 Skip comment lines. (Bug#10549)
15641
15642 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15643
15644 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15645
15646 * subr.el (display-delayed-warnings): Doc fix.
15647 (collapse-delayed-warnings): New function to collapse identical
15648 adjacent warnings.
15649 (delayed-warnings-hook): Add it.
15650
15651 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15652
15653 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15654
15655 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15656 (tramp-default-user-alist): Don't add "pscp".
15657 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15658 property "login-as", if set. (Bug#10530)
15659
15660 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15661
15662 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15663 "plink1" and "psftp". (Bug#10530)
15664
15665 2012-01-21 Kenichi Handa <handa@m17n.org>
15666
15667 * international/mule-cmds.el (prefer-coding-system): Show a
15668 warning message if the default value of file-name-coding-system
15669 was not changed.
15670
15671 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15672
15673 * windmove.el (windmove-reference-loc):
15674 Fix windmove-reference-loc miscalculation.
15675
15676 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15677
15678 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15679 default unit.
15680
15681 2012-01-21 Glenn Morris <rgm@gnu.org>
15682
15683 * international/mule.el (auto-coding-alist): Add .tbz.
15684
15685 * files.el (local-enable-local-variables): Doc fix.
15686 (inhibit-local-variables-regexps): Rename from
15687 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15688 Doc fix. Add some extensions from auto-coding-alist.
15689 (inhibit-local-variables-suffixes):
15690 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15691 (inhibit-local-variables-p):
15692 New function, extracted from set-auto-mode-1.
15693 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15694 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15695 (hack-local-variables): Doc fix. Make the mode-only case
15696 respect enable-local-variables and friends.
15697 Respect inhibit-local-variables-regexps for file-locals, but
15698 not for directory-locals.
15699 (set-visited-file-name):
15700 Take account of inhibit-local-variables-regexps.
15701 Whether it applies may change as the file name is changed.
15702 * jka-cmpr-hook.el (jka-compr-install):
15703 * jka-compr.el (jka-compr-uninstall):
15704 Update for inhibit-first-line-modes-suffixes name change.
15705
15706 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15707
15708 * help-macro.el (make-help-screen): Temporarily restore original
15709 binding for minor-mode-map-alist (Bug#10454).
15710
15711 2012-01-19 Julien Danjou <julien@danjou.info>
15712
15713 * color.el (color-name-to-rgb): Use the white color to find the max
15714 color component value and return correctly computed values.
15715 (color-name-to-rgb): Add missing float conversion for max value.
15716
15717 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15718
15719 * window.el (window--state-get-1, window-state-get): Do not use
15720 special state value for window-persistent-parameters.
15721 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15722 (window--state-put-2): Reset all window parameters to nil before
15723 assigning values of persistent parameters.
15724
15725 2012-01-18 Alan Mackenzie <acm@muc.de>
15726
15727 Eliminate sluggishness and hangs in fontification of "semicolon
15728 deserts".
15729
15730 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15731 Change value 10000 -> 3000.
15732 (c-state-safe-place): Reformulate so it doesn't stack up an
15733 infinite number of wrong entries in c-state-nonlit-pos-cache.
15734 (c-determine-limit-get-base, c-determine-limit): New functions to
15735 determine backward search limits disregarding literals.
15736 (c-find-decl-spots): Amend commenting.
15737 (c-cheap-inside-bracelist-p): New function which detects "={".
15738
15739 * progmodes/cc-fonts.el
15740 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15741 backward search.
15742 (c-font-lock-declarations): Fix an occurrence of point being
15743 undefined. Check additionally for point being in a bracelist or
15744 near a macro invocation without a semicolon so as to avoid a
15745 fruitless time consuming search for a declarator. Give a more
15746 precise search limit for declarators using the new
15747 c-determine-limit.
15748
15749 2012-01-18 Glenn Morris <rgm@gnu.org>
15750
15751 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15752 (set-auto-mode): Doc fixes.
15753
15754 2012-01-17 Glenn Morris <rgm@gnu.org>
15755
15756 * isearch.el (search-nonincremental-instead): Fix doc typo.
15757
15758 * dired.el (dired-insert-directory): Handle newlines in directory name.
15759 (dired-build-subdir-alist): Unescape newlines in directory name.
15760
15761 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15762
15763 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15764 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15765 (tramp-action-terminal): Use it. (Bug#10530)
15766
15767 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15768
15769 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15770
15771 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15772
15773 * window.el (window-state-ignored-parameters): Remove variable.
15774 (window--state-get-1): Rename argument MARKERS to IGNORE.
15775 Handle persistent window parameters. Make copy of clone-of
15776 parameter only if requested. (Bug#10348)
15777 (window--state-put-2): Install a window parameter only if it has
15778 a non-nil value or an existing parameter shall be overwritten.
15779
15780 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15781
15782 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15783
15784 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15785
15786 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15787 don't pass the (nil) value of `upnode' to string-match.
15788
15789 2012-01-14 Chong Yidong <cyd@gnu.org>
15790
15791 * startup.el (command-line): Fix X resource class for cursorColor.
15792 Fix values recognized by the cursorBlink resource.
15793
15794 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15795
15796 * epg.el (epg--make-temp-file): Avoid permission race condition
15797 when running on old Emacs versions (bug#10403).
15798
15799 2012-01-14 Glenn Morris <rgm@gnu.org>
15800
15801 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15802
15803 2012-01-13 Alan Mackenzie <acm@muc.de>
15804
15805 Fix filling for when filladapt mode is enabled.
15806
15807 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15808 c-mask-paragraph, pass in `fill-paragraph' rather than
15809 `fill-region-as-paragraph'. (This is a reversion of a previous
15810 change.)
15811 * progmodes/cc-mode.el (c-basic-common-init):
15812 Make fill-paragraph-handle-comment buffer local and set it to nil.
15813
15814 2012-01-13 Glenn Morris <rgm@gnu.org>
15815
15816 * dired.el (dired-switches-escape-p): New function.
15817 (dired-insert-directory): Use dired-switches-escape-p.
15818 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15819
15820 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15821
15822 2012-01-12 Glenn Morris <rgm@gnu.org>
15823
15824 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15825 changes in adaptive-fill-regexp. (Bug#10276)
15826
15827 2012-01-11 Alan Mackenzie <acm@muc.de>
15828
15829 Fix Emacs bug #10463 - put `widen's around the critical spots.
15830
15831 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15832 widen around each invocation of c-state-pp-to-literal. Remove an
15833 unused let variable.
15834
15835 2012-01-11 Glenn Morris <rgm@gnu.org>
15836
15837 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15838 Doc fix.
15839
15840 2012-01-10 Chong Yidong <cyd@gnu.org>
15841
15842 * net/network-stream.el (network-stream-open-starttls):
15843 Avoid emitting a confusing error message when the server gives a bad
15844 response to the capability command.
15845
15846 2012-01-10 Glenn Morris <rgm@gnu.org>
15847
15848 * mail/unrmail.el (unrmail): Tweak previous change.
15849
15850 2012-01-09 Chong Yidong <cyd@gnu.org>
15851
15852 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15853
15854 2012-01-08 Alan Mackenzie <acm@muc.de>
15855
15856 Optimize font locking in long enum definitions.
15857
15858 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15859 arm to a cond form to handle enums.
15860 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15861 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15862
15863 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15864
15865 * files.el (move-file-to-trash): Preserve default file modes on error.
15866 (Bug#10401)
15867
15868 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869
15870 * faces.el (set-face-attribute): Clarify the meaning of the nil
15871 frame (bug#10294).
15872
15873 * subr.el (with-selected-frame): Mention that the selected frame
15874 is restored (bug#9980).
15875
15876 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15877 (bug#9759).
15878
15879 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15880 (password-read): Don't autoload unused function.
15881
15882 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15883
15884 * progmodes/which-func.el (which-func-mode): Turn into a
15885 non-interactive function and mark as obsolete (bug#10428).
15886
15887 2012-01-06 Chong Yidong <cyd@gnu.org>
15888
15889 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15890 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15891 functions, along with 1 and -1.
15892
15893 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15894
15895 * time.el (display-time-load-average)
15896 (display-time-default-load-average): Doc fixes. See the thread
15897 starting at
15898 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15899 for the details.
15900
15901 2012-01-06 Glenn Morris <rgm@gnu.org>
15902
15903 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15904 has no messages. (Bug#10377)
15905
15906 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15907 than Info-edit. (Bug#10385)
15908
15909 * time.el (display-time-load-average, display-time-next-load-average):
15910 Doc fixes.
15911
15912 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15913 local setting of buffer-read-only to the input buffer. (Bug#10419)
15914
15915 * calendar/calendar.el (calendar-mode):
15916 Locally set scroll-margin to 0. (Bug#10379)
15917
15918 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15919
15920 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15921
15922 2012-01-05 Glenn Morris <rgm@gnu.org>
15923
15924 * eshell/em-unix.el (diff-no-select): Autoload it.
15925 (eshell/diff): Use diff-no-select. (Bug#10420)
15926
15927 2012-01-05 Chong Yidong <cyd@gnu.org>
15928
15929 * shell.el (shell-dynamic-complete-functions): Revert last change.
15930 (shell-command-completion-function): New function.
15931 (shell-completion-vars): Use it to implement
15932 shell-completion-execonly (Bug#10417).
15933
15934 * custom.el (enable-theme): Don't set custom-safe-themes.
15935
15936 * cus-theme.el (custom-theme-merge-theme):
15937 Ignore custom-enabled-themes and custom-safe-themes.
15938
15939 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15940
15941 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15942 first prompt in `sql-interacive-mode'.
15943 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15944 keywords.
15945 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15946 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15947 context of original buffer. Invoke `sql-login-hook'.
15948
15949 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15950
15951 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15952 letters in cite-prefix.
15953
15954 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15955
15956 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15957
15958 2012-01-03 Chong Yidong <cyd@gnu.org>
15959
15960 * shell.el (shell-dynamic-complete-functions):
15961 Put pcomplete-completions-at-point, so as to try
15962 comint-filename-completion first (Bug#10417).
15963
15964 2012-01-02 Richard Stallman <rms@gnu.org>
15965
15966 * battery.el (battery-status-function):
15967 Detect when to use battery-yeeloong-sysfs.
15968 (battery-echo-area-format): Add string for Yeeloong.
15969 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15970 (battery-yeeloong-sysfs): New function.
15971
15972 2012-01-02 Chong Yidong <cyd@gnu.org>
15973
15974 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15975 (dirtrack): Merge code for handling relative filenames in prompt
15976 from shell-dir-cookie-watcher.
15977 (dirtrack-debug-message): New arg to avoid excess format calls.
15978
15979 * shell.el (shell-dir-cookie-re): Variable deleted.
15980 (shell-dir-cookie-watcher): Function deleted.
15981 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15982 with dirtrack-mode.
15983
15984 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15985
15986 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15987 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15988 libgnutls-26.dll.
15989
15990 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15991
15992 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15993
15994 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15995
15996 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15997 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15998
15999 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16000
16001 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16002 also for alternative shells.
16003 (tramp-open-connection-setup-interactive-shell): Check, whether
16004 the shell is a busybox.
16005 (tramp-send-command): Don't suppress multiple prompts for
16006 busyboxes, it hurts.
16007
16008 2011-12-28 Chong Yidong <cyd@gnu.org>
16009
16010 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16011 (gdb-get-source-file): Move mode line update to
16012 gdb-get-source-file (Bug#10087).
16013
16014 2011-12-25 Chong Yidong <cyd@gnu.org>
16015
16016 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16017 gud-gdb-marker-filter without taking it as an argument.
16018 (gud-gdb-run-command-fetch-lines): Caller changed.
16019 (gud-gdb-completion-function): New variable.
16020 (gud-gdb-completion-at-point): Use it.
16021 (gud-gdb-completions-1): Split from gud-gdb-completions.
16022
16023 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16024 function as separate arguments.
16025 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16026 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16027 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16028 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16029 (gdb-stopped, def-gdb-auto-update-trigger)
16030 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16031 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16032 Callers changed.
16033 (gud-gdbmi-completions): New function.
16034 (gdb): Use it for generating the completion table.
16035
16036 2011-12-24 Alan Mackenzie <acm@muc.de>
16037
16038 Introduce a mechanism to widen the region used in context font
16039 locking. Use this to protect declarations from losing their contexts.
16040
16041 * progmodes/cc-langs.el (c-before-font-lock-functions):
16042 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16043 (c-before-context-fontification-functions): New defvar, a list of
16044 functions to be run just before context (etc.) font locking.
16045
16046 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16047 New, functionality extracted from
16048 c-neutralize-syntax-in-and-mark-CPP.
16049 (c-in-after-change-fontification): New variable.
16050 (c-after-change): Set c-in-after-change-fontification.
16051 (c-set-fl-decl-start): Rejig its interface, so it can be called
16052 from both after-change and context fontifying.
16053 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16054 New functions.
16055 (c-standard-font-lock-fontify-region-function): New variable.
16056 (c-font-lock-fontify-region): New function.
16057
16058 2011-12-24 Juri Linkov <juri@jurta.org>
16059
16060 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16061 (Bug#10348)
16062
16063 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16064
16065 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16066 existence of source file. (Bug#10325)
16067
16068 2011-12-23 Alan Mackenzie <acm@muc.de>
16069
16070 Fix unstable fontification inside templates.
16071
16072 * progmodes/cc-langs.el (c-before-font-lock-functions):
16073 Newly created from the singular version. The (c c++ objc) entry now
16074 additionally has c-set-fl-decl-start. The other languages (apart
16075 from AWK) have that as a single entry.
16076
16077 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16078 The functionality for "local" declarations has been extracted to
16079 c-set-fl-decl-start.
16080
16081 * progmodes/cc-mode.el (c-common-init, c-after-change):
16082 Changes due to pluralisation of c-before-font-lock-functions.
16083 (c-set-fl-decl-start): New function, extracted from
16084 c-font-lock-enclosing-decls and enhanced.
16085
16086 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16087
16088 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16089
16090 2011-12-22 Juri Linkov <juri@jurta.org>
16091
16092 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16093
16094 2011-12-22 Chong Yidong <cyd@gnu.org>
16095
16096 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16097
16098 2011-12-21 Drew Adams <drew.adams@oracle.com>
16099
16100 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16101
16102 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16103
16104 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16105
16106 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16107
16108 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16109 highlighting and support. Fix up comments for capitalization.
16110 (cfengine-mode-debug): New var.
16111 (cfengine3-mode): Change the modeline indicator to "CFE3".
16112 (cfengine3-font-lock-keywords): Improve defun highlighting.
16113 (cfengine2-actions): Rename from `cfengine-actions'.
16114 (cfengine2-font-lock-keywords): Rename from
16115 `cfengine-font-lock-keywords'.
16116 (cfengine2-imenu-expression): Rename from
16117 `cfengine-imenu-expression'.
16118 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16119 (cfengine2-beginning-of-defun): Rename from
16120 `cfengine-beginning-of-defun'.
16121 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16122 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16123 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16124 modeline indicator to "CFE2".
16125 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16126 (cfengine-mode-abbrevs): Mark obsolete.
16127
16128 2011-12-21 Chong Yidong <cyd@gnu.org>
16129
16130 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16131 filename argument.
16132
16133 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16134
16135 * window.el (window-normalize-buffer-to-display): Remove.
16136 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16137
16138 2011-12-19 Chong Yidong <cyd@gnu.org>
16139
16140 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16141 Don't signal an error in a predicate function; return non-nil.
16142 (vc-dir-mark-file): Move the error here.
16143 (vc-dir-mark-unmark): If acting on the region, keep going if one
16144 of the entries cannot be marked/unmarked.
16145 (vc-dir-mark-all-files): If current entry is a directory, mark
16146 only child files, as documented.
16147
16148 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16149
16150 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16151 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16152 addition.
16153
16154 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16155
16156 * term/ns-win.el (ns-get-selection-internal)
16157 (ns-store-selection-internal): Declare.
16158 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16159 Declare as obsolete.
16160 (ns-get-pasteboard, ns-paste-secondary):
16161 Use ns-get-selection-internal.
16162 (ns-set-pasteboard, ns-copy-including-secondary):
16163 Use ns-store-selection-internal.
16164
16165 2011-12-17 Chong Yidong <cyd@gnu.org>
16166
16167 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16168 (vc-deduce-fileset): Doc fix.
16169
16170 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16171
16172 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16173
16174 2011-12-13 Sam Steingold <sds@gnu.org>
16175
16176 * man.el (Man-getpage-in-background): When running under a
16177 window-system, ignore $MANWIDTH and $COLUMNS.
16178
16179 2011-12-15 Kenichi Handa <handa@m17n.org>
16180
16181 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16182 (setup-ethiopic-environment-internal): Comment out key-binding for
16183 ethio-toggle-punctuation.
16184
16185 2011-12-13 Alan Mackenzie <acm@muc.de>
16186
16187 Add the switch statement to AWK Mode.
16188
16189 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16190 "default" to the keywords regexp.
16191
16192 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16193 expression as the rest.
16194 (c-nonlabel-token-key): Allow string literals for AWK.
16195 Refactor for the other modes.
16196
16197 Large brace-block initialisation makes CC Mode slow: Fix.
16198 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16199 routines. Limit backward searching in c-font-lock-enclosing.decl.
16200
16201 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16202 pp-state and literal type in addition to the limits.
16203 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16204 (c-state-literal-at): Use the above new defun.
16205 (c-slow-in-literal, c-fast-in-literal): Remove.
16206 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16207
16208 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16209 being in a literal. Add a limit for backward searching.
16210
16211 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16212 c-slow-in-literal.
16213
16214 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16215
16216 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16217
16218 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16219
16220 * window.el (delete-other-windows): Use correct frame in call to
16221 window-with-parameter.
16222
16223 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16224
16225 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16226 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16227 (makefile-gmake-statements, makefile-makepp-statements):
16228 Use it and add new makepp keywords.
16229 (makefile-makepp-font-lock-keywords): Add new patterns.
16230 (makefile-match-function-end): Match new [...] and [[...]].
16231
16232 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16233
16234 * ses.el (ses-call-printer-return, ses-cell-property-get)
16235 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16236 (ses-create-cell-variable, ses-reset-header-string)
16237 (ses-cell-set-formula, ses-repair-cell-reference-all)
16238 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16239 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16240 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16241 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16242 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16243 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16244 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16245 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16246 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16247 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16248 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16249 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16250
16251 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16252
16253 * ses.el: The overall change is to add cell renaming, that is
16254 setting fancy names for cell symbols other than name matching
16255 "\\`[A-Z]+[0-9]+\\'" regexp .
16256 (ses-create-cell-variable): New defun.
16257 (ses-relocate-formula): Relocate formulas only for cells the
16258 symbols of which are not renamed, i.e. symbols whose names do not
16259 match regexp "\\`[A-Z]+[0-9]+\\'".
16260 (ses-relocate-all): Relocate values only for cells the symbols of
16261 which are not renamed.
16262 (ses-load): Create cells variables as the (ses-cell ...) are read,
16263 in order to check row col consistency with cell symbol name only
16264 for cells that are not renamed.
16265 (ses-replace-name-in-formula): New defun.
16266 (ses-rename-cell): New defun.
16267
16268 2011-12-11 Chong Yidong <cyd@gnu.org>
16269
16270 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16271 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16272
16273 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16274
16275 * window.el (other-window): Fix docstring.
16276
16277 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16278
16279 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16280 `from' or `to' address before taking its substring.
16281 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16282 encoded name is chopped in the middle of the encoded string, and
16283 thus displayed encoded.
16284
16285 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16286
16287 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16288
16289 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16290
16291 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16292 to use texinfo-update-node and commands that call it if the
16293 Texinfo file uses @node lines without next/prev/up pointers.
16294 Correct outdated description about texinfo-master-menu.
16295 (texinfo-all-menus-update, texinfo-master-menu)
16296 (texinfo-update-node, texinfo-every-node-update)
16297 (texinfo-multiple-files-update): Doc fix. Warn against updating
16298 all the @node lines.
16299 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16300 argument is numeric. Explain better in the doc string what the
16301 function really does.
16302 (texinfo-insert-master-menu-list): Improve the error message
16303 displayed if there's no menu in the Top node.
16304 (Bug#2975) See also this thread:
16305 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16306
16307 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16308
16309 * speedbar.el (speedbar-supported-extension-expressions):
16310 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16311
16312 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16313
16314 * printing.el (pr-mode-alist):
16315 * simple.el (filter-buffer-substring-functions)
16316 (completion-list-insert-choice-function):
16317 * window.el (window-with-parameter, window-atom-root)
16318 (window-sides-slots, window-size-fixed, window-min-delta)
16319 (window-max-delta, window--resize-mini-window)
16320 (window--resize-child-windows-normal, window-tree)
16321 (delete-other-windows, quit-window, split-window)
16322 (display-buffer-record-window, special-display-buffer-names)
16323 (special-display-regexps, special-display-popup-frame)
16324 (same-window-p, split-window-sensibly)
16325 (display-buffer-overriding-action, display-buffer-alist)
16326 (display-buffer-base-action, display-buffer, switch-to-buffer)
16327 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16328 (fit-window-to-buffer, recenter-positions)
16329 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16330 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16331 and remove unneeded backslashes in docstrings.
16332
16333 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16334
16335 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16336
16337 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16338 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16339 end in ".mk".
16340 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16341 when reading the makefile (bug#10116).
16342
16343 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16344
16345 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16346 (bug#10116).
16347
16348 2011-12-06 Glenn Morris <rgm@gnu.org>
16349
16350 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16351
16352 2011-12-06 Chong Yidong <cyd@gnu.org>
16353
16354 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16355
16356 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16357
16358 * textmodes/table.el (table-shorten-cell): Fix typo.
16359
16360 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16361
16362 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16363
16364 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16365
16366 * descr-text.el (describe-char): Fix display of strong
16367 right-to-left characters and directional embeddings and overrides.
16368
16369 * simple.el (what-cursor-position): Fix display of codepoints of
16370 strong right-to-left characters.
16371
16372 2011-12-05 Chong Yidong <cyd@gnu.org>
16373
16374 * faces.el (read-color): Doc fix.
16375
16376 2011-12-05 Glenn Morris <rgm@gnu.org>
16377
16378 * align.el (align--set-marker): Add doc-string.
16379 Don't try to move something that is not a marker. (Bug#10216)
16380
16381 2011-12-04 Glenn Morris <rgm@gnu.org>
16382
16383 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16384 overly zealous deletion of trailing whitespace.
16385
16386 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16387
16388 * server.el (server-delete-client): On Windows, do not try to delete
16389 the only terminal.
16390 (server-process-filter): On Windows, treat requests for a tty frame as
16391 if they were for a GUI frame if the running server is in GUI mode.
16392
16393 2011-12-03 Glenn Morris <rgm@gnu.org>
16394
16395 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16396
16397 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16398
16399 * electric.el: Streamline electric-indent's hook.
16400 (electric-indent-chars): Revert to simple list.
16401 (electric-indent-functions): New var.
16402 (electric-indent-post-self-insert-function): Use it.
16403
16404 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16405 there's no inferior buffer (bug#10196).
16406 (prolog-consult-compile): Don't use toggle-read-only.
16407
16408 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16409
16410 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16411 interrupt. (Bug#10187)
16412
16413 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16414
16415 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16416 (bug#9160).
16417
16418 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16419 (bug#10191).
16420
16421 2011-12-02 Juri Linkov <juri@jurta.org>
16422
16423 * info.el (Info-search): Display "end of manual" when Isearch
16424 reaches the end of single-file Info manual. (Bug#9918)
16425
16426 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16427
16428 * isearch.el (isearch-message-prefix): Run the input method part
16429 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16430
16431 2011-12-02 Juri Linkov <juri@jurta.org>
16432
16433 * isearch.el (isearch-occur): Use `word-search-regexp' for
16434 `isearch-word'.
16435 (isearch-search-and-update): Add condition for `isearch-word' and
16436 call `word-search-regexp'. (Bug#10145)
16437
16438 2011-12-01 Glenn Morris <rgm@gnu.org>
16439
16440 * eshell/em-hist.el (eshell-hist-initialize):
16441 Handle eshell-history-size nil and HISTSIZE set or unset.
16442 (eshell-history-file-name, eshell-history-size): Fix custom type.
16443
16444 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16447
16448 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16449
16450 * progmodes/verilog-mode.el (verilog-pretty-expr):
16451 Rework verilog-pretty-expr to handle new assignment operators in system
16452 verilog, such as += *= and the like.
16453 (verilog-assignment-operator-re): Regular expression to find the
16454 assigment operator in a verilog assignment.
16455 (verilog-assignment-operation-re): Regular expression to find an
16456 assignment statement for pretty-expr.
16457 (verilog-in-attribute-p): Query returns true if point is in an
16458 attribute context; used to skip these for expression line up from
16459 pretty-expr.
16460 (verilog-in-parameter-p): Query returns true if point is in an
16461 parameter definition context; used to skip these for expression
16462 line up from pretty-expr.
16463 (verilog-in-parenthesis-p): Query returns true if point is in a
16464 parenthetical expression, specifically ( ) but not [ ] or { };
16465 used by pretty-expr.
16466 (verilog-just-one-space): If there is no space, don't add one.
16467 (verilog-get-lineup-indent-2): Specifically skip just attribute
16468 contexts for expression lineup, rather than skipping all
16469 parenthetical expressions.
16470 (verilog-calculate-indent): Fix comment, and fix indent.
16471 (verilog-do-indent): Indent declarations in lists (suggested by
16472 Joachim Lechner).
16473 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16474 skeleton items.
16475 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16476 by Alain Mellan).
16477
16478 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16479
16480 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16481 parameters with embedded comments. Reported by Ray Stevens.
16482 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16483 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16484 Reported by Tim Holt.
16485 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16486 instantiated by upper module causing wrong expansion until AUTOed a
16487 second time. Reported by K C Buckenmaier.
16488 (verilog-diff-auto): Fix showing .* as a difference when
16489 `verilog-auto-star-save' off. Reported by Dan Dever.
16490 (verilog-auto-reset, verilog-read-always-signals)
16491 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16492 temporary signals in reset list if
16493 verilog-auto-reset-blocking-in-non is nil, and match assignment
16494 style to each signal's assignment type, bug381.
16495 Reported by Thomas Esposito.
16496 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16497 (verilog-uvm-statement-re): Support UVM indentation and
16498 highlighting, with old OVM keywords only.
16499 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16500 Support AUTOTIEOFF creating non-wire data types.
16501 Suggested by Jonathan Greenlaw.
16502 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16503 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16504 (verilog-inject-sense, verilog-read-inst-pins)
16505 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16506 Fix mismatching parenthesis inside commented out code when deleting
16507 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16508 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16509 non-numeric vector width. Reported by Alex Reed.
16510 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16511 detecting signals with parameter widths. Reported by Alex Reed.
16512 (verilog-auto-delete-trailing-whitespace):
16513 With `verilog-auto-delete-trailing-whitespace' remove trailing
16514 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16515 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16516 Fix verilog-scan-cache corruption when running user AUTO expansion
16517 hooks that call indentation routines.
16518 (verilog-simplify-range-expression): Fix typo ignoring lower case
16519 identifiers.
16520 (verilog-delete-auto): Fix delete-autos to also remove user created
16521 automatics, as long as they start with AUTO.
16522 (verilog-batch-diff-auto, verilog-diff-auto)
16523 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16524 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16525 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16526 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16527 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16528 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16529 is disabled and its cache will get corrupt, causing AUTOS not to
16530 expand. Instead use only -quick functions.
16531 (verilog-scan-region): Fix scanning over escaped quotes.
16532 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16533 (verilog-re-search-backward-quick)
16534 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16535 related functions now ignore strings, to fix misparsing of strings
16536 with magic comments embedded in them.
16537 (verilog-read-auto-template):
16538 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16539 Reported by Brad Dobbie.
16540 (verilog-read-auto-template):
16541 Fix 'verilog-auto-inst-template-numbers' with comments.
16542 Reported by Brad Dobbie.
16543 (verilog-auto-inst, verilog-auto-inst-param)
16544 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16545 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16546 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16547 debugging templates without merge conflicts, bug357.
16548 Reported by Brad Dobbie.
16549 (verilog-read-auto-template):
16550 Fix verilog-auto-inst-template-numbers with multiple templates.
16551 Reported by Brad Dobbie.
16552 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16553 abbrevs so user won't be asked to save.
16554 (verilog-read-auto-lisp-present): Fix to start at beginning of
16555 buffer in case called outside of verilog-auto.
16556 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16557 to "X-2". Reported by Matthew Myers.
16558 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16559 all inputs from module templates. Reported by Leith Johnson.
16560 (verilog-module-inside-filename-p): Fix locating programs as with
16561 modules.
16562 (verilog-auto-inst-port): Fix vl-width expressions when using
16563 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16564 (verilog-decls-get-regs, verilog-decls-get-signals,
16565 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16566 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16567 verilog-read-decls): Combine reg and wire structures into one var
16568 structure to represent SystemVerilog concepts.
16569 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16570 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16571 (verilog-auto-wire-type, verilog-insert-definition):
16572 Add verilog-auto-wire-type and AUTOLOGIC to support using
16573 SystemVerilog "logic" keyword instead of "wire"/"reg".
16574 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16575 to declares outputs that also have assignments (presumably in an
16576 ifdef or generate if so there's not a driver conflict).
16577 Reported by Matthew Myers.
16578 (verilog-auto-declare-nettype, verilog-insert-definition):
16579 Add verilog-auto-declare-nettype to fix declarations using
16580 `default_nettype none. Reported by Julian Gorfajn.
16581 (verilog-read-always-signals-recurse, verilog-read-decls)
16582 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16583 malformed end statement, bug325. Reported by Joshua Wise and
16584 Andrew Drake.
16585 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16586 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16587 when expanding .* in interfaces, bug320.
16588 Reported by Pierre-David Pfister.
16589 (verilog-read-module-name): Fix import statements between module
16590 name and open parenthesis, bug317.
16591 Reported by Pierre-David Pfister.
16592 (verilog-simplify-range-expression): Fix simplification of
16593 multiplications inside AUTOWIRE connections, bug303.
16594 (verilog-auto-inst-port): Support parameter expansion in
16595 multidimensional arrays.
16596 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16597 after "assert property". Reported by Julian Gorfajn.
16598 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16599 with multiplication, bug303.
16600 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16601 Reported by Jan Frode Lonnum.
16602
16603 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16604
16605 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16606 (hfy-shell-file-name, hfy-shell):
16607 * international/fontset.el (x-decompose-font-name): Fix typos.
16608
16609 2011-11-29 Ken Brown <kbrown@cornell.edu>
16610
16611 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16612 (gdb-version): Remove defvar.
16613 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16614 (gdb-gud-context-command, gdb-non-stop-handler)
16615 (gdb-current-context-command, gdb-stopped): Use it.
16616 (gdb-init-1): Enable pretty printing here.
16617 (gdb-non-stop-handler): Don't enable pretty-printing here.
16618 Check to see if the target supports non-stop mode; if not, turn off
16619 non-stop mode. Use the following.
16620 (gdb-check-target-async): New defun.
16621 (gud-watch, gdb-stopped): Fix whitespace.
16622 (gdb-get-source-file): Don't try to display the source file if
16623 `gdb-main-file' is nil.
16624
16625 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * align.el: Try to generate fewer markers (bug#10047).
16628 (align--set-marker): New macro.
16629 (align-region): Use it.
16630
16631 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16632
16633 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16634
16635 2011-11-29 Chong Yidong <cyd@gnu.org>
16636
16637 * indent.el (indent-for-tab-command, indent-according-to-mode):
16638 Doc fix.
16639 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16640
16641 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16642
16643 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16644 aware of remote file names. (Bug#10124)
16645
16646 2011-11-29 Chong Yidong <cyd@gnu.org>
16647
16648 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16649
16650 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16651
16652 * files.el (find-file): Don't use force-same-window (bug#10144).
16653 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16654 use pop-to-buffer if the selected window can't be used.
16655 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16656
16657 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16658
16659 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16660 special-mode-map.
16661
16662 2011-11-28 Chong Yidong <cyd@gnu.org>
16663
16664 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16665
16666 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16667
16668 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16669 gdb-get-source-file-list on gdb-create-source-file-list.
16670
16671 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16672
16673 * whitespace.el (whitespace-newline): Use a different foreground
16674 color for 16-color light-background displays.
16675
16676 2011-11-24 Chong Yidong <cyd@gnu.org>
16677
16678 * window.el (display-buffer--special-action): Doc fix.
16679
16680 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16681
16682 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16683 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16684 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16685 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16686 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16687 (avl-tree-stack-first):
16688 * emacs-lisp/cconv.el (cconv--analyse-use):
16689 * net/gnutls.el (gnutls-negotiate): Fix typos.
16690
16691 2011-11-24 Glenn Morris <rgm@gnu.org>
16692
16693 * lpr.el (lpr-windows-system, lpr-lp-system):
16694 * mail/binhex.el (binhex-begin-line):
16695 * progmodes/grep.el (grep-history, grep-find-history):
16696 * textmodes/flyspell.el:
16697 * vc/pcvs-defs.el (cvs-global-menu):
16698 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16699 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16700 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16701
16702 * net/tls.el: Fix case of "GnuTLS".
16703
16704 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16705
16706 * version.el (emacs-build-system): Give it a doc-string.
16707
16708 2011-11-24 Juri Linkov <juri@jurta.org>
16709
16710 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16711
16712 2011-11-24 Glenn Morris <rgm@gnu.org>
16713
16714 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16715 if called on a non-mime message just toggle the headers. (Bug#8006)
16716
16717 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16718
16719 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16720 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16721 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16722 (allout-rebullet-heading, allout-open-sibtopic)
16723 (allout-toggle-current-subtree-encryption)
16724 (allout-toggle-subtree-encryption, allout-encrypt-string)
16725 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16726 (allout-distinctive-bullets-string, allout-auto-activation):
16727 * window.el (window-normalize-buffer-to-display):
16728 * progmodes/verilog-mode.el (verilog-batch-indent):
16729 * textmodes/bibtex.el (bibtex-field-braces-opt)
16730 (bibtex-field-strings-opt):
16731 * vc/cvs-status.el (cvs-tree-merge):
16732 Fix typos.
16733
16734 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16735
16736 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16737 `non-essential' to t, in order to avoid remote connections.
16738
16739 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16740
16741 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16742 On MS-DOS and MS-Windows, compare with loaddefs.el
16743 case-insensitively.
16744
16745 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16746
16747 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16748
16749 2011-11-23 Glenn Morris <rgm@gnu.org>
16750
16751 * paths.el (rmail-file-name): Reformat the doc-string so that it
16752 is picked up.
16753
16754 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16755 (rmail-auto-file): Ignore case in the "special" field names,
16756 as mail-fetch-field does for all others.
16757
16758 * mail/rmail.el (rmail-forward):
16759 * mail/rmailkwd.el (rmail-set-label):
16760 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16761 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16762
16763 * mail/rmail.el (rmail-current-message): Doc fix.
16764
16765 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16766
16767 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16768
16769 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16770
16771 2011-11-22 Glenn Morris <rgm@gnu.org>
16772
16773 * mail/rmailmm.el (test-rmail-mime-handler)
16774 (test-rmail-mime-bulk-handler)
16775 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16776
16777 2011-11-21 Juri Linkov <juri@jurta.org>
16778
16779 * calc/calc.el (calc-read-key-sequence):
16780 Let-bind `input-method-function' to nil. (Bug#10018)
16781
16782 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16783
16784 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16785 Tell the caller that the next line needs recomputation, even
16786 though it doesn't start a sexp (bug#10094).
16787
16788 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16789
16790 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16791
16792 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16793
16794 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16795 Use force-same-window.
16796
16797 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16798
16799 * descr-text.el (describe-char-unicode-data):
16800 * json.el (json-string-escape):
16801 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16802 (Footnote-unicode, Footnote-style-p):
16803 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16804
16805 2011-11-20 Chong Yidong <cyd@gnu.org>
16806
16807 * window.el (replace-buffer-in-windows): Restore interactive spec.
16808
16809 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16810
16811 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16812
16813 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16814 (byte-compile-global-not-obsolete-vars): New var.
16815 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16816 Use it.
16817 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16818
16819 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16820
16821 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16822 * progmodes/pascal.el (electric-pascal-equal):
16823 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16824 * xml.el (xml-substitute-special): Fix typos.
16825
16826 2011-11-20 Glenn Morris <rgm@gnu.org>
16827
16828 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16829 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16830 Doc fixes.
16831 (rmail-decode-mime-charset): Mark as obsolete.
16832
16833 * mail/rmailsum.el (rmail-message-regexp-p-1):
16834 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16835 Before using mime functions, check they are set. (Bug#10077)
16836
16837 2011-11-19 Juri Linkov <juri@jurta.org>
16838
16839 * info.el (Info-finder-find-node): Use `package--builtins' instead
16840 of `package-alist'. Use node names formed by the pattern "Keyword "
16841 and the keyword name.
16842
16843 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16844
16845 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16846
16847 2011-11-19 Juri Linkov <juri@jurta.org>
16848
16849 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16850 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16851 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16852 `old-history', `old-history-forward'. Add let-binding
16853 `window-selected'. Remove calls to `kill-buffer',
16854 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16855 before calling `Info-find-node', so `Info-find-node-2' will reread
16856 the Info file. Restore window positions only when `window-selected'
16857 is non-nil.
16858
16859 2011-11-19 Juri Linkov <juri@jurta.org>
16860
16861 * isearch.el (isearch-lazy-highlight-new-loop):
16862 Remove condition `(not isearch-error)'. (Bug#9918)
16863
16864 * misearch.el (multi-isearch-search-fun): Add condition
16865 `(not bound)' to ignore lazy-highlighting search.
16866 Add the search-failed message "end of multi" when the end of
16867 multi-sequence is reached. Uncapitalize the search-failed
16868 message "Repeat for next buffer".
16869
16870 * info.el (Info-search): Add the search-failed message
16871 "end of the manual" when the end of the manual is reached
16872 in Isearch mode.
16873
16874 2011-11-19 Juri Linkov <juri@jurta.org>
16875
16876 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16877 Use non-destructive `remove' instead of `delete' because
16878 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16879 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16880
16881 2011-11-19 Juri Linkov <juri@jurta.org>
16882
16883 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16884 to nil instead of binding `search-ring' and `regexp-search-ring'.
16885 (Bug#9185)
16886
16887 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16888
16889 * simple.el (line-move): Force movement by logical lines for any
16890 hscrolled window, not only when auto-hscroll-mode is on.
16891 (line-move-visual): Update doc string to that effect. (Bug#10076)
16892
16893 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16894
16895 * language/european.el (macintosh): Define as alias for mac-roman.
16896
16897 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16898
16899 * mail/rmailmm.el (rmail-mime-display-header)
16900 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16901 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16902 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16903 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16904 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16905 of a raw aref.
16906 (rmail-mime-entity-segment): To get past the tagline, move forward
16907 2 more lines, to account for the 2 empty lines that precede and
16908 follow the line with the buttons.
16909 (rmail-mime-update-tagline): Move one more line, to get past the
16910 empty line that follows the buttons in the tagline. (Bug#9520)
16911
16912 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16913
16914 * window.el (window-max-delta-1, window-min-delta-1)
16915 (window-min-size-1, window-state-get-1, window-state-put-1)
16916 (window-state-put-2): Use "window--" prefix.
16917
16918 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16919
16920 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16921 (smie-warning-count): New var.
16922 (smie-set-prec2tab): Use it.
16923 (smie-bnf->prec2): Improve warnings. Add docstring.
16924 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16925 (smie-bnf--set-class): New function.
16926 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16927 corner case.
16928
16929 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16930 (compilation-error-properties, compilation-move-to-column):
16931 Handle compilation-first-column while in the target buffer.
16932
16933 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16934 Don't hardcode point-min==1.
16935
16936 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16937 (eshell-rewrite-for-command): Remove workaround.
16938 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16939 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16940 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16941
16942 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16943
16944 2011-11-17 Glenn Morris <rgm@gnu.org>
16945
16946 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16947 Ignore buffer-local generated-autoload-file if it is the same
16948 as the global value. (Bug#10049)
16949
16950 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16951
16952 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16953 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16954 (reftex-toc-previous-heading, reftex-toc-max-level)
16955 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16956 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16957 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16958 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16959 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16960 (reftex-toc-rename-label, reftex-toc-visit-location)
16961 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16962 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16963 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16964 leaving "*toc*" only for references to the buffer.
16965
16966 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16967
16968 * window.el (window-resize, delete-window, split-window):
16969 Replace window-splits by window-combination-resize.
16970 * cus-start.el (window-splits): Replace by window-combination-resize.
16971
16972 2011-11-17 Glenn Morris <rgm@gnu.org>
16973
16974 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16975 Make bash entry derive from sh entry, not shell entry.
16976
16977 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16978
16979 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16980 local file name.
16981
16982 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16983
16984 * menu-bar.el (menu-bar-file-menu):
16985 * printing.el (pr-ps-utility):
16986 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16987 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16988 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16989 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16990 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16991 (icalendar--convert-cyclic-to-ical)
16992 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16993 (icalendar--convert-ical-to-diary)
16994 (icalendar--convert-recurring-to-diary)
16995 (icalendar--convert-non-recurring-all-day-to-diary)
16996 (icalendar-import-format-sample):
16997 * progmodes/idlw-shell.el (idlwave-shell-mode):
16998 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16999 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17000 (vhdl-ps-print-init): Fix typos.
17001
17002 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17003
17004 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17005 FSF and collapse date sequence, obscure author/maintainer email address
17006 better, remove extra version line, track relocation of author's webpage.
17007
17008 * progmodes/python.el (python-pdbtrack-input-prompt)
17009 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17010 regular python pdb prompts. Adjustments shamelessly taken exactly as
17011 suggested in EmacsWiki page (tiny change):
17012 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17013
17014 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17015
17016 * expand.el (expand-pos, expand-index, expand-point):
17017 Remove redundant info from docstring.
17018 (expand-add-abbrevs): Doc fix.
17019 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17020 (expand-sample-perl-mode-expand-list): Fix typos.
17021
17022 * net/dbus.el (dbus-event-member-name):
17023 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17024 * term/pc-win.el (msdos-create-frame-with-faces):
17025 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17026
17027 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17028
17029 * window.el (split-window, window-state-get-1)
17030 (window-state-put-1, window-state-put-2): Rename occurrences of
17031 window-nest to window-combination-limit.
17032 * cus-start.el (window-nest): Rename to window-combination-limit.
17033
17034 2011-11-16 Chong Yidong <cyd@gnu.org>
17035
17036 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17037 regexp (Bug#10033).
17038
17039 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17040
17041 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17042 `completing-read' will remove *Completions* and will preserve
17043 current-buffer for us.
17044 (tmm-add-prompt): Users of *Completions* will always (re)set its
17045 major mode.
17046 (tmm-old-comp-map): Remove.
17047
17048 2011-11-16 Glenn Morris <rgm@gnu.org>
17049
17050 * mail/rmailedit.el: Require rmailmm when compiling.
17051 (rmail-old-mime-state): New declaration.
17052 (rmail-edit-current-message): If editing a mime message,
17053 edit the "raw" message from the mbox buffer.
17054 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17055
17056 2011-11-15 Glenn Morris <rgm@gnu.org>
17057
17058 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17059 which wasn't being used. Add optional arg to force given state.
17060 (rmail-mime): Add optional arg to force given state.
17061
17062 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17063
17064 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17065 * frame.el (display-mm-dimensions-alist):
17066 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17067 (outline-move-subtree-down):
17068 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17069 (newsticker--treeview-do-get-node):
17070 * net/quickurl.el (quickurl-list-buffer-name):
17071 * progmodes/dcl-mode.el (dcl-mode):
17072 * progmodes/gdb-mi.el (gdb-mapcar*):
17073 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17074
17075 2011-11-15 Glenn Morris <rgm@gnu.org>
17076
17077 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17078 in a boolean sense, so just make it a boolean, and fix the doc.
17079 (rmail-show-mime-function, rmail-mime-feature)
17080 (rmail-require-mime-maybe): Doc fixes.
17081 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17082
17083 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17084
17085 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17086
17087 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17088 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17089 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17090 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17091
17092 2011-11-15 Glenn Morris <rgm@gnu.org>
17093
17094 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17095 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17096 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17097 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17098 (rmail-mime, rmail-show-mime): Doc fixes.
17099
17100 * term/ns-win.el (mode-line-frame-identification):
17101 Leave it alone. (Bug#10051)
17102
17103 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17104
17105 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17106 Handle empty buffers. (Bug#9978)
17107
17108 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17109
17110 * international/mule.el (define-charset):
17111 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17112 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17113 * progmodes/verilog-mode.el (verilog-backward-token):
17114 * textmodes/ispell.el (lookup-words):
17115 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17116
17117 2011-11-14 Glenn Morris <rgm@gnu.org>
17118
17119 * progmodes/executable.el
17120 (executable-make-buffer-file-executable-if-script-p):
17121 Handle file-modes returning nil.
17122
17123 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17124 message - not necessary, and causes problems. (Bug#9831)
17125
17126 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17127
17128 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17129
17130 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17131 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17132 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17133
17134 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17135
17136 * window.el (window-resize, delete-window): Use window-splits
17137 variable instead of function.
17138 (window-state-get-1, window-state-put-2, window-state-put):
17139 Don't deal with windows' splits status.
17140
17141 2011-11-12 Glenn Morris <rgm@gnu.org>
17142
17143 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17144 (apropos-documentation): Doc fixes.
17145
17146 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17147
17148 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17149 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17150
17151 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * electric.el (electric-indent-post-self-insert-function): Make it
17154 possible for a char to only indent in some circumstances.
17155 (electric-indent-mode): Simplify.
17156
17157 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17158
17159 * window.el (windows-with-parameter): Remove unused function.
17160 (windows-at-side): Rename to window-at-side-list.
17161 (window-check, window-atom-check, window-atom-check-1)
17162 (window-side-check, window-size-ignore, window-size-fixed-1)
17163 (window-in-direction-2): Prefix with "window--".
17164 (window-tree-1): Rename to window--subtree, fix doc-string.
17165
17166 2011-11-11 Glenn Morris <rgm@gnu.org>
17167
17168 * subr.el (eval-after-load): If FILE is already loaded,
17169 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17170
17171 2011-11-10 Glenn Morris <rgm@gnu.org>
17172
17173 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17174 Call svn via vc-svn-command rather than vc-do-command.
17175 (vc-svn-command): Add --non-interactive. (Bug#9993)
17176 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17177
17178 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17179 Add toggle-read-only. (Bug#7292)
17180 * files.el (toggle-read-only): Mention that it should only
17181 be used interactively. (Bug#10006)
17182
17183 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17184
17185 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17186 Adjust regexp for OCaml warnings.
17187
17188 * electric.el (electric-pair-post-self-insert-function): Let user
17189 turn it off buffer-locally (bug#9932).
17190
17191 * progmodes/python.el (python-beginning-of-statement):
17192 Rewrite (bug#2703).
17193
17194 * progmodes/compile.el: Better handle TABs (bug#9749).
17195 (compilation-internal-error-properties)
17196 (compilation-next-error-function): Obey the target buffer's
17197 compilation-error-screen-columns.
17198
17199 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17200
17201 * progmodes/meta-mode.el: Remove obsolete comments.
17202 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17203 Fix typos in docstrings.
17204
17205 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17206
17207 * window.el (window-size-fixed-p): Rewrite doc-string.
17208 (window-resizable-p): Rename to window--resizable-p. Update callers.
17209 (window--resizable): New function. Make all callers of
17210 window-resizable call window--resizable instead.
17211 (window-resizable): Rewrite in terms of window--resizable.
17212
17213 2011-11-08 Glenn Morris <rgm@gnu.org>
17214
17215 * progmodes/delphi.el (delphi-mode-syntax-table):
17216 Let define-derived-mode define a proper syntax table. (Bug#9994)
17217
17218 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17219
17220 * window.el: Stay away from defsubst.
17221 (window-list-no-nils): Remove.
17222 (window-state-get-1, window-state-get): Use backquote instead.
17223
17224 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17225
17226 * emacs-lisp/find-func.el (find-function-read):
17227 Fix incorrect use of default argument in `completing-read'.
17228
17229 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17230
17231 * window.el (display-buffer-function, special-display-function):
17232 Mention display-buffer-record-window but do not mention
17233 help-setup parameter in doc-strings.
17234 (window-min-delta): Fix doc-string typo.
17235
17236 2011-11-08 Chong Yidong <cyd@gnu.org>
17237
17238 * window.el (window-total-height, window-total-width): Doc fix.
17239 (window-body-size): Move from C.
17240 (window-body-height, window-body-width): Move to C.
17241
17242 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17243
17244 * window.el: Make special-display like display-buffer-alist (bug#9532).
17245 (display-buffer--special-action): New function, morphed
17246 from display-buffer--special.
17247 (display-buffer): Use it to handle special-display-buffers at higher
17248 priority (just after display-buffer-alist).
17249 (display-buffer-fallback-action, display-buffer--other-frame-action)
17250 (pop-to-buffer-same-window): Remove display-buffer--special.
17251
17252 2011-11-07 Glenn Morris <rgm@gnu.org>
17253
17254 * calendar/cal-menu.el (cal-menu-set-date-title):
17255 Do nothing if not in a calendar. (Bug#9976)
17256
17257 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17258
17259 * files.el (find-file): Always use selected-window.
17260
17261 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17262
17263 * window.el (window-combinations): Make WINDOW argument
17264 mandatory. Rewrite doc-string.
17265 (walk-window-subtree, window-atom-check, window-min-delta)
17266 (window-max-delta, window--resize-this-window)
17267 (window--resize-root-window-vertically, window-tree)
17268 (balance-windows, window-state-put): Rewrite doc-strings as to
17269 not mention the term "subwindow".
17270 (window--resize-subwindows-skip-p): Rename to
17271 window--resize-child-windows-skip-p.
17272 (window--resize-subwindows-normal): Rename to
17273 window--resize-child-windows-normal.
17274 (window--resize-subwindows): Rename to
17275 window--resize-child-windows.
17276 (window-or-subwindow-p): Rename to window--in-subtree-p.
17277
17278 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17279
17280 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17281 Ensure that mbox format messages end in two newlines (Bug#9974).
17282
17283 2011-11-06 Chong Yidong <cyd@gnu.org>
17284
17285 * window.el (window-combination-p): Function deleted; its
17286 side-effect is not used in any existing code.
17287 (window-combinations, window-combined-p): Call window-*-child
17288 directly.
17289
17290 2011-11-05 Chong Yidong <cyd@gnu.org>
17291
17292 * window.el (window-valid-p): Rename from window-any-p.
17293 (window-size-ignore, window-state-get): Callers changed.
17294 (window-normalize-window): Rename from window-normalize-any-window.
17295 New arg LIVE-ONLY, replacing window-normalize-live-window.
17296 (window-normalize-live-window): Delete.
17297 (window-combination-p, window-combined-p, window-combinations)
17298 (walk-window-subtree, window-atom-root, window-min-size)
17299 (window-sizable, window-sizable-p, window-size-fixed-p)
17300 (window-min-delta, window-max-delta, window-resizable)
17301 (window-resizable-p, window-full-height-p, window-full-width-p)
17302 (window-current-scroll-bars, window-point-1, set-window-point-1)
17303 (window-at-side-p, window-in-direction, window-resize)
17304 (adjust-window-trailing-edge, maximize-window, minimize-window)
17305 (window-deletable-p, delete-window, delete-other-windows)
17306 (record-window-buffer, unrecord-window-buffer)
17307 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17308 (quit-window, split-window, window-state-put)
17309 (set-window-text-height, fit-window-to-buffer)
17310 (shrink-window-if-larger-than-buffer): Callers changed.
17311
17312 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17313
17314 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17315 rfc2047-decode-string.
17316 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17317 warnings.
17318
17319 * window.el (window-body-height, window-body-width): Mention in
17320 the doc string that the return values are in frame's canonical
17321 units. (Bug#9949)
17322
17323 2011-11-03 Alan Mackenzie <acm@muc.de>
17324
17325 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17326 change in cc-engine.el.
17327
17328 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17329
17330 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17331
17332 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17333
17334 * window.el (quit-window): Call unrecord-window-buffer after
17335 showing another buffer in the window. (Bug#9937)
17336 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17337
17338 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17339
17340 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17341 Accept status with more than 9 shelves. (Bug#9935)
17342 Reported by Colin D Bennett <colin@gibibit.com>.
17343
17344 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17345
17346 * help.el (with-help-window): Don't reference
17347 temp-buffer-show-specifiers in doc-string.
17348
17349 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17350
17351 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17352 menu-item.
17353
17354 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17355
17356 * whitespace.el: New version 13.2.2.
17357 (whitespace-newline-mode): Disable properly. Reported by Sarah
17358 <EmacsWiki>.
17359
17360 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17361
17362 * net/newst-treeview.el: Remove "Time-stamp".
17363 (newsticker--group-manage-orphan-feeds): Do not call
17364 newsticker--treeview-tree-update.
17365 (newsticker-treeview-update, newsticker-treeview):
17366 Call newsticker--treeview-tree-update if necessary.
17367
17368 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17369
17370 * window.el (window-iso-combination-p, window-iso-combined-p)
17371 (window-iso-combinations): Remove "iso-" infix.
17372 Suggested by Chong Yidong.
17373 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17374 (window-max-delta-1, window-resize, window--resize-siblings)
17375 (window--resize-this-window, adjust-window-trailing-edge)
17376 (split-window, balance-windows-1)
17377 (shrink-window-if-larger-than-buffer):
17378 * calendar/calendar.el (calendar-generate-window):
17379 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17380
17381 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17382
17383 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17384 in place (bug#9907).
17385 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17386 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17387 (eshell-structure-basic-command, eshell-rewrite-while-command)
17388 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17389 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17390 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17391 (eshell-do-pipelines-synchronously, eshell-eval-command):
17392 Use backquotes and prefer setq to set.
17393 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17394 (eshell-macrop): Use functionp.
17395 (eshell-do-eval): Handle multiple expressions in `while' body.
17396
17397 2011-10-30 Chong Yidong <cyd@gnu.org>
17398
17399 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17400 instead of set-mark (Bug#9810).
17401
17402 2011-10-30 Chong Yidong <cyd@gnu.org>
17403
17404 * window.el (split-window-below, split-window-right): Rename from
17405 split-window-above-each-other and split-window-side-by-side
17406 respectively. All callers changed.
17407 (split-window-sensibly, split-window-sensibly): Use them.
17408 (split-window-keep-point): Doc fix.
17409
17410 * isearch.el: Add isearch-scroll property to split-window-below
17411 and split-window-right.
17412
17413 * follow.el (follow-mode):
17414 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17415 * progmodes/ada-xref.el (ada-gdb-application):
17416 * emulation/vip.el (vip-buffer-in-two-windows):
17417 * image-dired.el (image-dired-dired-with-window-configuration):
17418 * dired-x.el (dired-do-find-marked-files):
17419 * dired.el (dired-pop-to-buffer):
17420 * bs.el (bs--show-with-configuration):
17421 * vc/emerge.el (emerge-setup-windows):
17422 * textmodes/two-column.el (2C-two-columns):
17423 * textmodes/reftex-toc.el (reftex-toc):
17424 * progmodes/gdb-mi.el (gdb-setup-windows):
17425 * progmodes/fortran.el (fortran-window-create):
17426 * net/newst-treeview.el (newsticker--treeview-window-init):
17427 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17428 * emulation/tpu-edt.el (tpu-gold-map):
17429 * emulation/crisp.el (crisp-mode-map):
17430 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17431
17432 2011-10-29 Chong Yidong <cyd@gnu.org>
17433
17434 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17435
17436 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17437
17438 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17439 forged Ispell output (Bug#7904).
17440
17441 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17442
17443 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * doc-view.el: Avoid ugly errors about not finding nil.
17446 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17447 (doc-view-dvipdf-program, doc-view-unoconv-program)
17448 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17449 Avoid nil or absolute file name as default value.
17450 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17451
17452 2011-10-28 Alan Mackenzie <acm@muc.de>
17453
17454 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17455
17456 2011-10-28 Alan Mackenzie <acm@muc.de>
17457
17458 Amend the handling of c-beginning/end-of-defun in nested declaration
17459 scopes.
17460
17461 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17462 cc-langs.el. Change it to a defcustom.
17463
17464 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17465 cc-vars.el.
17466
17467 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17468 Prevent "class foo : bar" being spuriously recognized as a label.
17469
17470 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17471 Add parameter `inclusive' (to include enclosing braces in the region).
17472 (c-widen-to-enclosing-decl-scope): New function.
17473 (c-while-widening-to-decl-block): New macro.
17474 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17475 outward for defun boundaries, and correspondingly change symbol
17476 `respect-enclosure' to `go-outward'.
17477 (c-declaration-limits): Change algorithm to report only the "innermost"
17478 defun's boundaries.
17479
17480 2011-10-28 Deniz Dogan <deniz@dogan.se>
17481
17482 * net/rcirc.el (rcirc-mode): Use hard newlines.
17483
17484 2011-10-28 Alan Mackenzie <acm@muc.de>
17485
17486 Amend to indent and fontify macros "which include their own semicolon"
17487 correctly, using the "virtual semicolon" mechanism.
17488
17489 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17490
17491 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17492 Recode to scan one line at a time rather than having \n and \r
17493 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17494 (c-forward-label): Amend for virtual semicolons.
17495 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17496
17497 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17498 of the new C macros.
17499
17500 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17501 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17502 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17503 (c-opt-cpp-macro-define): Make into a full language variable.
17504 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17505 AWK Mode (including \n, \r) removed, no longer needed.
17506
17507 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17508 Invoke c-make-macro-with-semi-re.
17509
17510 * progmodes/cc-vars.el (c-macro-with-semi-re):
17511 (c-macro-names-with-semicolon): New variables.
17512 (c-make-macro-with-semi-re): New function.
17513
17514 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17515
17516 * vc/log-edit.el: Fill empty field rather than adding new one.
17517 (log-edit-add-field): New function.
17518 (log-edit-insert-changelog): Use it.
17519
17520 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17521
17522 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17523
17524 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17525
17526 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17527 (gdb--check-interpreter): New function.
17528 (gdb): Use it.
17529
17530 2011-10-27 Glenn Morris <rgm@gnu.org>
17531
17532 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17533 (least-positive-float, least-negative-float)
17534 (least-positive-normalized-float, least-negative-normalized-float)
17535 (float-epsilon, float-negative-epsilon):
17536 Remove unnecessary declarations.
17537
17538 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17539 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17540 (least-positive-float, least-negative-float)
17541 (least-positive-normalized-float, least-negative-normalized-float)
17542 (float-epsilon, float-negative-epsilon): Add doc-strings,
17543 based on those in cl.texi.
17544
17545 * files.el (set-visited-file-name): If the major-mode changed,
17546 reload the local variables. (Bug#9796)
17547
17548 2011-10-27 Chong Yidong <cyd@gnu.org>
17549
17550 * subr.el (change-major-mode-after-body-hook): New hook.
17551 (run-mode-hooks): Run it.
17552
17553 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17554 Use change-major-mode-before-body-hook.
17555
17556 * simple.el (fundamental-mode):
17557 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17558 change introducing fundamental-mode-hook.
17559
17560 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17561
17562 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17563
17564 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17565
17566 * ido.el (ido-file-name-all-completions-1): Do not require
17567 tramp.el explicitly. (Bug#7583)
17568
17569 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17570
17571 * progmodes/octave-mod.el:
17572 * progmodes/octave-inf.el: Update maintainer.
17573
17574 2011-10-26 Chong Yidong <cyd@gnu.org>
17575
17576 * subr.el (with-wrapper-hook): Rewrite doc.
17577
17578 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17579
17580 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17581 filenames "/method:foo:". (Bug#9793)
17582
17583 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17584
17585 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17586 (bug#9865).
17587
17588 2011-10-24 Glenn Morris <rgm@gnu.org>
17589
17590 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17591
17592 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17593
17594 * notifications.el: Add the requirement of a running D-Bus session
17595 bus to the Commentary.
17596
17597 2011-10-24 Juri Linkov <juri@jurta.org>
17598
17599 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17600 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17601 (Bug#9364)
17602
17603 2011-10-24 Juri Linkov <juri@jurta.org>
17604
17605 * info.el (Info-following-node-name-re): Add newline to the list
17606 of allowed characters for leading space. (Bug#9824)
17607
17608 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17609
17610 * progmodes/octave-inf.el (inferior-octave-mode-map):
17611 Fix C-c C-h binding.
17612 * progmodes/octave-mod.el (octave-help): Remove.
17613
17614 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17615
17616 Sync with Tramp 2.2.3.
17617
17618 * net/tramp-cache.el (top): Pacify byte-compiler using
17619 `init-file-user' and `site-run-file'.
17620
17621 * net/trampver.el: Update release number.
17622
17623 2011-10-23 Chong Yidong <cyd@gnu.org>
17624
17625 * files.el (toggle-read-only): Remove obsolete comment about
17626 version control.
17627
17628 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17629 for toggle-read-only. Note that this hasn't called vc-next-action
17630 since 2008-05-02, though it wasn't documented at the time.
17631
17632 * vc/ediff-init.el (ediff-toggle-read-only-function):
17633 Use toggle-read-only.
17634
17635 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17636
17637 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17638 of c-parse-state.
17639
17640 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17641 correct faulty logical expression.
17642 (c-parse-state-state, c-record-parse-state-state):
17643 (c-replay-parse-state-state): New defvar/defuns.
17644 (c-debug-parse-state): Use new functions.
17645
17646 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17647
17648 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17649 last fix. Use window-in-direction correctly.
17650
17651 2011-10-21 Chong Yidong <cyd@gnu.org>
17652
17653 * progmodes/idlwave.el (idlwave-mode):
17654 * progmodes/vera-mode.el (vera-mode): No need to set
17655 require-final-newline; that's done in prog-mode.
17656 Suggested by Stefan Monnier.
17657
17658 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17659
17660 * mouse.el (mouse-drag-window-above)
17661 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17662 (mouse-drag-mode-line-1, mouse-drag-header-line)
17663 (mouse-drag-vertical-line-rightward-window): Remove.
17664 (mouse-drag-line): New function.
17665 (mouse-drag-mode-line, mouse-drag-header-line)
17666 (mouse-drag-vertical-line): Call mouse-drag-line.
17667 * window.el (window-at-side-p, windows-at-side): New functions.
17668
17669 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17670
17671 * tar-mode.el (tar-grind-file-mode):
17672 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17673
17674 2011-10-21 Chong Yidong <cyd@gnu.org>
17675
17676 * progmodes/idlwave.el (idlwave-mode):
17677 * progmodes/vera-mode.el (vera-mode):
17678 Use mode-require-final-newline.
17679
17680 2011-10-20 Glenn Morris <rgm@gnu.org>
17681
17682 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17683
17684 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17685
17686 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17687
17688 2011-10-20 Chong Yidong <cyd@gnu.org>
17689
17690 * emulation/cua-base.el (cua-mode):
17691 * mail/footnote.el (footnote-mode):
17692 * mail/mailabbrev.el (mail-abbrevs-mode):
17693 * net/xesam.el (xesam-minor-mode):
17694 * progmodes/bug-reference.el (bug-reference-mode):
17695 * progmodes/cap-words.el (capitalized-words-mode):
17696 * progmodes/compile.el (compilation-minor-mode)
17697 (compilation-shell-minor-mode):
17698 * progmodes/gud.el (gud-tooltip-mode):
17699 * progmodes/hideif.el (hide-ifdef-mode):
17700 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17701 * progmodes/subword.el (subword-mode):
17702 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17703 * progmodes/which-func.el (which-function-mode):
17704 * term/tvi970.el (tvi970-set-keypad-mode):
17705 * term/vt100.el (vt100-wide-mode):
17706 * textmodes/flyspell.el (flyspell-mode):
17707 * textmodes/ispell.el (ispell-minor-mode):
17708 * textmodes/nroff-mode.el (nroff-electric-mode):
17709 * textmodes/paragraphs.el (use-hard-newlines):
17710 * textmodes/refill.el (refill-mode):
17711 * textmodes/reftex.el (reftex-mode):
17712 * textmodes/rst.el (rst-minor-mode):
17713 * textmodes/sgml-mode.el (html-autoview-mode)
17714 (sgml-electric-tag-pair-mode):
17715 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17716 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17717 * emulation/crisp.el (crisp-mode):
17718 * emacs-lisp/eldoc.el (eldoc-mode):
17719 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17720 minor mode behavior.
17721
17722 2011-10-19 Juri Linkov <juri@jurta.org>
17723
17724 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17725 the list of hard-coded chars with escape-glyph face.
17726
17727 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17728
17729 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17730
17731 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17732
17733 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17734 running process.
17735
17736 2011-10-19 Glenn Morris <rgm@gnu.org>
17737
17738 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17739 Ignore ignored files. (Bug#9726)
17740
17741 2011-10-19 Chong Yidong <cyd@gnu.org>
17742
17743 Doc fix for minor modes, stating that an omitted argument enables
17744 the mode unconditionally when called from Lisp.
17745
17746 * abbrev.el (abbrev-mode):
17747 * allout.el (allout-mode):
17748 * autoinsert.el (auto-insert-mode):
17749 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17750 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17751 (global-auto-revert-mode):
17752 * battery.el (display-battery-mode):
17753 * composite.el (global-auto-composition-mode)
17754 (auto-composition-mode):
17755 * delsel.el (delete-selection-mode):
17756 * desktop.el (desktop-save-mode):
17757 * dired-x.el (dired-omit-mode):
17758 * dirtrack.el (dirtrack-mode):
17759 * doc-view.el (doc-view-minor-mode):
17760 * double.el (double-mode):
17761 * electric.el (electric-indent-mode, electric-pair-mode):
17762 * emacs-lock.el (emacs-lock-mode):
17763 * epa-hook.el (auto-encryption-mode):
17764 * follow.el (follow-mode):
17765 * font-core.el (font-lock-mode):
17766 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17767 * help.el (temp-buffer-resize-mode):
17768 * hilit-chg.el (highlight-changes-mode)
17769 (highlight-changes-visible-mode):
17770 * hi-lock.el (hi-lock-mode):
17771 * hl-line.el (hl-line-mode, global-hl-line-mode):
17772 * icomplete.el (icomplete-mode):
17773 * ido.el (ido-everywhere):
17774 * image-file.el (auto-image-file-mode):
17775 * image-mode.el (image-minor-mode):
17776 * iswitchb.el (iswitchb-mode):
17777 * jka-cmpr-hook.el (auto-compression-mode):
17778 * linum.el (linum-mode):
17779 * longlines.el (longlines-mode):
17780 * master.el (master-mode):
17781 * mb-depth.el (minibuffer-depth-indicate-mode):
17782 * menu-bar.el (menu-bar-mode):
17783 * minibuf-eldef.el (minibuffer-electric-default-mode):
17784 * mouse-sel.el (mouse-sel-mode):
17785 * msb.el (msb-mode):
17786 * mwheel.el (mouse-wheel-mode):
17787 * outline.el (outline-minor-mode):
17788 * paren.el (show-paren-mode):
17789 * recentf.el (recentf-mode):
17790 * reveal.el (reveal-mode, global-reveal-mode):
17791 * rfn-eshadow.el (file-name-shadow-mode):
17792 * ruler-mode.el (ruler-mode):
17793 * savehist.el (savehist-mode):
17794 * scroll-all.el (scroll-all-mode):
17795 * scroll-bar.el (scroll-bar-mode):
17796 * server.el (server-mode):
17797 * shell.el (shell-dirtrack-mode):
17798 * simple.el (auto-fill-mode, transient-mark-mode)
17799 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17800 (line-number-mode, column-number-mode, size-indication-mode)
17801 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17802 * strokes.el (strokes-mode):
17803 * time.el (display-time-mode):
17804 * t-mouse.el (gpm-mouse-mode):
17805 * tool-bar.el (tool-bar-mode):
17806 * tooltip.el (tooltip-mode):
17807 * type-break.el (type-break-mode-line-message-mode)
17808 (type-break-query-mode):
17809 * view.el (view-mode):
17810 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17811 (global-whitespace-mode, global-whitespace-newline-mode):
17812 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17813
17814 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17815 Fix autogenerated docstring.
17816
17817 2011-10-19 Juri Linkov <juri@jurta.org>
17818
17819 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17820 by checking environment variables "DESKTOP_SESSION" and
17821 "XDG_CURRENT_DESKTOP". (Bug#9779)
17822
17823 2011-10-19 Juri Linkov <juri@jurta.org>
17824
17825 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17826 (browse-url-chromium-program, browse-url-chromium-arguments):
17827 New defcustoms.
17828 (browse-url-default-browser): Check for `browse-url-chromium' and
17829 call `browse-url-chromium-program'.
17830 (browse-url-chromium): New command. (Bug#9779)
17831
17832 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17833
17834 * facemenu.el (list-colors-duplicates): On Windows, detect more
17835 duplicates by assuming that only colors matching "^System" are
17836 special "system colors". (Bug#9722)
17837
17838 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17841 to distinguish the author from the committer.
17842
17843 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17844
17845 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17846
17847 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17848
17849 * international/mule.el (sgml-html-meta-auto-coding-function):
17850 Add support for detecting encoding in HTML5 specified only as
17851 <meta charset="UTF-8">. Implementation just makes http-equiv and
17852 content-type parts from HTML4 encoding string optional. (Bug#9716)
17853
17854 2011-10-18 Glenn Morris <rgm@gnu.org>
17855
17856 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17857
17858 2011-10-18 Chong Yidong <cyd@gnu.org>
17859
17860 * faces.el (cursor): Doc fix.
17861
17862 2011-10-17 Chong Yidong <cyd@gnu.org>
17863
17864 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17865
17866 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17867
17868 * dirtrack.el (dirtrack): Support shell buffers with path
17869 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17870
17871 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17872
17873 * json.el: Bump version to 1.3 and note change in History.
17874 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17875
17876 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17877
17878 * comint.el (comint-insert-input, comint-send-input)
17879 (comint-get-old-input-default, comint-backward-matching-input)
17880 (comint-next-prompt): Use nil instead of `input' for field property of
17881 past user input (bug#114).
17882
17883 * minibuffer.el (completion--replace): Inherit surrounding properties
17884 (bug#114).
17885 (minibuffer-complete-and-exit): Use it.
17886
17887 * comint.el (comint--table-subvert): Quote the all-completions output
17888 (bug#9160).
17889
17890 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17891
17892 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17893
17894 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17895 window on right of selected. (Bug#9350) Reword other window
17896 entries and separate them from frame entries.
17897
17898 2011-10-15 Glenn Morris <rgm@gnu.org>
17899
17900 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17901 Doc fixes.
17902
17903 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17904
17905 * net/network-stream.el (network-stream-open-starttls):
17906 Improve detection of failure due to lack of TLS support.
17907
17908 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17909 putting the input text in front and in bold.
17910
17911 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17912
17913 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17914
17915 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17916 empty buffer.
17917
17918 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17919 unread-command-events rather than pushing yet-another event.
17920
17921 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17922
17923 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17924 the explanation of the possible choices. Make the options passed
17925 to completing-read shorter.
17926
17927 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17928
17929 * textmodes/flyspell.el (flyspell-large-region): Make sure
17930 extended character mode is used if defined (Bug#1339).
17931
17932 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17933
17934 * simple.el (what-cursor-position): Fix the display of the
17935 character info for LRE, LRO, RLE, and RLO characters by appending
17936 an invisible PDF.
17937
17938 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17939
17940 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17941 even in case of error; add debug spec; simplify data flow.
17942 (with-timeout-handler): Remove.
17943
17944 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17945
17946 Fix Bug#6019, Bug#9315.
17947
17948 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17949 complete `buffer-file-name', the local file name part could look
17950 remotely (for example on VMS).
17951
17952 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17953 `tramp-run-real-handler'.
17954 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17955 already quoted by '"'.
17956
17957 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17958 Let `file-name-handler-alist' be nil, the local file name part
17959 could look remotely (for example on VMS).
17960
17961 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17962
17963 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17964 from here...
17965 (flyspell-post-command-hook): ...to here.
17966
17967 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17968
17969 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17970 if not needed.
17971 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17972 using completion. Protect against "slow" callers.
17973 Remove the "message hack".
17974
17975 2011-10-11 Juri Linkov <juri@jurta.org>
17976
17977 * isearch.el (isearch-lazy-highlight-word): New variable.
17978 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17979 Use it. (Bug#9727)
17980
17981 2011-10-11 Glenn Morris <rgm@gnu.org>
17982
17983 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17984 like f90-previous-statement does.
17985
17986 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17987
17988 * eshell/eshell.el (eshell-command): History should be saved
17989 only in interactive use, to avoid error.
17990
17991 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17992
17993 * minibuffer.el (completion-file-name-table): Fix last change,
17994 i.e. ignore normal errors but not the other ones.
17995
17996 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17997
17998 * window.el (special-display-buffer-names)
17999 (special-display-regexps): Remove some remnants of earlier
18000 changes from doc-strings.
18001 (quit-windows-on): New function.
18002
18003 * vc/vc.el (vc-revert, vc-rollback):
18004 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18005 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18006 (Bug#6183) (Bug#7074) (Bug#7447)
18007
18008 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18009
18010 * window.el (frame-auto-hide-function): Add version tag.
18011 (Bug#9699)
18012
18013 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18014
18015 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18016 condition.
18017
18018 2011-10-09 Leo Liu <sdl.web@gmail.com>
18019
18020 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18021 (Bug#9701)
18022
18023 2011-10-08 Glenn Morris <rgm@gnu.org>
18024
18025 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18026 before the first code statement zero indent. (Bug#9690)
18027
18028 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18029
18030 * simple.el (count-words-region): Always count in the region.
18031 Report the number of lines and characters too.
18032 (count-words): New command, which counts in the buffer if the
18033 region is inactive, as count-words-region used to.
18034 (count-words--message): New function. Handle plurals.
18035 (count-lines-region): Make it an alias for count-words-region.
18036
18037 * bindings.el (esc-map): Replace count-lines-region with
18038 count-words-region.
18039
18040 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18041
18042 * window.el (window--delete): Delete dedicated frame
18043 unconditionally when argument KILL is non-nil. (Bug#9699)
18044 (switch-to-buffer): Fix doc-string typo.
18045
18046 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18047
18048 * eshell/eshell.el (eshell-command): Avoid using hooks.
18049
18050 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18051
18052 * bindings.el ([M-left],[M-right]): Bind to left-word and
18053 right-word respectively.
18054
18055 2011-10-07 Glenn Morris <rgm@gnu.org>
18056
18057 * cus-start.el (debug-on-quit): Fix custom type.
18058
18059 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18060
18061 * subr.el (define-key-after): Clarify that the function is not
18062 useful for non-menu keymaps.
18063
18064 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18065
18066 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18067
18068 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18069 in current minibuffer (Fix bug with recursive minibuffers).
18070
18071 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18072
18073 * progmodes/gdb-mi.el (gdb): Doc fix.
18074
18075 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18076
18077 * window.el (frame-auto-hide-function): New option replacing
18078 frame-auto-delete. Suggested by Stefan Monnier.
18079 (window--delete): Call frame-auto-hide-function instead of
18080 investigating frame-auto-delete.
18081 (window-point-1, set-window-point-1): New functions.
18082 (window-in-direction, record-window-buffer, window-state-get-1)
18083 (display-buffer-record-window): Use window-point-1 instead of
18084 window-point.
18085 (set-window-buffer-start-and-point): Use set-window-point-1.
18086
18087 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18090
18091 2011-10-05 Glenn Morris <rgm@gnu.org>
18092
18093 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18094 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18095
18096 2011-10-05 Leo Liu <sdl.web@gmail.com>
18097
18098 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18099 works with buffer object.
18100
18101 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18102
18103 * mpc.el (mpc-tool-bar-map): Add labels.
18104
18105 2011-10-04 Glenn Morris <rgm@gnu.org>
18106
18107 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18108
18109 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18110
18111 * window.el (window--delete): New function.
18112 (frame-auto-delete): Resuscitate option.
18113 (bury-buffer, replace-buffer-in-windows)
18114 (quit-window): Rewrite using window--delete.
18115 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18116 Pass display-buffer-mark-dedicated to window--display-buffer-2
18117 (Bug#9639).
18118
18119 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18120
18121 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18122 returns a list (bug#9554). Add remote file name completion.
18123 * comint.el (comint--table-subvert): Curry and get quote&unquote
18124 functions as arguments.
18125 (comint--complete-file-name-data): Adjust call accordingly.
18126 * pcomplete.el (pcomplete--table-subvert): Remove.
18127 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18128
18129 * minibuffer.el (completion-table-case-fold): Use currying.
18130 (completion--styles-type, completion--cycling-threshold-type):
18131 New constants.
18132 (completion-styles, completion-category-overrides)
18133 (completion-cycle-threshold): Use them.
18134 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18135 completion-table-case-fold.
18136
18137 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18138
18139 * minibuffer.el (completion-category-overrides): Fix type of styles
18140 and add more user friendly tags (bug#9660).
18141
18142 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18143
18144 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18145 (mule-input-method-string): New widget.
18146 (default-input-method, language-info-custom-alist): Use it.
18147
18148 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18149
18150 * pcomplete.el: Require comint.
18151 (pcomplete--common-suffix): Remove.
18152 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18153 (pcomplete--table-subvert): Sync with comint--table-subvert.
18154 (pcomplete--entries): Use comint-completion-file-name-table.
18155 * comint.el (comint-unquote-filename): Simplify.
18156 (comint-completion-file-name-table): New function (bug#9616).
18157 (comint--complete-file-name-data): Use it.
18158
18159 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18160 (pcmpl-gnu-tar-buffer): Remove.
18161 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18162 around. Make sure pcomplete-suffix-list is only changed temporarily.
18163 Don't look inside the tar's file if it's too large.
18164
18165 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18166
18167 * cus-edit.el (custom-mode-map):
18168 * epa.el (epa-key-list-mode-map):
18169 * man.el (Man-mode-map):
18170 * startup.el (splash-screen-keymap):
18171 * simple.el (special-mode-map): Use scroll-up-command and
18172 scroll-down-command.
18173
18174 * progmodes/idlw-help.el (idlwave-help-mode-map):
18175 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18176 * net/newst-plainview.el (newsticker-mode-map):
18177 * emulation/ws-mode.el (wordstar-mode-map):
18178 * emulation/vi.el (vi-com-map):
18179 * calc/calc-graph.el (calc-graph-show-dumb):
18180 * term/sun.el (terminal-init-sun):
18181 * term/ns-win.el (global-map):
18182 * progmodes/grep.el (grep-mode-map):
18183 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18184 * mail/rmail.el (rmail-mode-map):
18185 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18186
18187 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18188 custom-safe-themes as special.
18189
18190 2011-10-01 Julien Danjou <julien@danjou.info>
18191
18192 * notifications.el (notifications-notify): Fix docstring.
18193
18194 2011-10-01 Per Starbäck <per@starback.se>
18195
18196 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18197
18198 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18199
18200 * startup.el (command-line-1): Fix last fix by inserting
18201 initial-scratch-message into *scratch* before displaying it.
18202 (Bug#9605) and (Bug#9636)
18203
18204 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18205
18206 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18207 window is hscrolled, move by logical lines. (Bug#9607)
18208 (line-move-visual): Update the doc string to the above effect.
18209
18210 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18211
18212 * window.el (display-buffer-record-window): When WINDOW is the
18213 selected window use `point' instead of `window-point'. (Bug#9626)
18214
18215 * startup.el (command-line-1): Use insert-before-markers when
18216 inserting initial-scratch-message. (Bug#9605)
18217
18218 * help.el (help-window): Remove variable.
18219
18220 2011-09-29 Glenn Morris <rgm@gnu.org>
18221
18222 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18223
18224 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18225
18226 * descr-text.el (describe-char-categories): Accept category
18227 descriptions more than one line long.
18228
18229 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18230
18231 * simple.el (delete-trailing-whitespace): Fix last change.
18232
18233 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18234 Don't confuse "y => 3" as the beginning of a `y' operation.
18235
18236 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18237 object has more than 4 slots (bug#9613).
18238
18239 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18240
18241 * subr.el (with-output-to-temp-buffer):
18242 * net/quickurl.el (quickurl, quickurl-browse-url):
18243 Fix typos in docstrings.
18244
18245 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18246
18247 * minibuffer.el (completion-styles)
18248 (completion-category-overrides): Cross reference each other in doc
18249 strings.
18250
18251 2011-09-27 Glenn Morris <rgm@gnu.org>
18252
18253 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18254 to split-string. (Bug#9606)
18255
18256 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18257
18258 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18259 (bug#9615).
18260
18261 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18262
18263 * emacs-lisp/package.el (list-packages): Fix echo area message.
18264
18265 2011-09-27 Leo Liu <sdl.web@gmail.com>
18266
18267 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18268
18269 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18270
18271 * net/dbus.el (dbus-unregister-object): Don't release services for
18272 registered signals. (Bug#9581)
18273
18274 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18275
18276 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18277 function that picks between cfengine 2 and 3 support
18278 automatically. Update docs accordingly.
18279
18280 2011-09-22 Kenichi Handa <handa@m17n.org>
18281
18282 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18283 ZERO.
18284 (indian-itrans-v5-table-for-tamil): New variable.
18285 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18286
18287 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18288
18289 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18290 that's true if the current command involved collapsing of text.
18291 It's reset to false at the beginning of the next command.
18292 (allout-post-command-business): Move the cursor to the beginning
18293 of entry if the cursor is hidden and collapsing activity just
18294 happened.
18295
18296 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18297
18298 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18299 tracking (Bug#9541).
18300
18301 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18302
18303 * net/newst-reader.el (newsticker-html-renderer)
18304 (newsticker-show-news): Automatically load html rendering package
18305 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18306 because w3m-fill-column is let-bound" and the error "Symbol's value
18307 as variable is void: w3m-fill-column".
18308
18309 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18310
18311 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18312 Release services only if they are defined. (Bug#9581)
18313
18314 2011-09-23 Richard Stallman <rms@gnu.org>
18315
18316 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18317 distinguish start of paragraph from start of its text.
18318
18319 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18320
18321 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18322 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18323 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18324
18325 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18326
18327 * international/mule-diag.el (mule-diag): Insert a newline after
18328 each fontset description.
18329
18330 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18331
18332 * simple.el (delete-trailing-whitespace):
18333 Document last change; simplify.
18334
18335 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18336
18337 * simple.el (delete-trailing-whitespace): Also delete
18338 extra newlines at the end of the buffer.
18339
18340 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18341 (picture-newline): Use forward-line so as to ignore fields.
18342
18343 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18344
18345 * subr.el (with-wrapper-hook): Fix edebug spec.
18346
18347 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18348
18349 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18350 (bug#4538).
18351
18352 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18353
18354 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18355 Fix nasty bug using wrong cached values.
18356
18357 2011-09-23 Alan Mackenzie <acm@muc.de>
18358
18359 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18360
18361 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18362
18363 * window.el (pop-to-buffer): Ensure right window is selected if we
18364 chose another frame.
18365
18366 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18367
18368 * simple.el (what-cursor-position): Use get-char-property-change
18369 and next-single-char-property-change, to be able to show display
18370 properties that come from overlays as well as text properties.
18371
18372 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18373
18374 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18375
18376 * cmuscheme.el (run-scheme, switch-to-scheme):
18377 * cus-edit.el (customize-group, custom-buffer-create)
18378 (customize-browse):
18379 * info.el (info):
18380 * shell.el (shell):
18381 * mail/sendmail.el (mail):
18382 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18383
18384 2011-09-22 Richard Stallman <rms@gnu.org>
18385
18386 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18387 move back only to line beg, don't move back over blank lines.
18388
18389 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18390
18391 * files.el (copy-directory): Set directory attributes only in case
18392 they could be retrieved from the source directory. (Bug#9565)
18393
18394 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18395
18396 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18397 (hs-find-block-beginning, hs-hide-level-recursive):
18398 Ignore strings as well as comments. (Bug#9502)
18399
18400 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18401
18402 * progmodes/sql.el (sql-comint-postgres):
18403 Convert port number to a string. (Bug#9566)
18404
18405 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18406
18407 * window.el (quit-window): Undedicate window when switching to
18408 previous buffer. Reported by Thierry Volpiatto
18409 <thierry.volpiatto@gmail.com>.
18410 (special-display-popup-frame): When popping up a new frame reset
18411 its previous buffers to nil. Simplify code.
18412
18413 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18414
18415 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18416 and process filter, as done also in `shell-command'.
18417
18418 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18419
18420 * window.el (set-window-buffer-start-and-point):
18421 Call set-window-start with NOFORCE argument t.
18422 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18423 (quit-window): Reword doc-string. Handle new format of
18424 quit-restore parameter. Don't delete window if it has a
18425 previous buffer we can show instead of the present one.
18426 (display-buffer-record-window): Rewrite using a new format for
18427 the quit-restore window parameter
18428 (special-display-popup-frame, display-buffer-same-window)
18429 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18430 (display-buffer-pop-up-window, display-buffer-use-some-window):
18431 Adapt symbol passed to display-buffer-record-window.
18432 * help.el (help-window-setup): Handle new format of quit-restore
18433 parameter.
18434
18435 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18436
18437 * faces.el (face-list): Fix docstring (bug#9564).
18438
18439 * window.el (display-buffer--action-function-custom-type):
18440 Don't include internal functions in the Custom interface.
18441
18442 2011-09-20 Juri Linkov <juri@jurta.org>
18443
18444 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18445 (Info-forward-node, Info-backward-node, Info-next-preorder)
18446 (Info-last-preorder): Use it. (Bug#9528)
18447
18448 2011-09-20 Juri Linkov <juri@jurta.org>
18449
18450 * info.el (Info-last-preorder): Visit last menu item only when
18451 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18452
18453 2011-09-20 Julien Danjou <julien@danjou.info>
18454
18455 * password-cache.el (password-cache-remove): Remove entries even if the
18456 value is nil, so that password with a nil value (negative caching) is
18457 possible to invalidate.
18458
18459 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18460
18461 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18462 all whitespace around breakpoint. (Bug#9553)
18463 (f90-find-breakpoint): Only break at whitespace inside a comment.
18464
18465 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18466
18467 * minibuffer.el (completion-file-name-table): Keep track of errors.
18468 (completion-table-with-predicate): Handle the case where pred1 is nil.
18469 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18470
18471 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18472
18473 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18474 (debugger-return-value): Signal an error if the debugging context does
18475 not await any return value.
18476
18477 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18478 * image-mode.el (image-toggle-display-text)
18479 (image-toggle-display-image): Stay away from evil `intangible'.
18480
18481 2011-09-19 Leo Liu <sdl.web@gmail.com>
18482
18483 * replace.el (occur-revert-arguments): Make it permanent-local.
18484 (occur-mode): Don't call font-lock-defontify.
18485
18486 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18487
18488 * net/ldap.el (ldap-search-internal): Don't push empty search
18489 result (Bug#9508).
18490
18491 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18492
18493 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18494
18495 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18496
18497 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18498 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18499
18500 2011-09-18 Juri Linkov <juri@jurta.org>
18501
18502 * buff-menu.el (Buffer-menu-mode-map):
18503 * dired.el (dired-mode-map):
18504 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18505 (lisp-interaction-mode-map):
18506 * emacs-lisp/package.el (package-menu-mode-map):
18507 * epa.el (epa-key-list-mode-map):
18508 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18509 (menu-bar-options-menu):
18510 * outline.el (outline-mode-menu-bar-map):
18511 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18512 * vc/vc-dir.el (vc-dir-menu-map):
18513 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18514 Capitalize non-function content words in menu item strings.
18515
18516 * dired.el (dired-mode-map): Add menu item for
18517 `image-dired-dired-toggle-marked-thumbs'.
18518
18519 2011-09-18 Juri Linkov <juri@jurta.org>
18520
18521 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18522 to `isearch-case-fold-search' and restore its original value
18523 after the `isearch-mode' call.
18524
18525 2011-09-18 Juri Linkov <juri@jurta.org>
18526
18527 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18528 because `zgrep' returns 1 for successful matches (bug#9226).
18529
18530 2011-09-18 Juri Linkov <juri@jurta.org>
18531
18532 * info.el (Info-extract-menu-node-name): Check the second match
18533 for empty string (second test-case of bug#9528).
18534 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18535 intermediate nodes to the history (first test-case of bug#9528).
18536
18537 2011-09-18 Juri Linkov <juri@jurta.org>
18538
18539 * info.el (Info-mode-syntax-table): New variable.
18540 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18541
18542 2011-09-18 Juri Linkov <juri@jurta.org>
18543
18544 * info.el (Info-file-supports-index-cookies):
18545 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18546 outputs one more line for long file names (bug#4142).
18547
18548 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18549
18550 * newcomment.el (comment-normalize-vars): If prompting for
18551 comment-start, set comment-start-skip too (Bug#8424).
18552
18553 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18554
18555 * icomplete.el: Fix previous fix of Bug#5849.
18556 (icomplete-mode): Don't set completion-show-inline-help.
18557 (icomplete-minibuffer-setup): Set completion-show-inline-help
18558 locally during icompletion.
18559
18560 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18561
18562 * woman.el (woman2-process-escapes): Don't delete unrecognized
18563 escapes (Bug#7843).
18564
18565 * files.el (inhibit-first-line-modes-regexps): Add image files.
18566 (hack-local-variables-prop-line): Return nil for malformed
18567 prop-lines (Bug#9044).
18568
18569 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18570
18571 * net/tramp.el (top): Don't require 'shell.
18572 (tramp-methods): Fix docstring.
18573 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18574 Return complete remote file name. Handle "smb" case.
18575 Use `tramp-tmpdir', if defined for the respective method.
18576 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18577
18578 * net/tramp-compat.el (top): Require 'shell.
18579
18580 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18581 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18582 `tramp-current-host'.
18583 (tramp-get-remote-tmpdir): Remove.
18584
18585 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18586 `tramp-tmpdir' entries.
18587 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18588 (tramp-smb-handle-file-attributes): Ignore errors.
18589 (tramp-smb-wait-for-output): Check also for process end.
18590
18591 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18592
18593 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18594 when sending QUIT (bug#9312).
18595
18596 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18597
18598 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18599 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18600 occur-mode-display-occurrence.
18601 (occur-edit-mode): Add usage message.
18602 (occur-cease-edit): New command.
18603 (occur-after-change-function): Use text properties to find the
18604 position of the prefix text.
18605 (occur-engine): Set stickiness of prefix text properties.
18606
18607 2011-09-17 Glenn Morris <rgm@gnu.org>
18608
18609 * progmodes/etags.el (complete-tag):
18610 Fix call to completion-in-region. (Bug#9526)
18611
18612 2011-09-17 Juri Linkov <juri@jurta.org>
18613
18614 * textmodes/ispell.el (ispell-word): Add to the error message
18615 the word, ispell program name and current dictionary (bug#9121).
18616 (ispell-tex-arg-end): Capitalize "error" in the error message.
18617
18618 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18619
18620 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18621 check. (Bug#4251)
18622
18623 2011-09-17 Juri Linkov <juri@jurta.org>
18624
18625 * window.el (window-safe-min-height, window-safe-min-width):
18626 Fix typos (followup to bug#9522).
18627
18628 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18629
18630 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18631
18632 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18633
18634 * simple.el (line-move): If goal-column is set, move by logical
18635 lines, not by display lines. (Bug#971)
18636 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18637 to reflect the above change.
18638
18639 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18640
18641 * image.el (imagemagick-register-types): Use regexp-opt.
18642
18643 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18644
18645 * window.el (display-buffer-base-action): Rename from
18646 display-buffer-default-action. Make default value empty.
18647 (display-buffer-overriding-action): Convert to defvar.
18648 (display-buffer-fallback-action): New var.
18649
18650 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18651
18652 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18653 declaration.
18654 (package--add-to-archive-contents): If there is a duplicate entry
18655 with an older version, remove it.
18656 (package-menu-mark-delete, package-menu-mark-install)
18657 (package-menu-mark-unmark): Make unused args optional.
18658 (package-menu-mark-obsolete-for-deletion):
18659 Use package-menu-get-status instead of a regexp search.
18660 (package-menu-get-status): Use tabulated-list-entry.
18661 (package-menu-mark-upgrades): New command.
18662 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18663 (package-menu-execute): Do installation before deletion.
18664 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18665 instead of checking major-mode.
18666 (package-menu--find-upgrades): New function.
18667
18668 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18669
18670 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18671 passwords in the log buffer.
18672 (smtpmail-process-filter): Update the process marker so that the
18673 "broken by peer" status message is inserted in the right place.
18674
18675 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18676
18677 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18678 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18679 bibtex-completion-at-point-function.
18680 (bibtex-completion-at-point-function): Use them.
18681
18682 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18683
18684 * mpc.el (mpc-constraints-tag-lookup): New function.
18685 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18686 also to browser "album|playlist".
18687
18688 2011-09-14 Juri Linkov <juri@jurta.org>
18689
18690 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18691 (isearch-edit-string): Use length of `isearch-string' when
18692 `isearch-fail-pos' returns nil.
18693 (isearch-message): Remove duplicate code and call
18694 `isearch-fail-pos' with arg `t'.
18695
18696 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18697
18698 * replace.el (occur-mode-goto-occurrence): Don't force using other
18699 window (Bug#9499).
18700
18701 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18702
18703 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18704
18705 * window.el (display-buffer-window): Remove.
18706 (display-buffer-record-window): Use help-setup window parameter
18707 instead of variable display-buffer-window.
18708 (display-buffer-function, special-display-buffer-names)
18709 (special-display-function): Mention help-setup parameter instead
18710 of display-buffer-window in doc-string.
18711 * help.el (help-window-setup): New argument help-window.
18712 Use help-window-setup parameter instead of display-buffer-window.
18713 Reword some messages.
18714 (with-help-window): Pass window used for displaying the buffer
18715 to help-window-setup. Don't set display-buffer-window.
18716
18717 2011-09-13 Glenn Morris <rgm@gnu.org>
18718
18719 * emacs-lisp/debug.el (debugger-make-xrefs):
18720 Preserve point. (Bug#9462)
18721
18722 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18723
18724 * window.el (window-deletable-p): Use next-frame.
18725
18726 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18727
18728 * window.el (window-auto-delete): Remove.
18729 (window-deletable-p): Remove argument FORCE. Don't deal with
18730 dedication and previous buffers.
18731 (switch-to-prev-buffer): Don't delete window.
18732 (delete-windows-on): Delete a window's frame if and only if the
18733 window is dedicated.
18734 (replace-buffer-in-windows): Delete buffer's window or frame if
18735 and only if window is dedicated.
18736 (quit-window): Handle quit-restore as before last change.
18737 (bury-buffer): Delete window only if window-deletable-p returns t.
18738
18739 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18740
18741 * window.el (window-deletable-p): Never delete the last frame on a
18742 given terminal.
18743
18744 2011-09-13 Glenn Morris <rgm@gnu.org>
18745
18746 * help.el (describe-key-briefly): Copy previous standard-output change.
18747
18748 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18749
18750 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18751
18752 2011-09-13 Glenn Morris <rgm@gnu.org>
18753
18754 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18755 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18756
18757 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18758
18759 * dired-aux.el (dired-mark-read-string): Don't return default
18760 value on empty input (Bug#9361).
18761 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18762 Omit initial minibuffer contents.
18763 (dired-do-chmod): Signal an error on empty input.
18764 (dired-mark-read-string): Don't return default on empty input.
18765
18766 * files.el (file-modes-symbolic-to-number): Doc fix.
18767
18768 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18769
18770 * international/mule-cmds.el (ucs-completions): Remove.
18771 (read-char-by-name): Use complete-with-action instead; add metadata.
18772
18773 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18774
18775 * window.el (display-buffer--action-function-custom-type)
18776 (display-buffer--action-custom-type): New vars.
18777 (display-buffer-alist, display-buffer-default-action)
18778 (display-buffer-overriding-action): Add defcustom types.
18779
18780 * frame.el (delete-other-frames): Doc fix (Bug#276).
18781
18782 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18783
18784 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18785
18786 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18787
18788 Change modes that used same-window-* vars to use switch-to-buffer.
18789
18790 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18791 Use switch-to-buffer.
18792
18793 * cus-edit.el (customize-group, custom-buffer-create)
18794 (customize-browse, custom-buffer-create-other-window):
18795 Use switch-to-buffer or switch-to-buffer-other-window.
18796
18797 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18798 (Info-prev, Info-up, Info-speedbar-goto-node)
18799 (info-display-manual): Use switch-to-buffer.
18800 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18801
18802 * mail/sendmail.el (mail): Use switch-to-buffer.
18803 (mail-recover): Use switch-to-buffer-other-window.
18804
18805 * cmuscheme.el (run-scheme, switch-to-scheme):
18806 * ielm.el (ielm):
18807 * shell.el (shell):
18808 * net/rlogin.el (rlogin):
18809 * net/telnet.el (telnet, rsh):
18810 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18811
18812 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18813
18814 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18815
18816 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18817
18818 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18819 so don't mention it (bug#9301).
18820 (dired-sort-toggle-or-edit): Clarify string further.
18821
18822 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18823 match `x', `w32' and `ns', like the manual says (bug#9029).
18824
18825 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18826 (process-kill-buffer-query-function): Mention the buffer name in
18827 the query.
18828
18829 * image-mode.el (image-next-line): The line parameter is mandatory
18830 (bug#9258).
18831
18832 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18833 which can be useful (bug#9301).
18834
18835 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18836
18837 * subr.el (match-string): Mention that the current buffer should
18838 be the same as the search was done in (bug#9282).
18839
18840 * facemenu.el: Disable the remove-* commands if the mark isn't
18841 active (bug#9162).
18842
18843 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18844
18845 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18846 of display-buffer.
18847 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18848
18849 * replace.el (occur-mode-goto-occurrence)
18850 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18851 and display-buffer.
18852
18853 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18854 display-buffer.
18855
18856 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18857 special-display and same-window variables.
18858 (mail-other-window): Use switch-to-buffer-other-window.
18859 (mail-other-frame): USe switch-to-buffer-other-frame.
18860
18861 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18862 Use display-buffer-other-frame.
18863 (gdb-display-gdb-buffer): Use pop-to-buffer.
18864
18865 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18866
18867 * progmodes/python.el: Don't set same-window-buffer-names.
18868
18869 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18870
18871 * window.el (display-buffer-alist): Add *Python*.
18872
18873 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18874
18875 * window.el (display-buffer-alist): Add entry for buffers
18876 previously handled same-window-*.
18877 (display-buffer-alist, display-buffer-default-action)
18878 (display-buffer-overriding-action): Mark as risky.
18879 (display-buffer-alist): Document action function changes.
18880 (display-buffer--same-window-action)
18881 (display-buffer--other-frame-action): New variables.
18882 (switch-to-buffer, display-buffer-other-frame): Use them.
18883 (display-buffer): Rename reuse-frame entry to reusable-frames.
18884 (display-buffer-reuse-selected-window): Function deleted.
18885 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18886 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18887 (display-buffer-special): New function.
18888 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18889 display-buffer-reuse-or-pop-window. Split off special-display
18890 part into display-buffer-special.
18891 (display-buffer-use-some-window): Don't perform any special
18892 pop-up-frames handling.
18893 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18894 (display-buffer--maybe-same-window): Rename from
18895 display-buffer-maybe-same-window.
18896
18897 * info.el: Don't set same-window-regexps.
18898 (info-setup): New function.
18899 (info-other-window, info): Call it.
18900
18901 * cus-edit.el: Don't set same-window-regexps.
18902 (customize-group): New argument.
18903 (customize-group-other-window): Use it.
18904 (customize-face, customize-face-other-window): Likewise.
18905 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18906
18907 * net/rlogin.el:
18908 * net/telnet.el:
18909 * progmodes/gud.el: Don't set same-window-regexps.
18910
18911 * cmuscheme.el:
18912 * ielm.el:
18913 * shell.el:
18914 * mail/sendmail.el:
18915 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18916
18917 2011-09-10 Juri Linkov <juri@jurta.org>
18918
18919 * isearch.el (isearch-edit-string): Remove obsolete mention of
18920 `C-w' (`isearch-yank-word-or-char') from docstring.
18921 (isearch-query-replace): Fix typo in docstring (bug#9466).
18922
18923 2011-09-10 Juri Linkov <juri@jurta.org>
18924
18925 * paren.el (show-paren-function): Don't show escaped parens.
18926 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18927
18928 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18929
18930 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18931 (mm-default-file-encoding): Remove autoload forms, they are
18932 replaced with autoload cookies in mml.el and mm-encode.el.
18933 (mail-add-attachment): New command.
18934 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18935 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18936 the doc string.
18937 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18938
18939 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18940
18941 * simple.el (count-words-region): Use buffer if there's no region
18942 (bug#9429).
18943
18944 2011-09-09 Juri Linkov <juri@jurta.org>
18945
18946 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18947 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18948 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18949
18950 2011-09-09 Alan Mackenzie <acm@muc.de>
18951
18952 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18953 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18954
18955 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18956
18957 Fix for Savannah bug#9392.
18958 * simple.el (mail-encode-mml): New defvar.
18959
18960 * mail/rmail.el (mail-encode-mml): Add a defvar.
18961 (rmail-enable-mime-composing): Default to t.
18962 (rmail-forward): Use MIME method of forwarding only if both
18963 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18964 Set mail-encode-mml non-nil if the MIME method was used.
18965
18966 * mail/sendmail.el (mml-to-mime): Add autoload form.
18967 (mail-encode-mml): Add a defvar.
18968 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18969 to nil.
18970 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18971 message through mml-to-mime, and reset mail-encode-mml to nil.
18972
18973 2011-09-09 Glenn Morris <rgm@gnu.org>
18974
18975 * woman.el (woman-if-body): When processing an .el block,
18976 do not delete the next .el block as well. (Bug#9447)
18977 (woman-special-characters): Add oq, cq, and hy characters.
18978
18979 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18980
18981 * window.el (window-deletable-p): Make sure window is live before
18982 invoking window-prev-buffers.
18983
18984 2011-09-08 Leo Liu <sdl.web@gmail.com>
18985
18986 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18987
18988 2011-09-08 Juri Linkov <juri@jurta.org>
18989
18990 * progmodes/compile.el (compilation-environment): Make it
18991 a defcustom (bug#8340).
18992
18993 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18994
18995 * window.el (frame-auto-delete): Rename to window-auto-delete.
18996 Make it control auto-deletion of windows and/or frames.
18997 (window-deletable-p): New argument FORCE. Rewrite conditions
18998 for deleting window/frame. (Bug#9419)
18999 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19000 Rewrite handling of case when window/frame can be deleted.
19001 (delete-windows-on): Call window-deletable-p with new FORCE
19002 argument t. (Bug#9456)
19003
19004 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19005
19006 * help-mode.el (help-mode): Restore autoload.
19007
19008 2011-09-07 Juri Linkov <juri@jurta.org>
19009
19010 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19011 `compilation-environment'. Set buffer-local
19012 `compilation-environment' to `thisenv' later after (funcall mode).
19013 (Bug#8340)
19014
19015 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19016 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19017 instead of replacing its value. (Bug#8340)
19018
19019 2011-09-07 Juri Linkov <juri@jurta.org>
19020
19021 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19022 based on text properties put by `grep-filter' instead of matching
19023 escape sequences.
19024 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19025 to the value of `grep-error-screen-columns' (bug#9438).
19026
19027 2011-09-07 Juri Linkov <juri@jurta.org>
19028
19029 * simple.el (next-error-highlight, next-error-highlight-no-select):
19030 Doc fix (bug#9432).
19031
19032 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19033
19034 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19035 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19036
19037 2011-09-07 Leo Liu <sdl.web@gmail.com>
19038
19039 * net/rcirc.el (rcirc-mode): Conditionally initialize
19040 rcirc-input-ring.
19041
19042 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19043
19044 * emacs-lisp/find-func.el (find-function-C-source): Only set
19045 find-function-C-source-directory after checking that we found a source
19046 file there (bug#9440).
19047
19048 2011-09-06 Alan Mackenzie <acm@muc.de>
19049
19050 * isearch.el (isearch-other-meta-char): Wherever a key list is
19051 unread, "unread" the prefix arg, too. This fixes bug #8901.
19052
19053 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19054
19055 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19056
19057 2011-09-05 Juri Linkov <juri@jurta.org>
19058
19059 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19060
19061 2011-09-05 Juri Linkov <juri@jurta.org>
19062
19063 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19064 keeping point where processing of grep matches begins, and
19065 continue to delete remaining escape sequences from the same point.
19066 (grep-filter): Make leading zero optional in "0?1;31m" because
19067 git-grep emits "\033[1;31m" escape sequences unlike expected
19068 "\033[01;31m" as GNU Grep does (bug#9408).
19069 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19070
19071 2011-09-05 Juri Linkov <juri@jurta.org>
19072
19073 * subr.el (y-or-n-p): Capitalize "yes".
19074
19075 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19076
19077 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19078 `tramp-cache-unload-hook' where appropriate.
19079 (tramp-methods): Rename `tramp-remote-sh' to
19080 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19081 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19082
19083 * net/tramp-sh.el (top): Don't require 'shell.
19084 (tramp-methods): Add `tramp-remote-shell' and
19085 `tramp-remote-shell-args' entries.
19086 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19087 (tramp-sh-handle-shell-command): Remove.
19088 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19089 Use `tramp-remote-shell'.
19090
19091 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19092
19093 * mail/sendmail.el (sendmail-query-once-function): Delete.
19094 (sendmail-query-once): Save directly to send-mail-function.
19095 Update message-send-mail-function too.
19096
19097 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19098
19099 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19100
19101 * progmodes/python.el (python-mode-map): Use correct function to
19102 start python interpreter from menu-bar (as reported by Geert
19103 Kloosterman).
19104 (inferior-python-mode-map): Fix typo.
19105 (python-shell-map): Remove.
19106
19107 2011-09-03 Deniz Dogan <deniz@dogan.se>
19108
19109 * net/rcirc.el (rcirc-print): Simplify code for
19110 rcirc-scroll-show-maximum-output. There is no need to walk
19111 through all windows to find the right one.
19112
19113 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19114
19115 * help.el (help-return-method): Doc fix.
19116
19117 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19118
19119 * window.el (window-deletable-p): Don't return a non-nil value
19120 when there's a buffer that was shown in the window before.
19121 (Bug#9419)
19122 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19123 Set window's previous buffers to nil.
19124
19125 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19126
19127 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19128 newline before and after the tag line, so it doesn't interfere
19129 with determining the paragraph direction of bidirectional text.
19130
19131 2011-09-03 Leo Liu <sdl.web@gmail.com>
19132
19133 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19134
19135 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19138 (pop-to-buffer): Change interactive spec. Pass second argument
19139 directly to display-buffer.
19140 (display-buffer): Fix interactive spec. Use functionp to
19141 distinguish between a function and a list of functions.
19142
19143 * abbrev.el (edit-abbrevs):
19144 * arc-mode.el (archive-extract):
19145 * autoinsert.el (auto-insert):
19146 * bookmark.el (bookmark-bmenu-list):
19147 * files.el (find-file):
19148 * view.el (view-buffer):
19149 * progmodes/compile.el (compilation-goto-locus):
19150 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19151
19152 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19153
19154 * window.el (display-buffer-alist): Doc fix.
19155 (display-buffer): Add docstring. Don't treat
19156 display-buffer-default specially.
19157 (display-buffer-reuse-selected-window)
19158 (display-buffer-same-window, display-buffer-maybe-same-window)
19159 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19160 (display-buffer-pop-up-window)
19161 (display-buffer-reuse-or-pop-window)
19162 (display-buffer-use-some-window): New functions.
19163 (display-buffer-default-action): Use them.
19164 (display-buffer-default): Delete.
19165 (pop-to-buffer-1): Fix choice of actions.
19166
19167 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19168
19169 * minibuffer.el (completion--insert-strings): Don't get confused by
19170 completion entries that end with an LF char.
19171
19172 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19173
19174 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19175
19176 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19177
19178 * window.el (display-buffer): Restore interactive spec.
19179 (display-buffer-same-window, display-buffer-other-window):
19180 New functions.
19181 (pop-to-buffer-1): New function. Use the above.
19182 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19183 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19184
19185 * view.el (view-buffer-other-window, view-buffer-other-frame):
19186 Just use pop-to-buffer.
19187
19188 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19189
19190 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19191
19192 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19193
19194 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19195
19196 2011-08-31 Richard Stallman <rms@gnu.org>
19197
19198 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19199 of the separation of rmail-view-buffer from rmail-buffer.
19200 If you say no to "replace original", the decrypt is in the
19201 view buffer. If you say yes, the decrypt goes into the
19202 rmail buffer also.
19203
19204 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19205
19206 * window.el (display-buffer-window): Rewrite doc-string.
19207 (display-buffer-record-window): New function.
19208 (display-buffer-macro-specifiers)
19209 (display-buffer-even-window-sizes, display-buffer-set-height)
19210 (display-buffer-set-width, display-buffer-in-window)
19211 (display-buffer-reuse-window, display-buffer-split-specifiers)
19212 (display-buffer-side-specifiers, display-buffer-split-window-1)
19213 (display-buffer-split-window, display-buffer-split-atom-window)
19214 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19215 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19216 (display-buffer-other-window-means-other-frame)
19217 (display-buffer-normalize-special)
19218 (display-buffer-normalize-default)
19219 (display-buffer-normalize-argument)
19220 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19221 (display-buffer-normalize-specifiers, display-buffer-frame)
19222 (display-buffer-same-window, display-buffer-same-frame)
19223 (display-buffer-other-window)
19224 (display-buffer-same-frame-other-window)
19225 (display-buffer-other-frame, pop-to-buffer-same-window)
19226 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19227 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19228 (switch-to-buffer-same-frame)
19229 (switch-to-buffer-other-window-same-frame)
19230 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19231 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19232 (display-buffer-alist-set): Remove.
19233 (display-buffer-function, special-display-buffer-names)
19234 (special-display-regexps, special-display-function):
19235 In doc-string refer to display-buffer-window and quit-restore
19236 parameter.
19237 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19238 (special-display-frame-alist, special-display-popup-frame)
19239 (same-window-buffer-names, same-window-regexps, same-window-p)
19240 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19241 (split-window-preferred-function, split-height-threshold)
19242 (split-width-threshold, window-splittable-p)
19243 (split-window-sensibly, window--try-to-split-window)
19244 (window--frame-usable-p, even-window-heights)
19245 (window--even-window-heights, window--display-buffer-1)
19246 (window--display-buffer-2, display-buffer-other-frame):
19247 Restore old Emacs 23 code, order and doc-strings where applicable.
19248 (display-buffer-default, display-buffer-assq-regexp): New functions.
19249 (display-buffer-alist): Rewrite doc-string.
19250 (display-buffer-default-action)
19251 (display-buffer-overriding-action): New variables.
19252 (display-buffer, switch-to-buffer): Rewrite.
19253 (pop-to-buffer): Restore Emacs 23 behavior but use
19254 window-normalize-buffer-to-display.
19255 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19256 Restore Emacs 23 behavior but use
19257 window-normalize-buffer-to-switch-to.
19258 (pop-to-buffer-same-window): Rewrite.
19259 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19260 Rewrite using Emacs 23 options.
19261
19262 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19263
19264 * net/tramp.el (tramp-root-regexp): Remove.
19265 (tramp-completion-file-name-regexp-unified)
19266 (tramp-completion-file-name-regexp-separate)
19267 (tramp-completion-file-name-regexp-url): Don't use leading volume
19268 letter on w32 systems. (Bug#5303, Bug#9311)
19269 (tramp-drop-volume-letter): Simplify definition.
19270 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19271
19272 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19273
19274 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19275 (bug#9356).
19276
19277 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19278
19279 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19280
19281 2011-08-29 Juri Linkov <juri@jurta.org>
19282
19283 * isearch.el (isearch-done): Don't display message "Mark saved"
19284 when arg `edit' is non-nil to prevent its flicker in the echo area.
19285
19286 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19287
19288 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19289 obsolete packages for deletion.
19290
19291 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19292
19293 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19294 (help-mode): Derive help-mode from special-mode. Don't invoke
19295 view-mode from help-mode.
19296 (help-xref-override-view-map): Remove.
19297 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19298 view-mode is not used anymore.
19299
19300 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19301
19302 * server.el (server-port): Doc fix.
19303
19304 * cus-theme.el (custom-theme-choose-mode): Inherit from
19305 special-mode (Bug#9124).
19306 (custom-theme-choose-mode-map): Add special-mode to parent.
19307
19308 2011-08-28 Alan Mackenzie <acm@muc.de>
19309
19310 * progmodes/cc-fonts.el
19311 (c-make-font-lock-BO-decl-search-function): New function.
19312 (c-basic-matchers-after - "Fontify the clauses after various
19313 keywords"): Extract the three keyword lists for the 3 erroneous
19314 constructs from the list of four, and use the new function above
19315 in place of an old one.
19316
19317 2011-08-28 Deniz Dogan <deniz@dogan.se>
19318
19319 * net/rcirc.el (rcirc-insert-prev-input)
19320 (rcirc-insert-next-input): Remove unused argument.
19321
19322 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19325
19326 2011-08-27 Alan Mackenzie <acm@muc.de>
19327
19328 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19329 handle function pointer parameters properly.
19330
19331 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19332
19333 * window.el (display-buffer-reuse-window): Fix case where
19334 selected window was reused with non-nil OTHER-WINDOW argument.
19335 (Bug#9381)
19336
19337 2011-08-27 Deniz Dogan <deniz@dogan.se>
19338
19339 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19340 oftc's NickServ messages.
19341
19342 2011-08-27 Glenn Morris <rgm@gnu.org>
19343
19344 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19345
19346 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19347
19348 * emacs-lisp/package.el (package-install): Call package-initialize
19349 if called interactively.
19350
19351 2011-08-26 Leo Liu <sdl.web@gmail.com>
19352
19353 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19354
19355 2011-08-25 Juri Linkov <juri@jurta.org>
19356
19357 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19358 `search-whitespace-regexp' (bug#9364).
19359
19360 2011-08-25 Juri Linkov <juri@jurta.org>
19361
19362 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19363 `regexp-search-ring' to their global values to protect from
19364 updating by `read-from-minibuffer' (bug#9185).
19365
19366 2011-08-25 Juri Linkov <juri@jurta.org>
19367
19368 * textmodes/ispell.el (ispell-command-loop): Add newline
19369 at the end of the "Use option `i'..." line.
19370
19371 2011-08-25 Juri Linkov <juri@jurta.org>
19372
19373 * battery.el (display-battery-mode): If `battery-status-function'
19374 or `battery-mode-line-format' is nil, display the message and set
19375 `display-battery-mode' to nil (bug#9363).
19376
19377 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19378
19379 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19380 bidi-string-mark-left-to-right; they are unnecessary now.
19381
19382 2011-08-25 Deniz Dogan <deniz@dogan.se>
19383
19384 * net/quickurl.el: Documentation typo fixes.
19385
19386 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19387
19388 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19389
19390 2011-08-25 Glenn Morris <rgm@gnu.org>
19391
19392 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19393
19394 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19395 (smtpmail-via-smtp): Handle nil response from smtp.
19396
19397 2011-08-24 Juri Linkov <juri@jurta.org>
19398
19399 * proced.el (proced-marked): Inherit from `error' instead of
19400 `font-lock-warning-face'.
19401
19402 * ibuffer.el (ibuffer-marked-face): Change default face from
19403 `font-lock-warning-face' to `warning'.
19404 (ibuffer-deletion-face): Change default face from
19405 `font-lock-type-face' to `error'.
19406
19407 * battery.el (battery-update): Use the face `error' instead of
19408 `font-lock-warning-face' (bug#6117).
19409
19410 2011-08-24 Juri Linkov <juri@jurta.org>
19411
19412 * faces.el (success): Change face color from "Green3" to
19413 "ForestGreen" on light background (bug#9353).
19414
19415 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19416
19417 * window.el (quit-window): Rename from quit-restore-window.
19418 Use same arglist as old quit-window.
19419 (frame-auto-delete): Doc fix.
19420
19421 * view.el (view-mode-exit): Use quit-window.
19422
19423 2011-08-24 Juri Linkov <juri@jurta.org>
19424
19425 * isearch.el (isearch-ring-adjust1): Start visiting previous
19426 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19427 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19428 for empty search string (when the last search string is reused
19429 automatically) to adjust the isearch ring to the last element and
19430 prepare the correct index for further M-p commands (bug#9185).
19431
19432 2011-08-24 Kenichi Handa <handa@m17n.org>
19433
19434 * international/ucs-normalize.el: If decomposition property of
19435 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19436 nil.
19437 (nfd, nfkd): Likewise.
19438
19439 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19440
19441 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19442 from process filters aren't reliably transmitted to the surrounding
19443 accept-process-output.
19444 (mpc-proc-check): New function.
19445 (mpc-proc-sync): Use it (bug#8293)
19446
19447 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19448
19449 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19450 Add compatibility functions (bug#9313).
19451
19452 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19453
19454 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19455
19456 * international/uni-bidi.el: Regenerate.
19457
19458 2011-08-23 Kenichi Handa <handa@m17n.org>
19459
19460 * international/charprop.el:
19461 * international/uni-bidi.el:
19462 * international/uni-category.el:
19463 * international/uni-combining.el:
19464 * international/uni-comment.el:
19465 * international/uni-decimal.el:
19466 * international/uni-decomposition.el:
19467 * international/uni-digit.el:
19468 * international/uni-lowercase.el:
19469 * international/uni-mirrored.el:
19470 * international/uni-name.el:
19471 * international/uni-numeric.el:
19472 * international/uni-old-name.el:
19473 * international/uni-titlecase.el:
19474 * international/uni-uppercase.el: Regenerate.
19475
19476 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19477
19478 * help.el (help-window-setup): Fix message displayed when other
19479 window is reused. (Bug#9341)
19480
19481 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19482
19483 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19484 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19485
19486 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19487 Mark obsolete.
19488 * shell.el (shell-parse-pcomplete-arguments): New function.
19489 (shell-completion-vars): Use it instead (bug#9160).
19490
19491 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19492
19493 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19494 strings and comments (bug#9333).
19495
19496 * emacs-lisp/debug.el (debug-arglist): New function.
19497 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19498 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19499
19500 2011-08-22 Juri Linkov <juri@jurta.org>
19501
19502 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19503 Revert regexp that highlights output switches to its old
19504 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19505
19506 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19507 to check for empty output (bug#9226).
19508
19509 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19510
19511 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19512 symbol-constituent as the default, as that stops font-lock from
19513 working properly (Bug#8843).
19514
19515 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19516
19517 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19518 `coding-system-for-*' around the process open call to avoid
19519 auth-source side effects.
19520 (smtpmail-try-auth-methods): Expand the secret password.
19521 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19522 probe hangs.
19523
19524 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19525
19526 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19527
19528 * emacs-lisp/find-func.el (find-function-noselect): New arg
19529 lisp-only.
19530
19531 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19532 signal an error for built-in functions (Bug#6664).
19533
19534 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19535
19536 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19537 (smtpmail-try-auth-methods): Use it.
19538
19539 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19540
19541 * font-lock.el (font-lock-fontify-region)
19542 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19543 (font-lock-default-unfontify-buffer)
19544 (font-lock-default-fontify-region)
19545 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19546
19547 * progmodes/compile.el (compilation-error-properties):
19548 Fix confusion between file struct and message struct (Bug#9319).
19549 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19550 `ant' regexp.
19551
19552 * net/browse-url.el (browse-url-firefox): Don't call
19553 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19554
19555 2011-08-20 Glenn Morris <rgm@gnu.org>
19556
19557 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19558
19559 * tutorial.el (tutorial--default-keys): Update some default bindings.
19560
19561 * files.el (hack-local-variables): Fully ignore case for "mode:".
19562
19563 2011-08-20 Alan Mackenzie <acm@muc.de>
19564
19565 Resolve invalid use of a regexp in regexp-opt.
19566
19567 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19568 detection for a java annotation.
19569
19570 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19571 detection for a java annotation.
19572
19573 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19574 handling for java.
19575 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19576
19577 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19578
19579 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19580 (Bug#9274).
19581
19582 2011-08-20 Alan Mackenzie <acm@muc.de>
19583
19584 Fontify CPP expressions correctly when starting in the middle of
19585 such a construct. Mainly for when jit-lock etc. starts a chunk
19586 here.
19587
19588 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19589 variable.
19590 (c-make-font-lock-search-form): New function, extracted from
19591 c-make-font-lock-search-function.
19592 (c-make-font-lock-search-function): Use the above function.
19593 (c-make-font-lock-context-search-function): New function.
19594 (c-cpp-matchers): Enhance the preprocessor expression case with
19595 the above function
19596 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19597 which takes an expression.
19598
19599 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19600
19601 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19602
19603 * window.el (display-buffer-reuse-window)
19604 (display-buffer-pop-up-window): Don't reuse or split a side
19605 window.
19606
19607 2011-08-19 Glenn Morris <rgm@gnu.org>
19608
19609 * files.el (hack-local-variables-prop-line, hack-local-variables):
19610 Downcase "Mode:". (Bug#9331)
19611
19612 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19613
19614 * international/characters.el: Add L and R categories.
19615
19616 * subr.el (bidi-string-mark-left-to-right): Rename from
19617 string-mark-left-to-right. Use category search.
19618
19619 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19620
19621 2011-08-18 Juri Linkov <juri@jurta.org>
19622
19623 * faces.el (error, warning, success): New faces with definitions
19624 copied from old default values of `font-lock-warning-face',
19625 `compilation-warning', `compilation-info' (bug#6117).
19626
19627 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19628
19629 * progmodes/compile.el (compilation-error): Inherit from `error'.
19630 (compilation-warning): Inherit from `warning'.
19631 (compilation-info): Inherit from `success'.
19632
19633 * dired.el (dired-marked): Inherit from `warning'.
19634 (dired-flagged): Inherit from `error'.
19635
19636 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19637
19638 * mail/smtpmail.el (auth-source): Require to avoid problems with
19639 binding variables (bug#9298). Also clean up some unused
19640 autoloads.
19641
19642 * net/network-stream.el (network-stream-open-starttls):
19643 Support using starttls.el without using gnutls-cli.
19644
19645 2011-08-17 Juri Linkov <juri@jurta.org>
19646
19647 * progmodes/grep.el (rgrep): Handle the case when
19648 `grep-find-command' is a cons cell (bug#9278).
19649
19650 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19651
19652 * window.el (display-buffer-pop-up-frame): Run frame creation
19653 function with BUFFER current (as special-display-popup-frame
19654 does). Reported by Drew Adams.
19655
19656 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19657
19658 * epa-mail.el: Simplify GnuPG group expansion using
19659 epg-expand-group.
19660 (epa-mail-group-alist, epa-mail-group-modtime)
19661 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19662 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19663 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19664 Remove.
19665
19666 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19667
19668 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19669
19670 2011-08-16 Alan Mackenzie <acm@muc.de>
19671
19672 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19673 Correct, to avoid the inside of macros.
19674
19675 2011-08-16 Richard Stallman <rms@gnu.org>
19676
19677 * epa-mail.el: Handle GnuPG group definitions.
19678 (epa-mail-group-alist, epa-mail-group-modtime)
19679 (epa-mail-gnupg-conf-file): New variables.
19680 (epa-mail-parse-groups, epa-mail-sync-groups)
19681 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19682 (epa-mail-expand-recipients): New functions.
19683 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19684
19685 * mail/rmail.el (rmail-epa-decrypt): New command.
19686
19687 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19688 Don't bind buffer-read-only, just inhibit-read-only.
19689 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19690 (epa-decrypt-armor-in-region): Make error message clearer.
19691
19692 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19693
19694 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19695 and "a2b" to "ab" for `prefix'.
19696
19697 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19698
19699 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19700 filter groups.
19701 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19702 Fourquet (Bug#8804).
19703
19704 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19705
19706 * startup.el (argi): Declare as global variable (bug#9275).
19707
19708 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19709
19710 * subr.el (string-mark-left-to-right): Search the entire string
19711 for RTL script, not just the terminating character. Doc fix.
19712
19713 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19714
19715 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19716 New function.
19717 (js--regexp-literal, js-syntax-propertize-function): Remove.
19718 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19719 (js-mode-map): Don't rebind electric keys.
19720 (js-insert-and-indent): Remove.
19721 (js-mode): Setup electric-layout and electric-indent instead.
19722
19723 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19724
19725 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19726
19727 * epa.el (epa-progress-callback-function): Fix the logic of
19728 displaying progress.
19729 * epa-file.el (epa-file-insert-file-contents): Make progress
19730 display more user-friendly.
19731 (epa-file-write-region): Ditto.
19732
19733 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19734
19735 * subr.el (string-mark-left-to-right): New function.
19736
19737 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19738 Use string-mark-left-to-right.
19739 (list-buffers-noselect): Caller changed.
19740
19741 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19742 Use string-mark-left-to-right.
19743 (tabulated-list-print): Recenter after moving point.
19744
19745 2011-08-10 Juri Linkov <juri@jurta.org>
19746
19747 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19748 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19749 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19750
19751 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19752
19753 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19754 (Bug#7554).
19755
19756 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19757
19758 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19759 character. (Bug#6594)
19760
19761 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19762
19763 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19764 (image-dired--with-db-file): New macro.
19765 (image-dired-write-tags, image-dired-remove-tag)
19766 (image-dired-create-gallery-lists, image-dired-write-comments)
19767 (image-dired-get-comment, image-dired-mark-tagged-files)
19768 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19769 (image-dired-gallery-generate): Use insert-file-contents.
19770
19771 * time.el (display-time-world-list, display-time-world-display):
19772 * time-stamp.el (time-stamp-string):
19773 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19774 set-time-zone-rule (Bug#7337).
19775
19776 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19777
19778 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19779 (epg-error-to-string, epg-errors-to-string): New function.
19780 (epg-wait-for-completion): Reverse errors list.
19781 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19782 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19783 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19784 (epg-sign-keys, epg-generate-key-from-file)
19785 (epg-generate-key-from-string): Format errors by using
19786 epg-errors-to-string (bug#9255).
19787 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19788
19789 2011-08-07 Juri Linkov <juri@jurta.org>
19790
19791 * faces.el (list-faces-display): Remove extra angle bracket
19792 from `help-mode-map'.
19793
19794 * info.el (Info-history-toc-nodes): Doc fix.
19795
19796 * longlines.el (longlines-mode): Doc fix.
19797
19798 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19799
19800 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19801 of statements and in a few more cases (bug#9183).
19802
19803 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19804 New functions.
19805 (cl-transform-lambda): Use them (bug#9239).
19806
19807 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19808
19809 * window.el (display-buffer-same-window)
19810 (display-buffer-same-frame, display-buffer-other-window)
19811 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19812 (pop-to-buffer-other-window)
19813 (pop-to-buffer-same-frame-other-window)
19814 (pop-to-buffer-other-frame): Make them defuns.
19815 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19816
19817 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19818
19819 * subr.el (make-composed-keymap): Move from C. Change calling
19820 convention, and improve docstring to bring attention to a subtle point.
19821 * minibuffer.el (completing-read-default): Adjust accordingly.
19822
19823 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19824
19825 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19826 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19827
19828 * net/trampver.el: Update release number.
19829
19830 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19831
19832 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19833 "in" (bug#9190).
19834
19835 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19836
19837 * mail/sendmail.el (sendmail-query-once): Restore the current
19838 buffer after querying (bug#9074).
19839
19840 * dired.el (dired-flagged): Use different faces for marked and
19841 flagged files (bug#6117).
19842
19843 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19844 (bug#4433).
19845
19846 * ido.el (ido-mode): Switch off the message if called
19847 non-interactively.
19848
19849 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19850 before 587, since it appears that that's more likely to work for
19851 more people.
19852
19853 * cus-edit.el (custom-file): When running under emacs -q, always
19854 refuse to save the customizations, even if the .emacs file doesn't
19855 exist.
19856
19857 * info.el: Remove the `Info-beginning-of-buffer' function
19858 (bug#8325).
19859
19860 * net/network-stream.el (network-stream-open-starttls):
19861 Use `starttls-available-p' to see whether starttls.el can be used.
19862
19863 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19864
19865 * window.el (display-buffer-in-window): Don't set dedicated status
19866 of window here (Bug#9215).
19867 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19868 (display-buffer-pop-up-side-window)
19869 (display-buffer-in-side-window): Set dedicated status of window here.
19870
19871 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19872
19873 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19874 before binding generated-autoload-file.
19875
19876 2011-08-01 Deniz Dogan <deniz@dogan.se>
19877
19878 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19879
19880 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19881
19882 Sync with Tramp 2.2.2.
19883
19884 * net/trampver.el: Update release number.
19885
19886 2011-07-30 Juri Linkov <juri@jurta.org>
19887
19888 * dired-aux.el (dired-touch-initial): Remove function.
19889 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19890 current time, and `default' to the last modification time of the
19891 current marked file (bug#6887).
19892
19893 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19894
19895 * simple.el (goto-line): Use string-to-number to provide a
19896 numeric argument to read-number (bug#9163).
19897
19898 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19899
19900 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19901 connection process, it could be nil.
19902
19903 2011-07-27 Leo Liu <sdl.web@gmail.com>
19904
19905 Simplify url handling in rcirc-mode.
19906
19907 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19908 (rcirc-browse-url-at-mouse): Remove.
19909 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19910
19911 2011-07-26 Alan Mackenzie <acm@muc.de>
19912
19913 Fontify bitfield declarations properly.
19914
19915 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19916 (c-symbol-chars): Now exported as a lang variable.
19917 (c-not-primitive-type-keywords): New lang variable.
19918
19919 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19920 QT keyword "more" to prevent "more slots: ...." being spuriously
19921 parsed as a bitfield declaration.
19922
19923 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19924 Refactor and enhance to handle bitfield declarations.
19925 (c-punctuation-in): New function.
19926 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19927 declarations properly.
19928
19929 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19930
19931 * calendar/icalendar.el (icalendar--all-events): Take care of
19932 multiple vcalendars in a single file.
19933 (icalendar--convert-float-to-ical): Checkdoc fixes.
19934
19935 2011-07-25 Deniz Dogan <deniz@dogan.se>
19936
19937 * image.el (insert-image): Clarifying docstring.
19938
19939 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19940
19941 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19942 `tramp-send-command-and-check' if there is no error.
19943 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19944
19945 2011-07-22 Alan Mackenzie <acm@muc.de>
19946
19947 Prevent cc-langs.elc being loaded at run time.
19948
19949 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19950 cc-langs.
19951
19952 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19953 "(require 'cc-langs)". Quote a form so it will evaluate at
19954 (cc-mode's) compilation time.
19955
19956 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19957
19958 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19959 loading. (Bug#9114)
19960
19961 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19962
19963 * window.el (display-buffer-pop-up-window)
19964 (display-buffer-pop-up-side-window)
19965 (display-buffer-in-side-window): Call display-buffer-set-height
19966 and display-buffer-set-width after setting the new window's
19967 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19968
19969 2011-07-20 Sam Steingold <sds@gnu.org>
19970
19971 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19972 (etags-tags-included-tables): Call `convert-standard-filename' on
19973 the file names contained in TAGS so that windows Emacs can handle
19974 TAGS files created by cygwin ctags.
19975
19976 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19977
19978 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19979 which apparently didn't work.
19980
19981 2011-07-19 Roland Winkler <winkler@gnu.org>
19982
19983 * proced.el (proced-send-signal): For *Marked Processes* buffer
19984 put point at beginning of buffer.
19985
19986 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19987
19988 * proced.el (proced-format): Make header lines align with the text
19989 (bug#1779).
19990
19991 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19992
19993 * view.el (view-buffer): Allow running in `special' modes if we're
19994 visiting a file (bug#8615).
19995
19996 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19997
19998 * window.el (display-buffer-alist-of-strings-p)
19999 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20000 New functions.
20001 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20002 more accurately.
20003
20004 2011-07-18 Alan Mackenzie <acm@muc.de>
20005
20006 Fontify declarators properly when, e.g., a jit-lock chunk begins
20007 inside a declaration.
20008
20009 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20010
20011 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20012 New function.
20013 (c-complex-decl-matchers): Insert reference to
20014 c-font-lock-enclosing-decls.
20015
20016 * progmodes/cc-engine.el (c-backward-single-comment):
20017 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20018 to nil around calls to (forward-comment -1).
20019
20020 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20021
20022 * image.el (put-image): Doc typo fix.
20023
20024 * progmodes/etags.el (tags-search): Doc typo fix.
20025
20026 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20027 password if we get errors 550 to 554.
20028
20029 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20030
20031 * net/gnutls.el (gnutls-log-level): Remove.
20032
20033 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20034 indentation character (bug#6380).
20035
20036 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20037
20038 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20039 to clarify what the problem is (bug#4291).
20040
20041 * simple.el (current-kill): Clarify what
20042 `interprogram-paste-function' does (bug#7500).
20043 (auto-fill-mode): Document `auto-fill-function' in relation to
20044 `auto-fill-mode' (bug#2470).
20045
20046 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20047
20048 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20049 method if slot is read-only (bug#9035).
20050
20051 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20052
20053 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20054 * window.el (pop-to-buffer): Select window used even if it was
20055 selected before, see discussion of (Bug#8615), (Bug#6954).
20056 Pass argument NORECORD on to select-frame-set-input-focus.
20057
20058 2011-07-15 Glenn Morris <rgm@gnu.org>
20059
20060 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20061 Respect help-form.
20062
20063 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20064
20065 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20066 (gnutls-negotiate): Use it.
20067
20068 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20069
20070 * net/gnutls.el (gnutls-negotiate):
20071 Upcase `gnutls-algorithm-priority'.
20072
20073 2011-07-15 Glenn Morris <rgm@gnu.org>
20074
20075 * jka-compr.el (jka-compr-verbose): Move from here...
20076 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20077 Add missing :version tag.
20078 * info.el: No need to require jka-compr when compiling.
20079
20080 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20081
20082 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20083 (gnutls-negotiate): Use it.
20084
20085 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20086
20087 * info.el (Info-beginning-of-buffer): New command.
20088 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20089 announcing `b' as the key (bug#8325).
20090 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20091
20092 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20093
20094 * international/mule-cmds.el
20095 (describe-specified-language-support): Make the error message
20096 clearer (bug#8905).
20097
20098 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20099
20100 * isearch.el (isearch-barrier): Add a doc string, since it's
20101 mentioned in a function doc string (bug#8678).
20102
20103 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20104
20105 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20106 buffer argument (Bug#9083) and self-identifying label argument.
20107
20108 2011-07-15 Glenn Morris <rgm@gnu.org>
20109
20110 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20111
20112 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20113
20114 * man.el (Man-fontify-manpage): Fix message when formatting the
20115 man page (bug#7929).
20116
20117 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20118
20119 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20120 argument LRM; if non-nil, append an invisible LRM character to the
20121 buffer name.
20122 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20123 last argument non-nil, when formatting buffer names.
20124 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20125 paragraph direction.
20126
20127 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20128
20129 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20130 the man page name (bug#7929).
20131
20132 * image.el (put-image): Mention the `put-image' overlay property
20133 (bug#7834).
20134
20135 * scroll-bar.el (set-scroll-bar-mode): Mention that
20136 `scroll-bar-mode' lists the values (bug#7772).
20137
20138 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20139 command (bug#7729).
20140
20141 * rect.el (apply-on-rectangle): Return the point after the last
20142 operation.
20143 (string-rectangle): Go to the point after the last operation
20144 (bug#7522).
20145
20146 * printing.el (pr-toggle-region): Clarify the documentation
20147 slightly (bug#7493).
20148
20149 * time.el (display-time-update):
20150 Allow `display-time-mail-function' to return nil (bug#7158).
20151 Fix suggested by Detlev Zundel.
20152
20153 * vc/diff.el (diff): Clarify the order the file names are read
20154 (bug#7111).
20155
20156 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20157 the doc string (bug#7015).
20158
20159 * font-lock.el (font-lock-maximum-decoration): Mention what
20160 numeric levels mean (bug#6935).
20161
20162 * startup.el (initial-buffer-choice): Don't mention the `none'
20163 selection, which is against policy.
20164
20165 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20166
20167 * window.el (display-buffer-normalize-special):
20168 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20169
20170 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20171
20172 * subr.el (version<, version<=, version=): Mention "-CVS" and
20173 "-12345" alpha version numbers.
20174
20175 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20176
20177 * bindings.el: Add advertised binding for set-mark-command
20178 (Bug#5772).
20179
20180 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20181
20182 * bindings.el (mode-line-other-buffer):
20183 * bookmark.el (bookmark-bmenu-2-window):
20184 * bs.el (bs-cycle-next, bs-cycle-previous):
20185 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20186 switch-to-buffer.
20187
20188 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20189 Delete.
20190
20191 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20192
20193 * follow.el (follow-debug-message, follow-redisplay):
20194 * jka-cmpr-hook.el (with-auto-compression-mode):
20195 Fix typos in docstrings.
20196
20197 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20198
20199 * subr.el (with-silent-modifications): Clarify somewhat what the
20200 macro inhibits (bug#6525).
20201
20202 * simple.el (eval-expression): Note what it does if called
20203 interactively (bug#6495).
20204
20205 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20206
20207 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20208 Use pop-to-buffer buffer-or-name if it is nil.
20209
20210 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20211 Remove switch-to-buffer.
20212
20213 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20214
20215 * files.el (make-directory): Clarify that an error will be raised
20216 if there's an error (bug#6397).
20217
20218 * startup.el (initial-buffer-choice): Add `none' as a choice
20219 (bug#6234).
20220
20221 * subr.el (add-hook): Clarify section about buffer-local hooks
20222 (bug#6218).
20223
20224 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20225
20226 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20227
20228 * tabify.el (untabify): Preserve the current column so that point
20229 doesn't move (bug#6032).
20230
20231 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20232
20233 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20234 Rewrite to avoid awkward possessive "s" (bug#5986).
20235
20236 2011-07-13 Glenn Morris <rgm@gnu.org>
20237
20238 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20239 (dired-insert-directory): Give a message the first time
20240 if ls is found not to support --dired.
20241
20242 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20243
20244 * simple.el (toggle-truncate-lines): Clarify what is toggled
20245 (bug#5580). Text by Drew Adams.
20246
20247 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20248
20249 * simple.el (blink-matching-open): Make the error message from the
20250 last change less verbose.
20251
20252 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20253
20254 * font-lock.el (font-lock-comment-face): Use the high contrast
20255 "yellow" color for font-lock-comment-face on low color terminals
20256 using a dark background color (bug#4221).
20257
20258 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20259
20260 * dired.el (dired-insert-set-properties): Make the doc string
20261 reflect what it does now (bug#5325).
20262
20263 * simple.el (blink-matching-open): Say that we were unable to find
20264 the match within the limit, if we're limited (bug#5122).
20265
20266 * international/mule-cmds.el (prefer-coding-system): Add an
20267 example (bug#4869).
20268
20269 * progmodes/etags.el (tags-search): Document `file-list-form'
20270 (bug#4731).
20271
20272 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20273
20274 * net/browse-url.el (browse-url-default-browser)
20275 (browse-url-browser-function): Make the default browser choice a
20276 bit more logical (bug#4300). Also clean up the doc string.
20277
20278 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20279
20280 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20281 binary endings (bug#4440).
20282
20283 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20284
20285 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20286 which can be pretty annoying (bug#8971).
20287
20288 * jka-compr.el (jka-compr-verbose): New variable, and use
20289 throughout (bug#8971).
20290
20291 * info.el (Info-find-file): Fall back on the installation
20292 directory if we can't find the info node anywhere else.
20293
20294 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20295
20296 * vc/vc.el (vc-revert-file):
20297 Don't set file time-stamp in the past. (Bug#5181)
20298
20299 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20300
20301 * files.el (after-find-file): Give a better error message when
20302 trying to find a symlink that points to a file that doesn't exist
20303 (bug#4398).
20304
20305 * progmodes/cc-vars.el: Remove (probably) misleading comment
20306 (bug#4396).
20307
20308 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20309
20310 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20311
20312 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20313
20314 * mouse-sel.el: Hack restoring functionality, while keeping
20315 compatibility with 2010-07-03 changes to mouse selection.
20316 (mouse-sel-primary-overlay): New var.
20317 (mouse-sel-selection-alist): Use it.
20318 (mouse-sel-mode): Doc fix; remove points that are default features
20319 of mouse.el.
20320
20321 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20322
20323 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20324 Fix previous fix (bug#2490).
20325
20326 2011-07-12 Roland Winkler <winkler@gnu.org>
20327
20328 * textmodes/bibtex.el (bibtex-initialize):
20329 Use pop-to-buffer-same-window.
20330 (bibtex-search-entries): Fix interactive call.
20331
20332 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20333
20334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20335 Fontise bytecomp Error lines more correctly (bug#2490).
20336 Fix suggested by Johan Bockgård.
20337
20338 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20339
20340 * dired-x.el (dired-guess-default): Use `delete-dups'.
20341
20342 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20343
20344 * dired.el (dired-mark-prompt):
20345 * dired-aux.el (dired-read-shell-command): Doc fix.
20346
20347 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20348
20349 * mail/sendmail.el (sendmail-query-once):
20350 Use `customize-save-variable' unconditionally, now that it works under
20351 emacs -Q.
20352
20353 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20354
20355 * cus-edit.el (custom-file): Take an optional no-error variable.
20356 (customize-save-variable): Set the variable, and give a warning if
20357 running under "emacs -q".
20358
20359 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20360
20361 * loadhist.el (unload-feature-special-hooks):
20362 Add `auto-coding-functions', `fill-nobreak-predicate' and
20363 `find-directory-functions' (bug#5327).
20364
20365 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20366
20367 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20368
20369 * cus-edit.el (custom-guess-name-alist): -alist variables should
20370 use the `alist' type (bug#3120). Suggested by Drew Adams.
20371
20372 * printing.el: Add documentation to all the `pr-toggle-' commands.
20373
20374 2011-07-11 Leo Liu <sdl.web@gmail.com>
20375
20376 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20377 backends where it makes sense (bug#2623).
20378
20379 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380
20381 * dired-x.el (dired-guess-default): Remove duplicate shell command
20382 entries (bug#2028).
20383 (dired-guess-default): Fix grammar in doc string (bug#2028).
20384 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20385
20386 * subr.el (remove-duplicates): New conveniency function.
20387
20388 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20389
20390 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20391 (bug#1526).
20392
20393 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20394
20395 * window.el (display-buffer-normalize-default): Don't invert
20396 meaning of even-window-heights. Reported by Eli Zaretskii
20397 <eliz@gnu.org>.
20398
20399 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20400
20401 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20402
20403 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20404
20405 * window.el (display-buffer): Fix arguments to
20406 display-buffer-reuse-window in last change.
20407
20408 * faces.el (link): Use a less saturated blue on light backgrounds.
20409
20410 * startup.el (fancy-startup-text, fancy-about-text)
20411 (fancy-startup-tail): Use font-lock faces, for background safety.
20412
20413 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20414
20415 * emulation/viper-cmd.el (viper-change-state-to-vi):
20416 Limit triggering of abbrev expansion (Bug#9038).
20417
20418 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20419
20420 * window.el (display-buffer-default-specifiers): Remove.
20421 (display-buffer-macro-specifiers): Remove default specifiers.
20422 (display-buffer-alist): Default to nil.
20423 (display-buffer-reuse-window): New optional argument other-window.
20424 (display-buffer-pop-up-window): Allow splitting internal
20425 windows. Check whether a live window was created.
20426 (display-buffer-other-window-means-other-frame)
20427 (display-buffer-normalize-arguments): Rename to
20428 display-buffer-normalize-argument and rewrite. Set the
20429 other-window specifier.
20430 (display-buffer-normalize-special): New function.
20431 (display-buffer-normalize-options): Rename to
20432 display-buffer-normalize-default and rewrite.
20433 (display-buffer-normalize-options-inhibit): Remove.
20434 (display-buffer-normalize-specifiers): Rewrite.
20435 (display-buffer): Process other-window specifier and call
20436 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20437 more faithfully.
20438 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20439 (display-buffer-alist-set): Don't handle 'unset default values.
20440 (display-buffer-in-window, display-buffer-alist-set):
20441 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20442 <tassilo@member.fsf.org>.
20443
20444 2011-07-09 Leo Liu <sdl.web@gmail.com>
20445
20446 * register.el (insert-register): Restore accidental change on
20447 2011-06-26. (Bug#9028)
20448
20449 2011-07-09 Glenn Morris <rgm@gnu.org>
20450
20451 * subr.el (remq): Handle the empty list. (Bug#9024)
20452
20453 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20454
20455 * mail/sendmail.el (send-mail-function): No longer delay custom
20456 initialization.
20457 * custom.el (custom-initialize-delay): Doc fix.
20458
20459 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20462
20463 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20464
20465 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20466 human-friendly prompt.
20467
20468 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20469
20470 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20471 provided by a particular plugin.
20472
20473 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20474
20475 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20476 save customizations (with "emacs -Q"), just set the variable
20477 instead of erroring out.
20478
20479 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20480
20481 2011-07-08 Juri Linkov <juri@jurta.org>
20482
20483 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20484 (archive-zip-update-case): Use 7z if found by `executable-find'.
20485 The order of searching the available programs is the same as in
20486 `archive-zip-extract' (bug#8968).
20487
20488 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20489
20490 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20491 (menu-bar-options-menu): Tweak descriptions.
20492
20493 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20494
20495 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20496 menu items into verb phrases (bug#1421). Also refill to fit under
20497 80 columns.
20498
20499 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20500
20501 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20502 (Info-read-node-name): Doc fix (Bug#1084).
20503
20504 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20505 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20506 (end-of-sexp, beginning-of-sexp)
20507 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20508 (forward-symbol, forward-same-syntax, word-at-point)
20509 (sentence-at-point): Doc fix (Bug#1144).
20510
20511 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20512
20513 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20514 should cover it (bug#1281).
20515
20516 * cus-edit.el (custom-show): Mark as obsolete.
20517
20518 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20519 negotiation fails, then possibly try again with a non-encrypted
20520 connection (bug#9017).
20521
20522 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20523 be used.
20524
20525 2011-07-07 Richard Stallman <rms@gnu.org>
20526
20527 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20528 property, and handle its changed format.
20529 Look for the correct line number.
20530 Use file's line contents (but not past first =) to find
20531 correct line in message.
20532
20533 2011-07-07 Kenichi Handa <handa@m17n.org>
20534
20535 * international/characters.el (build-unicode-category-table):
20536 Delete it.
20537 (unicode-category-table): Set it by unicode-property-table-internal.
20538
20539 * international/mule-cmds.el (char-code-property-alist): Move to
20540 to src/chartab.c.
20541 (get-char-code-property): Call unicode-property-table-internal to
20542 load a file. Call get-unicode-property-internal where necessary.
20543 (put-char-code-property): Call unicode-property-table-internal to
20544 load a file. Call put-unicode-property-internal where necessary.
20545 put-unicode-property-internal where necessary.
20546 (char-code-property-description):
20547 Call unicode-property-table-internal to load a file.
20548
20549 * international/charprop.el:
20550 * international/uni-bidi.el:
20551 * international/uni-category.el:
20552 * international/uni-combining.el:
20553 * international/uni-comment.el:
20554 * international/uni-decimal.el:
20555 * international/uni-decomposition.el:
20556 * international/uni-digit.el:
20557 * international/uni-lowercase.el:
20558 * international/uni-mirrored.el:
20559 * international/uni-name.el:
20560 * international/uni-numeric.el:
20561 * international/uni-old-name.el:
20562 * international/uni-titlecase.el:
20563 * international/uni-uppercase.el: Regenerate.
20564
20565 * loadup.el: Load international/charprop.el before
20566 international/characters.
20567
20568 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20569
20570 * window.el (next-buffer, previous-buffer): Signal an error if
20571 called from a minibuffer window.
20572
20573 * bindings.el: Revert 2011-07-04 change.
20574
20575 2011-07-06 Richard Stallman <rms@gnu.org>
20576
20577 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20578 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20579 Treat markers like ints.
20580 (rmail-mime-entity): Doc fix.
20581
20582 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20583
20584 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20585 defcustom again for backwards compatibility.
20586
20587 * simple.el (shell-command-on-region): Fill.
20588
20589 * dired-aux.el (dired-kill-line): Add a doc string.
20590
20591 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20592 to "\\sw\\|\\s_" (bug#358).
20593
20594 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20595 (dired-unmark-backward): Ditto.
20596 (dired-flag-backup-files): Ditto.
20597
20598 * dired-x.el (dired-mark-sexp): Ditto.
20599
20600 2011-07-06 Richard Stallman <rms@gnu.org>
20601
20602 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20603 (rmail-mime-entity): New arg TRUNCATED.
20604 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20605 New functions.
20606 (rmail-mime-save): Warn if entity is truncated.
20607 (rmail-mime-toggle-hidden): Likewise, for showing.
20608 (rmail-mime-process-multipart): Record when an entity is truncated.
20609
20610 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20611 if ENTITY is a string.
20612
20613 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20614
20615 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20616 of faces when `M-C-x'-ing their definitions (bug#8378).
20617 Also clean up the code slightly.
20618
20619 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20620 because that makes the colors go away.
20621
20622 * mail/sendmail.el (send-mail-function): Change the default to
20623 `sendmail-query-once'.
20624 (sendmail-query-once): Add an autoload cookie.
20625
20626 * net/network-stream.el (network-stream-open-starttls): Try using
20627 a plain connection even if the server offered STARTTLS, and we
20628 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20629 capability. This should make smtpmail.el work in slightly more
20630 configurations.
20631
20632 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20633
20634 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20635 New defun.
20636 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20637
20638 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20639
20640 * progmodes/sql.el: Version 3.0
20641 (sql-product-alist): Add product :completion-object,
20642 :completion-column, and :statement attributes.
20643 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20644 (sql-mode-syntax-table): Mark all punctuation.
20645 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20646 ansi keywords.
20647 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20648 (sql-mode-oracle-font-lock-keywords): Improve.
20649 (sql-oracle-show-reserved-words): New function for development.
20650 (sql-product-font-lock): Simplify for source code buffers.
20651 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20652 New functions.
20653 (sql-highlight-product): Set product specific syntax table.
20654 (sql-mode-map): Add statement movement functions.
20655 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20656 New variable.
20657 (sql-statement-regexp, sql-beginning-of-statement)
20658 (sql-end-of-statement, sql-signum): New functions.
20659 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20660 (sql-show-sqli-buffer): Bug fix.
20661 (sql-interactive-mode): Store connection data as buffer local.
20662 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20663 with sql-interactive-mode.
20664 (sql-save-connection): Save buffer local settings.
20665 (sql-connection-menu-filter): Change menu entry name.
20666 (sql-product-interactive): Bug fix.
20667 (sql-preoutput-hold): New variable.
20668 (sql-interactive-remove-continuation-prompt): Bug fixes.
20669 (sql-debug-redirect): New variable.
20670 (sql-str-literal): New function.
20671 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20672 Redesign.
20673 (sql-oracle-save-settings, sql-oracle-restore-settings)
20674 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20675 (sql-completion-object, sql-completion-column)
20676 (sql-completion-sqlbuf): New variables.
20677 (sql-build-completions-1, sql-build-completions)
20678 (sql-try-completion): New functions.
20679 (sql-read-table-name): Use them.
20680 (sql-contains-names): New buffer local variable.
20681 (sql-list-all, sql-list-table): Use it.
20682 (sql-oracle-completion-types): New variable.
20683 (sql-oracle-completion-object, sql-sqlite-completion-object)
20684 (sql-postgres-completion-object): New functions.
20685
20686 2011-07-06 Glenn Morris <rgm@gnu.org>
20687
20688 * window.el (pop-to-buffer): Doc fix.
20689
20690 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20691
20692 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20693
20694 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20695
20696 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20697
20698 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20699
20700 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20701
20702 * button.el (button): Inherit from link face. Suggested by Dan
20703 Nicolaescu.
20704
20705 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20706
20707 * progmodes/gdb-mi.el: Fit in 80 columns.
20708 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20709 switch-to-buffer.
20710
20711 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20712 if imenu is simply not configured (bug#8941).
20713
20714 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20715
20716 * allout.el (allout-post-undo-hook): New allout outline-change
20717 event hook to signal undo activity.
20718 (allout-post-command-business): Run allout-post-undo-hook if an
20719 undo just occurred.
20720 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20721 * allout-widgets.el (allout-widgets-after-undo-function):
20722 Ensure the integrity of the current item's decoration after it has been
20723 in the vicinity of an undo.
20724 (allout-widgets-mode): Include allout-widgets-after-undo-function
20725 on the new allout-post-undo-hook.
20726
20727 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20728
20729 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20730 Let define-derived-mode define it.
20731 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20732 cycles of abbrev-table inheritance (bug#8998).
20733
20734 2011-07-05 Roland Winkler <winkler@gnu.org>
20735
20736 * textmodes/bibtex.el: Add support for biblatex.
20737 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20738 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20739 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20740 (bibtex-entry-alist, bibtex-field-alist): New variables.
20741 (bibtex-entry-field-alist): Obsolete alias for
20742 bibtex-BibTeX-entry-alist.
20743 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20744 (bibtex-set-dialect): New command.
20745 (bibtex-entry-type, bibtex-entry-head)
20746 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20747 Bind via bibtex-set-dialect.
20748 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20749 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20750 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20751 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20752 Define via bibtex-set-dialect.
20753 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20754 Obey bibtex-no-opt-remove-re.
20755 (bibtex-vec-push, bibtex-vec-incr): New functions.
20756 (bibtex-format-entry, bibtex-field-list)
20757 (bibtex-print-help-message, bibtex-validate)
20758 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20759
20760 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20761
20762 * progmodes/compile.el (compilation-goto-locus):
20763 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20764 * bs.el (bs-cycle-next, bs-cycle-previous):
20765 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20766 * bindings.el (mode-line-other-buffer):
20767 * autoinsert.el (auto-insert):
20768 * arc-mode.el (archive-extract):
20769 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20770
20771 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20772
20773 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20774 Fix check of `emacs-lock-unlockable-modes'.
20775 Coerce true values of `emacs-lock--try-unlocking' to t.
20776
20777 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20778
20779 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20780 * emacs-lock.el: New file.
20781
20782 2011-07-05 Julien Danjou <julien@danjou.info>
20783
20784 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20785 than `boundp' to check if face is set.
20786
20787 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20788
20789 * register.el (registerv-make):
20790 * window.el (window-min-height): Fix typos in docstrings.
20791
20792 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20793
20794 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20795 Update doc string.
20796
20797 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20798
20799 * server.el (server-execute): Catch quit and call
20800 `server-return-error' to pass the error back to emacsclient and
20801 close the connection (bug#8942).
20802
20803 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20804
20805 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20806 insecure exception for current topic. Also note that auto-saves
20807 are handled differently.
20808
20809 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20810 State variables for tracking auto-save inhibition situation.
20811
20812 (allout-write-contents-hook-handler): Rename from
20813 'allout-write-file-hook-handler', and describe how it depends on
20814 write-contents-functions sensitivity to non-nil value to prevent
20815 file write.
20816
20817 (allout-auto-save-hook-handler): Remove. auto-save does not check
20818 this in individual buffers, only in the starting buffer, so this
20819 is not the right way for us to inhibit auto-save in a buffer
20820 according to its condition.
20821
20822 (allout-mode): Use new allout-write-contents-hook-handler, and
20823 only with write-contents-functions. Remove auto-save provisions -
20824 they're implemented elsewhere.
20825
20826 (allout-before-change-handler): If undo is in progress, note that
20827 for attention of allout-post-command-business.
20828
20829 (allout-post-command-business): If the command we're following was
20830 an undo, check for change in the status of encrypted items and
20831 adjust auto-save inhibitions accordingly.
20832
20833 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20834 according to whether there are or aren't any plain-text topics
20835 pending encryption.
20836
20837 (allout-inhibit-auto-save-info-for-decryption):
20838 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20839 if there are plain-text topics pending encryption.
20840
20841 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20842 buffer-saved-size and some allout state to not inhibit auto-saves
20843 if there are no longer any plain-text topics pending encryption.
20844
20845 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20846 No longer provide for exemption of the current topic.
20847
20848 2011-07-04 Juri Linkov <juri@jurta.org>
20849
20850 Add 7z operations to delete and save changed members (bug#8968).
20851 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20852 New defcustoms.
20853 (archive-7z-write-file-member): New function.
20854 (archive-7z-summarize): Fix the number of dashes in the
20855 listing output.
20856
20857 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20858
20859 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20860 (bug#8958).
20861
20862 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20863
20864 * bindings.el: Ignore next-buffer and previous-buffer in
20865 minibuffer-local-map.
20866
20867 * font-lock.el (font-lock-builtin-face): Change light background
20868 color to dark slate blue (Bug#6693).
20869
20870 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20871
20872 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20873
20874 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20875
20876 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20877 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20878 Add switch-to-buffer.
20879
20880 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20881
20882 * isearch.el (isearch-search-fun-function): Clarify further the
20883 meaning of the function returned.
20884
20885 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20886
20887 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20888
20889 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20890 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20891 Use it.
20892 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20893 `tramp-default-remote-path' does not exist.
20894 (tramp-send-command-and-read): New optional argument NOERROR.
20895 (tramp-open-connection-setup-interactive-shell)
20896 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20897 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20898 (tramp-process-sentinel): Flush also process' connection property.
20899 (tramp-sh-handle-start-file-process): Do not set process
20900 sentinel. It is done now ...
20901 (tramp-maybe-open-connection): ... here. (Bug#8929)
20902
20903 2011-07-04 MON KEY <monkey@sandpframing.com>
20904
20905 * play/animate.el (animate-string): Doc fixes and allow changing
20906 the buffer name (bug#5417).
20907
20908 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20909
20910 * play/animate.el (animation-buffer-name): Rename from *animate*.
20911
20912 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20913
20914 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20915 This is simpler and helps future-proof the code.
20916 (timer-until): Use time-subtract and float-time.
20917 (timer--time-less-p): Use time-less-p.
20918
20919 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20920
20921 * type-break.el (timep): Use the value of `float-time' to avoid a
20922 byte-compiler warning.
20923
20924 * server.el (server-eval-and-print): Return any result, even nil.
20925
20926 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20927
20928 * type-break.el: Accept time formats that the builtins accept.
20929 (timep, type-break-time-difference): Accept any format that
20930 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20931 This is simpler and helps future-proof the code.
20932 (type-break-time-difference): Round rather than ignoring
20933 subseconds components.
20934
20935 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20936
20937 * info.el (Info-apropos-matches): Make non-interactive, since it
20938 doesn't seem to do anything useful as a command (bug#8829).
20939
20940 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20941
20942 * frame.el (frame-background-mode, frame-set-background-mode):
20943 Move from faces.el.
20944 (frame-default-terminal-background): New function.
20945
20946 * custom.el (custom-push-theme): Don't record faces in `changed'
20947 theme; this doesn't work correctly for per-frame face settings.
20948 (disable-theme): Use face-set-after-frame-default to reset faces.
20949 (custom--frame-color-default): New function.
20950
20951 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20952
20953 * dired.el (dired-flagging-regexp): Remove unused variable
20954 (bug#8769).
20955
20956 2011-03-29 Kevin Ryde <user42@zip.com.au>
20957
20958 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20959 `perl-Test2' extend to match possible "fail #N" rep count
20960 (bug#8377).
20961
20962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20963
20964 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20965 `smtpmail-via-smtp' now returns the error instead of nil.
20966
20967 * isearch.el (isearch-search-fun-function): Clarify the doc string
20968 (bug#8101).
20969
20970 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20971
20972 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20973 unnecessary spaces (bug#8987).
20974
20975 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20976
20977 * net/network-stream.el (open-network-stream): Use the
20978 :end-of-capability command thoughout.
20979
20980 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20981
20982 * net/network-stream.el (open-network-stream): Add the
20983 :end-of-capability command parameter, used by pop3.el.
20984
20985 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20986
20987 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20988
20989 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20990 for list)" (bug#6475).
20991
20992 * files.el (file-expand-wildcards): Ignore non-readable
20993 sub-directories while trying to find matches instead of signaling
20994 an error (bug#6297).
20995
20996 * man.el (Man-reference-regexp): Allow matching possible
20997 word-wrapped references (bug#6289).
20998
20999 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21000 for consistency with the other vc buffers (bug#6197).
21001 (vc-checkin): Ditto.
21002
21003 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21004
21005 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21006
21007 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21008
21009 * custom.el (defcustom): Clarify that :set is only used in the
21010 Customize user interface (bug#6089).
21011
21012 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21013 associated with a file, refuse to run instead of erroring out
21014 (bug#6084).
21015
21016 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21017 the doc string, since it appears that using `fill-column' always
21018 controls the width (bug#7845).
21019
21020 * simple.el (shell-command-on-region): Say where the error output
21021 went if `shell-command-default-error-buffer' is set (bug#6857).
21022
21023 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21024
21025 * allout.el (allout-yank-processing): Adjust cursor position for
21026 backwards-deleted space.
21027
21028 (allout-rebullet-heading): Register changes with
21029 allout-exposure-changed-hook, so the modified topic is properly
21030 decorated.
21031
21032 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21033
21034 * minibuffer.el (completion-in-region): Document PREDICATE
21035 (bug#7136).
21036
21037 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21038 of keyword/argument pairs (bug#6904).
21039
21040 * replace.el (multi-occur):
21041 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21042
21043 2011-07-02 Drew Adams <drew.adams@oracle.com>
21044
21045 * dired.el (dired-mark-if): Make the message about whether it's
21046 marking or unmarking clearer (bug#8523).
21047
21048 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21049
21050 * disp-table.el (display-table-print-array): New function.
21051 (describe-display-table): Use it to print the vectors more pretty
21052 (Bug#8859).
21053
21054 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21055
21056 * window.el (window-state-get-1): Don't assign clone numbers.
21057 Add clone-of item to list of window parameters.
21058 (window-state-put-2): Don't process clone numbers.
21059 (display-buffer-alist): Fix doc-string.
21060
21061 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21062
21063 * subr.el (remq): Don't allocate if it's not needed.
21064 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21065 (keymap--merge-bindings): New functions.
21066 (keymap-canonicalize): Use them to refine the canonicalization.
21067 * minibuffer.el (minibuffer-local-completion-map)
21068 (minibuffer-local-must-match-map): Move initialization from C.
21069 (minibuffer-local-filename-completion-map): Move initialization from C;
21070 don't inherit from anything here.
21071 (minibuffer-local-filename-must-match-map): Make obsolete.
21072 (completing-read-default): Use make-composed-keymap to combine
21073 minibuffer-local-filename-completion-map with either
21074 minibuffer-local-must-match-map or
21075 minibuffer-local-filename-completion-map.
21076
21077 2011-07-01 Glenn Morris <rgm@gnu.org>
21078
21079 * type-break.el (type-break-time-sum): Use dolist.
21080
21081 * textmodes/flyspell.el (flyspell-word-search-backward):
21082 Replace CL function.
21083
21084 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21085
21086 * mouse.el (mouse--strip-first-event): New function.
21087 (function-key-map): Use it to map fringe clicks to normal clicks
21088 by default.
21089
21090 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21091 (vc-bzr-revision-completion-table): Add support for annotate and date.
21092
21093 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21094 inherit from parent.
21095
21096 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21097
21098 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21099 (dired-show-file-type): Doc fixup (bug#8818).
21100
21101 * dired.el (dired-mode): Fix up the doc string as suggested by
21102 Drew Adams (bug#8817).
21103
21104 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21105 cookie, since the manual says that it should be possible to add
21106 this function to `find-file-hook' (bug#8709).
21107
21108 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21109
21110 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21111 here. Noted Ted Zlatanov as the maintainer.
21112 (cfengine-common-settings, cfengine-common-syntax): New functions
21113 to set up common things between `cfengine-mode' and
21114 `cfengine3-mode'.
21115 (cfengine3-mode): New mode.
21116 (cfengine3-defuns cfengine3-defuns-regex
21117 (cfengine3-class-selector-regex cfengine3-category-regex)
21118 (cfengine3-vartypes cfengine3-font-lock-keywords)
21119 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21120 (cfengine3-indent-line): Add from cfengine3.el.
21121
21122 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21123
21124 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21125
21126 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21127
21128 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21129
21130 * window.el (same-window-buffer-names, same-window-regexps)
21131 (same-window-p, special-display-frame-alist)
21132 (special-display-popup-frame, special-display-function)
21133 (special-display-buffer-names, special-display-regexps)
21134 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21135 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21136 (split-window-preferred-function, split-height-threshold)
21137 (split-width-threshold, even-window-heights)
21138 (display-buffer-mark-dedicated, window-splittable-p)
21139 (split-window-sensibly, window-safely-shrinkable-p):
21140 Un-obsolete.
21141 (display-buffer): Don't spread args with function specifier
21142 because special-display-popup-frame won't like it.
21143
21144 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21145
21146 Time-stamp simplifications and fixes.
21147 These improve accuracy slightly, and future-proof the code
21148 against some potential changes to current-time format.
21149
21150 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21151 by using time-since and float-time.
21152
21153 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21154 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21155 + NNN microseconds".
21156
21157 * type-break.el (type-break-time-sum): Rewrite using time-add.
21158
21159 * play/hanoi.el (hanoi-current-time-float): Remove.
21160 All uses replaced by float-time.
21161
21162 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21163 This yields a more-accurate answer.
21164 (rng-time-to-float): Remove; no longer needed.
21165
21166 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21167
21168 * calendar/timeclock.el (timeclock-seconds-to-time):
21169 Defalias to seconds-to-time, since they're the same thing.
21170
21171 * emacs-lisp/elp.el (elp-elapsed-time):
21172 * emacs-lisp/benchmark.el (benchmark-elapse):
21173 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21174
21175 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21176
21177 * window.el (bury-buffer): Don't iconify the only frame.
21178 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21179 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21180
21181 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21182
21183 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21184 Add mouse-yank-primary.
21185
21186 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21187
21188 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21189
21190 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21191
21192 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21193 (find-library-name): Use it to find relative load names when provided
21194 absolute file name (bug#8803).
21195
21196 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21197
21198 * textmodes/flyspell.el (flyspell-word): Consider words that
21199 differ only in case as potential doublons (bug#5687).
21200
21201 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21202 Remove two rather uninteresting debugging-like messages to make
21203 debbugs.el more silent.
21204
21205 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21206 a password-like phrase.
21207
21208 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21209
21210 * progmodes/cc-guess.el: New file.
21211
21212 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21213
21214 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21215 derived from `c-basic-common-init'.
21216
21217 * progmodes/cc-mode.el (top-level): Require cc-guess.
21218 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21219
21220 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21221
21222 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21223
21224 2011-06-30 Alan Mackenzie <acm@muc.de>
21225
21226 * progmodes/cc-engine.el (c-guess-continued-construct):
21227 Correct the handling of template-args-cont, particularly for when font
21228 lock is disabled. Name this case as "CASE G".
21229
21230 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21231
21232 * allout.el (allout-yank-processing): Fix injection of extra space
21233 between bullet and non-whitespace character in first topic when
21234 pasting, ensuring that the actual spacing in the pasted topic
21235 following the bullet char is preserved. This extra space was
21236 causing pasted encrypted topics to get a decrypted status even
21237 when the content was actually still encrypted. Now the decryption
21238 status from before the paste is preserved.
21239
21240 (allout-flag-region): Set all allout overlays so they evaporate
21241 when reduced to zero length (evanescent), to prevent overlay
21242 leakage.
21243
21244 2011-06-30 Glenn Morris <rgm@gnu.org>
21245
21246 * w32-fns.el (w32-charset-info-alist): Declare.
21247
21248 * find-dired.el (find-grep-options): Simplify.
21249
21250 * term/ns-win.el (ns-set-resource): Declare.
21251
21252 * ses.el (row, col): Declare dynamic variables honestly.
21253
21254 * textmodes/reftex-parse.el (index-tags): Declare.
21255
21256 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21257
21258 * cus-edit.el (customize-push-and-save): New function.
21259
21260 * files.el (hack-local-variables-confirm): Use it.
21261
21262 * custom.el (load-theme): New arg NO-CONFIRM.
21263 Use customize-push-and-save (Bug#8720).
21264 (custom-enabled-themes): Doc fix.
21265
21266 * cus-theme.el (customize-create-theme)
21267 (custom-theme-merge-theme): Callers to load-theme changed.
21268
21269 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21270
21271 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21272 short URLs have at least one dot in them (bug #7614).
21273
21274 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21275 nil, because using a pty is apparently too slow (bug #895).
21276
21277 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21278
21279 * mail/sendmail.el (sendmail-query-once): New function.
21280 (sendmail-query-once-function): New variable.
21281
21282 2011-06-29 Glenn Morris <rgm@gnu.org>
21283
21284 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21285
21286 * ses.el (top-level): Require cl when compiling.
21287 (ses-set-localvars): Fix error statement.
21288 Call it at compile time to silence a storm of warnings.
21289
21290 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21291
21292 * window.el (normalize-live-buffer): Rename to
21293 window-normalize-buffer.
21294 (normalize-live-frame): Rename to window-normalize-frame.
21295 (normalize-any-window): Rename to window-normalize-any-window.
21296 (normalize-live-window): Rename to window-normalize-live-window.
21297 (make-window-atom): Rename to window-make-atom.
21298 (window-resize-reset): Rename to window--resize-reset.
21299 (window-resize-reset-1): Rename to window--resize-reset-1.
21300 (resize-mini-window): Rename to window--resize-mini-window.
21301 (resize-subwindows-skip-p): Rename to
21302 window--resize-subwindows-skip-p.
21303 (resize-subwindows-normal): Rename to
21304 window--resize-subwindows-normal.
21305 (resize-subwindows): Rename to window--resize-subwindows.
21306 (resize-other-windows): Rename to window--resize-siblings.
21307 (resize-this-window): Rename to window--resize-this-window.
21308 (resize-root-window): Rename to window--resize-root-window.
21309 (resize-root-window-vertically): Rename to
21310 window--resize-root-window-vertically.
21311 (normalize-buffer-to-display): Rename to
21312 window-normalize-buffer-to-display.
21313 (normalize-buffer-to-switch-to): Rename to
21314 window-normalize-buffer-to-switch-to.
21315 Correspondingly update all callers of the functions listed
21316 above.
21317 (display-buffer-alist, display-buffer-normalize-arguments)
21318 (display-buffer-normalize-options, display-buffer)
21319 (display-buffer-alist-set): Use "function" instead of
21320 "fun-with-args".
21321
21322 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21323
21324 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21325 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21326 debbugs.gnu.org. Mention acknowledgment email.
21327
21328 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21329
21330 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21331 buffer multibyteness, since it shouldn't matter.
21332
21333 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21334
21335 * window.el (display-buffer-in-side-window): Handle dedicated
21336 windows as in display-buffer-reuse-window.
21337 (display-buffer-normalize-alist): Use value of override
21338 specifier.
21339 (display-buffer-normalize-specifiers): Use value of
21340 other-window-means-other-frame specifier.
21341 (display-buffer-alist): Rewrite some texts in widgets.
21342 (display-buffer): Spread arguments when calling function
21343 specified by fun-with-args.
21344
21345 2011-06-28 Deniz Dogan <deniz@dogan.se>
21346
21347 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21348 Unnest `let'.
21349
21350 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21351 selectors (Bug#5732).
21352 (css-proprietary-nmstart-re): Use `regexp-opt'.
21353
21354 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21355
21356 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21357 (eshell-ls-date-format): New defcustom.
21358 (eshell-ls-file): Use it.
21359
21360 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21361
21362 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21363
21364 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21365
21366 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21367 (ange-ftp-make-tmp-name): New arg.
21368 (ange-ftp-file-local-copy): Use it.
21369
21370 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21371
21372 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21373 no-conversion (Bug#8870).
21374
21375 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21376
21377 * window.el (window-right, window-left, window-child)
21378 (window-child-count, window-last-child)
21379 (window-iso-combination-p, walk-window-tree-1)
21380 (window-atom-check-1, window-tree-1, delete-window)
21381 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21382 new naming conventions - window-vchild, window-hchild,
21383 window-next and window-prev are now called window-top-child,
21384 window-left-child, window-next-sibling and window-prev-sibling
21385 respectively.
21386 (resize-window-reset): Rename to window-resize-reset.
21387 (resize-window-reset-1): Rename to window-resize-reset-1.
21388 (resize-window): Rename to window-resize.
21389 (window-min-height, window-min-width)
21390 (resize-mini-window, resize-this-window, resize-root-window)
21391 (resize-root-window-vertically, adjust-window-trailing-edge)
21392 (enlarge-window, shrink-window, maximize-window)
21393 (minimize-window, delete-window, quit-restore-window)
21394 (split-window, balance-windows, balance-windows-area-adjust)
21395 (balance-windows-area, window-state-put-2)
21396 (display-buffer-even-window-sizes, display-buffer-set-height)
21397 (display-buffer-set-width, set-window-text-height)
21398 (fit-window-to-buffer): Rename all "resize-window" prefixed
21399 calls to use the "window-resize" prefix convention.
21400 (display-buffer-alist): Fix symbol for label specifier.
21401 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21402 corresponding specifier.
21403 Reported by Juanma Barranquero <lekktu@gmail.com>.
21404
21405 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21406
21407 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21408 convention.
21409 (ses-call-printer): Does not pass an empty string to formatter when the
21410 cell is empty to keep from barking printer Calc math-format-value.
21411
21412 2011-06-27 Richard Stallman <rms@gnu.org>
21413
21414 * battery.el (battery-mode-line-limit): New variable.
21415 (battery-update): Handle it.
21416
21417 * mail/rmailmm.el (rmail-mime-process-multipart):
21418 Handle truncated messages.
21419
21420 2011-06-27 Glenn Morris <rgm@gnu.org>
21421
21422 * progmodes/flymake.el (flymake-err-line-patterns):
21423 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21424
21425 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21426
21427 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21428 (ses--clean-!, ses--clean-_): New functions.
21429 (ses-range): Add configurability of readout order, and conversion
21430 to Calc vector.
21431
21432 * ses.el (ses-repair-cell-reference-all): New function.
21433 (ses-cell-symbol): Set macro as safe, so that it can be used in
21434 formulas.
21435
21436 * ses.el: Update cycle detection algorithm.
21437 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21438 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21439 (ses-set-localvars): New function.
21440 (ses-make-cell): Add property-list as a cell element.
21441 (ses-cell-property-get-fun, ses-cell-property-get)
21442 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21443 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21444 New functions.
21445 (ses-cell-property-set, ses-cell-property-pop)
21446 (ses-cell-property-get-handle): New macro.
21447 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21448 New aliases, used for code readability.
21449 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21450 cycle detection.
21451 (ses-self-reference-early-detection): New defcustom.
21452 (ses-formula-references): Robustify against self-referring cells.
21453 (ses-mode): Use ses-set-localvars.
21454 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21455 before lauching the update processing.
21456 (ses-initialize-Dijkstra-attempt): New function.
21457 (ses-recalculate-cell): Update for cycle detection based on
21458 Dijkstra algorithm.
21459
21460 * ses.el: Fix commenting and indenting convention.
21461
21462 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21463
21464 * bs.el (bs-cycle-next): Complete last change.
21465
21466 2011-06-27 Drew Adams <drew.adams@oracle.com>
21467
21468 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21469
21470 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21471
21472 * net/network-stream.el (network-stream-open-starttls):
21473 Don't re-get capabilities unless we've reestablished connection.
21474 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21475
21476 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21477 to binary to possibly avoid line encoding issues on Windows (among
21478 other things).
21479
21480 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21481
21482 * net/network-stream.el (open-network-stream): Return an :error
21483 saying what the problem was, if possible.
21484
21485 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21486 server.
21487
21488 * net/network-stream.el (network-stream-open-starttls): If we
21489 wanted to use STARTTLS, and the server offered it, but we weren't
21490 able to because we had no STARTTLS support, then close the connection.
21491 (open-network-stream): Return an :error element, if present.
21492
21493 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21494
21495 * hl-line.el (hl-line-sticky-flag): Doc fix.
21496 (global-hl-line-sticky-flag): New option (Bug#8323).
21497 (global-hl-line-highlight): Obey it.
21498
21499 * vc/vc.el (vc-revert-show-diff): Default to t.
21500
21501 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21502
21503 * allout-widgets.el (allout-widgets-post-command-business):
21504 Stop decorating intermediate isearch matches. They're not being
21505 undecorated when an isearch is continued past, and isearch
21506 automatically collapses them. This leads to "widget leaks", where
21507 decorated items accumulate in collapsed areas. Lines with lots of
21508 hidden widgets can slow down cursor travel, substantially.
21509 Too much complicated machinery would be needed to ensure undecoration,
21510 so we're doing without this nicety.
21511
21512 (allout-widgets-tally-string): Don't try to do a hash-table-count
21513 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21514 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21515 *Messages* when allout-widgets-maintain-tally is t.
21516
21517 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21518
21519 * window.el (display-buffer-normalize-argument): Rename to
21520 display-buffer-normalize-arguments. Handle special meaning of
21521 LABEL argument. Respect special-display-function when popping up
21522 a new frame. Fix code searching for a window showing the buffer
21523 on another frame.
21524 (display-buffer-normalize-specifiers):
21525 Call display-buffer-normalize-arguments.
21526 (display-buffer-in-window): Don't undedicate the window if its
21527 buffer remains the same.
21528 Reported by Drew Adams <drew.adams@oracle.com>.
21529 (display-buffer-alist): Add choice for same-window macro
21530 specfier.
21531 (display-buffer): Mention special meaning of LABEL argument in
21532 doc-string. Fix quoting. Don't pop up a new frame even as
21533 fallback.
21534
21535 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21536
21537 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21538 avoid deleting the current window in some cases (bug#8911).
21539
21540 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21541
21542 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21543 (Bug#8934)
21544
21545 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21546
21547 * net/network-stream.el (network-stream-open-starttls):
21548 Use built-in TLS support if `gnutls-available-p' is true.
21549 (network-stream-open-tls): Ditto.
21550
21551 2011-06-26 Leo Liu <sdl.web@gmail.com>
21552
21553 * register.el (registerv): New struct.
21554 (registerv-make): New function.
21555 (jump-to-register, describe-register-1, insert-register):
21556 Support the jump-func, print-func and insert-func slot of a registerv
21557 struct. (Bug#8415)
21558
21559 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21560
21561 * vc/vc.el (vc-revert-show-diff): New defcustom.
21562 (vc-diff-internal): New arg specifying diff buffer.
21563 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21564 reuse an existing *vc-diff* buffer (Bug#8927).
21565
21566 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21567
21568 2011-06-26 Glenn Morris <rgm@gnu.org>
21569
21570 * progmodes/f90.el (f90-critical-indent): New option.
21571 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21572 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21573 (f90-mode): Doc fix.
21574 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21575 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21576 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21577 (f90-match-end): Handle block, critical.
21578
21579 2011-06-25 Glenn Morris <rgm@gnu.org>
21580
21581 * calendar/diary-lib.el (diary-included-files): Doc fix.
21582 (diary-include-files): New function, extracted from
21583 diary-include-other-diary-files and diary-mark-included-diary-files.
21584 (diary-include-other-diary-files, diary-mark-included-diary-files):
21585 Just call diary-include-files.
21586 (diary-mark-entries): Reset diary-included-files on first call.
21587
21588 * calendar/diary-lib.el (diary-mark-entries)
21589 (diary-mark-included-diary-files):
21590 Visit included diary-files in temp buffers.
21591
21592 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21593 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21594 (f90-start-block-re, f90-imenu-generic-expression)
21595 (f90-looking-at-program-block-start, f90-no-block-limit):
21596 Add support for submodules.
21597
21598 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21599 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21600
21601 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21602
21603 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21604 buffer-file-type before setting its value, to avoid disastrous
21605 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21606
21607 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21608
21609 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21610
21611 * ses.el (ses-unload-function):
21612 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21613
21614 * proced.el (proced-unload-function):
21615 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21616
21617 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21618
21619 * server.el (server-create-window-system-frame): Add parameters arg.
21620 (server-process-filter): Doc fix. Handle frame-parameters.
21621
21622 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21623
21624 Fix bug#8730, bug#8781.
21625
21626 * loadhist.el (unload--set-major-mode): New function.
21627 (unload-feature): Use it.
21628
21629 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21630 (python-unload-function): New function.
21631
21632 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21633
21634 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21635
21636 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21637
21638 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21639 the candidates list.
21640
21641 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21642
21643 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21644
21645 2011-06-23 Richard Stallman <rms@gnu.org>
21646
21647 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21648 (rmail-variables): Set next-error-move-function.
21649 (rmail-what-message): Take argument POS.
21650 (rmail-next-error-move): New function.
21651
21652 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21653
21654 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21655 messages for adjacent non-terminals.
21656
21657 2011-06-23 Richard Stallman <rms@gnu.org>
21658
21659 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21660 (rmail-show-message-1): Preserve buffer modified flag.
21661 (rmail-start-mail): Don't specify use of rmail-mail-return;
21662 that's done by mail-bury now.
21663 (rmail-mail-return): Handle arg NEWBUF.
21664
21665 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21666
21667 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21668 SIZE is a number.
21669
21670 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21671
21672 * window.el (get-lru-window, get-mru-window)
21673 (get-largest-window): Never return a minibuffer window.
21674 (display-buffer-pop-up-window): Fix a bug that could lead to
21675 reusing the minibuffer window.
21676 (display-buffer): Pass original specifier argument to
21677 display-buffer-function instead of the normalized one.
21678 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21679
21680 2011-06-22 Leo Liu <sdl.web@gmail.com>
21681
21682 * minibuffer.el (completing-read-function)
21683 (completing-read-default): Move from minibuf.c.
21684
21685 2011-06-22 Richard Stallman <rms@gnu.org>
21686
21687 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21688 to Rmail even if not started by a special Rmail command.
21689
21690 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21691 Copy the buffer currently showing just one message.
21692
21693 2011-06-22 Roland Winkler <winkler@gnu.org>
21694
21695 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21696 (bibtex-clean-entry): First delete the old key so that a
21697 customized algorithm for generating the new key does not get
21698 confused by the old key.
21699 (bibtex-url): Obey regexp of first step.
21700 (bibtex-search-entries): Do not use add-to-list with local
21701 list-var.
21702
21703 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21704
21705 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21706 stored a user name, then query for the password first, instead of
21707 waiting for SMTP to give an error message and the trying again.
21708
21709 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21710
21711 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21712 BUFFER in call-process.
21713
21714 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21715
21716 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21717 QUIT twice.
21718 (smtpmail-try-auth-methods): Require user name and password from
21719 auth-source.
21720
21721 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21722
21723 * window.el (display-buffer-default-specifiers)
21724 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21725 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21726 (split-window): Normalize SIDE argument (Bug#8916).
21727
21728 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21729 (special-display-frame-alist, special-display-popup-frame):
21730 Remove duplicate declarations. These are now in window.el.
21731
21732 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21733
21734 * mail/smtpmail.el (smtpmail-via-smtp):
21735 Set :use-starttls-if-possible so that we always use STARTTLS if the
21736 server supports it. SMTP servers that support STARTTLS commonly
21737 require it.
21738
21739 * net/network-stream.el (network-stream-open-starttls): Support
21740 upgrading to STARTTLS always, even if we don't have built-in support.
21741 (open-network-stream): Add the :always-query-capabilities keyword.
21742
21743 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21744 upgrades with `open-network-stream', and rely solely on
21745 auth-source for all credentials. Big changes throughout the file,
21746 but in particular:
21747 (smtpmail-auth-credentials): Remove.
21748 (smtpmail-starttls-credentials): Remove.
21749 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21750 MAIL FROM, too.
21751
21752 * net/network-stream.el (network-stream-open-starttls):
21753 Provide support for client certificates both for external and built-in
21754 STARTTLS.
21755 (auth-source): Require.
21756 (open-network-stream): Document the :client-certificate keyword.
21757 (network-stream-certificate): Change cert-cert to cert and
21758 cert-key to key.
21759
21760 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21761
21762 * net/tramp-cache.el (top): Don't load the persistency file when
21763 "emacs -Q" has been called.
21764
21765 2011-06-21 Tim Harper <timcharper@gmail.com>
21766
21767 * term/ns-win.el (ns-initialize-window-system):
21768 Set application-specific `ApplePressAndHoldEnabled' system
21769 resource to NO as it is not yet supported by the NS port.
21770
21771 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21772
21773 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21774 (list-dynamic-libraries): ...not here.
21775
21776 2011-06-21 Leo Liu <sdl.web@gmail.com>
21777
21778 * subr.el (sha1): Implement sha1 using secure-hash.
21779
21780 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21781
21782 * window.el (display-buffer-alist): In default value do not
21783 enforce searching a window on any but the selected frame.
21784 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21785 (display-buffer-select-window): Remove function.
21786 (display-buffer-in-window): When a window on another frame gets
21787 reused, do not select it any more but just raise its frame if
21788 necessary (Bug#8851) and (Bug#8856).
21789 (display-buffer-normalize-options): Handle pop-up-frames related
21790 options more faithfully.
21791 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21792 window if it is on another frame.
21793 (display-buffer-alist, display-buffer-default-specifiers):
21794 Don't make new frame unsplittable by default.
21795 (display-buffer-normalize-argument): Fix doc-string typo and use
21796 'same-frame-other-window instead of 'other-window when associating
21797 with display-buffer-macro-specifiers.
21798
21799 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21800
21801 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21802 New functions.
21803 (5x5-mode-map, 5x5-mode-menu): Bind them.
21804 (5x5-draw-grid): Tweak the solver's rendering.
21805
21806 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21807
21808 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21809 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21810
21811 2011-06-21 Drew Adams <drew.adams@oracle.com>
21812
21813 * menu-bar.el: Use function variable instead of switch-to-buffer.
21814 (menu-bar-select-buffer-function): New variable.
21815 (menu-bar-update-buffers): Use it (bug#8876).
21816
21817 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21818
21819 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21820 variable's status.
21821
21822 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21823
21824 * x-dnd.el (x-dnd-version-from-flags)
21825 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21826 and long as number (Bug#8899).
21827 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21828
21829 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21830
21831 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21832 (completion-try-completion, completion-all-completions): Compute the
21833 metadata argument if it's missing; make it optional (bug#8795).
21834
21835 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21836 (widget-complete): Use new :completion-function property.
21837 (widget-completions-at-point): New function.
21838 (default): Use :completion-function instead of :complete.
21839 (widget-default-completions): Rename from widget-default-complete;
21840 Rewrite.
21841 (widget-string-complete, widget-file-complete, widget-color-complete):
21842 Remove functions.
21843 (file, symbol, function, variable, coding-system, color):
21844 * international/mule-cmds.el (default-input-method, charset)
21845 (language-info-custom-alist):
21846 * cus-edit.el (face): Use new property :completions.
21847
21848 * progmodes/pascal.el (pascal-completions-at-point): New function.
21849 (pascal-mode): Use it.
21850 (pascal-mode-map): Use completion-at-point.
21851 (pascal-toggle-completions): Make obsolete.
21852 (pascal-complete-word, pascal-show-completions):
21853 * progmodes/octave-mod.el (octave-complete-symbol):
21854 Redefine as obsolete alias.
21855 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21856 Signal absence of completion info for old Octave,
21857 (inferior-octave-complete): Redefine as obsolete alias.
21858 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21859 (meta-completions-at-point): Rename from meta-complete-symbol and
21860 adapt it for use on completion-at-point-functions.
21861 (meta-common-mode): Use it.
21862 (meta-looking-at-backward, meta-match-buffer): Remove.
21863 (meta-complete-symbol): Redefine as obsolete alias.
21864 (meta-common-mode-map): Use completion-at-point.
21865 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21866 (makefile-mode-map): Use completion-at-point.
21867 (makefile-completions-at-point): Rename from makefile-complete and
21868 adapt it for use on completion-at-point-functions.
21869 (makefile-mode): Use it.
21870 (makefile-complete): Redefine as obsolete alias.
21871
21872 2011-06-20 Deniz Dogan <deniz@dogan.se>
21873
21874 * net/rcirc.el: Delete trailing whitespaces once and for all.
21875
21876 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21877
21878 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21879
21880 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21881
21882 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21883
21884 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21885
21886 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21887
21888 * window.el (display-buffer-other-window-means-other-frame):
21889 Call display-buffer-normalize-alist.
21890 (display-buffer-normalize-specifiers-1): Rename to
21891 display-buffer-normalize-argument. New argument other-frame.
21892 Rewrite.
21893 (display-buffer-normalize-specifiers-2): Rename to
21894 display-buffer-normalize-options.
21895 (display-buffer-normalize-alist-1): New function.
21896 (display-buffer-normalize-specifiers-3): Rename to
21897 display-buffer-normalize-alist.
21898 Call display-buffer-normalize-alist-1.
21899 (display-buffer-normalize-options-inhibit): New variable.
21900 (display-buffer-normalize-specifiers): Rewrite calling
21901 display-buffer-normalize-alist,
21902 display-buffer-normalize-argument, and
21903 display-buffer-normalize-options. Don't call the latter if
21904 display-buffer-normalize-options-inhibit is non-nil.
21905 (frame-auto-delete): New option.
21906 (window-deletable-p): Use frame-auto-delete.
21907 (window-list-no-nils, window-state-ignored-parameters)
21908 (window-state-get-1, window-state-get, window-state-put-list)
21909 (window-state-put-1, window-state-put-2, window-state-put):
21910 New functions.
21911 (display-buffer-normalize-options): Move special-display-p group
21912 after pop-up-frame group (Bug#8851) and (Bug#8856).
21913
21914 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21915
21916 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21917 groups (Bug#8776).
21918 (rx-submatch-n): New function.
21919 (rx): Document it.
21920
21921 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21922 (Bug#8768).
21923
21924 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21925
21926 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21927
21928 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21929 anytime existing face settings are present (Bug#8889).
21930
21931 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21932 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21933 Remove unused argument.
21934
21935 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21936
21937 * window.el (display-buffer-default-specifiers):
21938 Remove pop-up-frame. Add pop-up-window-min-height,
21939 pop-up-window-min-width, and another reuse-window specifier
21940 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21941 (display-buffer-normalize-specifiers-2):
21942 Handle split-height-threshold and split-width-threshold also when
21943 pop-up-windows is unset. Add a reuse-window specifier for the
21944 case popping up a new window fails.
21945 (special-display-popup-frame): Remove double quoting.
21946 (display-buffer-normalize-specifiers-1): Fix thinko.
21947
21948 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21949
21950 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21951 according to comint-completion-addsuffix.
21952
21953 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21954 (pcomplete-suffix-list): Mark as obsolete.
21955 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21956 pcomplete-seen in the closure.
21957 (pcomplete-comint-setup): Setup completion-at-point as well.
21958 (pcomplete--entries): New function.
21959 (pcomplete--env-regexp): New var.
21960 (pcomplete-entries): Rewrite to work with partial-completion and
21961 without relying on pcomplete-suffix-list.
21962 (pcomplete-pare-list): Remove, unused.
21963
21964 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21965
21966 * window.el (display-buffer-alist): Set pop-up-window-min-height
21967 and pop-up-window-min-width in default value. Reported by
21968 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21969 other-window-means-other-frame.
21970 (display-buffer-macro-specifiers): Comment out entry for
21971 other-window specifier.
21972 (display-buffer-other-window-means-other-frame): New function.
21973 (display-buffer-normalize-specifiers-1): New arguments
21974 buffer-name and label. Treat other-window case specially.
21975 (display-buffer-normalize-specifiers-2): Treat other-window case
21976 specially.
21977 (display-buffer-normalize-specifiers-3): New function.
21978 (display-buffer-normalize-specifiers):
21979 Call display-buffer-normalize-specifiers-3.
21980
21981 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21982
21983 * window.el (same-window-p): Fix two typos introduced when
21984 adding with-no-warnings.
21985 (display-buffer-normalize-specifiers-1): Don't check
21986 pop-up-frames for 'unset initialization.
21987 (display-buffer-normalize-specifiers-2): Major rewrite using
21988 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21989 (pop-up-frames, display-buffer-reuse-frames)
21990 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21991 Suggested by David Engster <deng@randomsample.de>.
21992 (even-window-heights): Initialize to 'unset.
21993 (display-buffer-alist-set): Handle new 'unset initializations.
21994 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21995 other window case.
21996
21997 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21998
21999 * window.el (display-buffer-normalize-specifiers-1):
22000 Respect current value of pop-up-frames for most reasonable values of
22001 second argument of display-buffer (Bug#8865).
22002 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22003 (switch-to-buffer-other-window-same-frame)
22004 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22005 Adams (Bug#8875).
22006 (display-buffer): Don't check noninteractive when calling
22007 display-buffer-pop-up-frame.
22008 (display-buffer-pop-up-frame): Never pop up a frame in
22009 noninteractive mode (Bug#8857).
22010 (enlarge-window, shrink-window): Don't report an error when the
22011 window can't be resized as requested (Bug#8862).
22012
22013 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22014
22015 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22016
22017 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22018
22019 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22020
22021 2011-06-15 Alan Mackenzie <acm@muc.de>
22022
22023 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22024 for declarators, disable knr checking to speed up for normal files.
22025 2: Refactor, replacing a sequence of nested if forms by a cond form.
22026
22027 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22028
22029 * net/network-stream.el (open-network-stream): Add the keyword
22030 :always-query-capabilities for the case where you want to force a
22031 `plain' network connection, but the protocol still requires the
22032 capabilitiy command (i.e., SMTP and EHLO).
22033
22034 * subr.el (process-live-p): Rename from `process-alive-p' for
22035 consistency with other `-live-p' functions.
22036
22037 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22038
22039 * window.el (same-window-buffer-names, same-window-regexps)
22040 (special-display-frame-alist, special-display-popup-frame)
22041 (special-display-function, special-display-buffer-names)
22042 (special-display-regexps, pop-up-frame-alist)
22043 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22044 (pop-up-windows, split-window-preferred-function)
22045 (split-height-threshold, split-width-threshold, even-window-heights)
22046 (display-buffer-mark-dedicated): Don't encourage the use of
22047 display-buffer-alist from Elisp code.
22048
22049 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22050
22051 * progmodes/python.el (python-mode): Derive from prog-mode.
22052 * progmodes/ps-mode.el (ps-mode):
22053 * progmodes/mixal-mode.el (mixal-mode):
22054 * progmodes/cfengine.el (cfengine-mode):
22055 * progmodes/ld-script.el (ld-script-mode): Likewise.
22056
22057 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22058
22059 * window.el (display-buffer-alist): Trim default value to avoid
22060 popping up a new frame (Bug#8857) or reusing an arbitrary window
22061 on another frame.
22062 (display-buffer): Do not fall back on popping up a new frame in
22063 batch mode (Bug#8857).
22064
22065 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22066
22067 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22068 (custom-theme-summary): New function.
22069 (customize-themes): Use it.
22070
22071 2011-06-13 Glenn Morris <rgm@gnu.org>
22072
22073 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22074
22075 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22076
22077 * help.el (help-window): Remove variable.
22078 (help-window-point-marker, temp-buffer-max-height)
22079 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22080 (help-print-return-message): Don't set help-window.
22081 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22082 (help-window-setup-finish): Remove.
22083 (help-window-display-message, help-window-setup)
22084 (with-help-window): Major rewrite based on new
22085 display-buffer-window variable.
22086
22087 * help-mode.el (help-mode-finish): Remove help-window related
22088 code.
22089
22090 * view.el (view-exits-all-viewing-windows): Remove reference to
22091 view-return-to-alist in doc-string.
22092 (view-return-to-alist): Make obsolete.
22093 (view-buffer): Call pop-to-buffer-same-window and remove
22094 undo-window code.
22095 (view-buffer-other-window): Call pop-to-buffer-other-window and
22096 simplify code. Ignore second argument.
22097 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22098 simplify code. Ignore second argument.
22099 (view-return-to-alist-update): Make obsolete.
22100 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22101 Rewrite using quit-restore window parameters.
22102 (view-mode-exit): Rename second argument to EXIT-ONLY.
22103 Rewrite using quit-restore-window.
22104 (View-exit, View-exit-and-edit, View-leave, View-quit)
22105 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22106 appropriate arguments.
22107 (view-end-message): Use quit-restore window parameter.
22108
22109 * window.el (display-buffer-function): Rewrite doc-string.
22110 (display-buffer-window, display-buffer-alist): New variables.
22111 (display-buffer-split-specifiers)
22112 (display-buffer-side-specifiers)
22113 (display-buffer-macro-specifiers): New constants.
22114 (display-buffer-even-window-sizes, display-buffer-set-height)
22115 (display-buffer-set-width, display-buffer-select-window)
22116 (display-buffer-in-window, display-buffer-reuse-window)
22117 (display-buffer-split-window-1, display-buffer-split-window)
22118 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22119 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22120 (display-buffer-in-side-window, normalize-buffer-to-display)
22121 (display-buffer-normalize-specifiers-1)
22122 (display-buffer-normalize-specifiers-2)
22123 (display-buffer-normalize-specifiers, display-buffer-frame):
22124 New functions.
22125 (display-buffer): Major rewrite.
22126 (display-buffer-other-window, display-buffer-other-frame)
22127 (pop-to-buffer, switch-to-buffer-other-window)
22128 (switch-to-buffer-other-frame): Rewrite.
22129 (display-buffer-same-window, display-buffer-same-frame)
22130 (display-buffer-same-frame-other-window)
22131 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22132 (pop-to-buffer-other-window)
22133 (pop-to-buffer-same-frame-other-window)
22134 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22135 (switch-to-buffer-other-window-same-frame): New functions.
22136 (same-window-p, special-display-p): Rewrite disabling warnings.
22137 Make obsolete.
22138 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22139 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22140 Make obsolete
22141 (same-window-buffer-names, same-window-regexps)
22142 (special-display-frame-alist, special-display-popup-frame)
22143 (special-display-function, special-display-buffer-names)
22144 (special-display-regexps, pop-up-frame-alist)
22145 (pop-up-frame-function, split-window-preferred-function)
22146 (split-height-threshold, split-width-threshold)
22147 (even-window-heights): Make obsolete.
22148
22149 2011-06-12 Glenn Morris <rgm@gnu.org>
22150
22151 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22152 Misc simplifications.
22153
22154 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22155
22156 * window.el (window-safely-shrinkable-p): Restore function which
22157 was inadvertently removed in change from 2011-06-11. Declare as
22158 obsolete.
22159
22160 * calendar/calendar.el (calendar-generate-window):
22161 Use window-iso-combined-p instead of combination of one-window-p and
22162 window-safely-shrinkable-p.
22163
22164 2011-06-12 Glenn Morris <rgm@gnu.org>
22165
22166 * progmodes/fortran.el (fortran-mode-syntax-table):
22167 * progmodes/f90.el (f90-mode-syntax-table):
22168 Set % to punctuation. (Bug#8820)
22169 (f90-find-tag-default): Remove, no longer needed.
22170
22171 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22172
22173 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22174
22175 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22176
22177 * image.el (image-animated-p): Return animation delay in seconds.
22178 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22179 (image-animate-timeout): Remove DELAY argument. Don't assume
22180 every subimage has the same delay; get it from image-animated-p.
22181 (image-animate): Caller changed.
22182
22183 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22184
22185 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22186 to ignored backtrace functions.
22187
22188 2011-06-11 Glenn Morris <rgm@gnu.org>
22189
22190 * calendar/appt.el (appt-disp-window-function): Doc fix.
22191 (appt-check): Handle overlapping appointments. (Bug#8337)
22192
22193 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22194
22195 * window.el (window-tree-1, window-tree): New functions, moving
22196 the latter to window.el.
22197 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22198 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22199 (bw-refresh-edges): Remove.
22200 (balance-windows-1, balance-windows-2): New functions.
22201 (balance-windows): Rewrite in terms of window tree functions,
22202 balance-windows-1 and balance-windows-2.
22203 (bw-adjust-window): Remove.
22204 (balance-windows-area-adjust): New function with functionality of
22205 bw-adjust-window but using resize-window.
22206 (set-window-text-height): Rewrite doc-string.
22207 Use normalize-live-window and resize-window.
22208 (enlarge-window-horizontally, shrink-window-horizontally):
22209 Rename argument to DELTA.
22210 (window-buffer-height): New function.
22211 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22212 Rewrite using new window resize routines.
22213 (kill-buffer-and-window, mouse-autoselect-window-select):
22214 Use ignore-errors instead of condition-case.
22215 (quit-window): Call delete-frame instead of delete-windows-on
22216 for the only buffer on frame.
22217
22218 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22219
22220 * loadup.el (top-level): Load window before files for the sake
22221 of replace-buffer-in-windows.
22222
22223 * files.el (read-buffer-to-switch)
22224 (switch-to-buffer-other-window)
22225 (switch-to-buffer-other-frame, display-buffer-other-frame):
22226 Move to window.el.
22227
22228 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22229 (previous-buffer): Move to window.el.
22230
22231 * bindings.el (unbury-buffer): Move to window.el.
22232
22233 * window.el (delete-other-windows-vertically): Move after
22234 definition of delete-other-windows.
22235 (other-window, delete-windows-on, replace-buffer-in-windows):
22236 Move here from window.c.
22237 (record-window-buffer, unrecord-window-buffer)
22238 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22239 (switch-to-next-buffer): New functions.
22240 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22241 from simple.el. Call switch-to-next-buffer.
22242 (previous-buffer): Move here from simple.el.
22243 Call switch-to-prev-buffer.
22244 (bury-buffer): Move here from buffer.c. Switch to previous
22245 buffer when window cannot be deleted.
22246 (unbury-buffer): Move here from bindings.el.
22247 (ctl-x-map): Move binding for other-window from window.c to
22248 here.
22249 (read-buffer-to-switch, switch-to-buffer-other-window)
22250 (switch-to-buffer-other-frame): Move here from files.el.
22251 (normalize-buffer-to-switch-to): New functions.
22252 (switch-to-buffer): Move here from buffer.c.
22253 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22254
22255 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22256
22257 * window.el (window-min-height, window-min-width): Move here
22258 from window.c. Add defcustoms and rewrite doc-strings.
22259 (resize-mini-window, resize-window): New functions.
22260 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22261 Move here from window.c.
22262 (maximize-window, minimize-window): New functions.
22263 (delete-window, delete-other-windows, split-window): Move here
22264 from window.c.
22265 (window-split-min-size): New function.
22266 (split-window-keep-point): Mention split-window-above-each-other
22267 instead of split-window-vertically.
22268 (split-window-above-each-other, split-window-vertically):
22269 Rename split-window-vertically to split-window-above-each-other
22270 and provide defalias for old definition.
22271 (split-window-side-by-side, split-window-horizontally):
22272 Rename split-window-horizontally to split-window-side-by-side
22273 and provide defalias for the old definition.
22274 (ctl-x-map): Move bindings for delete-window,
22275 delete-other-windows and enlarge-window here from window.c.
22276 Replace bindings for split-window-vertically and
22277 split-window-horizontally by bindings for
22278 split-window-above-each-other and split-window-side-by-side.
22279
22280 * cus-start.el (all): Remove entries for window-min-height and
22281 window-min-width. Add entries for window-splits and
22282 window-nest.
22283
22284 2011-06-09 Glenn Morris <rgm@gnu.org>
22285
22286 * calendar/appt.el (appt-mode-line): New function.
22287 (appt-check, appt-disp-window): Use it.
22288
22289 * files.el (hack-one-local-variable-eval-safep):
22290 Allow minor-modes with explicit +/-1 arguments.
22291
22292 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22293
22294 * term/xterm.el (xterm): Add defgroup.
22295 (xterm-extra-capabilities): Add defcustom to supply known xterm
22296 capabilities, skip querying them, or query them (default).
22297 (terminal-init-xterm): Use it.
22298 (terminal-init-xterm-modify-other-keys): New function to set up
22299 modifyOtherKeys support to simplify `terminal-init-xterm'.
22300
22301 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22302
22303 * window.el (resize-window-reset, resize-window-reset-1)
22304 (resize-subwindows-skip-p, resize-subwindows-normal)
22305 (resize-subwindows, resize-other-windows, resize-this-window)
22306 (resize-root-window, resize-root-window-vertically)
22307 (window-deletable-p, window-or-subwindow-p)
22308 (frame-root-window-p): New functions.
22309
22310 2011-06-09 Glenn Morris <rgm@gnu.org>
22311
22312 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22313 (ange-ftp-get-files): Use it.
22314
22315 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22316
22317 * mail/sendmail.el (mail-recover-1, mail-recover):
22318 * files.el (recover-file, recover-session):
22319 Handle dired-listing-switches not being just a single short option.
22320
22321 2011-06-09 Glenn Morris <rgm@gnu.org>
22322
22323 * calendar/appt.el (appt-display-message, appt-disp-window):
22324 Handle lists of appointments.
22325
22326 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22327
22328 * window.el (one-window-p): Move down in code.
22329 Rewrite doc-string.
22330 (window-current-scroll-bars): Rewrite doc-string.
22331 Normalize live window argument.
22332 (walk-windows, get-window-with-predicate, count-windows):
22333 Rewrite doc-string. Use window-list-1.
22334 (window-in-direction-2, window-in-direction, get-mru-window):
22335 New functions.
22336
22337 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22338
22339 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22340 Doc fix (Bug#8713).
22341
22342 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22343
22344 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22345
22346 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22347
22348 * loadhist.el (unload-feature-special-hooks):
22349 Add `comint-output-filter-functions'.
22350
22351 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22352
22353 * calendar/appt.el (appt-check): Move some initializations into the let.
22354
22355 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22356
22357 * window.el (window-height): Defalias to window-total-height.
22358 (window-width): Defalias to window-body-width.
22359
22360 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22361
22362 * image-mode.el (image-toggle-animation): New command.
22363 (image-mode-map): Bind it to RET.
22364 (image-mode): Update message.
22365 (image-toggle-display-image): Avoid a spurious cache flush.
22366 (image-transform-rotation): Doc fix.
22367 (image-transform-properties): Return quickly in the normal case.
22368 (image-animate-loop): Rename from image-animate-max-time.
22369
22370 * image.el (image-animate-max-time): Move to image-mode.el.
22371 (create-animated-image): Remove unnecessary function.
22372 (image-animate): Rename from image-animate-start. New arg.
22373 (image-animate-stop): Remove; just use image-animate-timer.
22374 (image-animate-timer): Use car-safe.
22375 (image-animate-timeout): Rename argument.
22376
22377 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22378
22379 * window.el (get-lru-window, get-largest-window): Move here from
22380 window.c. Rename first argument to ALL-FRAMES.
22381 Rephrase doc-strings.
22382 (get-buffer-window-list): Rewrite using window-list-1.
22383 Rephrase doc-string.
22384 (window-safe-min-height, window-safe-min-width): New constants.
22385 (window-size-ignore, window-min-size, window-min-size-1)
22386 (window-sizable, window-sizable-p, window-size-fixed-1)
22387 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22388 (window-max-delta-1, window-max-delta, window-resizable)
22389 (window-resizable-p, window-total-height, window-total-width)
22390 (window-body-width): New functions.
22391 (window-full-height-p, window-full-width-p): Rewrite using
22392 window-total-size.
22393 (window-body-height): Rewrite using window-body-size.
22394
22395 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22396
22397 * window.el (window-right, window-left, window-child)
22398 (window-child-count, window-last-child, window-any-p)
22399 (normalize-live-buffer, normalize-live-frame)
22400 (normalize-any-window, normalize-live-window)
22401 (window-iso-combination-p, window-iso-combined-p)
22402 (window-iso-combinations)
22403 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22404 (windows-with-parameter, window-with-parameter)
22405 (window-atom-root, make-window-atom, window-atom-check-1)
22406 (window-atom-check, window-side-check, window-check):
22407 New functions.
22408 (ignore-window-parameters, window-sides, window-sides-vertical)
22409 (window-sides-slots): New variables.
22410 (window-size-fixed): Move down in code. Minor doc-string fix.
22411
22412 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22413
22414 * comint.el (comint-dynamic-complete-as-filename)
22415 (comint-dynamic-complete-filename): Correctly call
22416 completion-in-region.
22417
22418 2011-06-05 Deniz Dogan <deniz@dogan.se>
22419
22420 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22421 in last change.
22422
22423 2011-06-05 Deniz Dogan <deniz@dogan.se>
22424
22425 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22426 (rcirc): Use it to prompt for encryption.
22427
22428 2011-06-05 Roland Winkler <winkler@gnu.org>
22429
22430 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22431 (bibtex-search-entries): New command bound to C-c C-a.
22432 (bibtex-display-entries): New function.
22433
22434 2011-06-05 Roland Winkler <winkler@gnu.org>
22435
22436 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22437 (bibtex-insert-kill): After yanking insert newline if necessary.
22438 (bibtex-initialize): Call bibtex-string-files-init only once.
22439 (bibtex-mode): Do not call easy-menu-add.
22440 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22441 (bibtex-yank): Set arg properly if nil.
22442
22443 2011-06-05 Roland Winkler <winkler@gnu.org>
22444
22445 * textmodes/bibtex.el (bibtex-search-entry-globally):
22446 New variable.
22447 (bibtex-search-entry): Use it.
22448
22449 2011-06-05 Roland Winkler <winkler@gnu.org>
22450
22451 * textmodes/bibtex.el (bibtex-entry-format): New option
22452 sort-fields.
22453 (bibtex-format-entry, bibtex-reformat): Honor this option.
22454 (bibtex-parse-entry): Return fields in proper order.
22455
22456 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22457
22458 * doc-view.el (doc-view-remove-if): Move computation of result out
22459 of `dolist' to silence misleading lexical-binding warning.
22460
22461 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22462
22463 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22464 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22465
22466 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22467
22468 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22469 "SunOS 5.10".
22470
22471 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22472
22473 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22474 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22475 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22476 (tramp-parse-putty):
22477 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22478 (tramp-completion-function-alist-ssh)
22479 (tramp-completion-function-alist-telnet)
22480 (tramp-completion-function-alist-su)
22481 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22482 cookie.
22483
22484 * net/tramp-ftp.el:
22485 * net/tramp-sh.el:
22486 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22487 load "tramp.el" `tramp-set-completion-function'.
22488
22489 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22490
22491 * shell.el: Require and use pcomplete.
22492 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22493 (shell-completion-vars): Set pcomplete-default-completion-function.
22494
22495 2011-06-04 Deniz Dogan <deniz@dogan.se>
22496
22497 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22498 `memq' (Bug#8799).
22499
22500 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22501
22502 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22503
22504 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22505
22506 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22507 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22508 * vc/log-view.el (log-view-beginning-of-defun):
22509 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22510 (smerge-refine-forward, smerge-refine-chopup-region):
22511 Silence warning for unused `dotimes' counter variables.
22512
22513 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22514
22515 * net/tramp.el (tramp-with-progress-reporter): Rename from
22516 with-progress-reporter. Use `declare'.
22517 * net/tramp-smb.el:
22518 * net/tramp-sh.el:
22519 * net/tramp-gvfs.el: Update all uses.
22520
22521 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22522
22523 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22524 buffer isn't killed before making it current.
22525
22526 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22527
22528 Silence various byte-compiler warnings.
22529 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22530 `access-type' and new obsolescence format.
22531 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22532 new format.
22533 (byte-compile-check-variable): New `access-type' argument.
22534 Only warn if the access-type is obsolete.
22535 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22536 (byte-compile-variable-set): Adjust callers.
22537 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22538 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22539 setting it as obsolete.
22540 * simple.el (minibuffer-completing-symbol):
22541 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22542 access as obsolete.
22543 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22544 obsolete yet.
22545 * international/quail.el (quail-mouse-choose-completion): Remove unused
22546 code referring to obsolete var.
22547 (quail-choose-completion-string): Remove.
22548 * server.el (server-clients-with, server-kill-buffer-query-function)
22549 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22550 * proced.el (proced-send-signal):
22551 * emacs-lisp/lisp.el (lisp-complete-symbol):
22552 Replace completion-annotate-function with completion-extra-properties.
22553
22554 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22555
22556 * simple.el (goto-line): Use read-number.
22557 (overriding-map-is-bound): Remove.
22558 (saved-overriding-map): Change default.
22559 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22560 Take the map as argument.
22561 (universal-argument, negative-argument, digit-argument): Use it.
22562 (restore-overriding-map): Adjust.
22563 (do-auto-fill): Use fill-forward-paragraph.
22564 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22565
22566 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22567 (minibuffer-inactive-mode): New major mode.
22568 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22569 the *Messages* buffer" hack.
22570 (mouse-popup-menubar): Don't burp if the event is a normal key.
22571
22572 Miscellaneous tweaks.
22573 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22574 lexical scoping as in subr.el's dolist and dotimes.
22575 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22576 Silence compiler warning.
22577 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22578 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22579 * international/ccl.el (ccl-compile): Trivial simplification.
22580 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22581 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22582 `printflag' argument.
22583 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22584 Purecopy the whole obsolescence data.
22585
22586 2011-06-01 Leo Liu <sdl.web@gmail.com>
22587
22588 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22589 improve doc-string as suggested by Marco Pessotto
22590 <melmothx@gmail.com>.
22591 (rcirc-print): Fix last change.
22592
22593 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22594
22595 * minibuffer.el (complete-with-action): Return nil for the metadata and
22596 boundaries of non-functional tables.
22597 (completion-table-dynamic): Return nil for the metadata.
22598 (completion-table-with-terminator): Add default case, using
22599 complete-with-action.
22600 (completion--metadata): New function.
22601 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22602 to try and avoid pathological performance problems.
22603 (completion--embedded-envvar-table): Return `category' metadata.
22604
22605 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22606
22607 * subr.el (process-alive-p): New tiny convenience function.
22608
22609 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22610
22611 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22612 content but also its previous major mode.
22613
22614 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22615
22616 * emacs-lisp/debug.el (debug): Restore the previous content of the
22617 *Backtrace* buffer when we exit with C-M-c.
22618
22619 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22620
22621 * minibuffer.el: Add metadata method to completion tables.
22622 (completion-category-overrides): New defcustom.
22623 (completion-metadata, completion--field-metadata)
22624 (completion-metadata-get, completion--styles)
22625 (completion--cycle-threshold): New functions.
22626 (completion-try-completion, completion-all-completions):
22627 Add `metadata' argument to choose completion-styles.
22628 (completion--do-completion): Use metadata to choose cycling.
22629 (completion-all-sorted-completions): Use metadata for sorting.
22630 Remove :completion-cycle-penalty which is not needed any more.
22631 (completion--try-word-completion): Add `metadata' argument.
22632 (minibuffer-completion-help): Check metadata for annotation function
22633 and sorting.
22634 (completion-file-name-table): Return `category' metadata.
22635 (minibuffer-completing-file-name): Make obsolete.
22636 * simple.el (minibuffer-completing-symbol): Make obsolete.
22637 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22638 completion-try-completion.
22639
22640 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22641
22642 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22643
22644 2011-05-30 Leo Liu <sdl.web@gmail.com>
22645
22646 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22647 (rcirc-print): Decode all incoming messages (bug#8744).
22648 (rcirc-decode-coding-system): Allow value nil for automatic coding
22649 system detection.
22650
22651 2011-06-01 Glenn Morris <rgm@gnu.org>
22652
22653 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22654
22655 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22656
22657 * image.el (image-animate-max-time): Allow nil and t values.
22658 Default to nil.
22659 (create-animated-image): Doc fix.
22660 (image-animate-start): Remove second arg; just use
22661 image-animate-max-time.
22662 (image-animate-timeout): Doc fix. Args changed.
22663
22664 * image-mode.el (image-toggle-display-image): Ensure that the
22665 image spec passed to the animate timer is the same object as in
22666 the buffer's display property (Bug#6981).
22667 (image-transform-properties): Doc fix.
22668
22669 * image.el (image-animate-max-time): Default to nil.
22670
22671 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22672
22673 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22674 entire buffer list (Bug#8184).
22675
22676 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22677
22678 * image.el (imagemagick-types-inhibit)
22679 (imagemagick-register-types): Doc fix.
22680
22681 2011-05-29 Deniz Dogan <deniz@dogan.se>
22682
22683 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22684 default.
22685
22686 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22687
22688 * select.el: Don't perform clipboard-manager saving in hooks;
22689 leave the hooks empty.
22690
22691 2011-05-28 Leo Liu <sdl.web@gmail.com>
22692
22693 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22694 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22695 (occur-edit-mode): New major mode (Bug#8463).
22696 (occur-after-change-function): New function.
22697 (occur-engine): Give Occur tags a read-only property.
22698
22699 2011-05-28 Kevin Ryde <user42@zip.com.au>
22700
22701 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22702
22703 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22704
22705 * bindings.el (help-echo): Make the initial non-indicator dash
22706 empty on graphical terminals (Bug#7295).
22707
22708 * files.el (auto-mode-alist): Move config rule after the
22709 in-stripping one (Bug#8547).
22710
22711 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22712
22713 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22714 setting (Bug#8740).
22715
22716 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22717
22718 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22719 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22720 (Bug#8539).
22721
22722 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22723
22724 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22725
22726 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22727
22728 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22729 (hs-hide-block-at-point, hs-find-block-beginning)
22730 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22731 (Bug#8279).
22732
22733 2011-05-28 Glenn Morris <rgm@gnu.org>
22734
22735 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22736
22737 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22738
22739 * help-fns.el (describe-function-1): If the function is a derived
22740 major mode, print the parent mode.
22741
22742 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22743 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22744
22745 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22746
22747 * minibuffer.el (completion--capf-wrapper): Check applicability before
22748 returning non-nil for non-exclusive completion data.
22749 * progmodes/etags.el (tags-completion-at-point-function):
22750 * info-look.el (info-lookup-completions-at-point): Mark as
22751 non-exclusive.
22752 (info-complete): Adjust accordingly.
22753
22754 * info-look.el: Convert to lexical-binding and completion-at-point.
22755 (info-lookup-completions-at-point): New function.
22756 (info-complete): Use it and completion-in-region.
22757
22758 2011-05-28 Drew Adams <drew.adams@oracle.com>
22759
22760 * isearch.el: Let M-e start with point at the first mismatched char.
22761 (isearch-fail-pos): New function.
22762 (isearch-edit-string): Use it.
22763
22764 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22765
22766 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22767
22768 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22769
22770 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22771 traversal functions for avl-trees.
22772 (avl-tree--stack): New struct.
22773 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22774 (avl-tree-enter): Add optional `updatefun' arg.
22775 (avl-tree--do-enter): Add optional `updatefun' arg.
22776 Change return value.
22777 (avl-tree-delete): Add optional `test' and `nilflag' args.
22778 (avl-tree--do-delete): Add `test' and `nilflag' args.
22779 Change return value.
22780 (avl-tree-member): Add optional `nilflag'
22781 (avl-tree-member-p): New function.
22782 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22783 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22784 (avl-tree-stack-empty-p): New functions.
22785
22786 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22787 avl-tree--del-balance1 and make it work both ways.
22788 (avl-tree--del-balance2): Remove.
22789 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22790 make it work both ways.
22791 (avl-tree--enter-balance2): Remove.
22792 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22793 New macros.
22794 (avl-tree--mapc, avl-tree-map): Add direction argument.
22795
22796 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22797
22798 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22799
22800 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22801
22802 * select.el: Support clipboard managers with built-in function
22803 x-clipboard-manager-save, via delete-frame-functions and
22804 kill-emacs-hook.
22805 (xselect-convert-to-targets): Add MULTIPLE target to list.
22806 (xselect-convert-to-save-targets): New function.
22807
22808 2011-05-27 Kenichi Handa <handa@m17n.org>
22809
22810 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22811 let-binding rfc2047-encode-encoded-words to nil.
22812
22813 2011-05-27 Glenn Morris <rgm@gnu.org>
22814
22815 * mail/emacsbug.el: Don't require url-util.
22816
22817 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22818
22819 * files.el (set-auto-mode):
22820 Also respect mode: entries at the end of the file. (Bug#8586)
22821
22822 2011-05-26 Glenn Morris <rgm@gnu.org>
22823
22824 * files.el (hack-local-variables-prop-line, hack-local-variables):
22825 Downcase mode names, as seems to be traditional.
22826 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22827
22828 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22829 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22830
22831 2011-05-25 Julien Danjou <julien@danjou.info>
22832
22833 * textmodes/rst.el (rst-define-level-faces): Do not define face
22834 symbol if it is already defined.
22835
22836 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22837
22838 * play/5x5.el (5x5-new-game, 5x5-randomize):
22839 Reset 5x5-solver-output to nil when a new grid is cast.
22840 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22841 these debugging traces, as defmacro breaks the compiled code.
22842
22843 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22844
22845 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22846
22847 2011-05-24 Leo Liu <sdl.web@gmail.com>
22848
22849 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22850 (vc-bzr-sha1): Adapt.
22851
22852 * sha1.el: Remove. Function `sha1' is now builtin.
22853
22854 * bindings.el: Provide sha1 feature.
22855
22856 2011-05-24 Kenichi Handa <handa@m17n.org>
22857
22858 * mail/sendmail.el: Require `rfc2047'.
22859 (mail-insert-from-field): Do not perform RFC2047 encoding.
22860 (mail-encode-header): New function.
22861 (sendmail-send-it): Set buffer-file-coding-system of the work
22862 buffer to the return value of select-message-coding-system.
22863 Call mail-encode-header.
22864
22865 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22866
22867 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22868
22869 * mail/supercite.el (sc-default-cite-frame):
22870 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22871
22872 2011-05-24 Glenn Morris <rgm@gnu.org>
22873
22874 * progmodes/python.el (brm-menu): Declare.
22875
22876 * emulation/viper.el (viper-set-hooks): Declare.
22877
22878 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22879 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22880 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22881 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22882 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22883 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22884
22885 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22886
22887 Add an :exit-function for completion-at-point.
22888
22889 * minibuffer.el (completion--done): New fun.
22890 (completion--do-completion): Use it. New arg `expect-exact'.
22891 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22892 since completion--do-completion does it for us now.
22893 (minibuffer-force-complete): Use completion--done and
22894 completion--replace. Handle sole-completion case with more care.
22895 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22896 (completion-extra-properties): New var.
22897 (completion-annotate-function): Make obsolete.
22898 (minibuffer-completion-help): Adjust accordingly.
22899 Use completion-list-insert-choice-function.
22900 (completion-at-point, completion-help-at-point):
22901 Bind completion-extra-properties.
22902 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22903 * simple.el (completion-list-insert-choice-function): New var.
22904 (completion-setup-function): Preserve it.
22905 (choose-completion): Pay attention to it, shuffle the code a bit.
22906 (choose-completion-string): New arg `insert-function'.
22907
22908 * textmodes/bibtex.el: Convert to lexical binding.
22909 (bibtex-mode-map): Use completion-at-point.
22910 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22911 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22912 (bibtex-complete): Define as obsolete alias.
22913 (bibtex-complete-internal): Remove.
22914 (bibtex-format-entry): Remove unused sub-group in regexp.
22915 * shell.el (shell--command-completion-data)
22916 (shell-environment-variable-completion):
22917 * pcomplete.el (pcomplete-completions-at-point):
22918 * comint.el (comint--complete-file-name-data): Use :exit-function
22919 instead of completion-table-with-terminator so it also works for
22920 choose-completion.
22921
22922 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22923
22924 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22925
22926 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22927 (bug#8710).
22928
22929 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22930
22931 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22932
22933 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22934 customization variable and implement: If non-nil, auto-fill will
22935 be inhibited while on topic's header line.
22936
22937 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22938
22939 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22940 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22941 always have a solution in grid size = 5 cases.
22942 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22943 (5x5-solver-output, 5x5-log-buffer): New vars.
22944 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22945 Make these variables buffer local to achieve 5x5 multi-session-ness.
22946 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22947 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22948 (5x5-solve-suggest): New funs.
22949 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22950 randomize a grid so that we ensure that there is always a solution.
22951 (5x5-make-random-grid): Allow other movement than flipping.
22952
22953 2011-05-23 Kevin Ryde <user42@zip.com.au>
22954
22955 * emacs-lisp/advice.el (ad-read-advised-function):
22956 Use `function-called-at-point' as the default, if it has
22957 advice and passes PREDICATE.
22958
22959 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22960
22961 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22962 byte-compile-lambda if it's actually a lambda.
22963
22964 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22965 Fix function quoting. Use backquote better.
22966
22967 2011-05-22 Yuanle Song <sylecn@gmail.com>
22968
22969 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22970 matching (Bug#8516).
22971
22972 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22973
22974 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22975 different face (Bug#8178).
22976
22977 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22978
22979 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22980 defface (Bug#8144).
22981
22982 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22983
22984 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22985 funcall as well (bug#8712). Warn when performing those conversions.
22986 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22987
22988 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22989
22990 2011-05-22 Glenn Morris <rgm@gnu.org>
22991
22992 * files.el (hack-local-variables-prop-line): Small simplifications.
22993 (hack-local-variables, hack-local-variables-prop-line):
22994 If MODE-ONLY, return the mode, rather than just `t'.
22995
22996 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22997
22998 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22999
23000 2011-05-21 Glenn Morris <rgm@gnu.org>
23001
23002 * files.el (hack-local-variables-prop-line, hack-local-variables):
23003 If only interested in the mode, don't bother doing the other stuff.
23004
23005 * image-mode.el (image-after-revert-hook):
23006 Redraw all frames on which the image is visible. (Bug#8567)
23007
23008 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23009
23010 * wid-edit.el (widget-checklist-match-inline):
23011 Fix 2011-04-19 change. (Bug#8649)
23012
23013 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23014
23015 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23016 Also allow singlespace after single-letter capitals followed by a dot.
23017
23018 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23019 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23020
23021 2011-05-20 Nix <nix@esperi.org.uk>
23022
23023 * files.el (basic-save-buffer-2):
23024 Fix handling of break-hardlink-on-save with non-existent files.
23025
23026 2011-05-19 Deniz Dogan <deniz@dogan.se>
23027
23028 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23029 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23030
23031 2011-05-19 Glenn Morris <rgm@gnu.org>
23032
23033 * progmodes/f90.el (f90-type-def-re):
23034 Handle "type, bind(c)". (Bug#8691)
23035
23036 * emacs-lisp/autoload.el (batch-update-autoloads):
23037 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23038
23039 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23040
23041 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23042 property for the correct connection in case of multihops.
23043
23044 2011-05-18 Glenn Morris <rgm@gnu.org>
23045
23046 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23047 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23048
23049 Rationalize calendar handling of day and month abbrev-arrays.
23050 * calendar/calendar.el (calendar-customized-p): New function.
23051 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23052 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23053 Add :set function.
23054 (calendar-abbrev-length, calendar-day-abbrev-array)
23055 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23056 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23057 Elements may no longer be nil.
23058 (calendar-day-name, calendar-month-name):
23059 Update for changed nature of abbrev arrays.
23060 * calendar/diary-lib.el (diary-name-pattern):
23061 Update for changed nature of abbrev arrays.
23062 (diary-mark-entries-1): Update calendar-make-alist calls.
23063 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23064 * calendar/cal-html.el (cal-html-day-abbrev-array):
23065 Simply inherit from calendar-day-abbrev-array.
23066
23067 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23068
23069 * progmodes/grep.el (grep-mode): Disable default
23070 compilation-directory-matcher setting (bug#8684).
23071
23072 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23073
23074 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23075 instead of "head" and "tail". There were problems with SunOS 5.9,
23076 and it performs better.
23077
23078 2011-05-17 Glenn Morris <rgm@gnu.org>
23079
23080 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23081
23082 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23083 Replace obsolete function.
23084
23085 * shell.el (pcomplete-parse-arguments-function): Declare.
23086
23087 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23088 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23089 (appt-check): Doc fixes.
23090 (appt-disp-window-function, appt-delete-window-function):
23091 Remove needless special case in custom :type.
23092 (appt-display-count): Default to 0, not nil.
23093 (appt-check): Reset appt-display-count to 0, not nil.
23094
23095 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23096
23097 * progmodes/python.el (python-font-lock-keywords):
23098 Add the Python 3.X keyword "nonlocal" (bug#8639).
23099
23100 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23101
23102 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23103
23104 2011-05-16 Kevin Ryde <user42@zip.com.au>
23105
23106 * info-look.el (makefile-automake-mode): New setups, looking in
23107 automake manual, then makefile-mode.
23108 (makefile-mode): Remove automake manual, have it just in
23109 makefile-automake-mode since there's various things different or
23110 not relevant to plain make.
23111 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23112 believe a hypothetical automake-mode would go to makefile-mode,
23113 not the other way around.
23114
23115 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23116
23117 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23118 hunk-end tags (Bug#8672).
23119
23120 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23121 vc-annotate-show-diff-revision-at-line (Bug#8671).
23122
23123 2011-05-14 Glenn Morris <rgm@gnu.org>
23124
23125 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23126 in the middle of an existing one with multiple authors. (Bug#8645)
23127 (change-log-font-lock-keywords): Also handle multiple author lines
23128 with leading tabs. (Bug#8644)
23129
23130 * calendar/appt.el (appt-check): Rename some local variables.
23131 Some simplification/reordering.
23132
23133 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23134 (feedmail-sendmail-f-doesnt-sell-me-out)
23135 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23136 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23137 (feedmail-queue-runner-message-sender): Set :version.
23138 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23139 (bbdb-dwim-net-address, vm-mail): Declare.
23140 (feedmail-binmail-gnulinuxish-template):
23141 Rename from feedmail-binmail-linuxish-template.
23142 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23143 Use insert-buffer-substring.
23144
23145 2011-05-14 Bill Carpenter <bill@carpenter.org>
23146
23147 * mail/feedmail.el (feedmail-patch-level): Increase.
23148 (feedmail-debug): New custom group.
23149 (feedmail-confirm-outgoing-timeout)
23150 (feedmail-sendmail-f-doesnt-sell-me-out)
23151 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23152 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23153 (feedmail-sender-line, feedmail-from-line)
23154 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23155 (feedmail-spray-this-address)
23156 (feedmail-spray-address-fiddle-plex-list)
23157 (feedmail-queue-use-send-time-for-date)
23158 (feedmail-queue-use-send-time-for-message-id)
23159 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23160 (feedmail-buffer-eating-function):
23161 Doc fixes.
23162 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23163 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23164 (feedmail-message-action-scroll-down): New functions.
23165 (feedmail-queue-directory, feedmail-queue-draft-directory):
23166 Use expand-file-name.
23167 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23168 Remove C-v help entry.
23169 (feedmail-queue-buffer-file-name): New variable.
23170 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23171 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23172 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23173 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23174 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23175 (feedmail-message-action-toggle-spray)
23176 (feedmail-run-the-queue-no-prompts)
23177 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23178 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23179 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23180 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23181 (feedmail-envelope-deducer, feedmail-fiddle-from)
23182 (feedmail-fiddle-sender, feedmail-default-date-generator)
23183 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23184 (feedmail-fiddle-spray-address)
23185 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23186 (feedmail-fiddle-list-of-fiddle-plexes)
23187 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23188 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23189 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23190 Change default. Doc fix.
23191 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23192 (feedmail-binmail-linuxish-template): New constant.
23193 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23194 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23195 (feedmail-send-it): Add debug call.
23196 Use feedmail-queue-buffer-file-name, and
23197 feedmail-send-it-immediately-wrapper.
23198 (feedmail-message-action-send): Add debug call.
23199 Use feedmail-send-it-immediately-wrapper.
23200 (feedmail-queue-express-to-queue): Add debug call.
23201 Run feedmail-queue-express-hook.
23202 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23203 (feedmail-message-action-help-blat):
23204 Rename from feedmail-queue-send-edit-prompt-help-first.
23205 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23206 Check line-endings. Handle errors better.
23207 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23208 Doc fix. Add debug call.
23209 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23210 Use feedmail-queue-send-edit-prompt-inner.
23211 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23212 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23213 from feedmail-queue-send-edit-prompt.
23214 (feedmail-queue-send-edit-prompt-help)
23215 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23216 (feedmail-tidy-up-slug): Add debug call.
23217 Respect feedmail-queue-slug-suspect-regexp.
23218 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23219 (feedmail-dump-message-to-queue): Add debug call.
23220 Expand queue-directory.
23221 (feedmail-dump-message-to-queue): Change message slightly.
23222 Use feedmail-say-chatter.
23223 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23224 (feedmail-send-it-immediately-wrapper): New function.
23225 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23226 Insert empty string rather than newline. Handle full-frame case.
23227 Use catch/throw. Use feedmail-say-chatter.
23228 (feedmail-fiddle-from): Try mail-host-address.
23229 (feedmail-default-message-id-generator): Doc fix.
23230 Bind system-time-locale. Handle missing end.
23231 (feedmail-fiddle-x-mailer): Add debug call.
23232 Handle feedmail-x-mailer-line being nil.
23233 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23234 Add debug call. Use buffer-substring-no-properties.
23235 (feedmail-say-debug, feedmail-say-chatter): New functions.
23236 (feedmail-find-eoh): Give an explicit error.
23237
23238 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23239
23240 * net/newst-treeview.el (newsticker-treeview-face): Change default
23241 family from helvetica to sans.
23242 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23243 etc/images/newsticker.
23244
23245 * net/newst-reader.el (newsticker-feed-face): Change default
23246 family from helvetica to sans.
23247
23248 * net/newst-plainview.el (newsticker-new-item-face)
23249 (newsticker-old-item-face, newsticker-immortal-item-face)
23250 (newsticker-obsolete-item-face, newsticker-date-face)
23251 (newsticker-statistics-face): Change default family from
23252 helvetica to sans.
23253 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23254 etc/images/newsticker.
23255
23256 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23257 (newsticker--process-auto-mark-filter-match): Tell user about
23258 auto-marking.
23259
23260 2011-05-13 Didier Verna <didier@xemacs.org>
23261
23262 Common Lisp indentation improvements on defmethod and lambda-lists.
23263 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23264 TODO entries.
23265 (lisp-lambda-list-keyword-parameter-indentation)
23266 (lisp-lambda-list-keyword-parameter-alignment)
23267 (lisp-lambda-list-keyword-alignment): New customizable user options.
23268 (lisp-indent-defun-method): Improve docstring.
23269 (extended-loop-p): Fix comment.
23270 (lisp-indent-lambda-list-keywords-regexp): New variable.
23271 (lisp-indent-lambda-list): New function.
23272 (lisp-indent-259): Use it.
23273 (lisp-indent-defmethod): Support for more than one
23274 method qualifier and properly indent methods lambda-lists.
23275 (defgeneric): Provide a missing common-lisp-indent-function property.
23276
23277 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23278
23279 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23280 bounds for the empty string (bug#8667).
23281
23282 2011-05-13 Glenn Morris <rgm@gnu.org>
23283
23284 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23285
23286 * mail/sendmail.el (sendmail-program): Try executable-find first.
23287 (sendmail-send-it): `sendmail-program' cannot be unbound.
23288
23289 * calendar/appt.el (appt-make-list): Simplify.
23290 (appt-time-msg-list): Doc fix.
23291 (appt-check): Change mode-line message at the time of the appointment.
23292
23293 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23294
23295 * progmodes/ld-script.el (ld-script-keywords)
23296 (ld-script-builtins): Update keywords list.
23297
23298 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23299
23300 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23301
23302 * shell.el (shell-completion-vars): New function.
23303 (shell-mode):
23304 * simple.el (read-shell-command): Use it.
23305 (blink-matching-open): No need for " [...]" in minibuffer-message.
23306
23307 2011-05-12 Glenn Morris <rgm@gnu.org>
23308
23309 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23310 (appt-check): Simplify.
23311
23312 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23313
23314 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23315 literal "/dev/null".
23316
23317 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23318
23319 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23320 Fix typo.
23321
23322 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23323
23324 * progmodes/which-func.el (which-function):
23325 Use add-log-current-defun instead of add-log-current-defun-function,
23326 which might not be defined (Bug#8260).
23327
23328 2011-05-12 Glenn Morris <rgm@gnu.org>
23329
23330 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23331 Let byte-compile-initial-macro-environment always take precedence.
23332
23333 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23334
23335 * net/rcirc.el: Add support for SSL/TLS connections.
23336 (rcirc-server-alist): New field `encryption'.
23337 (rcirc): Check `encryption' settings.
23338 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23339 Merge make-local-variable into `set'.
23340 (rcirc--connection-open-p): New function.
23341 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23342 the process is not a network process (e.g. running gnutls-cli).
23343 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23344 Make rcirc-(en|de)code-coding-system local here.
23345 (rcirc-mode): Merge make-local-variable into `set'.
23346 (rcirc-parent-buffer): Make permanent buffer-local.
23347 (rcirc-multiline-minor-mode): Don't do it here.
23348 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23349 there's no server buffer.
23350
23351 2011-05-11 Glenn Morris <rgm@gnu.org>
23352
23353 * newcomment.el (comment-kill): Prefix "unused" local.
23354
23355 * term/w32console.el (get-screen-color): Declare.
23356
23357 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23358 Handle symbol elements of byte-compile-initial-macro-environment.
23359
23360 2011-05-10 Leo Liu <sdl.web@gmail.com>
23361
23362 * bookmark.el (bookmark-bmenu-mode-map):
23363 Bind bookmark-bmenu-search to `/'.
23364
23365 * mail/footnote.el: Convert to utf-8 encoding.
23366 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23367 (Footnote-unicode): New function.
23368 (footnote-style-alist): Add unicode style to the list.
23369 (footnote-style): Doc fix.
23370
23371 2011-05-10 Jim Meyering <meyering@redhat.com>
23372
23373 Fix doubled-word typos.
23374 * international/quail.el (quail-insert-kbd-layout): and and -> and
23375 * kermit.el: and and -> and
23376 * net/ldap.el (ldap-search-internal): to to -> to
23377 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23378 * progmodes/js.el (js-mode): and and -> and
23379 * textmodes/artist.el (artist-move-to-xy): at at -> at
23380 (artist-draw-region-trim-line-endings): if if -> if
23381 And Safetyc -> Safety.
23382 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23383
23384 2011-05-10 Glenn Morris <rgm@gnu.org>
23385 Stefan Monnier <monnier@iro.umontreal.ca>
23386
23387 * files.el (hack-one-local-variable-eval-safep):
23388 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23389
23390 2011-05-10 Glenn Morris <rgm@gnu.org>
23391
23392 * calendar/diary-lib.el (diary-list-entries-hook)
23393 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23394 (diary-nongregorian-marking-hook, diary-list-entries)
23395 (diary-include-other-diary-files, diary-mark-entries)
23396 (diary-mark-included-diary-files): Doc fixes.
23397
23398 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23399
23400 * misc.el: Require tabulated-list.el during compilation.
23401
23402 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23403
23404 * progmodes/compile.el (compilation-start):
23405 Run compilation-filter-hook for the async case too.
23406 (compilation-filter-hook): Doc fix.
23407
23408 2011-05-09 Deniz Dogan <deniz@dogan.se>
23409
23410 * wdired.el: Remove outdated installation comment. Fix usage
23411 comment.
23412
23413 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23414
23415 * misc.el: Implement new command `list-dynamic-libraries'.
23416 (list-dynamic-libraries--loaded-only-p): New variable.
23417 (list-dynamic-libraries--refresh): New function.
23418 (list-dynamic-libraries): New command.
23419
23420 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23421
23422 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23423 Fix the ant regexp to handle end-line and end-column info from jikes.
23424 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23425 higher priority to avoid clobbering by gnu.
23426
23427 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23428
23429 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23430 if the face has existing theme settings (Bug#8454).
23431
23432 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23433
23434 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23435 Only match variables declared via `my' or `our' (Bug#8261).
23436
23437 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23438 special file names `.' and `..' (Bug#8259).
23439
23440 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23441
23442 * progmodes/grep.el (grep-mode-font-lock-keywords):
23443 Remove buffer-changing entries.
23444 (grep-filter): New function.
23445 (grep-mode): Add it to compilation-filter-hook.
23446
23447 * progmodes/compile.el (compilation-filter-hook)
23448 (compilation-filter-start): New defvars.
23449 (compilation-filter): Call compilation-filter-hook prior to
23450 updating the process mark.
23451
23452 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23453
23454 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23455
23456 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23457
23458 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23459 mailclient-send-it even if window-system is nil. (Bug#8595)
23460
23461 * term/w32console.el (terminal-init-w32console):
23462 Call get-screen-color and use its output to set the frame
23463 background-mode. (Bug#8597)
23464
23465 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23466
23467 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23468 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23469 New functions.
23470 (defgeneric, eieio--defmethod): Use them.
23471 (eieio-defgeneric): Remove.
23472 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23473
23474 2011-05-07 Glenn Morris <rgm@gnu.org>
23475
23476 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23477 Use let rather than let*.
23478 (timeclock-find-discrep): Remove unused local.
23479
23480 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23481
23482 * calendar/appt.el (appt-time-msg-list): Doc fix.
23483
23484 2011-05-06 Noah Friedman <friedman@splode.com>
23485
23486 * apropos.el (apropos-print-doc): Only use
23487 emacs-lisp-docstring-fill-column when it is bound to an integer,
23488 per that variable's documentation.
23489
23490 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23491
23492 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23493 and warnings are not silently discarded (e.g. use -d instead of -P).
23494
23495 2011-05-06 Glenn Morris <rgm@gnu.org>
23496
23497 * calendar/appt.el (appt-message-warning-time): Doc fix.
23498 (appt-warning-time-regexp): New option.
23499 (appt-make-list): Respect appt-message-warning-time.
23500
23501 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23502 New options.
23503 (diary-add-to-list): Strip comments from the displayed string.
23504 (diary-mode): Set comment-start and comment-end.
23505
23506 * vc/diff-mode.el (smerge-refine-subst): Declare.
23507 (diff-refine-hunk): Don't require smerge-mode when compiling.
23508
23509 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23510
23511 * simple.el (list-processes): Return nil as the docstring says.
23512
23513 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23514
23515 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23516 to "".
23517 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23518 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23519 determining of binary transfer. (Bug#7383)
23520
23521 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23522
23523 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23524 Fix port computation bug. (Bug#8618)
23525
23526 2011-05-05 Glenn Morris <rgm@gnu.org>
23527
23528 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23529
23530 * simple.el (shell-dynamic-complete-functions)
23531 (comint-dynamic-complete-functions): Declare.
23532
23533 * net/network-stream.el (gnutls-negotiate):
23534 * simple.el (tabulated-list-print): Fix declarations.
23535
23536 * progmodes/gud.el (syntax-symbol, syntax-point):
23537 Remove unnecessary and incorrect declarations.
23538
23539 * emacs-lisp/check-declare.el (check-declare-scan):
23540 Handle byte-compile-initial-macro-environment in bytecomp.el.
23541
23542 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23543
23544 Fix earlier half-done eieio-defmethod change (bug#8338).
23545 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23546 Streamline and change calling convention.
23547 (defmethod): Adjust accordingly and simplify.
23548 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23549 new eieio--defmethod.
23550 (slot-boundp): Minor CSE simplification.
23551
23552 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23553
23554 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23555 (glasses-make-readable): Use glasses-separate-capital-groups.
23556
23557 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23558
23559 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23560 (warning-series): Doc fix.
23561 (display-warning): Don't try to create the buffer if we just found it.
23562
23563 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23564
23565 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23566 (autoload-find-generated-file): New function.
23567 (generate-file-autoloads): Bind generated-autoload-file to
23568 buffer-file-name.
23569 (update-file-autoloads, update-directory-autoloads):
23570 Use autoload-find-generated-file. If called interactively, prompt for
23571 output file (Bug#7989).
23572 (batch-update-autoloads): Doc fix.
23573
23574 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23575
23576 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23577
23578 2011-05-04 Glenn Morris <rgm@gnu.org>
23579
23580 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23581 function, so it follows changes in calendar-date-style.
23582 (diary-fancy-date-matcher): New function.
23583 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23584 (diary-fancy-font-lock-fontify-region-function):
23585 Use diary-fancy-date-pattern as a function.
23586
23587 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23588 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23589
23590 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23591
23592 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23593 instead of positional arguments. Allow :keylist and :crlfiles
23594 arguments.
23595 (open-gnutls-stream): Call it.
23596
23597 * net/network-stream.el (network-stream-open-starttls): Adjust to
23598 call `gnutls-negotiate' with :process and :hostname arguments.
23599
23600 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23601
23602 * minibuffer.el (completion--message): New function.
23603 (completion--do-completion, minibuffer-complete)
23604 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23605 (completion--do-completion): Don't ignore completion-auto-help when in
23606 icomplete-mode.
23607
23608 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23609 internal encoding (e.g. tibetan zero is not whitespace).
23610 (global-whitespace-mode): Prefer save-current-buffer.
23611 (whitespace-trailing-regexp): Remove useless save-match-data.
23612 (whitespace-empty-at-bob-regexp): Minor simplification.
23613
23614 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23615
23616 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23617
23618 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23619
23620 * textmodes/ispell.el (ispell-add-per-file-word-list):
23621 Use `concat' to create string for insertion.
23622
23623 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23624
23625 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23626 Avoid open-line which runs post-self-insert-hook.
23627 (bibtex-fill-entry): Remove unused `end' var.
23628
23629 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23630
23631 * textmodes/ispell.el (ispell-add-per-file-word-list):
23632 Protect against `nil' value of `comment-start' (Bug#8579).
23633
23634 2011-05-03 Leo Liu <sdl.web@gmail.com>
23635
23636 * isearch.el (isearch-yank-pop): New command.
23637 (isearch-mode-map): Bind it to `M-y'.
23638 (isearch-forward): Mention it.
23639
23640 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23641
23642 * simple.el (minibuffer-complete-shell-command): Remove.
23643 (minibuffer-local-shell-command-map): Use completion-at-point.
23644 (read-shell-command): Setup completion vars here instead.
23645 (read-expression-map): Bind TAB to symbol completion.
23646
23647 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23648 error directly rather via storing it into `results'.
23649
23650 2011-05-02 Leo Liu <sdl.web@gmail.com>
23651
23652 * vc/diff.el: Fix description.
23653
23654 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23655
23656 * server.el (server-eval-at): New function.
23657
23658 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23659
23660 * net/network-stream.el (open-network-stream): Take a :nowait
23661 parameter and pass it on to `make-network-process'.
23662 (network-stream-open-plain): Ditto.
23663
23664 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23665
23666 * faces.el (face-spec-set-match-display): Don't match toolkit
23667 options on terminal frames.
23668
23669 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23670
23671 * progmodes/pascal.el: Use lexical binding.
23672 (pascal-mode-map): Remove author preferences.
23673
23674 * pcomplete.el (pcomplete-std-complete): Don't abuse
23675 completion-at-point.
23676
23677 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23678
23679 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23680 removing code that has been dead since 1991 or so.
23681
23682 * startup.el (command-line): When warning about "_emacs", use a
23683 delayed warning to allow the user to filter it out.
23684
23685 2011-04-28 Deniz Dogan <deniz@dogan.se>
23686
23687 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23688 user has not joined.
23689
23690 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23691
23692 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23693 aren't any completions at point.
23694
23695 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23696
23697 * subr.el (display-delayed-warnings): New function.
23698 (delayed-warnings-hook): New variable.
23699
23700 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23701
23702 * minibuffer.el (completion-at-point, completion-help-at-point):
23703 Don't presume that a given completion-at-point-function will always
23704 use the same calling convention.
23705
23706 * pcomplete.el (pcomplete-completions-at-point):
23707 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23708 pcomplete-seen is non-nil.
23709 (pcomplete-comint-setup): Also recognize the new comint/shell
23710 completion functions.
23711 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23712 pcomplete-seen is non-nil.
23713
23714 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23715
23716 * calendar/icalendar.el (diary-lib): Add require statement.
23717 (icalendar--create-uid): Read out a uid from a text-property on
23718 the first character in the entry. This allows for code to add its
23719 own uid to the entry.
23720 (icalendar--convert-float-to-ical): Add export of
23721 `diary-float'-entries save for those with the optional DAY
23722 argument.
23723
23724 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23725
23726 * subr.el (shell-quote-argument): Use alternate escaping strategy
23727 when we spot a variable reference in a string.
23728
23729 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23730
23731 * cus-start.el (all): Define customization for debug-on-event.
23732
23733 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23734
23735 * subr.el (shell-quote-argument): Escape correctly under Windows.
23736
23737 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23738
23739 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23740
23741 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23742
23743 * net/tramp.el (tramp-process-actions): Add POS argument.
23744 Delete region between POS and (pos).
23745
23746 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23747 Use `nil' position in `tramp-process-actions' call.
23748 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23749
23750 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23751 position in `tramp-process-actions' call.
23752
23753 * net/trampver.el: Update release number.
23754
23755 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23756
23757 * custom.el (defcustom): Obey lexical-binding.
23758
23759 Fix octave-inf completion problems reported by Alexander Klimov.
23760 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23761 Inherit from octave-mode-syntax-table.
23762 (inferior-octave-mode): Set info-lookup-mode.
23763 (inferior-octave-completion-at-point): New function.
23764 (inferior-octave-complete): Use it and completion-in-region.
23765 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23766 comint-filename-completion.
23767 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23768 symbol elements which shouldn't be word elements.
23769 (octave-font-lock-keywords, octave-beginning-of-defun)
23770 (octave-function-header-regexp): Adjust regexps accordingly.
23771 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23772
23773 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23774
23775 * net/gnutls.el (gnutls-errorp): Declare before first use.
23776
23777 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23778
23779 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23780 verify-error, and verify-hostname-error parameters. Check whether
23781 default trustfile exists before going to use it. Add missing
23782 argument to gnutls-message-maybe call. Return value.
23783 Reported by Claudio Bley <claudio.bley@gmail.com>.
23784 (open-gnutls-stream): Add usage example.
23785
23786 * net/network-stream.el (network-stream-open-starttls): Give host
23787 parameter to `gnutls-negotiate'.
23788 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23789 * subr.el (shell-quote-argument): Escape correctly under Windows.
23790
23791 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23792
23793 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23794 Use correct match group (bug#8438).
23795
23796 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23797
23798 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23799 (package-menu--generate): New arg specifying packages to show.
23800 (package-menu-refresh, package-menu-execute, list-packages):
23801 Callers changed.
23802 (package-show-package-list): New function, replacing deleted
23803 package--list-packages (renamed because it is non-internal).
23804
23805 * finder.el (finder-list-matches): Use package-show-package-list
23806 instead of deleted package--list-packages.
23807
23808 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23809 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23810 (vc-annotate-mode-map): Bind it to RET.
23811
23812 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23813
23814 * progmodes/etags.el (next-file): Don't use set-buffer to change
23815 buffers (Bug#8478).
23816
23817 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23818
23819 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23820
23821 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23822 (apropos-accumulator): Doc fix.
23823 (apropos-function, apropos-macro, apropos-command)
23824 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23825 (apropos-plist): Add face property.
23826 (apropos-symbols-internal): Fix indentation.
23827 (apropos-print): Simplify help, and recognize apropos-multi-type.
23828 (apropos-print-doc): Use button-type-get to extract the button's
23829 face property. Fill docstring (Bug#8352).
23830
23831 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23832
23833 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23834
23835 * play/mpuz.el (mpuz-silent): Doc fix.
23836 (mpuz-mode-map): Use mapc.
23837 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23838 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23839 Fix typos in docstrings.
23840
23841 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23842 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23843
23844 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23845
23846 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23847
23848 * minibuffer.el (completion--do-completion): Avoid the "Next char
23849 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23850
23851 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23852 mouse-2 into unread-command-events, it is interpreted correctly.
23853
23854 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23855 (image-toggle-display): Doc fix.
23856
23857 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23858
23859 * textmodes/page.el (what-page): Use line-number-at-pos to
23860 calculate line number (Bug#6825).
23861
23862 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23863
23864 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23865 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23866 Pass argument NO-DEFAULT to `find-tag-interactive'.
23867
23868 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23869
23870 Lexical-binding cleanup.
23871
23872 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23873 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23874 * progmodes/ada-prj.el (ada-prj-initialize-values)
23875 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23876 (ada-prj-show-value):
23877 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23878 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23879 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23880 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23881 * progmodes/bug-reference.el (bug-reference-push-button):
23882 * progmodes/fortran.el (fortran-line-length):
23883 * progmodes/glasses.el (glasses-change):
23884 * progmodes/octave-mod.el (octave-fill-paragraph):
23885 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23886 (python-pdbtrack-grub-for-buffer, python-sentinel):
23887 * progmodes/sql.el (sql-save-connection):
23888 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23889 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23890 Mark unused parameters.
23891
23892 * progmodes/compile.el (compilation--flush-directory-cache)
23893 (compilation--flush-parse, compile-internal): Mark unused parameters.
23894 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23895 (compilation-next-error-function): Remove unused variable `timestamp'.
23896
23897 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23898 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23899
23900 * progmodes/dcl-mode.el (dcl-end-of-command):
23901 Remove unused variable `start'.
23902 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23903 (dcl-option-value-basic, dcl-option-value-offset)
23904 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23905 Mark unused parameters.
23906 (dcl-save-local-variable): Remove unused variable `val'.
23907 (mode): Declare.
23908
23909 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23910 Mark unused parameters.
23911 (delphi-ignore-changes): Move before first use.
23912 (delphi-charset-token-at): Remove unused variable `start'.
23913 (delphi-else-start): Remove unused variable `if-count'.
23914 (delphi-comment-block-start, delphi-comment-block-end):
23915 Remove unused variable `kind'.
23916 (delphi-indent-line): Remove unused variable `new-point'.
23917
23918 * progmodes/ebrowse.el (ebrowse-files-list)
23919 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23920 Mark unused parameters. Don't quote `lambda'.
23921 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23922 Don't quote `lambda'.
23923 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23924 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23925 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23926 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23927 Use `ignore-errors'.
23928 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23929 (ebrowse-view/find-file-and-search-pattern)
23930 (ebrowse-view/find-member-declaration/definition):
23931 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23932 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23933 Rename parameter PREFIX-ARG to PREFIX.
23934 (ebrowse-tags-read-name): Remove unused variables `start' and
23935 `member-info'.
23936 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23937 to `tags-file'.
23938
23939 * progmodes/etags.el (local-find-tag-hook): Declare.
23940 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23941 Mark unused parameters.
23942
23943 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23944 (executable-interpret): Mark unused parameter.
23945
23946 * progmodes/flymake.el (flymake-process-sentinel)
23947 (flymake-after-change-function)
23948 (flymake-create-temp-with-folder-structure)
23949 (flymake-get-include-dirs-dot): Mark unused parameters.
23950 (flymake-safe-delete-directory): Remove unused variable `err'.
23951
23952 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23953 (speedbar-timer-fn, speedbar-line-text)
23954 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23955 (speedbar-center-buffer-smartly): Declare functions.
23956 (gdb-find-watch-expression): Remove unused variable `array'.
23957 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23958 (gdb-starting): Mark unused parameters.
23959 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23960 (gdb-table-string): Remove unused variable `res'.
23961 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23962 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23963 (gdb-display-buffer): Remove unused variable `cur-size'.
23964
23965 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23966 allow lexical-binding compilation.
23967 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23968 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23969 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23970 Mark unused parameters.
23971 (gud-gdb-marker-filter): Remove unused variable `match'.
23972 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23973 lambda expressions and funcall them, instead of using `fset'.
23974
23975 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23976 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23977
23978 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23979 variable `header-beg'; use `let'.
23980
23981 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23982 `restart', `last-sexp' and `at-do'.
23983
23984 * progmodes/js.el (js--debug): Mark unused parameter.
23985 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23986 (js--splice-into-items): Remove unused variable `item'.
23987 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23988
23989 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23990 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23991 (makefile-complete): Remove unused variable `try'.
23992 (makefile-fill-paragraph, makefile-match-function-end):
23993 Mark unused parameters.
23994
23995 * progmodes/octave-inf.el (inferior-octave-complete):
23996 Remove unused variable `proc'.
23997 (inferior-octave-output-digest): Mark unused parameter.
23998
23999 * progmodes/perl-mode.el (perl-calculate-indent):
24000 Remove unused variable `err'.
24001
24002 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24003 (prolog-indent-line): Mark unused parameters.
24004 (prolog-indent-line): Remove unused variable `beg'.
24005
24006 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24007 (reporter-dont-compact-list): Declare.
24008
24009 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24010 Remove unused variable `char'.
24011 (sh-debug): Mark unused parameter.
24012 (sh-get-indent-info): Remove unused variable `start'.
24013 (sh-calculate-indent): Remove unused variable `var'.
24014
24015 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24016 (simula-electric-keyword): Remove unused variable `null'.
24017 (simula-search-backward, simula-search-forward): Remove unused
24018 variables `begin' and `end'.
24019
24020 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24021 Remove unused variable `pos'.
24022 (vera-electric-tab, vera-comment-uncomment-region):
24023 Mark unused parameters.
24024 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24025
24026 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24027
24028 * emacs-lisp/package.el (package--builtins, package-alist)
24029 (package-load-descriptor, package-built-in-p, package-activate)
24030 (define-package, package-installed-p)
24031 (package-compute-transaction, package-buffer-info)
24032 (package--push): Doc fix. Distinguish more clearly between
24033 version strings and version lists.
24034
24035 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24036
24037 Lexical-binding cleanup.
24038
24039 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24040 (5x5-make-mutate-best):
24041 * play/fortune.el (fortune-in-buffer):
24042 * play/gomoku.el (gomoku-init-display):
24043 * play/solitaire.el (solitaire, solitaire-do-check):
24044 * play/tetris.el (tetris-default-update-speed-function):
24045 Mark unused parameters.
24046
24047 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24048 (bubbles--shift): Remove unused variable `char-org'.
24049 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24050 (bubbles--show-images): Remove unused variable `char'.
24051
24052 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24053 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24054 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24055 (decipher-analyze-buffer): Use ?\s.
24056 (decipher-make-checkpoint): Remove unused variable `mapping'.
24057
24058 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24059
24060 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24061 Remove unused variable `result'; use `let'.
24062
24063 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24064 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24065 (gametree-children-shown-p, gametree-compute-reduced-score):
24066 Use `ignore-errors'.
24067
24068 * play/handwrite.el (ps-lpr-switches): Declare.
24069 (handwrite): Remove unused variables `pmin' and `lastp'.
24070
24071 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24072
24073 * play/landmark.el (landmark-init-display)
24074 (landmark-update-naught-weights): Mark unused parameters.
24075 (landmark-y): Remove unused variable `noise'. Simplify.
24076 (landmark-human-plays): Remove unused variable `score'.
24077
24078 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24079 (mpuz-try-proposal): Remove unused variable `game'.
24080
24081 * play/zone.el (life-patterns): Declare.
24082
24083 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24084
24085 * vc/vc.el (ediff-vc-internal): Declare function.
24086
24087 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24088
24089 * shell.el: Use lexical-binding and std completion UI.
24090 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24091 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24092 comint-preoutput-filter-functions rather than on
24093 comint-output-filter-functions.
24094 (shell-command-completion, shell--command-completion-data)
24095 (shell-filename-completion, shell-environment-variable-completion)
24096 (shell-c-a-p-replace-by-expanded-directory): New functions.
24097 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24098 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24099 (shell-dynamic-complete-environment-variable): Use them.
24100 (shell-dynamic-complete-as-environment-variable)
24101 (shell-dynamic-complete-as-command): Remove.
24102 (shell-match-partial-variable): Match past point.
24103 * comint.el: Clean up use of completion-at-point-functions.
24104 (comint-completion-at-point): New function.
24105 (comint-mode): Use it completion-at-point-functions.
24106 (comint-dynamic-complete): Make it obsolete.
24107 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24108 (comint-c-a-p-replace-by-expanded-history): New function.
24109 (comint-dynamic-complete-functions)
24110 (comint-replace-by-expanded-history): Use it.
24111 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24112 termination strings. Try harder to avoid second try-completion.
24113 (completion-in-region-mode-map): Disable bindings that don't work yet.
24114
24115 * comint.el: Use lexical-binding. Require CL.
24116 (comint-dynamic-complete-functions): Use comint-filename-completion.
24117 (comint-completion-addsuffix): Tweak custom type.
24118 (comint-filename-completion, comint--common-suffix)
24119 (comint--common-quoted-suffix, comint--table-subvert)
24120 (comint--complete-file-name-data): New functions.
24121 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24122 (comint-dynamic-list-filename-completions): Use them.
24123 (comint-dynamic-simple-complete): Make obsolete.
24124
24125 * minibuffer.el (completion-in-region-mode):
24126 Keep completion-in-region-mode--predicate global.
24127 (completion-in-region--postch):
24128 Assume completion-in-region-mode--predicate is not null.
24129
24130 * progmodes/flymake.el (flymake-start-syntax-check-process):
24131 Obey `dir'. Simplify.
24132
24133 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24134 we're in VC after all.
24135
24136 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24137
24138 * vc/vc.el (vc-diff-build-argument-list-internal)
24139 (vc-version-ediff, vc-ediff): New commands.
24140 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24141
24142 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24143
24144 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24145 add sanity check.
24146
24147 * obsolete/erc-hecomplete.el: Make obsolete.
24148 * obsolete/: Standardize obsolescence info in the header.
24149
24150 2011-04-20 Glenn Morris <rgm@gnu.org>
24151
24152 * calendar/solar.el (solar-horizontal-coordinates):
24153 Use the longitude argument rather than `calendar-longitude'.
24154 (solar-date-next-longitude): Remove unused locals.
24155
24156 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24157
24158 * whitespace.el: New version 13.2.1.
24159
24160 2011-04-20 felix <EmacsWiki> (tiny change)
24161
24162 * whitespace.el (global-whitespace-mode): Keep highlight when
24163 switching between major modes on a file.
24164
24165 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24166
24167 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24168 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24169 multi-line comments as well.
24170
24171 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24172
24173 Lexical-binding cleanup.
24174
24175 * arc-mode.el (archive-mode-revert):
24176 * cmuscheme.el (scheme-interactively-start-process):
24177 * custom.el (custom-initialize-delay):
24178 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24179 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24180 * emacs-lock.el (emacs-lock-clear-sentinel):
24181 * ezimage.el (defezimage):
24182 * follow.el (follow-avoid-tail-recenter):
24183 * fringe.el (set-fringe-mode-1):
24184 * generic-x.el (bat-generic-mode-compile):
24185 * help-mode.el (help-info-variable, help-do-xref)
24186 (help-mode-revert-buffer):
24187 * help.el (view-emacs-todo):
24188 * iswitchb.el (iswitchb-completion-help):
24189 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24190 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24191 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24192 * locate.el (locate-update):
24193 * longlines.el (longlines-encode-region)
24194 (longlines-after-change-function):
24195 * outline.el (outline-isearch-open-invisible):
24196 * ps-def.el (declare-function, charset-dimension, char-width)
24197 (encode-char):
24198 * ps-mule.el (ps-mule-plot-string):
24199 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24200 (recentf-edit-list-select, recentf-edit-list-validate)
24201 (recentf-open-files-action):
24202 * rect.el (delete-whitespace-rectangle-line)
24203 (rectangle-number-line-callback):
24204 * register.el (window-configuration-to-register)
24205 (frame-configuration-to-register):
24206 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24207 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24208 (xselect-convert-to-targets, xselect-convert-to-delete)
24209 (xselect-convert-to-filename, xselect-convert-to-charpos)
24210 (xselect-convert-to-lineno, xselect-convert-to-colno)
24211 (xselect-convert-to-os, xselect-convert-to-host)
24212 (xselect-convert-to-user, xselect-convert-to-class)
24213 (xselect-convert-to-name, xselect-convert-to-integer)
24214 (xselect-convert-to-atom, xselect-convert-to-identity):
24215 * subr.el (declare, ignore, process-kill-without-query)
24216 (text-clone-maintain):
24217 * terminal.el (te-get-char, te-tic-sentinel):
24218 * tool-bar.el (tool-bar-make-keymap):
24219 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24220 * type-break.el (type-break-mode, type-break-noninteractive-query):
24221 * view.el (View-back-to-mark):
24222 * wid-browse.el (widget-browse-action, widget-browse-widget)
24223 (widget-browse-widgets, widget-browse-sexp):
24224 * widget.el (define-widget-keywords):
24225 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24226 Mark unused parameters.
24227
24228 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24229 (align-areas): Remove unused variable `look'.
24230 (align-region): Remove unused variables `real-end' and `pos-list'.
24231
24232 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24233
24234 * bindings.el (mode-line-modified, mode-line-remote):
24235 Mark unused parameters.
24236 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24237
24238 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24239 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24240
24241 * comint.el (comint-history-isearch-pop-state)
24242 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24243 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24244 (comint-substitute-in-file-name): Doc fix.
24245
24246 * completion.el (cmpl-statistics-block): Mark unused parameter.
24247 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24248 (save-completions-to-file, load-completions-from-file):
24249 Remove unused local variable `e'.
24250
24251 * composite.el (compose-chars): Remove unused variable `len'.
24252 (lgstring-insert-glyph): Remove unused variable `g'.
24253 (compose-glyph-string): Remove unused variables `ascent',
24254 `descent', `lbearing' and `rbearing'.
24255 (compose-glyph-string-relative): Remove unused variables
24256 `lbearing', `rbearing' and `wadjust'.
24257 (compose-gstring-for-graphic): Remove unused variables `header',
24258 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24259 (compose-gstring-for-terminal): Remove unused variables `header'
24260 and `nchars'. Use `let', not `let*'.
24261
24262 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24263 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24264 (Custom-buffer-done, custom-buffer-create-internal)
24265 (custom-browse-visibility-action, custom-browse-group-tag-action)
24266 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24267 (widget-magic-mouse-down-action, custom-toggle-parent)
24268 (custom-add-parent-links, custom-toggle-hide-variable)
24269 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24270 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24271 (custom-face-menu-create, custom-variable-menu-create, get)
24272 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24273 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24274 (customize-apropos): Remove unused variable `tests'.
24275 (custom-group-value-create): Remove unused variable `hidden-p'.
24276 (sort-fold-case): Declare.
24277
24278 * cus-theme.el (custom-reset-standard-faces-list)
24279 (custom-reset-standard-variables-list): Declare.
24280 (customize-create-theme, custom-theme-revert, custom-theme-write)
24281 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24282 Mark unused parameters.
24283
24284 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24285
24286 * delim-col.el (delimit-columns-max): Move defvar before first use.
24287
24288 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24289 (describe-char): Don't quote `lambda'. Mark unused parameter.
24290
24291 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24292 (auto-insert): Declare.
24293 (desktop-restore-file-buffer): Rename desktop-* parameters;
24294 mark unused ones.
24295 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24296 (desktop-buffer): Rename desktop-* parameters.
24297
24298 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24299 (dframe-reposition-frame-xemacs, dframe-help-echo)
24300 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24301 Mark unused parameters.
24302
24303 * dired-aux.el (backup-extract-version-start, overwrite-query)
24304 (overwrite-backup-query, rename-regexp-query)
24305 (rename-non-directory-query): Declare.
24306 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24307 (dired-add-entry): Remove unused variable `orig-file-name'.
24308 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24309 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24310 `dired-copy-preserve-time' directly.
24311 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24312 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24313
24314 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24315 (dired-virtual-revert, dired-make-relative-symlink):
24316 Mark unused parameters.
24317 (manual-program): Declare.
24318 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24319 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24320 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24321
24322 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24323
24324 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24325
24326 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24327 Declare.
24328
24329 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24330
24331 * electric.el (Electric-command-loop): Rename parameter
24332 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24333
24334 * expand.el (expand-in-literal): Remove unused variable `here'.
24335
24336 * facemenu.el (facemenu-add-new-color):
24337 Remove unused variable `docstring'.
24338
24339 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24340 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24341 (face-attr-construct): Mark unused parameter. Doc fix.
24342 (read-color): Remove unused variable `hex-string'.
24343
24344 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24345 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24346 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24347 (display-buffer-other-frame): Remove unused variable `old-window'.
24348 (kill-buffer-hook): Declare.
24349 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24350 Mark unused parameters.
24351 (after-find-file): Pass 1 to `auto-save-mode', not t.
24352
24353 * files-x.el (auto-insert): Declare.
24354 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24355
24356 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24357 variable `buf'. Mark unused parameter.
24358 (find-lisp-insert-directory): Mark unused parameter.
24359
24360 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24361 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24362 (format-common-tail): Remove, unused.
24363 (format-deannotate-region): Remove unused variable `loc'.
24364 (format-annotate-region): Remove unused variable `p'.
24365 (format-annotate-single-property-change): Remove unused variables
24366 `default' and `tail'.
24367
24368 * forms.el (read-file-filter): Declare.
24369 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24370
24371 * frame.el (frame-creation-function-alist): Mark unused parameter.
24372 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24373
24374 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24375 Remove unused parameters.
24376 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24377 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24378
24379 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24380 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24381 (hfy-prepare-tag-map): Mark unused parameters.
24382 (htmlfontify-buffer): Use `called-interactively-p'.
24383
24384 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24385 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24386 (ibuffer-do-occur): Mark unused parameters.
24387 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24388 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24389
24390 * ibuffer.el: Don't quote `lambda'.
24391 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24392 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24393 Mark unused parameters.
24394
24395 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24396 (ido-completing-read): Mark unused parameters.
24397 (ido-copy-current-word): Mark unused parameters;
24398 remove unused variable `name'.
24399 (ido-sort-merged-list): Remove unused parameter `dirs'.
24400
24401 * ielm.el (ielm-input-sender): Mark unused parameter.
24402 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24403 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24404 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24405 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24406 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24407
24408 * image-dired.el (image-dired-display-thumbs): Remove unused
24409 variables `curr-file' and `count'.
24410 (image-dired-remove-tag): Remove unused variable `start'.
24411 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24412 variable `curr-file'
24413 (image-dired-rotate-original): Remove unused variable `temp-file'.
24414 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24415 Remove unused variable `file'.
24416 (image-dired-gallery-generate): Remove unused variable `curr'.
24417 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24418
24419 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24420
24421 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24422
24423 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24424
24425 * isearch.el (minibuffer-history-symbol): Declare.
24426 (isearch-edit-string): Remove unused variable `err'.
24427 (isearch-message-prefix, isearch-message-suffix):
24428 Mark unused parameters.
24429
24430 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24431
24432 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24433
24434 * makesum.el (double-column): Remove unused variable `cnt'.
24435
24436 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24437 (ido-ignore-item-temp-list): Declare.
24438
24439 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24440 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24441 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24442 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24443 `mouse-col-delta'.
24444
24445 * mouse-sel.el (mouse-extend-internal):
24446 Remove unused variable `orig-window-frame'.
24447
24448 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24449 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24450 Move declarations before first use.
24451 (pcomplete-opt): Mark unused parameters; doc fix.
24452
24453 * proced.el (proced-revert): Mark unused parameter.
24454 (proced-send-signal): Remove unused variable `err'.
24455
24456 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24457 Rename parameter PREFIX-ARG to ARG.
24458 (ps-basic-plot-string, ps-basic-plot-whitespace):
24459 Mark unused parameters.
24460
24461 * replace.el (replace-count): Define.
24462 (occur-revert-function): Mark unused parameters.
24463 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24464 (isearch-case-fold-search, isearch-string): Declare.
24465 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24466 bind `case-fold-search'. Remove unused variables `beg' and `end',
24467 and simplify.
24468 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24469 COUNT and bind `replace-count'.
24470 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24471 to COUNT.
24472
24473 * savehist.el (print-readably, print-string-length): Declare.
24474
24475 * shadowfile.el (shadow-expand-cluster-in-file-name):
24476 Remove unused variable `cluster'.
24477 (shadow-copy-file): Remove unused variable `i'.
24478 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24479 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24480 (shadow-define-literal-group, shadow-define-regexp-group)
24481 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24482
24483 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24484 (shell): Use `called-interactively-p'.
24485 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24486
24487 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24488 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24489 (delete-backward-char): Remove unused variable `ocol'.
24490 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24491 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24492 (event-apply-hyper-modifier, event-apply-shift-modifier)
24493 (event-apply-control-modifier, event-apply-meta-modifier):
24494 Mark unused parameters.
24495 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24496 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24497
24498 * speedbar.el (speedbar-ignored-directory-expressions)
24499 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24500 (speedbar-find-file, speedbar-dir-follow)
24501 (speedbar-directory-buttons-follow, speedbar-tag-find)
24502 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24503 (speedbar-buffers-line-directory, speedbar-buffer-click):
24504 Mark unused parameters.
24505 (speedbar-tag-file): Remove unused variable `mode'.
24506 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24507
24508 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24509
24510 * talk.el (talk): Remove unused variable `display'.
24511
24512 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24513 (tar-write-region-annotate): Mark unused parameter.
24514
24515 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24516 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24517 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24518 warning by another.
24519
24520 * time-stamp.el (time-stamp-string-preprocess):
24521 Remove unused variable `require-padding'.
24522
24523 * tree-widget.el (widget-glyph-enable): Declare.
24524 (tree-widget-action): Mark unused parameter.
24525
24526 * w32-fns.el (x-get-selection): Mark unused parameter.
24527 (autoload-make-program, generated-autoload-file): Declare.
24528
24529 * wdired.el (wdired-revert): Mark unused parameters.
24530 (wdired-xcase-word): Remove unused variable `err'.
24531
24532 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24533 (whitespace-help-scroll): Remove unused variable `data-help'.
24534
24535 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24536 (widget-image-insert, widget-after-change, default)
24537 (widget-default-format-handler, widget-default-notify)
24538 (widget-default-prompt-value, widget-info-link-action)
24539 (widget-url-link-action, widget-function-link-action)
24540 (widget-variable-link-action, widget-file-link-action)
24541 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24542 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24543 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24544 (widget-insert-button-action, widget-delete-button-action, visibility)
24545 (widget-documentation-link-action, widget-documentation-string-action)
24546 (widget-const-prompt-value, widget-regexp-match, symbol)
24547 (widget-coding-system-prompt-value)
24548 (widget-key-sequence-value-to-external, sexp)
24549 (widget-sexp-value-to-internal, character, vector, cons)
24550 (widget-choice-prompt-value, widget-boolean-prompt-value)
24551 (widget-color--choose-action): Mark unused parameters.
24552 (widget-item-match-inline, widget-choice-match-inline)
24553 (widget-checklist-match, widget-checklist-match-inline)
24554 (widget-group-match): Rename parameter VALUES to VALS.
24555 (widget-field-value-set): Remove unused variable `size'.
24556 (widget-color-action): Remove unused variables `value' and `start'.
24557
24558 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24559 variable `dir'. Doc fix.
24560 (windmove-find-other-window): Don't pass it.
24561
24562 * window.el (count-windows): Mark unused parameter.
24563 (bw-adjust-window): Remove unused variable `err'.
24564
24565 * woman.el (woman-file-name): Remove unused variable `default'.
24566 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24567 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24568 (global-font-lock-mode): Declare.
24569 (woman-decode-region): Mark unused parameter.
24570 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24571
24572 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24573 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24574 (x-dnd-handle-moz-url): Remove unused variable `title'.
24575 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24576
24577 * xml.el (xml-parse-tag, xml-parse-attlist):
24578 Remove unused variable `pos'.
24579
24580 2011-04-19 Glenn Morris <rgm@gnu.org>
24581
24582 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24583 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24584 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24585 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24586 * calendar/cal-html.el (cal-html-insert-minical):
24587 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24588 (calendar-mark-date-pattern):
24589 Prefix "unused" locals.
24590
24591 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24592 optional argument `style'.
24593
24594 * calendar/appt.el (appt-make-list):
24595 * calendar/cal-china.el (calendar-chinese-date-string):
24596 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24597 (diary-hebrew-yahrzeit):
24598 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24599 * calendar/calendar.el (calendar-generate-window):
24600 * calendar/time-date.el (time-to-days):
24601 Remove unused local variables.
24602
24603 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24604
24605 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24606 glyphless-char-display table.
24607 (tabulated-list-glyphless-char-display): New var.
24608
24609 2011-04-18 Sam Steingold <sds@gnu.org>
24610
24611 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24612 to acknowledgments.
24613
24614 2011-04-17 Glenn Morris <rgm@gnu.org>
24615
24616 * calendar/diary-lib.el (diary-sexp-entry):
24617 * calendar/holidays.el (holiday-sexp):
24618 Set debug-on-error rather than the removed stack-trace-on-error.
24619
24620 2011-04-16 Glenn Morris <rgm@gnu.org>
24621
24622 * progmodes/f90.el: Use lexical-binding.
24623 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24624
24625 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24626
24627 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24628 (mail-mode): Setup mailalias completion here instead.
24629 * mail/mailalias.el: Use lexical-binding.
24630 (pattern, mailalias-done): Declare dynamic.
24631 (mail-completion-at-point-function): New function, from mail-complete.
24632 (mail-complete): Use it.
24633 (mail-completion-expand): New function.
24634 (mail-get-names): Use it.
24635 (mail-directory, mail-directory-process, mail-directory-stream):
24636 Don't use `pattern' for lexically bound arg.
24637
24638 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24639
24640 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24641 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24642 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24643
24644 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24645 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24646 (byte-interactive-p): Define them again, for use when inlining
24647 old code.
24648
24649 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24650
24651 * loadup.el: Use `string-to-number', not `string-to-int'.
24652
24653 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24654
24655 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24656 gud-gdb-complete-command.
24657 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24658 (gud-gdb-completion-at-point): New function.
24659 (gud-gdb-completions): Remove.
24660
24661 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24662
24663 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24664 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24665 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24666 whether `executable-find' is bound.
24667
24668 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24669
24670 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24671
24672 * minibuffer.el (completion-in-region-mode-predicate)
24673 (completion-in-region-mode--predicate): New vars.
24674 (completion-in-region, completion-in-region--postch)
24675 (completion-in-region-mode): Use them.
24676 (completion--capf-wrapper): Also return the hook function.
24677 (completion-at-point, completion-help-at-point):
24678 Adjust and provide a predicate.
24679
24680 Preserve arg names for advice of subr and lexical functions (bug#8457).
24681 * help-fns.el (help-function-arglist): Consolidate the subr and
24682 new-byte-code cases. Add argument `preserve-names' to extract names
24683 from the docstring when needed.
24684 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24685 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24686 (ad-arglist): Use help-function-arglist's new arg.
24687 (ad-definition-type): Use cond.
24688
24689 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24690
24691 * autorevert.el (auto-revert-handler):
24692 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24693 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24694 Don't quote lambda.
24695
24696 * image-mode.el (image-transform-set-scale):
24697 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24698
24699 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24700
24701 * net/network-stream.el (network-stream-open-starttls): Only do
24702 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24703 Upgrades via gnutls-cli are too slow to be done opportunistically.
24704
24705 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24706
24707 * dframe.el (dframe-current-frame): Remove spurious quote.
24708
24709 2011-04-12 Glenn Morris <rgm@gnu.org>
24710
24711 * calendar/cal-tex.el (cal-tex-end-document):
24712 Try to automatically use latin1 input if needed.
24713
24714 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24715 Don't try to cons a mark onto an empty element.
24716
24717 2011-04-11 Leo Liu <sdl.web@gmail.com>
24718
24719 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24720 buffers.
24721 (ido-kill-buffer-at-head): Support killing virtual buffers.
24722
24723 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24724
24725 * minibuffer.el (completion-show-inline-help): New var.
24726 (completion--do-completion, minibuffer-complete)
24727 (minibuffer-force-complete, minibuffer-complete-word):
24728 Inhibit minibuffer messages if completion-show-inline-help is nil.
24729
24730 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24731 to avoid interference from inline help (Bug#5849).
24732
24733 2011-04-10 Leo Liu <sdl.web@gmail.com>
24734
24735 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24736 Fix typo.
24737
24738 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24739
24740 * image-mode.el (image-toggle-display-image): Signal an error if
24741 not in Image mode.
24742 (image-transform-mode, image-transform-resize)
24743 (image-transform-set-rotation): Doc fix.
24744 (image-transform-set-resize): Delete.
24745 (image-transform-set-scale, image-transform-fit-to-height)
24746 (image-transform-fit-to-width): Handle image-toggle-display-image
24747 and image-transform-resize directly.
24748
24749 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24750
24751 * doc-view.el (doc-view-fit-width-to-window)
24752 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24753 New functions for fitting the shown image to the Emacs window size.
24754 (doc-view-mode-map): Add bindings for the new functions.
24755
24756 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24757
24758 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24759 Fix typo in docstring.
24760
24761 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24762
24763 * files.el (file-size-human-readable): Produce one digit after
24764 decimal, like "ls -lh" does.
24765
24766 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24767 the file size representation.
24768
24769 * simple.el (list-processes): If async subprocesses are not
24770 available, error out with a clear error message.
24771
24772 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24773
24774 * help.el (help-form-show): New function, to be called from C.
24775 Put help-form output in a buffer named differently than *Help*.
24776
24777 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24778
24779 * files.el (file-size-human-readable): New function.
24780
24781 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24782 computing the representation inline. Don't require `cl'.
24783
24784 2011-04-08 Glenn Morris <rgm@gnu.org>
24785
24786 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24787
24788 * net/browse-url.el (browse-url-firefox):
24789 Test system-type, not system-configuration.
24790
24791 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24792 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24793 Use log-edit-empty-buffer-p. (Bug#7598)
24794
24795 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24796 (rlogin-mode-map): Initialize in the defvar.
24797 (rlogin): Use ignore-errors.
24798
24799 * replace.el (occur-mode-map): Some fixes for menu items.
24800
24801 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24802
24803 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24804
24805 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24806
24807 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24808 issuing unused warnings.
24809
24810 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24811 macro directly.
24812
24813 * simple.el: Lisp reimplement of list-processes. Based on an
24814 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24815 (process-menu-mode): New major mode.
24816 (list-processes--refresh, list-processes):
24817 (process-menu-visit-buffer): New functions.
24818
24819 * files.el (save-buffers-kill-emacs): Don't assume any return
24820 value of list-processes, which is undocumented anyway.
24821
24822 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24823
24824 * emacs-lisp/tabulated-list.el: New file.
24825
24826 * emacs-lisp/package.el: Use Tabulated List mode.
24827 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24828 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24829 table format using Tabulated List mode variables.
24830 (package--push): New macro, replacing package-list-maybe-add.
24831 (package-menu--generate): Use package--push. Renamed from
24832 package--generate-package-list.
24833 (package-menu-refresh, list-packages): Use it.
24834 (package-menu--print-info): Rename from package-print-package.
24835 Return insertion data instead of inserting it directly.
24836 (package-menu-describe-package, package-menu-execute):
24837 Use tabulated-list-get-id.
24838 (package-menu-mark-delete, package-menu-mark-install)
24839 (package-menu-mark-unmark, package-menu-backup-unmark)
24840 (package-menu-mark-obsolete-for-deletion):
24841 Use tabulated-list-put-tag.
24842 (package--list-packages, package-menu-revert)
24843 (package-menu-get-package, package-menu-get-version)
24844 (package-menu-sort-by-column): Functions deleted.
24845 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24846 (package-menu--status-predicate, package-menu--version-predicate)
24847 (package-menu--name-predicate)
24848 (package-menu--description-predicate): Handle arguments in the
24849 Tabulated List format.
24850 (package-list-packages-no-fetch): Call list-packages.
24851
24852 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24853
24854 * files.el (after-find-file-from-revert-buffer): Remove variable.
24855 (after-find-file): Don't bind it.
24856 (revert-buffer-in-progress-p): New variable.
24857 (revert-buffer): Bind it.
24858 Pass nil for `after-find-file-from-revert-buffer'.
24859
24860 * saveplace.el (save-place-find-file-hook): Use new variable
24861 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24862
24863 2011-04-06 Glenn Morris <rgm@gnu.org>
24864
24865 * Makefile.in (AUTOGEN_VCS): New variable.
24866 (autoloads): Use $AUTOGEN_VCS.
24867
24868 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24869 * calendar/calendar.el (calendar-mode-map):
24870 Check for toolkit scroll bars. (Bug#8305)
24871
24872 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24873
24874 * minibuffer.el (completion-in-region--postch)
24875 (completion-in-region-mode): Remove unnecessary messages.
24876
24877 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24878
24879 * font-lock.el (font-lock-refresh-defaults):
24880 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24881 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24882
24883 * info.el (Info-directory-list, Info-read-node-name-2)
24884 (Info-split-parameter-string): Doc fixes.
24885 (Info-virtual-nodes): Reflow docstring.
24886 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24887 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24888 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24889 Fix typos in docstrings.
24890 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24891 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24892 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24893 (Info-restore-desktop-buffer): Mark unused parameters.
24894 (Info-directory-find-file, Info-directory-find-node)
24895 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24896 (Info-virtual-index-find-node, Info-apropos-find-file)
24897 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24898 Mark unused parameters; fix typos in docstrings.
24899 (Info-virtual-index): Remove unused local variable `nodename'.
24900
24901 2011-04-05 Deniz Dogan <deniz@dogan.se>
24902
24903 * net/rcirc.el: Update my e-mail address.
24904 (rcirc-mode-map): Remove M-o binding.
24905
24906 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24907
24908 * startup.el (command-line): Save the cursor's theme-face
24909 directly, instead of using face-override-spec.
24910
24911 * custom.el (load-theme): Minor optimization in assigning faces.
24912
24913 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24914
24915 * help-fns.el (describe-variable): Complete all variables having
24916 documentation, including keywords.
24917 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24918
24919 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24920
24921 Convert to lexical-binding.
24922
24923 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24924 (bs--get-marked-string, bs--get-modified-string)
24925 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24926 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24927 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24928
24929 * ehelp.el (electric-help-execute-extended)
24930 (electric-help-ctrl-x-prefix):
24931 * hexl.el (hexl-revert-buffer-function):
24932 * linum.el (linum-after-change, linum-after-scroll):
24933 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24934
24935 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24936
24937 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24938
24939 * epa-dired.el:
24940 * epa-mail.el:
24941 * epa-hook.el:
24942 * epa-file.el:
24943 * epa.el:
24944 * epg.el: Use lexical binding.
24945
24946 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24947
24948 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24949
24950 * textmodes/flyspell.el (flyspell-word): Recognize default
24951 dictionary case for flyspell-mark-duplications-exceptions.
24952 Use regexp matching for languages.
24953 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24954 default dictionary (Bug#7926).
24955
24956 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24957
24958 * emacs-lisp/package.el (package--with-work-buffer):
24959 Recognize https URLs.
24960
24961 * net/network-stream.el: Move from gnus/proto-stream.el.
24962 Change prefix to network-stream throughout.
24963 (open-protocol-stream): Merge into open-network-stream, leaving
24964 open-protocol-stream as an alias. Handle nil BUFFER args.
24965
24966 * subr.el (open-network-stream): Move to net/network-stream.el.
24967
24968 2011-04-02 Glenn Morris <rgm@gnu.org>
24969
24970 * find-dired.el (find-exec-terminator): New option.
24971 (find-ls-option): Test for -ls support.
24972 (find-ls-subdir-switches): Test for -b in find-ls-option.
24973 (find-dired, find-grep-dired): Doc fixes.
24974 (find-dired): Use find-exec-terminator.
24975
24976 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24977 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24978 (find-name-arg): Remove purecopy.
24979
24980 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24981 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24982 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24983 accordingly. Don't add the null-device if not needed.
24984
24985 * files.el (save-some-buffers): Doc fix.
24986
24987 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24988
24989 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24990
24991 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24992
24993 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24994 Use `dolist' rather than `mapcar'.
24995
24996 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24997
24998 Add lexical binding.
24999
25000 * subr.el (apply-partially): Use new closures rather than CL.
25001 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25002 (dolist, dotimes): Use slightly different expansion for lexical code.
25003 (functionp): Move to C.
25004 (letrec): New macro.
25005 (with-wrapper-hook): Use it and apply-partially instead of CL.
25006 (eval-after-load): Preserve lexical-binding.
25007 (save-window-excursion, with-output-to-temp-buffer): Turn them
25008 into macros.
25009
25010 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25011
25012 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25013 than the arglist.
25014 (help-add-fundoc-usage): Don't add `Not documented'.
25015 (help-function-arglist): Handle closures, subroutines, and new
25016 byte-code-functions.
25017 (help-make-usage): Remove leading underscores.
25018 (describe-function-1): Handle closures.
25019 (describe-variable): Use special-variable-p for completion.
25020
25021 * files.el (lexical-binding): Declare safe.
25022
25023 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25024 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25025 (pcase): Add `let' pattern.
25026 Change memoization so it actually works.
25027 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25028 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25029 <let>: New case.
25030
25031 * emacs-lisp/macroexp.el: Use lexical binding.
25032 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25033 Don't convert ' to #' without checking that it's indeed quoting
25034 a lambda.
25035
25036 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25037 Use eval-sexp-add-defvars.
25038 (eval-sexp-add-defvars): New fun.
25039
25040 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25041
25042 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25043 Don't autoload.
25044 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25045 than the internal `byte-compile-lambda'.
25046 (defmethod): Don't hide code under quotes.
25047 (eieio-defmethod): New `code' argument.
25048
25049 * emacs-lisp/eieio-comp.el: Remove.
25050
25051 * emacs-lisp/edebug.el (edebug-eval-defun)
25052 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25053 (edebug-toggle): Avoid `eval'.
25054
25055 * emacs-lisp/disass.el (disassemble-internal): Handle new
25056 `closure' objects.
25057 (disassemble-1): Handle new byte codes.
25058
25059 * emacs-lisp/cl.el (pushnew): Silence warning.
25060
25061 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25062 (cl-byte-compile-throw): Remove.
25063 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25064
25065 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25066 closures.
25067
25068 * emacs-lisp/cconv.el: New file.
25069
25070 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25071 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25072 (byte-compile-initial-macro-environment):
25073 Handle declare-function here.
25074 (byte-compile--lexical-environment): New var.
25075 (byte-stack-ref, byte-stack-set, byte-discardN)
25076 (byte-discardN-preserve-tos): New lap codes.
25077 (byte-interactive-p): Don't use any more.
25078 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25079 New macros.
25080 (byte-compile-lapcode): Use them and handle new lap codes.
25081 (byte-compile-obsolete): Remove.
25082 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25083 (byte-compile-arglist-warn): Check late def of inlinable funs.
25084 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25085 since they should have been expanded by now.
25086 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25087 (byte-compile-from-buffer): Remove unused second arg.
25088 (byte-compile-preprocess): New function.
25089 (byte-compile-toplevel-file-form): New function to distinguish
25090 file-form calls from outside from file-form calls from hunk-handlers.
25091 (byte-compile-file-form): Simplify.
25092 (byte-compile-file-form-defsubst): Remove.
25093 (byte-compile-file-form-defmumble): Simplify now that
25094 byte-compile-lambda always returns a byte-code-function.
25095 (byte-compile): Preprocess.
25096 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25097 Remove, not used any more.
25098 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25099 (byte-compile-make-args-desc): New funs.
25100 (byte-compile-lambda): Handle lexical functions. Always return
25101 a byte-code-function.
25102 (byte-compile-reserved-constants): New var, to make up room for
25103 closed-over variables.
25104 (byte-compile-constants-vector): Obey it.
25105 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25106 (byte-compile-macroexpand-declare-function): New function.
25107 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25108 byte-code-functions.
25109 (byte-compile-form): Check obsolescence here.
25110 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25111 (byte-compile-variable-ref): Remove.
25112 (byte-compile-dynamic-variable-op): New fun.
25113 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25114 (byte-compile-variable-set): New funs.
25115 (byte-compile-discard): Add 2 args.
25116 (byte-compile-stack-ref, byte-compile-stack-set)
25117 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25118 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25119 macroexpand-all instead.
25120 (byte-compile-quote-form): Remove.
25121 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25122 (byte-compile-bind, byte-compile-unbind): New funs.
25123 (byte-compile-let): Handle let* and lexical binding.
25124 (byte-compile-let*): Remove.
25125 (byte-compile-catch, byte-compile-unwind-protect)
25126 (byte-compile-track-mouse, byte-compile-condition-case):
25127 Handle a new :fun-body form, used for lexical scoping.
25128 (byte-compile-save-window-excursion)
25129 (byte-compile-with-output-to-temp-buffer): Remove.
25130 (byte-compile-defun): Simplify.
25131 (byte-compile-stack-adjustment): New fun.
25132 (byte-compile-out): Use it.
25133 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25134
25135 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25136 handler any more.
25137
25138 * emacs-lisp/byte-opt.el: Use lexical binding.
25139 (byte-inline-lapcode): Remove (to bytecomp).
25140 (byte-compile-inline-expand): Pay attention to inlining to/from
25141 lexically bound code.
25142 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25143 any more.
25144 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25145 any more and don't call compiler-macros.
25146 (byte-compile-splice-in-already-compiled-code): Remove.
25147 (byte-code): Don't inline any more.
25148 (disassemble-offset): Receive `bytes' as argument rather than via
25149 dynamic scoping.
25150 (byte-compile-tag-number): Declare before first use.
25151 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25152 `return' even if make-spliceable.
25153 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25154 obsolete interactive-p.
25155 (byte-optimize-lapcode): Optimize new lap-codes.
25156 Don't trip up on new form of `byte-constant' lap code.
25157
25158 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25159
25160 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25161
25162 * custom.el (custom-initialize-default, custom-declare-variable):
25163 Use `defvar'.
25164
25165 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25166 New variables.
25167 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25168 (COMPILE_FIRST): Add macroexp and cconv.
25169 * makefile.w32-in: Mirror changes in Makefile.in.
25170
25171 * vc/cvs-status.el:
25172 * vc/diff-mode.el:
25173 * vc/log-edit.el:
25174 * vc/log-view.el:
25175 * vc/smerge-mode.el:
25176 * textmodes/bibtex-style.el:
25177 * textmodes/css-mode.el:
25178 * startup.el:
25179 * uniquify.el:
25180 * minibuffer.el:
25181 * newcomment.el:
25182 * reveal.el:
25183 * server.el:
25184 * mpc.el:
25185 * emacs-lisp/smie.el:
25186 * doc-view.el:
25187 * dired.el:
25188 * abbrev.el: Use lexical binding.
25189
25190 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25191
25192 * info.el (info-display-manual): New function.
25193
25194 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25195
25196 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25197
25198 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25199
25200 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25201 an entry for that server in rcirc-authinfo. (Bug#8385)
25202
25203 2011-03-31 Glenn Morris <rgm@gnu.org>
25204
25205 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25206
25207 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25208
25209 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25210
25211 * progmodes/python.el (python-default-interpreter)
25212 (python-python-command-args, python-jython-command-args)
25213 (python-which-shell, python-which-args, python-which-bufname)
25214 (python-file-queue, python-comint-output-filter-function)
25215 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25216 variables and functions.
25217
25218 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25219
25220 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25221 (completion-in-region-mode): New minor mode.
25222 (completion-in-region): Use it.
25223 (completion-in-region--data, completion-in-region-mode-map): New vars.
25224 (completion-in-region--postch): New function.
25225 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25226 New vars.
25227 (completion--capf-wrapper): New function.
25228 (completion-at-point): Use it to track well-behavedness of
25229 hook functions.
25230 (completion-help-at-point): New command.
25231
25232 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25233
25234 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25235 syntax class to search for whitespace on a single line
25236 (Message-ID: <4D938140.4030905@redhat.com>).
25237
25238 2011-03-30 Leo Liu <sdl.web@gmail.com>
25239
25240 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25241 New commands.
25242 (edit-abbrevs-map): Bind them here.
25243 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25244
25245 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25246
25247 * allout.el (allout-hide-by-annotation, allout-flag-region):
25248 Reduce possibility of overlay leakage by making them volatile.
25249
25250 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25251 hash is not shared between buffers. Mode initialization is
25252 responsible for giving it a useful starting value.
25253 (allout-item-span): Reduce possibility of overlay leakage by
25254 making them volatile.
25255 (allout-widgets-count-buttons-in-region): Add diagnostic function
25256 for tracking down button overlay leaks.
25257
25258 2011-03-29 Leo Liu <sdl.web@gmail.com>
25259
25260 * ido.el (ido-read-internal): Use the default history var
25261 minibuffer-history if no HISTORY is specified.
25262
25263 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25264
25265 * net/imap.el (imap-shell-open, imap-process-connection-type):
25266 Use imap-process-connection-type for 'shell' streams as well as
25267 Kerberos, SSL, other subprocesses.
25268
25269 2011-03-28 Leo Liu <sdl.web@gmail.com>
25270
25271 * abbrev.el (abbrev-table-empty-p): New function.
25272 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25273 nonempty ones. (Bug#5937)
25274
25275 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25276
25277 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25278
25279 2011-03-27 Leo Liu <sdl.web@gmail.com>
25280
25281 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25282 for foreground and background colors.
25283 (ansi-color-make-color-map): Adapt.
25284
25285 2011-03-25 Leo Liu <sdl.web@gmail.com>
25286
25287 * midnight.el (midnight-time-float): Remove. Note it calculates
25288 the microsecond component incorrectly and seconds-to-time does the
25289 same job.
25290 Remove redundant (require 'timer).
25291
25292 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25293 (ido-completions): Remove unused arguments. (Bug#8329)
25294
25295 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25296
25297 * minibuffer.el (completion--flush-all-sorted-completions):
25298 Remove itself from hook.
25299 (completion-at-point): Let the functions perform the completion
25300 immediately and return nil or t.
25301 * comint.el (comint-dynamic-complete-functions): Now identical to
25302 completion-at-point-functions.
25303 (comint-dynamic-list-input-ring): Remove unused var `index'.
25304 (comint--match-partial-filename, comint--unquote&expand-filename):
25305 New funs, split from comint-match-partial-filename.
25306 (comint-dynamic-complete): Use completion-at-point.
25307 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25308
25309 2011-03-24 Drew Adams <drew.adams@oracle.com>
25310
25311 * thingatpt.el: Support `defun'.
25312
25313 2011-03-23 Leo Liu <sdl.web@gmail.com>
25314
25315 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25316
25317 * help-mode.el (help-mode-finish): Tweak regexp.
25318
25319 2011-03-23 Glenn Morris <rgm@gnu.org>
25320
25321 * eshell/esh-opt.el (eshell-eval-using-options):
25322 Do not bind unused local variable `eshell-option-stub'.
25323
25324 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25325
25326 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25327
25328 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25329 keymap variable in `with-no-warnings' to avoid a warning when the
25330 keymap has been already `defconst'ed.
25331
25332 2011-03-22 Leo Liu <sdl.web@gmail.com>
25333
25334 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25335 encode all chars in abbrevs; otherwise use emacs-mule or
25336 utf-8-emacs. (Bug#8308)
25337
25338 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25339
25340 * simple.el (backward-delete-char-untabify):
25341 Avoid warning about using `delete-backward-char'.
25342
25343 * image.el (image-type-file-name-regexps): Make it variable.
25344 `imagemagick-register-types' modifies it, and the user may want
25345 to add new extensions for known image types.
25346 (imagemagick-register-types): Throw error if not using ImageMagick.
25347
25348 2011-03-22 Leo Liu <sdl.web@gmail.com>
25349
25350 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25351 located before rcirc-prompt-end-marker.
25352 (rcirc-complete): Error if point is not after rcirc prompt.
25353 Handle the case when table is nil.
25354 (rcirc-user-authenticated): Define to fix compiler warning.
25355
25356 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25357
25358 * custom.el (custom--inhibit-theme-enable): Make it affect only
25359 custom-theme-set-variables and custom-theme-set-faces.
25360 (provide-theme): Ignore custom--inhibit-theme-enable.
25361 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25362 (custom-enabling-themes): Delete variable.
25363 (enable-theme): Accept only loaded themes as arguments.
25364 Ignore the special custom-enabled-themes variable.
25365 (custom-enabled-themes): Forbid themes from setting this.
25366 Eliminate use of custom-enabling-themes.
25367 (custom-push-theme): Quote "changed" custom var entry.
25368
25369 2011-03-21 Leo Liu <sdl.web@gmail.com>
25370
25371 * ido.el (ido-read-internal): Add ido-selected to history instead
25372 of user input.
25373
25374 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25375
25376 * subr.el (deferred-action-list, deferred-action-function):
25377 Mark obsolete.
25378
25379 2011-03-21 Leo Liu <sdl.web@gmail.com>
25380
25381 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25382 change on 2011-02-13 (bug#8309).
25383
25384 * minibuffer.el (read-file-name-function): Change default value.
25385 (read-file-name--defaults): Rename from read-file-name-defaults.
25386 (read-file-name-default): Rename from read-file-name.
25387 (read-file-name): Call read-file-name-function.
25388
25389 2011-03-21 Glenn Morris <rgm@gnu.org>
25390
25391 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25392 Doc fixes.
25393
25394 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25395
25396 * cus-theme.el: Add missing provide statement.
25397 (customize-create-theme): Extract theme value correctly.
25398 (custom-theme-visit-theme): Autoload.
25399 (customize-create-theme): Prompt before inserting default faces.
25400
25401 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25402
25403 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25404 units and musical notes.
25405
25406 2011-03-20 Leo Liu <sdl.web@gmail.com>
25407
25408 * ido.el (ido-read-internal): Use completing-read-default.
25409 (ido-completing-read): Fix compatibility with completing-read.
25410
25411 2011-03-20 Christian Ohler <ohler@gnu.org>
25412
25413 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25414 (ert-delete-all-tests): Use `called-interactively-p' rather than
25415 `interactive-p'.
25416 (ert--make-xrefs-region): Respect END.
25417
25418 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25419
25420 * dired-aux.el (dired-create-directory): Signal an error if the
25421 directory already exists (Bug#8246).
25422
25423 * facemenu.el (list-colors-display): Call list-faces-display
25424 inside with-help-window.
25425 (list-colors-print): Use display property to align the final
25426 column, instead of checking window-width.
25427
25428 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25429
25430 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25431 windows-nt systems.
25432 (emerge-protect-metachars): Quote correctly for ms-dos and
25433 windows-nt systems.
25434
25435 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25436
25437 * info.el (info-initialize): Replace all uses of `:' with
25438 path-separator for compatibility with non-Unix systems.
25439 Cache quoting of path-separator. (Bug#8258)
25440
25441 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25442
25443 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25444 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25445 (mouse-avoidance-mode): Fix typos in docstrings.
25446
25447 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25448
25449 * startup.el (package-subdirectory-regexp): Move from package.el.
25450 Omit \\` and \\', and let callers add them.
25451
25452 * emacs-lisp/package.el (package-strip-version)
25453 (package-load-all-descriptors): Add \\` and \\' to
25454 package-subdirectory-regexp before using it.
25455 (package-untar-buffer): New arg DIR; ensure that file untars only
25456 into this expected directory. Remove superfluous delete-region.
25457 (package-unpack): Caller changed.
25458 (package-tar-file-info): Use package-subdirectory-regexp.
25459
25460 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25461
25462 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25463 diff-mode-shared-map (bug#8284).
25464 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25465
25466 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25467
25468 * calendar/time-date.el (format-seconds): Use assoc instead of
25469 assoc-string, since assoc-string doesn't exist in XEmacs.
25470
25471 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25472
25473 * custom.el (custom-known-themes): Reflow docstring.
25474 (custom-theme-load-path): Fix typo in docstring.
25475 (load-theme): Fix typo in error message.
25476 (custom-available-themes, custom-variable-theme-value):
25477 Use `let', not `let*'.
25478
25479 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25480
25481 * calc/README: Mention inclusion of musical notes.
25482
25483 * calc/calc-units.el (calc-lu-quant): Rename from
25484 `calc-logunits-quantity'.
25485 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25486 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25487 (calc-db): Rename from `calc-dblevel'.
25488 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25489 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25490 (calc-np): Rename from `calc-nplevel'.
25491 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25492 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25493 (calc-lu-plus): Rename from `calc-logunits-add'.
25494 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25495 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25496 (calc-lu-minus): Rename from `calc-logunits-sub'.
25497 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25498 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25499 (calc-lu-times): Rename from `calc-logunits-mul'.
25500 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25501 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25502 (calc-lu-divide): Rename from `calc-logunits-div'.
25503 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25504 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25505
25506 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25507 functions being autoloaded.
25508
25509 * calc/calc.el (calc-lu-power-reference): Rename from
25510 `calc-logunits-power-reference'.
25511 (calc-lu-field-reference): Rename from
25512 `calc-logunits-field-reference'.
25513
25514 * calc/calc-help.el (calc-l-prefix-help):
25515 Mention musical note functions.
25516
25517 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25518
25519 * minibuffer.el (completion-all-sorted-completions):
25520 Use :completion-cycle-penalty text property if present.
25521
25522 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25523
25524 * allout.el (allout-yank-processing): Adjust for new rebulleting
25525 regime so bullet being yanked is used without prompting the user
25526 for a choice.
25527
25528 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25529
25530 * startup.el (command-line): Warn the user that _emacs is deprecated.
25531
25532 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25533
25534 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25535 (delphi-verbose, delphi-comment-face, delphi-string-face)
25536 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25537 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25538 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25539 (delphi-new-comment-line, delphi-font-lock-defaults)
25540 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25541 Fix typos in docstrings.
25542
25543 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25544
25545 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25546 Invert the roles of character and string values for INSTEAD, so a
25547 string is used for the more common case of a defaulting prompt.
25548
25549 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25550
25551 * progmodes/ruby-mode.el (ruby-backward-sexp):
25552 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25553 * play/gamegrid.el (gamegrid-make-face):
25554 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25555 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25556 * notifications.el (notifications-notify):
25557 * net/xesam.el (xesam-search-engines):
25558 * net/quickurl.el (quickurl-list-insert):
25559 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25560
25561 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25562
25563 * startup.el (command-line): Update package subdirectory regexp.
25564
25565 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25566
25567 * allout.el (allout-abbreviate-flattened-numbering)
25568 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25569
25570 * subr.el (read-char-choice): Only show the cursor after the prompt,
25571 not after the answer.
25572
25573 2011-03-15 Kevin Ryde <user42@zip.com.au>
25574
25575 * help-fns.el (variable-at-point): Skip leading quotes, if any
25576 (bug#8253).
25577
25578 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25579
25580 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25581 warning message.
25582
25583 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25584
25585 * shell.el (shell): When called interactively, offer to change the
25586 shell file name on remote hosts.
25587
25588 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25589
25590 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25591 integration for LDAP parameters. The host, base, user or binddn,
25592 and secret tokens can be specified in a netrc file, for instance.
25593 This is optional because an `auth-source' parameter must be
25594 specified in the search attributes.
25595
25596 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25597
25598 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25599
25600 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25601
25602 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25603 into declaration. Remove redundant and harmful binding.
25604
25605 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25606
25607 * files.el (file-ownership-preserved-p): Pass `integer' as an
25608 explicit 2nd argument to `file-attributes'. If the file's owner
25609 is the Administrators group on Windows, and the current user is
25610 Administrator, consider that a match.
25611
25612 * server.el (server-ensure-safe-dir): Consider server directory
25613 safe on MS-Windows if its owner is the Administrators group while
25614 the current Emacs user is Administrator. Use `=' to compare
25615 numerical UIDs, since they could be integers or floats.
25616
25617 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25618
25619 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25620
25621 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25622
25623 Sync with Tramp 2.2.1.
25624
25625 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25626
25627 * net/trampver.el: Update release number.
25628
25629 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25630
25631 * progmodes/compile.el (compilation--previous-directory): Fix up
25632 various nil/dead-marker mismatches (bug#8014).
25633 (compilation-directory-properties, compilation-error-properties):
25634 Don't call it at a position past the one we're about to change.
25635
25636 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25637 Disable obsolescence warnings in the file that declares it.
25638
25639 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25640
25641 * allout-widgets.el (allout-widgets-tally):
25642 Initialize allout-widgets-tally as a hash table rather than nil to
25643 prevent mode-line redisplay warnings. Also, clarify the module
25644 description and fix a comment typo.
25645
25646 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25647
25648 * help-fns.el (describe-variable): Don't complete keywords.
25649 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25650
25651 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25652
25653 * emacs-lisp/package.el (package-version-join): Impose a standard
25654 string representation for pre/alpha/beta version lists.
25655 (package-unpack-single): Standardize the directory name by passing
25656 it through package-version-join.
25657 (package-strip-rcs-id): Accept any version string that does not
25658 signal an error in version-to-list.
25659
25660 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25661
25662 * simple.el (delete-trailing-whitespace): Return nil for the
25663 benefit of `write-file-functions'.
25664
25665 2011-03-10 Glenn Morris <rgm@gnu.org>
25666
25667 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25668
25669 * vc/vc-git.el (vc-git-program): New option.
25670 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25671 (vc-git--call): Use it.
25672
25673 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25674
25675 * cus-edit.el (Custom-newline): If no button at point, look
25676 for a subgroup button at start-of-line. (Bug#2298)
25677
25678 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25679
25680 2011-03-10 Julien Danjou <julien@danjou.info>
25681
25682 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25683 `cursor-type' is nil.
25684
25685 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25686
25687 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25688
25689 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25690
25691 * allout.el: Change so yank of distinctive-bullet items
25692 preserves the existing header prefix, rebulleting it if necessary,
25693 rather than replacing it. This is necessary for proper operation
25694 of cooperative addons like allout-widgets.
25695 (allout-make-topic-prefix, allout-rebullet-heading):
25696 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25697 value as alternate bullet to be used, instead of prompting the user
25698 for a bullet character.
25699
25700 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25701
25702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25703 Do not use `tramp-file-name-port', because this returns also
25704 `tramp-default-port'.
25705
25706 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25707
25708 * net/rcirc.el (rcirc-handler-001): Remove useless
25709 with-rcirc-process-buffer.
25710 (rcirc-check-auth-status): Swap arguments to string-match.
25711
25712 2011-03-09 Glenn Morris <rgm@gnu.org>
25713
25714 * shell.el (shell-mode):
25715 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25716
25717 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25718 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25719
25720 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25721
25722 * emacs-lisp/package.el (package-refresh-contents)
25723 (package-menu-execute): Use condition-case-no-debug.
25724
25725 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25726
25727 * simple.el (shell-command-to-string): Use `process-file'.
25728
25729 * emacs-lisp/package.el (package-tar-file-info): Handle also
25730 remote files.
25731
25732 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25733 Use `equal' for upload base check.
25734
25735 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25736
25737 * textmodes/texinfo.el (texinfo-environments):
25738 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25739
25740 2011-03-08 Glenn Morris <rgm@gnu.org>
25741
25742 * cus-start.el (cursor-in-non-selected-windows):
25743 Fix :set quoting oddness. (Bug#8192)
25744
25745 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25746 in some setf expressions. (Bug#2159)
25747
25748 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25749
25750 * custom.el (custom-available-themes): Return themes in
25751 alphabetical order.
25752
25753 See ChangeLog.15 for earlier changes.
25754
25755 ;; Local Variables:
25756 ;; coding: utf-8
25757 ;; End:
25758
25759 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25760
25761 This file is part of GNU Emacs.
25762
25763 GNU Emacs is free software: you can redistribute it and/or modify
25764 it under the terms of the GNU General Public License as published by
25765 the Free Software Foundation, either version 3 of the License, or
25766 (at your option) any later version.
25767
25768 GNU Emacs is distributed in the hope that it will be useful,
25769 but WITHOUT ANY WARRANTY; without even the implied warranty of
25770 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25771 GNU General Public License for more details.
25772
25773 You should have received a copy of the GNU General Public License
25774 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.