ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2
3 * ispell.el (ispell-set-spellchecker-params):
4 Really set `ispell-args' for all equivs.
5
6 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * ido.el (ido-completions): Use extra elements of ido-decorations
9 (bug#14143).
10 (ido-decorations): Update docstring.
11
12 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13
14 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16 nil during initialization, in order not to miss changes since the
17 file was opened. (Bug#14140)
18
19 2013-04-05 Leo Liu <sdl.web@gmail.com>
20
21 * kmacro.el (kmacro-call-macro): Fix bug#14135.
22
23 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
24
25 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
26
27 2013-04-04 Glenn Morris <rgm@gnu.org>
28
29 * electric.el (electric-pair-inhibit-predicate): Add :version.
30
31 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
34 when a package is required several times (bug#14082).
35
36 2013-04-04 Roland Winkler <winkler@gnu.org>
37
38 * faces.el (read-face-name): Behave as promised by the docstring.
39 Assume that arg default is a list of faces.
40 (describe-face): Call read-face-name with list of default faces.
41
42 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
43
44 * bookmark.el: Fix deletion of bookmarks (bug#13972).
45 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
46 (bookmark-bmenu-execute-deletions): Only skip first line if it's
47 the header.
48 (bookmark-exit-hook-internal): Save even if list is empty.
49
50 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
51
52 * emacs-lisp/package.el (package-pinned-packages): New var.
53 (package--add-to-archive-contents): Obey it (bug#14118).
54
55 2013-04-03 Alan Mackenzie <acm@muc.de>
56
57 Handle `parse-partial-sexp' landing inside a comment opener
58 (Bug#13244). Also adapt to the new values of element 7 of a parse
59 state.
60
61 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
62 parameter `not-in-delimiter'. Handle being inside comment opener.
63 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
64 character in case we're typing a '*' after a '/'.
65 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
66 instead by passing the parameter to c-state-pp-to-literal.
67
68 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
69 for elt. 7 of a parse state.
70
71 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
72
73 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
74 * international/latin1-disp.el, international/mule-util.el:
75 * language/cyril-util.el, language/european.el, language/ind-util.el:
76 * language/lao-util.el, language/thai.el, language/tibet-util.el:
77 * language/tibetan.el, language/viet-util.el:
78 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
79
80 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
83 (electric-pair-post-self-insert-function): Use it.
84 (electric-pair-default-inhibit): New function, extracted from
85 electric-pair-post-self-insert-function.
86
87 2013-03-31 Roland Winkler <winkler@gnu.org>
88
89 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
90
91 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
94
95 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
96
97 Un-indent after "pass" and "return" statements (Bug#13888)
98 * progmodes/python.el (python-indent-block-enders): New var.
99 (python-indent-calculate-indentation): Use it.
100
101 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
102
103 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
104 defun. Defining it as defalias could introduce too eager
105 byte-compiler optimization. (Bug#14030)
106
107 2013-03-30 Chong Yidong <cyd@gnu.org>
108
109 * iswitchb.el (iswitchb-read-buffer): Fix typo.
110
111 2013-03-30 Leo Liu <sdl.web@gmail.com>
112
113 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
114 (kmacro-execute-from-register): Pass the keyboard macro to
115 kmacro-call-macro or repeating won't work correctly.
116
117 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
118
119 * progmodes/subword.el: Back to using `forward-symbol'.
120
121 * subr.el (forward-whitespace, forward-symbol)
122 (forward-same-syntax): Move from thingatpt.el.
123
124 2013-03-29 Leo Liu <sdl.web@gmail.com>
125
126 * kmacro.el (kmacro-to-register): New command.
127 (kmacro-execute-from-register): New function.
128 (kmacro-keymap): Bind to 'x'. (Bug#14071)
129
130 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * mpc.el: Use defvar-local and setq-local.
133 (mpc--proc-connect): Connection failures are not bugs.
134 (mpc-mode-map): `follow-link' only applies to the buffer's content.
135 (mpc-volume-map): Bind to the up-events.
136
137 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
138
139 * progmodes/subword.el (superword-mode): Use `forward-sexp'
140 instead of `forward-symbol'.
141
142 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
145 (edebug--recursive-edit): Use it.
146 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
147 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
148
149 2013-03-28 Leo Liu <sdl.web@gmail.com>
150
151 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
152
153 2013-03-27 Eli Zaretskii <eliz@gnu.org>
154
155 * facemenu.el (list-colors-callback): New defvar.
156 (list-colors-redisplay): New function.
157 (list-colors-display): Install list-colors-redisplay as the
158 revert-buffer-function. (Bug#14063)
159
160 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
163 and suffixes don't overlap (bug#14061).
164
165 * case-table.el: Use lexical-binding.
166 (case-table-get-table): New function.
167 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
168
169 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
170
171 * progmodes/subword.el: Add `superword-mode' to do word motion
172 over symbol_words (parallels and leverages `subword-mode' which
173 does word motion inside MixedCaseWords).
174
175 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
176
177 * eshell/em-unix.el: Move su and sudo to...
178 * eshell/em-tramp.el: ...Eshell tramp module
179
180 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
183 Change return value to be a sexp. Delay `get-buffer' to after
184 restoring the desktop (bug#13951).
185
186 2013-03-26 Leo Liu <sdl.web@gmail.com>
187
188 * register.el: Move semantic tag handling back to
189 cedet/semantic/senator.el. (Bug#14052)
190
191 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
194 into the prompt either (bug#13963).
195
196 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
199 part of "(error-foo)".
200
201 2013-03-24 Juri Linkov <juri@jurta.org>
202
203 * replace.el (list-matching-lines-prefix-face): New defcustom.
204 (occur-1): Pass `list-matching-lines-prefix-face' to the function
205 `occur-engine' if `face-differs-from-default-p' returns t.
206 (occur-engine): Add `,' inside backquote construct to evaluate
207 `prefix-face'. Propertize the prefix with the `prefix-face' face.
208 Pass `prefix-face' to the functions `occur-context-lines' and
209 `occur-engine-add-prefix'.
210 (occur-engine-add-prefix, occur-context-lines): Add optional arg
211 `prefix-face' and propertize the prefix with `prefix-face'.
212 (Bug#14017)
213
214 2013-03-24 Leo Liu <sdl.web@gmail.com>
215
216 * nxml/rng-valid.el (rng-validate-while-idle)
217 (rng-validate-quick-while-idle): Guard against deleted buffer.
218 (Bug#13999)
219
220 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
221 is the last entry in kill-buffer-hook.
222
223 * files.el (kill-buffer-hook): Doc fix.
224
225 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
226
227 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
228 Make it safe-local.
229
230 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
231
232 2013-03-23 Leo Liu <sdl.web@gmail.com>
233
234 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
235 Remove.
236
237 * nxml/rng-valid.el (rng-validate-mode)
238 (rng-after-change-function, rng-do-some-validation):
239 * nxml/rng-maint.el (rng-validate-buffer):
240 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
241 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
242 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
243 (nxml-extend-after-change-region): Use with-silent-modifications.
244
245 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
246 timer-idle-list.
247
248 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
249 (rng-next-error-1, rng-previous-error-1): Do not let-bind
250 timer-idle-list. (Bug#13999)
251
252 2013-03-23 Juri Linkov <juri@jurta.org>
253
254 * info.el (info-index-match): New face.
255 (Info-index, Info-apropos-matches): Add a nested subgroup to the
256 main pattern and add text properties with the new face to matches
257 in index entries relative to the beginning of the index entry.
258 (Bug#14015)
259
260 2013-03-21 Eric Ludlam <zappo@gnu.org>
261
262 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
263 Inhibit read only while inserting objects.
264
265 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
266
267 * progmodes/cfengine.el: Update docs to mention
268 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
269 symbol motion. Remove "_" from the word syntax.
270
271 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
272
273 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
274 syntax for both `cfengine2-mode' and `cfengine3-mode'.
275
276 2013-03-20 Juri Linkov <juri@jurta.org>
277
278 * info.el (Info-next-reference-or-link)
279 (Info-prev-reference-or-link): New functions.
280 (Info-next-reference, Info-prev-reference): Use them.
281 (Info-try-follow-nearest-node): Handle footnote navigation.
282 (Info-fontify-node): Fontify footnotes. (Bug#13989)
283
284 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
287 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
288
289 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
290
291 Suppress unnecessary non-ASCII chatter during build process.
292 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
293 (batch-skkdic-convert): Suppress most of the chatter.
294 It's not needed so much now that machines are faster,
295 and its non-ASCII component was confusing; see Dmitry Gutov in
296 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
297
298 2013-03-20 Leo Liu <sdl.web@gmail.com>
299
300 * ido.el (ido-chop): Fix bug#10994.
301
302 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
303
304 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
305 Remove vars.
306 (whitespace-color-on, whitespace-color-off):
307 Use `font-lock-fontify-buffer' (Bug#13817).
308
309 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
312 remapping in mode-line.
313 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
314
315 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
316
317 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
318 value for `whitespace-line' face (Bug#13875).
319 (whitespace-font-lock-keywords): Change description.
320 (whitespace-color-on): Don't save `font-lock-keywords' value, save
321 the constructed keywords instead.
322 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
323
324 2013-03-19 Leo Liu <sdl.web@gmail.com>
325
326 * progmodes/compile.el (compilation-display-error): New command.
327 (compilation-mode-map, compilation-minor-mode-map): Bind it to
328 C-o. (Bug#13992)
329
330 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
331
332 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
333
334 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
335
336 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
337
338 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp-compat.el (tramp-compat-user-error): New defun.
341
342 * net/tramp-adb.el (tramp-adb-handle-shell-command):
343 * net/tramp-gvfs.el (top):
344 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
345 (tramp-handle-shell-command): Use it.
346 (tramp-dissect-file-name): Raise an error when hostname is a
347 method name, and neither method nor user is specified.
348
349 * net/trampver.el: Update release number.
350
351 2013-03-18 Leo Liu <sdl.web@gmail.com>
352
353 Make sure eldoc can be turned off properly.
354 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
355 eldoc-mode.
356 (eldoc-display-message-p): Revert last change.
357 (eldoc-display-message-no-interference-p)
358 (eldoc-print-current-symbol-info): Tweak.
359
360 2013-03-18 Tassilo Horn <tsdh@gnu.org>
361
362 * doc-view.el (doc-view-new-window-function): Check the new window
363 overlay's display property instead the char property of the
364 buffer's first char. Use `with-selected-window' instead of
365 `save-window-excursion' with `select-window'.
366 (doc-view-document->bitmap): Check the current doc-view overlay's
367 display property instead the char property of the buffer's first char.
368
369 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
370
371 Automate the build of ja-dic.el (Bug#13984).
372 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
373 from the input, rather than assume that it's been done for us by the
374 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
375 the current date into a ja-dic.el comment, as that complicates
376 regression testing.
377
378 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * whitespace.el: Fix double evaluation.
381 (whitespace-space, whitespace-hspace, whitespace-tab)
382 (whitespace-newline, whitespace-trailing, whitespace-line)
383 (whitespace-space-before-tab, whitespace-indentation)
384 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
385 obsolete defvars.
386 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
387 (whitespace-color-on): Use a single font-lock-add-keywords call.
388 Fix double-evaluation of face variables.
389
390 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
391
392 * net/tramp-adb.el (tramp-adb-parse-device-names):
393 Use `start-process' instead of `call-process'. Otherwise, the
394 function might be blocked under MS Windows. (Bug#13299)
395
396 2013-03-17 Leo Liu <sdl.web@gmail.com>
397
398 Extend eldoc to display info in the mode-line. (Bug#13978)
399 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
400 (eldoc-mode-line-string): New variable.
401 (eldoc-minibuffer-message): New function.
402 (eldoc-message-function): New variable.
403 (eldoc-message): Use it.
404 (eldoc-display-message-p)
405 (eldoc-display-message-no-interference-p):
406 Support eldoc-post-insert-mode.
407
408 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
409 (eval-expression): Run it.
410
411 2013-03-17 Roland Winkler <winkler@gnu.org>
412
413 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
414 strings in the list of return values.
415
416 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
417
418 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
419 radix before checking for HMS forms.
420
421 2013-03-16 Leo Liu <sdl.web@gmail.com>
422
423 * progmodes/scheme.el: Add indentation and font-locking for λ.
424 (Bug#13975)
425
426 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
429 token before point (bug#13942).
430
431 2013-03-16 Leo Liu <sdl.web@gmail.com>
432
433 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
434
435 2013-03-16 Eli Zaretskii <eliz@gnu.org>
436
437 * startup.el (command-line-normalize-file-name): Fix handling of
438 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
439 <xfq.free@gmail.com> in
440 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
441
442 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
443
444 Sync with Tramp 2.2.7.
445
446 * net/trampver.el: Update release number.
447
448 2013-03-14 Tassilo Horn <tsdh@gnu.org>
449
450 * doc-view.el Fix bug#13887.
451 (doc-view-insert-image): Don't modify overlay associated to
452 non-live windows, and implement horizontal centering of image in
453 case it's smaller than the window.
454 (doc-view-new-window-function): Force redisplay of new windows on
455 doc-view buffers.
456
457 2013-03-13 Karl Fogel <kfogel@red-bean.com>
458
459 * saveplace.el (save-place-alist-to-file): Don't sort
460 `save-place-alist', just pretty-print it (bug#13882).
461
462 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
463
464 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
465 whether `default-file-name-coding-system' is bound. It isn't in
466 XEmacs.
467
468 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
471 backquotes for `obsolete' (bug#13929).
472
473 * international/mule.el (find-auto-coding): Include file name in
474 obsolescence warning (bug#13922).
475
476 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
477
478 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
479 for CFEngine 3-specific indentation.
480 (cfengine3-indent-line): Use it. Fix up category regex.
481 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
482
483 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * type-break.el (type-break-file-name):
486 * textmodes/remember.el (remember-data-file):
487 * strokes.el (strokes-file):
488 * shadowfile.el (shadow-initialize):
489 * saveplace.el (save-place-file):
490 * ps-bdf.el (bdf-cache-file):
491 * progmodes/idlwave.el (idlwave-config-directory):
492 * net/quickurl.el (quickurl-url-file):
493 * international/kkc.el (kkc-init-file-name):
494 * ido.el (ido-save-directory-list-file):
495 * emulation/viper.el (viper-custom-file-name):
496 * emulation/vip.el (vip-startup-file):
497 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
498 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
499
500 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
501
502 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
503 * language/thai-word.el: Switch to UTF-8.
504
505 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
508
509 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
510
511 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
512 Use with-current-buffer and don't move point.
513 (net-utils-run-simple): Remove useless code.
514 (net-utils-remove-ctl-m): Remove unused custom.
515
516 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
517
518 * international/characters.el (glyphless-set-char-table-range): New fun.
519 (update-glyphless-char-display): Use it (bug#13744).
520
521 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
522
523 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
524 namespaces in the syntax, indent closer for hanging brace
525 correctly, allow single-quote delimited 'strings', and make
526 `cfengine3-mode' the default.
527
528 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
529
530 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
531 Use lexical-binding. Fix up docstring according to conventions.
532 (gdbmi-debug-mode): New var.
533 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
534 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
535 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
536 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
537 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
538 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
539 (gdbmi-bnf-incomplete-record-result): New functions.
540 (gdb-car<): Remove function.
541 (gdbmi-record-list): Remove variable.
542 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
543 (gdbmi-bnf-result-state-configs): New const.
544 (gud-gdbmi-marker-filter): Rewrite.
545 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
546 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
547 Add `token' argument.
548 (gdb-done, gdb-error): New functions.
549 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
550
551 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * term/xterm.el (xterm--report-background-handler): Don't burp
554 upon timeout.
555 (xterm--version-handler): Extract from terminal-init-xterm.
556 (xterm--query): Don't mishandle timeout. Remove debugging messages.
557 Allow multiple handlers.
558 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
559
560 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
561 (xterm--report-background-handler, xterm--query): New functions.
562 (terminal-init-xterm): Use them.
563
564 2013-03-11 Michael R. Mauger <michael@mauger.com>
565
566 * progmodes/sql.el Version 3.2
567 Please note that my address changed to <michael@mauger.com>;
568 the <mmaug@yahoo.com> address remains active.
569 (sql-connection-alist): Updates documentation to fix bug#13715.
570 (sql-connect): Handle missing `sql-connection-alist' correctly.
571 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
572 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
573 property.
574 (sql-default-value): New function.
575 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
576 values were not used.
577 (sql-rename-buffer): Make sure alternate buffer name has no text
578 properties.
579 (sql-input-sender, sql-execute-feature): Fetch variable with
580 `buffer-local-value' rather than `with-current-buffer'.
581 (sql-*): Use #' function syntax consistently.
582 (sql-*): Use message/error/user-error consistently.
583
584 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * xt-mouse.el (xterm-mouse-event-read): Remove.
587 (xterm-mouse--read-event-sequence-1000)
588 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
589
590 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * term/xterm.el (xterm-function-map): Support format used with
593 formatOtherKeys=1 (bug#13839).
594
595 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
596 (with-no-warnings): Use `declare'.
597
598 * whitespace.el (whitespace-enable-predicate): New variable.
599 (whitespace-enable-predicate): Use it.
600
601 * comint.el (comint-send-input, comint-snapshot-last-prompt)
602 (comint-output-filter, comint-update-fence):
603 Use with-silent-modifications.
604
605 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
606
607 * replace.el (occur-read-regexp-defaults-function): New var.
608 (occur-read-regexp-defaults): New defun.
609 (occur-read-primary-args): Propagate above change (bug#13892).
610
611 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * mouse.el (mouse-drag-track): Remove left-over debugging code.
614
615 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
616
617 Major rewrite due to changed D-Bus interface of GVFS 1.14.
618
619 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
620 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
621 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
622 New defconst.
623 (tramp-gvfs-file-name-handler-alist) [directory-files]
624 [directory-files-and-attributes, file-exists-p, file-modes]:
625 Use Tramp default handler.
626 [file-acl, file-selinux-context, process-file, set-file-acl]:
627 [set-file-modes, set-file-selinux-context, shell-command]:
628 [start-file-process]: Remove handler.
629 [verify-visited-file-modtime]: New handler.
630 (tramp-gvfs-dbus-string-to-byte-array)
631 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
632 calls of `dbus-string-to-byte-array' and
633 `tramp-gvfs-dbus-byte-array-to-string'.
634 (tramp-gvfs-handle-copy-file)
635 (tramp-gvfs-handle-delete-directory)
636 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
637 (tramp-gvfs-handle-file-directory-p)
638 (tramp-gvfs-handle-file-executable-p)
639 (tramp-gvfs-handle-file-name-all-completions)
640 (tramp-gvfs-handle-file-readable-p)
641 (tramp-gvfs-handle-file-writable-p)
642 (tramp-gvfs-handle-insert-directory)
643 (tramp-gvfs-handle-insert-file-contents)
644 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
645 (tramp-gvfs-handle-set-visited-file-modtime)
646 (tramp-gvfs-handle-write-region): Rewrite.
647 (tramp-gvfs-handle-file-acl)
648 (tramp-gvfs-handle-file-selinux-context)
649 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
650 (tramp-gvfs-handle-set-file-modes)
651 (tramp-gvfs-handle-set-file-selinux-context)
652 (tramp-gvfs-handle-shell-command)
653 (tramp-gvfs-handle-start-file-process)
654 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
655 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
656 over the symlinks. Fix user handling.
657 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
658 of the D-Bus signals.
659 (tramp-gvfs-connection-mounted-p): Handle different names of the
660 D-Bus methods.
661 (tramp-gvfs-mount-spec-entry): New defun.
662 (tramp-gvfs-mount-spec): Use it.
663 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
664 there is a share name. Handle different names of the D-Bus
665 signals and methods. Set connection properties needed for
666 `tramp-check-cached-permissions'.
667 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
668 Return t or nil.
669
670 * net/tramp.el (tramp-backtrace): Move up.
671 (tramp-error): Dump a backtrace into the debug buffer when
672 `tramp-verbose > 9.
673 (tramp-file-mode-type-map, tramp-file-mode-from-int)
674 (tramp-file-mode-permissions, tramp-get-local-uid)
675 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
676 tramp-sh.el.
677
678 * net/tramp-sh.el (tramp-file-mode-type-map)
679 (tramp-check-cached-permissions, tramp-file-mode-from-int)
680 (tramp-file-mode-permissions, tramp-get-local-uid)
681 (tramp-get-local-gid): Move to tramp.el.
682
683 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 Separate mouse-1-click-follows-link from mouse-drag-region.
686 * mouse.el (mouse--down-1-maybe-follows-link): New function.
687 (key-translation-map): Use it to implement mouse-1-click-follows-link.
688 (mouse-drag-line, mouse-drag-track):
689 Remove mouse-1-click-follows-link code.
690 (mouse--remap-link-click-p): Remove.
691
692 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
693
694 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
695 (hi-lock-read-regexp-defaults): New defun.
696 (hi-lock-line-face-buffer, hi-lock-face-buffer)
697 (hi-lock-face-phrase-buffer): Propagate above change.
698 Update docstring (bug#13892).
699
700 * subr.el (find-tag-default-as-regexp): New defun.
701 * replace.el (read-regexp): Propagate above change.
702
703 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
704
705 * calc/calc-units.el (calc-convert-units): Fix the way that default
706 new units are stored.
707
708 2013-03-07 Matthias Meulien <orontee@gmail.com>
709
710 * bookmark.el: Define a face to highlight bookmark names in
711 bookmark menu buffers, where the default is a bold face similarly
712 to buffer names in buffer menu buffers.
713 (bookmark-menu-bookmark): New face to highlight bookmark names.
714 (bookmark-insert-location): Remove duplicated text property to
715 conform to buffer list (see `list-buffers').
716 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
717 `bookmark-menu-bookmark' to bookmark names.
718
719 2013-03-07 Matthias Meulien <orontee@gmail.com>
720 Karl Fogel <kfogel@red-bean.com>
721
722 * bookmark.el: Display the bookmark list header similarly to the
723 buffer list header (see `list-buffers'), where the default is now
724 an immovable/immutable header line.
725 (bookmark-bmenu-use-header-line): New variable.
726 (bookmark-bmenu-inline-header-height): New name for
727 `bookmark-bmenu-header-height', to avoid confusion with the code
728 for the new immovable header. All references changed.
729 (bookmark-bmenu-set-header): New function.
730 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
731 Conditionalize header construction accordingly.
732 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
733 the inline header height.
734 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
735 Conditionalize the skipping of the inline header height.
736
737 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
738
739 * progmodes/js.el (js--multi-line-declaration-indentation):
740 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
741
742 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
745 Only propertize regexp when not inside a string (Bug#13885).
746
747 2013-03-06 Alan Mackenzie <acm@muc.de>
748
749 Correct the position of point in some line-up functions.
750 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
751 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
752 point at column 0 rather than at a random place in the line.
753
754 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp-compat.el (tramp-compat-delete-directory):
757 Implement TRASH argument.
758
759 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
760
761 Keep pre-existing highlighting in completion candidates (Bug#13250).
762 * minibuffer.el (completions-first-difference): State that the
763 face is "added" in the docstring.
764 (completions-common-part): Same. And don't inherit from default.
765 (completion-hilit-commonality): Prepend 'completions-common-part
766 and 'completion-first-difference faces to the 'face property,
767 instead of replacing the value(s).
768 (completion--insert-strings): Same with 'completions-annotations face.
769 (completion-hilit-commonality): Use 'face instead of
770 'font-lock-face, because it gets priority if the completion
771 strings already have 'face set.
772
773 2013-03-04 Alan Mackenzie <acm@muc.de>
774
775 Replace `last-command-event' by `last-command-char' in XEmacs.
776 * progmodes/cc-defs.el (c-last-command-char): New macro.
777 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
778 (c-semi&comma-no-newlines-before-nonblanks)
779 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
780 in place of `last-command-event'.
781 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
782 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
783 (c-electric-paren, c-electric-continued-statement): Use the new
784 macro in place of `last-command-event'.
785
786 2013-03-04 Glenn Morris <rgm@gnu.org>
787
788 * files.el (inhibit-local-variables-regexps):
789 Add .diff and .patch. (Bug#13862)
790
791 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
792
793 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
794 whether the "su" command is available on the device.
795
796 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
799 (tramp-adb-handle-process-file): Remove superfluous setting.
800 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
801 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
802 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
803
804 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
807 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
808 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
809 Use dict-key rather than dict-name for the error message.
810
811 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
812
813 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
814 when reverting (bug#13831).
815
816 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
817
818 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
819 Always expand affix-file before storing to protect against changed
820 `default-directory'.
821 (ispell-print-if-debug): Make sure message is printed at the end
822 of the debug buffer.
823
824 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
825
826 * net/tramp.el (tramp-obsolete-methods): New defconst.
827 (tramp-warned-obsolete-methods): New defvar.
828 (tramp-find-method): Check for obsolete methods. Map them to a
829 replacement method if appropriate.
830
831 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
832 Remove methods.
833 (top): Remove completion functions for "scp1", "scp2", "ssh1",
834 "ssh2" and "plink1".
835
836 2013-02-28 Dale Sedivec <dale@codefu.org>
837
838 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
839 Return valid syntax-table property value when converting
840 quotes within text from string syntax to punctuation syntax (bug#13844).
841
842 2013-02-28 Juri Linkov <juri@jurta.org>
843
844 * dired-aux.el (dired-diff): If file at point is a backup file,
845 use its original as the default value, and reverse the order
846 of arguments to the `diff' call. Doc fix. (Bug#13772)
847
848 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
849
850 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
851 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
852
853 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
854
855 Initial support for hunspell dictionaries auto-detection (Bug#13639)
856
857 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
858 Ask hunspell about available and default dictionaries.
859 (ispell-parse-hunspell-affix-file): Extract relevant info from
860 hunspell affix file.
861 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
862 `ispell-dictionary-alist' entry for given dictionary after info
863 provided by `ispell-parse-hunspell-affix-file'.
864 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
865 of parsed hunspell dicts and associated affix files.
866 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
867 of parsed hunspell dicts and associated parameters.
868 (ispell-set-spellchecker-params):
869 Call `ispell-find-hunspell-dictionaries' if hunspell and not
870 previously done.
871 (ispell-start-process):
872 Call `ispell-hunspell-fill-dictionary-entry' for current
873 dictionary if it is not initialized.
874
875 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * imenu.el: Comment nitpicks.
878
879 2013-02-28 Sam Steingold <sds@gnu.org>
880
881 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
882 See <http://stackoverflow.com/questions/14720205>.
883
884 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
885
886 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
887 (net-utils-mode): Use it.
888 (net-utils--revert-cmd): New var.
889 (net-utils-run-simple): Set it, and remove bogus interactive spec.
890 (traceroute): Use net-utils-run-simple.
891
892 2013-02-28 Glenn Morris <rgm@gnu.org>
893
894 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
895
896 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
899 (doc-view-fallback-mode): Remove overlays here.
900 (doc-view-toggle-display): Instead of here. Don't throw away
901 image-mode-winprops-alist.
902 (doc-view-goto-page): Don't mess with hscroll.
903
904 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
905
906 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
907 &optional (bug#13819).
908
909 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
910
911 * net/tramp-adb.el (tramp-adb-parse-device-names)
912 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
913
914 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
915
916 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
917 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
918 defined. POSIX environments fall back to the "C" locale then and
919 emit a warning, which shall be suppressed.
920
921 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
924 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
925
926 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
929
930 2013-02-25 Juri Linkov <juri@jurta.org>
931
932 * replace.el (read-regexp): Let-bind `default' to the first
933 element of `defaults' if it's a list, otherwise it should be
934 a string or nil. Let-bind `suggestions' to `defaults' if it's
935 a list, otherwise make a list with the string value. Doc fix.
936 (Bug#13805)
937
938 2013-02-25 Eli Zaretskii <eliz@gnu.org>
939
940 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
941 that match "\`\.#", to avoid compiling lock files, even if they
942 are readable (as they are on MS-Windows).
943
944 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * files.el (basic-save-buffer): Remove redundant directory-creation.
947
948 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
949
950 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
951 Add option to force `pi' to remain symbolic.
952 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
953 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
954 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
955 derivatives, when necessary.
956
957 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
958
959 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
960 (ps-mode-octal-region): Use string-make-unibyte.
961
962 2013-02-23 Glenn Morris <rgm@gnu.org>
963
964 * emulation/viper-cmd.el (viper-submit-report):
965 * progmodes/ps-mode.el (ps-mode-maintainer-address):
966 * progmodes/vera-mode.el (vera-mode-help-address):
967 * textmodes/artist.el (artist-maintainer-address):
968 * textmodes/reftex.el (reftex-report-bug):
969 * vc/ediff-util.el (ediff-submit-report):
970 Add bug-gnu-emacs to bug report address.
971
972 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
973 Remove bug report entries.
974 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
975
976 * emacs-lisp/bytecomp.el (byte-compile-level): New.
977 (byte-compile-file, byte-compile-from-buffer):
978 Use separate input/output buffers for each level of recursive
979 byte-compile-file calls. (Bug#13787)
980
981 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
982
983 * net/tramp.el (tramp-methods): Fix docstring.
984 (tramp-ssh-controlmaster-options): Rename it from
985 `tramp-ssh-controlmaster-template'. Return a string.
986 (tramp-default-method): Adapt check for
987 `tramp-ssh-controlmaster-options'.
988
989 * net/tramp-sh.el (tramp-methods):
990 Replace `tramp-ssh-controlmaster-template' by "%c".
991 (tramp-do-copy-or-rename-file-out-of-band)
992 (tramp-maybe-open-connection): Use it in format spec. Ensure,
993 that it is applied for the first hop only.
994
995 2013-02-22 Juri Linkov <juri@jurta.org>
996
997 * isearch.el (isearch-lazy-highlight-new-loop):
998 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
999 to `isearch-other-end' if it is not nil. (Bug#13402)
1000
1001 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1002 to `match-beg'.
1003
1004 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1005 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1006 and `isearch-error' to nil.
1007
1008 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1009
1010 * progmodes/python.el (python-info-current-defun):
1011 Enhance match-data cluttering prevention.
1012
1013 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1014
1015 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1016
1017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1018 Handle multibyte file names.
1019
1020 2013-02-22 Glenn Morris <rgm@gnu.org>
1021
1022 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1023 (sgml-transformation-function): Give it a :set function.
1024 (sgml-tag): Doc fix.
1025
1026 * cmuscheme.el (scheme-buffer):
1027 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1028 * progmodes/tcl.el (inferior-tcl-buffer):
1029 * textmodes/tex-mode.el (tex-command): Doc fixes.
1030
1031 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1032
1033 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1034
1035 2013-02-21 Bastien Guerry <bzg@gnu.org>
1036
1037 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1038
1039 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1040
1041 * progmodes/python.el (python-info-current-defun):
1042 Enhance match-data cluttering prevention.
1043
1044 2013-02-21 Glenn Morris <rgm@gnu.org>
1045
1046 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1047 loaded while outline-regexp is let bound. (Bug#9584)
1048
1049 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1050
1051 * progmodes/python.el (python-info-current-defun): Fix failed
1052 defun name retrieval because of unwanted match-data cluttering.
1053
1054 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1057 defconst. Apply independent check for ControlPersist.
1058
1059 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1060 temporarily, via "env".
1061
1062 2013-02-21 Glenn Morris <rgm@gnu.org>
1063
1064 * info.el (Info-enable-edit): Remove.
1065 (Info-edit): Disable it rather than using Info-enable.
1066 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1067 (Info-cease-edit): Make editing of Info files obsolete.
1068
1069 * informat.el (Info-tagify):
1070 Handle buffers not visiting files. (Bug#13763)
1071
1072 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1073
1074 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1075
1076 2013-02-21 Glenn Morris <rgm@gnu.org>
1077
1078 * files.el (basic-save-buffer): Move check for existing parent
1079 directory after hooks. (Bug#13773)
1080
1081 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * simple.el (command-execute): Move from C. Add obsolete check.
1084 (extended-command-history): Move from C.
1085
1086 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1087
1088 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1089 (jka-compr-mode-alist-additions): Handle .txz suffix for
1090 XZ-compressed tar archives (bug#13770).
1091
1092 2013-02-20 Bastien Guerry <bzg@gnu.org>
1093
1094 * outline.el (outline-regexp, outline-heading-end-regexp):
1095 Make variables, not options (bug#13731).
1096
1097 2013-02-20 Glenn Morris <rgm@gnu.org>
1098
1099 * image.el (image-current-frame): Change from variable to function.
1100 (image-show-frame): Rename from image-nth-frame. Update callers.
1101 * image-mode.el (image-multi-frame): New variable.
1102 (image-mode-map, image-mode, image-goto-frame):
1103 Use image-multi-frame rather than image-current-frame.
1104 (image-mode, image-goto-frame): Use image-current-frame as
1105 function rather than as variable.
1106
1107 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1108 * emacs-lisp/cl-macs.el (cl--make-type-test)
1109 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1110
1111 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1114 (tramp-get-file-property, tramp-set-file-property)
1115 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1116 (tramp-flush-file-property, tramp-flush-directory-property):
1117 Rename argument to KEY.
1118 (tramp-flush-connection-property): Simplify a little bit.
1119 (tramp-connection-property-p): New defun.
1120 (top): Reapply saved values only if there isn't a corresponding
1121 entry in `tramp-connection-properties'.
1122
1123 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1124
1125 * progmodes/python.el (python-indent-context):
1126 Fix python-info-line-ends-backslash-p call.
1127 (python-info-line-ends-backslash-p)
1128 (python-info-beginning-of-backslash): Respect line-number argument.
1129 (python-info-current-line-comment-p):
1130 Fix behavior when not at beginning-of-line.
1131 (python-util-position): Remove function.
1132 (python-util-goto-line): New function.
1133
1134 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1135
1136 * eshell/em-unix.el (eshell/su): Require tramp.
1137 (eshell/sudo): Require tramp. Remove now unnecessary check.
1138
1139 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1140 `tramp-current-connection' in order to avoid an error when several
1141 commands are invoked in a short time in eshell and friends.
1142
1143 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 Cleanup some of EIEIO's namespace.
1146 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1147 Use it to define all the class-* and object-* field accessors (renamed
1148 to eieio--class-* and eieio--object-*). Update all uses.
1149 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1150 class-num-slots and object-num-slots.
1151 (eieio--check-type): New macro.
1152 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1153 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1154 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1155 (object-assoc-list-safe): Use it.
1156 (eieio-defclass): Tighten regexp.
1157 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1158 Remove unreachable code.
1159 (object-class-fast): Declare obsolete.
1160 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1161 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1162 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1163 Rename from class-name, object-name, object-set-name-string,
1164 object-class, object-class-name, class-parents, class-children,
1165 class-precedence-list, class-parent; with obsolete alias.
1166 (class-of, class-direct-superclasses, class-direct-subclasses):
1167 Declare obsolete.
1168 (eieio-defmethod): Use `memq'; remove unreachable code.
1169 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1170 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1171 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1172
1173
1174 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1175
1176 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1177 commentary.
1178
1179 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1180
1181 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1182 Use font-lock-keyword-face for macros and special forms (bug#8345).
1183
1184 2013-02-17 Didier Verna <didier@didierverna.net>
1185
1186 * net/network-stream.el (network-stream-open-starttls):
1187 Check that response to the starttls-command is non-nil. (Bug#13706)
1188
1189 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1192 Don't assume all identifier chars have syntax word.
1193 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1194 Remove bar-not-symbol. Adjust callers.
1195 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1196
1197 2013-02-17 Leo Liu <sdl.web@gmail.com>
1198
1199 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1200
1201 2013-02-17 Glenn Morris <rgm@gnu.org>
1202
1203 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1204
1205 * image-mode.el (image-mode-map): Add image-dired menu entry.
1206
1207 * image-dired.el (tumme): Make this alias obsolete.
1208
1209 2013-02-16 Glenn Morris <rgm@gnu.org>
1210
1211 * image.el (image-animated-types): Remove.
1212 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1213 (image-animated-p): Make obsolete alias.
1214 (image-animate, image-nth-frame, image-animate-timeout):
1215 Use image-multi-frame-p.
1216 (image-animate-timeout): If no delay, use image-default-frame-delay.
1217 * image-mode.el (image-mode, image-toggle-animation):
1218 Use image-multi-frame-p. (Bug#763, bug#10739)
1219 (image-mode): Adjust startup message for a multi-frame image.
1220
1221 * image-mode.el (image-mode-map): Give it a menu.
1222
1223 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1224
1225 * net/tramp-cache.el (tramp-connection-properties): New customer
1226 option.
1227 (tramp-get-connection-property): Use it.
1228
1229 * net/tramp-compat.el (top): Require 'trampver.
1230
1231 * net/tramp-sh.el (tramp-remote-process-environment):
1232 Set tramp-autoload cookie.
1233
1234 2013-02-16 Kevin Ryde <user42@zip.com.au>
1235
1236 * info-look.el (info-lookup-select-mode): If major-mode has no
1237 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1238
1239 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1240
1241 * replace.el (read-regexp): Tighten the regexp that matches tag.
1242 When tag is retrieved with `find-tag-default', use regexp that
1243 matches tag at point. Also update docstring (Bug#13687).
1244
1245 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1246
1247 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1248 add watch for the file, not its parent directory, since w32notify
1249 sets up the watch for the directory internally. (Bug#13725)
1250
1251 2013-02-16 Glenn Morris <rgm@gnu.org>
1252
1253 * image.el (image-default-frame-delay): New variable.
1254 (image-animated-p): Use image-default-frame-delay.
1255 (image-minimum-frame-delay): New constant.
1256 (image-animate-timeout): Use image-minimum-frame-delay.
1257
1258 * image.el (image-nth-frame): New, split from image-animate-timeout.
1259 (image-animate-timeout): Use image-nth-frame.
1260 * image-mode.el (image-goto-frame, image-next-frame)
1261 (image-previous-frame): New commands.
1262 (image-mode-map): Add new frame commands.
1263
1264 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1265
1266 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1267 If col-desc already has help-echo, use it. (Bug#13563)
1268
1269 2013-02-16 Glenn Morris <rgm@gnu.org>
1270
1271 * image.el (image-current-frame): New variable.
1272 (image-animate-timeout): Set image-current-frame.
1273 * image-mode.el (image-mode): For animated images,
1274 display a frame counter via mode-line-process.
1275
1276 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1277
1278 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1281
1282 2013-02-15 Alan Mackenzie <acm@muc.de>
1283
1284 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1285 global minor mode has been enabled, call the minor mode function
1286 for a new buffer once only, after the major mode hook, whilst
1287 allowing that hook explicitly to disable the minor mode.
1288 (MODE-disable-in-buffer): New (generated) function.
1289 (disable-MODE): New (generated) buffer local variable.
1290
1291 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1292
1293 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1294 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1295 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1296 `ido-next-match' and `ido-prev-match' resply.
1297 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1298 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1299 `icomplete-backward-completions' (Bug#13708).
1300
1301 2013-02-15 Glenn Morris <rgm@gnu.org>
1302
1303 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1304
1305 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1308 (goto-address-fontify-region): Use them instead of narrowing, so
1309 syntax-ppss has access to the whole buffer.
1310
1311 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1312
1313 * progmodes/python.el: Explain how to restore "cc-mode"-like
1314 forward-sexp movement in header documentation (Bug#13642).
1315 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1316 comments and strings (GH bug 114).
1317
1318 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1319
1320 * progmodes/python.el (python-info-current-defun): Fix current
1321 defun detection (Bug#13618).
1322
1323 2013-02-15 Chong Yidong <cyd@gnu.org>
1324
1325 * xml.el (xml-parse-string): Fix typo in handling of bad character
1326 references.
1327
1328 2013-02-15 Glenn Morris <rgm@gnu.org>
1329
1330 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1331
1332 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp.el (tramp-debug-message):
1335 Add `tramp-condition-case-unless-debug'.
1336 (tramp-debug-on-error): New defvar.
1337 (tramp-condition-case-unless-debug): New defun.
1338 (tramp-file-name-handler): Use it.
1339
1340 2013-02-14 Juri Linkov <juri@jurta.org>
1341
1342 * info.el (Info-isearch-filter): Treat non-nil values of
1343 `search-invisible' including its default value `open'
1344 like the value `t' to match hidden text. (Bug#13402)
1345
1346 2013-02-14 Glenn Morris <rgm@gnu.org>
1347
1348 * help-fns.el (find-lisp-object-file-name): Give special treatment
1349 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1350
1351 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1352
1353 * net/quickurl.el (quickurl-save-urls):
1354 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1355
1356 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1357
1358 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1359 depth for unfinished percent literal. Not using it in the caller.
1360 (ruby-move-to-block): Jump over multiline literals of all types,
1361 ignoring code-looking contents inside them.
1362 (ruby-add-log-current-method): Improve performance at the expense
1363 of accuracy. `ruby-block-contains-point' is relatively slow, so
1364 only use it for method and singleton class blocks.
1365
1366 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1367
1368 Use ControlMaster where applicable. (Bug#13677)
1369
1370 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1371 replacing `tramp-detect-ssh-controlmaster'.
1372 (tramp-default-method): Use it.
1373
1374 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1375 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1376 arguments.
1377 [scpc, rsyncc]: Remove methods.
1378 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1379 and "ssh2_old".
1380 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1381 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1382
1383 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/package.el (package--initialized): Move before first use.
1386
1387 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1388
1389 * icomplete.el (icomplete-hide-common-prefix): New user option.
1390 (icomplete-first-match): New face.
1391 (icomplete-completions): Correct handling of "complete but not
1392 unique" (Bug#12638).
1393
1394 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1395
1396 * descr-text.el (describe-char): Display the script (bug#13698).
1397
1398 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * tmm.el: Use lexical-binding and current-active-maps.
1401 (tmm-menubar): Use map-keymap and pcase.
1402 (tmm--completion-table): New function.
1403 (tmm-prompt): Use it to fix the menu order.
1404 (tmm-get-keybind): Use current-active-maps.
1405
1406 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1407
1408 Add dired-hide-details-mode. (Bug#6799)
1409
1410 * locate.el (locate-mode): Set parent mode property to dired-mode.
1411
1412 * find-dired.el (find-dired): Call dired-insert-set-properties on
1413 initial information line. Set process mark on end of buffer.
1414 (find-dired-sentinel):
1415 Call dired-insert-set-properties on summary.
1416
1417 * dired.el (dired-hide-details-hide-symlink-targets)
1418 (dired-hide-details-hide-information-lines): New options.
1419 (dired-insert-directory):
1420 Set properties after final treatment of output.
1421 (dired-insert-set-properties):
1422 Set dired-hide-details-* properties.
1423 (dired-mode-map): Bind dired-hide-details-mode.
1424 (dired-mode): Set buffer-invisibility-spec to a list.
1425 (dired-next-line): Skip hidden lines.
1426 (dired-previous-line): Use dired-next-line.
1427 (dired-hide-details-mode): New minor mode.
1428 (dired-hide-details-update-invisibility-spec): New function.
1429
1430 2013-02-13 Glenn Morris <rgm@gnu.org>
1431
1432 * play/yow.el: Move to obsolete/. (Bug#9384)
1433
1434 2013-02-13 Juri Linkov <juri@jurta.org>
1435
1436 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1437 to select `ediff-control-frame' and set input focus correctly on Xfce.
1438 (Bug#12218)
1439
1440 2013-02-13 Juri Linkov <juri@jurta.org>
1441
1442 * image-mode.el (image-mode-map):
1443 * doc-view.el (doc-view-mode-map):
1444 * vc/ediff-util.el (ediff-setup-keymap):
1445 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1446
1447 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1448
1449 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1450 performance. Instead of recalculating indentation fully for each
1451 line, sum up indentation depth based only on visited lines.
1452 (ruby-parse-partial): Increase the depth after "do" even when END
1453 is right after it.
1454 (ruby-parse-partial): When END is in the middle of a percent
1455 literal, increase the depth if the delimiter chars belong to the
1456 paren syntax class.
1457
1458 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1459
1460 * play/fortune.el (fortune-compile): Also make the compiled file
1461 if it does not exist at all, not just if it is old. (Bug#5338)
1462
1463 2013-02-13 Glenn Morris <rgm@gnu.org>
1464
1465 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1466
1467 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1468
1469 * lisp/emacs-lisp/package.el (package-menu-execute):
1470 Add optional noquery argument. (Bug#13625)
1471
1472 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1473
1474 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1475 if DIR exists and PARENTS is non-nil.
1476
1477 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1478
1479 * progmodes/js.el (js--multi-line-declaration-indentation):
1480 Silence byte-compiler warning.
1481
1482 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1483
1484 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1485
1486 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1487 only if it doesn't exist.
1488
1489 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1490 Set process marker.
1491
1492 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1493
1494 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1495 UserInstallation when calling soffice to work around LibreOffice
1496 bug 37531.
1497
1498 2013-02-12 Glenn Morris <rgm@gnu.org>
1499
1500 * files.el (basic-save-buffer):
1501 Offer to create a non-existing directory. (Bug#3016)
1502
1503 * calc/calc-graph.el (calc-graph-show-dumb):
1504 * calendar/calendar.el (calendar-mode-map):
1505 * cus-edit.el (custom-mode-map):
1506 * ehelp.el (electric-help-map):
1507 * emulation/vip.el (vip-mode-map):
1508 * epa.el (epa-key-list-mode-map):
1509 * info.el (Info-mode-map):
1510 * mail/rmail.el (rmail-mode-map):
1511 * mail/rmailsum.el (rmail-summary-mode-map):
1512 * man.el (Man-mode-map):
1513 * net/newst-plainview.el (newsticker-mode-map):
1514 * progmodes/cpp.el (cpp-edit-mode-map):
1515 * progmodes/grep.el (grep-mode-map):
1516 * progmodes/idlw-help.el (idlwave-help-mode-map):
1517 * simple.el (special-mode-map):
1518 * startup.el (splash-screen-keymap):
1519 * view.el (view-mode-map):
1520 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1521
1522 2013-02-11 Elias Pipping <pipping@lavabit.com>
1523
1524 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1525 (bug#13679).
1526
1527 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1530
1531 2013-02-11 Glenn Morris <rgm@gnu.org>
1532
1533 * vc/diff.el (diff-use-labels): New variable.
1534 (diff-no-select): Use --label rather than -L, and first
1535 check that it is supported. (Bug#11067)
1536
1537 * files.el (enable-dir-local-variables): New variable.
1538 (hack-dir-local-variables): Respect enable-dir-local-variables.
1539 * tutorial.el (help-with-tutorial):
1540 Ignore directory-local variables. (Bug#11127)
1541
1542 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1543 (vc-svn-global-switches): ... to here. (Bug#13513)
1544
1545 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1546
1547 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1548 Handle "foo (bar, default: xxx): " prompts.
1549
1550 2013-02-10 Chong Yidong <cyd@gnu.org>
1551
1552 * files.el (basic-save-buffer-1): Do not set
1553 buffer-file-coding-system-explicit (Bug#4533).
1554
1555 * mail/emacsbug.el (report-emacs-bug): Change binding of
1556 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1557
1558 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1559
1560 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1561 * calc/calc-units.el (calc-convert-units): Use new variable.
1562
1563 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1564
1565 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1566
1567 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1568 buffer-file-type.
1569
1570 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1571 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1572 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1573 coding-system-for-write instead.
1574
1575 * jka-compr.el (jka-compr-write-region): Don't bind
1576 buffer-file-type.
1577
1578 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1579 buffer-file-type.
1580
1581 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1582 (insert-file-contents-literally): Remove reference to
1583 file-name-buffer-file-type-alist.
1584
1585 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1586 make-obsolete.
1587 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1588 (find-buffer-file-type-coding-system): Remove references to
1589 find-buffer-file-type-match, find-buffer-file-type, and
1590 buffer-file-type.
1591 Don't put find-buffer-file-type-coding-system into
1592 file-coding-system-alist.
1593 (find-file-binary, find-file-text): Bind coding-system-for-read
1594 instead of file-name-buffer-file-type-alist.
1595
1596 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1597
1598 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1599 converter (Bug#13622).
1600 (doc-view-unoconv-program): Make obsolete alias.
1601 (doc-view-odf->pdf-converter-program): New variable.
1602 (doc-view-odf->pdf-converter-function): New variable.
1603 (doc-view-mode-p): Use it.
1604 (doc-view-odf->pdf-converter-unoconv):
1605 Rename from `doc-view-odf->pdf-converter-unoconv'.
1606 (doc-view-odf->pdf-converter-soffice): New function.
1607 (doc-view-convert-current-doc):
1608 Use `doc-view-odf->pdf-converter-function'.
1609
1610 2013-02-09 Chong Yidong <cyd@gnu.org>
1611
1612 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1613 view-echo-area-messages (Bug#13340).
1614
1615 * help.el (view-echo-area-messages): Use display-buffer.
1616
1617 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1618 (Bug#13561).
1619
1620 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1623 Eval body right away, now that we do eager macroexpansion (bug#13605).
1624
1625 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1626 (fundamental-mode): Use run-mode-hooks.
1627
1628 * eshell/esh-proc.el (eshell/kill): Fix last change.
1629 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1630
1631 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1632
1633 * eshell/esh-proc.el (eshell/kill): Rewrite.
1634
1635 * eshell/em-ls.el (show-almost-all): Declare.
1636 (eshell-do-ls): Add support for -A argument.
1637
1638 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1639
1640 * icomplete.el (icomplete-forward-completions)
1641 (icomplete-backward-completions): Handle corner case (bug#13602).
1642
1643 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1644
1645 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1646 be nil. Handle this. (Bug#13636)
1647
1648 2013-02-07 Richard Stallman <rms@gnu.org>
1649
1650 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1651 `save-buffer-coding-system'.
1652
1653 2013-02-07 Alan Mackenzie <acm@muc.de>
1654
1655 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1656 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1657 (c-parse-state-get-strategy): Don't return 'BOD any more.
1658 (c-append-lower-brace-pair-to-state-cache):
1659 Extra parameter HERE instead of narrowing.
1660 Widen to top of buffer before searching backwards for a brace pair.
1661 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1662 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1663 Narrow to parameter HERE, in place of being called narrowed.
1664 (c-remove-stale-state-cache): Extra parameter HERE in place of
1665 narrowing. Check there's an open brace in the cache before
1666 searching for its match.
1667 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1668 (c-parse-state-1): Don't narrow here for 'forward strategy,
1669 instead passing extra parameter HERE to several functions.
1670 Remove 'BOD strategy.
1671
1672 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1673
1674 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1675 used to install the package.
1676
1677 2013-02-06 Glenn Morris <rgm@gnu.org>
1678
1679 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1680 if we can't get user input. (Bug#6567)
1681
1682 * startup.el (command-line): If simple.el is missing,
1683 test and warn about for some possible causes.
1684
1685 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1686
1687 * cus-start.el (all): Add ns-use-native-fullscreen.
1688
1689 2013-02-05 Glenn Morris <rgm@gnu.org>
1690
1691 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1692
1693 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1694 Fix directory creation in fallback case.
1695
1696 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1697
1698 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1699 (vc-update-change-log): Use dolist.
1700
1701 2013-02-04 Chong Yidong <cyd@gnu.org>
1702
1703 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1704 code from ffap.el.
1705 (thing-at-point-beginning-of-url-regexp): New var.
1706 (thing-at-point-uri-schemes): Update list of URI schemes.
1707 (thing-at-point-url-regexp): Variable deleted.
1708 (thing-at-point-markedup-url-regexp): Disallow newlines.
1709 (thing-at-point-newsgroup-regexp)
1710 (thing-at-point-newsgroup-heads)
1711 (thing-at-point-default-mail-uri-scheme): New variables.
1712 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1713 method to find the possible bounds of the URI at point.
1714 New optional argument to find ill-formed URIs.
1715 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1716 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1717 the scheme-adding heuristics from ffap-url-at-point.
1718 (thing-at-point--bounds-of-well-formed-url): New function.
1719 Do parens matching to decide whether to include parens in the URI
1720 (Bug#9153).
1721
1722 * ffap.el: Require thingatpt.
1723 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1724 All URI-valid characters are now recognized (Bug#5673).
1725 (ffap-string-at-point): Use use-region-p.
1726 (ffap-url-regexp): Extra character is handled by thing-at-point.
1727 (ffap-string-at-point-mode-alist): Allow parentheses.
1728 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1729 Convert to aliases; code moved to thingatpt.el.
1730 (ffap-gnus-hook): Use setq-local.
1731
1732 2013-02-04 Glenn Morris <rgm@gnu.org>
1733
1734 * emacs-lisp/ert.el (ert--explain-format-atom):
1735 Don't try to print non-characters as characters. (Bug#13543)
1736
1737 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1738
1739 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1740 (tramp-backtrace): New defun.
1741 (tramp-handle-insert-file-contents): Use `visit' when inserting
1742 the local copy.
1743
1744 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1745 Use `remote-file-name-inhibit-cache'.
1746
1747 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1750 (bug#13614).
1751
1752 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1753 current-load-list (bug#13366).
1754
1755 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1756
1757 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1758 Identify g++ template instantiation trace. (Bug#12287)
1759 (compilation-mode-hook, compilation-start-hook)
1760 (compilation-window-height): Simplify docstrings. (Bug#13379)
1761
1762 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * mouse.el (mouse-drag-track): Always deactivate the mark before
1765 running the final event's command since that command is in charge of
1766 activating the mark if needed (bug#13523).
1767
1768 2013-02-02 Juri Linkov <juri@jurta.org>
1769
1770 * replace.el (perform-replace): Move let-bindings of isearch-*
1771 variables deeper to the loop that searches for the next match.
1772 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1773 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1774 (Bug#13579)
1775
1776 * isearch.el (isearch-search-fun-default): Check for null
1777 first element of isearch-cmds as a precaution when it's used
1778 with inactive isearch.
1779
1780 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1781
1782 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1783 error when buffer in question is narrowed so position 1 is out of
1784 visible part.
1785
1786 2013-02-02 Glenn Morris <rgm@gnu.org>
1787
1788 * textmodes/remember.el (remember-clipboard): Doc fix.
1789
1790 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1793 properties (bug#13179).
1794
1795 2013-02-02 Juri Linkov <juri@jurta.org>
1796
1797 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1798 instead of hard-coded default face `match'. (Bug#9438)
1799
1800 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1801
1802 * vc/vc-arch.el (vc-arch-registered):
1803 * vc/vc-bzr.el (vc-bzr-registered):
1804 * vc/vc-cvs.el (vc-cvs-registered):
1805 * vc/vc-git.el (vc-git-registered):
1806 * vc/vc-hg.el (vc-hg-registered):
1807 * vc/vc-mtn.el (vc-mtn-registered):
1808 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1809 (Bug#13139)
1810
1811 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1812 prefix argument. (Bug#11656)
1813
1814 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1817
1818 2013-02-01 Glenn Morris <rgm@gnu.org>
1819
1820 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1821 if the backend is known not to support it.
1822
1823 * imenu.el (imenu-default-create-index-function):
1824 Tweak infinite loop test to check for forward motion as well as none.
1825
1826 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1827
1828 * net/soap-client.el (soap-invoke): Encode the string for
1829 `url-request-data' as UTF-8.
1830 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1831
1832 2013-02-01 Glenn Morris <rgm@gnu.org>
1833
1834 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1835
1836 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1837
1838 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1839
1840 * net/tramp.el (tramp-tramp-file-p): Comment check for
1841 `string-as-unibyte'. The function does not exist on XEmacs, and
1842 likely we need another approach.
1843
1844 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1845 `tramp-gw-*' variables are bound.
1846
1847 2013-01-31 Glenn Morris <rgm@gnu.org>
1848
1849 * files.el (basic-save-buffer-2): Choose coding system for
1850 writing the file before backing it up, to reduce delay between
1851 backing up and writing the new version. (Bug#13522)
1852
1853 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1854
1855 * simple.el (cycle-spacing): New command.
1856 (just-one-space): Use it.
1857
1858 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1861 (opascal-newline-always-indents): Remove custom.
1862 (opascal-tab, opascal-newline): Remove commands.
1863 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1864 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1865 (opascal-save-match-data): Remove, use save-match-data instead.
1866 (opascal-save-state): Use with-silent-modifications.
1867
1868 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1869 (bug#13585).
1870
1871 2013-01-30 Juri Linkov <juri@jurta.org>
1872
1873 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1874 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1875 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1876
1877 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1880 column if we're just deleting the backslashes.
1881 (makefile-fill-paragraph): Use eolp.
1882
1883 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * autorevert.el (auto-revert-use-notify): Fix docstring.
1886
1887 2013-01-30 Leo Liu <sdl.web@gmail.com>
1888
1889 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1890
1891 2013-01-30 Glenn Morris <rgm@gnu.org>
1892
1893 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1894 unread-command-events twice in some cases. This tries to implement
1895 the 2012-07-26 changes in a different way. (Bug#13560)
1896
1897 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1898
1899 * progmodes/python.el
1900 (python-pdbtrack-comint-output-filter-function): Enhancements on
1901 stacktrace detection. (thanks @gnovak)
1902
1903 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1906 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1907 Use defvar-local.
1908 (jit-lock-register): Use setq-local.
1909
1910 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1911
1912 * calc-units.el (math-default-units-table): Remove initial value.
1913 (calc-convert-units): Treat expressions where all the units cancel as
1914 if they didn't have units.
1915
1916 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1917
1918 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1919 (tramp-completion-reread-directory-timeout): Fix type.
1920 (tramp-connection-min-time-diff): New defcustom.
1921
1922 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1923
1924 2013-01-30 Glenn Morris <rgm@gnu.org>
1925
1926 * imenu.el (imenu-default-create-index-function):
1927 Put back a version of the infinite loop test removed 2013-01-23.
1928
1929 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1930
1931 * progmodes/python.el (python-shell-parse-command):
1932 Find python-shell-interpreter with modified environment.
1933
1934 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1937
1938 2013-01-29 Alan Mackenzie <acm@muc.de>
1939
1940 Amend to fontify /regexp/s in actions correctly.
1941 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1942 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1943 are no longer included.
1944 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1945 What used to be these variables without "-line" in the name.
1946 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1947 (c-awk-non-arith-op-bra-re): Now also matches {.
1948 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1949 "return", and "case".
1950 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1951 by /.
1952 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1953 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1954
1955 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1956
1957 * autorevert.el (auto-revert-use-notify):
1958 Use `custom-initialize-default' for initialization. (Bug#13583)
1959
1960 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1961
1962 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1963 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1964 in `tramp-file-name-handler'.
1965 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1966 compatibility.
1967 (tramp-compute-multi-hops): Check, whether
1968 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1969
1970 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1973 (bug#13297).
1974
1975 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1976
1977 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1978 checks made superfluous by the \_< operator.
1979 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1980 temporarily) broken indentation.
1981 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1982 Highlight nested constants, too. \_< broke that.
1983
1984 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1985
1986 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1987 instead of "\\b".
1988
1989 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1990
1991 * autorevert.el (auto-revert-handler): Notifications which result
1992 from a saved file shall not be taken into account. (Bug#13557)
1993
1994 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1995
1996 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1997 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1998 (lisp-mode): Pass t for it. (Bug#13556)
1999
2000 2013-01-25 Alan Mackenzie <acm@muc.de>
2001
2002 AWK Mode: Fix indentation bug at top level. Bug #12274.
2003
2004 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2005 just before CASE 5D.
2006
2007 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2008
2009 * net/socks.el (socks-nslookup-host): Use string-to-number.
2010
2011 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * autorevert.el (auto-revert-remote-files)
2014 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2015 (auto-revert-notify-enabled, auto-revert-use-notify)
2016 (auto-revert-notify-watch-descriptor-hash-list)
2017 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2018 (auto-revert-notify-event-descriptor)
2019 (auto-revert-notify-event-action)
2020 (auto-revert-notify-event-file-name): Doc fix.
2021 (global-auto-revert-mode): Reorder checks.
2022 (auto-revert-notify-rm-watch): Respect changed values of
2023 `auto-revert-notify-watch-descriptor-hash-list'.
2024 (auto-revert-notify-add-watch): Check for
2025 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2026 `inotify-add-watch'. Watch `default-directory' instead of
2027 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2028 has a changed meaning now. (Bug#13540)
2029 (auto-revert-notify-handler): Change implementation wrt events
2030 returning from a directory.
2031 (auto-revert-handler): Reorder implementation for checks of remote
2032 files.
2033 (auto-revert-buffers): Fix parentheses error.
2034
2035 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2036
2037 * progmodes/python.el: Enhancements to header documentation about
2038 skeletons. (Bug#5716)
2039
2040 * imenu.el (imenu-default-create-index-function): Remove useless
2041 infinite loop check. (Bug#13438)
2042
2043 2013-01-25 Alan Mackenzie <acm@muc.de>
2044
2045 Fix a bug in the state cache mechanism. Refactor this a bit.
2046
2047 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2048 `cache-pos' element from the return value.
2049 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2050 buffer to enable proper searching from beyond HERE. Amend the
2051 test for detecting the sought brace pair. Amend the value written
2052 to the "brace desert cache" when the brace isn't found.
2053 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2054 and several other variables analogously.
2055 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2056 parameter to a locally calculated variable.
2057 (c-parse-state-1): Change the calling conventions to the two
2058 defuns involving `cache-pos'.
2059
2060 2013-01-25 Chong Yidong <cyd@gnu.org>
2061
2062 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2063
2064 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2065
2066 * paren.el (show-paren-function): Make sure to set 'priority and
2067 'face only if the overlay does exist.
2068
2069 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2070
2071 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2072
2073 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2074 basic attributes.
2075 (tramp-sh-handle-set-file-acl): Improve error checking.
2076
2077 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2078
2079 * doc-view.el (doc-view-display): Force mode line update until all
2080 document is converted. Suggested by Stefan Monnier (Bug#13164).
2081
2082 2013-01-23 Bastien Guerry <bzg@gnu.org>
2083
2084 * paren.el (show-paren-function): Make sure an overlay exists
2085 before trying to delete it. Also use `pos' as a position only
2086 when it is an integer.
2087
2088 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2089
2090 * play/gametree.el (gametree-break-line-here): Use point-marker.
2091
2092 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2095 Mark descriptive parts with `display' property.
2096
2097 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2098
2099 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2100 New variable to map standard dict names to hunspell ones.
2101 (ispell-set-spellchecker-params): Make sure specific dict names
2102 are used for standard dicts with hunspell.
2103
2104 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2105
2106 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2107 chars for note (%N) and url (%U).
2108 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2109
2110 2013-01-21 Juri Linkov <juri@jurta.org>
2111
2112 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2113 in addition to existing separate binding `meta f10' in `global-map'.
2114 (Bug#13484)
2115
2116 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2117
2118 Improve XEmacs compatibility.
2119
2120 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2121
2122 * net/tramp-adb.el (top): Require `time-date'.
2123 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2124 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2125 Use `tramp-file-name-handler'.
2126 (tramp-adb-maybe-open-connection):
2127 Use `tramp-compat-set-process-query-on-exit-flag'.
2128
2129 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2130 Use `tramp-compat-funcall'.
2131
2132 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2133 `tramp-compat-funcall'.
2134
2135 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2136
2137 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2138 reimplementation using "adb shell command ..." instead of running
2139 remote shell interactively.
2140
2141 2013-01-20 Glenn Morris <rgm@gnu.org>
2142
2143 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2144 Add native profiler menu entries.
2145
2146 * profiler.el (profiler-running-p): New function.
2147 (profiler-cpu-profile): Use profiler-running-p.
2148 (profiler-report-mode-map): Add some more menu entries.
2149
2150 2013-01-19 Glenn Morris <rgm@gnu.org>
2151
2152 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2153 fixes 2012-12-07 change. (Bug#13499)
2154
2155 2013-01-19 Leo Liu <sdl.web@gmail.com>
2156
2157 * dired.el (dired-get-marked-files): Prune erroneous values due to
2158 last change. (Bug#13152)
2159
2160 2013-01-19 Glenn Morris <rgm@gnu.org>
2161
2162 * progmodes/etags.el (tags-table-check-computed-list):
2163 Preserve point in tags buffer. (Bug#13412)
2164
2165 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2166
2167 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2168 Chong Yidong <cyd@gnu.org>
2169
2170 * image-mode.el (image-next-file, image-previous-file):
2171 New commands (Bug#8453).
2172 (image-mode-map): Bind them to n and p.
2173 (image-mode--images-in-directory): New helper function.
2174
2175 2013-01-19 Chong Yidong <cyd@gnu.org>
2176
2177 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2178 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2179 save and restore the old window configuration.
2180
2181 2013-01-18 Leo Liu <sdl.web@gmail.com>
2182
2183 * progmodes/js.el: Tweak autoload cookie for alias.
2184
2185 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2186
2187 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2188 buffer local, again. This was lost with the fix on 2013-01-12.
2189
2190 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2191
2192 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2193 order to support several eshell buffers in parallel.
2194
2195 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * autorevert.el (auto-revert-use-notify): In the :set function, do
2198 not modify `kill-buffer-hook'.
2199 (auto-revert-notify-rm-watch):
2200 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2201 (auto-revert-notify-add-watch): Do not call
2202 `auto-revert-notify-rm-watch', but add it to a buffer local
2203 `kill-buffer-hook'.
2204
2205 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2208 call to `eval' rather than a backquoted lambda.
2209
2210 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2213 to return an explicit nil.
2214 (advice--remove-function): Change accordingly.
2215
2216 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2217 the use of nadvice.el.
2218
2219 * progmodes/which-func.el (which-function): Silence imenu errors
2220 (bug#13433).
2221
2222 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2223
2224 * progmodes/sql.el: (sql-imenu-generic-expression):
2225 (sql-mode-font-lock-object-name): Match schema qualified names.
2226 (sql-connect): Use string keys.
2227 (sql-product-interactive): Wait for interpreter prompt.
2228 (sql-comint-oracle): Set process coding based on NLS_LANG.
2229
2230 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2231
2232 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2233 (sql-interactive-remove-continuation-prompt):
2234 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2235
2236 2013-01-14 Leo Liu <sdl.web@gmail.com>
2237
2238 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2239 (Bug#13420)
2240
2241 2013-01-14 Glenn Morris <rgm@gnu.org>
2242
2243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2244 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2245
2246 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2247
2248 * progmodes/python.el (python-nav-end-of-statement):
2249 Fix cornercase when handling multiline strings.
2250
2251 2013-01-13 Richard Stallman <rms@gnu.org>
2252
2253 * mail/sendmail.el (mail-position-on-field): Add doc string.
2254
2255 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2256 Get current message boundaries and pass them to
2257 message-forward-make-body-mime. Minor style changes.
2258
2259 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2260
2261 * cus-start.el (all): Avoid warnings about
2262 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2263
2264 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2265
2266 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2267
2268 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2271 (jit-lock--debug-fontifying): New var.
2272 (jit-lock--debug-fontify): New function.
2273 * subr.el (condition-case-unless-debug): Don't prevent catching the
2274 error, just let the debbugger run.
2275 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2276 timer code and don't drop errors silently.
2277
2278 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2279
2280 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2281 `permanent-local' property.
2282 (auto-revert-notify-handler): Use `file-equal-p'.
2283
2284 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2285
2286 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2287 file notification by ACTION. For filtering by file name, compare
2288 only the non-directory part of the file name.
2289
2290 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * autorevert.el: Use cl-lib instead of cl.
2293
2294 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2295 (vc-bzr-checkin): Use it.
2296 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2297 will preserve match-data.
2298
2299 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2300
2301 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2302 (js--declaration-keyword-re): New var.
2303 (js--multi-line-declaration-indentation): New function.
2304 (js--proper-indentation): Use it.
2305
2306 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2307
2308 * calc/calc.el (calc-highlight-selections-with-faces)
2309 (calc-dispatch):
2310 * comint.el (comint-history-isearch-message):
2311 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2312 * ffap.el (ffap-string-at-point-region, ffap-next)
2313 (ffap-string-at-point, ffap-string-around)
2314 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2315 (ffap-literally):
2316 * font-lock.el (font-lock-keywords-alist)
2317 (font-lock-removed-keywords-alist):
2318 * help-mode.el (help-xref-symbol-regexp):
2319 * info.el (Info-find-emacs-command-nodes):
2320 * international/mule.el (add-to-coding-system-list):
2321 * isearch.el (isearch-message-function, isearch-fail-pos):
2322 * misearch.el (multi-isearch-next-buffer-function):
2323 * newcomment.el (comment-box):
2324 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2325 (pr-setting-database):
2326 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2327 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2328 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2329 (pike-font-lock-keywords-3):
2330 * progmodes/compile.el (compile):
2331 * progmodes/etags.el (tags-table-files)
2332 (tags-table-files-function, tags-included-tables-function):
2333 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2334 (gdb-restore-windows):
2335 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2336 (ps-n-up-filling-database):
2337 * server.el (server-buffer, server-log):
2338 * simple.el (newline, delete-backward-char, delete-forward-char)
2339 (minibuffer-history-isearch-message, kill-line, track-eol)
2340 (temporary-goal-column):
2341 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2342 (flyspell-default-deplacement-commands):
2343 * textmodes/ispell.el (ispell-accept-output):
2344 * textmodes/sgml-mode.el (html-tag-help):
2345 * vc/compare-w.el (compare-ignore-whitespace)
2346 (compare-ignore-case, compare-windows-dehighlight):
2347 * vc/diff.el (diff):
2348 * whitespace.el (whitespace-point)
2349 (whitespace-font-lock-refontify, whitespace-bob-marker)
2350 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2351
2352 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2353
2354 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2355 (auto-revert-notify-rm-watch): Ignore errors.
2356 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2357 inotify, and '(size last-write-time) for w32notify.
2358 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2359 watch fails - this is a fallback to the file modification check.
2360 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2361 (auto-revert-notify-event-action)
2362 (auto-revert-notify-event-file-name): New defuns.
2363 (auto-revert-notify-handler): Use them. Implement first
2364 plausibility checks.
2365 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2366
2367 2013-01-11 Julien Danjou <julien@danjou.info>
2368
2369 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2370 max are almost equal. Also return the correct value for V which is
2371 already between 0 and 1.
2372
2373 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2374
2375 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2376
2377 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2378
2379 * autorevert.el (auto-revert-notify-rm-watch)
2380 (auto-revert-notify-add-watch): Fix typos in w32notify function
2381 names.
2382
2383 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2384
2385 * autorevert.el (auto-revert-notify-enabled): Move up.
2386 (auto-revert-use-notify): New defcustom.
2387 (auto-revert-mode, global-auto-revert-mode)
2388 (auto-revert-notify-add-watch, auto-revert-handler)
2389 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2390 `auto-revert-notify-enabled'.
2391
2392 2013-01-10 Elias Pipping <pipping@exherbo.org>
2393
2394 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2395 * doc-view.el (doc-view-document->bitmap):
2396 Use doc-view-single-page-converter-function instead of
2397 single-page-converter arg; adjust callers.
2398
2399 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2400
2401 * progmodes/which-func.el (which-function): Understand Semantic's use
2402 of overlays in imenu--index-alist.
2403
2404 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2405
2406 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2407 (Man-man-k-use-anchor): New var.
2408 (Man-parse-man-k): New function.
2409 (Man-completion-table): Use it.
2410 (man): Flush the completion cache between uses.
2411
2412 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2413
2414 * autorevert.el: Add file watch support.
2415 (auto-revert-notify-enabled): New defconst.
2416 (auto-revert-notify-watch-descriptor-hash-list)
2417 (auto-revert-notify-watch-descriptor)
2418 (auto-revert-notify-modified-p): New defvars.
2419 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2420 (auto-revert-notify-handler): New defuns.
2421 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2422 when mode is disabled.
2423 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2424 (auto-revert-buffers): Add file watches for active buffers.
2425
2426 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2427
2428 * cus-start.el (toplevel): Only allow float values for
2429 scroll-up-aggressively and scroll-down-aggressively.
2430 Allow any number for line-spacing.
2431
2432 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2435 (doc-view-pdf->png-converter-function): Use mupdf if available.
2436 (doc-view-djvu->png-converter-function)
2437 (doc-view-ps->png-converter-function): Remove.
2438 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2439 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2440 (doc-view-already-converted-p): Adjust accordingly.
2441 (doc-view-mode-p): Simplify.
2442 (doc-view-enlarge): Use setq-local.
2443 (doc-view-pdf->png-converter-ghostscript)
2444 (doc-view-djvu->png-converter-ddjvu)
2445 (doc-view-pdf->png-converter-mupdf): Rework to call
2446 doc-view-start-process directly.
2447 (doc-view-pdf/ps->png): Simplify accordingly.
2448 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2449 (doc-view-document->bitmap): Rename from doc-view-document->png.
2450 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2451 (doc-view-set-slice-from-bounding-box): Fix completion table.
2452 (doc-view-mode): Use add-hook for after-revert-hook.
2453
2454 2013-01-10 Glenn Morris <rgm@gnu.org>
2455
2456 * emacs-lisp/authors.el (authors-ignored-files)
2457 (authors-valid-file-names, authors-renamed-files-alist):
2458 Add some more entries.
2459
2460 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2463 `t' pseudo-window entry.
2464
2465 2013-01-10 Alan Mackenzie <acm@muc.de>
2466
2467 Fix bugs in the c-parse-state mechanism. Reuse some markers
2468 instead of continually generating new ones.
2469
2470 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2471 (c-state-old-cpp-end-marker): New variables.
2472 (c-append-lower-brace-pair-to-state-cache): Start a backward
2473 search for "}" definitively outside CPP constructs.
2474 (c-remove-stale-state-cache): Inform the caller of a need to
2475 search back for a brace pair in certain circumstances.
2476 (c-state-maybe-marker): New macro.
2477 (c-parse-state): Reuse markers when appropriate.
2478
2479 2013-01-10 Glenn Morris <rgm@gnu.org>
2480
2481 * simple.el (execute-extended-command): Doc fix.
2482 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2483
2484 2013-01-10 Chong Yidong <cyd@gnu.org>
2485
2486 * faces.el (read-face-name): Doc fix.
2487
2488 2013-01-10 Roland Winkler <winkler@gnu.org>
2489
2490 * emacs-lisp/crm.el: Allow any regexp for separators.
2491 (crm-default-separator): All spaces around the default comma separator.
2492 (crm--completion-command): New macro.
2493 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2494 (crm-complete-and-exit): Handle non-single-char separators.
2495
2496 2013-01-09 Elias Pipping <pipping@lavabit.com>
2497
2498 * doc-view.el: Add support for DjVu (bug#13164).
2499 (doc-view-djvu->png-converter-function): New config var.
2500 (doc-view-single-page-converter-function, doc-view--image-type)
2501 (doc-view--image-file-extension): New vars.
2502 (doc-view-mode): Initialize them.
2503 (doc-view-goto-page): Use them.
2504 (doc-view-mode-p): Add support for ddjvu.
2505 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2506 (doc-view-set-up-single-converter): New funs.
2507 (doc-view-pdf/ps->png): Extend for djvu.
2508 (doc-view-document->png): Rename from doc-view-pdf->png.
2509 (doc-view-convert-current-doc): Handle djvu.
2510 (doc-view-insert-image, doc-view-display)
2511 (doc-view-already-converted-p): Don't hardcode png.
2512 (doc-view-set-doc-type): Recognize djvu docs.
2513
2514 2013-01-09 Elias Pipping <pipping@lavabit.com>
2515
2516 * doc-view.el: Add support for mupdf converter (bug#13164).
2517 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2518 (doc-view-ps->png-converter-function): New config vars.
2519 (doc-view-pdf->png-converter-ghostscript)
2520 (doc-view-ps->png-converter-ghostscript)
2521 (doc-view-pdf->png-converter-mupdf): New functions.
2522 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2523
2524 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2525
2526 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2527 first in session cache: When `tramp-own-remote-path' is in
2528 `tramp-remote-path', the remote path is only set in the session
2529 cache.
2530
2531 2013-01-09 Glenn Morris <rgm@gnu.org>
2532
2533 * emacs-lisp/trace.el (trace-function-foreground)
2534 (trace-function-background): Doc fix.
2535
2536 2013-01-09 Juri Linkov <juri@jurta.org>
2537
2538 * international/mule-cmds.el (read-char-by-name): Move let-binding
2539 of completion-ignore-case around completing-read to fix regression
2540 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2541 `string-match-p' using the nil value of `case-fold-search' and
2542 `completion-ignore-case' in `completion-pcm--all-completions'.
2543 (Bug#12615).
2544
2545 2013-01-09 Glenn Morris <rgm@gnu.org>
2546
2547 * progmodes/compile.el (compilation-parse-errors):
2548 Fix typo. (Bug#13369)
2549
2550 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2551
2552 * comint.el (comint-send-input): Check size of buffer before
2553 waiting for process output, in case already accepted. (Bug#13290)
2554
2555 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2556
2557 Spelling fixes.
2558 * net/tramp-adb.el (tramp-adb-get-toolbox):
2559 Fix misspelling of 'unknown'.
2560
2561 2013-01-08 Juri Linkov <juri@jurta.org>
2562
2563 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2564 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2565 Use underline style wave on terminals that support it. (Bug#13000)
2566
2567 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2570 the predicate returns nil.
2571
2572 * simple.el: Use lexical-binding.
2573 (primitive-undo): Use pcase.
2574 (minibuffer-history-isearch-push-state): Use a closure.
2575
2576 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2577
2578 * simple.el (primitive-undo): Move from undo.c.
2579
2580 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2583 (cvs-mode-remove-handled): Use it (bug#13380).
2584
2585 * emacs-lisp/nadvice.el (advice--tweak): New function.
2586 (advice--remove-function, advice--subst-main): Use it.
2587
2588 * emacs-lisp/advice.el: Update commentary.
2589
2590 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2591
2592 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2593 Remove spurious entry.
2594
2595 2013-01-08 Glenn Morris <rgm@gnu.org>
2596
2597 * net/tramp.el (tramp-default-host-alist): Add :version.
2598
2599 2013-01-08 Juri Linkov <juri@jurta.org>
2600
2601 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2602 single completion. (Bug#12456)
2603 (info--manual-names): Expand node completions into an explicit list
2604 before appending it to another list. Filter out internal buffers
2605 with the leading space in the buffer name. (Bug#10771)
2606
2607 2013-01-08 Juri Linkov <juri@jurta.org>
2608
2609 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2610 that defaults to the Top node.
2611 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2612 the short format (FILENAME) goes to the Top node.
2613 (Info-build-node-completions): Rename arg `file' to `filename'.
2614 (Bug#13365)
2615
2616 2013-01-07 Bastien Guerry <bzg@gnu.org>
2617
2618 * menu-bar.el (menu-bar-search-documentation-menu):
2619 Use `apropos-user-option' and fix the help message.
2620
2621 2013-01-07 Bastien Guerry <bzg@gnu.org>
2622
2623 * apropos.el (apropos-do-all): Update docstring.
2624 (apropos-user-option-button): New face.
2625 (apropos-user-option): Rename from `apropos-variable' and update
2626 docstring.
2627 (apropos-variable): Rewrite, now show all variables by default.
2628 (apropos-print): Mention "User option" instead of "Variable" when
2629 printing doc for user options. (Bug#13276)
2630
2631 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2632
2633 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2634 Handle filename correctly, when parsing "source -> target" symlink
2635 output.
2636 (tramp-adb-handle-set-file-times): New defun.
2637
2638 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2641 advice list when the interactive-spec of ad-Advice-* changes.
2642
2643 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2644
2645 * wid-edit.el (widget-default-get): Work for inlined elements.
2646 (Bug#12670)
2647
2648 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * net/tramp.el (tramp-default-host-alist): New defcustom.
2651 (tramp-find-host): Use it.
2652 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2653 `eshell-directory-change-hook'.
2654
2655 * net/tramp-adb.el (top): Add adb specific entry in
2656 `tramp-default-host-alist'.
2657 (tramp-adb-file-name-host): Remove function.
2658 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2659 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2660
2661 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2662
2663 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2664
2665 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2666
2667 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2668
2669 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2670 consist of more than one digit.
2671 (tramp-adb-file-name-handler-alist):
2672 Use `tramp-handle-file-exists-p' consistently.
2673 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2674 (tramp-adb-handle-file-exists-p): Remove function.
2675 (tramp-adb-file-name-host): New defun.
2676 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2677 Use it.
2678 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2679
2680 2013-01-06 Chong Yidong <cyd@gnu.org>
2681
2682 * vc/vc.el (vc-next-action): Detect buffer modifications
2683 conflicting with locking VCS operation (Bug#11490).
2684
2685 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2686
2687 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2690 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2691
2692 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2693
2694 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2695 parsing of ls output using regular expression (handle filenames
2696 with spaces). Use virtual device number.
2697 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2698 cleanup).
2699
2700 2013-01-04 Daiki Ueno <ueno@gnu.org>
2701
2702 * epg.el: Silence byte-compiler warnings.
2703 (epg--start): Use delete-char instead of delete-backward-char.
2704 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2705
2706 2013-01-04 Daiki Ueno <ueno@gnu.org>
2707
2708 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2709 Suggested by Eli Zaretskii <eliz@gnu.org>.
2710
2711 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2714 non-negative integers. Otherwise, the default values are used.
2715 (tramp-convert-file-attributes): Convert uid and gid to integers.
2716
2717 2013-01-04 Glenn Morris <rgm@gnu.org>
2718
2719 * term.el (term-handle-colors-array): Ensure face attributes
2720 are fully specified, not nil. (Bug#13337)
2721
2722 * term.el (term-default-fg-color, term-default-bg-color):
2723 Fix custom type.
2724
2725 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2726 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2727 rather than 'jka-compr being loaded. (Bug#13338)
2728
2729 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2730
2731 * icomplete.el (icomplete-completions):
2732 Honor icomplete-prospects-height once more following
2733 2012-11-29 changes. (Bug#13224)
2734
2735 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2738 of called-interactively-p as well (bug#13237).
2739
2740 * view.el (view--enable, view--disable): Rename from view-mode-enable
2741 and view-mode-disable and assume it's called from view-mode.
2742 (view-mode-enable, view-mode-disable): Redefine as obsolete
2743 compatibility layer above view-mode.
2744 (view-mode-enter): Call `view-mode'.
2745
2746 * files.el (after-find-file): Call `view-mode'.
2747
2748 * doc-view.el (doc-view-scale-internally): New var.
2749 (doc-view-enlarge, doc-view-insert-image): Obey it.
2750
2751 2013-01-03 Daiki Ueno <ueno@gnu.org>
2752
2753 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2754 exist. (Bug#13344)
2755
2756 2013-01-03 Glenn Morris <rgm@gnu.org>
2757
2758 * mail/rmail.el (rmail-set-header-1): Ignore case.
2759 Handle multi-line headers. (Bug#13330)
2760
2761 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2762 Handle paragraph starting at beginning of buffer.
2763
2764 * subr.el (eval-after-load): Don't purecopy the form, so that it
2765 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2766
2767 * emacs-lisp/byte-run.el (defun): Place cl declarations
2768 after any interactive spec. (Bug#13265)
2769
2770 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2771
2772 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2773 defun. Don't check for DECL if DOCSTRING isn't a string.
2774 (defun): Likewise.
2775
2776 2013-01-02 Glenn Morris <rgm@gnu.org>
2777
2778 * eshell/em-cmpl.el (eshell-pcomplete):
2779 More thoroughly imitate pcomplete. (Bug#13293)
2780
2781 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2782 Return nil for empty path elements. (Bug#13296)
2783
2784 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2785
2786 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2787 order to improve efficiency (Based on Daniel Colascione's
2788 <dancol@dancol.org> patch). (Bug#13182)
2789
2790 2013-01-02 Glenn Morris <rgm@gnu.org>
2791
2792 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2793
2794 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2795
2796 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2797 neither DOCSTRING nor DECL was given. (Bug#13316)
2798
2799 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2800
2801 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2802 `error' call.
2803 (tramp-do-copy-or-rename-file): Ignore errors when calling
2804 `set-file-extended-attributes'.
2805
2806 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2807 Add handler for `file-acl'.
2808 (tramp-smb-handle-file-acl): New defun.
2809
2810 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2811
2812 * calc/README: Mention ISO 8601 week-numbering dates.
2813
2814 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2815
2816 * view.el (view-mode-enable): New argument run-view-mode-hook.
2817 Run view-mode-hook only when it's non-nil (Bug#13315).
2818 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2819 argument t.
2820
2821 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2822
2823 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2824 (No device connected, invalid device name). (Bug #13299)
2825
2826 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2827
2828 * window.el (window-resizable--p): Rename to window-resizable-p.
2829 (window-resize-no-error): New function.
2830
2831 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2832 broken in fix from 2012-12-28.
2833
2834 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * subr.el (special-form-p): Don't signal errors on undef aliases.
2837
2838 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2839
2840 * calc/calc-forms.el (math-parse-date): Try using
2841 `math-parse-iso-date' when it looks like it might be needed.
2842 Allow times of 24:00.
2843 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2844 of 24:00.
2845
2846 2012-12-30 Glenn Morris <rgm@gnu.org>
2847
2848 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2849 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2850 (rmail-summary-displayed, rmail-summary): Declare.
2851 (mairix-rmail-display): Just require rmail.
2852
2853 2012-12-30 Chong Yidong <cyd@gnu.org>
2854
2855 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2856 check for the tarball contents.
2857
2858 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2859
2860 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2861 tarfile content listings (Bug#13136).
2862
2863 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2864
2865 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2866 Insert the undecoded text of the message being forwarded. (Bug#9521)
2867
2868 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2869
2870 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2871 integers, if they are real numbers. (Bug#13282)
2872
2873 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2874 Return `t' on success.
2875
2876 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2877 Add handler for `set-file-selinux-context'.
2878
2879 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2880
2881 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2882 (tramp-sh-handle-set-file-acl): Return `t' on success.
2883
2884 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2885
2886 * files.el (backup-buffer-copy, basic-save-buffer-2):
2887 If set-file-extended-attributes fails, fall back on set-file-modes
2888 instead of signaling an error. (Bug#13298)
2889 (basic-save-buffer): Likewise.
2890
2891 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2892
2893 * progmodes/python.el: Support other commands triggering
2894 python-indent-line so indentation cycling continues to work.
2895 (python-indent-trigger-commands): New defcustom.
2896 (python-indent-line): Use it.
2897
2898 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2899
2900 * progmodes/python.el (python-shell-send-region): Add blank lines
2901 for non sent code so backtraces remain correct.
2902
2903 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2904
2905 * progmodes/python.el: Remove cl dependency.
2906 (python-syntax-count-quotes): Replace incf call.
2907 (python-fill-string): Replace setf call.
2908
2909 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2910
2911 * info.el (info-other-window): New arg, for consistency with info.
2912
2913 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2914
2915 * mail/rmail.el (rmail-maybe-display-summary):
2916 Rewrite (Bug#13066).
2917
2918 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2919
2920 * epg.el (epg--start): Modify process-environment locally.
2921
2922 2012-12-28 Daiki Ueno <ueno@gnu.org>
2923
2924 * epg.el: Support pinentry-curses.
2925 Suggested by Werner Koch in
2926 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2927 (epg-agent-file, epg-agent-mtime): New variable.
2928 (epg--start): Record the modified time of gpg-agent socket file,
2929 to restore Emacs frame after pinentry-curses termination.
2930 (epg-wait-for-completion): Restore Emacs frame here.
2931
2932 2012-12-27 Juri Linkov <juri@jurta.org>
2933
2934 * info.el (Info-file-completions): New variable.
2935 (Info-read-node-name-1): Complete node names in the Info file
2936 when a file name is given. Call `Info-build-node-completions'
2937 with a file name.
2938 (Info-build-node-completions): Add new arg `file'. When it is
2939 non-nil, visit it in a temporary buffer and cache its completions in
2940 `Info-current-file-completions'. Move most of the function body to
2941 `Info-build-node-completions-1'.
2942 (Info-build-node-completions-1): New function with the body from
2943 `Info-build-node-completions'. (Bug#12456)
2944
2945 2012-12-27 Juri Linkov <juri@jurta.org>
2946
2947 * frame.el (frame-maximization-style): Remove user option.
2948 (cycle-frame-maximized): Remove function.
2949 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2950 (toggle-frame-fullscreen): New command bound to <f11> instead of
2951 `toggle-frame-maximized'.
2952 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2953
2954 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2957
2958 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2960 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2961 for `file-accessible-directory-p'. (Bug#13275)
2962
2963 2012-12-27 Sam Steingold <sds@gnu.org>
2964
2965 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2966 continuations, see <http://stackoverflow.com/questions/3582436>.
2967
2968 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2969
2970 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2971 "module" and "def" to have indentation before them.
2972 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2973
2974 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2975
2976 2012-12-27 Alan Mackenzie <acm@muc.de>
2977
2978 Speed up fontification where there's large brace blocks.
2979 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2980 to a call of c-beginning-of-decl-1.
2981
2982 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2983
2984 * comint.el (comint-adjust-window-point): New function.
2985 (comint-postoutput-scroll-to-bottom):
2986 Call comint-adjust-window-point (Bug#13248).
2987
2988 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2991 Rakefile regexp.
2992 (auto-mode-alist): Associate .gemspec files with ruby-mode
2993 (https://bugs.ruby-lang.org/issues/5453).
2994
2995 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2996
2997 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2998 Suppress coloring, if possible (required for BusyBox based systems like
2999 CyanogenMod).
3000 (tramp-adb-handle-file-attributes)
3001 (tramp-adb-handle-insert-directory)
3002 (tramp-adb-handle-file-name-all-completions): Use it.
3003 (tramp-adb-get-toolbox): New defun. Check for remote shell
3004 implementation (BusyBox or Toolbox).
3005
3006 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3007
3008 * startup.el (initial-buffer-choice): Allow function as value
3009 (Bug#13251).
3010 (command-line-1): Handle case where initial-buffer-choice
3011 specifies a function.
3012 * server.el (server-execute): Handle case where
3013 initial-buffer-choice specifies a function.
3014
3015 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3016
3017 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3018 its own function.
3019 (smtpmail-try-auth-methods): Forget the user name/password if the
3020 login is unsuccessful (bug#12424).
3021
3022 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3023
3024 * notifications.el (notifications-notify): Protect body with
3025 `with-demoted-errors'.
3026
3027 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3028 Check properties of remote device. Restart connection, if there is a
3029 change.
3030
3031 2012-12-21 Chong Yidong <cyd@gnu.org>
3032
3033 * sort.el (sort-subr): Doc fix (Bug#13056).
3034
3035 2012-12-21 Bastien Guerry <bzg@gnu.org>
3036
3037 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3038
3039 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * simple.el (process-file): Overwrite stderr file, if exists.
3042
3043 2012-12-21 Daiki Ueno <ueno@gnu.org>
3044
3045 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3046 (epg-error): Set `error-message' property.
3047
3048 2012-12-21 Chong Yidong <cyd@gnu.org>
3049
3050 * international/mule-cmds.el (read-char-by-name): Signal an error
3051 if the user does not supply a valid character (Bug#13177).
3052
3053 * simple.el (transpose-subr-1): Preserve marker positions by
3054 changing the insertion sequence (Bug#13122).
3055
3056 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3057
3058 * simple.el (kill-region): Deactivate mark even for empty regions
3059 (Bug#13169).
3060
3061 2012-12-21 Chong Yidong <cyd@gnu.org>
3062
3063 * help-fns.el (describe-variable): Make sure we get the right
3064 buffer name (Bug#13105). Suggested by Kelly Dean.
3065
3066 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3067
3068 * comint.el (comint-redirect-previous-input-string): New variable.
3069 (comint-redirect-setup, comint-redirect-cleanup)
3070 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3071 (comint-redirect-preoutput-filter): Fix verbose message.
3072
3073 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3074
3075 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3076 is too long for Tramp. See discussion in
3077 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3078
3079 * progmodes/compile.el (compilation-start): Remove line escape
3080 template.
3081
3082 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3083
3084 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3085 Adjust comment.
3086
3087 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3088
3089 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3090 following non-comment text (bug#13207).
3091 (lm-header-multiline): Continuation lines need to be indented more than
3092 the first line.
3093 (lm-homepage): New function.
3094 (lm-with-file): Don't be confused if narrowing is in effect.
3095
3096 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3099 very beginning of a hunk (e.g. killing the first line).
3100
3101 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3104 and text properties from returned ACL string.
3105 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3106 for "setfacl" command.
3107
3108 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3109
3110 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3111 `tramp-cleanup-this-connection', when the process has died.
3112 (Bug#13151)
3113
3114 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3117
3118 2012-12-17 Kevin Ryde <user42@zip.com.au>
3119
3120 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3121
3122 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3123
3124 Add support for preserving ACL entries of files.
3125
3126 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3127 `set-file-acl' handlers.
3128
3129 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3130 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3131
3132 * net/tramp-compat.el (tramp-compat-copy-file):
3133 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3134
3135 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3136 Add `file-acl' and `set-file-acl' handlers.
3137 (tramp-gvfs-handle-copy-file):
3138 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3139 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3140 New defuns.
3141
3142 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3143 Add `file-acl' and `set-file-acl' handlers.
3144 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3145 (tramp-sh-handle-set-file-acl): New defuns.
3146 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3147 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3148
3149 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3150 Add `file-acl' and `set-file-acl' handlers.
3151 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3152
3153 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3154
3155 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3156 use pop-to-buffer with NORECORD argument t. As buffer name, use
3157 *Metahelp* with a leading space (Bug#13190).
3158
3159 2012-12-16 Romain Francoise <romain@orebokech.com>
3160
3161 * files.el (file-extended-attributes)
3162 (set-file-extended-attributes): New functions.
3163 (backup-buffer): Use them to handle both SELinux context and ACL
3164 entries.
3165 (backup-buffer-copy): Work with an alist of extended attributes,
3166 rather than an SELinux context.
3167 (basic-save-buffer-2): Ditto.
3168
3169 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3170
3171 * battery.el (battery-bsd-apm): New function.
3172
3173 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3174
3175 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3176 standard date formats.
3177
3178 2012-12-15 Juri Linkov <juri@jurta.org>
3179
3180 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3181 `isearch-insert-char-by-name'.
3182 (with-isearch-suspended): New defmacro with body mostly from
3183 `isearch-edit-string' except the part that sets
3184 `isearch-new-string' and `isearch-new-message'.
3185 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3186 body that sets `isearch-new-string' and `isearch-new-message'.
3187 (isearch-insert-char-by-name): New command.
3188 * international/mule-cmds.el (read-char-by-name): Let-bind
3189 `enable-recursive-minibuffers' to t.
3190 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3191
3192 2012-12-15 Juri Linkov <juri@jurta.org>
3193
3194 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3195 (Bug#13175)
3196
3197 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3198
3199 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3200 the prompt. (Bug#13045)
3201
3202 2012-12-14 Glenn Morris <rgm@gnu.org>
3203
3204 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3205 Try to include filename in non-bytecomp warning. (Bug#13132)
3206
3207 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3208
3209 Fix permissions bugs with setgid directories etc. (Bug#13125)
3210 * files.el (backup-buffer): Don't rely on 9th output of
3211 file-attributes, as it's now a placeholder. Instead, use the new
3212 optional arg of file-ownership-preserved-p.
3213 (file-ownership-preserved-p): New optional arg GROUP.
3214 Fix mishandling of setuid directories that would cause this
3215 function to return t when it should have returned nil.
3216 Document what happens if the file does not exist, and when
3217 it's not known whether the ownership will be preserved.
3218 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3219 Likewise.
3220 (tramp-get-local-gid): Use group-gid for integer, as that's
3221 faster and more reliable.
3222
3223 2012-12-14 Julien Danjou <julien@danjou.info>
3224
3225 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3226 Update keywords list, data type and PL/pgSQL.
3227
3228 2012-12-14 Dave Abrahams <dave@boostpro.com>
3229
3230 * vc/ediff-util.el (ediff-buffer-type): New function.
3231 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3232 rather than taking it as as argument.
3233 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3234
3235 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3236
3237 * json.el: Add pretty-print option (bug#12634).
3238 (json-encoding-separator, json-encoding-default-indentation)
3239 (json--encoding-current-indentation, json-encoding-pretty-print)
3240 (json-encoding-lisp-style-closings): New vars.
3241 (json--with-indentation): New macro.
3242 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3243 (json-encode-array): Use it to obey json-encoding-pretty-print.
3244 (json-pretty-print-buffer, json-pretty-print): New commands.
3245
3246 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3247
3248 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3249 Extract `ruby-syntax-propertize-expansions'.
3250 (ruby-syntax-propertize-expansions): Only change syntax on
3251 certain string delimiters, to punctuation. This way the common
3252 functions like forward-word and thing-at-point still work.
3253 (ruby-match-expression-expansion): Improve readability.
3254 (ruby-block-contains-point): New function.
3255 (ruby-add-log-current-method): Handle several edge cases.
3256
3257 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3258
3259 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3260 unload-feature finishes even when aborting an ongoing edebug session.
3261 Also, do not worry about edebug-mode, unload-feature takes care of it.
3262
3263 2012-12-13 Andreas Schwab <schwab@suse.de>
3264
3265 * net/tls.el (tls-program): Update customize type.
3266
3267 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3270 (edebug-setup-hook, cl-read-load-hooks): Use it.
3271 (edebug-unload-function): New function. (Bug#13163)
3272
3273 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3274
3275 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3276 Otherwise, there could be errors in autoloading. (Bug#13151)
3277
3278 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3279
3280 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3281 sequences.
3282
3283 2012-12-13 Alan Mackenzie <acm@muc.de>
3284
3285 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3286 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3287 around `forward-comment' not recognizing ^M as whitespace.
3288
3289 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3290
3291 * progmodes/python.el (python-skeleton-class)
3292 (python-skeleton-def): Do not add space after defun name.
3293
3294 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3297 (cl--symbol-function): Remove (now that funbound is like nil).
3298
3299 2012-12-12 Glenn Morris <rgm@gnu.org>
3300
3301 * button.el (button--area-button-p): Fix typo.
3302
3303 2012-12-12 Sam Steingold <sds@gnu.org>
3304
3305 * frame.el (frame-maximization-style): New user option.
3306 (toggle-frame-maximized): Toggle frame maximization according to
3307 `frame-maximization-style', bound to <f11>.
3308 (cycle-frame-maximized): Cycle between all maximization styles and
3309 non-maximized frame, bound to shift-<f11>.
3310
3311 2012-12-12 David Cadé <codename68@gmail.com>
3312
3313 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3314
3315 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3316
3317 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3318 (eieio-override-prin1): Don't quote kewords and booleans.
3319 (object-write) <eieio-default-superclass>: Don't put closing parens
3320 on new line, avoid needless empty lines, align values that are objects
3321 with the slot keyword (instead of beginning on the same line).
3322 (eieio-list-prin1): Align value with slot keyword; increase
3323 eieio-print-depth before printing members of the list.
3324
3325 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3328 a display text-property.
3329 (report-emacs-bug-hook): Don't bother deleting it any more.
3330
3331 * hilit-chg.el (highlight-save-buffer-state): Delete.
3332 Use with-silent-modifications instead.
3333 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3334
3335 * button.el: Handle buttons in display text-properties.
3336 (button--area-button-p, button--area-button-string):
3337 Use (STRING . STRING-POS) representation instead of just STRING.
3338
3339 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3340
3341 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3342 subdirectory be skipped.
3343
3344 2012-12-11 Glenn Morris <rgm@gnu.org>
3345
3346 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3347
3348 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3349 Treat preprocessor lines embedded in continuations like comments.
3350 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3351
3352 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3353
3354 * calc/calc.el (calc-standard-date-formats): Add more date
3355 formats.
3356 * calc/calc-forms.el (math-parse-iso-date): New function.
3357 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3358 (math-parse-iso-date-validate): Add extra error checking.
3359 (calc-date-notation): Add ability to access new date formats.
3360
3361 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3364 font-lock as well as when there's no text-property.
3365
3366 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3367
3368 * hi-lock.el: Refine the choice of default face.
3369 (hi-lock-keyword->face): New function. Use it wherever we used
3370 cadadadr instead.
3371 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3372 (hi-lock--last-face): Remove var.
3373 (hi-lock--unused-faces): New var to replace it.
3374 (hi-lock-read-face-name): Use/maintain it.
3375 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3376 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3377 if it has another face.
3378
3379 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3380
3381 * subr.el (w32notify-handle-event): New function.
3382 (inotify-handle-event): Doc fix.
3383
3384 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3385
3386 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3387
3388 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3389
3390 * simple.el (just-one-space): Doc fix.
3391
3392 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3393
3394 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3395
3396 2012-12-10 Le Wang <l26wang@gmail.com>
3397
3398 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3399 narrowed buffer (bug#12361).
3400
3401 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3402
3403 * vc/vc-hooks.el (vc-state): Doc fix.
3404
3405 2012-12-10 Glenn Morris <rgm@gnu.org>
3406
3407 * mail/rmail.el (rmail-maybe-display-summary):
3408 Preserve buffer, in case select-window changes it. (Bug#13066)
3409
3410 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3413 cl-load-hook where they belong.
3414
3415 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3418
3419 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3420
3421 Parallelize byte compilation on MS-Windows.
3422 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3423 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3424 (WINS_BASIC): Define as concatenation of the above.
3425 (compile): Subdivide into 4 separate and independent jobs that can
3426 be run in parallel.
3427 (compile0-CMD, compile0-SH): New targets for compiling
3428 COMPILE_FIRST files, which are prerequisites for the rest of the
3429 byte-compilation.
3430 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3431 New targets for parallel compilation with cmd.exe.
3432 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3433 compiling under a Unixy shell.
3434
3435 2012-12-09 Chong Yidong <cyd@gnu.org>
3436
3437 * simple.el (set-mark-default-inactive): Delete this
3438 accidentally-introduced option.
3439 (set-mark-command, exchange-point-and-mark): Remove calls.
3440
3441 2012-12-09 Glenn Morris <rgm@gnu.org>
3442
3443 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3444 Respect a defcustom's :set function, if appropriate. (Bug#109)
3445 (eval-defun): Doc fix.
3446
3447 2012-12-08 Juri Linkov <juri@jurta.org>
3448
3449 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3450 (Info-fontify-node, Info-bookmark-make-record): Remove the
3451 file extension from Info-current-file (Bug#13016).
3452
3453 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3456 point, still provide some default.
3457 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3458 names, since we don't use it right now. Actually return the list.
3459 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3460
3461 2012-12-07 Chong Yidong <cyd@gnu.org>
3462
3463 * novice.el (disabled-command-function): Remove a spurious help
3464 xref (Bug#13043). Suggested by Kelly Dean.
3465
3466 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3467 syntax is specified (Bug#13025).
3468
3469 * info.el (Info-set-mode-line): Remove the file extension from
3470 Info-current-file if there is one (Bug#13016).
3471
3472 2012-12-07 Glenn Morris <rgm@gnu.org>
3473
3474 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3475 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3476 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3477 and rmail-mime-decoded. (Bug#9841)
3478
3479 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3480 (batch-unrmail, unrmail): Doc fixes.
3481 (unrmail): Respect unrmail-mbox-format.
3482 * mail/rmail.el (rmail-mbox-format): New option.
3483 (rmail-show-message-1): Respect rmail-mbox-format.
3484
3485 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3488
3489 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3492 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3493 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3494 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3495 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3496 (cl-progv): Don't rely on dynamic scoping to find the body.
3497 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3498 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3499 (cl-declaim): Use backquotes.
3500 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3501 Use "cl--" prefix for the object's tag.
3502
3503 * ses.el: Use advice-add/remove.
3504 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3505 (copy-region-as-kill, yank): Use advice-add.
3506 (ses-unload-function): Use advice-remove.
3507
3508 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3509
3510 * button.el: Make them work in header-lines (bug#12817).
3511 (button-map): Add bindings for header-line and mode-line use.
3512 (button-get, button-put, button-label): `button' may now be a string.
3513 (button-activate): Don't make it a defsubst.
3514 (button--area-button-p, button--area-button-string): New functions.
3515 (make-text-button): Fix the return value when `beg' was a string.
3516 (push-button): Handle the mode-line case.
3517
3518 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3521 (sql-signum): Remove. Use `cl-signum' instead.
3522 (sql-read-passwd): Remove; use read-passwd instread.
3523 (sql-get-login-ext): Use read-string.
3524 (sql-get-login): Use dolist and pcase.
3525 (sql--completion-table): Rename from sql-try-completion.
3526 Use complete-with-action.
3527 (sql-mode): Don't change abbrev-all-caps globally.
3528 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3529 (sql-postgres-completion-object): Initialize vars in their `let'.
3530 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3531 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3532 (sql-comint-interbase): Use a single append, without setq.
3533 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3534
3535 * hi-lock.el: Rework the default face and the serialize regexp code.
3536 (hi-lock--auto-select-face-defaults): Remove.
3537 (hi-lock-string-serialize-serial): Remove.
3538 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3539 make weak.
3540 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3541 equal string.
3542 (hi-lock-set-pattern): Adjust accordingly.
3543 (hi-lock--regexps-at-point): Simplify accordingly.
3544 (hi-lock--auto-select-face-defaults): Remove.
3545 (hi-lock--last-face): New var to replace it.
3546 (hi-lock-read-face-name): Rewrite (bug#11095).
3547 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3548
3549 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3550
3551 * net/tramp.el (tramp-replace-environment-variables):
3552 Hide compiler warning.
3553 (tramp-file-name-for-operation): Remove `executable-find',
3554 `start-process', `call-process' and `call-process-region'.
3555
3556 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3557
3558 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3559 compatibility.
3560
3561 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3562
3563 2012-12-06 Chong Yidong <cyd@gnu.org>
3564
3565 * ffap.el (ffap-replace-file-component): Fix typo.
3566
3567 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3570 fix open-paren-like token test (bug#12785).
3571
3572 2012-12-06 Glenn Morris <rgm@gnu.org>
3573
3574 * mail/rmailsum.el (rmail-new-summary): Tweak for
3575 rmail-maybe-display-summary changing buffer. (Bug#13066)
3576
3577 2012-12-06 Juri Linkov <juri@jurta.org>
3578
3579 * info.el (Info-fontify-node): Don't hide the last newline.
3580 (Bug#12272)
3581
3582 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3583
3584 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3585 so as to enable message-read-from-minibuffer to expand mail aliases.
3586
3587 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3590 the `intangible' property.
3591 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3592
3593 2012-12-05 Deniz Dogan <deniz@dogan.se>
3594
3595 * net/rcirc.el (rcirc-urls): Update documentation.
3596 (rcirc-condition-filter): New function.
3597 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3598 and exclude consecutive duplicate URLs (Bug#6082).
3599
3600 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3603 Check return code of copy command.
3604
3605 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3606 Use group `tramp'. Add version.
3607
3608 2012-12-05 Chong Yidong <cyd@gnu.org>
3609
3610 * ffap.el (ffap-url-regexp): Don't require matching at front of
3611 string (Bug#4952).
3612 (ffap-url-p): If only a substring matches, return that.
3613 (ffap-url-at-point): Use the return value of ffap-url-p.
3614 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3615 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3616 (ffap-guess-file-name-at-point): Likewise.
3617 (ffap-replace-file-component): Fix typo.
3618
3619 * info.el (info-display-manual): Add existing Info buffers, whose
3620 files may not be in Info-directory-list, to the completion.
3621 (info--manual-names): New helper function.
3622
3623 2012-12-05 Glenn Morris <rgm@gnu.org>
3624
3625 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3626 New functions, for detecting and resolving conflicts. (Bug#10709)
3627
3628 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3629
3630 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3631 (hi-lock-auto-select-face-defaults): New buffer local variable.
3632 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3633 (hi-lock-unface-buffer): Prompt user with useful defaults.
3634 With prefix arg, unhighlight all hi-lock patterns in buffer.
3635
3636 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3639
3640 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3641
3642 * Makefile.in (TRAMP_SRC):
3643 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3644
3645 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3646
3647 * net/tramp-adb.el: New package.
3648
3649 2012-12-04 Chong Yidong <cyd@gnu.org>
3650
3651 * terminal.el: Move to obsolete/.
3652
3653 * longlines.el: Move to obsolete/.
3654
3655 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3656 Remove code referring to longlines mode.
3657
3658 2012-12-03 Juri Linkov <juri@jurta.org>
3659
3660 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3661
3662 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3663
3664 * textmodes/ispell.el (ispell-init-process)
3665 (ispell-start-process, ispell-internal-change-dictionary):
3666 Make sure personal dictionary name is expanded after initial
3667 `default-directory' value. Use expanded strings for
3668 keep/restart checks and for value (Bug#13019).
3669
3670 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3671
3672 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3673
3674 2012-12-03 Leo Liu <sdl.web@gmail.com>
3675
3676 * files.el (dir-locals-read-from-file): Check file non-empty
3677 before reading. (Bug#13038)
3678
3679 2012-12-03 Glenn Morris <rgm@gnu.org>
3680
3681 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3682 Remove any version extension before checking filename. (Bug#13006)
3683 (jka-compr-compression-info-list): Belated :version bump.
3684
3685 2012-12-03 Chong Yidong <cyd@gnu.org>
3686
3687 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3688
3689 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3690 (buffer-menu): Doc fix (Bug#12294).
3691
3692 2012-12-03 Roland Winkler <winkler@gnu.org>
3693
3694 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3695 of diary-show-all-entries in the diary buffer (Bug#12994).
3696
3697 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3698
3699 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3700 "<STDIN>". This is binary safe.
3701
3702 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3703
3704 * calc/calc-forms.el (math-absolute-from-iso-dt)
3705 (math-date-to-iso-dt, math-parse-iso-date-validate)
3706 (math-iso-dt-to-date): New functions.
3707 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3708 (math-fd-isoweekday): New variables.
3709 (calc-date-notation, math-parse-standard-date, math-format-date)
3710 (math-format-date-part): Add support for more formatting codes.
3711
3712 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3713
3714 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3715 current buffer's file name when called interactively (Bug#12488).
3716
3717 2012-12-02 Juri Linkov <juri@jurta.org>
3718
3719 * info.el (info-display-manual): Don't clobber an existing Info
3720 buffer (Bug#10770). Add completion (Bug#10771).
3721
3722 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3723
3724 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3725 before using it for comparison (Bug#5297).
3726
3727 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3728
3729 * textmodes/css-mode.el (css-current-defun-name): New function.
3730 (css-mode): Use it.
3731
3732 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3733 (html-mode): Use it.
3734
3735 2012-12-01 Chong Yidong <cyd@gnu.org>
3736
3737 Modularize add-log-current-defun (Bug#2224).
3738 Suggested by Jari Aalto.
3739
3740 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3741 (add-log-current-defun): Move mode-specific code to other files.
3742 (add-log-lisp-like-modes, add-log-c-like-modes)
3743 (add-log-tex-like-modes): Variables deleted.
3744
3745 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3746 (lisp-mode-variables): Use it.
3747
3748 * progmodes/cc-mode.el (c-common-init):
3749 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3750 add-log-current-defun-function.
3751
3752 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3753 (m4-mode): Use it.
3754
3755 * progmodes/perl-mode.el (perl-current-defun-name): New.
3756 (perl-mode): Use it.
3757
3758 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3759 Use lisp-current-defun-name.
3760
3761 * textmodes/tex-mode.el (tex-current-defun-name): New.
3762 (tex-common-initialization): Use it.
3763
3764 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3765 (texinfo-mode): Use it.
3766
3767 2012-12-01 Chong Yidong <cyd@gnu.org>
3768
3769 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3770 * progmodes/autoconf.el (autoconf-mode):
3771 * progmodes/js.el (js-mode):
3772 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3773 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3774 * progmodes/perl-mode.el (perl-mode):
3775 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3776 * textmodes/css-mode.el (css-mode):
3777 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3778 (sgml-tags-invisible, sgml-guess-indent):
3779 * textmodes/tex-mode.el (tex-common-initialization)
3780 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3781 (doctex-mode, plain-tex-mode, latex-mode):
3782 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3783
3784 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3785
3786 * vc/vc-hg.el (vc-hg-next-revision):
3787 Ensure use of default "tip" output format. (Bug#6968)
3788
3789 2012-12-01 Kim F. Storm <storm@cua.dk>
3790
3791 * startup.el (fancy-startup-tail): Add a clickable link
3792 (Bug#2176).
3793
3794 2012-12-01 Chong Yidong <cyd@gnu.org>
3795
3796 * startup.el (fancy-startup-tail): Improve the message about
3797 auto-save files (Bug#2176).
3798
3799 * files.el (recover-session): Improve the descriptive message, and
3800 use substitute-command-keys.
3801
3802 2012-12-01 Glenn Morris <rgm@gnu.org>
3803
3804 * ido.el (ido-file-internal):
3805 Handle other-window, other-frame for dired. (Bug#13036)
3806
3807 2012-11-30 Glenn Morris <rgm@gnu.org>
3808
3809 * icomplete.el (icomplete-separator): Fix :version.
3810
3811 2012-11-30 Chong Yidong <cyd@gnu.org>
3812
3813 * shell.el (shell): For C-u M-x shell, use an inactive shell
3814 buffer as the default (Bug#1975).
3815 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3816 (shell-mode): Use them to reapply ansi colorization if Shell mode
3817 is re-enabled.
3818
3819 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3820
3821 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3822
3823 2012-11-30 Samuel Bronson <naesten@gmail.com>
3824
3825 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3826 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3827
3828 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3829
3830 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3831 by move-to-column (Bug#3234).
3832
3833 2012-11-30 Chong Yidong <cyd@gnu.org>
3834
3835 * longlines.el (longlines-wrap-line, longlines-encode-region):
3836 Preserve text properties (Bug#1425).
3837
3838 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3839
3840 * vc/vc.el (vc-register): Allow registering a file which is
3841 already registered with a different backend (Bug#10589).
3842
3843 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3844 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * icomplete.el: Change separator; add ido-style commands.
3847 (icomplete-show-key-bindings): Remove custom var.
3848 (icomplete-get-keys): Remove function.
3849 (icomplete-forward-completions, icomplete-backward-completions):
3850 New commands.
3851 (icomplete-minibuffer-map): New var.
3852 (icomplete-minibuffer-setup): Use it.
3853 (icomplete-exhibit): Don't delay if the list of completions is known.
3854 (icomplete-separator): New custom.
3855 (icomplete-completions): Use it.
3856 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3857 (minibuffer-force-complete-and-exit): New command.
3858 (minibuffer--complete-and-exit): New function extracted from
3859 minibuffer-complete-and-exit.
3860 (minibuffer-complete-and-exit): Use it.
3861
3862 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3863 error message when the file doesn't exist (bug#12974).
3864
3865 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3866
3867 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3868
3869 2012-11-29 Glenn Morris <rgm@gnu.org>
3870
3871 * files.el (hack-dir-local-variables): Warn if try to set
3872 coding via dir-locals, since it doesn't work. (Bug#7169)
3873
3874 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3875 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3876 Set buffer-local value of desktop-save-buffer.
3877 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3878 New functions.
3879 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3880 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3881
3882 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3883 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3884 Doc fix.
3885 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3886 Doc fixes.
3887
3888 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3889
3890 * calc/calc-forms.el (calc-date-notation): Fix regexp
3891 used to find time codes. Fix symbol for seconds.
3892
3893 2012-11-27 Glenn Morris <rgm@gnu.org>
3894
3895 * emacs-lisp/derived.el (derived-mode-make-docstring):
3896 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3897
3898 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3899
3900 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3901 lexically scoped variables (bug#13005).
3902
3903 2012-11-27 Glenn Morris <rgm@gnu.org>
3904
3905 * vc/vc-hooks.el (vc-mistrust-permissions):
3906 Default to t, to avoid data-loss. (Bug#11490)
3907
3908 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3909
3910 * progmodes/python.el (python-indent-guess-indent-offset):
3911 If indentation is guessed make python-indent-offset buffer-local.
3912
3913 Fix Imenu regression.
3914 * progmodes/python.el (python-nav-beginning-of-defun):
3915 Fix forward movement when statement(s) separates point from defun.
3916 (python-imenu-prev-index-position): New function.
3917
3918 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3919
3920 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3921
3922 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3923 Don't set buffer-file-type. Return nil. (Bug#12989)
3924
3925 2012-11-27 Glenn Morris <rgm@gnu.org>
3926
3927 * hippie-exp.el (hippie-expand-try-functions-list):
3928 Re-autoload it. (Bug#12982)
3929
3930 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3931
3932 * descr-text.el (describe-char-padded-string):
3933 Call internal-char-font only on GUI frames. (Bug#11964)
3934
3935 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3936
3937 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3938 and obsoletion message.
3939
3940 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3943 the constructs to keep outside of the `cl-block' (bug#12977).
3944
3945 2012-11-27 Chong Yidong <cyd@gnu.org>
3946
3947 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3948 keep reading until we get the up-event anyway, in order to process
3949 the up-event for mouse-1-click-follows-link (Bug#12971).
3950
3951 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3954 base function is not yet defined (bug#12965).
3955 (ad-activate-advised-definition): Use ad-compile-function.
3956 (ad-activate): Use cond.
3957
3958 2012-11-25 Leo Liu <sdl.web@gmail.com>
3959
3960 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3961 (Bug#12979)
3962
3963 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3964
3965 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3966 reftex-section-info-function in order to be compatible with
3967 Texinfo integration.
3968
3969 * textmodes/reftex.el (reftex-section-pre-regexp)
3970 (reftex-section-post-regexp, reftex-section-info-function):
3971 New variable.
3972 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3973 reftex-section-post-regexp, and reftex-section-info-function in order
3974 to be compatible with Texinfo integration.
3975
3976 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3977 use reftex-section-pre-regexp variable in order to be compatible with
3978 Texinfo integration.
3979
3980 2012-11-25 Chong Yidong <cyd@gnu.org>
3981
3982 * faces.el: Make face-spec-set more analogous to setq.
3983 (face-spec-set): Change the third arg to specify whether this
3984 function is being called via defface, customize, or a third party.
3985 Set the appropriate symbol properties. Clear the override spec if
3986 setting via Custom. Initialize face if necessary. (Bug#4988)
3987 (face-spec-recalc): Allow theme faces to completely replace the
3988 defface spec, in the same way as custom faces (Bug#8454).
3989
3990 * cus-face.el (custom-declare-face): Move face initialization to
3991 face-spec-set.
3992 (custom-theme-set-faces): Don't initialize the face name here, as
3993 that is now done in face-spec-set.
3994
3995 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3996 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3997 Simplify by using the new arg to face-spec-set.
3998
3999 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4000 reset face-override-spec too, and use custom-declare-face.
4001
4002 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4003
4004 * term/ns-win.el (ns-initialize-window-system): Move creation of
4005 fontsets here (Bug#11964).
4006
4007 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4008
4009 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4010 cell renaming.
4011
4012 2012-11-24 Chong Yidong <cyd@gnu.org>
4013
4014 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4015 obsolete.
4016
4017 * custom.el (custom-theme-set-variables): Use a topological sort
4018 for ordering by custom dependencies (Bug#12952).
4019 (custom--sort-vars, custom--sort-vars-1): New functions.
4020
4021 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4024 lexical-binding (bug#12938).
4025
4026 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4027
4028 * image-mode.el (image-transform-check-size): Use assertions only
4029 for images of type imagemagick.
4030
4031 Otherwise no error, image-transform-fit-to-{width,height} is
4032 silently ignored, as before. Doc fix.
4033
4034 2012-11-24 Chong Yidong <cyd@gnu.org>
4035
4036 * faces.el (color-defined-p): Doc fix (Bug#12853).
4037
4038 2012-11-24 Juri Linkov <juri@jurta.org>
4039
4040 * dired.el (dired-mark): Add optional arg `interactive'.
4041 Check for `use-region-p' if `interactive' is non-nil.
4042 (dired-unmark, dired-flag-file-deletion): Add optional arg
4043 `interactive'. Call `dired-mark' with the arg `interactive'.
4044 (Bug#10624)
4045
4046 * wdired.el: Revert 2012-10-17 change partly and replace it with
4047 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4048 (wdired-finish-edit): Add marks for new file names to
4049 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4050 after `revert-buffer'.
4051 (wdired-do-renames): Remove calls to `dired-remove-file',
4052 `dired-add-file', `dired-add-entry'. (Bug#11795)
4053
4054 2012-11-24 Alan Mackenzie <acm@muc.de>
4055
4056 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4057
4058 Fix bugs in the state cache. Enhance a debugging mechanism.
4059 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4060 "brace at column zero" strategy for C++.
4061 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4062 (c-parse-state-point): New variable.
4063 (c-record-parse-state-state): Record old parse state with
4064 `copy-tree'. Record previous value of point.
4065 (c-debug-parse-state-double-cons): New debugging function.
4066 (c-debug-parse-state): Call the above new function.
4067 (c-toggle-parse-state-debug): Output a confirmatory message.
4068
4069 * progmodes/cc-mode.el (c-before-change, c-after-change):
4070 Call c-invalidate-state-cache from `c-before-change' instead of
4071 `c-after-change'.
4072
4073 2012-11-23 Chong Yidong <cyd@gnu.org>
4074
4075 * find-cmd.el (find-constituents): Add executable, ipath,
4076 readable, samefile, writable, daystart, regextype (Bug#12856).
4077
4078 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4081
4082 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4083
4084 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4085 definition. This fixes a bootstrap failure.
4086 (calc-gregorian-switch): In menu, put dates before regions.
4087 This is easier to follow, lines up better in the menu, and lets us
4088 coalesce regions that switch at the same time. Give country
4089 names, not "Vatican", as that's better for non-expert users.
4090 Use names that are stable between the date of switch and now, e.g.,
4091 Bohemia and Moravia (which existed then and now) and not
4092 Czechoslovakia (which didn't exist then and doesn't exist now).
4093 What is now the U.S. mostly did not switch at the same time as
4094 Britain, so omit the U.S. Correct spelling of "Britain".
4095 Catholic Switzerland was too much of a mess, so omit it.
4096
4097 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4098
4099 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4100 after the variable is changed.
4101
4102 2012-11-21 Daniel Colascione <dancol@dancol.org>
4103
4104 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4105 in SQL declarations for font-lock.
4106 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4107
4108 2012-11-21 Glenn Morris <rgm@gnu.org>
4109
4110 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4111 (face-italic-p): Add optional argument "inherit".
4112
4113 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4114 Remove -p suffix from names, for consistency with other set-face-*.
4115 (set-face-inverse-video): Fix interactive spec.
4116 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4117 * textmodes/table.el (table--update-cell-face):
4118 Use set-face-inverse-video rather than now obsolete alias.
4119
4120 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4121
4122 * simple.el (line-move): Don't call line-move-partial if
4123 scroll-conservatively is in effect. (Bug#12927)
4124
4125 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4128 Fallback on completion-at-point rather than
4129 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4130 (eshell-cmpl-initialize): Setup completion-at-point.
4131
4132 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4133
4134 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4135
4136 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4137
4138 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4139 are remote, check out-of-band property for both.
4140
4141 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4144 code rewrite.
4145
4146 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4147
4148 More minor time fixes.
4149 * calendar/time-date.el: Commentary fix.
4150 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4151 too much other code depends on (0 0) time stamps.
4152 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4153 Add a couple of FIXME comments.
4154
4155 Minor cleanup for times as lists of four integers.
4156 * files.el (dir-locals-directory-cache):
4157 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4158 Doc fixes.
4159 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4160 * ps-bdf.el (bdf-file-newer-than-time):
4161 Process four-integers time stamps, not two. Doc fixes.
4162
4163 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * uniquify.el (uniquify-managed): Use defvar-local.
4166 (rename-buffer, create-file-buffer): Advise with advice-add.
4167 (uniquify-unload-function): Unadvise accordingly.
4168
4169 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4170 (trace-buffer): Don't purecopy.
4171 (trace-entry-message, trace-exit-message): Add `context' arg.
4172 (trace--timer): New var.
4173 (trace-make-advice): Adjust for use in nadvice.
4174 Add `context' argument. Delay `display-buffer' via a timer.
4175 (trace-function-internal): Use advice-add.
4176 (trace--read-args): New function.
4177 (trace-function-foreground, trace-function-background): Use it.
4178 (trace-function): Rename to trace-function-foreground and redefine as
4179 an alias to that new name.
4180 (untrace-function, untrace-all): Adjust to the use of nadvice.
4181
4182 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4183
4184 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4185
4186 * subr.el (called-interactively-p-functions): New var.
4187 (internal--called-interactively-p--get-frame): New macro.
4188 (called-interactively-p, interactive-p): Rewrite in Lisp.
4189 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4190 (called-interactively-p-functions): Use it.
4191 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4192 (called-interactively-p-functions): Use it.
4193 * allout.el (allout-called-interactively-p): Don't assume
4194 called-interactively-p is a subr.
4195
4196 2012-11-20 Glenn Morris <rgm@gnu.org>
4197
4198 * profiler.el (profiler-report-mode-map): Add a menu.
4199 No need to bind `q' because we derive from special-mode.
4200 (profiler-report-find-entry): Handle calls from the menu-bar.
4201
4202 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * emacs-lisp/byte-run.el (defun-declarations-alist):
4205 Allow a compiler-macro to be a lambda expression.
4206
4207 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4208 eval-when-compile.
4209 (python-syntax-context): Add compiler-macro.
4210 (python-font-lock-keywords): Simplify with De Morgan.
4211
4212 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4213
4214 * files.el (load-file): Require match in minibuffer selection, as was
4215 the case in Emacs-20 before we changed the spec to allow .elc files
4216 (bug#12935).
4217
4218 * json.el: Don't require cl since we don't use it.
4219 * color.el: Don't require cl.
4220 (color-complement): `caddr' -> `nth 2'.
4221
4222 * calendar/time-date.el (time-to-seconds): De-obsolete.
4223
4224 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4225
4226 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4227 year numbers.
4228 (math-date-to-julian-dt): Adjust the initial approximation for the
4229 year to deal with the new definition of the DATE.
4230
4231 2012-11-19 Daniel Colascione <dancol@dancol.org>
4232
4233 * term/w32-win.el (cygwin-convert-path-from-windows):
4234 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4235
4236 2012-11-18 Chong Yidong <cyd@gnu.org>
4237
4238 * filecache.el (file-cache--read-list): New function.
4239 (file-cache-add-directory-list, file-cache-add-file-list)
4240 (file-cache-delete-file-list, file-cache-delete-directory-list):
4241 Use it to read a list of files or directories (Bug#12846).
4242 (file-cache-add-file, file-cache-add-directory)
4243 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4244 (file-cache-delete-directory): Print an message.
4245
4246 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4247
4248 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4249 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4250
4251 2012-11-18 Glenn Morris <rgm@gnu.org>
4252
4253 * image.el (insert-image, insert-sliced-image): Doc fix.
4254
4255 2012-11-18 Chong Yidong <cyd@gnu.org>
4256
4257 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4258 (Bug#12810).
4259
4260 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4261
4262 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4263 response when the target file is in a subdirectory (Bug#12757).
4264
4265 2012-11-18 Chong Yidong <cyd@gnu.org>
4266
4267 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4268
4269 2012-11-18 Glenn Morris <rgm@gnu.org>
4270
4271 * emacs-lisp/cl-lib.el (face-underline-p):
4272 Use set-face-underline rather than the alias set-face-underline-p.
4273
4274 * window.el (with-temp-buffer-window): Doc fix.
4275 * subr.el (with-output-to-temp-buffer):
4276 Add doc xref to with-temp-buffer-window.
4277
4278 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4281 * calc/calc.el (math-format-date-cache): Declare.
4282
4283 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4284
4285 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4286 It also uses January 1, 1 AD as its day number 1.
4287 * calc/calc-forms.el (math-julian-date-beginning)
4288 (math-julian-date-beginning-int): Implement this.
4289
4290 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4291
4292 * descr-text.el (quail-find-key):
4293 * dired.el (desktop-file-name):
4294 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4295 * generic-x.el (comint-mode, comint-exec):
4296 * image-dired.el (widget-forward):
4297 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4298 (speedbar-change-expand-button-char)
4299 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4300 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4301 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4302 (widget-field-action, widget-value-set):
4303 * speedbar.el (imenu--make-index-alist):
4304 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4305 (ring-length, ring-insert):
4306 * vcursor.el (compare-windows-skip-whitespace):
4307 * woman.el (dired-get-filename):
4308 Declare functions.
4309
4310 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4311
4312 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4313
4314 * calc/calc.el (calc-gregorian-switch): New variable.
4315
4316 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4317 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4318 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4319 (math-leap-year-p): Add option to distinguish between Julian
4320 and Gregorian calendars.
4321 (math-day-number): Use `math-day-in-year' to do the computations.
4322 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4323 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4324 to do the computations.
4325 (math-date-to-dt): Use `math-date-to-julian-dt' and
4326 `math-date-to-gregorian-dt' to do the computations.
4327 (calcFunc-weekday, math-format-date-part): Use the new version of
4328 the DATE to determine the weekday.
4329 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4330 when necessary.
4331
4332 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4333
4334 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4335 Cygwin; otherwise use 'file:'. (Bug#12914)
4336 (cygwin-convert-path-from-windows): Declare, to avoid
4337 byte-compiler warnings.
4338
4339 2012-11-17 Andreas Politz <politza@fh-trier.de>
4340
4341 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4342 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4343 prefix and negative numeric prefix args (Bug#12795).
4344
4345 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4346
4347 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4348 Don't signal an error with a score that is too low to add to the
4349 list of top scores. (Bug#12779)
4350
4351 2012-11-17 Chong Yidong <cyd@gnu.org>
4352
4353 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4354
4355 * filecache.el (file-cache-add-file): Handle relative file name in
4356 the argument (Bug#12694).
4357
4358 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4359
4360 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4361
4362 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4365
4366 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4367
4368 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4369
4370 * window.el (enlarge-window, shrink-window): Don't mention return
4371 value in doc-string (Bug#12896).
4372 (window--display-buffer): Don't resize frames - it won't work
4373 with all window managers and defeat pop-up-frame-alist.
4374 (display-buffer-alist): In doc-string explain that CONDITION can
4375 be a function and which arguments are passed to it (Bug#12854).
4376 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4377 expressions (Bug#12854).
4378 (display-buffer): Pass ACTION argument to
4379 display-buffer-assq-regexp.
4380
4381 2012-11-16 Glenn Morris <rgm@gnu.org>
4382
4383 * window.el (fit-frame-to-buffer-bottom-margin)
4384 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4385
4386 * faces.el (face-underline-p): Use face-attribute-specified-or.
4387
4388 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4389
4390 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4391
4392 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4395
4396 2012-11-16 Glenn Morris <rgm@gnu.org>
4397
4398 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4399 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4400
4401 * faces.el (face-underline-p): Doc fix. Handle :underline being
4402 things other than `t' (a string, a list).
4403 (face-inverse-video-p): Doc fix.
4404 (set-face-underline): Rename it back from set-face-underline-p.
4405 Doc fix. Allow interactive input of values other than t.
4406 (read-face-attribute): Apply formatting to :underline,
4407 since like :box and :stipple it can take list values.
4408
4409 * term.el (ansi-term): Don't let C-x escape-char binding
4410 clobber the more standard C-c binding. (Bug#12842)
4411
4412 * subr.el (set-temporary-overlay-map): Doc fix.
4413
4414 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4415
4416 * window.el (record-window-buffer)
4417 (display-buffer-record-window): When copying the markers to
4418 window-point preserve window-point-insertion-type. (Bug#12588)
4419
4420 2012-11-16 Glenn Morris <rgm@gnu.org>
4421
4422 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4423 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4424 Use new names for hooks rather than obsolete aliases.
4425
4426 2012-11-15 Daniel Colascione <dancol@dancol.org>
4427
4428 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4429 prefix instead of "file:" so that when FILE-NAME begins with "//",
4430 as it does when the target file is on a network share, url-handler
4431 isn't confused.
4432
4433 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4436 a preactivated advice from an old advice.el; they're not compatible!
4437
4438 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4439
4440 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4441 Fix string-spec case.
4442
4443 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4444
4445 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4448 (advice--buffer-local-function-sample): New var.
4449 (advice--set-buffer-local, advice--buffer-local): New functions.
4450 (add-function, remove-function): Use them.
4451
4452 2012-11-15 Drew Adams <drew.adams@oracle.com>
4453
4454 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4455
4456 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4459 potential binding of print-gensym to t, and prettify (back)quotes in
4460 case they appear in args's default values (bug#12884).
4461
4462 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4465 (advice-eval-interactive-spec): New function.
4466 (advice--make-interactive-form): Support around advice (bug#12844).
4467
4468 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4469
4470 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4471 more strict. Add docstring.
4472 (ruby-expression-expansion-re): Extract from
4473 `ruby-match-expression-expansion'.
4474 (ruby-syntax-propertize-function): After everything else, search
4475 for expansions in string literals, mark their insides as
4476 whitespace syntax and save match data for font-lock.
4477 (ruby-font-lock-keywords): Use the 2nd group from expression
4478 expansion matches.
4479 (ruby-match-expression-expansion): Use the match data saved to the
4480 text property in ruby-syntax-propertize-function.
4481
4482 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4485 (bug#12879).
4486
4487 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4488
4489 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4490 start/end keyword a bit harder. Works with different values of N.
4491 Add more comments.
4492 (ruby-end-of-block): Update accordingly.
4493
4494 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * woman.el (woman-file-name): Don't mess with unread-command-events
4497 (bug#12861).
4498
4499 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4500 Remove out of date self-require hack.
4501 (ad-do-advised-functions): Use simple `dolist'.
4502 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4503 (ad-advice-definition): Redefine as functions.
4504 (ad-advice-classes): Move before first use.
4505 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4506 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4507 (ad--defalias-fset): Remove functions.
4508 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4509 (ad-get-orig-definition): Rewrite.
4510 (ad-make-advised-definition-docstring): Change base docstring.
4511 (ad-real-orig-definition): Rewrite.
4512 (ad-map-arglists): Change name of called function.
4513 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4514 (ad-make-advised-definition): Simplify.
4515 (ad-assemble-advised-definition): Tweak for new calling context.
4516 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4517 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4518 function and call ad-activate if needed.
4519 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4520 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4521 (ad-compile-function): Compile ad-Advice-*.
4522 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4523 (ad-start-advice, ad-stop-advice): Remove.
4524
4525 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4526
4527 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4528 period before class method names, not after. Remove handling of
4529 one impossible case. Add comments.
4530
4531 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4532
4533 * emacs-lisp/advice.el: Remove support for freezing.
4534 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4535 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4536 Remove support for `freeze'.
4537
4538 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4539 override the default.
4540 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4541 cl--dotimes/dolist.
4542 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4543 `cl' is loaded.
4544
4545 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4546 from add-advice.
4547 (advice--strip-macro): New function.
4548 (advice--defalias-fset): Use them to handle macros.
4549 (advice-add): Use them.
4550 (advice-member-p): Correctly handle macros.
4551
4552 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4553
4554 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4555 Never font-lock the beginning of singleton class as heredoc.
4556
4557 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4560
4561 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4562
4563 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4564 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4565 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4566
4567 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4568
4569 Fix end-of-defun misbehavior.
4570 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4571 python-beginning-of-defun-function. Handle nested defuns
4572 correctly.
4573 (python-nav-end-of-defun): Rename from
4574 python-end-of-defun-function. Ensure forward movement.
4575 (python-info-current-defun): Reimplement to work as intended
4576 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4577 parent defuns as soon as possible.
4578
4579 2012-11-13 Glenn Morris <rgm@gnu.org>
4580
4581 * progmodes/flymake.el (flymake-error-bitmap)
4582 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4583 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4584
4585 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4586
4587 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4588 backward, always stop at indentation. Reverts the change from
4589 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4590
4591 2012-11-13 Glenn Morris <rgm@gnu.org>
4592
4593 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4594 Add ibuffer-filter-by-derived-mode.
4595
4596 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4597 the same name shadowing each other.
4598
4599 * window.el (with-temp-buffer-window): Doc tweak.
4600
4601 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4602
4603 * help.el (temp-buffer-max-height):
4604 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4605 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4606
4607 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * emacs-lisp/nadvice.el: New package.
4610 * subr.el (special-form-p): New function.
4611 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4612 (elp-all-instrumented-list): Remove var.
4613 (elp-not-profilable): Remove elp-wrapper.
4614 (elp-profilable-p): Use autoloadp and special-form-p.
4615 (elp--advice-name): New const.
4616 (elp-instrument-function): Use advice-add.
4617 (elp--instrumented-p): New predicate.
4618 (elp-restore-function): Use advice-remove.
4619 (elp-restore-all, elp-reset-all): Use mapatoms.
4620 (elp-set-master): Use elp--instrumented-p.
4621 (elp--make-wrapper): Rename from elp-wrapper, return a function
4622 suitable for advice-add. Use cl-inf.
4623 (elp-results): Use mapatoms+elp--instrumented-p.
4624 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4625 (debug-function-list): Remove var.
4626 (debug): Rename arg, and then let-bind it explicitly inside.
4627 (debugger-setup-buffer): Rename arg.
4628 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4629 (debugger-frame-number): Adjust to new debug-on-entry setup.
4630 (debug--implement-debug-on-entry): Rename from
4631 implement-debug-on-entry, add argument.
4632 (debugger-special-form-p): Remove, use special-form-p instead.
4633 (debug-on-entry): Use advice-add.
4634 (debug--function-list): New function.
4635 (cancel-debug-on-entry): Use it, along with advice-remove.
4636 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4637 (debugger-list-functions): Use debug--function-list instead of
4638 debug-function-list.
4639 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4640 (ad-special-form-p): Remove, use special-form-p instead.
4641 (ad-set-advice-info): Use add-function and remove-function.
4642 (ad--defalias-fset): Adjust accordingly.
4643
4644 2012-11-10 Glenn Morris <rgm@gnu.org>
4645
4646 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4647 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4648 (report-emacs-bug-create-existing-bugs-buffer)
4649 (report-emacs-bug-parse-query-results)
4650 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4651
4652 * term.el (term-default-fg-color, term-default-bg-color):
4653 Make obsolete, rather than just saying "deprecated" in the doc.
4654
4655 * term.el (term): Rename from `term-face'.
4656 (term-current-face, ansi-term-color-vector)
4657 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4658 Update all users.
4659
4660 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4661
4662 * server.el (server-create-window-system-frame): Handle Nextstep
4663 specially (Bug#12780).
4664
4665 2012-11-10 Glenn Morris <rgm@gnu.org>
4666
4667 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4668 Unautoload, and make obsolete. (Bug#7449)
4669
4670 2012-11-10 Chong Yidong <cyd@gnu.org>
4671
4672 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4673 rename from diff-remove-trailing-whitespace (Bug#12831).
4674
4675 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4678 miscompilation of trace.el.
4679
4680 2012-11-10 Glenn Morris <rgm@gnu.org>
4681
4682 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4683
4684 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4687 (bug#12812).
4688
4689 2012-11-10 Chong Yidong <cyd@gnu.org>
4690
4691 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4692 a defcustom with an appropriate :set function.
4693 (minibuffer-default--in-prompt-regexps): New function.
4694
4695 2012-11-10 Glenn Morris <rgm@gnu.org>
4696
4697 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4698 (define-modify-macro): Doc fixes.
4699
4700 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4701 (gv-define-simple-setter): Update doc of `fix-return'.
4702
4703 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4704
4705 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4706 twice when `fix-return' is set (bug#12813).
4707
4708 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4709 gv-define-simple-setter (bug#12812).
4710
4711 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4712 (bug#12756).
4713
4714 2012-11-10 Glenn Morris <rgm@gnu.org>
4715
4716 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4717
4718 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4719 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4720 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4721 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4722
4723 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4724
4725 2012-11-10 Leo Liu <sdl.web@gmail.com>
4726
4727 * ido.el (ido-set-matches-1): Improve flex matching performance by
4728 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4729
4730 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4733 (ad--defalias-fset): New function.
4734 (ad-safe-fset): Remove.
4735 (ad-make-freeze-definition): Use cl-letf*.
4736
4737 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * subr.el (dolist): Don't bind VAR in RESULT.
4740
4741 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4742 (fset, documentation): Don't save real def since we don't advise.
4743 (ad-do-advised-functions): Remove problematic `result-form'.
4744 (ad-safe-fset): `ad-real-fset' => `fset'.
4745 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4746 uses CL's dolist internally.
4747 (ad-arglist): Remove unused arg `name'.
4748 (ad-docstring, ad-make-advised-docstring):
4749 `ad-real-documentation' => `documentation'.
4750 (warning-suppress-types): Declare.
4751 (ad-set-arguments): Simple CSE.
4752 (ad-recover-normality): Sanity check.
4753
4754 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4755 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4756
4757 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4758
4759 * ses.el: symbol to coordinate mapping is made by symbol property
4760 `ses-cell'. This means that the same mapping is done for all SES
4761 sheets. That is good enough for cells with standard A1 names, but
4762 not for named cell. So a hash map is added for the latter.
4763 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4764 (ses-sym-rowcol): Use hashmap for named cell.
4765 (ses-is-cell-sym-p): New defun.
4766 (ses-decode-cell-symbol): New defun.
4767 (ses-create-cell-variable): Add cell to hashmap when name is not
4768 A1-like.
4769 (ses-rename-cell): Check that cell new name is not already in
4770 spreadsheet with the use of ses-is-cell-sym-p
4771 (ses-rename-cell): Use hash map for named cells, but accept also
4772 renaming back to A1-like.
4773
4774 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * emacs-lisp/advice.el: Use new dynamic docstrings.
4777 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4778 Use dynamic-docstring-function instead of ad-advice-info.
4779 (ad--make-advised-docstring): New function extracted from
4780 ad-make-advised-docstring.
4781 (ad-make-advised-docstring): Use it.
4782 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4783 from sql-help.
4784 (sql-help): Use it with dynamic-docstring-function.
4785
4786 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4787
4788 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * files.el (hack-one-local-variable--obsolete): New function.
4791 (hack-one-local-variable): Use it for obsolete settings.
4792
4793 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4794 the new name.
4795
4796 * progmodes/js.el (js--filling-paragraph): New var.
4797 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4798 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4799 less sneaky.
4800
4801 2012-11-08 Julien Danjou <julien@danjou.info>
4802
4803 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4804 `auto-mode-alist' (Bug#12835).
4805
4806 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4809 (perl--prettify-symbols-alist): New const.
4810 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4811 New functions.
4812 (perl-font-lock-keywords-2): Use them.
4813 (perl-electric-noindent-p): New function.
4814 (perl-mode): Use it to set up electric-indent-mode.
4815 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4816 (perl-mode-map): Remove bindings for them.
4817 (perl-imenu-generic-expression, perl-outline-level):
4818 Match functions&packages in column>0.
4819
4820 * env.el (env--substitute-vars-regexp): New const.
4821 (substitute-env-vars): Use it. Add `only-defined' arg.
4822 * net/tramp.el (tramp-replace-environment-variables): Use it.
4823
4824 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4825 Byte-compile *before* eval in eval-and-compile.
4826 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4827 (byte-compile-file-form-autoload): Don't hide actual definition.
4828 (byte-compile-maybe-guarded): Accept `functionp' as well.
4829
4830 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4831
4832 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * notifications.el (notifications-get-server-information-method):
4835 New defconst.
4836 (notifications-get-capabilities): Fix docstring.
4837 (notifications-get-server-information): New defun.
4838
4839 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4840
4841 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4842 readability.
4843
4844 * textmodes/ispell.el: Experimental support for support debugging.
4845 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4846 buffer for ispell.
4847 (ispell-print-if-debug): New function to print stuff to
4848 `ispell-debug-buffer' if debugging is enabled.
4849 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4850 show some debugging info.
4851 (ispell-buffer-with-debug): New function that creates a debugging
4852 buffer and calls `ispell-buffer' with debugging enabled.
4853
4854 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4855 comment in autoconf mode. (Bug#12768)
4856
4857 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4858
4859 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4860 frame-first-window, frame-root-window, frame-selected-window,
4861 minibuffer-selected-window, minibuffer-window,
4862 window-absolute-pixel-edges, window-at, window-body-height,
4863 window-body-width, window-display-table, window-combination-limit,
4864 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4865 window-inside-edges, window-inside-pixel-edges, window-left-child,
4866 window-left-column, window-margins, window-next-buffers,
4867 window-next-sibling, window-new-normal, window-new-total,
4868 window-normal-size, window-parameter, window-parameters, window-parent,
4869 window-pixel-edges, window-point, window-prev-buffers,
4870 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4871 window-start, window-text-height, window-top-child, window-top-line,
4872 window-total-height, window-total-width and window-use-time to the list
4873 of functions without side-effects.
4874 (toplevel): Add window-valid-p to the list of error-free functions
4875 without side-effects.
4876
4877 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4878
4879 * textmodes/ispell.el (ispell-program-name):
4880 Update spellchecker parameters when customized.
4881
4882 2012-11-04 Glenn Morris <rgm@gnu.org>
4883
4884 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4885
4886 2012-11-04 Chong Yidong <cyd@gnu.org>
4887
4888 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4889 same-window-* variables.
4890
4891 2012-11-04 Juri Linkov <juri@jurta.org>
4892
4893 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4894 (isearch-describe-key, isearch-describe-mode): Use a display
4895 action instead of binding same-window-* variables (Bug#10040).
4896
4897 2012-11-03 Glenn Morris <rgm@gnu.org>
4898
4899 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4900 Rename handler properties back from cl-- to cl-. (Bug#12788)
4901
4902 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4903
4904 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4905
4906 * term/pc-win.el: Don't load term/internal from here.
4907
4908 * loadup.el: Load term/internal from here.
4909
4910 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4911
4912 * progmodes/python.el (inferior-python-mode): Fix hang in
4913 jit-lock (Bug#12645).
4914
4915 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4916
4917 * window.el (switch-to-visible-buffer)
4918 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4919
4920 2012-11-03 Glenn Morris <rgm@gnu.org>
4921
4922 * emacs-lisp/cl-lib.el (cl--random-time):
4923 Rename from cl-random-time. (Bug#12773)
4924 (cl--gensym-counter, cl--random-state): Update callers.
4925 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4926
4927 2012-11-03 Chong Yidong <cyd@gnu.org>
4928
4929 * cus-start.el: Make cursor-type customizable (Bug#11633).
4930
4931 2012-11-02 Glenn Morris <rgm@gnu.org>
4932
4933 * filecache.el: No need to load find-lisp when compiling.
4934 (find-lisp-find-files): Autoload it.
4935 (file-cache-add-directory-recursively): Don't require find-lisp.
4936
4937 * image.el (image-type-from-file-name): Trivial simplification.
4938
4939 * emacs-lisp/bytecomp.el (byte-compile-eval):
4940 Decouple "noruntime" and "cl-functions" warnings.
4941
4942 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4943
4944 * play/gomoku.el (gomoku-display-statistics): Update mode line
4945 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4946
4947 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (quit-restore-window): If the window has been
4950 created on an existing frame and ended up as the sole window on
4951 that frame, do not delete it (Bug#12764).
4952
4953 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4956 Rename from sh--inside-arithmetic-expression, handle more cases
4957 (bug#11263).
4958
4959 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4960 (sh-font-lock-open-heredoc): Use it (bug#12770).
4961
4962 2012-10-30 Glenn Morris <rgm@gnu.org>
4963
4964 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4965
4966 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4967
4968 2012-10-29 Chong Yidong <cyd@gnu.org>
4969
4970 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4971 function key is stored in a keyboard macro (Bug#4894).
4972
4973 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4974
4975 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4978 header comments".
4979 (diff-unified->context, diff-context->unified)
4980 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4981
4982 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4983
4984 * files.el (find-alternate-file): Only ask one question (bug#12487).
4985
4986 2012-10-29 Chong Yidong <cyd@gnu.org>
4987
4988 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4989 Suggested by Dan Nicolaescu (Bug#6326).
4990
4991 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4992
4993 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4994
4995 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4996
4997 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4998
4999 * face-remap.el (face-remap-add-relative): Handle the case where a
5000 face-remapping-alist entry is a cons cell (Bug#12762).
5001
5002 2012-10-29 Kevin Ryde <user42@zip.com.au>
5003
5004 * woman.el (woman-parse-numeric-value): Handle picas correctly
5005 (Bug#12639).
5006
5007 2012-10-29 Glenn Morris <rgm@gnu.org>
5008
5009 * emacs-lisp/cl.el (defsetf): Doc fix.
5010
5011 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5014 syntax to the matching opener, if any (bug#12547).
5015 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5016 matching open as a "case-(".
5017 (sh-smie-rc-grammar): Add a corresponding rule for it.
5018
5019 2012-10-28 Daniel Hackney <dan@haxney.org>
5020
5021 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5022 "PKGNAME-autoloads.el" in case we created it.
5023
5024 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5027 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5028 (completion--twq-all): Disable too-strict assertions.
5029
5030 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5031
5032 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5033
5034 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5035 text to match the real keybindings.
5036
5037 2012-10-27 Juri Linkov <juri@jurta.org>
5038
5039 * wdired.el (wdired-keep-marker-rename): New defcustom.
5040 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5041 (Bug#11795)
5042
5043 * dired.el (dired-keep-marker-rename): Add reference to
5044 `wdired-keep-marker-rename' in the docstring.
5045 Add default character value ?R to display initially in
5046 Customization UI instead of ?@.
5047
5048 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5049
5050 * window.el (display-buffer): In doc-string describe
5051 window-height and window-width alist entries.
5052
5053 * time.el (display-time-world): Restore fit-window-to-buffer
5054 behavior.
5055
5056 2012-10-27 Chong Yidong <cyd@gnu.org>
5057
5058 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5059
5060 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5061
5062 * minibuffer.el (completion-category-overrides): New completion
5063 category `bookmark' (bug#11131).
5064
5065 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5068 Silence bogus compiler warnings for ad-do-it.
5069
5070 * bookmark.el (bookmark-completing-read): Set the completion category
5071 to `bookmark' (bug#11131).
5072
5073 2012-10-26 Bastien <bzg@altern.org>
5074 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * face-remap.el: Use lexical-binding.
5077 (text-scale-adjust): Improve docstring. Use itself for the temporary
5078 overlay-map bindings, so as to repeat the "Use..." message each time.
5079
5080 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * emacs-lisp/macroexp.el (macroexp--expand-all):
5083 Obey byte-compile-warning-enabled-p (bug#12486).
5084
5085 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5086 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5087
5088 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5089
5090 * mouse.el (mouse-drag-line): Move last form into preceding when
5091 clause (Bug#12731).
5092
5093 * help.el (resize-temp-buffer-window): Fix doc-string.
5094
5095 2012-10-25 David Engster <deng@randomsample.de>
5096
5097 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5098 Remove. This feature is already integrated in imenu.
5099
5100 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5101 always loaded. Require `speedbar' unconditionally.
5102
5103 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5106
5107 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5108
5109 * net/ldap.el (ldap-search-internal): The official ldif format starts
5110 with a "version: 1" header (bug#12724).
5111
5112 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5113 (bug#12721).
5114
5115 2012-10-25 Glenn Morris <rgm@gnu.org>
5116
5117 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5118
5119 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 * minibuffer.el (minibuffer-force-complete): Use one more marker
5122 for the temporary-overlay-map command (bug#12619).
5123
5124 2012-10-24 Chong Yidong <cyd@gnu.org>
5125
5126 * time.el (display-time-world-mode): Derive from special-mode.
5127 (display-time-world): Use display-buffer (Bug#12708).
5128 (display-time-world-mode-map): Variable deleted.
5129 (display-time-world-display): Wrap the final delete-char inside
5130 inhibit-read-only.
5131
5132 2012-10-24 Chong Yidong <cyd@gnu.org>
5133
5134 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5135 Doc fix.
5136
5137 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5138
5139 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * minibuffer.el (completion--all-sorted-completions-location): New var.
5142 (completion--cache-all-sorted-completions)
5143 (completion--flush-all-sorted-completions): Use it.
5144 (completion-in-region, completion-in-region--postch)
5145 (completion-at-point, completion-help-at-point): Use markers in
5146 completion-in-region--data (bug#12619).
5147
5148 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * progmodes/compile.el (compilation-start): Try to handle common
5151 quoting of `cd' argument (bug#12640).
5152
5153 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5154 (bug#12671).
5155
5156 2012-10-23 Glenn Morris <rgm@gnu.org>
5157
5158 * progmodes/gud.el (gud-menu-map):
5159 Check gdb-active-process is bound. (Bug#12358)
5160
5161 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * repeat.el (repeat): Set real-this-command (bug#12232).
5164
5165 * htmlfontify.el (hfy-post-html-hook):
5166 * filesets.el (filesets-cache-fill-content-hook):
5167 * arc-mode.el (archive-extract-hook):
5168 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5169 * net/rcirc.el (rcirc-sentinel-functions)
5170 (rcirc-receive-message-functions, rcirc-activity-functions)
5171 (rcirc-print-functions):
5172 * net/dbus.el (dbus-event-error-functions):
5173 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5174 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5175 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5176 * term/sun.el (sun-raw-prefix-hooks):
5177 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5178
5179 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5182 Set `tramp-chunksize' to 1. This improves the performance.
5183 (tramp-smb-wait-for-output): Add timeout to
5184 `tramp-accept-process-output' calls.
5185
5186 2012-10-23 Chong Yidong <cyd@gnu.org>
5187
5188 * faces.el (font-list-limit): Define as an obsolete variable.
5189
5190 * startup.el (command-line):
5191 * cus-start.el: Don't refer to font-list-limit.
5192
5193 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5194
5195 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * subr.el (internal-temp-output-buffer-show): Rename from
5198 temp-output-buffer-show, since previously compiled files expect this name.
5199
5200 2012-10-23 Glenn Morris <rgm@gnu.org>
5201
5202 * image.el (image-type-from-file-name): If multiple types match,
5203 return the first one that is supported. (Bug#9045)
5204
5205 2012-10-22 Glenn Morris <rgm@gnu.org>
5206
5207 * image.el (imagemagick-enabled-types): Doc fix.
5208
5209 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5210
5211 * progmodes/which-func.el (which-func-current): The hash-table may have
5212 an explicit nil (bug#12338).
5213
5214 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * electric.el (electric-pair-delete-selection-self-insert-function):
5217 Rename to electric-pair-will-use-region, return a boolean.
5218 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5219
5220 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5221 (delete-selection-pre-hook): Use use-region-p.
5222 (delete-selection-self-insert-function): Remove.
5223 (self-insert-command): Obey self-insert-uses-region-functions.
5224 (self-insert-iso): Revert to previous setting, since we don't actually
5225 know what that command does.
5226 (delete-selection-self-insert-hooks): Remove.
5227
5228 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5229
5230 * delsel.el (delete-selection-helper): New function, extracted from
5231 delete-selection-pre-hook.
5232 (delete-selection-pre-hook): Use it.
5233 (delete-selection-self-insert-function): New function.
5234 (delete-selection-self-insert-hooks): New hook.
5235 (self-insert-command, self-insert-iso): Use it.
5236 * electric.el (electric-pair-syntax): New function, extracted from
5237 electric-pair-post-self-insert-function.
5238 (electric-pair-post-self-insert-function): Use it.
5239 (electric-pair-delete-selection-self-insert-function): New function.
5240 (electric-pair-mode): Require delsel and setup
5241 delete-selection-self-insert-hooks (bug#11520).
5242
5243 2012-10-20 Chong Yidong <cyd@gnu.org>
5244
5245 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5246 no changes to show (Bug#12586).
5247
5248 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5249 list explicitly (Bug#12571).
5250
5251 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5252
5253 * progmodes/flymake.el (flymake-create-temp-inplace):
5254 Use file-truename.
5255
5256 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5257
5258 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5259
5260 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5261
5262 * calc/calc-units.el (math-extract-units): Properly extract powers
5263 of units.
5264
5265 2012-10-20 Daniel Colascione <dancol@dancol.org>
5266
5267 * frame.el (make-frame): Set x-display-name as we used to in order
5268 to unbreak creating an X11 frame from an Emacs daemon started
5269 without a display.
5270
5271 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5274 the same completion-field (bug#12221).
5275
5276 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5277
5278 * emacs-lisp/debug.el (debug): Record height of debugger window
5279 also when debugger will be back (Bug#8789).
5280
5281 2012-10-18 Chong Yidong <cyd@gnu.org>
5282
5283 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5284 Convert to defcustom.
5285 (gdb-get-source-file): Don't bind pop-up-windows.
5286
5287 * progmodes/gud.el (gud-display-line): Don't specially re-use
5288 other frames for the gdb-mi case (Bug#12648).
5289
5290 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * emacs-lisp/advice.el: Clean up commentary a bit.
5293 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5294 (byte-code-function-p): Never redefine.
5295
5296 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5297
5298 2012-10-18 Glenn Morris <rgm@gnu.org>
5299
5300 * dired.el (dired-sort-toggle): Some ls implementations only allow
5301 a single option string. (Bug#12666)
5302
5303 * minibuffer.el (completion-cycle-threshold): Doc fix.
5304
5305 2012-10-17 Kenichi Handa <handa@gnu.org>
5306
5307 * international/mule.el (set-keyboard-coding-system):
5308 Recover input meta mode when the new coding system doesn not use 8-bit.
5309 Supply TERMINAL arg to set-input-meta-mode.
5310
5311 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5312
5313 * wdired.el (wdired-old-marks): New variable.
5314 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5315 (wdired-do-renames): Move point with renamed file and don't lose
5316 mark status (Bug#11795).
5317
5318 2012-10-16 Juri Linkov <juri@jurta.org>
5319
5320 * replace.el (query-replace-help): Mention multi-buffer replacement
5321 keys in the Help message. (Bug#12655)
5322
5323 2012-10-15 Chong Yidong <cyd@gnu.org>
5324
5325 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5326
5327 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5328
5329 * window.el (display-buffer): Doc fix.
5330
5331 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5332 Adjust the msft regexp to the output of Studio 2010, and move msft
5333 before edg-1. See the discussion on emacs-devel,
5334 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5335 for the details.
5336
5337 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5340 (oset): Move uses of object-class-fast macro after its definition.
5341
5342 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5343
5344 2012-10-13 Chong Yidong <cyd@gnu.org>
5345
5346 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5347 enabled, re-enable it (Bug#11963).
5348
5349 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5350
5351 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5352 non-nil, restore window configuration (Bug#12623).
5353
5354 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * help-fns.el (describe-variable, describe-function-1):
5357 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5358
5359 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5360
5361 2012-10-12 Glenn Morris <rgm@gnu.org>
5362
5363 * mail/rmailsum.el (rmail-header-summary):
5364 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5365
5366 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5367
5368 * progmodes/python.el (python-mode-map):
5369 Replace subtitute-key-definition with proper command remapping.
5370 (python-nav--up-list): Fix behavior for blocks on the same level.
5371
5372 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5375
5376 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5377 changes to the format of load-history.
5378
5379 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5380 completion-ignore-case in case that var is buffer-local (bug#12615).
5381
5382 2012-10-11 Kenichi Handa <handa@gnu.org>
5383
5384 * international/eucjp-ms.el: Re-generated.
5385
5386 2012-10-10 Kenichi Handa <handa@gnu.org>
5387
5388 * select.el (xselect--encode-string): If a coding is specified for
5389 selection, and that is compatible with COMPOUND_TEXT, use it.
5390
5391 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5392
5393 * window.el (switch-to-buffer-preserve-window-point): New option.
5394 (switch-to-buffer):
5395 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5396
5397 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5400 Don't document nil as a useful value (bug#12583).
5401
5402 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5403
5404 * net/tramp.el (tramp-debug-message):
5405 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5406 (with-tramp-progress-reporter): Rename from
5407 `tramp-with-progress-reporter'.
5408 (with-tramp-file-property, with-tramp-connection-property):
5409 Move from tramp-cache.el, rename from `with-file-property' and
5410 `with-connection-property', respectively.
5411
5412 * net/tramp-cache.el: Remove `with-file-property' and
5413 `with-connection-property'.
5414
5415 * net/tramp.el:
5416 * net/tramp-gvfs.el:
5417 * net/tramp-sh.el:
5418 * net/tramp-smb.el: Adapt callees.
5419
5420 * net/trampver.el: Update release number.
5421
5422 2012-10-09 Glenn Morris <rgm@gnu.org>
5423
5424 * w32-fns.el (set-message-beep):
5425 * term/w32-win.el (set-message-beep): Update declarations.
5426
5427 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5430 (mode-line-widen, mode-line-input-method-map)
5431 (mode-line-coding-system-map, mode-line-remote)
5432 (mode-line-unbury-buffer, mode-line-bury-buffer)
5433 (mode-line-next-buffer, mode-line-previous-buffer):
5434 Replace save-selected-window+select-window => with-selected-window.
5435
5436 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5437 * progmodes/cc-vars.el (bq-process): Remove, unused.
5438
5439 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5440
5441 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5442
5443 Implemented `backward-up-list'-like navigation.
5444 * progmodes/python.el (python-nav-up-list)
5445 (python-nav-backward-up-list): New functions.
5446 (python-mode-map): Define substitute key for backward-up-list to
5447 python-nav-backward-up-list.
5448
5449 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5450
5451 * progmodes/python.el (python-fill-paragraph): Rename from
5452 python-fill-paragraph-function. Fixed fill-paragraph for
5453 decorators (Bug#12605).
5454
5455 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5456
5457 * progmodes/python.el (python-shell-output-filter): Handle extra
5458 carriage return in OSX (Bug#12409).
5459
5460 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5461
5462 Fix shell handling of unbalanced quotes and parens in output.
5463 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5464 (python-syntax-propertize-function): Use it.
5465 (python-shell-output-syntax-table): New var.
5466 (inferior-python-mode): Prevent unbalanced parens/quotes from
5467 previous output mess with current input context.
5468
5469 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5470
5471 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5472 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5473
5474 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5475
5476 * ffap.el (ffap-replace-file-component): Support Tramp file name
5477 syntax, not only ange-ftp's one.
5478
5479 2012-10-08 Glenn Morris <rgm@gnu.org>
5480
5481 * cus-start.el (message-log-max): Set :version.
5482
5483 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5484
5485 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5486
5487 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5488 the minibuffer window (Bug#10851).
5489
5490 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5491
5492 Enhancements on forward-sexp movement.
5493 * progmodes/python.el (python-nav-beginning-of-statement)
5494 (python-nav-end-of-statement): Return point-marker.
5495 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5496 (python-info-current-symbol)
5497 (python-info-statement-starts-block-p): Rename from
5498 python-info-beginning-of-block-p.
5499 (python-info-statement-ends-block-p): Rename from
5500 python-info-end-of-block-p.
5501 (python-info-beginning-of-statement-p)
5502 (python-info-end-of-statement-p)
5503 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5504 New functions.
5505
5506 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5509 frame-selected-windows.
5510
5511 2012-10-08 Daniel Colascione <dancol@dancol.org>
5512
5513 * battery.el (battery-status-function): Check for
5514 w32-battery-status itself, not system-time windows-nt.
5515
5516 * frame.el: Require cl-lib.
5517 (display-format-alist): New variable mapping frame types to
5518 functions that initialize them.
5519 (window-system-for-display): New function: interprets
5520 display-format-alist.
5521 (make-frame-on-display): Remove existing display-selection logic
5522 and just forward to make-frame, which will now DTRT.
5523 (make-frame): Restructure to use window-system-for-display to
5524 figure out how to create a frame on a given display.
5525 (display-mouse-p): Look for frame-type w32, not a particular
5526 system-type.
5527
5528 * loadup.el: Load w32 lisp code when we have the w32 feature.
5529
5530 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5531 system-type windows-nt.
5532
5533 * server.el (server-create-window-system-frame): Look for window
5534 type.
5535 (server-proces-filter): Only force a window system when windows-nt
5536 _and_ w32. Explain why.
5537
5538 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5539 of window systems we configure for the mode.
5540
5541 * startup.el (command-line): Mark window system is initialized
5542 after we've done it.
5543
5544 * common-win.el (x-select-text): Look for w32, not windows-nt.
5545
5546 * ns-win.el: Require cl-lib. Add ourselves to
5547 display-format-alist.
5548 (ns-initialize-window-system): Assert we're not initialized twice.
5549
5550 * w32-win.el: Enable lexical binding; require cl-lib; add
5551 ourselves to display-format-alist.
5552 (w32-handle-dropped-file): Convert incoming dropped files from
5553 Windows paths to Cygwin ones before passing them on to the rest of
5554 Emacs.
5555 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5556 (w32-initialize-window-system): Assert we're not initialized twice.
5557
5558 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5559 (x-initialize-window-system): Assert we're not initialized twice.
5560
5561 * w32-common-fns.el: New File.
5562 (w32-version, w32-using-nt, w32-get-clipboard-data)
5563 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5564 (w32-charset-info-alist, x-last-selected, text)
5565 (x-get-selection-value, x-selection-value): Move here.
5566
5567 * w32-fns.el: Require w32-common-fns.
5568 (w32-version, w32-using-nt, w32-get-clipboard-data)
5569 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5570 (w32-charset-info-alist, x-last-selected, text)
5571 (x-get-selection-value, x-selection-value): Move to
5572 w32-common-fns.
5573
5574 * w32-vars.el:
5575 (w32-allow-system-shell, w32-system-shells): Define only in
5576 non-cygwin case.
5577
5578 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5581 (read-passwd): Remove a few more potential sources of leaks.
5582
5583 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5584
5585 * progmodes/python.el (inferior-python-mode)
5586 (python-shell-make-comint): Fix initialization of local
5587 variables copied from parent buffer.
5588
5589 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5590
5591 * term/ns-win.el (ns-read-file-name): Update declaration to match
5592 nsfns.m.
5593 (ns-respond-to-change-font): Change fontsize separately so we are sure
5594 it is set when font is acted upon.
5595
5596 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5597
5598 Enhancements to indentation.
5599 * progmodes/python.el (python-indent-context): Give priority to
5600 inside-string context. Make comments indentation markers.
5601 (python-indent-region): Do not mess with strings, unless it's the
5602 enclosing set of quotes.
5603
5604 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * window.el (internal--before-save-selected-window)
5607 (internal--after-save-selected-window): New functions extracted from
5608 save-selected-window. Make sure we return the `alist' we construct.
5609 (save-selected-window): Use them.
5610
5611 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5612 Use with-selected-window.
5613
5614 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5615 forms that define macros (bug#12593).
5616
5617 2012-10-07 Kenichi Handa <handa@gnu.org>
5618
5619 * international/mule-conf.el (compound-text-with-extensions):
5620 Add :mime-charset property as x-ctext.
5621
5622 2012-10-07 Stefan Merten <smerten@oekonux.de>
5623
5624 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5625 (rst-indent-literal-normal, rst-indent-literal-minimized)
5626 (rst-indent-comment): Correct :version tag.
5627 (rst-official-cvs-rev): Correct version string.
5628
5629 2012-10-07 Glenn Morris <rgm@gnu.org>
5630
5631 * mail/rmailmm.el (rmail-mime-process-multipart):
5632 Do not confuse a multipart message with an epilogue
5633 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5634
5635 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5636
5637 Fix shell output retrieval and comint-prompt-regexp init.
5638 * progmodes/python.el (inferior-python-mode):
5639 (python-shell-make-comint): Fix initialization of
5640 comint-prompt-regexp from copied file local variables.
5641 (python-shell-fetched-lines): Remove var.
5642 (python-shell-output-filter-in-progress): Rename from
5643 python-shell-fetch-lines-in-progress.
5644 (python-shell-output-filter-buffer): Rename from
5645 python-shell-fetch-lines-string.
5646 (python-shell-fetch-lines-filter): Delete function.
5647 (python-shell-output-filter): New function.
5648 (python-shell-send-string-no-output): Use them.
5649
5650 2012-10-07 Glenn Morris <rgm@gnu.org>
5651
5652 * hi-lock.el (hi-lock-process-phrase):
5653 Try to make it less fragile. (Bug#7161)
5654
5655 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5656
5657 2012-10-06 Glenn Morris <rgm@gnu.org>
5658
5659 * ehelp.el (electric-help-mode): Use help-mode rather than
5660 non-existent mode `help'.
5661 (electric-help-map): Use button-buffer-map. (Bug#10917)
5662
5663 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5664 (reftex-create-bibtex-footer): Fix custom types.
5665
5666 * progmodes/sh-script.el (sh-indent-after-continuation):
5667 Add explicit :group.
5668
5669 * textmodes/rst.el (rst-preferred-decorations)
5670 (rst-shift-basic-offset): Clarify obsolescence versions.
5671
5672 * profiler.el (profiler): Add missing group :version tag.
5673 * avoid.el (mouse-avoidance-banish-position):
5674 * proced.el (proced-renice-command):
5675 * calc/calc.el (calc-ensure-consistent-units):
5676 * calendar/icalendar.el (icalendar-import-format-uid):
5677 * net/tramp.el (tramp-save-ad-hoc-proxies):
5678 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5679 * progmodes/flymake.el (flymake-error-bitmap)
5680 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5681 * progmodes/sh-script.el (sh-indent-after-continuation):
5682 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5683 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5684 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5685 (vhdl-array-index-record-field-in-sensitivity-list)
5686 (vhdl-indent-comment-like-next-code-line):
5687 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5688 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5689 (reftex-cite-key-separator, reftex-create-bibtex-header)
5690 (reftex-create-bibtex-footer):
5691 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5692 (rst-indent-literal-normal, rst-indent-literal-minimized)
5693 (rst-indent-comment): Add missing custom :version tags.
5694
5695 * calendar/timeclock.el (timeclock-modeline-display):
5696 Add missing obsolete alias for renamed user option.
5697
5698 * strokes.el (strokes-modeline-string):
5699 * emulation/crisp.el (crisp-mode-modeline-string):
5700 * eshell/esh-mode.el (eshell-status-in-modeline):
5701 Aliases to defcustoms must come before the defcustom.
5702
5703 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5704 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5705 (cal-tex-cursor-week-monday): Doc fixes.
5706 (cal-tex-cursor-week2-summary): Doc fix.
5707 Rename from cal-tex-cursor-week-at-a-glance.
5708
5709 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5710 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5711
5712 * calendar/calendar.el (calendar-mode-map):
5713 Add cal-tex-cursor-week2-summary.
5714
5715 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5718
5719 * subr.el (read-passwd-map): New var.
5720 (read-passwd): Use `read-string' again.
5721 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5722
5723 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5724
5725 * register.el (append-to-register, prepend-to-register):
5726 Deactivate mark, as does `copy-to-register' (bug#12389).
5727
5728 2012-10-06 Chong Yidong <cyd@gnu.org>
5729
5730 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5731
5732 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5733
5734 * international/characters.el: Fix simple mistake ((car chars) ->
5735 elt), delete duplicated code.
5736
5737 2012-10-06 Glenn Morris <rgm@gnu.org>
5738
5739 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5740
5741 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5742
5743 * color.el (color-hsl-to-rgb): Fix incorrect results for
5744 small and large hue values. (Bug#12559)
5745
5746 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5747
5748 Enhancements to docstring formatting when filling paragraphs.
5749 * progmodes/python.el (python-fill-docstring-style): Rename from
5750 python-fill-string-style. Added new style.
5751 (python-fill-string): Use new style. Better checks for
5752 docstrings.
5753
5754 2012-10-05 Glenn Morris <rgm@gnu.org>
5755
5756 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5757
5758 * color.el (color-name-to-rgb, color-rgb-to-hex)
5759 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5760 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5761 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5762 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5763
5764 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5765
5766 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5767
5768 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5769 to get the correct size across symlinks.
5770
5771 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5772
5773 2012-10-04 Juri Linkov <juri@jurta.org>
5774
5775 * replace.el (query-replace-interactive): Declare obsolete.
5776 (query-replace-read-from): Add the last incremental search string
5777 to the list of default values accessible via M-n.
5778 (map-query-replace-regexp): Use `read-regexp'.
5779 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5780 (map-query-replace-regexp, replace-string, replace-regexp):
5781 Fix docstrings to replace mentions of `query-replace-interactive'
5782 with alternatives. (Bug#12526)
5783
5784 2012-10-04 Juri Linkov <juri@jurta.org>
5785
5786 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5787 (dired-pop-to-buffer): Declare obsolete.
5788 (dired-mark-pop-up): Doc fix.
5789
5790 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5791
5792 Allow user to set docstring style for fill-paragraph.
5793 * progmodes/python.el
5794 (python-fill-comment-function, python-fill-string-function)
5795 (python-fill-decorator-function, python-fill-paren-function):
5796 Remove :safe for defcustoms.
5797 (python-fill-string-style): New defcustom
5798 (python-fill-paragraph-function): Enhance context detection.
5799 (python-fill-string): Honor python-fill-string-style settings.
5800
5801 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5802
5803 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5804 after setting its buffer (Bug#10805).
5805
5806 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5807
5808 Fix cornercase for string syntax.
5809 * progmodes/python.el (python-syntax-propertize-function):
5810 Simplify and enhance the regexp for unescaped quotes. Now it also
5811 matches quotes in weird situations like the single quote in
5812 "something\"'".
5813 (python-syntax-stringify): Simplify num-quotes detecting code.
5814
5815 2012-10-03 Glenn Morris <rgm@gnu.org>
5816
5817 * help-macro.el (three-step-help):
5818 Revert 2012-09-29 change. (Bug#12567)
5819
5820 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5821
5822 * menu-bar.el (kill-this-buffer): Don't do anything when
5823 `menu-frame' is not alive or visible (Bug#8184).
5824
5825 * emacs-lisp/debug.el (debug): When quitting the debugger window
5826 restore current buffer (Bug#12502).
5827
5828 2012-10-02 Chong Yidong <cyd@gnu.org>
5829
5830 * progmodes/hideif.el (hif-lookup, hif-defined):
5831 Handle semantic-c-takeover-hideif.
5832
5833 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5834
5835 Change sampling interval units from ms to ns.
5836 * profiler.el (profiler-sampling-interval): Change units
5837 from ms to ns, multiplying the default by 1000000 so that
5838 it remains 1 ms.
5839 (profiler-report-cpu-line-format): Give enough room for
5840 the maximum counters on 64-bit hosts.
5841 (profiler-report-render-calltree-1): Call them "CPU samples",
5842 not "Time (ms)", since they are not milliseconds now (and
5843 never really were).
5844
5845 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5846
5847 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5848 Fix querying BBDB for entries without a last name (Bug#11580).
5849
5850 2012-10-02 Chong Yidong <cyd@gnu.org>
5851
5852 * emacs-lisp/eieio.el: Restore Version header.
5853
5854 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * vc/diff-mode.el (diff--auto-refine-data): New var.
5857 (diff-hunk): Use it to delay refinement.
5858 (diff-mode): Remove overlays when we turn off font-lock.
5859
5860 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5861 (table-initialize-table-fixed-width-mode)
5862 (table-set-table-fixed-width-mode): Remove functions.
5863 (table-command-list): Move initialization into declaration.
5864 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5865 (table-with-cache-buffer): Use `declare'.
5866 (table-span-cell): Simplify via CSE.
5867 (table-fixed-width-mode): Use define-minor-mode.
5868 (table-call-interactively, table-funcall, table-apply): Remove.
5869 (table-function): New function, to replace them.
5870
5871 * bookmark.el (bookmark-search-pattern): Remove var.
5872 (bookmark-read-search-input): Remove function.
5873 (bookmark-bmenu-search): Reimplement using a minibuffer.
5874
5875 * faces.el (modeline): Remove obsolete face name.
5876
5877 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5878 and give a non-nil default value.
5879 (add-change-log-entry): Simplify accordingly.
5880
5881 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5882
5883 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5884 (vc-git-log-edit-toggle-amend): New function.
5885 (vc-git-log-edit-toggle-signoff): New function.
5886 (vc-git-log-edit-mode): New major mode.
5887 (vc-git-log-edit-mode-map): Keymap for it.
5888 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5889
5890 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5891 header names.
5892 (log-edit-toggle-header): New function.
5893 (log-edit-extract-headers): Accept function values in HEADERS alist.
5894
5895 2012-10-01 David Engster <deng@randomsample.de>
5896
5897 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5898 from symbol property and change message to be more consistent with
5899 Emacs proper.
5900 (eieio-describe-generic): Add filename for each implementation.
5901 Fix indices for generic and normal methods.
5902 (eieio-method-def, eieio-class-def): New buttons.
5903 (eieio-help-find-method-definition)
5904 (eieio-help-find-class-definition): New functions.
5905 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5906 class, constructor and method definitions.
5907
5908 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5909 information in symbol property.
5910 (scoped-class): Remove.
5911 (eieio-slot-name-index, call-next-method): Check if it is bound.
5912
5913 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5914
5915 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5916 (eieio-custom-mode): New major mode.
5917 (eieio-customize-object): Use it.
5918
5919 2012-10-01 Eric Ludlam <zappo@gnu.org>
5920
5921 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5922 specifying the expected class, and whether subclassing is allowed.
5923 (eieio-persistent-convert-list-to-object):
5924 (eieio-persistent-validate/fix-slot-value)
5925 (eieio-persistent-slot-type-is-class-p): New functions.
5926 (eieio-named::slot-missing): Doc fix.
5927
5928 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5929 Stop using unused publd variable.
5930
5931 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5932 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5933 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5934 (eieio-speedbar-handle-click): Do not specify a class for the
5935 method. Fixes method invocation order problems with EDE.
5936
5937 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5940 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5941
5942 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5943
5944 * bookmark.el (bookmark-version-control): Give tags in the
5945 :type choices (Bug#12309), and improve doc string.
5946 (bookmark-write-file): Bind `print-circle' to `t' to allow
5947 circular custom bookmark types. (Bug#12503)
5948
5949 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5950
5951 Revert the FOLLOW-SYMLINKS change for file-attributes.
5952 * files.el (remote-file-name-inhibit-cache, after-find-file):
5953 * time.el (display-time-file-nonempty-p): Undo last change.
5954
5955 * profiler.el (profiler-sampling-interval): Change default back to 1.
5956 See Stefan Monnier in
5957 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5958
5959 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5960
5961 Shell output catching a la gud-gdb.
5962 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5963 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5964 New Vars.
5965 (python-shell-fetch-lines-filter): New function.
5966 (python-shell-send-string-no-output): Use them.
5967
5968 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5969
5970 * profiler.el (profiler-sampling-interval): Rename from
5971 profiler-sample-interval.
5972 (profiler-sampling-interval): Default to 10.
5973 (profiler-find-profile): New command (was profiler-find-log).
5974 (profiler-find-profile-other-window): New command.
5975 (profiler-find-profile-other-frame): New command.
5976 (profiler-profile): Introduce API-level data structure.
5977
5978 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5979
5980 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5981 * files.el (remote-file-name-inhibit-cache):
5982 * time.el (display-time-file-nonempty-p): Use it.
5983 * files.el (after-find-file): Don't chase links before calling
5984 file-exists-p, as file-exists-p already does the right thing.
5985
5986 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5987
5988 Merge from standalone RefTeX repository.
5989
5990 The following ChangeLog entries are shortened versions of the
5991 original ones with file paths adapted. A not so strongly edited
5992 version of the original ChangeLog can be found in the commit log.
5993
5994 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5995 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5996 Correctly handle new value type returned by `reftex-citation'.
5997
5998 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5999 that entries with whitespace at various places are found.
6000 Doc fix. Include entries that are cross-referenced from cited entries.
6001 Include @String definitions in the resulting bib file. Add header
6002 and footer defined in `reftex-create-bibtex-header' and
6003 `reftex-create-bibtex-footer'.
6004 (reftex-do-citation): Make it possible again to insert
6005 non-existent entries. Save match data when asking for optional
6006 arguments. Return all keys, not just the first one.
6007 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6008 all citations in the same line.
6009 (reftex-parse-bibtex-entry): Accept additional optional argument
6010 `raw' and keep quotes or braces if it is non-nil. Match fields
6011 containing hyphens besides word constituents.
6012 (reftex-get-string-refs): New function.
6013 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6014 and ask if it should be reread in case it did.
6015 (reftex-pop-to-bibtex-entry)
6016 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6017 entries with spaces or tabs in front of arguments.
6018 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6019 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6020 Match entries containing numbers and symbol constituents.
6021 (reftex-do-citation, reftex-figure-out-cite-format):
6022 Use `reftex-cite-key-separator'.
6023
6024 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6025 (reftex-mouse-view-crossref): Explain why point is set.
6026
6027 * textmodes/reftex-global.el: Whitespace changes.
6028
6029 * textmodes/reftex-index.el: Move provide statement to end of
6030 file.
6031 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6032 (reftex-index-visit-phrases-buffer): Set marker when visiting
6033 buffer. This allows for returning from the phrases file to the
6034 file one was just editing instead of the file where the last
6035 phrases was added from.
6036 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6037 punctuation syntax as it usually is not used as string quote in
6038 TeX-related modes and may occur unmatched. The change also
6039 prevents fontification of quoted content.
6040 (reftex-index-phrases-mode): Use it.
6041
6042 * textmodes/reftex-parse.el (reftex-parse-from-file):
6043 Move backward one char if a `\' was matched after a section macro.
6044 (reftex-parse-from-file): Use beginning of match instead of end as
6045 bound.
6046
6047 * textmodes/reftex-ref.el: Adapt creation of
6048 `reftex-<package>-<macro>' functions to new structure of
6049 `reftex-ref-style-alist'.
6050 (reftex-reference): Use `reftex-ref-style-list' function.
6051 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6052 reference macro if `reftex-ref-macro-prompt' is non-nil.
6053 (reftex-reference): Pass refstyle to `reftex-format-special'.
6054 Determine reference macro by looking at
6055 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6056 Use only one special format function.
6057 (reftex-varioref-vref, reftex-fancyref-fref)
6058 (reftex-fancyref-Fref): Remove definitions. The functions are now
6059 generated from `reftex-ref-style-alist'.
6060 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6061 Remove.
6062 (reftex-format-special): New function.
6063
6064 * textmodes/reftex-sel.el
6065 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6066 of `reftex-ref-style-alist'. Remove code for testing macro type.
6067 (reftex-select-toggle-varioref)
6068 (reftex-select-toggle-fancyref): Remove.
6069 (reftex-select-cycle-ref-style-internal)
6070 (reftex-select-cycle-ref-style-forward)
6071 (reftex-select-cycle-ref-style-backward): New functions.
6072 (reftex-select-label-map): Use `v' and `V' for general cycling
6073 through reference styles. Add `p' for switching between number
6074 and page reference types.
6075
6076 * textmodes/reftex-toc.el (reftex-re-enlarge):
6077 Call `enlarge-window' only if there is something to do because in Emacs
6078 the horizontal version throws an error even if the parameter is 0.
6079
6080 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6081 (reftex-plug-into-AUCTeX): Doc fix.
6082 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6083 string. Adapt to new name.
6084 (reftex-ref-style-alist): Change structure so that it is not
6085 possible to use multiple different package names within a style.
6086 Remove the symbols for symbols for macro type distinction.
6087 Add characters for macro selection.
6088 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6089 (reftex-create-bibtex-footer): New variables.
6090 (reftex-format-ref-function): Mention third argument of special
6091 format function.
6092 (reftex-ref-style-alist, reftex-ref-style-default-list):
6093 New variables.
6094 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6095 to new implementation. Mark as obsolete. Add compatibility code
6096 for honoring the variable values in case they are set.
6097 (reftex-cite-format-builtin, reftex-bibliography-commands):
6098 Add support for ConTeXt.
6099 (reftex-format-ref-function, reftex-format-cite-function):
6100 Fix custom type.
6101 (reftex-cite-key-separator): New variable.
6102
6103 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6104 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6105 `reftex-syntax-table' because parens have to retain their paren
6106 syntax in order for parsing of BibTeX entries like @book(...) to
6107 work.
6108 (reftex-in-comment): Do not error out if `comment-start-skip' is
6109 not set. Deal correctly with escaped comment characters.
6110 (reftex-tie-multifile-symbols): Add doc string.
6111 Initialize `reftex-ref-style-list'.
6112 (reftex-untie-multifile-symbols): Add doc string.
6113 (reftex-add-index-macros): Doc fix.
6114 (reftex-ref-style-activate, reftex-ref-style-toggle)
6115 (reftex-ref-style-list): New functions.
6116 (reftex-mode-menu): Use them. Adapt to new structure of
6117 `reftex-ref-style-alist'.
6118 (reftex-select-with-char): Kill the RefTeX Select buffer when
6119 done.
6120 (reftex-remove-if): New function.
6121 (reftex-erase-all-selection-and-index-buffers)
6122 (reftex-mode-menu): Reference styles are now computed from
6123 `reftex-ref-style-alist'. Fix typo.
6124 (reftex-report-bug): New function.
6125 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6126 algorithms with O(n log n). Introduce optional argument SORT (not
6127 yet used).
6128
6129 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6130
6131 Enhancements for triple-quote string syntax.
6132 * progmodes/python.el (python-syntax-propertize-function):
6133 Match both quote cases in one regexp.
6134 (python-syntax-stringify): Handle matches properly.
6135
6136 2012-09-30 Juri Linkov <juri@jurta.org>
6137
6138 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6139 to nil around the call to `insert' to prevent
6140 directory time modification by lock_file. (Bug#2295)
6141 * tar-mode.el (tar-summarize-buffer): Idem.
6142
6143 2012-09-30 Juri Linkov <juri@jurta.org>
6144
6145 * facemenu.el (list-colors-sort): Add option "Luminance".
6146 (list-colors-sort-key): Implement it.
6147
6148 * vc/diff-mode.el (diff-refine-removed):
6149 * vc/ediff-init.el (ediff-fine-diff-A):
6150 * vc/smerge-mode.el (smerge-refined-removed):
6151 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6152
6153 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6154
6155 * term/ns-win.el (x-file-dialog): New function.
6156
6157 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6158
6159 * ido.el (ido-max-directory-size): Default to nil; the current
6160 default is small for POSIX systems, and impractical on Windows 7
6161 now that lstat returns directory sizes for NTFS.
6162
6163 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6164
6165 In buffer display functions handle window-height/window-width
6166 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6167 * window.el (window--display-buffer): New argument ALIST.
6168 Obey window-height and window-width alist entries.
6169 (window--try-to-split-window): New argument ALIST.
6170 Bind window-combination-limit to t when the window's size shall be
6171 changed and window-combination-limit equals `window-size'.
6172 (display-buffer-in-atom-window)
6173 (display-buffer-in-major-side-window)
6174 (display-buffer-in-side-window, display-buffer-same-window)
6175 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6176 (display-buffer-pop-up-window, display-buffer-below-selected)
6177 (display-buffer-at-bottom, display-buffer-in-previous-window)
6178 (display-buffer-use-some-window): Adjust all callers of
6179 window--display-buffer and window--try-to-split-window.
6180 (fit-frame-to-buffer): New option.
6181 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6182 is non-nil.
6183 (display-buffer-in-major-side-window): Evaluate window-height /
6184 window-width alist entries.
6185
6186 * help.el (temp-buffer-resize-frames)
6187 (temp-buffer-resize-regexps): Remove options.
6188 (temp-buffer-resize-mode): Adjust doc-string.
6189 (resize-temp-buffer-window): Don't consult
6190 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6191 temp-buffer-resize-frames.
6192
6193 * dired.el (dired-mark-pop-up):
6194 Call display-buffer-below-selected with a fit-window-to-buffer alist
6195 entry.
6196
6197 2012-09-30 Chong Yidong <cyd@gnu.org>
6198
6199 * server.el (server-host): Document the security implications.
6200 (server-auth-key): Doc fix.
6201
6202 * startup.el (initial-buffer-choice): Doc fix.
6203
6204 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6205
6206 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6207 restriction change.
6208
6209 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6210
6211 * help-fns.el (help-fns--obsolete): Fix last change.
6212
6213 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6216 (minor-mode-map-alist): Remove redundant code.
6217
6218 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6219 visited in a buffer.
6220 (cvs-insert-visited-file): New function.
6221 (find-file-hook): Use it.
6222
6223 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6224
6225 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6226 chose face.
6227 (log-edit-empty-buffer-p): Don't require a space after a header.
6228
6229 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6230
6231 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6232
6233 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6234 a proper minor-mode.
6235
6236 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6237
6238 2012-09-29 Glenn Morris <rgm@gnu.org>
6239
6240 * winner.el (winner-mode): Remove variable (let define-minor-mode
6241 handle it).
6242 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6243 Doc fixes.
6244 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6245 (winner-mode): Use define-minor-mode.
6246
6247 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6248 the full definition in loaddefs, rather than duplicating it.
6249
6250 * help-macro.el (three-step-help): No need to autoload defcustom.
6251
6252 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6253 (inferior-lisp-program, inferior-lisp-load-command)
6254 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6255 No need to autoload defcustoms.
6256
6257 * hippie-exp.el (hippie-expand-try-functions-list)
6258 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6259 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6260 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6261 (hippie-expand-only-buffers): No need to autoload defcustoms.
6262 * progmodes/vhdl-mode.el (vhdl-line-expand):
6263 Explicitly load hippie-exp, so it does not get autoloaded
6264 while hippie-expand-try-functions-list is let-bound.
6265
6266 2012-09-28 Glenn Morris <rgm@gnu.org>
6267
6268 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6269
6270 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6271 Only "cl.el" counts as cl these days.
6272
6273 2012-09-28 Juri Linkov <juri@jurta.org>
6274
6275 Display archive errors in the echo area instead of inserting
6276 to the file buffer.
6277
6278 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6279 to STDERR-TEST that can be a regexp matching a successful output.
6280 Create a temporary file and redirect stderr to it. Search for
6281 STDERR-TEST in the stderr output and display it in the echo area
6282 if no match is found.
6283 (archive-extract-by-file): New function like
6284 `archive-extract-by-stdout' but extracting archives to files
6285 and looking for successful matches in stdout. Function body is
6286 mostly copied from `archive-rar-extract'.
6287 (archive-rar-extract): Use `archive-extract-by-file'.
6288 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6289
6290 2012-09-28 Leo Liu <sdl.web@gmail.com>
6291
6292 * pcomplete.el (pcomplete-show-completions):
6293 Use minibuffer-message to make pcomplete usable in minibuffer.
6294
6295 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6296
6297 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * type-break.el: Use lexical-binding.
6300 (type-break-mode): Use define-minor-mode.
6301
6302 * emacs-lisp/pcase.el (pcase--mark-used): New.
6303 (pcase--u1): Use it (bug#12512).
6304
6305 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6306 in load-history with the right file name.
6307
6308 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6309
6310 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6311 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6312 (doc-view-get-bounding-box): Make bounding box slicing work for
6313 ODF and DVI documents.
6314
6315 2012-09-28 Glenn Morris <rgm@gnu.org>
6316
6317 * type-break.el (type-break-mode, type-break-interval)
6318 (type-break-good-rest-interval, type-break-keystroke-threshold):
6319 No need to autoload.
6320 (type-break-good-rest-interval, type-break-keystroke-threshold):
6321 Add :set-after.
6322
6323 2012-09-28 Chong Yidong <cyd@gnu.org>
6324
6325 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6326 Add :version tag.
6327
6328 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6331
6332 2012-09-27 Glenn Morris <rgm@gnu.org>
6333
6334 * faces.el (x-display-name): Declare (for without-x builds).
6335
6336 * linum.el (linum-format): Don't autoload it. Improve :type.
6337
6338 * progmodes/tcl.el: Don't require outline when compiling.
6339 (outline-regexp, outline-level): Declare.
6340 * textmodes/sgml-mode.el: Don't require outline when compiling.
6341 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6342
6343 * term.el (term-ansi-reset):
6344 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6345
6346 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6347 files for RCS and SCCS. (Bug#9781)
6348
6349 2012-09-27 Chong Yidong <cyd@gnu.org>
6350
6351 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6352 change; value should be t.
6353
6354 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * image-mode.el: Use lexical-binding.
6357 (image-mode-winprops): Use t to stand for the window of
6358 a buffer that's not displayed.
6359 * doc-view.el (doc-view-new-window-function): Handle the new
6360 t in winprops.
6361 (doc-view-enlarge): Make it a real nop if the size is not changed.
6362 (doc-view-display): Handle the case where the buffer is not (yet?)
6363 displayed in any window.
6364 (doc-view-saved-settings): New var.
6365 (doc-view-mode): Use it.
6366 (doc-view-fallback-mode): Set it.
6367
6368 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6369 Set lexical-binding.
6370 (minibuffer-eldef-shorten-default): New var.
6371 (minibuffer-default-in-prompt-regexps): Use it for new default.
6372 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6373
6374 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6375
6376 * international/uni-bidi.el:
6377 * international/uni-category.el:
6378 * international/uni-name.el:
6379 * international/uni-numeric.el: Regenerate.
6380
6381 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6382 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * profiler.el: New file.
6385
6386 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6389 (testcover-reinstrument): Simplify with CSE.
6390
6391 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6392
6393 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6394
6395 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6396
6397 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6398 (verilog-auto-input, verilog-auto-insert-lisp)
6399 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6400 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6401 (verilog-auto-unused, verilog-auto-wire)
6402 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6403 newline. Reported by Andrew Jones.
6404 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6405 Reported by Brad Dobbie.
6406 (verilog-batch-delete-trailing-whitespace):
6407 Create verilog-batch-delete-trailing-whitespace.
6408 Reported by Brad Dobbie.
6409 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6410 parameters from another module. Reported by Dan Katz.
6411 (verilog-auto, verilog-auto-assign-modport)
6412 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6413 AUTOINOUTMODPORT for UVM interface module shell generation.
6414 Reported by Brad Dobbie.
6415 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6416 standard behavior.
6417 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6418 Reported by Matt Martin.
6419
6420 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6421
6422 * window.el (window--resize-child-windows): When resizing child
6423 windows proportionally, process them in reverse order to
6424 preserve the "when splitting a window the new one gets the odd
6425 line" behavior.
6426 (window--resize-root-window-vertically): When resizing the
6427 minibuffer window try to affect only windows at the bottom of the
6428 frame. (Bug#12419)
6429
6430 2012-09-25 Chong Yidong <cyd@gnu.org>
6431
6432 * subr.el (declare): Doc fix.
6433
6434 * help-fns.el (help-fns--obsolete): Handle macros properly.
6435
6436 2012-09-25 Chong Yidong <cyd@gnu.org>
6437
6438 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6439 this function obsolete.
6440
6441 * calendar/cal-x.el (calendar-two-frame-setup)
6442 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6443 * calendar/calendar.el (american-calendar, european-calendar)
6444 (calendar-for-loop):
6445 * comint.el (comint-dynamic-simple-complete)
6446 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6447 * desktop.el (desktop-load-default):
6448 * dired-x.el (dired-omit-here-always)
6449 (dired-hack-local-variables, dired-default-directory):
6450 * emacs-lisp/derived.el (derived-mode-class):
6451 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6452 * emacs-lock.el (toggle-emacs-lock):
6453 * epa.el (epa-display-verify-result):
6454 * epg.el (epg-sign-keys, epg-start-sign-keys)
6455 (epg-passphrase-callback-function):
6456 * eshell/esh-util.el (eshell-for):
6457 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6458 (eshell-add-to-window-buffer-names):
6459 * files.el (locate-file-completion):
6460 * imenu.el (imenu-example--create-c-index)
6461 (imenu-example--create-lisp-index)
6462 (imenu-example--lisp-extract-index-name)
6463 (imenu-example--name-and-position):
6464 * international/mule-cmds.el (princ-list):
6465 * international/mule-diag.el (decode-codepage-char):
6466 * international/mule-util.el (detect-coding-with-priority):
6467 * iswitchb.el (iswitchb-read-buffer):
6468 * mail/mailalias.el (mail-complete):
6469 * mail/sendmail.el (mail-sent-via):
6470 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6471 (mouse-major-mode-menu):
6472 * password-cache.el (password-read-and-add):
6473 * pcomplete.el (pcomplete-parse-comint-arguments):
6474 * progmodes/sh-script.el (sh-maybe-here-document):
6475 * replace.el (query-replace-regexp-eval):
6476 * savehist.el (savehist-load):
6477 * simple.el (choose-completion-delete-max-match):
6478 * term.el (term-dynamic-simple-complete):
6479 * vc/ediff-init.el (ediff-check-version):
6480 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6481 * vc/vc.el (vc-diff-switches-list):
6482 * view.el (view-return-to-alist-update): Likewise.
6483
6484 * subr.el (eval-next-after-load, makehash, insert-string)
6485 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6486 mark obsolete.
6487 (mode-line-inverse-video): Variable deleted.
6488
6489 * international/mule-util.el (string-to-sequence): Remove.
6490
6491 * calendar/calendar.el (calendar-version):
6492 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6493 (icalendar-convert-diary-to-ical):
6494 * cus-edit.el (custom-mode):
6495 * ansi-color.el (ansi-color-unfontify-region):
6496 * international/latin1-disp.el (latin1-char-displayable-p):
6497 * progmodes/cwarn.el (turn-on-cwarn-mode):
6498 * progmodes/which-func.el (which-func-update-1):
6499 Use define-obsolete-function-alias.
6500
6501 * net/newst-backend.el (newsticker-cache-filename):
6502 * net/newst-treeview.el (newsticker-groups-filename):
6503 Fix incorrect obsolescence declaration.
6504
6505 * allout.el (allout-passphrase-hint-string): Likewise.
6506 (allout-init): Use a declare form to mark obsolete.
6507
6508 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6509 this applies to functions.
6510
6511 * iswitchb.el (iswitchb-read-buffer): Move code of
6512 iswitchb-define-mode-map here, and delete that obsolete function.
6513
6514 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6515 font-lock-reference-face.
6516
6517 2012-09-25 Glenn Morris <rgm@gnu.org>
6518
6519 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6520 Doc fixes.
6521
6522 * eshell/em-term.el (eshell-term-name):
6523 Default to term-term-name. (Bug#12485)
6524
6525 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6526
6527 * progmodes/python.el (python-shell-send-buffer): Better handling
6528 of "if __name__ == '__main__':" conditionals when sending the buffer.
6529
6530 2012-09-24 Glenn Morris <rgm@gnu.org>
6531
6532 * eshell/esh-cmd.el (eshell-find-alias-function):
6533 Tighten up file-name regexp. (Bug#12499)
6534
6535 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6536
6537 Enhancements for triple-quote string syntax.
6538 * progmodes/python.el (python-quote-syntax): Remove.
6539 (python-syntax-propertize-function): New value.
6540 (python-syntax-count-quotes, python-syntax-stringify):
6541 New functions.
6542
6543 2012-09-24 Chong Yidong <cyd@gnu.org>
6544
6545 * mail/supercite.el (sc-version): Remove obsolete function.
6546 (sc-describe): Don't mark as obsolete, since it is bound.
6547 (sc-submit-bug-report): Remove.
6548
6549 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6550 (cvs-commit-buffer-require-final-newline): Remove.
6551 (log-edit-require-final-newline)
6552 (log-edit-changelog-full-paragraphs): Default to t.
6553
6554 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6555 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6556 * vc/vc.el (vc-checkout-carefully): Likewise.
6557
6558 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6559 (emerge-version): Remove.
6560
6561 * progmodes/compile.el (compile-internal): Remove.
6562 (compilation-parse-errors-function): Fix typo.
6563
6564 * international/mule.el (set-char-table-default): Remove.
6565 (set-coding-priority, make-coding-system, generic-char-p)
6566 (charset-list, charset-bytes, charset-id): Use declare to mark
6567 functions as obsolete.
6568
6569 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6570 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6571 * vc/vc-hooks.el (vc-default-registered): Don't use
6572 vc-master-templates.
6573
6574 * font-lock.el (font-lock-reference-face):
6575 Use define-obsolete-variable-alias.
6576
6577 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6578 * calendar/calendar.el (calendar-font-lock-keywords):
6579 * calendar/diary-lib.el (diary-font-lock-keywords)
6580 (diary-fancy-font-lock-keywords):
6581 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6582 * textmodes/reftex-index.el (reftex-insert-index):
6583 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6584 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6585 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6586 * progmodes/prolog.el (prolog-font-lock-keywords):
6587 * progmodes/idlwave.el (idlwave-idl-keywords):
6588 * progmodes/ada-mode.el (ada-font-lock-keywords):
6589 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6590
6591 2012-09-24 Glenn Morris <rgm@gnu.org>
6592
6593 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6594
6595 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6596
6597 * progmodes/python.el (python-indent-line): More consistent cursor
6598 movement behavior.
6599
6600 2012-09-23 Stefan Merten <smerten@oekonux.de>
6601
6602 * textmodes/rst.el: Fix compiler warning.
6603
6604 2012-09-23 Roland Winkler <winkler@gnu.org>
6605
6606 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6607 Transcribe also LaTeX hyphenation.
6608 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6609 bibtex-reformat-previous-options.
6610
6611 2012-09-23 Roland Winkler <winkler@gnu.org>
6612
6613 * proced.el (proced-renice-command): New variable.
6614 (proced-marked-processes): New function.
6615 (proced-with-processes-buffer): New macro.
6616 (proced-send-signal): Use them.
6617 (proced-renice): New command bound to r.
6618
6619 2012-09-23 Roland Winkler <winkler@gnu.org>
6620
6621 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6622 ibuffer-saved-filter-groups has one element, shortcut the call of
6623 completing-read. (Bug#12331)
6624
6625 2012-09-23 Chong Yidong <cyd@gnu.org>
6626
6627 * bindings.el (mode-line-toggle-read-only):
6628 * bs.el (bs-toggle-readonly):
6629 * buff-menu.el (Buffer-menu-toggle-read-only):
6630 * dired.el (dired-toggle-read-only):
6631 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6632
6633 2012-09-23 Chong Yidong <cyd@gnu.org>
6634
6635 * image.el (image-type-available-p): Adapt to init-image-library
6636 argument changes.
6637
6638 2012-09-22 Juri Linkov <juri@jurta.org>
6639
6640 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6641 `dired-toggle-read-only'. (Bug#12462)
6642
6643 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6644
6645 * subr.el (temp-output-buffer-show): New function.
6646 (with-output-to-temp-buffer): Call temp-output-buffer-show
6647 instead of internal-temp-output-buffer-show.
6648
6649 2012-09-22 Chong Yidong <cyd@gnu.org>
6650
6651 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6652 (Bug#12462).
6653
6654 * repeat.el (repeat): Doc fix (Bug#12348).
6655
6656 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6657 (Bug#10909).
6658
6659 * simple.el (shell-command-on-region): Doc fix.
6660 (read-only-mode): Doc fix.
6661
6662 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6663
6664 * emacs-lisp/timer.el (run-with-idle-timer)
6665 (timer-activate-when-idle): Warn against reinvoking an idle timer
6666 from within its own timer action. (Bug#12447)
6667
6668 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6669
6670 * cus-start.el (window-combination-limit): Add new optional
6671 values.
6672 * window.el (temp-buffer-window-show)
6673 (window--try-to-split-window): Handle new values of
6674 window-combination-limit (Bug#1806).
6675 (split-window): Test window-combination-limit for t instead of
6676 non-nil.
6677 (display-buffer-at-bottom): New buffer display action function.
6678 * help.el (temp-buffer-resize-regexps): New option.
6679 (temp-buffer-resize-mode): Rewrite doc-string.
6680 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6681 Don't resize reused window. Suggested by Glenn Morris.
6682
6683 2012-09-22 Stefan Merten <smerten@oekonux.de>
6684
6685 * textmodes/rst.el: Revamp section title faces.
6686 (rst-official-version)
6687 (rst-package-emacs-version-alist): Sync with official version
6688 V1.4.0.
6689 (rst-faces-defaults, rst-set-level-default)
6690 (rst-level-face-max, rst-level-face-base-color)
6691 (rst-level-face-base-light, rst-level-face-format-light)
6692 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6693 (rst-adornment-faces-alist): Match new setup.
6694 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6695 (rst-level-5, rst-level-6): New faces.
6696
6697 2012-09-22 Chong Yidong <cyd@gnu.org>
6698
6699 * simple.el (undo): Handle indirect buffers (Bug#8207).
6700
6701 2012-09-21 Leo Liu <sdl.web@gmail.com>
6702
6703 IDO: Disable match re-ordering for buffer switching.
6704 * ido.el (ido-buffer-disable-smart-matches): New variable.
6705 (ido-set-matches-1): Use it. (Bug#2042)
6706
6707 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6708
6709 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6710 Fix 2011-05-17 change. (Bug#12418)
6711
6712 2012-09-21 Leo Liu <sdl.web@gmail.com>
6713
6714 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6715
6716 2012-09-21 Glenn Morris <rgm@gnu.org>
6717
6718 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6719 Be more robust about locating simple.el.
6720
6721 2012-09-21 Glenn Morris <rgm@gnu.org>
6722
6723 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6724
6725 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6726
6727 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6728
6729 2012-09-20 Juri Linkov <juri@jurta.org>
6730
6731 * replace.el (query-replace-read-from): Use `read-regexp' instead
6732 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6733 (occur-read-primary-args): Use `read-regexp' instead of
6734 `read-string'.
6735 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6736 `read-from-minibuffer'.
6737 * isearch.el (isearch-occur): Use `read-regexp' instead of
6738 `read-string'.
6739 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6740 `read-from-minibuffer'.
6741 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6742 of `read-string'. (Bug#7567)
6743
6744 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6745 and allow accepting a list of strings prepended to a list of
6746 standard default values. Doc fix. (Bug#12321)
6747
6748 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6749
6750 * replace.el (read-regexp): Don't add ": " when PROMPT already
6751 ends with a colon and space. (Bug#12321)
6752
6753 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6754
6755 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6756 error.
6757
6758 2012-09-20 Stefan Merten <smerten@oekonux.de>
6759
6760 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6761 Fixes feature request bug#11711.
6762 (rst-mode): Create `imenu-create-index-function'.
6763 (rst-get-stripped-line): Delete after refactoring.
6764 (rst-section-tree, rst-section-tree-rec)
6765 (rst-section-tree-point): Refactor and document properly.
6766 (rst-imenu-find-adornments-for-position)
6767 (rst-imenu-convert-cell, rst-imenu-create-index):
6768 New function.
6769
6770 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6773 (macroexp--expand-all): Use it.
6774 (macroexp--funcall-and-return): Remove by folding it into its sole
6775 caller (macroexp--warn-and-return).
6776 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6777 Use macroexp--obsolete-warning.
6778
6779 * calc/calc.el: Fix last change by removing the whole chunk, since it
6780 was only needed back when Calc was not bundled.
6781
6782 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6783
6784 * emacs-lisp/debug.el (debug): Restore assignment to
6785 debugger-old-buffer removed on 2012-09-08.
6786
6787 2012-09-20 Juri Linkov <juri@jurta.org>
6788
6789 * dired-aux.el (dired-diff): Remove (require 'diff) since
6790 `diff-latest-backup-file' is now autoloaded.
6791
6792 2012-09-20 Chong Yidong <cyd@gnu.org>
6793
6794 * vc/diff.el (diff-latest-backup-file): Autoload.
6795
6796 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * calc/calc.el: Remove redundant autoload shape check.
6799 (sel-mode): Don't defvar.
6800 (calc-get-stack-element): Add `sel-mode' arg instead.
6801 (calc-top, calc-top-list): Pass it this additional argument.
6802 * calc/calc-store.el (calc-store-map):
6803 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6804 (calc-map-equation, calc-outer-product, calc-inner-product):
6805 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6806
6807 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6808
6809 2012-09-19 Juri Linkov <juri@jurta.org>
6810
6811 * dired-aux.el (dired-diff): Add (require 'diff) because
6812 `diff-latest-backup-file' is not autoloaded.
6813 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6814 of `dired-get-filename' to t to not report error when there is
6815 no default file on the current line.
6816
6817 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6818
6819 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6820 macroexp--eval-if-compile.
6821 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6822 (macroexp--expand-all): Use them (bug#12371).
6823
6824 * doc-view.el (doc-view-guess-paper-size)
6825 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6826
6827 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6828
6829 New feature: set optimal slice from BoundingBox information.
6830 * doc-view.el (doc-view-mode-map): Add keybinding.
6831 (doc-view-menu): Add menu entry.
6832 (doc-view-set-slice): Adapt docstring.
6833 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6834 (doc-view-scale-bounding-box)
6835 (doc-view-set-slice-from-bounding-box): New functions.
6836 (doc-view-paper-sizes): New defvar.
6837
6838 2012-09-19 Glenn Morris <rgm@gnu.org>
6839
6840 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6841 (byte-compile-log-warning): Autoload. (Bug#12371)
6842
6843 * calendar/calendar.el (calendar-american-month-header)
6844 (calendar-european-month-header, calendar-iso-month-header)
6845 (calendar-month-header): New options.
6846 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6847 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6848
6849 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6850
6851 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6852
6853 2012-09-18 Juri Linkov <juri@jurta.org>
6854
6855 * dired-aux.el (dired-diff): Restore original functionality of
6856 getting the default value, but keep new feature of using the
6857 latest existing backup file (`diff-latest-backup-file').
6858
6859 2012-09-18 Juri Linkov <juri@jurta.org>
6860
6861 * dired.el (dired-mark): If the region is active in Transient Mark
6862 mode, mark all files in the active region. Doc fix.
6863 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6864 Doc fix. (Bug#10624)
6865
6866 2012-09-18 Juri Linkov <juri@jurta.org>
6867
6868 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6869 attributes for M-n are pulled from the file at point.
6870 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6871 Suggested by Drew Adams. (Bug#10624)
6872
6873 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6874
6875 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6876 whitespace after "end".
6877 (ruby-do-end-to-brace): Collapse block to one line if it fits
6878 within fill-column.
6879
6880 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6881
6882 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6883 value.
6884 (debug): Don't remove debugger window when debugger is expected
6885 to be back.
6886
6887 2012-09-18 Chong Yidong <cyd@gnu.org>
6888
6889 * custom.el (defface): Doc fix.
6890
6891 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6892
6893 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6894
6895 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6896 to initialize query-on-exit; then test that instead (bug#12288).
6897
6898 2012-09-17 Stefan Merten <smerten@oekonux.de>
6899
6900 * textmodes/rst.el: Add support for `testcover'.
6901 (rst-defcustom-testcover, rst-testcover-add-compose)
6902 (rst-testcover-add-1value): New functions.
6903 (rst-portable-mark-active-p): Replace by `use-region-p'.
6904 (rst-update-section, rst-classify-adornment)
6905 (rst-find-title-line): Mark `1value' forms.
6906 (rst-classify-adornment): Remove superfluous form.
6907 (rst-update-section, rst-get-adornments-around)
6908 (rst-adornment-complete-p, rst-get-next-adornment)
6909 (rst-adjust, rst-promote-region)
6910 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6911 (rst-find-pfx-in-region, rst-section-tree-rec)
6912 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6913 (rst-toc-node, rst-toc, rst-forward-section)
6914 (rst-iterate-leftmost-paragraphs)
6915 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6916 (rst-bullet-list-region)
6917 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6918 (rst-compile-find-conf, rst-compile)
6919 (rst-repeat-last-character): Fix style.
6920
6921 2012-09-17 Chong Yidong <cyd@gnu.org>
6922
6923 * comint.el (comint--complete-file-name-data): Don't add a space
6924 if the status is `sole'; that adds a gratuitous space in the
6925 completion-cycling case (Bug#12092).
6926
6927 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6928
6929 2012-09-17 Richard Stallman <rms@gnu.org>
6930
6931 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6932 only in the mime-shown mode, not in raw mode.
6933 (rmail-mime): Toggle off mime by displaying the message without
6934 mime processing. (Bug#12305)
6935
6936 * mail/rmail.el (rmail-retry-failure):
6937 Turn off mime processing first. (Bug#12037)
6938
6939 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6940
6941 2012-09-17 Chong Yidong <cyd@gnu.org>
6942
6943 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6944 (shell-dynamic-complete-functions): Convert to defcustom.
6945 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6946
6947 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6948 * comint.el (comint-prompt-read-only):
6949 * custom.el (defcustom):
6950 * hi-lock.el (hi-lock-mode):
6951 * ibuffer.el (ibuffer-formats):
6952 * ielm.el (ielm-prompt-read-only):
6953 * novice.el (disable-command):
6954 * saveplace.el (toggle-save-place):
6955 * speedbar.el (speedbar-supported-extension-expressions):
6956 * startup.el (auto-save-list-file-prefix, init-file-user)
6957 (after-init-hook, inhibit-startup-echo-area-message):
6958 * strokes.el (strokes-help):
6959 * time-stamp.el (time-stamp):
6960 * calendar/calendar.el (calendar, diary-file):
6961 * calendar/diary-lib.el (diary-mail-entries, diary)
6962 (diary-list-entries-hook):
6963 * calendar/holidays.el (holidays, calendar-holidays):
6964 * calendar/lunar.el (lunar-phases):
6965 * calendar/solar.el (sunrise-sunset):
6966 * emulation/edt.el (edt-load-keys):
6967 * emulation/viper.el (viper-mode):
6968 * eshell/em-alias.el (eshell-command-aliases-list):
6969 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6970 * international/ogonek.el (ogonek-information):
6971 * net/tramp-cmds.el (tramp-bug):
6972 * net/quickurl.el (quickurl-reread-hook-postfix):
6973 * play/decipher.el (decipher-font-lock-keywords):
6974 * progmodes/cc-styles.el (c-set-style):
6975 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6976 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6977 * progmodes/octave-mod.el (octave-mode):
6978 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6979 * progmodes/verilog-mode.el (verilog-read-defines):
6980 * textmodes/two-column.el (2C-mode): Likewise.
6981
6982 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6983
6984 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6985 that holds many addresses.
6986
6987 2012-09-16 Chong Yidong <cyd@gnu.org>
6988
6989 * align.el (align-areas): Call the indication function with
6990 positions instead of markers for arguments (Bug#12343).
6991
6992 * files.el (parse-colon-path): Use split-string (Bug#12351).
6993
6994 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6995 (display-buffer-function): Mark as obsolete.
6996
6997 * progmodes/compile.el (compilation-parse-errors): Accept list
6998 values similar to font-lock-keywords (Bug#12136).
6999 Suggested by Oleksandr Manzyuk.
7000 (compilation-error-regexp-alist): Doc fix.
7001
7002 2012-09-15 Glenn Morris <rgm@gnu.org>
7003
7004 * version.el (emacs-bzr-version-bzr): New function.
7005 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7006
7007 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7008 checkouts, check the parent dirstate matches the branch.
7009 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7010 empty string.
7011
7012 * version.el (emacs-bzr-version): Doc fix.
7013 (emacs-bzr-version-dirstate): New function.
7014 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7015 is local try and check that it matches the branch. If not, just
7016 use dirstate information. (Bug#12441)
7017
7018 2012-09-14 Juri Linkov <juri@jurta.org>
7019
7020 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7021 (Bug#12399)
7022
7023 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7026
7027 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7028 Remove obsolete byte-compiler hack that tried to silence some warnings.
7029 (edebug-submit-bug-report): Remove.
7030 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7031 Remove aliases, use the un-prefixed name instead.
7032 (edebug-pop-to-buffer): Consider other frames.
7033 (edebug-original-read):: Make it more obvious that it's always defined.
7034 (edebug--make-form-data-entry, edebug--form-data-name)
7035 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7036 single-dashed name, and implement with cl-defstruct.
7037 (edebug-set-form-data-entry): Use the standard accessors.
7038 (edebug-make-top-form-data-entry): Use push.
7039 (edebug-no-match): Drop useless `funcall'.
7040 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7041 to functions.
7042 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7043 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7044 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7045 (easy-menu-define, with-custom-print): Remove redundant specs.
7046 (edebug-outside-overriding-local-map)
7047 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7048 (edebug--display): Bind unread-command-events directly to nil rather
7049 than binding it to unread-command-events and later setting it to nil.
7050 (edebug--display): Kill edebug-eval-buffer here...
7051 (edebug--recursive-edit): ...rather than here.
7052 Bind standard-output and standard-input.
7053 (edebug-eval): Check cl-macroexpand-all is fboundp.
7054 (edebug-temp-display-freq-count): Fix last change.
7055
7056 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7057 * subr.el (noreturn, 1value): Add `debug' spec.
7058 * emacs-lisp/advice.el: Require cl-lib.
7059 (ad-copy-tree): Remove, use copy-tree instead.
7060 (ad-dolist): Remove use dolist or cl-dolist instead.
7061 (ad-do-return): Remove, use cl-return instead.
7062 (defadvice): Add `debug' spec.
7063
7064 2012-09-13 Juri Linkov <juri@jurta.org>
7065
7066 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7067 (Bug#12399)
7068
7069 2012-09-13 Glenn Morris <rgm@gnu.org>
7070
7071 * calc/calc.el (math-compose-expr):
7072 * calc/calc-ext.el (math-compose-expr):
7073 * progmodes/cc-defs.el (cl-macroexpand-all):
7074 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7075 (cl-macroexpand-all): Update declarations.
7076
7077 * vc/vc.el: No need to require ediff.
7078 (ediff-load-version-control): Declare.
7079 (ediff-vc-internal): Fix declaration.
7080 (vc-version-ediff): Require ediff.
7081
7082 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7083
7084 Use a more backwards-compatible timer format (Bug#12430).
7085 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7086 being right after USECS, as that better supports old code that
7087 inadvisedly looked directly at the timer vector.
7088
7089 2012-09-13 Kenichi Handa <handa@gnu.org>
7090
7091 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7092 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7093 `coding-priority' property of these language environment.
7094
7095 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7096
7097 Fix glitches caused by addition of psec to timers (Bug#12430).
7098 * image.el (image-animate-timer):
7099 * time.el (display-time-world-timer):
7100 Use timer--function and timer--args rather than raw access to
7101 timer vector.
7102
7103 2012-09-13 Glenn Morris <rgm@gnu.org>
7104
7105 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7106 If not compiling a file, try using load-file-name.
7107
7108 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7111 Fix last change.
7112 (edebug-update-eval-list): Use `push'.
7113
7114 * emacs-lisp/edebug.el: Use lexical-binding.
7115 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7116 Mark unused args with underscore.
7117 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7118 (edebug-form-data): Use defvar-local.
7119 (edebug-make-before-and-after-form, edebug-make-after-form):
7120 Use backquote.
7121 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7122 Not dynamically scoped any more.
7123 (edebug--enter-trace): Add arguments `function' and `args'.
7124 Rename from edebug-enter-trace.
7125 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7126 (edebug--update-coverage): Add `after-index' and `value' args.
7127 Rename from edebug-update-coverage.
7128 (edebug-slow-after): Call it accordingly.
7129 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7130 edebug-recursive-edit.
7131 (edebug--display): Call it accordingly. Add args `value',
7132 `offset-index', and `arg-mode'. Rename from edebug-display.
7133 (edebug-debugger, edebug): Call it accordingly.
7134 (edebug-eval-display-list): Use dolist.
7135
7136 2012-09-12 Juri Linkov <juri@jurta.org>
7137
7138 * info.el (Info-search): Don't check for isearch-mode and
7139 isearch-regexp before let-binding search-spaces-regexp to
7140 Info-search-whitespace-regexp.
7141 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7142 search-whitespace-regexp if isearch-lax-whitespace or
7143 isearch-regexp-lax-whitespace is non-nil.
7144 (Info-mode): Don't set local variable search-whitespace-regexp.
7145 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7146
7147 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7150 (debugger-env-macro): Remove support for unread-command-char.
7151
7152 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7153 the temporary map re-appearing on emulation-mode-map-alists.
7154
7155 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7156 since 22.1.
7157
7158 * ehelp.el (with-electric-help): Accept functions in
7159 electric-help-form-to-execute.
7160 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7161 And replace unread-command-char -> unread-command-events.
7162
7163 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7164
7165 Sync with Tramp 2.2.6.
7166
7167 * net/tramp.el (tramp-accept-process-output): Don't use
7168 JUST-THIS-ONE in the XEmacs case.
7169
7170 * net/trampver.el: Update release number.
7171
7172 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7173
7174 * emacs-lisp/debug.el (debugger-previous-window-height):
7175 New variable.
7176 (debug): When debugger-jumping-flag is non-nil try to restore
7177 height of debugger window. (Bug#8789)
7178
7179 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7182 overriding-local-map and pre/post-command-hook here.
7183 (edebug-recursive-edit): Do it here instead (bug#12345).
7184 (edebug-outside-unread-command-char): Remove all uses of
7185 unread-command-char.
7186
7187 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7188 inhibit-debugger is bound instead.
7189
7190 2012-09-11 Bastien Guerry <bzg@gnu.org>
7191
7192 * subr.el (set-temporary-overlay-map): Add a docstring.
7193 (Bug#12346)
7194
7195 2012-09-11 Bastien Guerry <bzg@gnu.org>
7196
7197 * minibuffer.el (completion-table-subvert): Fix docstring.
7198 (Bug#12347)
7199
7200 2012-09-11 Bastien Guerry <bzg@gnu.org>
7201
7202 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7203
7204 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7205
7206 * progmodes/sql.el: Version 3.1
7207 (sql-db2-escape-newlines): New variable.
7208 (sql-escape-newlines-filter): Use it.
7209
7210 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7211
7212 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7213
7214 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7215
7216 * vc/diff-mode.el (diff-mode-menu):
7217 Bind diff-remove-trailing-whitespace.
7218
7219 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7222 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7223 (emacs-lisp-byte-code-mode): New functions.
7224 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7225 (eval-defun-2): Remove bogus interactive spec.
7226 (lisp-indent-line): Remove redundant whole-exp code, now done in
7227 indent-according-to-mode.
7228 (save-match-data): Remove redundant indent data.
7229
7230 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7231 Use `declare'.
7232
7233 2012-09-09 Juri Linkov <juri@jurta.org>
7234
7235 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7236 (replace-lax-whitespace, query-replace-regexp)
7237 (query-replace-regexp-eval, replace-regexp): Doc fix.
7238 (perform-replace, replace-highlight): Let-bind
7239 isearch-lax-whitespace to replace-lax-whitespace and
7240 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7241
7242 * isearch.el (isearch-query-replace): Let-bind
7243 replace-lax-whitespace to isearch-lax-whitespace and
7244 replace-regexp-lax-whitespace to
7245 isearch-regexp-lax-whitespace. (Bug#10885)
7246
7247 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7250
7251 2012-09-09 Alan Mackenzie <acm@muc.de>
7252
7253 * progmodes/cc-engine.el (c-state-cache-init):
7254 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7255 (c-record-parse-state-state):
7256 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7257
7258 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7259
7260 * register.el (register-separator): Rename from
7261 separator-register. All uses changed. Doc fix.
7262 (register): Fix version.
7263
7264 2012-09-09 Chong Yidong <cyd@gnu.org>
7265
7266 * replace.el (query-replace-map): Bind four new symbols for
7267 requesting window scrolling.
7268
7269 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7270 query-replace-map (Bug#8948).
7271
7272 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7273
7274 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7275 since they are now in query-replace-map.
7276
7277 * window.el (scroll-other-window-down): Make the arg optional.
7278
7279 2012-09-09 Chong Yidong <cyd@gnu.org>
7280
7281 * files.el (hack-local-variables-confirm): Use quit-window to kill
7282 the *Local Variables* buffer.
7283
7284 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7285
7286 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7287 not just expect to be at its beginning. Adjust callees.
7288 Succeed when do-end block has no space before the pipe character.
7289 (ruby-brace-to-do-end): When the original block is one-liner,
7290 convert to multiline. Reindent the result.
7291
7292 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7293
7294 * register.el (register): New group.
7295 (separator-register): New user option.
7296 (increment-register): Route it to `append-to-register', if
7297 register contains text. Implication is that `C-x r +' can now be
7298 used for appending to a text register (bug#12217).
7299 (append-to-register, prepend-to-register): Add separator based on
7300 `separator-register'.
7301
7302 2012-09-08 Alan Mackenzie <acm@muc.de>
7303
7304 AWK Mode: make auto-newline work when there's "==" in the pattern.
7305 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7306 correctly.
7307 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7308 Test more rigorously for "=" token.
7309
7310 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7311
7312 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7313 Only fail when reached LIMIT.
7314
7315 2012-09-08 Chong Yidong <cyd@gnu.org>
7316
7317 * dired.el (dired-mode-map): Don't bind M-=.
7318
7319 * dired-aux.el (dired-diff): Use backup file as default.
7320
7321 2012-09-08 Drew Adams <drew.adams@oracle.com>
7322
7323 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7324
7325 2012-09-08 Chong Yidong <cyd@gnu.org>
7326
7327 * subr.el (syntax-after, syntax-class): Doc fix.
7328
7329 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7330
7331 * window.el (display-buffer-in-previous-window): New buffer
7332 display action function.
7333
7334 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7335 (debugger-previous-window): New variable.
7336 (debug): Rewrite using display-buffer-in-previous-window,
7337 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7338
7339 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7342
7343 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7344
7345 * progmodes/python.el (python-shell-send-string):
7346 When default-directory is remote, create temp file on remote
7347 filesystem.
7348 (python-shell-send-file): When file is remote, pass local view of
7349 file paths to remote Python interpreter. (Bug#12340)
7350
7351 2012-09-07 Chong Yidong <cyd@gnu.org>
7352
7353 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7354
7355 * files.el (after-find-file): Don't fail on a read-only buffer if
7356 require-final-newline is `visit' or `visit-save' (Bug#11156).
7357
7358 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7359
7360 * userlock.el (ask-user-about-supersession-threat):
7361 Use read-char-choice (Bug#12093).
7362
7363 2012-09-07 Chong Yidong <cyd@gnu.org>
7364
7365 * subr.el (buffer-narrowed-p): New function.
7366
7367 * ses.el (ses-widen):
7368 * simple.el (count-words--buffer-message):
7369 * net/browse-url.el (browse-url-of-buffer): Use it.
7370
7371 * simple.el (count-words-region): Don't signal an error if there
7372 is a non-nil prefix arg and the mark is not set.
7373
7374 * help.el (describe-key-briefly): Allow the message to be seen
7375 when invoked from the minibuffer (Bug#7014).
7376
7377 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7378
7379 * progmodes/ruby-mode.el (ruby-end-of-defun)
7380 (ruby-beginning-of-defun): Simplify, allow indentation before
7381 block beginning and end keywords.
7382 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7383 (ruby-end-of-defun): Expect that the point is at the beginning of
7384 the defun.
7385
7386 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7389 (bug#12367).
7390 (cl--make-usage-args): Strip _ from argument names.
7391
7392 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7393
7394 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7395 obsolete alias speedbar-key-map.
7396 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7397 (vhdl-index-menu-init): Don't use obsolete variable
7398 font-lock-maximum-size.
7399
7400 2012-09-06 Chong Yidong <cyd@gnu.org>
7401
7402 * frame.el (window-system-version): Mark as obsolete.
7403
7404 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7405 of obsolete variable speedbar-key-map.
7406
7407 2012-09-06 Juri Linkov <juri@jurta.org>
7408
7409 * replace.el (replace-lax-whitespace): New defcustom.
7410 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7411 (replace-string, replace-regexp): Mention it in docstrings.
7412 (perform-replace, replace-highlight): Let-bind
7413 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7414 to the values of replace-lax-whitespace and regexp-flag.
7415 Don't let-bind search-whitespace-regexp. (Bug#10885)
7416
7417 * isearch.el (isearch-query-replace): Let-bind
7418 replace-lax-whitespace instead of let-binding
7419 replace-search-function and replace-re-search-function.
7420 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7421 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7422 (isearch-toggle-symbol): Set isearch-regexp to nil
7423 in isearch-word mode (like in isearch-toggle-word).
7424
7425 2012-09-06 Juri Linkov <juri@jurta.org>
7426
7427 * replace.el (replace-search-function)
7428 (replace-re-search-function): Set default values to nil.
7429 (perform-replace): Let-bind isearch-related variables based on
7430 replace-related values, call `isearch-search-fun' and let-bind
7431 the result to `search-function'. Remove code that sets
7432 `search-function' and `search-string' separately for
7433 `delimited-flag'.
7434 (replace-highlight): Add new argument `delimited-flag' and
7435 rename other arguments to the names used in `perform-replace'.
7436 Let-bind `isearch-word' to the argument `delimited-flag'.
7437 (Bug#10885, bug#10887)
7438
7439 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7440
7441 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7442 ruby-beginning-of-indent, simplify, allow all keywords to have
7443 indentation before them.
7444 (ruby-beginning-of-indent): Adjust for above. Search until the
7445 found point is not inside a string or comment.
7446 (ruby-font-lock-keywords): Allow symbols to start with "@"
7447 character, give them higher priority than variables.
7448 (ruby-syntax-propertize-function)
7449 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7450 matchers. Expression expansions are not comments when inside a
7451 string, and there comment syntax status is irrelevant.
7452 (ruby-match-expression-expansion): New function. Check that
7453 expression expansion is inside a string, and it's not escaped.
7454 (ruby-font-lock-keywords): Use it.
7455
7456 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7457
7458 * help.el (temp-buffer-max-height): New default value.
7459 (temp-buffer-resize-frames): New option.
7460 (resize-temp-buffer-window): Optionally resize frame.
7461
7462 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7463 (fit-frame-to-buffer): New function.
7464
7465 2012-09-05 Glenn Morris <rgm@gnu.org>
7466
7467 * emulation/cua-rect.el (cua--init-rectangles):
7468 * textmodes/picture.el (picture-mode-map):
7469 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7470 like forward-char and backward-char. (Bug#12317)
7471
7472 2012-09-05 Leo Liu <sdl.web@gmail.com>
7473
7474 * progmodes/flymake.el (flymake-warning-re): New variable.
7475 (flymake-parse-line): Use it.
7476
7477 2012-09-05 Glenn Morris <rgm@gnu.org>
7478
7479 * calendar/holidays.el (holiday-christian-holidays):
7480 Rename an entry. (Bug#12289)
7481
7482 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7485 (bug#12222).
7486
7487 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * loadup.el: Load macroexp. Remove hack.
7490 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7491 (macroexp--expand-all): Use it to get better warnings.
7492 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7493 (internal-macroexpand-for-load): New functions.
7494 (macroexp--pending-eager-loads): New var.
7495 (emacs-startup-hook): New hack to replace one in loadup.el.
7496 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7497 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7498 (cl-psetf): Simplify.
7499 (cl-defstruct): Add indent rule.
7500
7501 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7502
7503 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7504 over `user-mail-address' for the SMTP MAIL FROM envelope.
7505 (smtpmail-via-smtp): Ditto.
7506
7507 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7508
7509 * progmodes/ruby-mode.el: Clean up keybindings.
7510 (ruby-mode-map): Don't bind ruby-electric-brace,
7511 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7512 backward-kill-word, reindent-then-newline-and-indent.
7513 (ruby-mark-defun): Remove.
7514 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7515 (ruby-mode): Set local beginning-of-defun-function and
7516 end-of-defun-function values.
7517
7518 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7519
7520 * window.el (temp-buffer-window-setup-hook)
7521 (temp-buffer-window-show-hook): New hooks.
7522 (temp-buffer-window-setup, temp-buffer-window-show)
7523 (with-temp-buffer-window): New functions.
7524 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7525 (special-display-popup-frame): Make sure the window used shows BUFFER.
7526
7527 * help.el (temp-buffer-resize-mode): Fix doc-string.
7528 (resize-temp-buffer-window): New optional argument WINDOW.
7529
7530 * files.el (recover-file, save-buffers-kill-emacs):
7531 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7532
7533 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7536 remote definition of `default-directory', ensure we can connect.
7537
7538 2012-09-02 Juri Linkov <juri@jurta.org>
7539
7540 Toggle whitespace matching mode with M-s SPC.
7541 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7542
7543 * isearch.el (search-whitespace-regexp): Doc fix.
7544 Remove cons cell customization.
7545 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7546 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7547 New variables.
7548 (isearch-forward, isearch-forward-regexp): Doc fix.
7549 (isearch-toggle-lax-whitespace): New command.
7550 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7551 (re-search-forward-lax-whitespace)
7552 (re-search-backward-lax-whitespace): New functions.
7553 (isearch-whitespace-regexp): Remove function.
7554 (isearch-query-replace): Let-bind replace-search-function and
7555 replace-re-search-function.
7556 (isearch-occur): Let-bind search-spaces-regexp according to the
7557 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7558 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7559 condition for C-q SPC.
7560 (isearch-search-fun-default): Use new functions mentioned above.
7561 (isearch-search-forward, isearch-search-backward): Remove functions.
7562 (isearch-search): Don't let-bind search-spaces-regexp.
7563 (isearch-lazy-highlight-space-regexp): Remove variable.
7564 (isearch-lazy-highlight-lax-whitespace)
7565 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7566 (isearch-lazy-highlight-new-loop): Use them.
7567 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7568
7569 2012-09-02 Chong Yidong <cyd@gnu.org>
7570
7571 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7572
7573 2012-09-02 Glenn Morris <rgm@gnu.org>
7574
7575 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7576
7577 2012-09-01 Glenn Morris <rgm@gnu.org>
7578
7579 * term.el: Tidy up menu definitions.
7580 (term-mode-map): Use easymenu for In/Out, Complete menus.
7581 (term-pager-break-map): Initialize in the defvar.
7582 (term-terminal-menu, term-signals-menu): Define with easymenu.
7583 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7584 (term-pager-menu): New, extracted from term-process-pager.
7585 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7586 (term-update-mode-line): Propertize line/char and page items.
7587 (term-process-pager): Move keymap initialization elsewhere.
7588
7589 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7590
7591 * window.el (switch-to-prev-buffer): Handle additional values of
7592 BURY-OR-KILL argument. Don't switch in minibuffer window.
7593 (switch-to-next-buffer): Don't switch in minibuffer window.
7594 (quit-restore-window): New function based on quit-window.
7595 Handle additional values of former KILL argument.
7596 (quit-window): Call quit-restore-window with appropriate
7597 interpretation of KILL argument.
7598 (display-buffer-below-selected): New buffer display action
7599 function.
7600
7601 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * minibuffer.el (completion-at-point-functions): Complete docstring
7604 (bug#12254).
7605
7606 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7607
7608 Better seed support for (random).
7609 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7610 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7611 * play/mpuz.el, play/tetris.el, play/zone.el:
7612 * calc/calc-comb.el (math-init-random-base):
7613 * play/blackbox.el (bb-init-board):
7614 * play/life.el (life):
7615 * server.el (server-use-tcp):
7616 * type-break.el (type-break):
7617 Remove unnecessary call to (random t).
7618 * net/sasl.el (sasl-unique-id-function):
7619 Change (random t) to (random), now that the latter is more random.
7620 * play/life.el (life-initialized): Remove no-longer-needed var.
7621
7622 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7623
7624 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7625 Consider frame's buffer predicate when choosing the buffer.
7626 (Bug#12081)
7627
7628 2012-08-30 Richard Stallman <rms@gnu.org>
7629
7630 * simple.el (special-mode-map): Delete binding for `z'.
7631
7632 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 * progmodes/compile.el (compilation-always-kill): Doc fix.
7635
7636 2012-08-30 Chong Yidong <cyd@gnu.org>
7637
7638 * window.el (display-buffer-reuse-frames): Make the obsolescence
7639 message more informative.
7640
7641 2012-08-30 Glenn Morris <rgm@gnu.org>
7642
7643 * paren.el (show-paren-delay):
7644 Add a :set function. Doc fix. (Bug#12297)
7645
7646 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7647
7648 * progmodes/compile.el (compilation-always-kill): New var.
7649 (compilation-start): Use it.
7650
7651 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7654 * files.el (read-only-mode): Move to simple.el.
7655
7656 * files.el (read-only-mode): New minor mode.
7657 (toggle-read-only): Use it and mark obsolete.
7658 (find-file--read-only):
7659 * vc/vc.el (vc-next-action, vc-checkout):
7660 * vc/vc-cvs.el (vc-cvs-checkout):
7661 * obsolete/vc-mcvs.el (vc-mcvs-update):
7662 * ffap.el (ffap--toggle-read-only): Update callers.
7663
7664 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7665
7666 * eshell/esh-ext.el (eshell-external-command): Do not examine
7667 remote shell scripts.
7668 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7669
7670 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7671 "/usr/local/sbin".
7672
7673 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7676
7677 2012-08-28 Leo Liu <sdl.web@gmail.com>
7678
7679 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7680 completion-at-point. (Bug#12220)
7681
7682 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7683
7684 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7685
7686 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7689 be buffer-local; add delete-trailing-whitespace (bug#12259).
7690
7691 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7692
7693 * progmodes/hideif.el (hif-compress-define-list):
7694 Fix typo. (Bug#11951)
7695
7696 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7697
7698 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7699 buffer local setting.
7700
7701 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7702 rcirc-encode-coding-system.
7703
7704 2012-08-28 Leo Liu <sdl.web@gmail.com>
7705
7706 * net/rcirc.el (rcirc-split-message): New function.
7707 (rcirc-send-message): Use it. (Bug#12051)
7708
7709 2012-08-28 Juri Linkov <juri@jurta.org>
7710
7711 * info.el (Info-fontify-node): Hide empty lines at the end of
7712 the node. (Bug#12272)
7713
7714 2012-08-27 Drew Adams <drew.adams@oracle.com>
7715
7716 * dired.el (dired-pop-to-buffer): Make window start at beginning
7717 of buffer (Bug#12281).
7718
7719 2012-08-26 Chong Yidong <cyd@gnu.org>
7720
7721 * window.el (special-display-regexps, special-display-frame-alist)
7722 (special-display-buffer-names, special-display-function)
7723 (display-buffer-reuse-frames): Mark as obsolete.
7724
7725 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7726
7727 * help.el (help-print-return-message): Don't treat
7728 display-buffer-reuse-frames specially.
7729
7730 2012-08-26 Chong Yidong <cyd@gnu.org>
7731
7732 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7733 New variable, replacing gdb-frame-parameters.
7734 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7735 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7736 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7737 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7738 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7739 the functions directly with gdb-display-buffer-other-frame-action.
7740 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7741 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7742 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7743 (gdb-display-registers-buffer): Define directly.
7744 (def-gdb-display-buffer): Macro deleted.
7745 (gdb-display-buffer): Remove second and third args, callers don't
7746 use them. Defer to the default display-buffer behavior, apart
7747 from making windows dedicated.
7748 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7749
7750 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7751
7752 * window.el (display-buffer-pop-up-frame): Handle a
7753 pop-up-frame-parameters alist entry.
7754 (display-buffer): Document it.
7755
7756 2012-08-26 Chong Yidong <cyd@gnu.org>
7757
7758 * isearch.el (search-whitespace-regexp): Make string and nil
7759 values apply to both ordinary and regexp search. Allow a cons
7760 cell value to distinguish between the two.
7761 (isearch-whitespace-regexp, isearch-search-forward)
7762 (isearch-search-backward): New functions.
7763 (isearch-occur, isearch-search-fun-default, isearch-search)
7764 (isearch-lazy-highlight-new-loop): Use them.
7765 (isearch-forward, isearch-forward-regexp): Doc fix.
7766
7767 2012-08-26 Chong Yidong <cyd@gnu.org>
7768
7769 * faces.el (help-argument-name): Always inherit from italic
7770 (Bug#12213).
7771
7772 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7773
7774 * window.el (window--even-window-heights): Even heights when
7775 WINDOW and the selected window form a vertical combination.
7776 (display-buffer-use-some-window): Provide that window used gets
7777 sized back by quit-window. (Bug#11880) and (Bug#12091)
7778
7779 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7780
7781 Fix file time stamp problem with bzr and CVS (Bug#12001).
7782 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7783 in the file's time stamp, since the version control system loses
7784 that information.
7785
7786 2012-08-22 Juri Linkov <juri@jurta.org>
7787
7788 * info.el (Info-fontify-node): Hide the suffix of the
7789 Info file name in the header line. (Bug#12187)
7790
7791 2012-08-22 Glenn Morris <rgm@gnu.org>
7792
7793 * calendar/cal-tex.el (cal-tex-weekly-common):
7794 Restore leading blank page.
7795
7796 2012-08-22 Le Wang <l26wang@gmail.com>
7797
7798 * misc.el (forward-to-word, backward-to-word): Activate or extend
7799 the region under `shift-select-mode'. (Bug#12231)
7800
7801 2012-08-22 Bastien Guerry <bzg@gnu.org>
7802
7803 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7804 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7805 gives details on why the space is never needed.
7806
7807 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7808
7809 * window.el (walk-window-tree, window-with-parameter):
7810 New optional argument MINIBUF to control whether these functions
7811 should run on the minibuffer window.
7812 (window-at-side-list): Don't operate on minibuffer window.
7813 (window-in-direction): Simplify and rewrite doc-string.
7814 (window--size-ignore): Rename to window--size-ignore-p.
7815 Update callers.
7816 (display-buffer-in-atom-window, window--major-non-side-window)
7817 (window--major-side-window, display-buffer-in-major-side-window)
7818 (delete-side-window, display-buffer-in-side-window):
7819 New functions.
7820 (window--side-check, window-deletable-p, delete-window)
7821 (delete-other-windows, split-window): Handle side windows and
7822 atomic windows appropriately.
7823 (window--display-buffer): Call display-buffer-record-window also
7824 when the window buffer did not change.
7825
7826 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7827
7828 * help-fns.el (help-fns--key-bindings):
7829 Abbreviate non-symbol remap targets. (Bug#12174)
7830
7831 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7832
7833 * dired.el (dired-mark-remembered): Don't clobber point.
7834 (Bug#11795)
7835
7836 2012-08-22 Glenn Morris <rgm@gnu.org>
7837
7838 * progmodes/bug-reference.el (bug-reference): New custom group.
7839 (bug-reference-bug-regexp): Make it a defcustom.
7840
7841 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7842
7843 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7844 (js-paren-indent-offset, js-square-indent-offset)
7845 (js-curly-indent-offset): Add :safe (Bug#12257).
7846
7847 2012-08-22 Edward O'Connor <hober0@gmail.com>
7848
7849 * json.el (json-key-format): Add error properties.
7850 (json-encode-key): New function.
7851 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7852 Use json-encode-key.
7853
7854 2012-08-22 Glenn Morris <rgm@gnu.org>
7855
7856 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7857 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7858 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7859 Update for above change.
7860
7861 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7862
7863 * cus-face.el (custom-face-attributes): Fix customize type for the
7864 :underline attribute. (Bug#11805)
7865
7866 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (window-point-1, set-window-point-1): Remove.
7869 (window-in-direction, record-window-buffer)
7870 (set-window-buffer-start-and-point, split-window-below)
7871 (window--state-get-1, display-buffer-record-window):
7872 Replace calls to window-point-1 and set-window-point-1 by calls to
7873 window-point and set-window-point respectively.
7874
7875 2012-08-21 Glenn Morris <rgm@gnu.org>
7876
7877 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7878 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7879 Use it.
7880
7881 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7882 (cal-tex-shortday): New function.
7883 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7884 (cal-tex-cursor-filofax-daily): Use the above.
7885
7886 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7887 New functions.
7888 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7889 (cal-tex-cursor-filofax-week): Use them.
7890
7891 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7892 New constants.
7893 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7894 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7895
7896 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7897 (cal-tex-end-document): Don't rely on buffer name.
7898
7899 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7900 Use cal-tex-vspace.
7901 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7902 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7903 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7904 Use cal-tex-arg.
7905
7906 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7907 (cal-tex-cursor-week, cal-tex-cursor-week2)
7908 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7909 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7910 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7911 (cal-tex-insert-preamble, cal-tex-b-document)
7912 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7913 Improve cal-tex-cmd usage.
7914
7915 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7916 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7917 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7918 (cal-tex-weekly-paper): New function.
7919 (cal-tex-cursor-week, cal-tex-cursor-week2)
7920 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7921 (cal-tex-cursor-day): Use it.
7922
7923 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7924 (cal-tex-cursor-filofax-week): Remove leading blank page.
7925
7926 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7927 Add autoload cookie. For now at least, don't use color, since
7928 no other cal-tex function does.
7929
7930 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7931 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7932 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7933
7934 2012-08-21 Juri Linkov <juri@jurta.org>
7935
7936 * info.el (Info-file-attributes): New variable.
7937 (info-insert-file-contents): Add file attributes to
7938 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7939 `Info-toc-nodes' when previous modtime of the Info file is less
7940 than new modtime.
7941 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7942 of info.el. (Bug#12230)
7943
7944 2012-08-20 Glenn Morris <rgm@gnu.org>
7945
7946 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7947 * calendar/holidays.el (calendar-holiday-list):
7948 Report errors with display-warning rather than beep'n'sleep.
7949
7950 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7951
7952 * net/tramp.el (tramp-accept-process-output): Accept only output
7953 from PROC. Otherwise, process filters and sentinels might be
7954 confused. (Bug#12145)
7955
7956 2012-08-20 Chong Yidong <cyd@gnu.org>
7957
7958 * descr-text.el (describe-text-properties-1): Use overlays-in to
7959 report on empty overlays (Bug#3322).
7960
7961 2012-08-20 Glenn Morris <rgm@gnu.org>
7962
7963 * mail/rmailout.el (rmail-output-read-file-name):
7964 Trap and report errors in rmail-output-file-alist elements.
7965
7966 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7967 since most non-font-lock faces are not also variables).
7968
7969 2012-08-20 Edward Reingold <reingold@iit.edu>
7970
7971 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7972 New function. (Bug12160)
7973
7974 2012-08-19 Glenn Morris <rgm@gnu.org>
7975
7976 * mail/rmailout.el (rmail-output-read-file-name):
7977 Fix previous change (when the alist is nil or does not match).
7978
7979 2012-08-19 Chong Yidong <cyd@gnu.org>
7980
7981 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7982 (Bug#12228).
7983
7984 2012-08-18 Chong Yidong <cyd@gnu.org>
7985
7986 * simple.el (yank-handled-properties): New defcustom.
7987 (yank-excluded-properties): Add font-lock-face and category.
7988 (yank): Doc fix.
7989
7990 * subr.el (remove-yank-excluded-properties):
7991 Obey yank-handled-properties. The special handling of font-lock-face
7992 and category is now done this way, instead of being hard-coded.
7993 (insert-for-yank-1): Remove font-lock-face handling.
7994 (yank-handle-font-lock-face-property)
7995 (yank-handle-category-property): New function.
7996
7997 2012-08-17 Glenn Morris <rgm@gnu.org>
7998
7999 * mail/rmailout.el (rmail-output-read-file-name):
8000 Check rmail-output-file-alist against the full message body
8001 in the correct rmail buffer. (Bug#12214)
8002
8003 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8004
8005 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8006 Eliminate superfluous prompt. (Bug#12203)
8007
8008 2012-08-17 Chong Yidong <cyd@gnu.org>
8009
8010 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8011 font spec, set the font directly (Bug#3228).
8012
8013 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8014
8015 * window.el (delete-window): Fix last fix.
8016
8017 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8018
8019 * window.el (window-valid-p): Move to window.c.
8020 (window-child, window-child-count, window-last-child)
8021 (window-normalize-window, window-combined-p)
8022 (window-combinations, window-atom-root, window-min-size)
8023 (window-sizable, window-sizable-p, window-size-fixed-p)
8024 (window-min-delta, window-max-delta, window--resizable)
8025 (window--resizable-p, window-resizable, window-total-size)
8026 (window-full-height-p, window-full-width-p, window-body-size)
8027 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8028 (minimize-window, window-deletable-p, delete-window)
8029 (delete-other-windows, set-window-buffer-start-and-point)
8030 (next-buffer, previous-buffer, split-window, balance-windows-2)
8031 (set-window-text-height, window-buffer-height)
8032 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8033 (truncated-partial-width-window-p): Minor code adjustments.
8034 In doc-strings state whether the argument window has to denote a
8035 live, valid or any window.
8036
8037 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8038
8039 * progmodes/subword.el (subword-forward-function)
8040 (subword-backward-function, subword-forward-regexp)
8041 (subword-backward-regexp): New variables.
8042 (subword-forward, subword-forward-internal, subword-backward-internal):
8043 Use new variables, eg so that different "word" definitions
8044 can be easily used. (Bug#11411)
8045
8046 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8049 for composite selectors.
8050 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8051 operation just because we can't find a previous revision.
8052
8053 2012-08-15 Chong Yidong <cyd@gnu.org>
8054
8055 * frame.el (set-frame-font): Accept font objects.
8056
8057 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8060
8061 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8062
8063 * man.el (Man-overstrike-face, Man-underline-face)
8064 (Man-reverse-face): Remove variables.
8065 (Man-overstrike, Man-underline, Man-reverse): New faces.
8066 (Man-fontify-manpage): Use them instead of the variables.
8067 (Man-cleanup-manpage): Comment change.
8068 (Man-ansi-color-map): New variable.
8069 (Man-fontify-manpage): Use it.
8070 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8071
8072 Implement ANSI SGR parameters 22-27 (bug#12146).
8073 * ansi-color.el (ansi-colors): Doc fix.
8074 (ansi-color-context, ansi-color-context-region): Doc fix.
8075 (ansi-color--find-face): New function.
8076 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8077 Rename the local variable `face' to `codes' since it is now a list of
8078 ansi codes. Doc fix.
8079 (ansi-color-get-face): Remove.
8080 (ansi-color-parse-sequence): New function, derived from
8081 ansi-color-get-face.
8082 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8083 codes 22-27.
8084
8085 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * subr.el (read-passwd): Allow use from a minibuffer.
8088
8089 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8090
8091 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8092 inside comments and strings as identifiers.
8093
8094 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8095 expression to evaluate. This allows to evaluate expressions with
8096 embedded whitespace.
8097 (gud-tooltip-tips): Add a blank before the newline in the
8098 message-box text, for the benefit of message-box emulation on
8099 MS-Windows.
8100
8101 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8102 messages from GDB, pop them up in a tooltip to give feedback to
8103 user.
8104 (gdb-tooltip-print-1): Quote the expression to evaluate.
8105 This allows to evaluate expressions with embedded whitespace.
8106 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8107 if the TTY name is nil or empty (which happens when communicating
8108 with the inferior via pipes, e.g. on MS-Windows).
8109 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8110 don't send that to the GUD buffer.
8111
8112 2012-08-14 Glenn Morris <rgm@gnu.org>
8113
8114 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8115 Optimize away setq-default with no args, as for setq. (Bug#12195)
8116
8117 2012-08-14 Chong Yidong <cyd@gnu.org>
8118
8119 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8120
8121 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8122 (Bug#12085).
8123
8124 2012-08-14 Glenn Morris <rgm@gnu.org>
8125
8126 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8127
8128 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8129
8130 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8131 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8132 Use cached shell name.
8133
8134 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8135
8136 * progmodes/python.el (python-shell-send-string):
8137 (python-shell-send-setup-code): Do not use `format' with `message'.
8138
8139 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8140
8141 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8142 (ruby-percent-literal-beg-re): New constant.
8143 (ruby-syntax-general-delimiters-goto-beg): Rename to
8144 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8145 (ruby-syntax-propertize-general-delimiters): Rename to
8146 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8147 popular term. Adjust comments everywhere.
8148 (ruby-syntax-propertize-percent-literal): Only propertize when not
8149 inside a simple string or comment. When the literal is unclosed,
8150 leave the text after it unpropertized.
8151 (ruby-syntax-methods-before-regexp): New constant.
8152 (ruby-syntax-propertize-function): Use it to recognize regexps.
8153 Don't look at the text after regexp, just use the whitelist.
8154
8155 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8156
8157 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8158 non-nil always load the compiled file if it exists. (Bug#12197)
8159
8160 2012-08-14 Chong Yidong <cyd@gnu.org>
8161
8162 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8163 (hi-lock-set-pattern): When deciding whether to use font lock or
8164 overlays, look at font-lock-mode instead of font-lock-fontified
8165 (Bug#12168).
8166 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8167 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8168
8169 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8170
8171 * subr.el (internal--after-with-selected-window): Fix typo
8172 (Bug#12193).
8173
8174 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8175
8176 Use `completion-table-dynamic' for completion functions.
8177 * progmodes/python.el
8178 (python-shell-completion--do-completion-at-point)
8179 (python-shell-completion--get-completions):
8180 Remove functions.
8181 (python-shell-completion-complete-at-point): New function.
8182 (python-completion-complete-at-point): Use it.
8183
8184 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8185
8186 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8187 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8188
8189 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * subr.el (function-get): Refine `autoload' arg so it can also
8192 autoload functions for gv.el (bug#12191).
8193 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8194 autoloads macros.
8195
8196 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8197 Prefer pcase-let over destructuring-bind.
8198 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8199 Also, remove whitespace as we go, rather than after accumulating the
8200 various places.
8201
8202 * subr.el (internal--before-with-selected-window)
8203 (internal--after-with-selected-window): Fix typo seleted->selected.
8204 (with-selected-window): Adjust callers.
8205 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8206
8207 2012-08-13 Bastien Guerry <bzg@gnu.org>
8208
8209 * window.el (special-display-popup-frame): Minor docstring
8210 enhancement. (Bug#12172)
8211
8212 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8213
8214 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8215 type 1-6.
8216 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8217 extended headers.
8218
8219 * files.el (hack-local-variables-filter): Remove useless eval.
8220
8221 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8222
8223 * subr.el (with-selected-window): Fix last change.
8224
8225 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * subr.el (internal--before-with-seleted-window)
8228 (internal--after-with-seleted-window): New functions.
8229 (with-selected-window): Use them, to replace dependency on
8230 tty-top-frame.
8231
8232 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8233
8234 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8235 binding for `newline'.
8236 (ruby-move-to-block): When moving backward, stop at block opening,
8237 not indentation.
8238 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8239 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8240 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8241 `ruby-toggle-block'.
8242
8243 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 * ibuffer.el (ibuffer-do-toggle-read-only):
8246 * dired.el (dired-toggle-read-only):
8247 * buff-menu.el (Buffer-menu-toggle-read-only):
8248 * bindings.el (mode-line-toggle-read-only):
8249 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8250
8251 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8252
8253 * descr-text.el (describe-char): Put the overlays over the
8254 "displayed as" character.
8255
8256 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8257
8258 * calc/calc-units.el (math-default-units-table): Give an
8259 initial value.
8260 (math-put-default-units): Add options to put composite units and
8261 unit systems in the default units table.
8262 (calc-convert-units): Send composite units to
8263 `math-put-default-units' when appropriate.
8264
8265 2012-08-11 Glenn Morris <rgm@gnu.org>
8266
8267 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8268
8269 * tutorial.el (help-with-tutorial):
8270 * emacs-lisp/copyright.el (copyright-update-directory):
8271 * emacs-lisp/autoload.el (autoload-find-generated-file)
8272 (autoload-find-file): Disable local eval: (for insurance).
8273
8274 * files.el (hack-local-variables-filter): If an eval: form is not
8275 known to be safe, and enable-local-variables is :safe, then ignore
8276 the form totally, as is done for non-eval forms. (Bug#12155)
8277 This is CVE-2012-3479.
8278
8279 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8282 (rx-form): Simplify.
8283
8284 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8285
8286 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8287 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8288 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8289 (ruby-syntax-propertize-function): Adjust for changes in
8290 `ruby-syntax-propertize-heredoc'.
8291
8292 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8293
8294 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8295 binding (use `M-;' instead).
8296 (ruby-singleton-class-p): New function.
8297 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8298
8299 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8302
8303 2012-08-10 Chong Yidong <cyd@gnu.org>
8304
8305 * progmodes/python.el (python-shell-get-process-name): Don't mess
8306 with same-window-buffer-names.
8307
8308 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8309 (eshell-remove-from-window-buffer-names): Make obsolete.
8310 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8311 (eshell): Just use pop-to-buffer-same-window instead.
8312
8313 2012-08-10 Chong Yidong <cyd@gnu.org>
8314
8315 * bindings.el: Bind M-= back to count-words-region.
8316
8317 * simple.el (count-words-region): Accept a prefix arg for acting
8318 on the entire buffer.
8319 (count-words--buffer-message): New helper function.
8320
8321 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8324 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8325 (event-start, event-end): Use posn-at-point to return a more
8326 informative posn.
8327 (posnp): New function.
8328 * mouse.el (popup-menu-normalize-position): Use it.
8329
8330 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8331
8332 * mouse.el (popup-menu-normalize-position): New function.
8333 (popup-menu): Use `popup-menu-normalize-position' to normalize
8334 the form for POSITION argument.
8335
8336 * term/x-win.el (x-menu-bar-open):
8337 Use the value returend from (posn-at-point) as position
8338 passed to `popup-menu'.
8339
8340 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8341
8342 * calc/calccomp.el (math-compose-expr): Add extra argument
8343 indicating that parentheses should be put around products in
8344 denominators. Give multiplication precedence over division during
8345 composition.
8346
8347 2012-08-09 Chong Yidong <cyd@gnu.org>
8348
8349 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8350 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8351 (Man-untabify-command, manual-program): Convert to defcustom
8352 (Bug#10429).
8353
8354 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8355
8356 * descr-text.el (describe-char): Don't insert extra newlines
8357 (Bug#10127).
8358
8359 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8360 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8361
8362 * align.el (align-region): Delete temporary markers (Bug#10047).
8363 Plus some code cleanups.
8364
8365 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8366
8367 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8368 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8369 (python-shell-internal-last-output): Use make-local-variable
8370 instead of make-variable-buffer-local.
8371
8372 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8373
8374 * progmodes/python.el: Enhancements to forward-sexp.
8375 (python-nav-forward-sexp): Rename from
8376 python-nav-forward-sexp-function.
8377 (python-nav--forward-sexp, python-nav--backward-sexp):
8378 New functions.
8379
8380 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8381
8382 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8383 modes and simplification modes.
8384
8385 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * delsel.el (delete-selection-pre-hook): Don't propagate the
8388 file-supersession signals (bug#12161).
8389
8390 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8393 (cl-map-extents): Add compatibility aliases (bug#12135).
8394
8395 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8398 tests by `ignore-error'.
8399 (tramp-find-shell): Open also a new shell, when cache is already
8400 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8401
8402 2012-08-08 Juri Linkov <juri@jurta.org>
8403
8404 * bookmark.el: Add `defaults' property to the bookmark record.
8405 (bookmark-current-buffer): Doc fix.
8406 (bookmark-make-record): Add `defaults' property with default values
8407 to the bookmark record.
8408 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8409 with `bookmark-insert-current-bookmark'.
8410 (bookmark-set): Get `defaults' property from the bookmark record
8411 and use it in `read-from-minibuffer'.
8412 (bookmark-insert-current-bookmark): Remove function.
8413
8414 * info.el (Info-bookmark-make-record): Add `defaults' property
8415 with values of canonical Info node name, the current Info file
8416 name and the current Info node name. (Bug#12107)
8417
8418 2012-08-08 Juri Linkov <juri@jurta.org>
8419
8420 * files.el (basic-save-buffer): Use `buffer-name' as the default
8421 of `read-file-name' when buffer is not visiting a file (bug#12128).
8422
8423 2012-08-08 Juri Linkov <juri@jurta.org>
8424
8425 * info.el (Info-isearch-search): Doc fix.
8426 (Info-search): Change search-failed message from "initial node" to
8427 "end of node" (bug#12078).
8428 (Info-isearch-search): Change `isearch-string-state' to
8429 `isearch--state-string'.
8430
8431 2012-08-08 Glenn Morris <rgm@gnu.org>
8432
8433 * language/persian.el: Remove file.
8434 * language/misc-lang.el: Move unique part of persian.el here.
8435 * loadup.el: Remove language/persian.
8436
8437 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8438
8439 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8440
8441 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8442
8443 * progmodes/python.el: Fix defsubst warning.
8444 (python-syntax-context) Rename from python-info-ppss-context.
8445 (python-syntax-context-type): Rename from
8446 python-info-ppss-context-type.
8447 (python-syntax-comment-or-string-p): Rename from
8448 python-info-ppss-comment-or-string-p.
8449
8450 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8451
8452 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8453
8454 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8455
8456 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8457 a defcustom that is quoted with backquote.
8458
8459 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8460 Fix handling of interactive spec when the body uses return.
8461 (math-do-arg-check, math-define-function-body): Use backquote forms.
8462 * calc/calc-ext.el (math-defcache): Likewise.
8463 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8464 * allout.el (allout-new-exposure): Likewise.
8465 * calc/calcalg2.el (math-tracing-integral): Likewise.
8466 * info.el (Info-last-menu-item): Likewise.
8467 * emulation/vip.el (vip-loop): Likewise.
8468 * textmodes/artist.el (artist-funcall): Likewise.
8469 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8470 Construct menu-item directly.
8471
8472 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8473 Don't declare.
8474
8475 2012-08-07 Chong Yidong <cyd@gnu.org>
8476
8477 * simple.el (deactivate-mark): Preserve text properties when
8478 saving the primary selection (Bug#8384).
8479
8480 2012-08-07 Kevin Ryde <user42@zip.com.au>
8481
8482 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8483 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8484 and continue processing (Bug#12110).
8485
8486 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8489 syntax-propertize-function (bug#10095).
8490
8491 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8494 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8495 describe-function-1.
8496 (describe-function-1): Use them. Move compiler macro after sig.
8497 (help-fns--compiler-macro): Use function-get. Assume we're already in
8498 standard-output. Adjust layout to new call order.
8499
8500 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8501 re-binding a symbol that has a symbol-macro (bug#12119).
8502
8503 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8504
8505 * language/persian.el: New file. (Bug#11812)
8506 * loadup.el: Add language/persian.el.
8507
8508 2012-08-06 Chong Yidong <cyd@gnu.org>
8509
8510 * window.el (window--maybe-raise-frame): New function.
8511 (window--display-buffer): Split off from here.
8512 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8513 (display-buffer-pop-up-window, display-buffer-use-some-window):
8514 Obey an inhibit-switch-frame action alist entry.
8515 (display-buffer): Update doc.
8516
8517 * replace.el (occur-after-change-function): Avoid losing focus by
8518 using the inhibit-switch-frame display parameter (Bug#12139).
8519
8520 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8521
8522 Make internal shell process buffer names start with space.
8523 * progmodes/python.el (python-shell-make-comint): Add optional
8524 argument INTERNAL.
8525 (run-python-internal): Use it.
8526 (python-shell-internal-get-or-create-process): Check for new
8527 internal buffer names.
8528
8529 2012-08-06 Glenn Morris <rgm@gnu.org>
8530
8531 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8532 Do less getting and setting of environment variables.
8533
8534 2012-08-05 Chong Yidong <cyd@gnu.org>
8535
8536 * proced.el (proced): Add substitution string to docstring to
8537 trigger autoloading of the proced library on C-h f (Bug#1768).
8538
8539 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8540 Don't show defvars which have no second argument (Bug#8638).
8541
8542 * imenu.el (imenu-generic-expression): Move documentation here
8543 from imenu--generic-function.
8544 (imenu--generic-function): Refer to imenu-generic-expression.
8545
8546 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8547
8548 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8549 indentation declaration.
8550 (viper-loop): Add indentation declaration (Bug#7025).
8551
8552 2012-08-05 Chong Yidong <cyd@gnu.org>
8553
8554 * help-fns.el (describe-variable): Add hyperlink for
8555 directory-local variables files. Improve buffer-local and
8556 permanent-local reporting; suggested by MON KEY (Bug#6644).
8557
8558 * help-mode.el (help-dir-local-var-def): New button type.
8559
8560 * files.el (kill-buffer-hook): Provide a defvar.
8561
8562 2012-08-05 Glenn Morris <rgm@gnu.org>
8563
8564 * eshell/esh-ext.el (eshell/addpath):
8565 Also update eshell-path-env. (Bug#12013)
8566
8567 2012-08-05 Chong Yidong <cyd@gnu.org>
8568
8569 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8570
8571 * fringe.el (fringe-styles): Add docstring.
8572 (fringe--check-mode): New function.
8573 (set-fringe-mode, set-fringe-style): Use it.
8574 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8575
8576 * files.el (set-auto-mode): Fix invalid setq call.
8577
8578 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * isearch.el: Misc simplification; use defstruct.
8581 (isearch-mode-map): Dense maps now work like sparse ones.
8582 (isearch--state): New defstruct.
8583 (isearch-string-state, isearch-message-state, isearch-point-state)
8584 (isearch-success-state, isearch-forward-state)
8585 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8586 (isearch-wrapped-state, isearch-barrier-state)
8587 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8588 replaced by defstruct's accessors.
8589 (isearch--set-state): Rename from isearch-top-state and change
8590 calling convention.
8591 (isearch-push-state): Use new isearch--get-state.
8592 (isearch-toggle-word): Disable regexp when enabling word.
8593 (isearch-message-prefix): Remove unused arg _c-q-hack.
8594 (isearch-message-suffix): Remove unused arg _ellipsis.
8595
8596 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8597
8598 * simple.el (list-processes--refresh): For a server use :host or
8599 :local as the address.
8600 (list-processes): Doc fix.
8601
8602 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8603
8604 * lisp/mpc.el: Support password in host argument.
8605 (mpc--proc-connect): Parse and use new password element.
8606 Set mpc-proc variable instead of returning process.
8607 (mpc-proc): Adjust accordingly.
8608
8609 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8610
8611 * whitespace.el (whitespace-display-mappings): Use Unicode
8612 codepoints, instead of emacs-mule codepoints. See
8613 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8614 for the details.
8615
8616 * files.el (file-truename): Don't skip symlink-chasing part on
8617 windows-nt. Incorporate the resolution of 8+3 short aliases on
8618 Windows into the loop that recursively chases symlinks.
8619 Compare directory and its parent case-insensitively on MS-Windows and
8620 MS-DOS.
8621
8622 2012-08-03 Chong Yidong <cyd@gnu.org>
8623
8624 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8625
8626 * sort.el (sort-regexp-fields): Doc fix.
8627
8628 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8629
8630 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8631 labels regex position point at the expected place.
8632
8633 2012-08-03 MON KEY <monkey@sandpframing.com>
8634
8635 * net/imap.el (imap-interactive-login, imap-authenticate)
8636 (imap-mailbox-lsub, imap-mailbox-list)
8637 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8638 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8639 (imap-parse-response): Doc fix.
8640
8641 2012-08-03 João Távora <joaotavora@gmail.com>
8642
8643 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8644 if sexp scanning does not move point (Bug#5734).
8645
8646 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8647
8648 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8649 Add listings, minted, and ctable packages.
8650 (reftex-label-alist-builtin): Move listings, minted, and ctable
8651 entries before LaTeX.
8652 (reftex-label-alist): Docfix.
8653
8654 2012-08-02 Bastien Guerry <bzg@gnu.org>
8655
8656 * replace.el (occur): Fix docstring (bug#12122).
8657
8658 2012-08-02 Glenn Morris <rgm@gnu.org>
8659
8660 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8661
8662 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8663
8664 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8665 * international/mule-cmds.el: Create
8666 inactivate-current-input-method-function as an obsolete alias for
8667 deactivate-current-input-method-function. See Katsumi Yamaoka in
8668 <http://bugs.gnu.org/10150#46>.
8669
8670 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8671
8672 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8673 of nested `if's.
8674
8675 2012-08-01 Glenn Morris <rgm@gnu.org>
8676
8677 * progmodes/autoconf.el (autoconf-definition-regexp):
8678 Add AH_TEMPLATE, adjust submatch numbering.
8679 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8680 (autoconf-current-defun-function): Update for above change.
8681 (autoconf-current-defun-function): First skip to end of current word.
8682
8683 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8684
8685 * calendar/cal-html.el (cal-html-insert-agenda-days):
8686 Fix typo. (Bug#12018)
8687
8688 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8689
8690 Shell processes: enhancements to startup and CEDET compatibility.
8691 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8692 (python-shell-make-comint): accept-process-output at startup.
8693 (run-python-internal): Set inferior-python-mode-hook to nil.
8694 (python-shell-internal-get-or-create-process): call sit-for.
8695 (python-preoutput-result): Add obsolete alias.
8696 (python-shell-internal-send-string): Use it.
8697 (python-shell-send-setup-code): Remove call to
8698 accept-process-output.
8699
8700 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8701
8702 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8703 (Bug#12108)
8704
8705 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8706
8707 * calc-mode.el (calc-basic-simplification-mode): Rename from
8708 `calc-limited-simplification-mode'.
8709 (calc-alg-simplification-mode): New function.
8710 (calc-set-simplify-mode): Adjust message.
8711
8712 * calc.el (calc-set-mode-line): Adjust mode line display for
8713 basic simplification mode.
8714
8715 * calc-help.el (calc-m-prefix-help): Update help message.
8716
8717 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8718 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8719
8720 2012-07-31 Bastien Guerry <bzg@gnu.org>
8721
8722 * man.el (man): Fix comment. (bug#12101)
8723
8724 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8725
8726 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8727 Don't return a non-nil value when no suitable buffer was found.
8728
8729 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8730
8731 * progmodes/python.el (run-python-internal): Disable font lock for
8732 internal shells.
8733
8734 2012-07-30 Stefan Merten <smerten@oekonux.de>
8735
8736 * textmodes/rst.el: Silence `checkdoc-ispell'.
8737 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8738 (rst-official-version, rst-official-cvs-rev)
8739 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8740 (rst-mode-map): New key binding.
8741
8742 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8743
8744 Update .PHONY listings in makefiles.
8745 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8746 autoloads, update-subdirs, updates, bzr-update, update-authors,
8747 compile-onefile, compile-calc, backup-compiled-files,
8748 compile-after-backup, compile-one-process, mh-autoloads,
8749 bootstrap-clean, distclean, maintainer-clean.
8750
8751 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8752
8753 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8754 (calc-set-mode-line): Don't display "AlgSimp ".
8755
8756 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8757 (calc-lim-simplify-mode): New function.
8758 (calc-set-simplify-mode): Default to 'alg.
8759 (calc-default-simplify-mode): Make algebraic simplifications
8760 the default.
8761
8762 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8763 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8764
8765 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8766 indicate new simplification modes.
8767
8768 * calc/README: Mention new default simplification mode.
8769
8770 * calc/calc.el (math-normalize-error): New variable.
8771 (math-normalize): Set `math-normalize-error' to t
8772 when there's an error.
8773
8774 * calc/calc-alg.el (math-simplify): Don't simplify when
8775 `math-normalize' returns an error.
8776
8777 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8778
8779 * international/mule-cmds.el (set-locale-environment): Revert last
8780 change, since display-graphic-p returns nil when this function is
8781 called during startup. Instead...
8782
8783 * term/w32console.el (terminal-init-w32console): ...setup the
8784 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8785
8786 2012-07-29 Juri Linkov <juri@jurta.org>
8787
8788 * simple.el (goto-line): Don't display default line number in the
8789 prompt because it should be displayed by `read-number' (bug#9952).
8790 Add the current line number to the defaults of `goto-line' to
8791 allow its easier modification by users with `M-n' (bug#9201).
8792
8793 * subr.el (read-number): Support multiple default values like in
8794 other minibuffer reading functions. Replace `read' with
8795 `string-to-number' for consistency with `number-to-string'.
8796
8797 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8798
8799 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8800 * emulation/viper-init.el (viper-deactivate-input-method-action):
8801 Rename from viper-inactivate-input-method-action.
8802 (viper-deactivate-input-method):
8803 Rename from viper-inactivate-input-method.
8804 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8805 * international/mule-cmds.el (deactivate-input-method):
8806 Rename from inactivate-input-method.
8807 Also run input-method-deactivate-hook.
8808 (deactivate-current-input-method-function):
8809 Rename from inactivate-current-input-method-function.
8810 (input-method-deactivate-hook): New hook.
8811 (input-method-inactivate-hook): Mark obsolete.
8812 (inactivate-input-method): Mark obsolete.
8813
8814 * international/quail.el (quail-activate):
8815 Also run quail-deactivate-hook.
8816 (quail-deactivate): Rename from quail-inactivate.
8817 * international/robin.el (robin-activate):
8818 Also run robin-deactivate-hook.
8819 (robin-deactivate): Rename from robin-inactivate.
8820
8821 2012-07-29 Chong Yidong <cyd@gnu.org>
8822
8823 * simple.el (indicate-copied-region): New function.
8824 (kill-ring-save): Split off from here.
8825
8826 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8827 (kill-rectangle): Set deactivate-mark to t on read-only error.
8828
8829 * register.el (copy-to-register, copy-rectangle-to-register):
8830 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8831 (append-to-register, prepend-to-register): Call indicate-copied-region.
8832
8833 2012-07-29 Juri Linkov <juri@jurta.org>
8834
8835 * simple.el (async-shell-command-buffer): New defcustom.
8836 (shell-command): Use it. (Bug#4719)
8837
8838 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8839
8840 * international/mule-cmds.el (set-locale-environment): In a
8841 console session on MS-Windows, set up keyboard and terminal
8842 encoding from the OEM codepage, not the ANSI codepage.
8843 (Bug#12055)
8844
8845 2012-07-28 Chong Yidong <cyd@gnu.org>
8846
8847 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8848 gdb-get-location.
8849
8850 2012-07-28 Leo Liu <sdl.web@gmail.com>
8851
8852 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8853 the alist (bug#12029).
8854
8855 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8856
8857 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8858 (compile-always, compile-first)
8859 ($(lisp)/calendar/cal-loaddefs.el)
8860 ($(lisp)/calendar/diary-loaddefs.el)
8861 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8862 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8863 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8864 instead of on update-subdirs.
8865 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8866
8867 2012-07-28 Chong Yidong <cyd@gnu.org>
8868
8869 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8870 directory if vc-deduce-backend returns nil (Bug#7350).
8871
8872 * simple.el (delete-trailing-lines): New option.
8873 (delete-trailing-whitespace): Obey it (Bug#11879).
8874
8875 2012-07-28 David Engster <deng@randomsample.de>
8876
8877 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8878 Explanation of new 'symbol-qnames feature in doc-strings.
8879 (xml-maybe-do-ns): Return expanded names as plain symbols if
8880 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8881 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8882
8883 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8884
8885 Consistent completion in inferior python with emacs -nw.
8886 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8887 binding in inferior-python-mode-map with "\t".
8888 (python-shell-completion-complete-at-point)
8889 (python-completion-complete-at-point): Remove interactive spec.
8890
8891 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8892
8893 * calc/calccomp.el (math-compose-expr): Undo previous change.
8894
8895 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8896
8897 * progmodes/python.el (python-mode-map): Add keybinding for
8898 run-python.
8899 (python-shell-make-comint): Fix pop-to-buffer call.
8900 (run-python): Autoload. New arg SHOW.
8901 (python-shell-get-or-create-process): Do not pop python process
8902 buffer.
8903
8904 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8905
8906 * notifications.el (notifications-on-action-signal)
8907 (notifications-on-closed-signal): Use also the bus address for the map.
8908 (notifications-notify, notifications-close-notification)
8909 (notifications-get-capabilities): Add optional argument BUS.
8910
8911 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8912
8913 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8914 Add support for the lstlisting and minted environments, and for the
8915 ctable macro.
8916 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8917 labels written in keyvals syntax.
8918
8919 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8920
8921 * calc/calccomp.el (math-compose-expr): Use parentheses when
8922 there is a product in the denominator of a fraction.
8923
8924 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8925
8926 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8927 ($(lisp)/calendar/diary-loaddefs.el)
8928 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8929 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8930 Fixes failures in parallel bootstrap because subdirs.el is being
8931 rewritten while the autoload files are built at the same time,
8932 which needs to load subdirs.el.
8933
8934 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8935
8936 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8937 (mouse-drag-line): Don't exit tracking when a switch-frame or
8938 switch-window event occurs (Bug#12006).
8939
8940 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * mouse.el (popup-menu): Fix last change.
8943
8944 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 Autoload from Lisp with more care. Follow aliases when looking for
8947 function properties.
8948 * subr.el (autoloadp): New function.
8949 (symbol-file): Use it.
8950 (function-get): New function.
8951 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8952 autoload-do-load.
8953 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8954 (lisp-indent-function):
8955 * emacs-lisp/gv.el (gv-get):
8956 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8957 * emacs-lisp/byte-opt.el (byte-optimize-form):
8958 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8959 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8960 Use function-get.
8961 * emacs-lisp/cl.el: Don't propagate function properties any more.
8962
8963 * speedbar.el (speedbar-add-localized-speedbar-support):
8964 * emacs-lisp/disass.el (disassemble-internal):
8965 * desktop.el (desktop-load-file):
8966 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8967 (describe-function-1):
8968 * emacs-lisp/find-func.el (find-function-noselect):
8969 * emacs-lisp/elp.el (elp-instrument-function):
8970 * emacs-lisp/advice.el (ad-has-proper-definition):
8971 * apropos.el (apropos-safe-documentation, apropos-macrop):
8972 * emacs-lisp/debug.el (debug-on-entry):
8973 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8974 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8975 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8976
8977 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8978
8979 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8980 function, not an obsolete variable (Bug#12046).
8981
8982 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8983
8984 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8985
8986 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8987
8988 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8989 window only if it is still live (Bug#12034).
8990
8991 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8992
8993 * subr.el (redirect-frame-focus): Add advertised calling
8994 convention (Bug#12030).
8995
8996 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8997
8998 Prefer typical American spelling for "acknowledgment".
8999 * vc/add-log.el (change-log-acknowledgment): Rename from
9000 change-log-acknowledgement, with an alias for the old name.
9001
9002 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9003
9004 * calc-alg.el (math-simplify-divide): Don't cross multiply
9005 in an equation when the lhs is a variable.
9006
9007 2012-07-24 Julien Danjou <julien@danjou.info>
9008
9009 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9010 Remove, unused.
9011
9012 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9013
9014 * startup.el (command-line): Don't display an empty user name in
9015 the error message about non-existent home directory, when
9016 init-file-user was set to an empty string. See
9017 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9018 for the details and context.
9019
9020 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9021
9022 * ses.el (ses-cell-formula-aset): New macro.
9023 (ses-cell-references-aset): New macro.
9024 (ses-cell-p): New function.
9025 (ses-rename-cell): Do no longer rely on complex operations like
9026 ses-cell-set-formula or ses-set-cell to change the cell and handle
9027 the undo at the same time, but rather use lower level new macros
9028 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9029 the undo directly. Refresh the mode line.
9030
9031 2012-07-21 Leo Liu <sdl.web@gmail.com>
9032
9033 * progmodes/cc-cmds.el (c-defun-name):
9034 Use match-string-no-properties instead for consistency.
9035
9036 2012-07-20 Leo Liu <sdl.web@gmail.com>
9037
9038 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9039 (Bug#7879)
9040
9041 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9042
9043 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9046 * progmodes/bug-reference.el, misearch.el: Provide themselves
9047 (bug#11915).
9048
9049 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9050 of narrowed buffer (bug#11966).
9051
9052 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9053
9054 * ses.el (ses-rename-cell): Set new name also in reference list of
9055 cells of which the renamed cell depends.
9056
9057 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9058
9059 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9060 to check whether menu-bar is shown or not. If not shown,
9061 show the menu-bar as a popup menu instead of using tmm.
9062 * mouse.el (popup-menu): Accept `point' as `position' argument.
9063
9064 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9065
9066 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9067 up inside string symbol literal (bug#11923).
9068
9069 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9070
9071 * startup.el (fancy-startup-text): Read the whole tutorial, not
9072 just its first 256 bytes. Prevents gibberish in display of the
9073 tutorial title.
9074
9075 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9076
9077 Drop idle buffer compaction due to an absence of the
9078 proved efficiency.
9079 * compact.el: Remove.
9080
9081 2012-07-19 Sam Steingold <sds@gnu.org>
9082
9083 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9084 vc-bzr-pull & vc-bzr-merge-branch.
9085 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9086 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9087 for consistency with compilation-error-regexp-alist.
9088 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9089 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9090 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9091 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9092
9093 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * emacs-lisp/chart.el: Use lexical-binding.
9096 (chart-emacs-storage): Don't hardcode the list of entries.
9097
9098 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9099
9100 Next round of tweaks caused by Fgarbage_collect changes.
9101 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9102
9103 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9104
9105 Compact buffers when idle.
9106 * compact.el: New file.
9107
9108 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * subr.el (eventp): Presume that if it looks vaguely like an event,
9111 it's an event (bug#10190).
9112
9113 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9114
9115 Enhancements to ppss related code (thanks Stefan).
9116 * progmodes/python.el (python-indent-context)
9117 (python-indent-calculate-indentation, python-indent-dedent-line)
9118 (python-indent-electric-colon, python-nav-forward-block)
9119 (python-mode-abbrev-table)
9120 (python-info-assignment-continuation-line-p): Simplify checks
9121 for ppss context.
9122 (python-info-continuation-line-p): Cleanup.
9123 (python-info-ppss-context): Do not catch 'quote.
9124 (python-info-ppss-context-type)
9125 (python-info-ppss-comment-or-string-p): Simplify.
9126
9127 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9128
9129 * progmodes/python.el: Enhancements to eldoc support.
9130 (python-info-current-symbol): New function.
9131 (python-eldoc-at-point): Use python-info-current-symbol.
9132 (python-info-current-defun): Fix cornercase on first defun scan.
9133 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9134 and signal error when no inferior python process is available.
9135
9136 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9137
9138 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9139 assume it's always t.
9140 (vc-git-registered): Remove caching, the function is only called
9141 once.
9142 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9143
9144 2012-07-18 Chong Yidong <cyd@gnu.org>
9145
9146 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9147
9148 * simple.el (count-words): Report on narrowing (Bug#9959).
9149
9150 * bindings.el: Bind M-= to count-words.
9151
9152 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9153
9154 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9155
9156 * progmodes/sh-script.el (sh-imenu-generic-expression):
9157 Capture a function with `function' keyword and without parentheses
9158 like "function FOO" (bug#11856).
9159
9160 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9161
9162 * window.el (split-window-sensibly): Make WINDOW argument
9163 optional.
9164
9165 2012-07-18 Chong Yidong <cyd@gnu.org>
9166
9167 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9168
9169 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9170 and make C-x 8 RET exit isearch (Bug#11439).
9171
9172 * international/iso-transl.el: Move isearch-mode-map key
9173 definitions to isearch.el.
9174
9175 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9178 (eieio-defclass): Use gv-define-setter when possible.
9179
9180 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9181
9182 Reflect recent changes in Fgarbage_collect.
9183 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9184 reflect new format of data returned by Fgarbage_collect.
9185
9186 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9187
9188 New utility functions + python-info-ppss-context fix (Bug#11910).
9189 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9190 (python-info-ppss-comment-or-string-p): New functions.
9191 (python-info-ppss-context): Small fix for string check.
9192
9193 2012-07-17 Juri Linkov <juri@jurta.org>
9194
9195 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9196 (dired-do-async-shell-command): Don't add `*' at the end of the
9197 command (Bug#11815).
9198 (dired-do-shell-command): Doc fix.
9199 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9200 Join the individual commands using either "&" or ";" as the
9201 separator depending on the values of these trailing characters.
9202 At the end re-add the trailing "&". (Bug#10598)
9203
9204 * simple.el (async-shell-command): Sync the interactive spec with
9205 `shell-command'. Doc fix.
9206 (shell-command): Doc fix.
9207
9208 2012-07-17 Juri Linkov <juri@jurta.org>
9209
9210 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9211
9212 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9213
9214 Final renames and doc fixes for movement commands (bug#11899).
9215 * progmodes/python.el (python-nav-beginning-of-statement):
9216 Rename from python-nav-statement-start.
9217 (python-nav-end-of-statement): Rename from
9218 python-nav-statement-end.
9219 (python-nav-beginning-of-block): Rename from
9220 python-nav-block-start.
9221 (python-nav-end-of-block): Rename from python-nav-block-end.
9222
9223 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9224
9225 * progmodes/python.el (python-shell-send-string-no-output):
9226 Allow accept-process-output to quit, keeping shell process ready for
9227 future interactions (Bug#11868).
9228
9229 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9232
9233 * emacs-lisp/elint.el (elint-find-args-in-code):
9234 Use help-function-arglist, so as to handle lexical byte-code.
9235
9236 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9237 change (bug#11826).
9238
9239 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9242 Avoid spuriously marking the buffer as modified because of c-is-sws.
9243
9244 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9245 as not-a-comment (bug#11946).
9246
9247 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9248 for uninterned vars.
9249
9250 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9251 Use read-event since we don't really want to read chars but bytes.
9252
9253 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9254 $$..$$ but also $..$ using regexps (bug#11953).
9255 Use tex-verbatim for \url and \path.
9256 (tex-font-lock-keywords): Define as defconst like the others.
9257 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9258
9259 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9260
9261 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9262 alias for insert-char.
9263
9264 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9265
9266 * progmodes/python.el: Simplified imenu implementation.
9267 (python-nav-jump-to-defun): Remove command.
9268 (python-mode-map): Use `imenu' instead.
9269 (python-nav-list-defun-positions-cache)
9270 (python-imenu-include-defun-type, python-imenu-make-tree)
9271 (python-imenu-subtree-root-label, python-imenu-index-alist):
9272 Remove vars.
9273 (python-nav-list-defun-positions, python-nav-read-defun)
9274 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9275 (python-imenu-make-tree, python-imenu-create-index):
9276 Remove functions.
9277 (python-mode): Update to interact with imenu by setting
9278 `imenu-extract-index-name-function' only.
9279
9280 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9281
9282 * progmodes/python.el: Enhancements to navigation commands.
9283 (python-nav-backward-sentence)
9284 (python-nav-forward-sentence): Remove.
9285 (python-nav-backward-statement, python-nav-forward-statement)
9286 (python-nav-statement-start, python-nav-statement-end)
9287 (python-nav-backward-block, python-nav-forward-block)
9288 (python-nav-block-start, python-nav-block-end)
9289 (python-nav-forward-sexp-function)
9290 (python-info-current-line-comment-p)
9291 (python-info-current-line-empty-p): New functions.
9292 (python-indent-context): Use `python-nav-statement-start'.
9293
9294 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9295
9296 * eshell/em-ls.el (eshell/ls): Use `apply'.
9297
9298 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9299 multi-hops, instead of Tramp internals.
9300
9301 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9302
9303 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9304 when F1 and F2 are located on different hosts.
9305
9306 2012-07-14 Chong Yidong <cyd@gnu.org>
9307
9308 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9309 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9310 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9311 (xterm-mouse--read-event-sequence-1000)
9312 (xterm-mouse--read-event-sequence-1006): New functions. For old
9313 mouse protocol, handle M-mouse-X events correctly.
9314 (xterm-mouse-event): New arg specifying mouse protocol.
9315 (turn-on-xterm-mouse-tracking-on-terminal)
9316 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9317 sequence to toggle extended coordinates on newer XTerms.
9318 This appears to be harmless on terminals which do not support this.
9319
9320 2012-07-14 Leo Liu <sdl.web@gmail.com>
9321
9322 Add fringe bitmap indicators for flymake. (Bug#11253)
9323 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9324 (flymake-make-overlay): New arg BITMAP.
9325 (flymake-error-bitmap, flymake-warning-bitmap)
9326 (flymake-fringe-indicator-position): New user variables.
9327
9328 * fringe.el: New bitmap exclamation-mark.
9329
9330 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9331
9332 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9333 also (Bug#7879).
9334
9335 2012-07-14 Chong Yidong <cyd@gnu.org>
9336
9337 * electric.el (electric-pair-post-self-insert-function): Fix pair
9338 insertion in empty-region case (Bug#11520).
9339
9340 2012-07-14 Chong Yidong <cyd@gnu.org>
9341
9342 * bindings.el: Consolidate ctl-x-r-map bindings.
9343 Bind copy-rectangle-as-kill to C-x r w.
9344
9345 * rect.el, register.el: Move bindings to bindings.el.
9346
9347 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9348
9349 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9350
9351 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9352
9353 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9354
9355 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9356
9357 * bindings.el (top): Use `mapc' instead of `mapcar'.
9358
9359 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9360
9361 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9362
9363 * progmodes/sql.el (sql-comint): Suppress the check for program on
9364 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9365 (Bug#11908)
9366
9367 2012-07-13 Chong Yidong <cyd@gnu.org>
9368
9369 * bindings.el: Assign a non-nil permanent-local property to
9370 per-buffer variables which lack a default value (Bug#11930).
9371
9372 * help-fns.el (describe-variable): In the "automatically becomes
9373 local" notice, take note of permanent-local variables.
9374
9375 2012-07-13 Chong Yidong <cyd@gnu.org>
9376
9377 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9378 to allow printing the message when called from Lisp.
9379
9380 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9381 Remove toggle-read-only.
9382
9383 * bs.el (bs-toggle-readonly):
9384 * buff-menu.el (Buffer-menu-toggle-read-only):
9385 Remove with-no-warnings around toggle-read-only.
9386
9387 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9388 Remove with-no-warnings around toggle-read-only.
9389 (ffap-read-only, ffap-read-only-other-window)
9390 (ffap-read-only-other-frame): Callers changed.
9391
9392 * help-mode.el: Don't require view package.
9393 (help-mode-finish): Set buffer-read-only instead of calling
9394 toggle-read-only.
9395
9396 * bindings.el (mode-line-toggle-read-only):
9397 * dired.el (dired-toggle-read-only):
9398 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9399 with non-nil second arg.
9400
9401 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9402 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9403 directly.
9404
9405 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9406
9407 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9408 not incf.
9409
9410 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 More CL cleanups and reduction of use of cl.el.
9413 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9414 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9415 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9416 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9417 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9418 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9419 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9420 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9421 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9422 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9423 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9424 * eshell/em-cmpl.el, eshell/em-banner.el:
9425 * calendar/parse-time.el: Use cl-lib.
9426 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9427 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9428 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9429 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9430 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9431 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9432 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9433 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9434 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9435 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9436 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9437 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9438 `lambda' rather than with `quote'.
9439 (eshell-do-opt): Adjust accordingly.
9440 (eshell-process-option): Simplify.
9441 * eshell/esh-var.el:
9442 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9443 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9444 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9445 to `pcase--dontcare'.
9446 * emacs-lisp/cl.el (labels): Mark obsolete.
9447 (cl--letf, letf): Move to cl-lib.
9448 (cl--letf*, letf*): Remove.
9449 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9450 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9451 (cl-progv): Rewrite.
9452 (cl--letf, cl-letf): Move from cl.el.
9453 (cl-letf*): New macro.
9454 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9455
9456 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9457
9458 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9459
9460 2012-07-11 Chong Yidong <cyd@gnu.org>
9461
9462 * vc/log-edit.el (log-edit-vc-backend): New variable.
9463 (log-edit): Doc fix.
9464
9465 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9466 argument of log-edit to set up all local variables.
9467 (vc-start-logentry): New optional arg specifying VC backend.
9468
9469 * vc/vc.el (vc-checkin): Use it.
9470 (vc-deduce-fileset): Handle Log Edit buffers.
9471 (vc-diff): Make first argument optional too.
9472
9473 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9474
9475 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9476
9477 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9478 command, just in case. The function is not needed anymore.
9479 (eshell-external-command): Do not call `eshell-remote-command'.
9480
9481 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 Reduce use of (require 'cl).
9484 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9485 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9486 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9487 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9488 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9489 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9490 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9491 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9492 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9493 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9494 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9495 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9496 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9497 (byte-compile-unfold-bcf, byte-compile-check-variable):
9498 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9499 (byte-compile-nilconstp):
9500 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9501 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9502
9503 * emacs-lisp/gv.el (cond): Make it a valid place.
9504 (if): Simplify slightly.
9505
9506 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9507 (pcase--self-quoting-p): New function.
9508 (pcase--u1): Use it.
9509
9510 2012-07-10 Glenn Morris <rgm@gnu.org>
9511
9512 * emacs-lisp/authors.el (authors-fixed-entries):
9513 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9514
9515 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9516
9517 Rename configure.in to configure.ac (Bug#11603).
9518 * emacs-lisp/authors.el (authors-canonical-file-name):
9519 * progmodes/autoconf.el (autoconf-mode):
9520 Prefer configure.ac to configure.in.
9521
9522 2012-07-08 Chong Yidong <cyd@gnu.org>
9523
9524 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9525 Implement the mouse-1-click-follows-link handling properly.
9526
9527 * info.el (Info-link-keymap): Use follow-link mechanism for
9528 header-line links (Bug#374).
9529
9530 * simple.el (deactivate-mark): Do not set the primary selection
9531 if another program has acquired it (Bug#11772).
9532
9533 2012-07-07 Kevin Ryde <user42@zip.com.au>
9534
9535 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9536 (woman-decode-region): Replace escaped-escapes without destroying
9537 bold or underline (Bug#11552).
9538 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9539
9540 2012-07-07 Chong Yidong <cyd@gnu.org>
9541
9542 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9543 (interprogram-cut-function, interprogram-paste-function):
9544 Mention that we typically mean the clipboard.
9545
9546 2012-07-06 Glenn Morris <rgm@gnu.org>
9547
9548 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9549
9550 * files.el (toggle-read-only): Restrict message to interactive use.
9551
9552 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9553
9554 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9555
9556 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9557
9558 2012-07-06 Glenn Morris <rgm@gnu.org>
9559
9560 * Makefile.in (compile-one-process): Rename from "recompile".
9561
9562 * Makefile.in (bzr-update): "compile" is the same as "recompile
9563 autoloads", but parallelizable, so use that instead.
9564
9565 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9566
9567 * window.el (quit-window): Always restore window height when
9568 it's saved in quit-restore parameter (Bug#11810).
9569
9570 2012-07-06 Glenn Morris <rgm@gnu.org>
9571
9572 * simple.el (kill-whole-line): Doc tweak.
9573
9574 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9575
9576 * files.el (file-relative-name): Compare file names
9577 case-insensitively if on MS-Windows or MS-DOS, or if
9578 read-file-name-completion-ignore-case is non-nil. Don't use
9579 case-fold-search for this purpose. (Bug#11827)
9580
9581 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9582
9583 * calendar/cal-dst.el (calendar-current-time-zone):
9584 Return calendar-current-time-zone-cache if non-nil.
9585
9586 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9587 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9588
9589 * calendar/cal-dst.el (calendar-current-time-zone):
9590 Return calendar-current-time-zone-cache if non-nil.
9591
9592 2012-07-06 Glenn Morris <rgm@gnu.org>
9593
9594 * Makefile.in (cvs-update): Remove old alias.
9595
9596 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9597
9598 Sync with Tramp 2.2.6-pre.
9599
9600 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9601 compatible declaration.
9602
9603 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9604 Protect `list-load-path-shadows' call.
9605
9606 * net/tramp-compat.el (top): Require packages, which aren't
9607 autoloaded anymore for XEmacs. Protect call of
9608 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9609 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9610 it hurts at least for SXEmacs.
9611 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9612 standard-value for `temporary-file-directory'.
9613
9614 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9615 Redirect stderr to /dev/null.
9616 (tramp-sh-handle-write-region): uid and gid can be floats.
9617 Reported by Russell Sim <russell.sim@gmail.com>.
9618 (tramp-sh-handle-vc-registered): Hide errors.
9619 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9620 and `start-file-process'.
9621 (tramp-maybe-open-connection): Check also whether `non-essential'
9622 is bound.
9623
9624 2012-07-04 Chong Yidong <cyd@gnu.org>
9625
9626 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9627 (xml-parse-tag): Likewise, and avoid changing entity tables.
9628 (xml-syntax-table): Define from scratch, making sure not to give
9629 x2000 and other Unicode spaces whitespace syntax, since those are
9630 not spaces in XML.
9631 (xml-parse-fragment): Delete unused function.
9632 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9633 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9634 (xml-entity-ref, xml-pe-reference-re)
9635 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9636 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9637 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9638 (xml-entity-value-re): Use syntax references in regexps where
9639 possible; no need to define inside a let-binding.
9640 (xml-parse-dtd): Use xml-pe-reference-re.
9641 (xml-entity-or-char-ref-re): New defconst.
9642 (xml-parse-string, xml-substitute-special): Use it.
9643
9644 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9647 (find-file--read-only): New function.
9648 (find-file-read-only, find-file-read-only-other-window)
9649 (find-file-read-only-other-frame): Use it.
9650 (insert-file-contents-literally): Don't `fset'.
9651 (get-free-disk-space): Use locate-dominating-file.
9652
9653 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9654 function is already compiled.
9655
9656 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9657
9658 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9659
9660 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9661 files on the same host.
9662
9663 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9664
9665 * help-fns.el (describe-function-1): Only call
9666 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9667
9668 2012-07-03 Chong Yidong <cyd@gnu.org>
9669
9670 * xml.el: Protect parser against XML bombs.
9671 (xml-entity-expansion-limit): New variable.
9672 (xml-parse-string, xml-substitute-special): Use it.
9673 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9674
9675 2012-07-03 Glenn Morris <rgm@gnu.org>
9676
9677 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9678 Allow linking to specific messages in debbugs reports (eg 123#5).
9679
9680 2012-07-02 Chong Yidong <cyd@gnu.org>
9681
9682 * xml.el: Fix entity and character reference expansion, allowing
9683 them to expand into markup as per XML spec.
9684 (xml-default-ns): New variable.
9685 (xml-entity-alist): Use XML spec definitions for lt and amp.
9686 (xml-parse-region): Make first two arguments optional.
9687 Discard text properties.
9688 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9689 All callers changed.
9690 (xml-parse-tag): Call xml-parse-tag-1. For backward
9691 compatibility, this function should not modify buffer contents.
9692 (xml-parse-tag-1): Fix opening-tag regexp.
9693 (xml-parse-string): Rewrite, handling entity and character
9694 references properly.
9695 (xml--entity-replacement-text): Signal an error if a parameter
9696 entity is undefined.
9697
9698 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * comint.el (comint-output-filter): Filter out repeated prompts.
9701
9702 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9703 and file-name-absolute-p.
9704 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9705 internal calls.
9706
9707 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9708
9709 Spelling fixes.
9710 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9711 Rename from byte-compile--refiy-function. All uses changed.
9712
9713 2012-07-01 Chong Yidong <cyd@gnu.org>
9714
9715 * xml.el (xml--parse-buffer): New function. Move most of
9716 xml-parse-region here.
9717 (xml-parse-region): Copy region into a temporary buffer, since
9718 parameter entity substitution requires changing buffer contents.
9719 Use xml--parse-buffer.
9720 (xml-parse-file): Use xml--parse-buffer.
9721 (xml-parse-dtd): Make parameter entity substitution work right.
9722 Use proper regexps for ELEMENT declarations (Bug#7172).
9723
9724 2012-06-30 Glenn Morris <rgm@gnu.org>
9725
9726 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9727
9728 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9729 Remove outdated and unnecessary dbus declarations.
9730
9731 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9732
9733 * emacs-lisp/timer.el (timer-until): Subtract results of
9734 float-time, instead of taking float-time of the result of
9735 time-subtract, since float-time signals an error for negative time
9736 arguments.
9737
9738 2012-06-30 Chong Yidong <cyd@gnu.org>
9739
9740 * xml.el (xml-*-re): Convert defvars into defconsts, and
9741 eval-and-compile them so eval-and-compile works on derivatives.
9742 (xml--entity-replacement-text): Use eval-and-comple.
9743
9744 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9745
9746 * vc/vc-git.el (vc-git-registered): Use cache property
9747 `git-registered'.
9748 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9749 `vc-git-working-revision' in order to benefit from the cache.
9750 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9751
9752 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9753
9754 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9755 removed (likely outside Emacs). (Bug#11757)
9756
9757 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * emacs-lisp/cl-lib.el: Require macroexp.
9760
9761 2012-06-30 Chong Yidong <cyd@gnu.org>
9762
9763 * xml.el: Implement XML parameter entities.
9764 (xml-parameter-entity-alist): New variable.
9765 (xml-parse-region, xml-parse-fragment): Preserve previous values
9766 of xml-entity-alist and xml-parameter-entity-alist, so that
9767 repeated calls on different documents do not change them.
9768 (xml-parse-tag): Fix doctype regexp.
9769 (xml--entity-replacement-text): New function.
9770 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9771 properly requires url retrieval which is unimplemented.
9772 (xml-escape-string): Doc fix.
9773
9774 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9777
9778 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9779
9780 * fringe.el (fringe-mode): Doc fix.
9781
9782 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9783
9784 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9785 is non-nil.
9786 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9787 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9788
9789 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9790
9791 * calendar/cal-dst.el (calendar-current-time-zone):
9792 Return calendar-current-time-zone-cache if non-nil.
9793
9794 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9795
9796 * progmodes/which-func.el (which-func-format):
9797 Add mouse-face. (Bug#11698)
9798
9799 2012-06-29 Leo Liu <sdl.web@gmail.com>
9800
9801 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9802
9803 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * minibuffer.el (minibuffer-confirm-exit-commands):
9806 Add completion-at-point (bug#11725).
9807
9808 2012-06-29 Glenn Morris <rgm@gnu.org>
9809
9810 * progmodes/f90.el (f90-font-lock-keywords-2):
9811 Add some preprocessor elements. (Bug#10499)
9812
9813 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9816 Use syntax-propertize (bug#11739).
9817
9818 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9819
9820 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9821
9822 2012-06-28 Julien Danjou <julien@danjou.info>
9823
9824 * term.el (term-handle-colors-array): Use a set of new faces to
9825 color the terminal. Also uses :inverse-video property.
9826 (term-default-fg-color): Set to nil by default, deprecate in favor
9827 of `term-face'.
9828 (term-default-bg-color): Set to nil by default, deprecate in favor
9829 of `term-face'.
9830 (term-current-face): Use `term-face' by default.
9831 (term-bold-attribute): Variable deleted.
9832
9833 2012-06-28 Glenn Morris <rgm@gnu.org>
9834
9835 * simple.el (completion-list-mode-finish):
9836 Don't use toggle-read-only. (Since completion-list-mode has
9837 a special mode-class, it wasn't doing anything extra anyway.)
9838
9839 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 Make inlining of other-mode interpreted functions work (bug#11799).
9842 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9843 (byte-compile): Use it to fix compilation of lexical-binding closures.
9844 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9845 function, if needed.
9846
9847 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * help-mode.el (help-make-xrefs): Don't just withstand
9850 cyclic-variable-indirection but any error in documentation-property.
9851
9852 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9853 memory use.
9854 * bindings.el (bindings--define-key): New function.
9855 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9856 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9857 * bindings.el: Use it to purecopy define-key bindings.
9858
9859 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9860
9861 * emacs-lisp/cl.el (flet): Mark obsolete.
9862 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9863 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9864 * progmodes/js.el (js-c-fill-paragraph):
9865 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9866 (ebrowse-switch-member-buffer-to-derived-class):
9867 * play/5x5.el (5x5-solver): Use cl-flet.
9868
9869 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9870 (cl--symbol-function): New macro.
9871 (cl--letf, cl--letf*): Use it.
9872
9873 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9874 Strip "toggle-" if any.
9875
9876 2012-06-27 Glenn Morris <rgm@gnu.org>
9877
9878 * info.el (Info-default-directory-list): Move here from paths.el.
9879 * paths.el: Remove file, which is now empty.
9880 * loadup.el: No longer load "paths".
9881
9882 * custom.el (custom-initialize-delay): Doc fix.
9883
9884 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9885 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9886 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9887 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9888 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9889 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9890 * eshell/eshell.el (eshell-defgroup): Remove alias.
9891
9892 2012-06-27 Chong Yidong <cyd@gnu.org>
9893
9894 * help.el (help-enable-auto-load): New variable.
9895
9896 * help-fns.el (help-fns--autoloaded-p): New function.
9897 (describe-function-1): Refer to a function as "autoloaded" if it
9898 was autoloaded at any time in the past. Perform autoloading if
9899 help-enable-auto-load is non-nil.
9900
9901 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9902
9903 * makefile.w32-in (compile, compile-always): Depend on
9904 update-subdirs, not on subdirs.el. Otherwise, several different
9905 sub-targets of 'bootstrap' running in parallel could
9906 simultaneously write to subdirs.el, producing a garbled file.
9907
9908 2012-06-26 Sam Steingold <sds@gnu.org>
9909
9910 * files.el (file-name-base): New convenience function.
9911 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9912 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9913 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9914 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9915 * textmodes/ispell.el, textmodes/reftex-ref.el:
9916 * textmodes/tex-mode.el: Use it.
9917 Did not touch cedet and org because they are maintained elsewhere.
9918
9919 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9920
9921 * calendar/calendar.el (calendar-exit): Don't try to delete or
9922 iconify last frame. See:
9923 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9924
9925 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9926
9927 * server.el (server-process-filter): Remember dir in the
9928 process's `server-client-directory' properties.
9929
9930 2012-06-24 Chong Yidong <cyd@gnu.org>
9931
9932 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9933 non-tag text.
9934
9935 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9936
9937 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9938
9939 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * help-fns.el (describe-variable): Don't croak when doc is not found.
9942 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9943 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9944 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9945 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9946 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9947 ((lambda ..) ..).
9948 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9949
9950 2012-06-23 Chong Yidong <cyd@gnu.org>
9951
9952 * info.el (Info-mouse-follow-link): Accept symbol values of
9953 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9954 (Info-fontify-node): Use Info-link-keymap for all navigation
9955 buttons, with link-args property to perform the desired action.
9956 (Info-link-keymap): Doc fix.
9957 (Info-next-link-keymap, Info-prev-link-keymap)
9958 (Info-up-link-keymap): Delete now-unused keymaps.
9959
9960 2012-06-23 Chong Yidong <cyd@gnu.org>
9961
9962 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9963
9964 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9965 system abbrevs.
9966
9967 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9968
9969 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9972 (bug#11719).
9973
9974 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9975 the requote function doesn't work properly (bug#11714).
9976
9977 2012-06-23 Glenn Morris <rgm@gnu.org>
9978
9979 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9980
9981 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 Further GV/CL cleanups.
9984 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9985 gv-expander.
9986 (gv--defun-declaration): New function.
9987 (defun-declarations-alist): Use it.
9988 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9989 (gv-place): Autoload.
9990 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9991 original definition of dotimes and dolist.
9992 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9993 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9994 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9995 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9996 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9997 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9998 to the function's definition.
9999 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10000 * window.el:
10001 * files.el:
10002 * faces.el:
10003 * env.el: Don't use CL.
10004
10005 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10006
10007 Support higher-resolution time stamps (Bug#9000).
10008
10009 * calendar/time-date.el (with-decoded-time-value): New arg
10010 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10011 (encode-time-value): New optional arg PICO. New type 3.
10012 (time-to-seconds) [!float-time]: Support the new picoseconds
10013 component if it's used.
10014 (seconds-to-time, time-subtract, time-add):
10015 Support ps-resolution time stamps as well.
10016
10017 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10018 (timerp): Timer vectors now have length 9, not 8.
10019 (timer--time): Support new-style (4-part) time stamps.
10020 (timer-next-integral-multiple-of-time): Time stamps now have
10021 picosecond resolution, so take a bit more care about rounding.
10022 (timer-relative-time, timer-inc-time): New optional arg psecs.
10023 (timer-set-time-with-usecs): Set psecs to 0.
10024 (timer--activate): Check psecs component, too.
10025
10026 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10027
10028 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10031 Move the non-essential binding to the post/pre-command-hook where it is
10032 more obviously correct.
10033
10034 * subr.el (read-passwd): Don't use a history at all.
10035 * savehist.el (savehist-save): Remove password saved accidentally
10036 because of the above bug.
10037
10038 2012-06-22 Bastien Guerry <bzg@gnu.org>
10039
10040 * files.el (toggle-read-only): Display a message telling whether
10041 the buffer is read-only or not (bug#11726).
10042
10043 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * emacs-lisp/gv.el: New file.
10046 * subr.el (push, pop): Extend to generalized variables.
10047 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10048 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10049 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10050 gv-define-simple-setter, and gv-define-expander.
10051 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10052 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10053 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10054 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10055 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10056 gv-letplace.
10057 (cl-defstruct): Don't define setf-method any more.
10058 * emacs-lisp/cl.el (flet): Don't autoload.
10059 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10060 (define-setf-expander, defsetf, define-modify-macro)
10061 (cl-struct-setf-expander): Move from cl-lib.el.
10062 * emacs-lisp/syntax.el:
10063 * emacs-lisp/ewoc.el:
10064 * emacs-lisp/smie.el:
10065 * emacs-lisp/cconv.el:
10066 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10067 (timer--time): Use gv-define-simple-setter.
10068 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10069 to avoid coding-system problems in subr.el. Adjust all users.
10070 (macroexp--maxsize, macroexp-small-p): New functions.
10071 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10072 * scroll-bar.el (scroll-bar-mode):
10073 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10074 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10075 * winner.el (winner-configuration, winner-make-point-alist)
10076 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10077 * files.el (locate-file-completion-table): Avoid list*.
10078
10079 2012-06-22 Chong Yidong <cyd@gnu.org>
10080
10081 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10082 (dired-create-files): Doc fix (Bug#11329).
10083 (dired-do-copy): Doc fix (Bug#11334).
10084 (dired-mark-read-string): Doc fix (Bug#11553).
10085
10086 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10087 Doc fix (Bug#11326).
10088 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10089 (dired-dwim-target): Doc fix.
10090
10091 * wdired.el (wdired-mode): Doc fix.
10092
10093 2012-06-22 Glenn Morris <rgm@gnu.org>
10094
10095 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10096 (pcmpl-rpm-cache-stamp-file): New constant.
10097 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10098 (pcmpl-rpm-packages): Optionally cache list of packages.
10099
10100 * pcmpl-rpm.el (pcmpl-rpm): New group.
10101 (pcmpl-rpm-query-options): New option.
10102 (pcmpl-rpm-packages): No need to inline it.
10103 Use pcmpl-rpm-query-options.
10104
10105 * calendar/calendar.el (calendar-in-read-only-buffer):
10106 Avoid some needless mode changes.
10107
10108 2012-06-21 Chong Yidong <cyd@gnu.org>
10109
10110 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10111 (desktop-path): Remove . from the default value (Bug#10977).
10112 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10113
10114 2012-06-20 Chong Yidong <cyd@gnu.org>
10115
10116 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10117
10118 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10119
10120 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10121 (bug#11201).
10122
10123 2012-06-20 Chong Yidong <cyd@gnu.org>
10124
10125 * term.el (term-window-width): Handle the case of a missing right
10126 fringe (Bug#8837).
10127 (term-check-size): Use window-text-height (Bug#5445).
10128 (term-mode): Use define-derived-mode. Minor cleanups.
10129 Set font-lock-defaults (Bug#7692).
10130 (term-move-columns, term-insert-char, term-emulate-terminal)
10131 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10132
10133 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10134
10135 * net/ange-ftp.el (ange-ftp-get-passwd):
10136 Bind `enable-recursive-minibuffers'.
10137 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10138
10139 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10140
10141 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10142
10143 2012-06-19 Glenn Morris <rgm@gnu.org>
10144
10145 * progmodes/python.el (python-mode): Derive from prog-mode.
10146
10147 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10148
10149 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10150 (edt-user-menu-bar-update-buffers): New functions.
10151 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10152
10153 2012-06-19 Chong Yidong <cyd@gnu.org>
10154
10155 * subr.el (with-selected-window): Preserve the selected window's
10156 terminal's top-frame (Bug#4702).
10157
10158 * window.el (save-selected-window): Likewise.
10159
10160 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * progmodes/python.el (python-rx-constituents): Move backquote.
10163 (python-skeleton-define, python-define-auxiliary-skeleton):
10164 Use `declare'.
10165
10166 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10167
10168 * minibuffer.el (read-file-name-default): Revert the patch from
10169 2012-06-17.
10170
10171 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10174 (pcase--u1, pcase--q1): Don't use apply-partially.
10175
10176 2012-06-18 Glenn Morris <rgm@gnu.org>
10177
10178 * progmodes/python.el (python-proc, python-buffer)
10179 (python-send-receive, python-send-string): Fix obsolete versions.
10180
10181 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10182
10183 * window.el (special-display-p): Completely remove stringp
10184 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10185
10186 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10187
10188 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10189
10190 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10191
10192 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10193 * net/tramp-sh.el (tramp-maybe-open-connection):
10194 Throw if `non-essential' is non-nil.
10195
10196 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10197
10198 * window.el (special-display-p): Signal an error if BUFFER-NAME
10199 is not a string (Bug#11713).
10200
10201 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10202
10203 * progmodes/python.el (python-info-beginning-of-backslash):
10204 Rename from python-info-beginning-of-backlash, as a spelling fix.
10205
10206 2012-06-17 Chong Yidong <cyd@gnu.org>
10207
10208 * term.el (term-emulate-terminal): If term-check-size is called,
10209 move point to the process mark without resetting point (Bug#4635).
10210
10211 2012-06-17 Glenn Morris <rgm@gnu.org>
10212
10213 * international/mule-cmds.el (mule-menu-keymap)
10214 (set-language-environment, set-locale-environment): Doc tweaks.
10215
10216 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10217
10218 * cus-face.el (custom-face-attributes): Add wave-style underline
10219 attribute.
10220 * faces.el (set-face-attribute): Update docstring to describe
10221 wave-style underline attribute.
10222
10223 2012-06-16 Chong Yidong <cyd@gnu.org>
10224
10225 * term/xterm.el (terminal-init-xterm): Discard input before
10226 querying background mode (Bug#10959).
10227
10228 2012-06-16 Stefan Merten <smerten@oekonux.de>
10229
10230 * textmodes/rst.el: Added and corrected some comments.
10231 (rst-re-alist-def): Improve symbol syntax.
10232 (rst-mode-syntax-table): Correct syntax entries.
10233 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10234 (rst-official-version, rst-official-cvs-rev): Update version
10235 information.
10236
10237 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10238
10239 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10240 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10241
10242 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10243
10244 * progmodes/python.el: New python.el merge.
10245 (python-guess-indent): Obsolete var.
10246 (python-indent-guess-indent-offset): New defcustom.
10247 (python-indent): Obsolete var.
10248 (python-indent-offset): New defcustom.
10249 (python-python-command, python-jython-command): Delete var.
10250 (python-shell-interpreter): New defcustom.
10251 (python-pdbtrack-do-tracking-p): Delete var.
10252 (python-pdbtrack-activate): New defcustom.
10253 (python-use-skeletons): Obsolete var.
10254 (python-skeleton-autoinsert): New defcustom.
10255 (inferior-python-filter-regexp, python-continuation-offset)
10256 (python-honour-comment-indentation, python-indent-string-contents)
10257 (python-jython-packages, python-mode-hook)
10258 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10259 (python-shell-prompt-alist)
10260 (python-source-modes): Delete defcustoms.
10261 (python-check-buffer-name, python-eldoc-setup-code)
10262 (python-eldoc-string-code, python-ffap-setup-code)
10263 (python-ffap-string-code, python-fill-comment-function)
10264 (python-fill-decorator-function, python-fill-paren-function)
10265 (python-fill-string-function, python-imenu-include-defun-type)
10266 (python-imenu-make-tree, python-imenu-subtree-root-label)
10267 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10268 (python-shell-compilation-regexp-alist)
10269 (python-shell-completion-module-string-code)
10270 (python-shell-completion-pdb-string-code)
10271 (python-shell-completion-setup-code)
10272 (python-shell-completion-string-code)
10273 (python-shell-enable-font-lock, python-shell-exec-path)
10274 (python-shell-extra-pythonpaths)
10275 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10276 (python-shell-process-environment)
10277 (python-shell-prompt-block-regexp)
10278 (python-shell-prompt-output-regexp)
10279 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10280 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10281 (python-shell-virtualenv-path): New defcustoms.
10282 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10283 (inferior-python-mode-syntax-table, python--prompt-regexp)
10284 (python-buffer, python-command python-python-command)
10285 (python-default-template, python-imports, python-indent-index)
10286 (python-indent-list, python-indent-list-length)
10287 (python-mode-running, python-pdbtrack-is-tracking-p)
10288 (python-preoutput-continuation, python-preoutput-leftover)
10289 (python-preoutput-result, python-preoutput-skip-next-prompt)
10290 (python-prev-dir/file, python-recursing)
10291 (python-saved-check-command, python-version-checked)
10292 (python-which-func-length-limit)
10293 (view-return-to-alist): Delete vars.
10294 (python-check-custom-command, python-dotty-syntax-table)
10295 (python-imenu-index-alist, python-indent-current-level)
10296 (python-indent-dedenters, python-indent-levels)
10297 (python-nav-beginning-of-defun-regexp)
10298 (python-nav-list-defun-positions-cache)
10299 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10300 (python-shell-internal-buffer)
10301 (python-skeleton-available): New vars.
10302 (def-python-skeleton): Delete macro.
10303 (python-skeleton-define): New macro.
10304 (python-define-auxiliary-skeleton, python-rx): New macros.
10305 (python-insert-class): Delete command.
10306 (python-skeleton-class): New command.
10307 (python-insert-def): Delete command.
10308 (python-skeleton-def): New command.
10309 (python-insert-for): Delete command.
10310 (python-skeleton-for): New command.
10311 (python-insert-if): Delete command.
10312 (python-skeleton-if): New command.
10313 (python-insert-try/except, python-insert-try/finally): Delete commands.
10314 (python-skeleton-try): New command.
10315 (python-insert-while): Delete command.
10316 (python-skeleton-while): New command.
10317 (python-backspace): Delete command.
10318 (python-indent-dedent-line-backspace): New command.
10319 (python-electric-colon): Delete command.
10320 (python-indent-electric-colon): New command.
10321 (python-guess-indent): Delete command.
10322 (python-indent-guess-indent-offset): New command.
10323 (python-shift-left): Delete command.
10324 (python-indent-shift-left): New command.
10325 (python-shift-right): Delete command.
10326 (python-indent-shift-right): New command.
10327 (python-find-function): Delete command.
10328 (python-nav-jump-to-defun): New command.
10329 (python-next-statement): Delete command.
10330 (python-nav-forward-sentence): New command.
10331 (python-previous-statement): Delete command.
10332 (python-nav-backward-sentence): New command.
10333 (python-fill-paragraph): Delete command.
10334 (python-fill-paragraph-function): New command.
10335 (python-send-buffer): Delete command.
10336 (python-shell-send-buffer): New command.
10337 (python-send-defun): Delete command.
10338 (python-shell-send-defun): New command.
10339 (python-send-region, python-send-region-and-go): Delete commands.
10340 (python-shell-send-region)
10341 (python-shell-switch-to-shell): New commands.
10342 (python-send-string): Delete command.
10343 (python-shell-send-string): New command.
10344 (python-switch-to-python): Delete command.
10345 (python-shell-switch-to-shell): New command.
10346 (python-describe-symbol): Delete command.
10347 (python-eldoc-at-point): New command.
10348 (python--set-prompt-regexp, python-args-to-list)
10349 (python-after-info-look, python-check-version)
10350 (python-check-comint-prompt, python-find-imports)
10351 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10352 (python-unload-function, python-expand-template)
10353 (python-maybe-jython, python-preoutput-filter)
10354 (python-pdbtrack-get-source-buffer)
10355 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10356 (python-pdbtrack-toggle-stack-tracking)
10357 (python-pdbtrack-track-stack-file, python-initial-text)
10358 (python-first-word, python-comment-line-p, python-send-command)
10359 (python-setup-brm, python-sentinel, python-set-proc)
10360 (python-skip-out, python-input-filter, python-outdent-p)
10361 (python-outline-level, python-backslash-continuation-line-p)
10362 (python-end-of-block, python-end-of-statement, python-mark-block)
10363 (python-beginning-of-block, python-beginning-of-statement)
10364 (python-blank-line-p, python-beginning-of-string)
10365 (python-open-block-statement-p): Delete functions.
10366 (python-indent-line, python-indent-line-1): Delete functions.
10367 (python-indent-line): New function.
10368 (python-indentation-levels): Delete function.
10369 (python-indent-calculate-levels): New function.
10370 (python-proc): Delete function.
10371 (python-shell-get-process): New function.
10372 (python-send-receive): Delete function.
10373 (python-shell-send-string-no-output): New function.
10374 (python-module-path): Delete function.
10375 (python-ffap-module-path): New function.
10376 (python-completion-at-point)
10377 (python-symbol-completions): Delete functions.
10378 (python-completion-complete-at-point): New function.
10379 (python-load-file): Delete function.
10380 (python-shell-send-file): New function.
10381 (python-calculate-indentation): Delete function.
10382 (python-indent-calculate-indentation): New function.
10383 (python-skip-comments/blanks): Delete function.
10384 (python-util-forward-comment): New function.
10385 (python-continuation-line-p): Delete function.
10386 (python-info-continuation-line-p): New function.
10387 (python-which-func, python-current-defun): Delete function.
10388 (python-info-current-defun): New function.
10389 (python-beginning-of-defun): Delete function.
10390 (python-nav-beginning-of-defun): New function.
10391 (python-close-block-statement-p)
10392 (python-block-end-p): Delete function.
10393 (python-info-closing-block): New function.
10394 (python-comint-output-filter-function)
10395 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10396 (python-fill-comment, python-fill-decorator, python-fill-paren)
10397 (python-fill-string, python-imenu-make-element-tree)
10398 (python-imenu-make-tree, python-imenu-tree-assoc)
10399 (python-indent-context, python-indent-dedent-line)
10400 (python-indent-line-function)
10401 (python-indent-post-self-insert-function)
10402 (python-indent-toggle-levels)
10403 (python-info-assignment-continuation-line-p)
10404 (python-info-beginning-of-backlash)
10405 (python-info-block-continuation-line-p)
10406 (python-info-closing-block-message)
10407 (python-info-line-ends-backslash-p)
10408 (python-info-looking-at-beginning-of-defun)
10409 (python-info-ppss-context, python-info-ppss-context-type)
10410 (python-nav-list-defun-positions, python-nav-read-defun)
10411 (python-nav-sentence-end, python-nav-sentence-start)
10412 (python-pdbtrack-comint-output-filter-function)
10413 (python-pdbtrack-set-tracked-buffer)
10414 (python-shell-calculate-exec-path)
10415 (python-shell-calculate-process-environment)
10416 (python-shell-completion--do-completion-at-point)
10417 (python-shell-completion--get-completions)
10418 (python-shell-completion-complete-at-point)
10419 (python-shell-completion-complete-or-indent)
10420 (python-shell-get-or-create-process)
10421 (python-shell-get-process-name)
10422 (python-shell-internal-get-or-create-process)
10423 (python-shell-internal-get-process-name)
10424 (python-shell-internal-send-string, python-shell-make-comint)
10425 (python-shell-parse-command, python-shell-send-setup-code)
10426 (python-skeleton-add-menu-items)
10427 (python-util-clone-local-variables, python-util-position)
10428 (run-python-internal, python-indentation-levels)
10429 (python-nav-beginning-of-defun)
10430 (python-completion-complete-at-point): New functions.
10431 (run-python): Change arguments. New API requirements.
10432
10433 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10436 (bug#11649).
10437
10438 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10439 (macroexp--expand-all): Use it.
10440
10441 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10442 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10443 Use `cl-function' instead.
10444
10445 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10446
10447 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10448 Suggested by Stefan Monnier while discussing bug#11657.
10449
10450 2012-06-14 Sam Steingold <sds@gnu.org>
10451
10452 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10453
10454 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10455
10456 * play/doctor.el (doctor-doc): Remove parameter and use
10457 doctor-sent instead of sent.
10458 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10459
10460 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * files.el: Require cl-lib.
10463 (file-name-non-special): Replace case -> cl-case.
10464
10465 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10466
10467 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10468 mapping from #' to function*.
10469
10470 2012-06-13 Chong Yidong <cyd@gnu.org>
10471
10472 * mouse.el (mouse-drag-track): Do not set the mark if the user
10473 releases the mouse without selecting anything (Bug#11588).
10474
10475 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10478 as well (bug#11646).
10479
10480 * loadup.el: Count byte-code functions as well.
10481
10482 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10483 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10484
10485 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10486 (bug#11649). Add cl-defun and cl-defmacro.
10487
10488 2012-06-13 Drew Adams <drew.adams@oracle.com>
10489
10490 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10491 Fix last change.
10492
10493 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10494
10495 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10496 Otherwise, it blocks in batch mode.
10497
10498 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10499
10500 * help-mode.el (bookmark-make-record-default): Declare.
10501
10502 2012-06-13 Chong Yidong <cyd@gnu.org>
10503
10504 * emacs-lisp/package.el (list-packages): Compute a list of
10505 packages that are newly-available since the last list-packages
10506 invocation.
10507 (package-menu--new-package-list): New var.
10508 (package-menu--generate, package-menu--print-info)
10509 (package-menu--status-predicate, package-menu-mark-install):
10510 Handle new status label "new".
10511
10512 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10515 conversion to backquotes.
10516
10517 2012-06-12 Chong Yidong <cyd@gnu.org>
10518
10519 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10520 Rename from gud-inhibit-global-bindings.
10521
10522 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10523
10524 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10525 hook from nxml-glyph-set-hook.
10526
10527 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10528 declaration.
10529
10530 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10531
10532 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10533 Convert to defcustom.
10534
10535 2012-06-12 Drew Adams <drew.adams@oracle.com>
10536
10537 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10538 New functions.
10539 (help-mode): Use them.
10540
10541 2012-06-11 Glenn Morris <rgm@gnu.org>
10542
10543 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10544 Use preprocessor face for directives.
10545 (fortran-directive-re): Doc fix.
10546
10547 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10550 conversion to backquotes (bug#11652).
10551
10552 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10553 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10554 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10555 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10556 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10557 (cl-ninth, cl-tenth): Mark them as inlinable.
10558 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10559 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10560 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10561 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10562 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10563 (cl-list*, cl-adjoin): Don't put an autoload manually.
10564 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10565 (cl--compiler-macro-list*): Add autoload cookie.
10566 (cl--compiler-macro-cXXr): New function.
10567
10568 * help-fns.el (help-fns--compiler-macro): New function extracted from
10569 describe-function-1; follow aliases and use `compiler-macro' property.
10570 (describe-function-1): Use it.
10571
10572 2012-06-11 Chong Yidong <cyd@gnu.org>
10573
10574 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10575 is uninstalled, if imagemagick is installed.
10576
10577 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * emacs-lisp/cl-lib.el: Use lexical-binding.
10580 (cl-map-extents, cl-maclisp-member): Remove.
10581 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10582 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10583 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10584 * emacs-lisp/cl-extra.el: Use lexical-binding.
10585 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10586 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10587 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10588 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10589 * emacs-lisp/cl-seq.el: Use lexical-binding.
10590 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10591 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10592 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10593 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10594 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10595 CL's internals.
10596
10597 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10598
10599 Sync with Tramp 2.2.6-pre.
10600
10601 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10602 `print-length' and `print-level' to nil, in order to avoid
10603 truncation. Reported by Christopher Schmidt
10604 <christopher@ristopher.com>.
10605
10606 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10607
10608 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10609 New defmacro.
10610 (tramp-compat-copy-directory): Add optional argument
10611 COPY-CONTENTS. It is not handled yet.
10612
10613 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10614 (tramp-ftp-file-name-p): Simplify.
10615
10616 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10617 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10618 connection vector.
10619
10620 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10621 (tramp-methods): Do not use `tramp-password-end-of-line'.
10622 (tramp-completion-function-alist-putty): Handle UNIX case.
10623 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10624 (tramp-do-file-attributes-with-stat)
10625 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10626 gid as real numbers. They could run out of integer range on cygwin.
10627 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10628 (tramp-sh-handle-expand-file-name): Handle hops.
10629 (tramp-open-connection-setup-interactive-shell):
10630 Use `tramp-cleanup'. Move check for busyboxes ...
10631 (tramp-find-shell): ... here. Simplify implementation.
10632 Set "remote-shell" property also for alternative shells.
10633 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10634 If failing, a regular file would be written otherwise.
10635 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10636 (tramp-find-inline-encoding): Cache the coding commands in the
10637 process cache. Apply test command on the remote side, if defined.
10638 (tramp-find-inline-compress): Cache the compress commands in the
10639 process cache.
10640 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10641 when requested. Handle hops.
10642 (tramp-current-connection): New defvar.
10643 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10644 Throw `suppress', if there was a failed connection shortly before.
10645 Handle user interrupt. (Bug#10187)
10646 (tramp-get-inline-compress, tramp-get-inline-coding):
10647 Read connection properties from the process cache.
10648
10649 * net/tramp-smb.el (tramp-smb-server-version)
10650 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10651 New defconsts.
10652 (tramp-smb-prompt): Extend for powershell prompt.
10653 (tramp-smb-file-name-handler-alist): Add handlers for
10654 `process-file', `shell-command' and `start-file-process'.
10655 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10656 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10657 (tramp-smb-file-name-p): Simplify.
10658 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10659 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10660 (tramp-smb-shell-quote-argument): New defuns.
10661 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10662 Implement using "tar". By this, time-stamps are preserved.
10663 (tramp-smb-handle-copy-file): Handle also the case of directories.
10664 (tramp-smb-do-file-attributes-with-stat)
10665 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10666 Use `tramp-get-connection-buffer').
10667 (tramp-smb-handle-rename-file): Use "rename", when source and
10668 target are on the same share.
10669 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10670 Use `tramp-smb-server-version'.
10671 (tramp-smb-wait-for-output): Remove prompt.
10672
10673 * net/tramp.el (top): Require 'cl.
10674 (tramp-methods, tramp-rsh-end-of-line):
10675 Remove `tramp-password-end-of-line' from docstring.
10676 (tramp-save-ad-hoc-proxies): New defcustom.
10677 (tramp-completion-function-alist): Adapt docstring.
10678 (tramp-default-password-end-of-line): Remove defcustom.
10679 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10680 (tramp-user-regexp, tramp-file-name-regexp-unified)
10681 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10682 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10683 (tramp-remote-file-name-spec-regexp): New defconst.
10684 (tramp-file-name-structure): Extend structure for hops.
10685 (tramp-get-method-parameter): Move up.
10686 (tramp-file-name-p, tramp-dissect-file-name)
10687 (with-parsed-tramp-file-name): Handle hops.
10688 (tramp-file-name-hop): New defun.
10689 (tramp-make-tramp-file-name): New optional arg HOP.
10690 (tramp-message-show-progress-reporter-message): New defvar.
10691 (tramp-with-progress-reporter): Use it. We cannot use
10692 `tramp-message-show-message' here, because this suppresses also
10693 error buffers.
10694 (tramp-error-with-buffer): Suppress buffer view, if
10695 `tramp-message-show-message' is nil.
10696 Use `tramp-get-connection-buffer'.
10697 (tramp-cleanup): New defun.
10698 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10699 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10700 an error unchanged.
10701 (tramp-completion-handle-file-name-all-completions): Handle hops.
10702 Fix an error when called from ido.
10703 (tramp-completion-dissect-file-name): Use better local variable
10704 name. Add hop to the vector.
10705 (tramp-handle-insert-file-contents): Use progress-reporter for the
10706 whole scenario.
10707 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10708 to `t'.
10709 (tramp-check-for-regexp): Simplify search.
10710 (tramp-enter-password): Remove it. Move implementation ...
10711 (tramp-action-password): ... here.
10712 (tramp-mode-string-to-int, tramp-local-host-p)
10713 (tramp-make-tramp-temp-file, tramp-read-passwd)
10714 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10715 Set tramp-autoload cookie.
10716
10717 * net/trampver.el: Update release number.
10718
10719 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10720 Michael Albinus <michael.albinus@gmx.de>
10721
10722 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10723 (tramp-parse-group, tramp-parse-file)
10724 (tramp-parse-shostkeys-sknownhosts): New defuns.
10725 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10726 (tramp-parse-shosts-group, tramp-parse-sconfig)
10727 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10728 (tramp-parse-sknownhosts, tramp-parse-hosts)
10729 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10730 Use them.
10731 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10732 (tramp-parse-putty-group): Don't narrow.
10733 (tramp-parse-putty): Make a loop.
10734 (tramp-file-name-handler): Catch the `suppress' signal.
10735
10736 2012-06-11 Chong Yidong <cyd@gnu.org>
10737
10738 * image.el (imagemagick-register-types): Put the ImageMagick entry
10739 at the end of image-type-file-name-regexps.
10740
10741 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10742
10743 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10744 (pcase, pcase-let*, pcase-dolist): Use them.
10745
10746 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * emacs-lisp/pcase.el (pcase--let*): New function.
10749 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10750 (pcase--expand): Use macroexp-let².
10751
10752 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10755 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10756 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10757 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10758 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10759 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10760
10761 2012-06-10 Glenn Morris <rgm@gnu.org>
10762
10763 * mail/rmail.el (rmail-yank-current-message): Leave point at
10764 correct position. (Bug#11660)
10765
10766 2012-06-10 Chong Yidong <cyd@gnu.org>
10767
10768 * allout-widgets.el: Fix code header.
10769
10770 2012-06-10 Chong Yidong <cyd@gnu.org>
10771
10772 * cus-edit.el (customize-changed-options-previous-release):
10773 Bump to 24.1.
10774
10775 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10776
10777 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10778
10779 2012-06-09 Chong Yidong <cyd@gnu.org>
10780
10781 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10782
10783 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10784
10785 * window.el (special-display-popup-frame): Don't use
10786 window--display-buffer (Bug#11651).
10787
10788 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10789
10790 Fix parallel builds: make sure loaddefs.el is not being written
10791 while Lisp files are compiled.
10792 (compile): Don't depend on 'mh-autoloads'.
10793 (compile-CMD, compile-SH): Depend on 'autoloads'.
10794 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10795
10796 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10797
10798 2012-06-09 Chong Yidong <cyd@gnu.org>
10799
10800 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10801 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10802 Doc fixes (Bug#11225).
10803
10804 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10807 a function if there's a clear indication that it has a compiler-macro.
10808 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10809 (macro-declarations-alist): Add arglist to declaration functions.
10810 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10811 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10812 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10813 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10814 Also add autoload to find the compiler macro.
10815 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10816 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10817 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10818 (cl--compiler-macro-get): New functions, replacing calls to
10819 cl-define-compiler-macro.
10820 (cl-typep) [compiler-macro]: Use macroexp-let².
10821
10822 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10823
10824 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10825 string properly, fixes Bug#11473.
10826
10827 2012-06-08 Chong Yidong <cyd@gnu.org>
10828
10829 * faces.el (set-face-attribute): Doc fix.
10830 (modify-face): Don't use :bold and :italic.
10831 (error, warning, success): Tweak definitions.
10832
10833 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10834 (custom-modified, custom-set, custom-changed, custom-themed)
10835 (custom-saved, custom-button, custom-button-mouse)
10836 (custom-button-pressed, custom-state, custom-comment-tag)
10837 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10838 (custom-group-subtitle): Use new-style face specs.
10839 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10840 (custom-set-face, custom-changed-face, custom-saved-face)
10841 (custom-button-face, custom-button-pressed-face)
10842 (custom-documentation-face, custom-state-face)
10843 (custom-comment-face, custom-comment-tag-face)
10844 (custom-variable-tag-face, custom-variable-button-face)
10845 (custom-face-tag-face, custom-group-tag-face-1)
10846 (custom-group-tag-face): Remove obsolete face alias.
10847
10848 * epa.el (epa-validity-high, epa-validity-medium)
10849 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10850 (epa-field-name, epa-field-body):
10851 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10852 (font-lock-keyword-face, font-lock-builtin-face)
10853 (font-lock-function-name-face, font-lock-variable-name-face)
10854 (font-lock-type-face, font-lock-constant-face):
10855 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10856 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10857 * speedbar.el (speedbar-button-face, speedbar-file-face)
10858 (speedbar-directory-face, speedbar-tag-face)
10859 (speedbar-selected-face, speedbar-highlight-face)
10860 (speedbar-separator-face):
10861 * whitespace.el (whitespace-newline, whitespace-space)
10862 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10863 (whitespace-line, whitespace-space-before-tab)
10864 (whitespace-space-after-tab, whitespace-indentation)
10865 (whitespace-empty):
10866 * emulation/cua-base.el (cua-global-mark):
10867 * eshell/em-prompt.el (eshell-prompt):
10868 * net/newst-plainview.el (newsticker-new-item-face)
10869 (newsticker-old-item-face, newsticker-immortal-item-face)
10870 (newsticker-obsolete-item-face, newsticker-date-face)
10871 (newsticker-statistics-face, newsticker-default-face):
10872 * net/newst-reader.el (newsticker-feed-face)
10873 (newsticker-extra-face, newsticker-enclosure-face):
10874 * net/newst-treeview.el (newsticker-treeview-face)
10875 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10876 (newsticker-treeview-immortal-face)
10877 (newsticker-treeview-obsolete-face)
10878 (newsticker-treeview-selection-face):
10879 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10880 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10881 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10882 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10883 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10884 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10885 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10886 (mpuz-text):
10887 * progmodes/vera-mode.el (vera-font-lock-number)
10888 (vera-font-lock-function, vera-font-lock-interface):
10889 * textmodes/table.el (table-cell): Use new-style face specs, and
10890 don't use the old :bold and :italic attributes.
10891
10892 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10893 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10894 (ebrowse-member-class, ebrowse-progress): Likewise.
10895 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10896 (ebrowse-file-name-face, ebrowse-default-face)
10897 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10898 (ebrowse-progress-face): Remove obsolete faces.
10899
10900 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10901 Inherit from error and warning faces respectively.
10902
10903 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10904 Likewise.
10905 (flyspell-incorrect-face, flyspell-duplicate-face):
10906 Remove obsolete aliases.
10907
10908 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10909
10910 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10911 Avoid infloop.
10912
10913 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 * startup.el (argv, argi): Make lexically scoped.
10916 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10917 * emacs-lisp/cl-macs.el: Use lexical-binding.
10918 Rename cl-bind-* to cl--bind-*.
10919 * files.el: Don't require `cl' since it doesn't use it.
10920 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10921
10922 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10923
10924 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10925 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10926 instead of calling external sort utility.
10927 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10928
10929 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10930
10931 * descr-text.el (describe-char): Mention how to insert the
10932 character, if the current input method doesn't support it.
10933 See the discussion in this thread for the details:
10934 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10935
10936 2012-06-08 Sam Steingold <sds@gnu.org>
10937
10938 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10939 XF86Back to previous-buffer.
10940 (minibuffer-local-map): Bind them to next-history-element and
10941 previous-history-element respectively.
10942 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10943 help-go-back respectively.
10944 * info.el (Info-mode-map): Bind them to Info-history-forward and
10945 Info-history-back respectively.
10946 These are the keys next to Up on the ThinkPad keyboard.
10947
10948 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10951 * emacs-lisp/cl-macs.el: Provide itself.
10952 (cl--labels-convert-cache): New var.
10953 (cl--labels-convert): New function.
10954 (cl-flet, cl-labels): New implementation with new semantics, relying on
10955 lexical-binding.
10956 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10957 (cl-closure-vars, cl--function-convert-cache)
10958 (cl--function-convert): Move from cl-macs.el.
10959 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10960 rename by removing the "cl-" prefix.
10961 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10962
10963 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10966 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10967 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10968 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10969 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10970 (cl-hash-table-count): Add old compatibility aliases.
10971
10972 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10973 Use macroexpand-all-environment instead.
10974 (cl--old-macroexpand): New var.
10975 (cl--sm-macroexpand): New function.
10976 (cl-symbol-macrolet): Use it during macro expansion.
10977 (cl--function-convert-cache): New var.
10978 (cl--function-convert): New function, extracted from
10979 cl-macroexpand-all.
10980 (cl-lexical-let): Use it.
10981
10982 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10983 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10984 (cl-member): Remove old alias.
10985
10986 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10987 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10988 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10989 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10990 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10991 (cl-macroexpand-cmacs): Remove var.
10992 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10993 Use macroexpand-all instead.
10994
10995 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10998 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10999 (macroexp-copyable-p): New functions and macros.
11000 * emacs-lisp/edebug.el (edebug-unwrap):
11001 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11002 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11003 (pcase--let*): Remove.
11004 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11005 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11006 macroexp-const-p instead.
11007 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11008
11009 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11010 instead of "cl-" for internal definitions. Use macroexp-const-p.
11011 (cl-old-bc-file-form): Remove var.
11012 (cl-const-exprs-p): Remove fun.
11013 (cl-labels, cl-macrolet): Use backquote.
11014 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11015 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11016 (cl-define-setf-expander): Rename from cl-define-setf-method.
11017 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11018
11019 * international/mule-cmds.el: Don't require CL.
11020 (view-hello-file): Don't use `letf'.
11021
11022 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * tmm.el (tmm-prompt): Use string-prefix-p.
11025 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11026 (tmm-add-prompt): Use minibuffer-completion-help.
11027 (tmm-delete-map): Remove.
11028
11029 * subr.el (kbd): Make it its own function.
11030
11031 2012-06-07 Stefan Merten <smerten@oekonux.de>
11032
11033 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11034 Silence compiler warnings. Fix versions.
11035 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11036 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11037 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11038 (rst-package-emacs-version-alist): Correct Emacs version to
11039 represent major merge with upstream.
11040 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11041
11042 2012-06-06 Glenn Morris <rgm@gnu.org>
11043
11044 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11045 Only print environment variables if set.
11046
11047 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11050 (macroexp--cons): Rename from maybe-cons.
11051 (macroexp--accumulate): Rename from macroexp-accumulate.
11052 (macroexp--all-forms): Rename from macroexpand-all-forms.
11053 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11054 (macroexp--expand-all): Rename from macroexpand-all-1.
11055
11056 2012-06-06 Sam Steingold <sds@gnu.org>
11057
11058 * calendar/calendar.el (calendar-in-read-only-buffer):
11059 Call `special-mode' to enable the standard read-only keybindings.
11060
11061 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11064 with "loading" messages (bug#11635).
11065
11066 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11067
11068 * files.el (enable-remote-dir-locals): New option.
11069 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11070
11071 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11072 Ensure, that the temp directory is local.
11073
11074 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11075 `temporary-file-directory'.
11076
11077 * progmodes/python.el (python-send-region): Ensure, that the
11078 temporary file is created also in the remote case.
11079
11080 2012-06-06 Glenn Morris <rgm@gnu.org>
11081
11082 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11083 (vc-rcs-update-changelog): Use it.
11084
11085 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11086
11087 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11088 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11089 (vc-sccs-diff): Replace use of the external vcdiff script.
11090
11091 2012-06-05 Glenn Morris <rgm@gnu.org>
11092
11093 * ledit.el: Move to obsolete/.
11094
11095 2012-06-05 Sam Steingold <sds@gnu.org>
11096
11097 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11098 patch (Bug#11140).
11099
11100 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * emacs-lisp/cust-print.el: Move to obsolete.
11103
11104 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11105 compiler-macro expansion.
11106
11107 Add native compiler-macro support.
11108 * emacs-lisp/macroexp.el (macroexpand-all-1):
11109 Support compiler-macros directly. Properly follow aliases and apply
11110 the compiler macros more thoroughly.
11111 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11112 macroexpand now properly follows aliases.
11113 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11114 (cl-compiler-macroexpand): Use new prop.
11115 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11116
11117 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11118
11119 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11120
11121 * window.el (get-lru-window, get-mru-window, get-largest-window):
11122 New argument NOT-SELECTED to avoid picking the selected window.
11123 (window--display-buffer-1, window--display-buffer-2): Replace by
11124 new function window--display-buffer
11125 (display-buffer-same-window, display-buffer-reuse-window)
11126 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11127 Use window--display-buffer.
11128 (display-buffer-use-some-window): Remove temporary dedication
11129 hack by calling get-lru-window and get-largest-window with
11130 NOT-SELECTED argument non-nil. Call window--display-buffer.
11131
11132 2012-06-05 Glenn Morris <rgm@gnu.org>
11133
11134 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11135 Replace external vcdiff script.
11136
11137 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11140
11141 2012-06-04 Chong Yidong <cyd@gnu.org>
11142
11143 * image.el (imagemagick-types-inhibit): Revert last change.
11144 Add INFO and M.
11145 (imagemagick-enabled-types): Remove CIN and EPS*.
11146
11147 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * emacs-lisp/cl-lib.el: Rename from cl.el.
11150 * emacs-lisp/cl.el: New compatibility file.
11151 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11152 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11153 to obey the "cl-" prefix.
11154 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11155
11156 2012-06-03 Glenn Morris <rgm@gnu.org>
11157
11158 * emacs-lisp/authors.el (authors-aliases): Addition.
11159
11160 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11161 Fix :version.
11162
11163 2012-06-03 Stefan Merten <smerten@oekonux.de>
11164
11165 * textmodes/rst.el: Add comments.
11166 (rst-transition, rst-adornment): New faces.
11167 (rst-adornment-faces-alist): Make default safe to reevaluate.
11168 Fixes
11169 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11170 Improve customization tags.
11171 (rst-define-level-faces): Clarify meaning.
11172
11173 2012-06-03 Chong Yidong <cyd@gnu.org>
11174
11175 * progmodes/compile.el (compilation-mode-line-fail)
11176 (compilation-mode-line-run, compilation-mode-line-exit):
11177 New faces.
11178 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11179
11180 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11181
11182 * progmodes/which-func.el (which-func-update-ediff-windows):
11183 New function. Use it in ediff-select-hook (Bug#11478).
11184
11185 2012-06-03 Chong Yidong <cyd@gnu.org>
11186
11187 * bindings.el: Remove explicit help text from format-mode-line.
11188 It is now supplied by mode-line-default-help-echo.
11189 (mode-line-front-space, mode-line-end-spaces)
11190 (mode-line-misc-info): New variables.
11191 (mode-line-modes, mode-line-position): Move the default value to
11192 the variable definition.
11193 (mode-line-default-help-echo): New defcustom.
11194 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11195 (mode-line-modified-help-echo): New functions.
11196 (mode-line-mule-info, mode-line-modified): Use them.
11197 (mode-line-eol-desc, propertized-buffer-identification):
11198 Consistency fixes for help text.
11199 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11200 set-buffer-file-coding-system (Bug#289).
11201 (mode-line-mule-info-help-echo): Update help text.
11202
11203 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * simple.el (execute-extended-command): Set real-this-command
11206 (bug#11506).
11207
11208 2012-06-02 Chong Yidong <cyd@gnu.org>
11209
11210 Remove incorrect uses of "modeline" in comments, docstrings, and
11211 function/variable names (Bug#10329).
11212
11213 * cus-edit.el (mode-line):
11214 * dframe.el (dframe-mouse-hscroll):
11215 * emacs-lisp/re-builder.el:
11216 * emacs-lisp/easy-mmode.el (define-minor-mode):
11217 * frame.el (set-frame-name):
11218 * help.el (lookup-minor-mode-from-indicator):
11219 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11220 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11221 (c-toggle-hungry-state):
11222 * progmodes/antlr-mode.el (antlr-language-alist):
11223 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11224 * progmodes/vhdl-mode.el (vhdl-mode):
11225 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11226 * term/ns-win.el (ns-face-at-pos):
11227 * term/sup-mouse.el (sup-mouse-report):
11228 * textmodes/flyspell.el (flyspell-mode-line-string):
11229 * textmodes/ispell.el (ispell-highlight-face):
11230 * textmodes/reftex-global.el:
11231 * vc/vc-arch.el (vc-arch-mode-line-string):
11232 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11233 * vc/vc-git.el (vc-git-mode-line-string):
11234 * vc/vc-hooks.el (vc-display-status)
11235 (vc-default-mode-line-string):
11236 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11237
11238 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11239
11240 * dired.el (dired-sort-set-mode-line): Rename from
11241 dired-sort-set-modeline. All callers changed.
11242
11243 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11244 eshell-status-in-modeline.
11245
11246 * foldout.el (foldout-mode-line-string): Rename from
11247 foldout-modeline-string. All callers changed.
11248 (foldout-update-mode-line): Rename from foldout-update-modeline.
11249
11250 * subr.el (redraw-modeline): Make into obsolete alias.
11251
11252 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11253 timeclock-modeline-display. Make old name an alias.
11254 (timeclock-update-mode-line): Likewise. All callers changed.
11255 (timeclock-mode-line-display): No need to check before using
11256 add-hook.
11257 (timeclock-relative, timeclock-day-over-hook)
11258 (timeclock-use-elapsed, timeclock-mode-string)
11259 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11260
11261 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11262 crisp-mode-modeline-string.
11263
11264 * play/solitaire.el (solitaire-build-mode-line): Rename from
11265 solitaire-build-modeline. All callers changed.
11266
11267 * play/zone.el (zone-hiding-mode-line): Rename from
11268 zone-hiding-modeline. All callers changed.
11269 (zone): Remove unusued `modeline-hidden-level' property.
11270
11271 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11272 xscheme-modeline-initialize. All callers changed.
11273
11274 * strokes.el (strokes-lighter): Rename from
11275 strokes-modeline-string.
11276
11277 * textmodes/sgml-mode.el (html-face-tag-alist)
11278 (html-tag-face-alist): Use mode-line face instead of obsolete
11279 alias modeline.
11280
11281 2012-06-02 Stefan Merten <smerten@oekonux.de>
11282
11283 * textmodes/rst.el: Always require `cl'.
11284 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11285
11286 2012-06-02 Chong Yidong <cyd@gnu.org>
11287
11288 * image.el (imagemagick-enabled-types): Rename from
11289 imagemagick-types-enable. Add many more types.
11290 (imagemagick-types-inhibit): Change default to nil.
11291 (imagemagick-filter-types): Caller changed.
11292
11293 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * emacs-lisp/cl-macs.el: Use backquotes.
11296 (cl-transform-function-property): Use eval-and-compile rather than
11297 abusing `require'.
11298 (defstruct): Use declare-function instead of with-no-warnings.
11299
11300 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11301 (byte-compile-output-docform): Re-add the print-circle bindings.
11302 (byte-compile-fix-header): Use #$ just because it's shorter.
11303 (byte-compile-output-file-form): Remove defun/defmacro.
11304
11305 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11306
11307 * simple.el (choose-completion): Remove now obsolete binding for
11308 owindow.
11309
11310 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11311
11312 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11313 in order to avoid "Stack overflow in regexp matcher".
11314
11315 2012-05-31 Glenn Morris <rgm@gnu.org>
11316
11317 * image.el: For clarity, call imagemagick-register-types at
11318 top-level, rather than relying on a custom :initialize.
11319 (imagemagick-types-enable): New option. (Bug#11557)
11320 (imagemagick-filter-types): New function. (Bug#7406)
11321 (imagemagick-register-types): Use imagemagick-filter-types.
11322 If disabling support, remove elements altogether rather
11323 than using an impossible regexp.
11324 (imagemagick-types-inhibit): Give it the default init function.
11325
11326 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11329 Handle arbitrary file name lengths (Bug#11585).
11330
11331 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11332
11333 * desktop.el (desktop-read): Clear previous and next buffers for
11334 all windows and bury *Messages* buffer (bug#11556).
11335
11336 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 Add `declare' for `defun'. Align `defmacro's with it.
11339 * emacs-lisp/easy-mmode.el (define-minor-mode)
11340 (define-globalized-minor-mode): Don't autoload the var definitions.
11341 * emacs-lisp/byte-run.el: Use lexical-binding.
11342 (defun-declarations-alist, macro-declarations-alist): New vars.
11343 (defmacro, defun): Use them.
11344 (make-obsolete, define-obsolete-function-alias)
11345 (make-obsolete-variable, define-obsolete-variable-alias):
11346 Use `declare'.
11347 (macro-declaration-function): Mark obsolete.
11348 * emacs-lisp/autoload.el: Use lexical-binding.
11349 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11350
11351 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11352
11353 * textmodes/ispell.el (ispell-with-no-warnings):
11354 Define as a macro.
11355 (ispell-kill-ispell, ispell-change-dictionary):
11356 Use `called-interactively-p' for Emacs instead of obsolete
11357 `interactive-p'.
11358
11359 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11362 (macro-declaration-function): Move var from C code.
11363 (macro-declaration-function): Define function with defalias.
11364 * emacs-lisp/macroexp.el (macroexpand-all-1):
11365 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11366 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11367 defun/defmacro any more.
11368 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11369 Provide fallback for unknown arglist.
11370 (byte-compile-arglist-warn): Change calling convention.
11371 (byte-compile-output-file-form): Move print-vars binding.
11372 (byte-compile-output-docform): Simplify accordingly.
11373 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11374 (byte-compile-defmacro-declaration): Remove.
11375 (byte-compile-file-form-defmumble): Generalize to defalias.
11376 (byte-compile-output-as-comment): Return byte-positions.
11377 Simplify callers accordingly.
11378 (byte-compile-lambda): Use `assert'.
11379 (byte-compile-defun, byte-compile-defmacro): Remove.
11380 (byte-compile-file-form-defalias):
11381 Use byte-compile-file-form-defmumble.
11382 (byte-compile-defalias-warn): Remove.
11383
11384 2012-05-29 Stefan Merten <smerten@oekonux.de>
11385
11386 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11387 possible. Fix authors. Improve comments. Improve loading of `cl'.
11388
11389 (rst-mode-abbrev-table): Merge definition.
11390 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11391 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11392
11393 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11394
11395 * calendar/icalendar.el
11396 (icalendar-export-region): Export UID properly.
11397
11398 2012-05-29 Leo Liu <sdl.web@gmail.com>
11399 * calendar/icalendar.el (icalendar-import-format):
11400 Add `icalendar-import-format-uid' (Bug#11525).
11401 (icalendar-import-format-uid): New.
11402 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11403 Export UID.
11404
11405 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11408 different alternative patterns.
11409 (pcase-codegen): Be more careful to preserve identity.
11410 (pcase--u1): Don't forget to mark vars as used.
11411
11412 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11413 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11414 (byte-compile-from-buffer): ...rather than here.
11415
11416 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11417 functions from byte-compile-function-environment.
11418
11419 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11420
11421 * window.el (window-deletable-p): Avoid deleting the root window
11422 of a frame with an active minibuffer.
11423
11424 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11425
11426 * simple.el (choose-completion): Use quit-window (Bug#11567).
11427
11428 2012-05-29 Chong Yidong <cyd@gnu.org>
11429
11430 * whitespace.el (whitespace-cleanup): Fix usage of
11431 whitespace-empty-at-bob-regexp (Bug#11492).
11432
11433 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11434
11435 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11436 revert (Bug#11488).
11437
11438 2012-05-29 Juri Linkov <juri@jurta.org>
11439
11440 * isearch.el (isearch-mode-map): Bind `M-s _' to
11441 `isearch-toggle-symbol'. Bind `M-s c' to
11442 `isearch-toggle-case-fold'.
11443 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11444 (isearch-forward): Add `M-s _' to the docstring.
11445 (isearch-forward-symbol, isearch-toggle-case-fold)
11446 (isearch-symbol-regexp): New functions. (Bug#11381)
11447
11448 2012-05-29 Juri Linkov <juri@jurta.org>
11449
11450 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11451 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11452 a function, call it to get the regexp.
11453 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11454 property `isearch-message-prefix' instead of the string "word ".
11455 (isearch-search-fun-default): For the case of `isearch-word',
11456 return a lambda that calls re-search-forward/re-search-backward
11457 with a regexp returned by `word-search-regexp' or by the function
11458 in `isearch-word'.
11459
11460 2012-05-29 Juri Linkov <juri@jurta.org>
11461
11462 * isearch.el (isearch-search-fun-default): New function.
11463 (isearch-search-fun): Move default part to the new function
11464 `isearch-search-fun-default'.
11465 (isearch-search-fun-function): Set the default value to
11466 `isearch-search-fun-default'. (Bug#11381)
11467
11468 * comint.el (comint-history-isearch-end):
11469 Use `isearch-search-fun-default'.
11470 (comint-history-isearch-search): Use `isearch-search-fun-default'
11471 and remove spacial case for `isearch-word'.
11472 (comint-history-isearch-wrap): Remove spacial case for
11473 `isearch-word'.
11474
11475 * hexl.el (hexl-isearch-search-function):
11476 Use `isearch-search-fun-default'.
11477
11478 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11479 Use `word-search-regexp' for `isearch-word'.
11480
11481 * misearch.el (multi-isearch-search-fun):
11482 Use `isearch-search-fun-default'.
11483
11484 * simple.el (minibuffer-history-isearch-search):
11485 Use `isearch-search-fun-default' and remove spacial case for
11486 `isearch-word'.
11487 (minibuffer-history-isearch-wrap): Remove spacial case for
11488 `isearch-word'.
11489
11490 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11491 Remove spacial case for `isearch-word'.
11492 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11493
11494 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11495
11496 Decrease XEmacs incompatibilities.
11497 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11498 Use `string-match'.
11499 (flyspell-delete-region-overlays): Use alternative definition for
11500 XEmacs.
11501 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11502 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11503 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11504 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11505 `define-obsolete-face-alias' under XEmacs, but old method.
11506
11507 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11508 `with-no-warnings' definition or Emacs alias.
11509 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11510 (ispell-word): Do not use `region-p' if XEmacs.
11511
11512 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11513
11514 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11515 Check for `ispell-dictionary-base-alist' instead of full
11516 `ispell-dictionary-alist'.
11517 (ispell-init-process): Show spellchecker when starting new Ispell
11518 process.
11519
11520 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11521
11522 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11523 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11524
11525 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * version.el (motif-version-string, gtk-version-string)
11528 (ns-version-string): Declare.
11529
11530 2012-05-27 Juri Linkov <juri@jurta.org>
11531
11532 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11533 after the `eval-defun-1' specialcaseing
11534 like in `edebug-eval-defun' (bug#10181).
11535
11536 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11537 like in `eval-defun-1'.
11538
11539 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11540
11541 * mail/sendmail.el (mail-yank-region):
11542 Recognize rmail-yank-current-message in addition to insert-buffer.
11543 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11544 a *mail* buffer created through rmail-start-mail with sendmail as
11545 mail-user-agent.
11546
11547 2012-05-27 Chong Yidong <cyd@gnu.org>
11548
11549 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11550 Default to 256 (Bug#11267).
11551
11552 * help.el (describe-mode): Doc fix.
11553
11554 2012-05-26 Glenn Morris <rgm@gnu.org>
11555
11556 * w32-fns.el (w32-init-info): Remove.
11557 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11558
11559 * info.el (info-initialize): For self-contained NS builds, put the
11560 included info/ directory at the front. (Bug#2791)
11561
11562 * paths.el (Info-default-directory-list): Make it a defcustom,
11563 mainly so that we can use custom-initialize-delay.
11564
11565 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * subr.el (buffer-has-markers-at): Mark obsolete.
11568
11569 * subr.el (lambda): Use declare.
11570
11571 * emacs-lisp/lisp-mode.el (lambda):
11572 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11573
11574 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11575
11576 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11577
11578 2012-05-26 Glenn Morris <rgm@gnu.org>
11579
11580 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11581
11582 2012-05-25 Glenn Morris <rgm@gnu.org>
11583
11584 * paths.el: Remove no-byte-compile.
11585 * loadup.el: No need to load paths.el uncompiled.
11586
11587 * image.el (imagemagick-types-inhibit): Doc fix.
11588
11589 * version.el: Remove no-byte-compile and associated formatting.
11590 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11591 is ancient code from when there was an "inc-vers.el".
11592
11593 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * progmodes/gdb-mi.el: Minor style changes.
11596 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11597 Turn into minor modes.
11598 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11599 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11600 (gdb-shell): Remove unneeded let-binding.
11601 (gdb-get-many-fields): Eliminate O(n²) behavior.
11602
11603 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11604
11605 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11606 platforms that don't link in fontset.c.
11607
11608 2012-05-25 Juri Linkov <juri@jurta.org>
11609
11610 Use the same diff color scheme as in modern VCSes (bug#10181).
11611
11612 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11613 to avoid confusion with `diff-added' that now uses green colors.
11614 (diff-removed): Use shades of red.
11615 (diff-added): Use shades of green.
11616 (diff-changed): Leave just the yellow color.
11617 (diff-use-changed-face): New variable.
11618 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11619 how to highlight context diff changes.
11620 (diff-refine-change): Use shades of yellow.
11621 (diff-refine-removed): New face that uses shades of red.
11622 (diff-refine-added): New face that uses shades of green.
11623 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11624 `diff-refine-removed' in the call to `smerge-refine-subst'
11625 depending on the value of `diff-use-changed-face'.
11626
11627 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11628 (smerge-other): Use shades of green.
11629 (smerge-base): Use shades of yellow.
11630 (smerge-refined-change): Empty face.
11631 (smerge-refined-removed): New face that uses shades of red.
11632 (smerge-refined-added): New face that uses shades of green.
11633 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11634 args `props-r' and `props-a', and use them. Doc fix.
11635 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11636 on its value use different faces `smerge-refined-change',
11637 `smerge-refined-removed', `smerge-refined-added' in the call to
11638 `smerge-refine-subst'.
11639
11640 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11641 Add face condition `min-colors 88' with shades of red.
11642 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11643 `min-colors 88' with shades of green.
11644 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11645 `min-colors 88' with shades of yellow.
11646
11647 2012-05-24 Glenn Morris <rgm@gnu.org>
11648
11649 * paths.el (prune-directory-list, remote-shell-program): Move to...
11650 * files.el (prune-directory-list, remote-shell-program): ...here.
11651 For the latter, delay initialization, prefer ssh, just search PATH.
11652
11653 * paths.el (term-file-prefix): Move to faces.el (the only user).
11654 * faces.el (term-file-prefix): Move here, make it a defcustom.
11655
11656 * paths.el (news-directory, news-path, news-inews-program):
11657 Move to gnus/nnspool.el.
11658
11659 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11660
11661 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11662 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11663 Make the latter a defcustom, with a delayed initialization.
11664
11665 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11666 These were deleted from Gnus itself late 2010.
11667
11668 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * progmodes/which-func.el (which-func-ff-hook):
11671 Check against user-error, not error.
11672
11673 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11674 cl-specs.el, which no longer exists.
11675
11676 2012-05-22 Glenn Morris <rgm@gnu.org>
11677
11678 * info.el (info-emacs-bug): New command.
11679 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11680 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11681
11682 2012-05-21 Glenn Morris <rgm@gnu.org>
11683
11684 * makefile.w32-in (update-subdirs-SH):
11685 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11686
11687 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11690
11691 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11692 Simplify Maven regexp, and make sure the file can't start with a space
11693 (bug#11517).
11694
11695 2012-05-21 Glenn Morris <rgm@gnu.org>
11696
11697 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11698 Scrap superfluous subshells.
11699
11700 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11703 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11704
11705 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11706
11707 * calc/calc.el (calc-ensure-consistent-units): New variable.
11708
11709 * calc/calc-units.el (math-consistent-units-p)
11710 (math-check-unit-consistency): New functions.
11711 (calc-quick-units, calc-convert-units):
11712 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11713 is non-nil.
11714 (calc-extract-units): Fix typo.
11715
11716 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11719
11720 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11721 (flyspell-default-deplacement-commands): Don't spell check after
11722 repeated window/frame switches (e.g. triggered by mouse-movement).
11723 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11724 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11725 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11726 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11727 Remove unused vars.
11728 (flyspell-get-casechars, flyspell-get-not-casechars):
11729 Simplify; Don't bother removing a ] just to add it back.
11730 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11731
11732 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11733
11734 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11735 New functions.
11736 (math-function-table): Add support for more C functions.
11737
11738 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11739
11740 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11741 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11742 Protect delay handling for otherchars against empty otherchars.
11743
11744 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11747 their respective macro declarations.
11748 * skeleton.el (define-skeleton):
11749 * progmodes/compile.el (define-compilation-mode):
11750 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11751 (define-ibuffer-filter):
11752 * emacs-lisp/generic.el (define-generic-mode):
11753 * emacs-lisp/easy-mmode.el (define-minor-mode)
11754 (define-globalized-minor-mode):
11755 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11756 * emacs-lisp/byte-run.el (defsubst):
11757 * custom.el (deftheme): Add doc-string metadata.
11758
11759 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11762
11763 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11766
11767 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11768 * emacs-lisp/cl-macs.el: Idem.
11769 * emacs-lisp/cl-specs.el: Remove.
11770
11771 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 Minor renaming of internal CL functions and variables.
11774 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11775 (cl--position): Rename from cl-position.
11776 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11777 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11778 (cl--random-state): Rename from *random-state*.
11779
11780 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11783 parens around the arg list (bug#11499).
11784
11785 2012-05-17 Juri Linkov <juri@jurta.org>
11786
11787 * isearch.el (word-search-regexp, word-search-backward)
11788 (word-search-forward, word-search-backward-lax)
11789 (word-search-forward-lax): Move functions from search.c
11790 (bug#10145, bug#11381).
11791
11792 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11793
11794 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11795 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11796 Delay for otherchars as for normal word components.
11797
11798 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * minibuffer.el (completion--sifn-requote): Fix last change.
11801 (minibuffer-local-must-match-filename-map):
11802 Move define-obsolete-variable-alias before its var.
11803
11804 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11807
11808 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11809 behavior.
11810 (completion--string-equal-p): New function.
11811 (completion--twq-all): Use it to get better assertion failure data.
11812
11813 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11814 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11815 (shell--requote-argument): New functions.
11816 (shell-completion-vars): Use them.
11817 (shell--parse-pcomplete-arguments): Rename from
11818 shell-parse-pcomplete-arguments.
11819 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11820 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11821 Obey comint-file-name-quote-list.
11822
11823 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11824 (smie-indent-keyword): Use it.
11825
11826 2012-05-14 Stefan Merten <smerten@oekonux.de>
11827
11828 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11829
11830 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * net/rlogin.el (rlogin-mode-map): Fix last change.
11833
11834 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11835
11836 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11837 the following \r\n using a single `process-send-string', since the
11838 Lotus SMTP server refuses to accept any commands if they are sent
11839 with two `process-send-string's (Bug#11444).
11840
11841 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * shell.el (shell-parse-pcomplete-arguments):
11844 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11845
11846 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11847
11848 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11849 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11850 (image-transform-width, image-transform-fit-width): New functions.
11851 (image-transform-properties): Use them.
11852 (image-transform-check-size): New function.
11853 (image-toggle-display-image): Use it (for testing).
11854 (image-transform-set-rotation): Reduce angle mod 360.
11855 Delete obsolete comment.
11856
11857 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11858
11859 * image-mode.el: Fix scaling (bug#11399).
11860 (image-transform-resize): Doc fix.
11861 (image-transform-properties): Default scale is 1 and height should
11862 be an integer.
11863
11864 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11865
11866 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11867 than hard-coding `car', to fix misbehavior when moving forward.
11868
11869 2012-05-13 Chong Yidong <cyd@gnu.org>
11870
11871 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11872 (tabulated-list-entries, tabulated-list-padding)
11873 (tabulated-list-sort-key): Make permanent-local.
11874
11875 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11876 (electric-buffer-list): Put electric buffer menu
11877 command descriptions in this docstring, instead of the docstring
11878 of electric-buffer-menu-mode. Code cleanups.
11879 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11880 Electric-buffer-menu-mode.
11881 (electric-buffer-update-highlight): Minor code cleanup.
11882
11883 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11884
11885 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11886 (Bug#11447)
11887
11888 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11889
11890 Move define-obsolete-variable-alias before the var's definition.
11891 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11892 * tooltip.el (tooltip-hook):
11893 * textmodes/reftex-toc.el (reftex-toc-map):
11894 * textmodes/reftex-sel.el (reftex-select-label-map)
11895 (reftex-select-bib-map):
11896 * textmodes/reftex-index.el (reftex-index-map)
11897 (reftex-index-phrases-map):
11898 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11899 * progmodes/meta-mode.el (meta-mode-map):
11900 * novice.el (disabled-command-hook):
11901 * loadhist.el (unload-hook-features-list):
11902 * frame.el (blink-cursor):
11903 * files.el (find-file-not-found-hooks, write-file-hooks)
11904 (write-contents-hooks):
11905 * emulation/tpu-edt.el (GOLD-map):
11906 * emacs-lock.el (emacs-lock-from-exiting):
11907 * emacs-lisp/generic.el (generic-font-lock-defaults):
11908 * emacs-lisp/chart.el (chart-map):
11909 * dos-fns.el (register-name-alist):
11910 * dired-x.el (dired-omit-files-p):
11911 * desktop.el (desktop-enable):
11912 * cus-edit.el (custom-mode-hook):
11913 * buff-menu.el (buffer-menu-mode-hook):
11914 * bookmark.el (bookmark-read-annotation-text-func)
11915 (bookmark-exit-hooks):
11916 * allout.el (allout-mode-deactivate-hook)
11917 (allout-exposure-change-hook, allout-structure-added-hook)
11918 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11919 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11920 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11921 comes before the corresponding variable's definition.
11922
11923 2012-05-12 Chong Yidong <cyd@gnu.org>
11924
11925 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11926 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11927 (Buffer-menu-mode-map): Bind it.
11928 (Buffer-menu--pretty-name): Add a mouse-face property.
11929
11930 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11933 (prolog-upper-case-string, prolog-lower-case-string)
11934 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11935 (prolog-use-smie, prolog-smie-grammar): New vars.
11936 (prolog-smie-forward-token, prolog-smie-backward-token)
11937 (prolog-smie-rules): New funs.
11938 (prolog-comment-indent): Remove.
11939 (prolog-mode-variables): Use default comment indentation instead.
11940 Setup SMIE.
11941 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11942 (prolog-mode): Don't call them any more.
11943 (prolog-electric-colon, prolog-electric-dash)
11944 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11945
11946 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11947
11948 * minibuffer.el (completion--twq-all): Again, allow case differences.
11949
11950 * term.el: Move keymap initialization code to be more idiomatic.
11951 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11952 (term-terminal-menu): Move initialization into declaration.
11953 (term-escape-char): Let the user set it in her .emacs.
11954
11955 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11956 Provide SMIE-based indentation (not enabled by default yet).
11957 (sh-mode-map): Don't bind electric keys.
11958 Use electric-pair-mode instead of skeleton-pair.
11959 (sh-assignment-regexp): Fit within 80 columns.
11960 (sh-indent-supported): Specify actual shell name instead of boolean.
11961 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11962 (sh-maybe-here-document): Use it. Make obsolete.
11963 (sh-electric-here-document-mode) New minor mode.
11964 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11965 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11966 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11967 (sh-smie-rc-grammar, sh-use-smie): New vars.
11968 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11969 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11970 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11971 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11972 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11973 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11974 (sh-set-shell): Use smie-setup if requested.
11975
11976 * term.el (term-set-escape-char): Properly set term-escape-char.
11977 See http://stackoverflow.com/questions/10524656.
11978
11979 2012-05-10 Chong Yidong <cyd@gnu.org>
11980
11981 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11982 Use url-generic-parse-url, and handle host names and Windows
11983 filenames properly.
11984 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11985 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11986 URL schemes to work on.
11987 (ffap--toggle-read-only): New function.
11988 (ffap-read-only, ffap-read-only-other-window)
11989 (ffap-read-only-other-frame): Use it.
11990 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11991 necessary for ffap-url-unwrap-remote.
11992
11993 2012-05-10 Dave Abrahams <dave@boostpro.com>
11994
11995 * cus-start.el (create-lockfiles): Add it.
11996
11997 2012-05-09 Chong Yidong <cyd@gnu.org>
11998
11999 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12000 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12001
12002 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12003
12004 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12005
12006 2012-05-09 Chong Yidong <cyd@gnu.org>
12007
12008 * ansi-color.el (ansi-color-process-output): Check for validity of
12009 comint-last-output-start before using it. This avoids a bad
12010 interaction with gdb-mi's input/output buffer.
12011
12012 2012-05-09 Glenn Morris <rgm@gnu.org>
12013
12014 * files.el (dir-locals-read-from-file):
12015 Mention dir-locals in any error message.
12016
12017 2012-05-09 Chong Yidong <cyd@gnu.org>
12018
12019 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12020 package (Bug#11410).
12021
12022 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12023 variables into description.
12024
12025 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12028 shell-delimiter-argument-list (bug#11348).
12029 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12030
12031 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12032
12033 * textmodes/rst.el: Silence byte-compiler warnings.
12034 (rst-re-alist, rst-reset-section-caches): Move around.
12035 (rst-re): Use `characterp', not `char-valid-p'.
12036 (font-lock-beg, font-lock-end): Declare.
12037
12038 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12039 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12040
12041 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12042
12043 2012-05-08 Glenn Morris <rgm@gnu.org>
12044
12045 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12046
12047 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * vc/log-edit.el: Add GNU coding standards highlighting.
12050 (log-edit-font-lock-gnu-style)
12051 (log-edit-font-lock-gnu-keywords): New vars.
12052 (log-edit-font-lock-keywords): New fun.
12053 (log-edit-mode): Don't fold case in font-lock.
12054 (log-edit-font-lock-keywords): Do not assume case-folding.
12055
12056 * imenu.el: Misc cleanup. Make docstrings out of comments.
12057 Use lexical-binding.
12058 (imenu--index-alist, imenu--last-menubar-index-alist)
12059 (imenu-menubar-modified-tick): Use defvar-local.
12060 (imenu--split-menu): Remove unused var.
12061 (imenu--cleanup-seen): Declare as global.
12062 (imenu--cleanup): Use dolist.
12063
12064 * subr.el (defvar-local): Add debug spec and doc-string position.
12065
12066 2012-05-08 Glenn Morris <rgm@gnu.org>
12067
12068 * language/burmese.el, language/cham.el, language/czech.el:
12069 * language/english.el, language/georgian.el, language/greek.el:
12070 * language/japanese.el, language/khmer.el, language/korean.el:
12071 * language/lao.el, language/misc-lang.el, language/romanian.el:
12072 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12073 * language/thai.el, language/utf-8-lang.el:
12074 Remove no-byte-compile setting.
12075
12076 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12077
12078 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12079
12080 * progmodes/make-mode.el (makefile-browse):
12081 Remove unnecessary interactive. (Bug#11324)
12082
12083 2012-05-07 Glenn Morris <rgm@gnu.org>
12084
12085 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12086
12087 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12088
12089 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12090
12091 * loadup.el: Preload newcomment.el.
12092 * newcomment.el: Move autoload-only code to toplevel.
12093
12094 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12095 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12096 Handle new :right-align column property.
12097 (tabulated-list-print-col): Idem, plus use `display' text-property to
12098 try and preserve alignment for variable pitch fonts.
12099
12100 2012-05-07 Chong Yidong <cyd@gnu.org>
12101
12102 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12103 (tabulated-list-use-header-line): New var.
12104 (tabulated-list-init-header): Use it.
12105 (tabulated-list-print-fake-header): New function.
12106 (tabulated-list-print): Use it.
12107 (tabulated-list-sort-button-map): Add non-header-line commands.
12108 (tabulated-list-init-header): Add column name property to basic
12109 labels as well.
12110 (tabulated-list-col-sort): Handle non-header-line button case.
12111 (tabulated-list--sort-by-column-name): Fix a corner case.
12112
12113 * buff-menu.el (list-buffers--refresh):
12114 Handle Buffer-menu-use-header-line.
12115
12116 2012-05-06 Chong Yidong <cyd@gnu.org>
12117
12118 * buff-menu.el: Convert to Tabulated List mode.
12119 (Buffer-menu-buffer+size-width): Make obsolete.
12120 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12121 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12122 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12123 documentation into docstring of buffer-menu.
12124 (Buffer-menu-toggle-files-only): Add an informative message.
12125 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12126 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12127 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12128 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12129 (Buffer-menu-execute, Buffer-menu-select)
12130 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12131 (Buffer-menu-bury): Use Tabulated List machinery.
12132 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12133 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12134 Delete.
12135 (list-buffers--refresh): New function.
12136 (list-buffers-noselect): Use it.
12137 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12138 (Buffer-menu--pretty-file-name): New helper functions.
12139
12140 * loadup.el: Preload tabulated-list.
12141
12142 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12143 tabulated-list-sort-column.
12144 (tabulated-list-init-header): Add the initial aligning space even
12145 if tabulated-list-padding is zero.
12146
12147 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12148
12149 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12150 whose cdr is not a cons cell correctly (bug#11038).
12151
12152 2012-05-06 Chong Yidong <cyd@gnu.org>
12153
12154 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12155 Accept additional plist in column descriptors.
12156 (tabulated-list-init-header): Obey it.
12157 (tabulated-list-get-entry): New function.
12158 (tabulated-list-put-tag): Use it. Use string-width instead of
12159 length.
12160 (tabulated-list--column-number): New function.
12161 (tabulated-list-print): Use it.
12162 (tabulated-list-print-col): New function.
12163 Set `tabulated-list-column-name' property on each column's text.
12164 (tabulated-list-print-entry): Use it.
12165 (tabulated-list-delete-entry, tabulated-list-set-col):
12166 New functions.
12167 (tabulated-list-sort-column): New command (Bug#11337).
12168
12169 * buff-menu.el (list-buffers): Move C-x C-b binding from
12170 buff-menu.el to bindings.el.
12171
12172 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12173 :advertised-binding feature.
12174
12175 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12176
12177 * progmodes/compile.el (compilation-internal-error-properties):
12178 Calculate start position correctly when end-col is set but
12179 end-line is not (Bug#11382).
12180
12181 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12182
12183 * man.el (Man-unindent): Use text-property-default-nonsticky to
12184 prevent untabify from inheriting face properties (Bug#11408).
12185
12186 2012-05-05 Stefan Merten <smerten@oekonux.de>
12187
12188 * textmodes/rst.el: Major merge with upstream development up to
12189 Docutils SVN r7399 / rst.el V1.2.1.
12190
12191 Clarify maintainership and authors.
12192
12193 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12194 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12195 (rst-official-version, rst-official-cvs-rev, rst-version)
12196 (rst-package-emacs-version-alist): New functions and variables
12197 for version information.
12198
12199 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12200 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12201 (rst-mode-syntax-table, rst-mode): New and corrected functions
12202 and variables representing reStructuredText features.
12203
12204 (rst-re): New function for reStructuredText regexes. Use in
12205 many places.
12206
12207 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12208 (rst-mode-map): Rebind keys.
12209
12210 (rst-mode-lazy, rst-font-lock-keywords)
12211 (rst-font-lock-extend-region)
12212 (rst-font-lock-extend-region-internal)
12213 (rst-font-lock-extend-region-extend)
12214 (rst-font-lock-find-unindented-line-limit)
12215 (rst-font-lock-find-unindented-line-match)
12216 (rst-adornment-level, rst-font-lock-adornment-level)
12217 (rst-font-lock-adornment-match)
12218 (rst-font-lock-handle-adornment-pre-match-form)
12219 (rst-font-lock-handle-adornment-matcher): Major revision of
12220 font-locking. Integrate with other code. Use `jit-lock-mode'.
12221
12222 (rst-preferred-adornments, rst-adjust-hook)
12223 (rst-new-adornment-down, rst-preferred-bullets)
12224 (rst-preferred-bullets, rst-indent, rst-indent-width)
12225 (rst-indent-field, rst-indent-literal-normal)
12226 (rst-indent-literal-minimized, rst-indent-comment): Change,
12227 extend and improve customization.
12228
12229 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12230 (rst-normalize-cursor-position, rst-get-decoration)
12231 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12232 (rst-rstrip, rst-toc-insert-find-delete-contents)
12233 (rst-shift-fill-region, rst-compute-bullet-tabs)
12234 (rst-debug-print-tabs, rst-debug-mark-found)
12235 (rst-shift-region-guts, rst-shift-region-right)
12236 (rst-shift-region-left, rst-use-char-classes)
12237 (rst-font-lock-keywords-function)
12238 (rst-font-lock-indentation-point)
12239 (rst-font-lock-find-unindented-line-begin)
12240 (rst-font-lock-find-unindented-line-end)
12241 (rst-font-lock-find-unindented-line)
12242 (rst-font-lock-adornment-point, rst-font-lock-level)
12243 (rst-adornment-level-alist): Remove functions and variables.
12244
12245 (rst-compare-adornments, rst-get-adornment-match)
12246 (rst-suggest-new-adornment, rst-get-adornments-around)
12247 (rst-adornment-complete-p, rst-get-next-adornment)
12248 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12249 (rst-straighten-adornments): Standardize function names to
12250 use "adornment" instead of "decoration". Correct callers.
12251 Similar standardizing in many places.
12252
12253 (rst-update-section, rst-adjust, rst-promote-region)
12254 (rst-enumerate-region, rst-bullet-list-region)
12255 (rst-repeat-last-character): Correct use of `interactive'.
12256
12257 (rst-classify-adornment, rst-find-all-adornments)
12258 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12259 (rst-find-leftmost-column, rst-repeat-last-character):
12260 Refactor functions.
12261
12262 (rst-find-title-line, rst-reset-section-caches)
12263 (rst-get-adornments-around, rst-adjust-adornment-work)
12264 (rst-arabic-to-roman, rst-roman-to-arabic)
12265 (rst-insert-list-pos, rst-insert-list-new-item)
12266 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12267 New functions.
12268
12269 (rst-all-sections, rst-section-hierarchy)
12270 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12271 New variables.
12272
12273 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12274 configuration instead of only buffer. Change where necessary.
12275
12276 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12277 (rst-shift-region, rst-adaptive-fill): New functions for
12278 indentation and filling.
12279
12280 (rst-comment-line-break, rst-comment-indent)
12281 (rst-comment-insert-comment, rst-comment-region)
12282 (rst-uncomment-region): New functions for handling comments.
12283
12284 (rst-compile): Quote shell arguments.
12285
12286 (rst-compile-pdf-preview, rst-compile-slides-preview):
12287 Delete temporary files after use.
12288
12289 2012-05-05 Glenn Morris <rgm@gnu.org>
12290
12291 * calendar/cal-html.el: Optionally include holidays in the output.
12292 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12293 (cal-html-holidays): New option.
12294 (cal-html-css-default): Add holiday entry.
12295 (holiday-in-range): Autoload it.
12296 (cal-html-htmlify-entry): Add optional class argument.
12297 (cal-html-htmlify-list): Add optional holidays argument.
12298 (cal-html-insert-agenda-days): Include holidays in the output.
12299 (cal-html-one-month): Maybe include holidays.
12300
12301 * calendar/holidays.el (holiday-in-range):
12302 Move here from cal-tex-list-holidays.
12303 * calendar/cal-tex.el (cal-tex-list-holidays):
12304 Make it an obsolete alias for holiday-in-range. Update all callers.
12305
12306 2012-05-05 Chong Yidong <cyd@gnu.org>
12307
12308 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12309 Nextstep.
12310
12311 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12312
12313 * files.el (file-auto-mode-skip): New var.
12314 (set-auto-mode-1): Use it.
12315
12316 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * repeat.el: Use lexical-binding.
12319 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12320 (repeat-undo-count): Remove.
12321 (repeat):
12322 * progmodes/octave-mod.el (octave-abbrev-start):
12323 * progmodes/f90.el (f90-abbrev-start):
12324 * face-remap.el (text-scale-adjust):
12325 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12326
12327 * emacs-lisp/pcase.el (pcase--let*): New function.
12328 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12329 a bit more.
12330 (pcase--split-pred): Be more clever about ruling out overlap between
12331 a predicate and some constant pattern.
12332 (pcase--q1): Use `null' instead of (eq foo nil).
12333
12334 * subr.el (setq-local, defvar-local): New macros.
12335 (kbd): Redefine as an alias.
12336 (with-selected-window): Leave unrelated frames alone.
12337 (set-temporary-overlay-map): New function.
12338
12339 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12340
12341 * subr.el (user-error): New function.
12342 * window.el (switch-to-buffer):
12343 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12344 (smerge-match-conflict):
12345 * simple.el (previous-matching-history-element)
12346 (next-matching-history-element, goto-history-element, undo-more)
12347 (undo-start):
12348 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12349 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12350 (next-file, tags-loop-scan, list-tags, complete-tag):
12351 * progmodes/compile.el (compilation-loop):
12352 * mouse.el (mouse-minibuffer-check):
12353 * man.el (Man-bgproc-sentinel, Man-goto-page):
12354 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12355 (Info-history-forward, Info-follow-reference, Info-menu)
12356 (Info-extract-menu-item, Info-extract-menu-counting)
12357 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12358 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12359 (Info-next-reference, Info-prev-reference, Info-index)
12360 (Info-index-next, Info-follow-nearest-node)
12361 (Info-copy-current-node-name):
12362 * imenu.el (imenu--make-index-alist)
12363 (imenu-default-create-index-function, imenu-add-to-menubar):
12364 * files.el (basic-save-buffer, recover-file):
12365 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12366 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12367 (checkdoc-message-text, checkdoc-defun):
12368 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12369 * cus-edit.el (customize-changed-options, customize-rogue)
12370 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12371 (custom-variable-mark-to-reset-standard)
12372 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12373 (custom-file):
12374 * completion.el (check-completion-length):
12375 * comint.el (comint-search-arg)
12376 (comint-previous-matching-input-string-position)
12377 (comint-previous-matching-input)
12378 (comint-replace-by-expanded-history-before-point, comint-send-input)
12379 (comint-copy-old-input, comint-backward-matching-input)
12380 (comint-goto-process-mark, comint-set-process-mark):
12381 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12382 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12383
12384 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * dabbrev.el (dabbrev--ignore-case-p): New function.
12387 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12388 Use it.
12389
12390 * files.el (automount-dir-prefix): Mark as obsolete.
12391
12392 2012-05-04 Glenn Morris <rgm@gnu.org>
12393
12394 * patcomp.el, play/bruce.el: Move to obsolete/.
12395
12396 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12397
12398 Fix minor Y10k bugs.
12399 * arc-mode.el (archive-unixdate):
12400 * autoinsert.el (auto-insert-alist):
12401 * calc/calc-forms.el (math-this-year):
12402 * emacs-lisp/copyright.el (copyright-current-year)
12403 (copyright-update-year, copyright):
12404 * tar-mode.el (tar-clip-time-string):
12405 * time.el (display-time-update):
12406 Don't assume years have 4 digits.
12407
12408 2012-05-04 Chong Yidong <cyd@gnu.org>
12409
12410 * dos-w32.el (file-name-buffer-file-type-alist)
12411 (direct-print-region-use-command-dot-com):
12412 * ffap.el (ffap-menu-regexp):
12413 * find-file.el (ff-special-constructs):
12414 * follow.el (follow-debug):
12415 * forms.el (forms--debug):
12416 * iswitchb.el (iswitchb-all-frames):
12417 * ido.el (ido-all-frames):
12418 * emacs-lisp/timer.el (timer-max-repeats):
12419 * mail/feedmail.el (feedmail-mail-send-hook)
12420 (feedmail-mail-send-hook-queued):
12421 * mail/footnote.el (footnote-signature-separator):
12422 * mail/mailabbrev.el (mail-alias-separator-string)
12423 (mail-abbrev-mode-regexp):
12424 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12425 * progmodes/idlwave.el (idlwave-libinfo-file)
12426 (idlwave-default-completion-case-is-down)
12427 (idlwave-library-routines): Convert defvars to defcustoms.
12428
12429 * mail/rmail.el (rmail-decode-mime-charset):
12430 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12431 (idlwave-shell-fix-inserted-breaks)
12432 (idlwave-shell-activate-alt-keybindings)
12433 (idlwave-shell-use-breakpoint-glyph):
12434 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12435
12436 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12439
12440 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12441
12442 * progmodes/verilog-mode.el (font-lock-keywords):
12443 Fix mis-highligting auto. Reported by Craig Barner.
12444 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12445 defines from global name space. Reported by Dan Dever.
12446 (verilog-auto-reset, verilog-auto-reset-widths)
12447 (verilog-auto-tieoff): Support using unbased numbers for
12448 AUTORESET and AUTOTIEOFF.
12449 (verilog-submit-bug-report): Update variable list.
12450 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12451 parenthesis from not matching. Reported by Michael Rytting.
12452 (verilog-auto-template-lint): Fix hash error when linting modules
12453 with no used templates.
12454 (verilog-warn, verilog-warn-error)
12455 (verilog-warn-fatal): When non-interactive report multiple
12456 warnings before exiting. Suggested by Brad Dobbie.
12457 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12458 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12459 to report unused template errors. Reported by Brad Dobbie.
12460 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12461 nets, bug438. Reported by Vns Blore.
12462 (verilog-auto-inout-module, verilog-auto-reg)
12463 (verilog-read-decls, verilog-read-sub-decls-sig)
12464 (verilog-signals-edit-wire-reg, verilog-signals-with):
12465 Fix passing of Verilog data types in ANSI input/output ports
12466 such as "output logic" into the AUTOs. Special case "wire" and
12467 "reg" for backwards compatibility presuming Verilog 2001.
12468 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12469 (verilog-preprocess): Fix replication of preprocess output.
12470 Reported by Brad Dobbie.
12471 (verilog-auto-inst-interfaced-ports):
12472 Create verilog-auto-inst-interfaced-ports, bug429.
12473 Reported by Julian Gorfajn.
12474 (verilog-after-save-font-hook)
12475 (verilog-before-save-font-hook): New variable.
12476 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12477 (verilog-save-font-mods): Wrap disabling fontification, reported
12478 by David Rogoff.
12479 (verilog-do-indent, verilog-pretty-declarations-auto)
12480 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12481 Reported by Pierre-David Pfister.
12482 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12483 of class declarations, bug292. Reported by Kevin Heilman.
12484 (verilog-read-decls): Fix 'parameter type' not appearing in
12485 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12486 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12487 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12488 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12489 Reported by David Kravitz.
12490
12491 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12492
12493 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12494 assignment with tests in ifs and for loops.
12495 (verilog-extended-complete-re, verilog-complete-reg): Change so
12496 that DPI inport functions don't look like fuction declarations.
12497 (verilog-pretty-expr): Don't line up assignment
12498 operations to the test and increment in if and for loops
12499 (verilog-extended-complete-re, verilog-complete-reg): Change so
12500 that DPI inport functions don't look like fuction declarations.
12501
12502 2012-05-03 Kenichi Handa <handa@m17n.org>
12503
12504 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12505 decoding, and show a warning message without signaling an error
12506 (Bug#11282).
12507
12508 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * emacs-lisp/bytecomp.el
12511 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12512 since cconv.el might have introduced :fun-body, internal-make-closure,
12513 and friends for bytecomp to handle (bug#11391).
12514 * custom.el (defcustom): Avoid ((λ ..) ..).
12515
12516 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12519
12520 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12521
12522 * notifications.el (dbus-debug):
12523 * term/linux.el (gpm-mouse-enable):
12524 * term/screen.el (xterm-register-default-colors): Declare.
12525
12526 2012-05-02 Chong Yidong <cyd@gnu.org>
12527
12528 * cus-start.el (gc-cons-percentage, exec-suffixes)
12529 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12530 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12531 (make-cursor-line-fully-visible, void-text-area-pointer)
12532 (font-list-limit): Add customization data.
12533
12534 * allout.el (allout-exposure-change-functions)
12535 (allout-structure-added-functions)
12536 (allout-structure-deleted-functions)
12537 (allout-structure-shifted-functions): Rename abnormal hooks from
12538 *-hook, and convert to defcustoms.
12539 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12540 Convert to defcustoms.
12541 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12542
12543 * allout-widgets.el: Hook callers changed.
12544
12545 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12546
12547 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12548 the yanked message in preference to the default value of
12549 buffer-file-coding-system.
12550
12551 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12552
12553 * window.el (display-buffer--action-function-custom-type):
12554 Fix entry.
12555
12556 2012-05-02 Alan Mackenzie <acm@muc.de>
12557
12558 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12559
12560 2012-05-01 Glenn Morris <rgm@gnu.org>
12561
12562 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12563
12564 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12565
12566 * cus-edit.el (custom-variable-documentation): Simplify with format.
12567
12568 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12569 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * simple.el (suggest-key-bindings, execute-extended-command):
12572 Move from keyboard.c.
12573
12574 2012-05-01 Chong Yidong <cyd@gnu.org>
12575
12576 * follow.el: Eliminate advice.
12577 (set-process-filter, process-filter, sit-for): Advice deleted.
12578 (follow-mode-off-hook): Obsolete hook removed.
12579 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12580 Vars deleted.
12581 (follow-auto): Use a :set function.
12582 (follow-mode): Rewritten. Don't advise process filters.
12583 (follow-switch-to-current-buffer-all, follow-scroll-up)
12584 (follow-scroll-down): Assume follow-mode is bound.
12585 (follow-comint-scroll-to-bottom)
12586 (follow-align-compilation-windows): New functions.
12587 (follow--window-sorter): New function.
12588 (follow-all-followers): Use it to explicitly sort windows by their
12589 positions; don't make assumptions about next-window order.
12590 (follow-windows-start-end, follow-delete-other-windows-and-split)
12591 (follow-calc-win-start): Doc fix.
12592 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12593 vertical-motion unnecessarily.
12594 (follow-adjust-window): New function.
12595 (follow-post-command-hook): Use it.
12596 (follow-call-set-process-filter, follow-call-process-filter)
12597 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12598 (follow-stop-intercept-process-output, follow-generic-filter):
12599 Functions deleted.
12600 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12601 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12602 New functions, replacing advice on scroll-bar-* commands.
12603 (follow-mwheel-scroll): New function (Bug#4112).
12604
12605 * comint.el (comint-adjust-point): New function.
12606 (comint-postoutput-scroll-to-bottom): Use it.
12607 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12608
12609 2012-05-01 Glenn Morris <rgm@gnu.org>
12610
12611 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12612 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12613 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12614 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12615 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12616 Remove no-byte-compile setting.
12617
12618 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12621 all-completions code to not return a number in the last cdr.
12622
12623 2012-04-30 Leo Liu <sdl.web@gmail.com>
12624
12625 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12626 read-only error.
12627
12628 2012-04-29 Chong Yidong <cyd@gnu.org>
12629
12630 * follow.el (follow-calc-win-end): Rewrite to handle partial
12631 screen lines correctly (Bug#8390).
12632 (follow-avoid-tail-recenter): Minor cleanup.
12633
12634 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12635
12636 Avoid the obsolete `assoc' package.
12637 * speedbar.el (speedbar-refresh): Avoid adelete.
12638 (speedbar-file-lists): Simplify and avoid aput.
12639 * man.el (Man--sections, Man--refpages): New vars, replacing
12640 Man-sections-alist and Man-refpages-alist.
12641 (Man-build-section-alist, Man-build-references-alist):
12642 Use them; avoid aput.
12643 (Man--last-section, Man--last-refpage): New vars.
12644 (Man-follow-manual-reference): Use them.
12645 Use the `default' arg of completing-read.
12646 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12647
12648 2012-04-27 Chong Yidong <cyd@gnu.org>
12649
12650 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12651
12652 * startup.el (x-apply-session-resources): New function.
12653
12654 * term/ns-win.el (ns-initialize-window-system):
12655 * term/w32-win.el (w32-initialize-window-system):
12656 * term/x-win.el (x-initialize-window-system): Use it to properly
12657 set menu-bar-mode and other vars from X resources, even if the
12658 initial frame is not a window-system frame (Bug#2299).
12659
12660 * subr.el (read-key): Avoid running filter function when setting
12661 up temporary tool bar entries (Bug#9922).
12662
12663 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12664
12665 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12666 (Bug#11344)
12667
12668 2012-04-27 Chong Yidong <cyd@gnu.org>
12669
12670 * select.el (xselect--encode-string): New function, split from
12671 xselect-convert-to-string.
12672 (xselect-convert-to-string): Use it.
12673 (xselect-convert-to-filename, xselect-convert-to-os)
12674 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12675 returned strings are properly encoded (Bug#11315).
12676
12677 2012-04-27 Chong Yidong <cyd@gnu.org>
12678
12679 * simple.el (delete-active-region): Move to killing custom group.
12680
12681 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12682
12683 * progmodes/which-func.el (which-func-current): Quote %
12684 characters for mode-line processing.
12685
12686 2012-04-27 Chong Yidong <cyd@gnu.org>
12687
12688 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12689 reaching eob (Bug#11286).
12690
12691 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12692
12693 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12694 (gdb): Make it buffer-local and init to zero.
12695 (gdb-control-commands-regexp): New variable.
12696 (gdb-send): Don't wrap in "-interpreter-exec console" if
12697 gdb-control-level is positive. Increment gdb-control-level
12698 whenever the command matches gdb-control-commands-regexp, and
12699 decrement it each time the command is "end". (Bug#11279)
12700
12701 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12702
12703 * window.el (adjust-window-trailing-edge, enlarge-window)
12704 (shrink-window, window-resize):
12705 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12706 windows (Bug#11276).
12707
12708 2012-04-27 Chong Yidong <cyd@gnu.org>
12709
12710 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12711 fix "missing prefix" warning. All callers changed.
12712
12713 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * emacs-lisp/assoc.el: Move to obsolete/.
12716
12717 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12720
12721 * term/ns-win.el (ns-define-service):
12722 * progmodes/pascal.el (pascal-goto-defun):
12723 * progmodes/js.el (js--read-tab):
12724 * progmodes/etags.el (tags-lazy-completion-table):
12725 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12726 * emacs-lisp/ewoc.el (ewoc--wrap):
12727 * emacs-lisp/assoc.el (aput, adelete, amake):
12728 * doc-view.el (doc-view-convert-current-doc):
12729 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12730
12731 2012-04-26 Chong Yidong <cyd@gnu.org>
12732
12733 * image.el (image-type-from-buffer): Only return supported image
12734 type (Bug#9045).
12735
12736 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12737 value, for symmetry with diff-end-of-hunk.
12738 (diff-split-hunk, diff-find-source-location)
12739 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12740 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12741 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12742 compute the relevant hunk or file properly (Bug#6005).
12743 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12744
12745 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * vc/vc-mtn.el:
12748 * vc/vc-hg.el:
12749 * vc/vc-git.el:
12750 * vc/vc-dir.el:
12751 * vc/vc-cvs.el:
12752 * vc/vc-bzr.el:
12753 * vc/vc-arch.el:
12754 * vc/vc.el: Replace lexical-let by lexical-binding.
12755 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12756 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12757 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12758
12759 2012-04-26 Chong Yidong <cyd@gnu.org>
12760
12761 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12762 (diff-mode-shared-map): Bind it to / and [remap undo].
12763
12764 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12765 (ediff-window-setup-function): Use it as the default, to set up
12766 windows based on whether the current frame is graphical (Bug#2138).
12767 (ediff-choose-window-setup-function-automatically): Make obsolete.
12768
12769 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12770
12771 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * ffap.el: Remove old code for obsolete package.
12774 (ffap-complete-as-file-p): Remove.
12775
12776 Use completion-table-with-quoting for comint and pcomplete.
12777 * comint.el (comint--unquote&requote-argument)
12778 (comint--unquote-argument, comint--requote-argument): New functions.
12779 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12780 (comint-quote-filename): Use regexp-opt-charset.
12781 (comint--common-suffix, comint--common-quoted-suffix)
12782 (comint--table-subvert): Remove.
12783 (comint-unquote-function, comint-requote-function): New vars.
12784 (comint--complete-file-name-data): Use them with
12785 completion-table-with-quoting.
12786 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12787 * pcomplete.el (pcomplete-arg-quote-list)
12788 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12789 (pcomplete-unquote-argument-function): Default to non-nil.
12790 (pcomplete-unquote-argument): Simplify.
12791 (pcomplete--common-quoted-suffix): Remove.
12792 (pcomplete-requote-argument-function): New var.
12793 (pcomplete--common-suffix): New function.
12794 (pcomplete-completions-at-point): Use completion-table-with-quoting
12795 and completion-table-subvert.
12796
12797 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12798 (minibuffer--double-dollars): Preserve properties.
12799 (completion--sifn-requote): New function.
12800 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12801
12802 * minibuffer.el: Add support for completion of quoted/escaped data.
12803 (completion-table-with-quoting, completion-table-subvert): New funs.
12804 (completion--twq-try, completion--twq-all): New functions.
12805 (completion--nth-completion): New function.
12806 (completion-try-completion, completion-all-completions): Use it.
12807
12808 2012-04-25 Leo Liu <sdl.web@gmail.com>
12809
12810 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12811 Use compilation-message if available to find real filename.
12812
12813 2012-04-25 Chong Yidong <cyd@gnu.org>
12814
12815 * vc/diff-mode.el (diff-setup-whitespace): New function.
12816 (diff-mode): Use it.
12817
12818 * vc/diff.el (diff-sentinel):
12819 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12820 Whitespace mode variables based on diff style (Bug#8612).
12821
12822 2012-04-25 Leo Liu <sdl.web@gmail.com>
12823
12824 * progmodes/python.el (python-send-region): Add suffix .py to the
12825 temp file.
12826
12827 * files.el (auto-mode-alist): Use javascript-mode instead.
12828
12829 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12830
12831 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12832
12833 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12834 (soap-resolve-references-for-array-type): Hack to prevent self
12835 references, see Bug#9.
12836 (soap-parse-envelope): Report the contents of the 'detail' node
12837 when receiving a fault reply.
12838 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12839
12840 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12841 (soap-inspect-simple-type): New function.
12842
12843 * net/soap-client.el (soap-simple-type): New struct.
12844 (soap-default-xsd-types, soap-default-soapenc-types)
12845 (soap-decode-basic-type, soap-encode-basic-type):
12846 support unsignedInt and double basic types.
12847 (soap-resolve-references-for-simple-type)
12848 (soap-parse-simple-type, soap-encode-simple-type): New function.
12849 (soap-parse-schema): Parse xsd:simpleType declarations.
12850
12851 * net/soap-client.el (soap-default-xsd-types)
12852 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12853 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12854 the local name of "soapenc:Array".
12855 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12856 decoding integer, byte and anyURI xsd types.
12857
12858 2012-04-25 Chong Yidong <cyd@gnu.org>
12859
12860 * cus-edit.el (custom-buffer-create-internal): Update header text.
12861
12862 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12863
12864 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12865 settings on 'system-type', not on 'window-system'. On MS-Windows,
12866 set interactive-mode on in GDB.
12867
12868 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12871 (ruby-syntax-propertize-regexp): Remove.
12872 (ruby-syntax-propertize-function): Split regexp into chunks.
12873 Match following code directly.
12874
12875 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12876
12877 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12878 (ruby-syntax-propertize-regexp): New function.
12879 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12880 by a special keyword.
12881
12882 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12883 (ruby-syntax-general-delimiters-goto-beg)
12884 (ruby-syntax-propertize-general-delimiters): New functions.
12885 (ruby-syntax-propertize-function): Use them to handle GDL.
12886 (ruby-font-lock-keywords): Move old handling of GDL...
12887 (ruby-font-lock-syntactic-keywords): .. to here.
12888 (ruby-calculate-indent): Adjust indentation for GDL.
12889
12890 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12891
12892 * notifications.el (top): Remove unneeded declarations.
12893 (notifications-specification-version): Change to "1.2".
12894 (notifications-interface, notifications-notify-method)
12895 (notifications-close-notification-method): Fix docstring.
12896 (notifications-get-capabilities-method): New defconst.
12897 (notifications-notify): Add :action-items, :resident and
12898 :transient hints. Change "image_data" to "image-data" and
12899 "image_path" to "image-path".
12900 (notifications-get-capabilities): New defun.
12901
12902 2012-04-24 Leo Liu <sdl.web@gmail.com>
12903
12904 * progmodes/python.el: Move hideshow setup to the end.
12905
12906 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12907
12908 * window.el (handle-select-window): Clear echo area since this is
12909 no more done by read_char (Bug#11304).
12910
12911 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12914 and `/ M' to filter-derived-mode.
12915 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12916 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12917 (ibuffer-mark-by-mode): Use default rather than initial-input.
12918 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12919
12920 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12921
12922 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12923 (ibuffer-filter-by-derived-mode): New filter.
12924 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12925
12926 2012-04-23 Andreas Politz <politza@fh-trier.de>
12927
12928 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12929
12930 2012-04-23 Chong Yidong <cyd@gnu.org>
12931
12932 * cus-edit.el (customize-apropos, customize-apropos-options):
12933 Disable matching of non-option variables (Bug#11176).
12934 (customize-option, customize-option-other-window)
12935 (customize-changed-options): Doc fix.
12936 (customize-apropos-options, customize-apropos-faces)
12937 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12938
12939 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12940 Fix word list splitting (Bug#11132).
12941 (apropos-symbol, apropos-keybinding, apropos-label)
12942 (apropos-property, apropos-function-button)
12943 (apropos-variable-button, apropos-misc-button): New faces.
12944 (apropos-symbol-face, apropos-keybinding-face)
12945 (apropos-label-face, apropos-property-face, apropos-match-face):
12946 Variables removed (Bug#8396).
12947 (apropos-library-button, apropos-format-plist, apropos-print)
12948 (apropos-print-doc, apropos-describe-plist): Callers changed.
12949
12950 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12951
12952 * net/xesam.el (xesam-mode-map): Use let-bound map in
12953 initialization. (Bug#11292)
12954
12955 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12956
12957 Preserve ispell session localwords when switching back to
12958 original buffer.
12959
12960 * textmodes/ispell.el (ispell-buffer-session-localwords):
12961 New buffer-local variable to hold buffer session localwords.
12962 (ispell-kill-ispell): Add option 'clear to delete session
12963 localwords.
12964 (ispell-command-loop, ispell-change-dictionary)
12965 (ispell-buffer-local-words): Preserve session localwords when
12966 needed.
12967
12968 * textmodes/flyspell.el (flyspell-process-localwords)
12969 (flyspell-do-correct): Preserve session localwords when needed.
12970
12971 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12972
12973 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12974 using obsolete `translation-table-for-input'.
12975 (ispell-word, ispell-process-line, ispell-complete-word):
12976 Use plain `insert' instead of removed `ispell-insert-word'.
12977
12978 2012-04-22 Chong Yidong <cyd@gnu.org>
12979
12980 * cus-edit.el (custom-variable-menu)
12981 (custom-variable-reset-saved, custom-face-menu)
12982 (custom-face-reset-saved): If there is no saved value, make the
12983 "reset-saved" operation bring back the default (Bug#9509).
12984 (custom-face-state): Properly detect themed faces.
12985
12986 * faces.el (face-spec-set): Stop supporting deprecated form of
12987 third arg.
12988
12989 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12990
12991 Move functions from C to Lisp. Make non-blocking method calls
12992 the default. Implement further D-Bus standard interfaces.
12993
12994 * net/dbus.el (dbus-message-internal): Declare function.
12995 Remove unneeded function declarations.
12996 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12997 (dbus-message-type-method-return, dbus-message-type-error)
12998 (dbus-message-type-signal): Declare variables. Remove local
12999 definitions.
13000 (dbus-interface-dbus, dbus-interface-peer)
13001 (dbus-interface-introspectable, dbus-interface-properties)
13002 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13003 Adapt docstring.
13004 (dbus-interface-objectmanager): New defconst.
13005 (dbus-call-method, dbus-call-method-asynchronously)
13006 (dbus-send-signal, dbus-method-return-internal)
13007 (dbus-method-error-internal, dbus-register-service)
13008 (dbus-register-signal, dbus-register-method): New defuns, moved
13009 from dbusbind.c
13010 (dbus-call-method-handler, dbus-setenv)
13011 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13012 New defuns.
13013 (dbus-call-method-non-blocking): Make it an obsolete function.
13014 (dbus-unregister-object, dbus-unregister-service)
13015 (dbus-handle-event, dbus-register-property)
13016 (dbus-property-handler): Obey the new structure of
13017 `bus-registered-objects'.
13018 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13019 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13020 Use `dbus-call-method'.
13021
13022 2012-04-22 Chong Yidong <cyd@gnu.org>
13023
13024 * cus-edit.el (custom-commands, custom-reset-menu)
13025 (Custom-reset-standard): Tweak labels.
13026 (custom-reset-button-menu): Change default to t.
13027 (custom-buffer-create-internal): For the custom-reset-button-menu
13028 case, put the revert button first.
13029 (custom-group-subtitle): New face.
13030 (custom-group-value-create): Align docstring to a specific column.
13031
13032 * wid-edit.el (widget-documentation-link-add): Don't handle
13033 indentation in this function.
13034 (widget-documentation-string-indent-to): New function.
13035 (widget-documentation-string-value-create): Use it.
13036
13037 * autorevert.el (auto-revert):
13038 * epg-config.el (epg):
13039 * ibuffer.el (ibuffer):
13040 * mpc.el (mpc):
13041 * ses.el (ses):
13042 * eshell/eshell.el (eshell):
13043 * net/ange-ftp.el (ange-ftp):
13044 * progmodes/ebnf2ps.el (postscript):
13045 * progmodes/flymake.el (flymake):
13046 * progmodes/prolog.el (prolog):
13047 * progmodes/verilog-mode.el (verilog-mode):
13048 * progmodes/which-func.el (which-func):
13049 * term/xterm.el (xterm):
13050 * textmodes/picture.el (picture):
13051 * textmodes/tildify.el (tildify):
13052 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13053 customization buffers.
13054
13055 2012-04-22 Alan Mackenzie <acm@muc.de>
13056
13057 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13058 Adding a ) can hide the resulting (..) from searches. Fix it.
13059 Bound the backward search to the position of the existing (.
13060
13061 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13062
13063 * progmodes/verilog-mode.el (verilog-mode): Check whether
13064 which-func-modes is t before adding verilog-mode.
13065 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13066
13067 2012-04-21 Leo Liu <sdl.web@gmail.com>
13068
13069 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13070
13071 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13072
13073 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13074 filling of the last column of a table (Bug#5635).
13075 (woman-find-next-control-line): New arg, specifying an additional
13076 regexp component for the control line.
13077 (woman2-roff-buffer): Use it.
13078 (woman-break-table): New function.
13079 (woman2-TS): Use it.
13080
13081 2012-04-21 Chong Yidong <cyd@gnu.org>
13082
13083 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13084 (woman-horizontal-escapes, woman-negative-vertical-space)
13085 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13086 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13087
13088 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * minibuffer.el (completion-file-name-table): Complete user names.
13091
13092 2012-04-20 Leo Liu <sdl.web@gmail.com>
13093
13094 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13095 and pcase-let*.
13096
13097 2012-04-20 Chong Yidong <cyd@gnu.org>
13098
13099 * server.el (server-execute): Respect initial-buffer-choice if it
13100 is a string and there are no files to open (Bug#2825).
13101 (server-create-window-system-frame, server-create-tty-frame):
13102 Don't switch buffers here.
13103 (server-process-filter): Only try to open a window system frame if
13104 compiled with graphical support (Bug#8314).
13105
13106 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13107
13108 * battery.el (battery-echo-area-format): Display remaining time
13109 for sysfs backend too (Bug#11269).
13110 (battery-linux-sysfs): Fix conditional for the charge.
13111
13112 2012-04-20 Chong Yidong <cyd@gnu.org>
13113
13114 * progmodes/gdb-mi.el (gdb): Revert previous change.
13115 (gdb-inferior-io--init-proc): New function.
13116 (gdb-init-1): Use it.
13117 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13118 responsible for allocating a new pty and hooking it to gdb when
13119 the old pty gets an EIO due to process exit.
13120 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13121 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13122 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13123
13124 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13125
13126 * window.el (window-min-size, window-sizable, window-min-delta)
13127 (window-max-delta, window--resizable, window-resizable)
13128 (window-total-size, window-full-height-p, window-full-width-p)
13129 (window-in-direction, window--resize-mini-window, window-resize)
13130 (window--resize-child-windows-normal)
13131 (window--resize-child-windows, window--resize-siblings)
13132 (window--resize-this-window, adjust-window-trailing-edge)
13133 (enlarge-window, shrink-window): Doc fixes.
13134
13135 2012-04-20 Chong Yidong <cyd@gnu.org>
13136
13137 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13138 New function to call delete-process on the gdb-inferior buffer's pty.
13139 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13140 pty process (Bug#11273).
13141 (gdb-update): New arg to suppress talking to the gdb process.
13142 (gdb-done-or-error): Use it.
13143 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13144 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13145 sentinel not being called.
13146
13147 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13148
13149 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13150
13151 2012-04-20 Glenn Morris <rgm@gnu.org>
13152
13153 * net/network-stream.el (open-network-stream): Doc fix.
13154
13155 2012-04-20 Chong Yidong <cyd@gnu.org>
13156
13157 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13158
13159 2012-04-20 Alan Mackenzie <acm@muc.de>
13160
13161 Ensure searching for keywords is case sensitive.
13162
13163 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13164 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13165 (c-defun-name, c-mark-function, c-cpp-define-name)
13166 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13167 (c-context-line-break): Bind case-fold-search to nil.
13168
13169 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13170 Bind case-fold-search to nil.
13171
13172 2012-04-20 Chong Yidong <cyd@gnu.org>
13173
13174 * mail/sendmail.el (mail-bury): Call return action with the right
13175 Rmail buffer (Bug#11242).
13176
13177 * server.el (server-process-filter): Handle corner case where both
13178 tty and nowait options are present (Bug#11102).
13179
13180 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13181
13182 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13183 (top level): Put into the executable the ident-style '$Id:' tag on
13184 windows-nt as well.
13185
13186 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13187
13188 * electric.el (electric-indent-post-self-insert-function): Check that
13189 electric-indent-mode is enabled in current buffer.
13190
13191 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13192
13193 * imenu.el (imenu-progress-message): Restore; it is "used" in
13194 erc/erc-imenu.el and net/snmp-mode.el.
13195
13196 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13197
13198 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13199 (mouse-avoidance-nudge-mouse): Remove unused binding.
13200
13201 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13202
13203 * descr-text.el (describe-char):
13204 * progmodes/python.el (python-describe-symbol):
13205 Don't call `toggle-read-only', set `buffer-read-only'.
13206
13207 * imenu.el (imenu-default-goto-function): Mark unused args.
13208 (imenu-progress-message): Remove obsolete macro; all callers changed.
13209
13210 * subr.el (keymap-canonicalize): Remove unused binding.
13211 (read-passwd): Mark unused arg.
13212
13213 * tutorial.el (tutorial--display-changes): Remove unused binding.
13214 (tutorial--save-tutorial-to): Remove unused variable.
13215
13216 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13217 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13218 (package-generate-autoloads, package-menu--generate)
13219 (package-menu--find-upgrades): Remove unused bindings.
13220
13221 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13222 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13223 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13224 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13225 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13226 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13227 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13228 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13229 (cua-delete-char-rectangle): Mark unused args.
13230 (cua-align-rectangle): Remove unused binding.
13231
13232 * mail/rmail.el (compilation--message->loc)
13233 (epa--find-coding-system-for-mime-charset): Declare.
13234
13235 * net/dbus.el (dbus-register-service): Declare.
13236 (dbus-name-owner-changed-handler): Remove unused binding.
13237
13238 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13239 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13240 (nxml-scan-backward-within): Mark unused arg.
13241 (nxml-dynamic-markup-word): Remove unused binding.
13242
13243 * mouse.el (mouse-menu-major-mode-map):
13244 * emacs-lisp/authors.el (authors-scan-change-log)
13245 (authors-add-to-author-list):
13246 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13247 * emacs-lisp/smie.el (smie-auto-fill):
13248 * mail/sendmail.el (mail-bury):
13249 * mail/unrmail.el (unrmail):
13250 * net/tls.el (open-tls-stream):
13251 * textmodes/picture.el (picture-mouse-set-point):
13252 Remove unused bindings.
13253
13254 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13255
13256 * net/tramp.el (tramp-action-password): Let-bind
13257 `enable-recursive-minibuffers' to t.
13258
13259 2012-04-18 Sam Steingold <sds@gnu.org>
13260
13261 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13262 instead of 'string to accommodate values like [f11].
13263 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13264 * progmodes/gdb-mi.el: Likewise.
13265
13266 2012-04-18 Leo Liu <sdl.web@gmail.com>
13267
13268 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13269 current buffer.
13270 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13271 LOCAL is nil.
13272
13273 2012-04-18 Chong Yidong <cyd@gnu.org>
13274
13275 * simple.el (line-move): Use forward-line if in batch mode
13276 (Bug#11053).
13277
13278 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13279
13280 * files.el (after-find-file): Do not try to add a final newline if
13281 the buffer is read-only (Bug#11156).
13282
13283 2012-04-17 Richard Stallman <rms@gnu.org>
13284
13285 * mail/rmail.el (rmail-start-mail):
13286 Pass (rmail-mail-return...) for the return-action.
13287 Pass (rmail-yank-current-message...) for the yank-action.
13288 (rmail-yank-current-message): New function.
13289 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13290 (rmail-reply): Likewise.
13291 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13292
13293 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13294 buffer, not the last. Reject temp buffers. Use the rmail-mode
13295 buffer, not newbuf.
13296
13297 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13298
13299 * server.el (server-ensure-safe-dir): Simplify.
13300
13301 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13302
13303 * emacs-lisp/smie.el: Provide smarter auto-filling.
13304 (smie-auto-fill): New function.
13305 (smie-setup): Use it.
13306
13307 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13308
13309 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13310
13311 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13312 (comment-indent): Use it.
13313
13314 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13315
13316 * ses.el: The overall change is to add cell renaming, that is
13317 setting fancy names for cell symbols other than name matching
13318 "\\`[A-Z]+[0-9]+\\'" regexp .
13319 (ses-localvars): Add ses--renamed-cell-symb-list.
13320 (ses-create-cell-variable): New defun.
13321 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13322 (ses-relocate-formula): Relocate formulas only for cells the
13323 symbols of which are not renamed, i.e. symbols whose names do not
13324 match regexp "\\`[A-Z]+[0-9]+\\'".
13325 (ses-relocate-all): Relocate values only for cells the symbols of
13326 which are not renamed.
13327 (ses-load): Create cells variables as the (ses-cell ...) are read,
13328 in order to check row col consistency with cell symbol name only
13329 for cells that are not renamed.
13330 (ses-replace-name-in-formula): New defun.
13331 (ses-rename-cell): New defun.
13332
13333 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13334
13335 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13336 New option (bug#11118).
13337 (perl-calculate-indent): Respect it.
13338
13339 2012-04-17 Glenn Morris <rgm@gnu.org>
13340
13341 * dired-aux.el (dired-mark-read-string): Doc fix.
13342
13343 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13344
13345 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13346 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13347
13348 2012-04-17 Glenn Morris <rgm@gnu.org>
13349
13350 * mouse.el (mouse-drag-track):
13351 * speedbar.el (speedbar-frame-mode):
13352 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13353
13354 2012-04-16 Leo Liu <sdl.web@gmail.com>
13355
13356 * progmodes/python.el: Trivial cleanup.
13357
13358 2012-04-16 Glenn Morris <rgm@gnu.org>
13359
13360 * vc/vc.el (vc-string-prefix-p):
13361 * vc/pcvs-util.el (cvs-string-prefix-p):
13362 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13363 * mpc.el (mpc-string-prefix-p):
13364 Make all of these into obsolete aliases for string-prefix-p.
13365 Update callers.
13366 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13367
13368 * textmodes/two-column.el: Move custom options to the start.
13369 (frame-width): Remove compat definition.
13370 (2C-associate-buffer, 2C-dissociate):
13371 Use with-current-buffer rather than save-excursion.
13372 (2C-dissociate): Force a mode-line update.
13373 (2C-autoscroll): Use ignore-errors.
13374
13375 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13376 Autoload trivia.
13377
13378 * emacs-lisp/cl-extra.el (*random-state*):
13379 Remove unnecessary declaration.
13380
13381 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13382
13383 * play/cookie1.el (cookie-snarf):
13384 Give an explicit error if input file cannot be read.
13385
13386 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13387
13388 * progmodes/perl-mode.el (c-macro-expand):
13389 Remove unnecessary autoload (it is in loaddefs.el).
13390
13391 * textmodes/picture.el (picture-desired-column)
13392 (picture-update-desired-column): Convert comments to doc-strings.
13393 (picture-substitute): Remove function.
13394 (picture-mode-map): Initialize in the defvar.
13395
13396 * woman.el: Remove eval-after-load for tar-mode.
13397 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13398 (woman-tar-extract-file): Autoload it.
13399
13400 * frame.el (automatic-hscrolling): Make this alias obsolete.
13401
13402 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13403
13404 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13405 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13406 (ispell-dictionary-base-alist): Revert to original XEmacs
13407 friendly version for default. [:alpha:] will be added in
13408 `ispell-set-spellchecker-params' if needed.
13409
13410 2012-04-16 Chong Yidong <cyd@gnu.org>
13411
13412 * image.el (imagemagick--file-regexp): New variable.
13413 (imagemagick-register-types): Use it.
13414 (imagemagick-types-inhibit): Add :set function. Allow new value
13415 of t to inhibit all types.
13416
13417 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13418 so we can preload it.
13419
13420 * loadup.el (fboundp): Preload regexp-opt, needed by
13421 imagemagick-register-types.
13422
13423 2012-04-15 Chong Yidong <cyd@gnu.org>
13424
13425 * frame.el (scrolling): Remove nearly unused customization group.
13426
13427 * scroll-all.el (scroll-all-mode): Move to windows group.
13428
13429 2012-04-15 Chong Yidong <cyd@gnu.org>
13430
13431 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13432
13433 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13434
13435 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13436 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13437
13438 2012-04-15 Glenn Morris <rgm@gnu.org>
13439
13440 * simple.el (process-file-side-effects): Doc fix.
13441
13442 2012-04-15 Glenn Morris <rgm@gnu.org>
13443
13444 * international/mule-cmds.el (set-language-environment): Doc fix.
13445
13446 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13447
13448 * server.el (server-auth-key, server-generate-key): Doc fixes.
13449 (server-get-auth-key): Doc fix. Use `string-match-p'.
13450 (server-start): Reflow docstring.
13451
13452 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13453
13454 * server.el (server-generate-key): `called-interactively-p'
13455 requires a parameter.
13456
13457 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13458
13459 * server.el (server-auth-key): New variable.
13460 (server-generate-key, server-get-auth-key): New function.
13461 (server-start): Use the new variable and functions to allow
13462 setting a permanent server key (bug#9423).
13463
13464 2012-04-14 Leo Liu <sdl.web@gmail.com>
13465
13466 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13467
13468 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13469
13470 Spelling fixes.
13471 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13472 Emacs uses American spelling.
13473
13474 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13475
13476 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13477 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13478 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13479 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13480
13481 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * progmodes/which-func.el (which-func-modes): Change default.
13484
13485 2012-04-14 Kim F. Storm <storm@cua.dk>
13486
13487 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13488 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13489
13490 2012-04-14 Chong Yidong <cyd@gnu.org>
13491
13492 * custom.el (custom-theme-set-variables): Doc fix.
13493
13494 2012-04-14 Glenn Morris <rgm@gnu.org>
13495
13496 * international/mule.el (set-auto-coding-for-load): Doc fix.
13497
13498 2012-04-14 Alan Mackenzie <acm@muc.de>
13499
13500 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13501 imenu work again for Objective C Mode. Correct the *-index values,
13502 these having been disturbed by a previous change in 2011-08.
13503
13504 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13505 Correct two search limits.
13506
13507 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13510
13511 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13512
13513 * international/characters.el: Fix sorting.
13514
13515 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13516
13517 * international/characters.el: Add more missing Latin case pairs.
13518
13519 2012-04-14 Glenn Morris <rgm@gnu.org>
13520
13521 * files.el (dir-locals-set-class-variables): Doc fix.
13522
13523 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13524
13525 * international/characters.el: Add set-case-syntax-pair call for
13526 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13527 counterpart. (Bug#11209)
13528
13529 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13530
13531 2012-04-14 Glenn Morris <rgm@gnu.org>
13532
13533 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13534
13535 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13536
13537 * textmodes/ispell.el (ispell-dictionary-base-alist):
13538 Add data for Hebrew.
13539
13540 2012-04-14 Chong Yidong <cyd@gnu.org>
13541
13542 * net/rcirc.el (rcirc-cmd-quit):
13543 Revert 2012-03-18 change (Bug#11192).
13544
13545 2012-04-14 Glenn Morris <rgm@gnu.org>
13546
13547 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13548
13549 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13550
13551 * minibuffer.el (completion-in-region-mode-map):
13552 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13553
13554 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13555
13556 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13557
13558 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13559
13560 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13561 to allow `C-M-f' and `C-M-b' to move to the nearest path
13562 separator (bug#9511).
13563
13564 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13565
13566 * avoid.el: Require cl when compiling. And also move the
13567 `provide' to the end.
13568
13569 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13570
13571 * avoid.el (mouse-avoidance-banish-position): New variable.
13572 (mouse-avoidance-banish-destination): Use it (bug#10165).
13573
13574 2012-04-13 Leo Liu <sdl.web@gmail.com>
13575
13576 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13577
13578 2012-04-13 Ken Brown <kbrown@cornell.edu>
13579
13580 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13581 this is no longer needed now that cygstart understands file:// URLs.
13582 (browse-url-filename-alist): For the same reason, don't modify
13583 file:// URLs on Cygwin.
13584
13585 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13586
13587 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13588 the region on shift if the binding is already shifted (bug#11221).
13589
13590 2012-04-12 Glenn Morris <rgm@gnu.org>
13591
13592 * mail/mailpost.el: Move to obsolete/.
13593
13594 2012-04-12 Drew Adams <drew.adams@oracle.com>
13595
13596 * imenu.el (imenu--generic-function): Ignore invisible definitions
13597 (bug#10123).
13598
13599 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13600
13601 * hexl.el (hexl-bits): New variable.
13602 (hexl-options): Mention the variable in the doc string.
13603 (hexl-rulerise, hexl-line-displen): New functions.
13604 (hexl-mode): Mention the new variable.
13605 (hexl-mode, hexl-current-address, hexl-current-address):
13606 Use the displen.
13607 (hexl-ascii-start-column): New function.
13608 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13609 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13610
13611 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13612
13613 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13614 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13615 the encoding, as expected by hunspell.
13616
13617 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * battery.el (battery--linux-sysfs-regexp): New const.
13620 (battery-status-function): Use it. Remove yeeloong special case.
13621 (battery-yeeloong-sysfs): Remove.
13622 (battery-echo-area-format): Remove yeeloong special case.
13623
13624 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13627 Reported by Noah Friedman.
13628
13629 * subr.el (read-passwd): Use read-string.
13630
13631 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13632
13633 * vcursor.el (vcursor-move): Increase the priority of the overlay
13634 (bug#9663).
13635
13636 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13637
13638 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13639 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13640
13641 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13642
13643 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13644 define-minor-mode (bug#10760).
13645
13646 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13647
13648 * progmodes/grep.el (rgrep): Tweak the find command line so
13649 that directories matching `grep-find-ignored-files' won't be
13650 pruned (bug#10351).
13651
13652 2012-04-11 Chong Yidong <cyd@gnu.org>
13653
13654 * startup.el (command-line): Remove support for long-obsolete
13655 variable font-lock-face-attributes.
13656
13657 2012-04-11 Glenn Morris <rgm@gnu.org>
13658
13659 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13660
13661 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13662
13663 * window.el (window--state-get-1): Obey window-point-insertion-type.
13664
13665 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13666
13667 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13668 to previous function when point is on the first character of a
13669 function. Take care of that in `narrow-to-defun' (bug#6157).
13670
13671 2012-04-11 Glenn Morris <rgm@gnu.org>
13672
13673 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13674 not just file-errors.
13675
13676 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13677 (vc-bzr-sha1): Use internal sha1.
13678
13679 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13680
13681 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13682
13683 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13684
13685 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13686 that start in the middle of the line (bug#10496).
13687
13688 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13689
13690 * battery.el (battery-linux-proc-acpi): Only one battery is
13691 discharged at a time, but that seems to confuse battery.el when
13692 computing `rate-type' for the battery not being discharged
13693 (bug#10332).
13694
13695 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13696
13697 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13698
13699 * international/quail.el: Use dolist and simplify.
13700 (quail-define-package, quail-update-keyboard-layout)
13701 (quail-define-rules): Use dolist.
13702 (quail-insert-kbd-layout, quail-get-translation): CSE.
13703
13704 * tmm.el: Use dolist, remove left over hook.
13705 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13706 Use dolist.
13707 (calendar-load-hook): Don't mess with it.
13708
13709 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13710 Use derived-mode-p. Run the diff asynchronously.
13711
13712 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13713
13714 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13715
13716 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13717
13718 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13719 (list-dynamic-libraries--loaded): New function.
13720 (list-dynamic-libraries--refresh): Use it.
13721
13722 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13723
13724 * progmodes/python.el (python-fill-paragraph):
13725 Make python-fill-region in a multiline string work when font-lock is
13726 disabled (bug#7018).
13727
13728 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13729
13730 * language/european.el (cp775): Add oem/legacy (en)coding on
13731 DOS/MS Windows for the Baltic languages. There are still plenty
13732 of texts written in this encoding/codepage (bug#6519).
13733
13734 2012-04-10 Glenn Morris <rgm@gnu.org>
13735
13736 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13737 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13738
13739 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13740
13741 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13742 next-line "n" and previous-line "p" in order to make recentf more
13743 consistent with ibuffer, dired or org-mode (bug#9387).
13744
13745 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13746
13747 * image.el (put-image): Return the overlay created instead of the
13748 optional input string (bug#7834). Note that this may break code
13749 that is (for some reason or other) depending on `put-image'
13750 returning the string.
13751
13752 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13753
13754 * simple.el (zap-to-char): Allow zapping using input methods
13755 (bug#1580).
13756
13757 * textmodes/fill.el (fill-region): Leave point and mark where they
13758 were before filling (bug#5399).
13759
13760 2012-04-09 Glenn Morris <rgm@gnu.org>
13761
13762 * version.el (emacs-bzr-get-version):
13763 Handle lightweight checkouts of local branches.
13764
13765 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13766
13767 * international/characters.el: Recover lost case pairs. (Bug#11209)
13768
13769 2012-04-09 Chong Yidong <cyd@gnu.org>
13770
13771 * custom.el (custom-variable-p): Return nil for non-symbol
13772 arguments instead of signaling an error.
13773 (user-variable-p): Obsolete alias for custom-variable-p.
13774
13775 * apropos.el (apropos-variable):
13776 * files-x.el (read-file-local-variable):
13777 * simple.el (set-variable):
13778 * woman.el (woman-mini-help):
13779 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13780
13781 2012-04-09 Glenn Morris <rgm@gnu.org>
13782
13783 * startup.el (normal-top-level): Don't look for leim-list.el
13784 in places where it will not be found. (Bug#910)
13785
13786 * international/mule-cmds.el (set-default-coding-systems):
13787 * files.el (normal-mode):
13788 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13789 This function was removed with ucs-tables.el in 2008.
13790
13791 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13792
13793 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13794 ispell-encoding8-command to "-i", without a trailing space.
13795 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13796 separate command-line arguments, to specify the encoding, since
13797 that's how hunspell expects it.
13798
13799 2012-04-08 Glenn Morris <rgm@gnu.org>
13800
13801 * loadup.el: Load bindings before cus-start.
13802 This reduces somewhat the number of "rogue" settings in emacs -Q.
13803
13804 2012-04-07 Glenn Morris <rgm@gnu.org>
13805
13806 * version.el (emacs-bzr-get-version): New function.
13807 (emacs-bzr-version): New variable.
13808 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13809 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13810
13811 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13812
13813 * international/uni-bidi.el, international/uni-category.el:
13814 * international/uni-combining.el, international/uni-decimal.el:
13815 * international/uni-decomposition.el, international/uni-digit.el:
13816 * international/uni-lowercase.el, international/uni-mirrored.el:
13817 * international/uni-name.el, international/uni-numeric.el:
13818 * international/uni-titlecase.el, international/uni-uppercase.el:
13819 Update for Unicode 6.1.
13820
13821 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13822
13823 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13824
13825 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13826
13827 * window.el (shrink-window): Mention the `window-min-height'
13828 variable in the doc string.
13829
13830 2012-04-05 Bastien Guerry <bzg@altern.org>
13831
13832 * color.el (color-lighten-name): Fix typo.
13833
13834 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * server.el (server--on-display-p): New function.
13837 (server--on-display-p): Use it.
13838
13839 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13840
13841 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13842 (bug#11145).
13843
13844 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * comint.el (comint--common-quoted-suffix): Check string boundary
13847 before comparing (bug#11158).
13848 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13849
13850 2012-04-04 Chong Yidong <cyd@gnu.org>
13851
13852 * minibuffer.el (completion-extra-properties): Doc fix.
13853
13854 * subr.el (delayed-warnings-hook): Doc fix.
13855
13856 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13857
13858 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13859 selection (Bug#11159).
13860 (epa-insert-keys): Inform that the default public key will be
13861 exported if no key is selected.
13862
13863 2012-04-04 Richard Stallman <rms@gnu.org>
13864
13865 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13866
13867 2012-04-03 Chong Yidong <cyd@gnu.org>
13868
13869 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13870 mail-insert-file, not its obsolete alias mail-attach-file.
13871
13872 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13873
13874 * notifications.el (notifications-notify): Fix docstring.
13875
13876 2012-04-02 Glenn Morris <rgm@gnu.org>
13877
13878 * emacs-lisp/authors.el (authors-aliases): Another addition.
13879
13880 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13881
13882 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13883 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13884 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13885
13886 2012-04-01 Chong Yidong <cyd@gnu.org>
13887
13888 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13889 Handle root directory properly.
13890 (copy-directory): Caller changed.
13891
13892 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13893 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13894
13895 2012-03-31 Glenn Morris <rgm@gnu.org>
13896
13897 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13898
13899 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13900
13901 * calendar/calendar.el (calendar-window-list)
13902 (calendar-hide-window): Restore. (Bug#11140)
13903 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13904
13905 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13906
13907 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13908
13909 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13910 Check if file is a symlink (Bug#10489).
13911
13912 * files.el (copy-directory): Likewise.
13913
13914 2012-03-30 Chong Yidong <cyd@gnu.org>
13915
13916 * image.el (imagemagick-types-inhibit)
13917 (imagemagick-register-types): Doc fix.
13918
13919 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13920
13921 * textmodes/ispell.el (ispell-get-extended-character-mode):
13922 Disable extended-char-mode for hunspell. hunspell does not support it
13923 and treats ~word as ordinary words in pipe mode.
13924
13925 2012-03-30 Glenn Morris <rgm@gnu.org>
13926
13927 * tutorial.el (help-with-tutorial): Ensure local variables don't
13928 happen to make the buffer read-only. (Bug#11127)
13929
13930 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13931
13932 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13933 (perl-calculate-indent): Return `noindent' in strings.
13934
13935 2012-03-28 Sam Steingold <sds@gnu.org>
13936
13937 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13938 instead of the broken adhockery which does not prevent calendar
13939 buffers from being displayed at random after exit.
13940 (calendar-window-list, calendar-hide-window): Remove the broken
13941 adhockery.
13942
13943 2012-03-28 Glenn Morris <rgm@gnu.org>
13944
13945 * replace.el (query-replace-map): Doc fix.
13946
13947 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13948
13949 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13950 contents. (Bug#11109)
13951
13952 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13955 (bug#11077).
13956 (avl-tree--check, avl-tree--check-node): New funs.
13957
13958 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13959
13960 * window.el (switch-to-visible-buffer): New option.
13961 (switch-to-prev-buffer, switch-to-next-buffer):
13962 Observe switch-to-visible-buffer. Make sure that checking for a window
13963 showing a buffer already is done on the same frame.
13964
13965 2012-03-27 Glenn Morris <rgm@gnu.org>
13966
13967 * startup.el (mail-host-address): Doc fix.
13968
13969 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13972 than 197 variables.
13973
13974 2012-03-26 Ami Fischman <ami@fischman.org>
13975
13976 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13977
13978 2012-03-26 Glenn Morris <rgm@gnu.org>
13979
13980 * files.el (save-buffers-kill-emacs): Doc fix.
13981
13982 * startup.el (normal-top-level, command-line, command-line-1):
13983 Give them doc strings.
13984
13985 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13986
13987 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13988 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13989
13990 2012-03-25 Chong Yidong <cyd@gnu.org>
13991
13992 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13993 theme if it was previously enabled before (Bug#11031).
13994
13995 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13996 spec with custom-face-get-current-spec if its :shown-value is not
13997 determined yet (Bug#9337).
13998 (customize-create-theme, custom-theme-revert): Doc fixes.
13999
14000 * button.el (button-at): Minor addition to docstring.
14001
14002 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14003
14004 * vc/vc.el (vc-merge): Fix a prompt.
14005
14006 2012-03-24 Chong Yidong <cyd@gnu.org>
14007
14008 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14009 point (Bug#9623).
14010
14011 * button.el (button-at): Minor addition to docstring.
14012
14013 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14014
14015 * newcomment.el (comment-choose-indent): No space after BOL.
14016
14017 2012-03-22 Sam Steingold <sds@gnu.org>
14018
14019 * window.el (switch-to-prev-buffer): Revert last patch because the
14020 bug turned out to be an advertised feature (Elisp manual 28.14).
14021
14022 2012-03-22 Glenn Morris <rgm@gnu.org>
14023
14024 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14025 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14026
14027 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14028
14029 * net/network-stream.el (network-stream-open-starttls): Make error
14030 message under Windows be less misleading.
14031
14032 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14033
14034 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14035 understands (bug#9942).
14036
14037 2012-03-22 Chong Yidong <cyd@gnu.org>
14038
14039 * simple.el (end-of-visible-line): Handle return value of
14040 next-single-property-change properly (Bug#9371).
14041
14042 2012-03-22 Kenichi Handa <handa@m17n.org>
14043
14044 * international/quail.el (quail-insert-kbd-layout): Fix previous
14045 change. To avoid unwanted bidi reordering, use
14046 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14047
14048 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14049
14050 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14051 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14052 (ruby-beginning-of-indent): Be more careful with the difference
14053 between word-boundary and symbol boundary.
14054 (ruby-mode-syntax-table): Make : a symbol constituent.
14055
14056 2012-03-21 Andreas Politz <politza@fh-trier.de>
14057
14058 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14059
14060 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * progmodes/etags.el (tags-completion-at-point-function):
14063 Improve last fix.
14064
14065 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14066
14067 2012-03-21 Sam Steingold <sds@gnu.org>
14068
14069 * progmodes/etags.el (tags-completion-at-point-function):
14070 Avoid the error when point is inside the pattern.
14071
14072 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14073
14074 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14075 line (Bug#10855).
14076
14077 2012-03-21 Drew Adams <drew.adams@oracle.com>
14078
14079 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14080
14081 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14082
14083 * ido.el (ido-set-current-directory, ido-read-internal)
14084 (ido-choose-completion-string, ido-completion-help): Handle nil
14085 value of ido-completion-buffer (Bug#11008).
14086
14087 2012-03-21 Sam Steingold <sds@gnu.org>
14088
14089 * window.el (switch-to-prev-buffer): Do not switch to a visible
14090 window previous buffer, just like with the frame previous buffers.
14091
14092 2012-03-21 Chong Yidong <cyd@gnu.org>
14093
14094 * faces.el (make-face, make-empty-face, copy-face):
14095 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14096 Doc fixes.
14097
14098 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14101 (widget-complete): Remove broken use of it.
14102
14103 2012-03-20 Chong Yidong <cyd@gnu.org>
14104
14105 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14106 Use string-width and truncate-string-width to handle arbitrary
14107 characters.
14108
14109 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14110
14111 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14112 to draw rectangles, not squares. (Regression introduced by revno
14113 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14114
14115 2012-03-18 Chong Yidong <cyd@gnu.org>
14116
14117 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14118 it is not yet defined (for temacs).
14119
14120 2012-03-18 Leo Liu <sdl.web@gmail.com>
14121
14122 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14123 prefix.
14124
14125 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14126
14127 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14128 (ispell-choices-win-default-height, ispell-silently-savep)
14129 (ispell-dictionary-alist, ispell-encoding8-command)
14130 (ispell-check-version, ispell-aspell-find-dictionary)
14131 (ispell-valid-dictionary-list, ispell-words-keyword)
14132 (ispell-get-word, ispell-internal-change-dictionary)
14133 (ispell-region, ispell-skip-region-list)
14134 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14135 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14136 (ispell-message-text-end, ispell-message)
14137 (ispell-buffer-local-parsing): Doc fix.
14138
14139 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14140
14141 * htmlfontify.el: Add support for code block fontification for ODT
14142 export (Bug #9914).
14143 (hfy-optimisations): Define new option
14144 `body-text-only'
14145 (hfy-fontify-buffer): Honor above setting.
14146 (hfy-begin-span, hfy-end-span): New routines factored out form
14147 `hfy-fontify-buffer'.
14148 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14149 that permit insertion of custom tags.
14150 (hfy-fontify-buffer): Use above handlers.
14151 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14152 (hfy-face-to-css): Re-defined to be a variable.
14153 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14154 over multiple runs. This is made possible by having the caller let
14155 bind a special variable `hfy-user-sheet-assoc'.
14156 (htmlfontify-string): New defun.
14157 (hfy-compile-face-map): Make sure that the last char in the
14158 buffer is correctly fontified.
14159 (hfy-face-resolve-face): Whitespace only change.
14160
14161 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14162
14163 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14164 message more clear.
14165
14166 2012-03-16 Leo Liu <sdl.web@gmail.com>
14167
14168 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14169
14170 2012-03-16 Alan Mackenzie <acm@muc.de>
14171
14172 Further optimize the handling of large macros.
14173
14174 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14175 limit to a call of `c-literal-limits'.
14176 (c-determine-+ve-limit): New function.
14177 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14178 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14179 In CASE 5B, restrict a search limit to 500.
14180 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14181
14182 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14183 Restrict macro bounds to +-500 from after-change's BEG END.
14184
14185 2012-03-16 Leo Liu <sdl.web@gmail.com>
14186
14187 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14188
14189 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14190
14191 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14192 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14193
14194 2012-03-16 Glenn Morris <rgm@gnu.org>
14195
14196 * view.el (view-buffer, view-buffer-other-window)
14197 (view-buffer-other-frame): Doc fixes re special mode-class.
14198
14199 * subr.el (eval-after-load): If named feature is provided not from
14200 a file, run after-load forms. (Bug#10946)
14201
14202 * calendar/calendar.el (calendar-insert-at-column):
14203 Handle non-unit-width characters a bit better. (Bug#10978)
14204
14205 2012-03-15 Chong Yidong <cyd@gnu.org>
14206
14207 * emacs-lisp/ring.el (ring-extend): New function.
14208 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14209
14210 * comint.el (comint-read-input-ring)
14211 (comint-add-to-input-history): Grow comint-input-ring lazily.
14212
14213 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14214
14215 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14216 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14217
14218 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14219 (imenu-add-to-menubar): Don't add a redundant index.
14220 (imenu-update-menubar): Handle a dynamically composed keymap.
14221
14222 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14223
14224 * mail/sendmail.el (mail-encode-header):
14225 Bind rfc2047-encode-encoded-words to nil.
14226
14227 2012-03-13 Glenn Morris <rgm@gnu.org>
14228
14229 * calendar/calendar.el (calendar-string-spread):
14230 Handle non-unit-width characters a bit better. (Bug#10978)
14231
14232 2012-03-13 Leo Liu <sdl.web@gmail.com>
14233
14234 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14235 directory and file as argument (Bug#10822).
14236
14237 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14238
14239 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14240 For dynamically generated code, follow $PC.
14241 (gdb-disassembly-handler-custom): Handle no function name case.
14242
14243 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14244
14245 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14246 * emulation/ws-mode.el (ws-query-replace):
14247 * sort.el (sort-regexp-fields):
14248 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14249
14250 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14251
14252 * dabbrev.el: Fix cycle completion order (bug#10963).
14253 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14254 (dabbrev-completion): Don't use an obarray; provide
14255 a cycle-sort-function.
14256
14257 2012-03-12 Leo Liu <sdl.web@gmail.com>
14258
14259 * simple.el (kill-new): Use equal-including-properties for comparison.
14260 (kill-do-not-save-duplicates): Doc fix.
14261
14262 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 * dabbrev.el: Fix cycle completion (bug#10963).
14265 Use lexical binding and wrap to 80 columns.
14266 (dabbrev-completion): Delay computing the list of completions.
14267
14268 2012-03-12 Kenichi Handa <handa@m17n.org>
14269
14270 * international/quail.el (quail-insert-kbd-layout): Surround each
14271 row by LRO and PDF instead of inserting many LRMs. Pad the left
14272 and right of each non-spacing marks. Insert invisible space
14273 between lower and upper characters to prevent composition.
14274
14275 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * minibuffer.el (minibuffer-complete): Don't get confused when the
14278 function is run twice via different commands (bug#10958).
14279 (complete-with-action): Fix docstring.
14280
14281 2012-03-12 Chong Yidong <cyd@gnu.org>
14282
14283 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14284 (nxml-completion-at-point-function): New function.
14285 (nxml-mode): Use it.
14286 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14287
14288 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14289 Load generated autoloads file before byte compiling (Bug#10970).
14290 (package--make-autoloads-and-compile): New helper fun.
14291
14292 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14293
14294 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14295
14296 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14297
14298 * autorevert.el (auto-revert-handler): Ensure, that
14299 file-readable-p is applied only for local files or in
14300 auto-revert-tail-mode.
14301
14302 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14303
14304 * server.el (server-eval-at): Handle non-tcp connections.
14305 Decode result string.
14306
14307 * server.el (server-msg-size): New constant.
14308 (server-reply-print): New function.
14309 (server-eval-and-print): Use it.
14310 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14311 Handle -print-nonl.
14312
14313 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14314
14315 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14316 (Bug#10987).
14317
14318 2012-03-11 Chong Yidong <cyd@gnu.org>
14319
14320 * simple.el (goto-line): Doc fix (Bug#9938).
14321
14322 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14323
14324 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14325 when finished (Bug#10963).
14326
14327 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14328
14329 * window.el (split-window-below): Fix bug in case where
14330 split-window-keep-point is nil (Bug#10971).
14331
14332 2012-03-11 Juri Linkov <juri@jurta.org>
14333
14334 * replace.el (replace-highlight): Set isearch-word to nil
14335 unconditionally. (Bug#10887)
14336
14337 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14338
14339 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14340 mairix-replace-illegal-chars; all callers changed. Don't remove
14341 ^, ~, and = characters: they are meaningful in mairix search specs.
14342 (mairix-widget-create-query): Add usage information about mairix
14343 search forms: negating words, searching for substrings, etc.
14344
14345 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14346
14347 * international/fontset.el (font-encoding-alist): Add an entry for
14348 ksx1001 (Bug#5667).
14349
14350 2012-03-10 Richard Stallman <rms@gnu.org>
14351
14352 * mail/sendmail.el (mail-encode-header):
14353 Set rfc2047-encode-encoded-words.
14354
14355 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14356
14357 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14358 view buffer means not swapped.
14359 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14360 (rmail-write-region-annotate): Error if real text has disappeared.
14361
14362 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14363
14364 2012-03-10 Chong Yidong <cyd@gnu.org>
14365
14366 * emulation/cua-rect.el (cua--init-rectangles):
14367 * emulation/cua-base.el (cua--init-keymaps):
14368 Add delete-forward-char to remappings (Bug#9666).
14369
14370 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14371
14372 * speedbar.el (speedbar-unhighlight-one-tag-line):
14373 Avoid unhighlighting due to frame switching (Bug#10275).
14374
14375 2012-03-10 Chong Yidong <cyd@gnu.org>
14376
14377 * minibuffer.el (completion-in-region, completion-help-at-point):
14378 Give the completion field overlay a high priority (Bug#6830).
14379
14380 * dired.el (dired-goto-file): Recognize absolute file name
14381 listings (Bug#7126).
14382 (dired-goto-file-1): New helper function.
14383 (dired-toggle-read-only): Inhibit warnings.
14384
14385 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14386
14387 * net/dbus.el (dbus-property-handler): Return empty array if
14388 there are no properties.
14389
14390 2012-03-09 Leo Liu <sdl.web@gmail.com>
14391
14392 * savehist.el (savehist-printable): Stricter check for string
14393 value (Bug#10937).
14394
14395 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14396
14397 * mail/smtpmail.el (smtpmail-send-it):
14398 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14399 valid mbox format.
14400
14401 2012-03-09 Glenn Morris <rgm@gnu.org>
14402
14403 * files.el (dir-locals-find-file):
14404 Don't check result is regular, readable.
14405 (dir-locals-read-from-file): Demote errors.
14406
14407 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14408
14409 * international/quail.el (quail-insert-kbd-layout):
14410 Insert invisible LRM characters before each character in a keyboard
14411 layout cell, to prevent their reordering by bidi display engine.
14412 For details, see the discussion in
14413 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14414
14415 2012-03-08 Alan Mackenzie <acm@muc.de>
14416
14417 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14418 the starting position; make it extend the marked region when
14419 invoked repeatedly - all under appropriate circumstances.
14420 Fixes bugs #5525, #10906.
14421
14422 2012-03-08 Glenn Morris <rgm@gnu.org>
14423
14424 * files.el (locate-dominating-file, dir-locals-find-file):
14425 Undo 2012-03-06 change.
14426
14427 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14428
14429 * international/quail.el (quail-help):
14430 Force bidi-paragraph-direction be left-to-right. See discussion in
14431 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14432 for the reason.
14433
14434 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14435
14436 Avoid superfluous registering of signals. (Bug#10807)
14437
14438 * notifications.el (notifications-on-action-object)
14439 (notifications-on-close-object): New defvars.
14440 (notifications-on-action-signal, notifications-on-closed-signal):
14441 Unregister the signal if not needed any longer.
14442 (notifications-notify): Register `notifications-action-signal' or
14443 `notifications-closed-signal', if :on-action or :on-close has been
14444 passed as argument.
14445
14446 2012-03-07 Chong Yidong <cyd@gnu.org>
14447
14448 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14449 non-X platforms.
14450
14451 2012-03-06 Glenn Morris <rgm@gnu.org>
14452
14453 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14454 (x-disown-selection-internal, x-get-selection-internal):
14455 Doc fix (add arglist signatures). (Bug#10783)
14456
14457 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14458
14459 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14460 Handle breakpoints with no "type".
14461
14462 2012-03-06 Glenn Morris <rgm@gnu.org>
14463
14464 * files.el (locate-dominating-file): Add optional predicate argument.
14465 (dir-locals-find-file): Make use of above change.
14466
14467 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14468
14469 * info.el (Info-insert-dir): Also try "dir.gz".
14470
14471 2012-03-06 Glenn Morris <rgm@gnu.org>
14472
14473 * files.el (dir-locals-find-file):
14474 Ignore non-readable or non-regular files. (Bug#10928)
14475
14476 * files.el (locate-dominating-file): Doc fix.
14477
14478 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14479
14480 * calendar/calendar.el (calendar-set-mode-line):
14481 `getenv' returns a string. (Bug#10951)
14482
14483 2012-03-05 Leo Liu <sdl.web@gmail.com>
14484
14485 * simple.el (backward-delete-char-untabify): Constrain point to
14486 field (Bug#10939).
14487
14488 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14489
14490 2012-03-05 Chong Yidong <cyd@gnu.org>
14491
14492 * simple.el (count-words): If called from Lisp, return the word
14493 count, for symmetry with `count-lines'. Arglist changed.
14494 (count-words--message): Args changed. Consolidate counting code
14495 from count-words and count-words-region.
14496 (count-words-region): Caller changed.
14497 (count-lines-region): Make it an obsolete alias.
14498
14499 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14500
14501 * saveplace.el (save-place-to-alist)
14502 (save-place-ignore-files-regexp): Allow value nil to disable this
14503 feature.
14504
14505 2012-03-04 Chong Yidong <cyd@gnu.org>
14506
14507 * faces.el (face-spec-reset-face): For the default face, reset the
14508 attributes to default values (Bug#10748).
14509
14510 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14511
14512 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14513 previous patch: Check `message-send-mail-function', and not the
14514 default function (bug#10897).
14515
14516 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14517
14518 * notifications.el (notifications-on-action-signal)
14519 (notifications-on-closed-signal): Check for unique service name of
14520 incoming event. Fix error in removing entry.
14521 (top): Register for signals with wildcard service name.
14522 (notifications-notify): Use daemon unique service name for map entries.
14523
14524 2012-03-04 Chong Yidong <cyd@gnu.org>
14525
14526 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14527
14528 2012-03-04 Glenn Morris <rgm@gnu.org>
14529
14530 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14531 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14532 (expand-abbrev, define-abbrev-table): Doc fixes.
14533
14534 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14535
14536 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14537 `message-default-send-mail-function' and not `send-mail-function'
14538 when doing the prompting for `sendmail-query-once' before sending
14539 in Message buffers (bug#10897).
14540
14541 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14542 This is inconsistent with all the other stream functions, which leave
14543 the setting up to the higher levels (if so wanted) (bug#10931).
14544
14545 2012-03-02 Alan Mackenzie <acm@muc.de>
14546
14547 Depessimize the handling of very large macros.
14548
14549 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14550 (c-macro-cache-syntactic): New variables to implement a one
14551 element macro cache.
14552 (c-invalidate-macro-cache): New function.
14553 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14554 Adapt to use the new cache.
14555 (c-state-safe-place): Use better the cache of safe positions.
14556 (c-state-semi-nonlit-pos-cache)
14557 (c-state-semi-nonlit-pos-cache-limit):
14558 New variables for...
14559 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14560 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14561 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14562 Use c-state-semi-safe-place.
14563
14564 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14565 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14566
14567 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14568
14569 * jka-compr.el (jka-compr-call-process):
14570 Apply `file-accessible-directory-p' only when the default directory is
14571 not remote.
14572
14573 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14574
14575 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14576 access of FILE2, if FILE1 does not exist.
14577
14578 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14579 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14580
14581 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14582 Add "PAGER=" to `process-environment'.
14583
14584 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14585
14586 * progmodes/sql.el: Bug fix
14587 (sql-get-login-ext): Save login values in globals.
14588 (sql-get-login): Use new version of `sql-get-login-ext'.
14589 (sql-interactive-mode): Set global `sql-connection' to nil.
14590 (sql-connect): Set global values for connection.
14591 (sql-product-interactive): Save global values as buffer local.
14592
14593 2012-02-29 Leo Liu <sdl.web@gmail.com>
14594
14595 * abbrev.el (define-abbrevs): Reset sys to nil.
14596
14597 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14598
14599 * files.el (file-equal-p): Rename from `files-equal-p'.
14600 Return nil when one or both files don't exist.
14601 (file-subdir-of-p): Now only top directory must exists,
14602 return nil if it doesn't.
14603 (copy-directory): No need to test with `file-subdir-of-p' after
14604 creating dir.
14605 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14606 to `file-equal-p'.
14607
14608 2012-02-28 Glenn Morris <rgm@gnu.org>
14609
14610 * shell.el (shell-mode):
14611 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14612 * play/landmark.el (landmark-font-lock-face-O):
14613 * play/handwrite.el (handwrite):
14614 * play/gomoku.el (gomoku-O):
14615 * net/browse-url.el (browse-url-browser-display):
14616 * international/mule.el (define-charset):
14617 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14618 * filesets.el (filesets-find-file-delay):
14619 * eshell/em-xtra.el (eshell-xtra):
14620 * eshell/em-unix.el (eshell-grep):
14621 * emulation/viper.el (viper-mode):
14622 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14623 * emacs-lisp/easymenu.el (easy-menu-define):
14624 * calendar/timeclock.el (timeclock-use-display-time):
14625 * bs.el (bs-mode):
14626 * bookmark.el (bookmark-save-flag):
14627 Doc fix (standardize possessive apostrophe usage).
14628
14629 2012-02-27 Chong Yidong <cyd@gnu.org>
14630
14631 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14632 Fix key-binding lookup for ESC key (Bug#9146).
14633
14634 * font-lock.el (font-lock-specified-p): Rename from
14635 font-lock-spec-present. Callers changed.
14636
14637 2012-02-27 Daniel Hackney <dan@haxney.org>
14638
14639 * emacs-lisp/package.el (package-compute-transaction):
14640 Handle holding a package version to t in package-load-list.
14641
14642 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14643
14644 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14645 (tramp-get-inode, tramp-get-device): Use cached values.
14646
14647 2012-02-26 Alan Mackenzie <acm@muc.de>
14648
14649 Check there is a font-lock specification before doing initial
14650 fontification.
14651
14652 * font-core.el (font-lock-mode): Move the conditional from
14653 :after-hook to font-lock-initial-fontify.
14654 (font-lock-default-function): Move the check for a specification
14655 to font-lock-spec-present.
14656
14657 * font-lock.el (font-lock-initial-fontify): Call ...
14658 (font-lock-spec-present): New function.
14659
14660 2012-02-26 Jim Blandy <jimb@red-bean.com>
14661
14662 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14663 (gdb-send): Apply it to the operand of the '-interpreter-exec
14664 console' command, so that we can pass arguments with (say) quotes
14665 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14666
14667 2012-02-26 Chong Yidong <cyd@gnu.org>
14668
14669 * help-fns.el (describe-function-1): Clarify description of
14670 remapping (Bug#10844).
14671
14672 * files.el (files-equal-p): Doc fix.
14673 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14674 and quit the loop once a mismatch is found.
14675
14676 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14677
14678 * bs.el (bs--show-with-configuration): Don't throw an error
14679 if the window cannot be split; otherwise, subsequent calls to
14680 bs-show fail, restoring a stale window config. (Bug#10882)
14681
14682 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14683
14684 * term/ns-win.el (global-map): Bind ns-drag-file to
14685 ns-find-file (Bug#5855, Bug#10050).
14686
14687 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14688
14689 * calendar/parse-time.el (parse-time-string): Allow extractor to
14690 return nil.
14691
14692 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14693
14694 * net/tramp.el (tramp-file-name-for-operation):
14695 Add `files-equal-p' and `file-subdir-of-p'.
14696
14697 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14698 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14699 Add COPY-CONTENTS argument.
14700
14701 2012-02-25 Chong Yidong <cyd@gnu.org>
14702
14703 Add custom groups for VC backends, for consistency with vc-bzr.
14704
14705 * vc/vc-arch.el (vc-arch):
14706 * vc/vc-cvs.el (vc-cvs):
14707 * vc/vc-git.el (vc-git):
14708 * vc/vc-hg.el (vc-hg):
14709 * vc/vc-mtn.el (vc-mtn):
14710 * vc/vc-rcs.el (vc-rcs):
14711 * vc/vc-sccs.el (vc-sccs):
14712 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14713 All relevant defcustoms reassigned.
14714
14715 2012-02-25 Chong Yidong <cyd@gnu.org>
14716
14717 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14718
14719 * term/x-win.el (x-initialize-window-system): Reduce default for
14720 x-selection-timeout to 5 seconds (Bug#8869).
14721
14722 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14723
14724 * files.el (files-equal-p, file-subdir-of-p): New functions.
14725 (copy-directory): Error when trying to copy a directory on itself.
14726 Add missing copy-contents arg to tramp handler.
14727 * dired-aux.el (dired-copy-file-recursive): Same.
14728 (dired-create-files): Modify destination when source is equal to
14729 dest when copying files.
14730 Return also when dest is a subdir of source. (Bug#10489)
14731
14732 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14733
14734 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14735 (Bug#10874)
14736
14737 2012-02-23 Alan Mackenzie <acm@muc.de>
14738
14739 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14740 parameter "after-hook:" to allow the expansion to run code after
14741 the execution of the mode hooks.
14742
14743 * font-lock.el (font-lock-initial-fontify): New function extracted
14744 from font-lock-mode-internal.
14745
14746 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14747 :after-hook.
14748
14749 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14750
14751 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14752 (completion--cache-all-sorted-completions): New function.
14753 (completion-all-sorted-completions): Use it.
14754 (completion--do-completion, minibuffer-force-complete):
14755 Use it to re-instate the flush hook.
14756
14757 * icomplete.el (icomplete-completions): Replace last fix with a better
14758 one (bug#10850).
14759
14760 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14761
14762 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14763 when it might call us back infinitely (bug#10797).
14764
14765 2012-02-23 Glenn Morris <rgm@gnu.org>
14766
14767 * minibuffer.el (completion-category-overrides): Doc fix.
14768
14769 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14772 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14773
14774 2012-02-23 Glenn Morris <rgm@gnu.org>
14775
14776 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14777 (authors-obsolete-files-regexps, authors-ignored-files)
14778 (authors-ambiguous-files, authors-renamed-files-alist):
14779 Add more entries.
14780
14781 2012-02-23 Juri Linkov <juri@jurta.org>
14782
14783 * isearch.el (isearch-occur): Sync interactive spec with occur's
14784 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14785
14786 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14787
14788 2012-02-22 Juri Linkov <juri@jurta.org>
14789
14790 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14791 (ucs-insert): Doc fix. Check for hex digits in the string.
14792 Don't display `nil' in the error message. (Bug#10857)
14793
14794 2012-02-22 Alan Mackenzie <acm@muc.de>
14795
14796 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14797
14798 2012-02-22 Glenn Morris <rgm@gnu.org>
14799
14800 * ffap.el (ffap-c-path):
14801 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14802
14803 2012-02-22 Chong Yidong <cyd@gnu.org>
14804
14805 * custom.el (load-theme): Doc fix.
14806
14807 2012-02-22 Glenn Morris <rgm@gnu.org>
14808
14809 * dired-x.el (dired-guess-shell-alist-default):
14810 Remove escape sequences from nroff output. (Bug#172)
14811
14812 2012-02-21 Glenn Morris <rgm@gnu.org>
14813
14814 * vc/emerge.el (emerge-defvar-local):
14815 Set `permanent-local' property rather than unused `preserved'.
14816
14817 * textmodes/picture.el (picture-delete-char): New alias.
14818 (picture-mode-map): Use it. (Bug#10860)
14819 (picture-mode): Doc fix.
14820
14821 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14822
14823 * newcomment.el (uncomment-region-default): Remove unused binding.
14824
14825 2012-02-21 Glenn Morris <rgm@gnu.org>
14826
14827 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14828 (picture-self-insert, picture-tab-chars): Doc fix.
14829 (picture-mode-map): Fix C-a, C-e.
14830
14831 2012-02-20 Glenn Morris <rgm@gnu.org>
14832
14833 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14834
14835 2012-02-20 Leo Liu <sdl.web@gmail.com>
14836
14837 * icomplete.el (icomplete-completions): Check FROM arg before
14838 passing to substring (Bug#10850).
14839
14840 2012-02-19 Chong Yidong <cyd@gnu.org>
14841
14842 * comint.el: Require ansi-color.
14843 (comint-output-filter-functions): Add ansi-color-process-output.
14844
14845 * ansi-color.el: Don't set comint-output-filter-functions; it is
14846 now in the initial value defined in comint.el.
14847 (ansi-color-apply-face-function): New variable.
14848 (ansi-color-apply-on-region): Use it.
14849 (ansi-color-apply-overlay-face): New function.
14850
14851 * shell.el (shell): No need to require ansi-color.
14852 (shell-mode): Use ansi-color-apply-face-function to highlight
14853 color escapes using font-lock-face property (Bug#10835).
14854
14855 2012-02-19 Chong Yidong <cyd@gnu.org>
14856
14857 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14858 mode-line formats (Bug#10839).
14859
14860 2012-02-18 Glenn Morris <rgm@gnu.org>
14861
14862 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14863
14864 * mail/undigest.el (unforward-rmail-message): Doc fix.
14865
14866 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14867
14868 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14869
14870 * international/characters.el (script-list): Sync with the latest
14871 Unicode Character Database.
14872
14873 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14874
14875 * international/titdic-cnv.el: Remove duplicate coding tag.
14876 * language/cham.el: Likewise.
14877 * language/tai-viet.el: Likewise.
14878
14879 2012-02-18 Glenn Morris <rgm@gnu.org>
14880
14881 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14882 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14883 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14884 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14885 * calendar/holidays.el (holiday-bahai-holidays)
14886 (calendar-holidays, list-holidays):
14887 Use utf-8 Bahá'í in doc-strings, menus, etc.
14888
14889 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14890
14891 * saveplace.el (save-place-ignore-files-regexp): New variable
14892 allowing for excluding files from saving their location of point.
14893 The default value matches the temporary commit message editing
14894 files from Git, SVN, Bazaar, and Mercurial.
14895 (save-place-to-alist): Use it.
14896
14897 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14898 Stefan Monnier <monnier@iro.umontreal.ca>
14899
14900 * newcomment.el (uncomment-region-default): Don't leave extra space
14901 when an arg is provided (bug#8150).
14902
14903 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14904
14905 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14906
14907 2012-02-17 Glenn Morris <rgm@gnu.org>
14908
14909 * net/socks.el: Require network-stream. (Bug#10599)
14910
14911 2012-02-17 Kenichi Handa <handa@m17n.org>
14912
14913 * international/charprop.el:
14914 * international/uni-name.el:
14915 * international/uni-old-name.el:
14916 * international/uni-comment.el: Regenerate.
14917
14918 2012-02-16 Glenn Morris <rgm@gnu.org>
14919
14920 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14921 Interactively in calendar buffer, give an error if not on a date.
14922
14923 2012-02-15 Glenn Morris <rgm@gnu.org>
14924
14925 * shell.el (shell-delimiter-argument-list):
14926 Revert 2011-02-17 change. (Bug#8027)
14927
14928 2012-02-15 Chong Yidong <cyd@gnu.org>
14929
14930 * minibuffer.el (completion-at-point-functions): Doc fix.
14931
14932 * custom.el (defcustom): Doc fix; note use of defvar.
14933
14934 2012-02-15 Glenn Morris <rgm@gnu.org>
14935
14936 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14937 Doc fixes.
14938
14939 2012-02-14 Glenn Morris <rgm@gnu.org>
14940
14941 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14942
14943 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14944
14945 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14946 way the ports list is computed.
14947 (smtpmail-query-smtp-server): Prompt the user for a port number if
14948 we can't connect to any of the standard ports (bug#10810).
14949
14950 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14951
14952 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14953
14954 2012-02-13 Glenn Morris <rgm@gnu.org>
14955
14956 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14957
14958 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14959
14960 * net/gnutls.el (gnutls-trustfiles): New variable.
14961 (gnutls-negotiate): Use it.
14962
14963 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14964
14965 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14966 does its stuff if Gnus is running.
14967
14968 2012-02-13 Alan Mackenzie <acm@muc.de>
14969
14970 Fix a loop in c-set-fl-decl-start.
14971
14972 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14973 c-backward-syntactic-ws actually moves backwards.
14974
14975 2012-02-13 Leo Liu <sdl.web@gmail.com>
14976
14977 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14978 beginning so that all \C-o chars are removed.
14979
14980 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14981
14982 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14983
14984 2012-02-12 Alan Mackenzie <acm@muc.de>
14985
14986 Fix infinite loop with long macros.
14987 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14988
14989 2012-02-12 Chong Yidong <cyd@gnu.org>
14990
14991 * window.el (display-buffer): Doc fix (Bug#10785).
14992
14993 2012-02-12 Glenn Morris <rgm@gnu.org>
14994
14995 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14996 (x-disown-selection-internal, x-get-selection-internal):
14997 Sync docs with the xselect.c versions.
14998
14999 * allout-widgets.el: Add missing license notice.
15000
15001 2012-02-11 Glenn Morris <rgm@gnu.org>
15002
15003 * select.el (x-get-selection-internal, x-own-selection-internal)
15004 (x-disown-selection-internal):
15005 * x-dnd.el (x-get-selection-internal): Update declarations.
15006
15007 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15008
15009 * window.el (window-sides-slots):
15010 * tool-bar.el (tool-bar-position):
15011 * term/xterm.el (xterm-extra-capabilities):
15012 * ses.el (ses-self-reference-early-detection):
15013 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15014 (verilog-auto-wire-type)
15015 (verilog-auto-delete-trailing-whitespace)
15016 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15017 (verilog-auto-tieoff-declaration):
15018 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15019 (sql-oracle-statement-starters, sql-oracle-scan-on):
15020 * progmodes/prolog.el (prolog-align-comments-flag)
15021 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15022 (prolog-left-indent-regexp, prolog-paren-indent-p)
15023 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15024 (prolog-types, prolog-mode-specificators)
15025 (prolog-determinism-specificators, prolog-directives)
15026 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15027 (prolog-electric-dot-flag)
15028 (prolog-electric-dot-full-predicate-template)
15029 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15030 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15031 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15032 (prolog-program-switches, prolog-prompt-regexp)
15033 (prolog-debug-on-string, prolog-debug-off-string)
15034 (prolog-trace-on-string, prolog-trace-off-string)
15035 (prolog-zip-on-string, prolog-zip-off-string)
15036 (prolog-use-standard-consult-compile-method-flag)
15037 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15038 (prolog-imenu-max-lines, prolog-info-predicate-index)
15039 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15040 (prolog-char-quote-workaround):
15041 * progmodes/cc-vars.el (c-defun-tactic):
15042 * net/tramp.el (tramp-encoding-command-interactive)
15043 (tramp-local-end-of-line):
15044 * net/soap-client.el (soap-client):
15045 * net/netrc.el (netrc-file):
15046 * net/gnutls.el (gnutls):
15047 * minibuffer.el (completion-category-overrides)
15048 (completion-cycle-threshold)
15049 (completion-pcm-complete-word-inserts-delimiters):
15050 * man.el (Man-name-local-regexp):
15051 * mail/feedmail.el (feedmail-display-full-frame):
15052 * international/characters.el (glyphless-char-display-control):
15053 * eshell/em-ls.el (eshell-ls-date-format):
15054 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15055 (lisp-lambda-list-keyword-parameter-indentation)
15056 (lisp-lambda-list-keyword-parameter-alignment):
15057 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15058 * dired-x.el (dired-omit-verbose):
15059 * cus-theme.el (custom-theme-allow-multiple-selections):
15060 * calc/calc.el (calc-highlight-selections-with-faces)
15061 (calc-lu-field-reference, calc-lu-power-reference)
15062 (calc-note-threshold):
15063 * battery.el (battery-mode-line-limit):
15064 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15065 (archive-7z-update):
15066 * allout.el (allout-prefixed-keybindings)
15067 (allout-unprefixed-keybindings)
15068 (allout-inhibit-auto-fill-on-headline)
15069 (allout-flattened-numbering-abbreviation):
15070 * allout-widgets.el (allout-widgets-auto-activation)
15071 (allout-widgets-icons-dark-subdir)
15072 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15073 (allout-widgets-theme-dark-background)
15074 (allout-widgets-theme-light-background)
15075 (allout-widgets-item-image-properties-emacs)
15076 (allout-widgets-item-image-properties-xemacs)
15077 (allout-widgets-run-unit-tests-on-load)
15078 (allout-widgets-time-decoration-activity)
15079 (allout-widgets-hook-error-post-time)
15080 (allout-widgets-track-decoration):
15081 Add missing :version tags to new defcustoms and defgroups.
15082
15083 * progmodes/sql.el (sql-ansi-statement-starters)
15084 (sql-oracle-statement-starters): Add custom type.
15085
15086 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15087 (prolog-system-version): Give it a type.
15088
15089 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15090
15091 * term/pc-win.el (x-select-text, x-selection-owner-p)
15092 (x-own-selection-internal, x-disown-selection-internal)
15093 (x-get-selection-internal): Sync doc strings and argument lists
15094 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15095
15096 2012-02-11 Leo Liu <sdl.web@gmail.com>
15097
15098 * progmodes/python.el (python-end-of-statement): Fix infinite
15099 loop. (Bug#10788)
15100
15101 2012-02-10 Glenn Morris <rgm@gnu.org>
15102
15103 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15104 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15105
15106 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15107
15108 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15109 about SMTP before checking the From header.
15110
15111 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15112 into own function for reuse by emacsbug.el.
15113
15114 2012-02-10 Leo Liu <sdl.web@gmail.com>
15115
15116 * subr.el (condition-case-unless-debug): Rename from
15117 condition-case-no-debug. All callers changed.
15118 (with-demoted-errors): Fix caller.
15119
15120 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15121 * nxml/rng-valid.el (rng-do-some-validation):
15122 * emacs-lisp/package.el (package-refresh-contents)
15123 (package-menu-execute):
15124 * desktop.el (desktop-create-buffer):
15125 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15126
15127 2012-02-10 Glenn Morris <rgm@gnu.org>
15128
15129 * textmodes/bibtex.el:
15130 Add missing :version tags for new/changed defcustoms.
15131
15132 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15133
15134 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15135
15136 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15137 (smtpmail-via-smtp): Use it, or fall back on the From address.
15138 (smtpmail-send-it): Ditto.
15139
15140 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15143 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15144 (byte-compile-tmp-var): New const.
15145 (byte-compile-defvar): Use it to minimize .elc size.
15146 Just use `defvar' rather than simulate it (bug#10761).
15147
15148 2012-02-09 Glenn Morris <rgm@gnu.org>
15149
15150 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15151
15152 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15153 Add :version tags.
15154
15155 * progmodes/compile.el (compilation-error-screen-columns)
15156 (compilation-first-column, compilation-filter-start): Doc fixes.
15157
15158 * vc/log-view.el (log-view-toggle-entry-display):
15159 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15160
15161 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15162 (report-emacs-bug-can-use-xdg-email):
15163 (report-emacs-bug-insert-to-mailer): Doc fixes.
15164 (report-emacs-bug): Message fix.
15165
15166 * net/browse-url.el (browse-url-can-use-xdg-open)
15167 (browse-url-xdg-open): Doc fixes.
15168
15169 * electric.el (electric-indent-mode, electric-pair-mode)
15170 (electric-layout-rules, electric-layout-mode): Doc fixes.
15171 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15172
15173 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15174
15175 * server.el (server-unselect-display): Don't inadvertently kill
15176 the current buffer. (Bug#10729)
15177
15178 2012-02-08 Glenn Morris <rgm@gnu.org>
15179
15180 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15181 (sql-list-table): Doc fixes.
15182
15183 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15184 Comment out (does nothing).
15185
15186 * completion.el (dynamic-completion-mode):
15187 * dirtrack.el (dirtrack-debug-mode):
15188 * electric.el (electric-layout-mode):
15189 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15190 * face-remap.el (text-scale-mode, buffer-face-mode):
15191 * iimage.el (iimage-mode):
15192 * image-mode.el (image-transform-mode):
15193 * minibuffer.el (completion-in-region-mode):
15194 * scroll-lock.el (scroll-lock-mode):
15195 * simple.el (next-error-follow-minor-mode):
15196 * tar-mode.el (tar-subfile-mode):
15197 * tooltip.el (tooltip-mode):
15198 * vcursor.el (vcursor-use-vcursor-map):
15199 * wid-browse.el (widget-minor-mode):
15200 * emulation/tpu-edt.el (tpu-edt-mode):
15201 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15202 * international/iso-ascii.el (iso-ascii-mode):
15203 * language/thai-util.el (thai-word-mode):
15204 * mail/supercite.el (sc-minor-mode):
15205 * net/goto-addr.el (goto-address-mode):
15206 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15207 * progmodes/cwarn.el (cwarn-mode):
15208 * progmodes/flymake.el (flymake-mode):
15209 * progmodes/glasses.el (glasses-mode):
15210 * progmodes/hideshow.el (hs-minor-mode):
15211 * progmodes/pascal.el (pascal-outline-mode):
15212 * textmodes/enriched.el (enriched-mode):
15213 * vc/smerge-mode.el (smerge-mode):
15214 Doc fixes (minor mode argument).
15215
15216 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15217
15218 * ls-lisp.el (ls-lisp-sanitize): New function.
15219 (ls-lisp-insert-directory): Use it to fix or remove any elements
15220 in file-alist with missing attributes. (Bug#4673)
15221
15222 2012-02-07 Alan Mackenzie <acm@muc.de>
15223
15224 Fix spurious recognition of c-in-knr-argdecl.
15225
15226 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15227 putative K&R region.
15228
15229 2012-02-07 Alan Mackenzie <acm@muc.de>
15230
15231 * progmodes/cc-engine.el (c-forward-objc-directive):
15232 Prevent looping in "#pragma mark @implementation".
15233
15234 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15235
15236 * notifications.el (notifications-on-closed-signal): Make `reason'
15237 optional. (Bug#10744)
15238
15239 2012-02-07 Glenn Morris <rgm@gnu.org>
15240
15241 * emacs-lisp/easy-mmode.el (define-minor-mode):
15242 Doc fixes for the macro and the mode it defines.
15243
15244 * image.el (imagemagick-types-inhibit): Doc fix.
15245
15246 * cus-start.el (imagemagick-render-type): Add it.
15247
15248 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15249
15250 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15251 Set the default at load time, too, so that `font-lock-fontify-buffer'
15252 can be called without setting up the entire mode first. This fixes
15253 a bug in `mm-inline-text' with C MIME parts.
15254
15255 2012-02-06 Chong Yidong <cyd@gnu.org>
15256
15257 * simple.el (list-processes--refresh): Delete exited processes
15258 (Bug#8094).
15259
15260 * comint.el (comint-next-prompt): next-single-char-property-change
15261 and prev-single-char-property-change never return nil (Bug#8657).
15262
15263 * custom.el (defcustom): Doc fix (Bug#9711).
15264
15265 2012-02-05 Chong Yidong <cyd@gnu.org>
15266
15267 * cus-edit.el (custom-variable-reset-backup): Quote the value
15268 before storing it in the customized-value property (Bug#6712).
15269 (custom-display): Add a customization type tag.
15270 (custom-buffer-create-internal): Improve tooltip message.
15271
15272 * wid-edit.el (widget-field-value-get): New optional arg to
15273 suppress trailing whitespace truncation.
15274 (character): Use it (Bug#2689).
15275
15276 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15277
15278 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15279 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15280
15281 2012-02-05 Chong Yidong <cyd@gnu.org>
15282
15283 * cus-edit.el (custom-variable-value-create): For mismatched
15284 types, show the current value (Bug#7600).
15285
15286 * custom.el (defcustom): Doc fix.
15287
15288 2012-02-05 Glenn Morris <rgm@gnu.org>
15289
15290 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15291
15292 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15293
15294 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15295 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15296 (pp-last-sexp): Use `looking-at-p'.
15297
15298 2012-02-04 Glenn Morris <rgm@gnu.org>
15299
15300 * files.el (revert-buffer):
15301 Doc fix (mention revert-buffer-in-progress-p).
15302
15303 * emacs-lisp/ert-x.el (ert-simulate-command):
15304 Check deferred-action-list (which is obsolete) is bound.
15305
15306 * subr.el (with-wrapper-hook): Doc fixes.
15307
15308 * simple.el (filter-buffer-substring-functions)
15309 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15310
15311 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15312
15313 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15314 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15315
15316 2012-02-04 Leo Liu <sdl.web@gmail.com>
15317
15318 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15319
15320 2012-02-04 Glenn Morris <rgm@gnu.org>
15321
15322 * image.el (image-extension-data): Add obsolete alias.
15323
15324 * isearch.el (isearch-update): Doc fix.
15325
15326 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15327
15328 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15329
15330 2012-02-03 Glenn Morris <rgm@gnu.org>
15331
15332 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15333 (image-animate-timeout): Doc fix.
15334
15335 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15336
15337 2012-02-02 Glenn Morris <rgm@gnu.org>
15338
15339 * server.el (server-auth-dir): Doc fix.
15340 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15341
15342 * subr.el (run-mode-hooks): Doc fix.
15343
15344 2012-02-02 Juri Linkov <juri@jurta.org>
15345
15346 * image-mode.el (image-toggle-display-image): Remove tautological
15347 `major-mode' from the `derived-mode-p' test.
15348
15349 2012-02-02 Kenichi Handa <handa@m17n.org>
15350
15351 * composite.el (compose-region): Cancel previous change.
15352
15353 2012-02-02 Kenichi Handa <handa@m17n.org>
15354
15355 * composite.el (compose-region, compose-string): Signal error for
15356 a null string component (Bug#6988).
15357
15358 2012-02-01 Chong Yidong <cyd@gnu.org>
15359
15360 * view.el (view-buffer-other-window, view-buffer-other-frame):
15361 Handle special modes like view-buffer (Bug#10650).
15362 (view-buffer): Simplify.
15363
15364 * frame.el (set-frame-font): Tweak meaning of third argument.
15365
15366 * dynamic-setting.el (font-setting-change-default-font):
15367 Use set-frame-font (Bug#9982).
15368
15369 2012-02-01 Glenn Morris <rgm@gnu.org>
15370
15371 * progmodes/compile.el (compilation-internal-error-properties):
15372 Respect compilation-first-column in the "*compilation*" buffer.
15373
15374 * emacs-lisp/easy-mmode.el (define-minor-mode):
15375 Relax :variable's test for a named function.
15376
15377 2012-01-31 Alan Mackenzie <acm@muc.de>
15378
15379 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15380 off by one error.
15381
15382 2012-01-31 Chong Yidong <cyd@gnu.org>
15383
15384 * frame.el (set-frame-font): New arg ALL-FRAMES.
15385
15386 * menu-bar.el (menu-set-font): Use set-frame-font.
15387
15388 * faces.el (face-spec-reset-face): Don't apply unspecified
15389 attribute values to the default face.
15390
15391 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15392
15393 * progmodes/cwarn.el (cwarn): Remove dead link.
15394 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15395 Remove * from defcustom docstrings.
15396 (turn-on-cwarn-mode): Make obsolete.
15397 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15398 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15399
15400 2012-01-31 Glenn Morris <rgm@gnu.org>
15401
15402 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15403 Fix :variable handling of mode a symbol not equal to modefun.
15404 Allow named functions to be used as the cdr of :variable.
15405
15406 2012-01-30 Glenn Morris <rgm@gnu.org>
15407
15408 * emacs-lisp/authors.el (authors-fixed-entries):
15409 Remove reference to deleted file rnewspost.el.
15410
15411 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15412
15413 * window.el (window-with-parameter): Remove unused variable `windows'.
15414 (window--side-check): Remove unused variable `code'.
15415 (window--resize-siblings): Remove unused variable `first'.
15416 (adjust-window-trailing-edge): Remove unused variable `failed'.
15417 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15418 Use `let', not `let*'.
15419 (balance-windows-2): Remove unused variable `found'.
15420 (window--state-put-2): Remove unused variable `splits'.
15421 (window-state-put): Remove unused variable `selected'.
15422 (same-window-p): Use `string-match-p'.
15423 (display-buffer-assq-regexp): Remove unused variable `value'.
15424 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15425 Mark argument ALIST as ignored.
15426 (pop-to-buffer): Remove unused variable `old-window'.
15427
15428 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15429
15430 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15431 and .lzma compressed files.
15432
15433 2012-01-29 Chong Yidong <cyd@gnu.org>
15434
15435 * frame.el (window-system-default-frame-alist): Doc fix.
15436
15437 * dynamic-setting.el (font-setting-change-default-font): Don't
15438 change the default face if SET-FONT argument is non-nil (Bug#9982).
15439
15440 2012-01-29 Samuel Bronson <naesten@gmail.com>
15441
15442 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15443
15444 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15445
15446 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15447 breakpoints in files outside current directory (Bug#6098).
15448
15449 2012-01-29 Chong Yidong <cyd@gnu.org>
15450
15451 * progmodes/python.el: Require ansi-color at top-level.
15452
15453 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15454 Define and use in Emacs Lisp mode (Bug#9360).
15455 (lisp-mode-abbrev-table): Add doc.
15456 (lisp-mode-variables): Don't set local-abbrev-table.
15457 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15458
15459 2012-01-28 Roland Winkler <winkler@gnu.org>
15460
15461 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15462
15463 2012-01-28 Roland Winkler <winkler@gnu.org>
15464
15465 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15466 (bibtex-set-dialect): Use it. Either set global values of
15467 dialect-dependent variables or bind these variables buffer-locally
15468 (Bug#10254).
15469 (bibtex-mode): Call bibtex-set-dialect via
15470 hack-local-variables-hook.
15471 (bibtex-dialect): Update docstring.
15472 Add safe-local-variable predicate.
15473 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15474 bibtex-set-dialect.
15475 (bibtex-mode-map): Define menu for each dialect.
15476 (bibtex-entry): Fix docstring.
15477
15478 2012-01-28 Chong Yidong <cyd@gnu.org>
15479
15480 * eshell/esh-arg.el (eshell-quote-argument): New function.
15481
15482 * eshell/esh-ext.el (eshell-invoke-batch-file):
15483 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15484 first arg to eshell-parse-command (Bug#10523).
15485
15486 2012-01-28 Drew Adams <drew.adams@oracle.com>
15487
15488 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15489 `default-directory' is non-nil.
15490
15491 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15492
15493 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15494 line that displays system-configuration-options. (Bug#9924)
15495
15496 2012-01-28 Drew Adams <drew.adams@oracle.com>
15497
15498 * descr-text.el (describe-char): Show information about POS, in
15499 addition to information about the character at POS. Improve and
15500 update the doc string. Change "code point" to "code point in
15501 charset", to avoid confusion with the character's Unicode code
15502 point shown above that. (Bug#10129)
15503
15504 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15505
15506 * descr-text.el (describe-char): Show the raw character, not only
15507 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15508 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15509 for the reasons.
15510
15511 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15512
15513 * emacs-lisp/package.el (package-install):
15514 Run package-refresh-contents if there is no archive yet (Bug#9798).
15515
15516 2012-01-28 Chong Yidong <cyd@gnu.org>
15517
15518 * emacs-lisp/package.el (package-maybe-load-descriptor):
15519 New function, split from package-maybe-load-descriptor.
15520 (package-maybe-load-descriptor): Use it.
15521 (package-download-transaction): Fully load required packages
15522 inside the loop, so that `require' calls work (Bug#10593).
15523 (package-install): No need to call package-initialize now.
15524
15525 2012-01-28 Chong Yidong <cyd@gnu.org>
15526
15527 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15528
15529 * tooltip.el (tooltip-mode): Doc fix.
15530 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15531
15532 * frame.el (set-cursor-color): Doc fix (Bug#352).
15533
15534 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15535 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15536
15537 * cus-edit.el (custom-buffer-create-internal): Fix search button
15538 action (Bug#10542).
15539 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15540
15541 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15542
15543 * dired.el (dired-mark-files-regexp):
15544 Include any subdirectory components. (Bug#10445)
15545
15546 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15547
15548 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15549 Handle [host]:port syntax. (Bug#10533)
15550
15551 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15552
15553 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15554
15555 2012-01-26 Glenn Morris <rgm@gnu.org>
15556
15557 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15558 * term.el (term-raw-escape-map): Use Control-X-prefix.
15559 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15560
15561 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15562
15563 * window.el (window-state-get, window--state-get-1): Don't deal
15564 with fixed-sizeness of windows. Simplify code.
15565
15566 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15567
15568 * window.el (window--state-get-1, window--state-put-2):
15569 Don't save and restore the mark.
15570
15571 2012-01-25 Chong Yidong <cyd@gnu.org>
15572
15573 * custom.el (custom-variable-p): Doc fix.
15574
15575 2012-01-25 Glenn Morris <rgm@gnu.org>
15576
15577 * dired.el (dired-goto-file): Handle some of the more common
15578 characters that `ls -b' escapes. (Bug#10596)
15579
15580 * progmodes/compile.el (compilation-next-error-function):
15581 Respect compilation-first-column in the "*compilation*" buffer.
15582 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15583
15584 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15585
15586 2012-01-24 Glenn Morris <rgm@gnu.org>
15587
15588 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15589
15590 2012-01-24 Julien Danjou <julien@danjou.info>
15591
15592 * color.el (color-rgb-to-hsl): Fix value computing.
15593 (color-hue-to-rgb): New function.
15594 (color-hsl-to-rgb): New function.
15595 (color-clamp, color-saturate-hsl, color-saturate-name)
15596 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15597 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15598
15599 2012-01-24 Glenn Morris <rgm@gnu.org>
15600
15601 * vc/vc-rcs.el (vc-rcs-create-tag):
15602 * vc/vc-sccs.el (vc-sccs-create-tag):
15603 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15604
15605 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15606
15607 * eshell/esh-util.el (eshell-read-hosts-file):
15608 Skip comment lines. (Bug#10549)
15609
15610 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15611
15612 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15613
15614 * subr.el (display-delayed-warnings): Doc fix.
15615 (collapse-delayed-warnings): New function to collapse identical
15616 adjacent warnings.
15617 (delayed-warnings-hook): Add it.
15618
15619 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15620
15621 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15622
15623 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15624 (tramp-default-user-alist): Don't add "pscp".
15625 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15626 property "login-as", if set. (Bug#10530)
15627
15628 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15629
15630 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15631 "plink1" and "psftp". (Bug#10530)
15632
15633 2012-01-21 Kenichi Handa <handa@m17n.org>
15634
15635 * international/mule-cmds.el (prefer-coding-system): Show a
15636 warning message if the default value of file-name-coding-system
15637 was not changed.
15638
15639 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15640
15641 * windmove.el (windmove-reference-loc):
15642 Fix windmove-reference-loc miscalculation.
15643
15644 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15645
15646 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15647 default unit.
15648
15649 2012-01-21 Glenn Morris <rgm@gnu.org>
15650
15651 * international/mule.el (auto-coding-alist): Add .tbz.
15652
15653 * files.el (local-enable-local-variables): Doc fix.
15654 (inhibit-local-variables-regexps): Rename from
15655 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15656 Doc fix. Add some extensions from auto-coding-alist.
15657 (inhibit-local-variables-suffixes):
15658 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15659 (inhibit-local-variables-p):
15660 New function, extracted from set-auto-mode-1.
15661 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15662 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15663 (hack-local-variables): Doc fix. Make the mode-only case
15664 respect enable-local-variables and friends.
15665 Respect inhibit-local-variables-regexps for file-locals, but
15666 not for directory-locals.
15667 (set-visited-file-name):
15668 Take account of inhibit-local-variables-regexps.
15669 Whether it applies may change as the file name is changed.
15670 * jka-cmpr-hook.el (jka-compr-install):
15671 * jka-compr.el (jka-compr-uninstall):
15672 Update for inhibit-first-line-modes-suffixes name change.
15673
15674 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15675
15676 * help-macro.el (make-help-screen): Temporarily restore original
15677 binding for minor-mode-map-alist (Bug#10454).
15678
15679 2012-01-19 Julien Danjou <julien@danjou.info>
15680
15681 * color.el (color-name-to-rgb): Use the white color to find the max
15682 color component value and return correctly computed values.
15683 (color-name-to-rgb): Add missing float conversion for max value.
15684
15685 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15686
15687 * window.el (window--state-get-1, window-state-get): Do not use
15688 special state value for window-persistent-parameters.
15689 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15690 (window--state-put-2): Reset all window parameters to nil before
15691 assigning values of persistent parameters.
15692
15693 2012-01-18 Alan Mackenzie <acm@muc.de>
15694
15695 Eliminate sluggishness and hangs in fontification of "semicolon
15696 deserts".
15697
15698 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15699 Change value 10000 -> 3000.
15700 (c-state-safe-place): Reformulate so it doesn't stack up an
15701 infinite number of wrong entries in c-state-nonlit-pos-cache.
15702 (c-determine-limit-get-base, c-determine-limit): New functions to
15703 determine backward search limits disregarding literals.
15704 (c-find-decl-spots): Amend commenting.
15705 (c-cheap-inside-bracelist-p): New function which detects "={".
15706
15707 * progmodes/cc-fonts.el
15708 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15709 backward search.
15710 (c-font-lock-declarations): Fix an occurrence of point being
15711 undefined. Check additionally for point being in a bracelist or
15712 near a macro invocation without a semicolon so as to avoid a
15713 fruitless time consuming search for a declarator. Give a more
15714 precise search limit for declarators using the new
15715 c-determine-limit.
15716
15717 2012-01-18 Glenn Morris <rgm@gnu.org>
15718
15719 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15720 (set-auto-mode): Doc fixes.
15721
15722 2012-01-17 Glenn Morris <rgm@gnu.org>
15723
15724 * isearch.el (search-nonincremental-instead): Fix doc typo.
15725
15726 * dired.el (dired-insert-directory): Handle newlines in directory name.
15727 (dired-build-subdir-alist): Unescape newlines in directory name.
15728
15729 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15730
15731 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15732 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15733 (tramp-action-terminal): Use it. (Bug#10530)
15734
15735 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15736
15737 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15738
15739 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15740
15741 * window.el (window-state-ignored-parameters): Remove variable.
15742 (window--state-get-1): Rename argument MARKERS to IGNORE.
15743 Handle persistent window parameters. Make copy of clone-of
15744 parameter only if requested. (Bug#10348)
15745 (window--state-put-2): Install a window parameter only if it has
15746 a non-nil value or an existing parameter shall be overwritten.
15747
15748 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15749
15750 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15751
15752 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15753
15754 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15755 don't pass the (nil) value of `upnode' to string-match.
15756
15757 2012-01-14 Chong Yidong <cyd@gnu.org>
15758
15759 * startup.el (command-line): Fix X resource class for cursorColor.
15760 Fix values recognized by the cursorBlink resource.
15761
15762 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15763
15764 * epg.el (epg--make-temp-file): Avoid permission race condition
15765 when running on old Emacs versions (bug#10403).
15766
15767 2012-01-14 Glenn Morris <rgm@gnu.org>
15768
15769 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15770
15771 2012-01-13 Alan Mackenzie <acm@muc.de>
15772
15773 Fix filling for when filladapt mode is enabled.
15774
15775 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15776 c-mask-paragraph, pass in `fill-paragraph' rather than
15777 `fill-region-as-paragraph'. (This is a reversion of a previous
15778 change.)
15779 * progmodes/cc-mode.el (c-basic-common-init):
15780 Make fill-paragraph-handle-comment buffer local and set it to nil.
15781
15782 2012-01-13 Glenn Morris <rgm@gnu.org>
15783
15784 * dired.el (dired-switches-escape-p): New function.
15785 (dired-insert-directory): Use dired-switches-escape-p.
15786 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15787
15788 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15789
15790 2012-01-12 Glenn Morris <rgm@gnu.org>
15791
15792 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15793 changes in adaptive-fill-regexp. (Bug#10276)
15794
15795 2012-01-11 Alan Mackenzie <acm@muc.de>
15796
15797 Fix Emacs bug #10463 - put `widen's around the critical spots.
15798
15799 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15800 widen around each invocation of c-state-pp-to-literal. Remove an
15801 unused let variable.
15802
15803 2012-01-11 Glenn Morris <rgm@gnu.org>
15804
15805 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15806 Doc fix.
15807
15808 2012-01-10 Chong Yidong <cyd@gnu.org>
15809
15810 * net/network-stream.el (network-stream-open-starttls):
15811 Avoid emitting a confusing error message when the server gives a bad
15812 response to the capability command.
15813
15814 2012-01-10 Glenn Morris <rgm@gnu.org>
15815
15816 * mail/unrmail.el (unrmail): Tweak previous change.
15817
15818 2012-01-09 Chong Yidong <cyd@gnu.org>
15819
15820 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15821
15822 2012-01-08 Alan Mackenzie <acm@muc.de>
15823
15824 Optimize font locking in long enum definitions.
15825
15826 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15827 arm to a cond form to handle enums.
15828 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15829 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15830
15831 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15832
15833 * files.el (move-file-to-trash): Preserve default file modes on error.
15834 (Bug#10401)
15835
15836 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15837
15838 * faces.el (set-face-attribute): Clarify the meaning of the nil
15839 frame (bug#10294).
15840
15841 * subr.el (with-selected-frame): Mention that the selected frame
15842 is restored (bug#9980).
15843
15844 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15845 (bug#9759).
15846
15847 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15848 (password-read): Don't autoload unused function.
15849
15850 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15851
15852 * progmodes/which-func.el (which-func-mode): Turn into a
15853 non-interactive function and mark as obsolete (bug#10428).
15854
15855 2012-01-06 Chong Yidong <cyd@gnu.org>
15856
15857 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15858 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15859 functions, along with 1 and -1.
15860
15861 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15862
15863 * time.el (display-time-load-average)
15864 (display-time-default-load-average): Doc fixes. See the thread
15865 starting at
15866 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15867 for the details.
15868
15869 2012-01-06 Glenn Morris <rgm@gnu.org>
15870
15871 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15872 has no messages. (Bug#10377)
15873
15874 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15875 than Info-edit. (Bug#10385)
15876
15877 * time.el (display-time-load-average, display-time-next-load-average):
15878 Doc fixes.
15879
15880 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15881 local setting of buffer-read-only to the input buffer. (Bug#10419)
15882
15883 * calendar/calendar.el (calendar-mode):
15884 Locally set scroll-margin to 0. (Bug#10379)
15885
15886 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15887
15888 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15889
15890 2012-01-05 Glenn Morris <rgm@gnu.org>
15891
15892 * eshell/em-unix.el (diff-no-select): Autoload it.
15893 (eshell/diff): Use diff-no-select. (Bug#10420)
15894
15895 2012-01-05 Chong Yidong <cyd@gnu.org>
15896
15897 * shell.el (shell-dynamic-complete-functions): Revert last change.
15898 (shell-command-completion-function): New function.
15899 (shell-completion-vars): Use it to implement
15900 shell-completion-execonly (Bug#10417).
15901
15902 * custom.el (enable-theme): Don't set custom-safe-themes.
15903
15904 * cus-theme.el (custom-theme-merge-theme):
15905 Ignore custom-enabled-themes and custom-safe-themes.
15906
15907 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15908
15909 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15910 first prompt in `sql-interacive-mode'.
15911 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15912 keywords.
15913 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15914 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15915 context of original buffer. Invoke `sql-login-hook'.
15916
15917 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15918
15919 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15920 letters in cite-prefix.
15921
15922 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15925
15926 2012-01-03 Chong Yidong <cyd@gnu.org>
15927
15928 * shell.el (shell-dynamic-complete-functions):
15929 Put pcomplete-completions-at-point, so as to try
15930 comint-filename-completion first (Bug#10417).
15931
15932 2012-01-02 Richard Stallman <rms@gnu.org>
15933
15934 * battery.el (battery-status-function):
15935 Detect when to use battery-yeeloong-sysfs.
15936 (battery-echo-area-format): Add string for Yeeloong.
15937 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15938 (battery-yeeloong-sysfs): New function.
15939
15940 2012-01-02 Chong Yidong <cyd@gnu.org>
15941
15942 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15943 (dirtrack): Merge code for handling relative filenames in prompt
15944 from shell-dir-cookie-watcher.
15945 (dirtrack-debug-message): New arg to avoid excess format calls.
15946
15947 * shell.el (shell-dir-cookie-re): Variable deleted.
15948 (shell-dir-cookie-watcher): Function deleted.
15949 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15950 with dirtrack-mode.
15951
15952 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15953
15954 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15955 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15956 libgnutls-26.dll.
15957
15958 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15959
15960 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15961
15962 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15963
15964 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15965 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15966
15967 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15968
15969 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15970 also for alternative shells.
15971 (tramp-open-connection-setup-interactive-shell): Check, whether
15972 the shell is a busybox.
15973 (tramp-send-command): Don't suppress multiple prompts for
15974 busyboxes, it hurts.
15975
15976 2011-12-28 Chong Yidong <cyd@gnu.org>
15977
15978 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15979 (gdb-get-source-file): Move mode line update to
15980 gdb-get-source-file (Bug#10087).
15981
15982 2011-12-25 Chong Yidong <cyd@gnu.org>
15983
15984 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15985 gud-gdb-marker-filter without taking it as an argument.
15986 (gud-gdb-run-command-fetch-lines): Caller changed.
15987 (gud-gdb-completion-function): New variable.
15988 (gud-gdb-completion-at-point): Use it.
15989 (gud-gdb-completions-1): Split from gud-gdb-completions.
15990
15991 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15992 function as separate arguments.
15993 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15994 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15995 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15996 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15997 (gdb-stopped, def-gdb-auto-update-trigger)
15998 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15999 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16000 Callers changed.
16001 (gud-gdbmi-completions): New function.
16002 (gdb): Use it for generating the completion table.
16003
16004 2011-12-24 Alan Mackenzie <acm@muc.de>
16005
16006 Introduce a mechanism to widen the region used in context font
16007 locking. Use this to protect declarations from losing their contexts.
16008
16009 * progmodes/cc-langs.el (c-before-font-lock-functions):
16010 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16011 (c-before-context-fontification-functions): New defvar, a list of
16012 functions to be run just before context (etc.) font locking.
16013
16014 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16015 New, functionality extracted from
16016 c-neutralize-syntax-in-and-mark-CPP.
16017 (c-in-after-change-fontification): New variable.
16018 (c-after-change): Set c-in-after-change-fontification.
16019 (c-set-fl-decl-start): Rejig its interface, so it can be called
16020 from both after-change and context fontifying.
16021 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16022 New functions.
16023 (c-standard-font-lock-fontify-region-function): New variable.
16024 (c-font-lock-fontify-region): New function.
16025
16026 2011-12-24 Juri Linkov <juri@jurta.org>
16027
16028 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16029 (Bug#10348)
16030
16031 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16032
16033 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16034 existence of source file. (Bug#10325)
16035
16036 2011-12-23 Alan Mackenzie <acm@muc.de>
16037
16038 Fix unstable fontification inside templates.
16039
16040 * progmodes/cc-langs.el (c-before-font-lock-functions):
16041 Newly created from the singular version. The (c c++ objc) entry now
16042 additionally has c-set-fl-decl-start. The other languages (apart
16043 from AWK) have that as a single entry.
16044
16045 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16046 The functionality for "local" declarations has been extracted to
16047 c-set-fl-decl-start.
16048
16049 * progmodes/cc-mode.el (c-common-init, c-after-change):
16050 Changes due to pluralisation of c-before-font-lock-functions.
16051 (c-set-fl-decl-start): New function, extracted from
16052 c-font-lock-enclosing-decls and enhanced.
16053
16054 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16055
16056 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16057
16058 2011-12-22 Juri Linkov <juri@jurta.org>
16059
16060 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16061
16062 2011-12-22 Chong Yidong <cyd@gnu.org>
16063
16064 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16065
16066 2011-12-21 Drew Adams <drew.adams@oracle.com>
16067
16068 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16069
16070 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16071
16072 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16073
16074 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16075
16076 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16077 highlighting and support. Fix up comments for capitalization.
16078 (cfengine-mode-debug): New var.
16079 (cfengine3-mode): Change the modeline indicator to "CFE3".
16080 (cfengine3-font-lock-keywords): Improve defun highlighting.
16081 (cfengine2-actions): Rename from `cfengine-actions'.
16082 (cfengine2-font-lock-keywords): Rename from
16083 `cfengine-font-lock-keywords'.
16084 (cfengine2-imenu-expression): Rename from
16085 `cfengine-imenu-expression'.
16086 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16087 (cfengine2-beginning-of-defun): Rename from
16088 `cfengine-beginning-of-defun'.
16089 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16090 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16091 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16092 modeline indicator to "CFE2".
16093 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16094 (cfengine-mode-abbrevs): Mark obsolete.
16095
16096 2011-12-21 Chong Yidong <cyd@gnu.org>
16097
16098 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16099 filename argument.
16100
16101 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16102
16103 * window.el (window-normalize-buffer-to-display): Remove.
16104 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16105
16106 2011-12-19 Chong Yidong <cyd@gnu.org>
16107
16108 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16109 Don't signal an error in a predicate function; return non-nil.
16110 (vc-dir-mark-file): Move the error here.
16111 (vc-dir-mark-unmark): If acting on the region, keep going if one
16112 of the entries cannot be marked/unmarked.
16113 (vc-dir-mark-all-files): If current entry is a directory, mark
16114 only child files, as documented.
16115
16116 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16117
16118 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16119 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16120 addition.
16121
16122 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16123
16124 * term/ns-win.el (ns-get-selection-internal)
16125 (ns-store-selection-internal): Declare.
16126 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16127 Declare as obsolete.
16128 (ns-get-pasteboard, ns-paste-secondary):
16129 Use ns-get-selection-internal.
16130 (ns-set-pasteboard, ns-copy-including-secondary):
16131 Use ns-store-selection-internal.
16132
16133 2011-12-17 Chong Yidong <cyd@gnu.org>
16134
16135 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16136 (vc-deduce-fileset): Doc fix.
16137
16138 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16139
16140 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16141
16142 2011-12-13 Sam Steingold <sds@gnu.org>
16143
16144 * man.el (Man-getpage-in-background): When running under a
16145 window-system, ignore $MANWIDTH and $COLUMNS.
16146
16147 2011-12-15 Kenichi Handa <handa@m17n.org>
16148
16149 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16150 (setup-ethiopic-environment-internal): Comment out key-binding for
16151 ethio-toggle-punctuation.
16152
16153 2011-12-13 Alan Mackenzie <acm@muc.de>
16154
16155 Add the switch statement to AWK Mode.
16156
16157 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16158 "default" to the keywords regexp.
16159
16160 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16161 expression as the rest.
16162 (c-nonlabel-token-key): Allow string literals for AWK.
16163 Refactor for the other modes.
16164
16165 Large brace-block initialisation makes CC Mode slow: Fix.
16166 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16167 routines. Limit backward searching in c-font-lock-enclosing.decl.
16168
16169 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16170 pp-state and literal type in addition to the limits.
16171 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16172 (c-state-literal-at): Use the above new defun.
16173 (c-slow-in-literal, c-fast-in-literal): Remove.
16174 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16175
16176 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16177 being in a literal. Add a limit for backward searching.
16178
16179 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16180 c-slow-in-literal.
16181
16182 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16185
16186 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16187
16188 * window.el (delete-other-windows): Use correct frame in call to
16189 window-with-parameter.
16190
16191 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16192
16193 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16194 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16195 (makefile-gmake-statements, makefile-makepp-statements):
16196 Use it and add new makepp keywords.
16197 (makefile-makepp-font-lock-keywords): Add new patterns.
16198 (makefile-match-function-end): Match new [...] and [[...]].
16199
16200 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16201
16202 * ses.el (ses-call-printer-return, ses-cell-property-get)
16203 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16204 (ses-create-cell-variable, ses-reset-header-string)
16205 (ses-cell-set-formula, ses-repair-cell-reference-all)
16206 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16207 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16208 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16209 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16210 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16211 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16212 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16213 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16214 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16215 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16216 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16217 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16218
16219 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16220
16221 * ses.el: The overall change is to add cell renaming, that is
16222 setting fancy names for cell symbols other than name matching
16223 "\\`[A-Z]+[0-9]+\\'" regexp .
16224 (ses-create-cell-variable): New defun.
16225 (ses-relocate-formula): Relocate formulas only for cells the
16226 symbols of which are not renamed, i.e. symbols whose names do not
16227 match regexp "\\`[A-Z]+[0-9]+\\'".
16228 (ses-relocate-all): Relocate values only for cells the symbols of
16229 which are not renamed.
16230 (ses-load): Create cells variables as the (ses-cell ...) are read,
16231 in order to check row col consistency with cell symbol name only
16232 for cells that are not renamed.
16233 (ses-replace-name-in-formula): New defun.
16234 (ses-rename-cell): New defun.
16235
16236 2011-12-11 Chong Yidong <cyd@gnu.org>
16237
16238 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16239 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16240
16241 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16242
16243 * window.el (other-window): Fix docstring.
16244
16245 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16246
16247 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16248 `from' or `to' address before taking its substring.
16249 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16250 encoded name is chopped in the middle of the encoded string, and
16251 thus displayed encoded.
16252
16253 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16254
16255 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16256
16257 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16258
16259 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16260 to use texinfo-update-node and commands that call it if the
16261 Texinfo file uses @node lines without next/prev/up pointers.
16262 Correct outdated description about texinfo-master-menu.
16263 (texinfo-all-menus-update, texinfo-master-menu)
16264 (texinfo-update-node, texinfo-every-node-update)
16265 (texinfo-multiple-files-update): Doc fix. Warn against updating
16266 all the @node lines.
16267 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16268 argument is numeric. Explain better in the doc string what the
16269 function really does.
16270 (texinfo-insert-master-menu-list): Improve the error message
16271 displayed if there's no menu in the Top node.
16272 (Bug#2975) See also this thread:
16273 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16274
16275 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16276
16277 * speedbar.el (speedbar-supported-extension-expressions):
16278 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16279
16280 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16281
16282 * printing.el (pr-mode-alist):
16283 * simple.el (filter-buffer-substring-functions)
16284 (completion-list-insert-choice-function):
16285 * window.el (window-with-parameter, window-atom-root)
16286 (window-sides-slots, window-size-fixed, window-min-delta)
16287 (window-max-delta, window--resize-mini-window)
16288 (window--resize-child-windows-normal, window-tree)
16289 (delete-other-windows, quit-window, split-window)
16290 (display-buffer-record-window, special-display-buffer-names)
16291 (special-display-regexps, special-display-popup-frame)
16292 (same-window-p, split-window-sensibly)
16293 (display-buffer-overriding-action, display-buffer-alist)
16294 (display-buffer-base-action, display-buffer, switch-to-buffer)
16295 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16296 (fit-window-to-buffer, recenter-positions)
16297 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16298 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16299 and remove unneeded backslashes in docstrings.
16300
16301 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16302
16303 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16304
16305 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16306 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16307 end in ".mk".
16308 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16309 when reading the makefile (bug#10116).
16310
16311 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16314 (bug#10116).
16315
16316 2011-12-06 Glenn Morris <rgm@gnu.org>
16317
16318 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16319
16320 2011-12-06 Chong Yidong <cyd@gnu.org>
16321
16322 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16323
16324 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16325
16326 * textmodes/table.el (table-shorten-cell): Fix typo.
16327
16328 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16329
16330 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16331
16332 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16333
16334 * descr-text.el (describe-char): Fix display of strong
16335 right-to-left characters and directional embeddings and overrides.
16336
16337 * simple.el (what-cursor-position): Fix display of codepoints of
16338 strong right-to-left characters.
16339
16340 2011-12-05 Chong Yidong <cyd@gnu.org>
16341
16342 * faces.el (read-color): Doc fix.
16343
16344 2011-12-05 Glenn Morris <rgm@gnu.org>
16345
16346 * align.el (align--set-marker): Add doc-string.
16347 Don't try to move something that is not a marker. (Bug#10216)
16348
16349 2011-12-04 Glenn Morris <rgm@gnu.org>
16350
16351 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16352 overly zealous deletion of trailing whitespace.
16353
16354 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16355
16356 * server.el (server-delete-client): On Windows, do not try to delete
16357 the only terminal.
16358 (server-process-filter): On Windows, treat requests for a tty frame as
16359 if they were for a GUI frame if the running server is in GUI mode.
16360
16361 2011-12-03 Glenn Morris <rgm@gnu.org>
16362
16363 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16364
16365 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16366
16367 * electric.el: Streamline electric-indent's hook.
16368 (electric-indent-chars): Revert to simple list.
16369 (electric-indent-functions): New var.
16370 (electric-indent-post-self-insert-function): Use it.
16371
16372 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16373 there's no inferior buffer (bug#10196).
16374 (prolog-consult-compile): Don't use toggle-read-only.
16375
16376 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16377
16378 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16379 interrupt. (Bug#10187)
16380
16381 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16382
16383 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16384 (bug#9160).
16385
16386 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16387 (bug#10191).
16388
16389 2011-12-02 Juri Linkov <juri@jurta.org>
16390
16391 * info.el (Info-search): Display "end of manual" when Isearch
16392 reaches the end of single-file Info manual. (Bug#9918)
16393
16394 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16395
16396 * isearch.el (isearch-message-prefix): Run the input method part
16397 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16398
16399 2011-12-02 Juri Linkov <juri@jurta.org>
16400
16401 * isearch.el (isearch-occur): Use `word-search-regexp' for
16402 `isearch-word'.
16403 (isearch-search-and-update): Add condition for `isearch-word' and
16404 call `word-search-regexp'. (Bug#10145)
16405
16406 2011-12-01 Glenn Morris <rgm@gnu.org>
16407
16408 * eshell/em-hist.el (eshell-hist-initialize):
16409 Handle eshell-history-size nil and HISTSIZE set or unset.
16410 (eshell-history-file-name, eshell-history-size): Fix custom type.
16411
16412 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16413
16414 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16415
16416 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16417
16418 * progmodes/verilog-mode.el (verilog-pretty-expr):
16419 Rework verilog-pretty-expr to handle new assignment operators in system
16420 verilog, such as += *= and the like.
16421 (verilog-assignment-operator-re): Regular expression to find the
16422 assigment operator in a verilog assignment.
16423 (verilog-assignment-operation-re): Regular expression to find an
16424 assignment statement for pretty-expr.
16425 (verilog-in-attribute-p): Query returns true if point is in an
16426 attribute context; used to skip these for expression line up from
16427 pretty-expr.
16428 (verilog-in-parameter-p): Query returns true if point is in an
16429 parameter definition context; used to skip these for expression
16430 line up from pretty-expr.
16431 (verilog-in-parenthesis-p): Query returns true if point is in a
16432 parenthetical expression, specifically ( ) but not [ ] or { };
16433 used by pretty-expr.
16434 (verilog-just-one-space): If there is no space, don't add one.
16435 (verilog-get-lineup-indent-2): Specifically skip just attribute
16436 contexts for expression lineup, rather than skipping all
16437 parenthetical expressions.
16438 (verilog-calculate-indent): Fix comment, and fix indent.
16439 (verilog-do-indent): Indent declarations in lists (suggested by
16440 Joachim Lechner).
16441 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16442 skeleton items.
16443 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16444 by Alain Mellan).
16445
16446 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16447
16448 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16449 parameters with embedded comments. Reported by Ray Stevens.
16450 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16451 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16452 Reported by Tim Holt.
16453 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16454 instantiated by upper module causing wrong expansion until AUTOed a
16455 second time. Reported by K C Buckenmaier.
16456 (verilog-diff-auto): Fix showing .* as a difference when
16457 `verilog-auto-star-save' off. Reported by Dan Dever.
16458 (verilog-auto-reset, verilog-read-always-signals)
16459 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16460 temporary signals in reset list if
16461 verilog-auto-reset-blocking-in-non is nil, and match assignment
16462 style to each signal's assignment type, bug381.
16463 Reported by Thomas Esposito.
16464 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16465 (verilog-uvm-statement-re): Support UVM indentation and
16466 highlighting, with old OVM keywords only.
16467 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16468 Support AUTOTIEOFF creating non-wire data types.
16469 Suggested by Jonathan Greenlaw.
16470 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16471 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16472 (verilog-inject-sense, verilog-read-inst-pins)
16473 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16474 Fix mismatching parenthesis inside commented out code when deleting
16475 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16476 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16477 non-numeric vector width. Reported by Alex Reed.
16478 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16479 detecting signals with parameter widths. Reported by Alex Reed.
16480 (verilog-auto-delete-trailing-whitespace):
16481 With `verilog-auto-delete-trailing-whitespace' remove trailing
16482 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16483 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16484 Fix verilog-scan-cache corruption when running user AUTO expansion
16485 hooks that call indentation routines.
16486 (verilog-simplify-range-expression): Fix typo ignoring lower case
16487 identifiers.
16488 (verilog-delete-auto): Fix delete-autos to also remove user created
16489 automatics, as long as they start with AUTO.
16490 (verilog-batch-diff-auto, verilog-diff-auto)
16491 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16492 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16493 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16494 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16495 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16496 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16497 is disabled and its cache will get corrupt, causing AUTOS not to
16498 expand. Instead use only -quick functions.
16499 (verilog-scan-region): Fix scanning over escaped quotes.
16500 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16501 (verilog-re-search-backward-quick)
16502 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16503 related functions now ignore strings, to fix misparsing of strings
16504 with magic comments embedded in them.
16505 (verilog-read-auto-template):
16506 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16507 Reported by Brad Dobbie.
16508 (verilog-read-auto-template):
16509 Fix 'verilog-auto-inst-template-numbers' with comments.
16510 Reported by Brad Dobbie.
16511 (verilog-auto-inst, verilog-auto-inst-param)
16512 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16513 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16514 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16515 debugging templates without merge conflicts, bug357.
16516 Reported by Brad Dobbie.
16517 (verilog-read-auto-template):
16518 Fix verilog-auto-inst-template-numbers with multiple templates.
16519 Reported by Brad Dobbie.
16520 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16521 abbrevs so user won't be asked to save.
16522 (verilog-read-auto-lisp-present): Fix to start at beginning of
16523 buffer in case called outside of verilog-auto.
16524 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16525 to "X-2". Reported by Matthew Myers.
16526 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16527 all inputs from module templates. Reported by Leith Johnson.
16528 (verilog-module-inside-filename-p): Fix locating programs as with
16529 modules.
16530 (verilog-auto-inst-port): Fix vl-width expressions when using
16531 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16532 (verilog-decls-get-regs, verilog-decls-get-signals,
16533 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16534 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16535 verilog-read-decls): Combine reg and wire structures into one var
16536 structure to represent SystemVerilog concepts.
16537 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16538 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16539 (verilog-auto-wire-type, verilog-insert-definition):
16540 Add verilog-auto-wire-type and AUTOLOGIC to support using
16541 SystemVerilog "logic" keyword instead of "wire"/"reg".
16542 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16543 to declares outputs that also have assignments (presumably in an
16544 ifdef or generate if so there's not a driver conflict).
16545 Reported by Matthew Myers.
16546 (verilog-auto-declare-nettype, verilog-insert-definition):
16547 Add verilog-auto-declare-nettype to fix declarations using
16548 `default_nettype none. Reported by Julian Gorfajn.
16549 (verilog-read-always-signals-recurse, verilog-read-decls)
16550 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16551 malformed end statement, bug325. Reported by Joshua Wise and
16552 Andrew Drake.
16553 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16554 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16555 when expanding .* in interfaces, bug320.
16556 Reported by Pierre-David Pfister.
16557 (verilog-read-module-name): Fix import statements between module
16558 name and open parenthesis, bug317.
16559 Reported by Pierre-David Pfister.
16560 (verilog-simplify-range-expression): Fix simplification of
16561 multiplications inside AUTOWIRE connections, bug303.
16562 (verilog-auto-inst-port): Support parameter expansion in
16563 multidimensional arrays.
16564 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16565 after "assert property". Reported by Julian Gorfajn.
16566 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16567 with multiplication, bug303.
16568 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16569 Reported by Jan Frode Lonnum.
16570
16571 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16572
16573 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16574 (hfy-shell-file-name, hfy-shell):
16575 * international/fontset.el (x-decompose-font-name): Fix typos.
16576
16577 2011-11-29 Ken Brown <kbrown@cornell.edu>
16578
16579 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16580 (gdb-version): Remove defvar.
16581 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16582 (gdb-gud-context-command, gdb-non-stop-handler)
16583 (gdb-current-context-command, gdb-stopped): Use it.
16584 (gdb-init-1): Enable pretty printing here.
16585 (gdb-non-stop-handler): Don't enable pretty-printing here.
16586 Check to see if the target supports non-stop mode; if not, turn off
16587 non-stop mode. Use the following.
16588 (gdb-check-target-async): New defun.
16589 (gud-watch, gdb-stopped): Fix whitespace.
16590 (gdb-get-source-file): Don't try to display the source file if
16591 `gdb-main-file' is nil.
16592
16593 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16594
16595 * align.el: Try to generate fewer markers (bug#10047).
16596 (align--set-marker): New macro.
16597 (align-region): Use it.
16598
16599 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16602
16603 2011-11-29 Chong Yidong <cyd@gnu.org>
16604
16605 * indent.el (indent-for-tab-command, indent-according-to-mode):
16606 Doc fix.
16607 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16608
16609 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16610
16611 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16612 aware of remote file names. (Bug#10124)
16613
16614 2011-11-29 Chong Yidong <cyd@gnu.org>
16615
16616 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16617
16618 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16619
16620 * files.el (find-file): Don't use force-same-window (bug#10144).
16621 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16622 use pop-to-buffer if the selected window can't be used.
16623 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16624
16625 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16626
16627 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16628 special-mode-map.
16629
16630 2011-11-28 Chong Yidong <cyd@gnu.org>
16631
16632 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16633
16634 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16635
16636 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16637 gdb-get-source-file-list on gdb-create-source-file-list.
16638
16639 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16640
16641 * whitespace.el (whitespace-newline): Use a different foreground
16642 color for 16-color light-background displays.
16643
16644 2011-11-24 Chong Yidong <cyd@gnu.org>
16645
16646 * window.el (display-buffer--special-action): Doc fix.
16647
16648 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16649
16650 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16651 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16652 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16653 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16654 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16655 (avl-tree-stack-first):
16656 * emacs-lisp/cconv.el (cconv--analyse-use):
16657 * net/gnutls.el (gnutls-negotiate): Fix typos.
16658
16659 2011-11-24 Glenn Morris <rgm@gnu.org>
16660
16661 * lpr.el (lpr-windows-system, lpr-lp-system):
16662 * mail/binhex.el (binhex-begin-line):
16663 * progmodes/grep.el (grep-history, grep-find-history):
16664 * textmodes/flyspell.el:
16665 * vc/pcvs-defs.el (cvs-global-menu):
16666 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16667 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16668 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16669
16670 * net/tls.el: Fix case of "GnuTLS".
16671
16672 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16673
16674 * version.el (emacs-build-system): Give it a doc-string.
16675
16676 2011-11-24 Juri Linkov <juri@jurta.org>
16677
16678 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16679
16680 2011-11-24 Glenn Morris <rgm@gnu.org>
16681
16682 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16683 if called on a non-mime message just toggle the headers. (Bug#8006)
16684
16685 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16686
16687 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16688 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16689 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16690 (allout-rebullet-heading, allout-open-sibtopic)
16691 (allout-toggle-current-subtree-encryption)
16692 (allout-toggle-subtree-encryption, allout-encrypt-string)
16693 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16694 (allout-distinctive-bullets-string, allout-auto-activation):
16695 * window.el (window-normalize-buffer-to-display):
16696 * progmodes/verilog-mode.el (verilog-batch-indent):
16697 * textmodes/bibtex.el (bibtex-field-braces-opt)
16698 (bibtex-field-strings-opt):
16699 * vc/cvs-status.el (cvs-tree-merge):
16700 Fix typos.
16701
16702 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16703
16704 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16705 `non-essential' to t, in order to avoid remote connections.
16706
16707 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16708
16709 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16710 On MS-DOS and MS-Windows, compare with loaddefs.el
16711 case-insensitively.
16712
16713 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16714
16715 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16716
16717 2011-11-23 Glenn Morris <rgm@gnu.org>
16718
16719 * paths.el (rmail-file-name): Reformat the doc-string so that it
16720 is picked up.
16721
16722 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16723 (rmail-auto-file): Ignore case in the "special" field names,
16724 as mail-fetch-field does for all others.
16725
16726 * mail/rmail.el (rmail-forward):
16727 * mail/rmailkwd.el (rmail-set-label):
16728 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16729 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16730
16731 * mail/rmail.el (rmail-current-message): Doc fix.
16732
16733 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16734
16735 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16738
16739 2011-11-22 Glenn Morris <rgm@gnu.org>
16740
16741 * mail/rmailmm.el (test-rmail-mime-handler)
16742 (test-rmail-mime-bulk-handler)
16743 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16744
16745 2011-11-21 Juri Linkov <juri@jurta.org>
16746
16747 * calc/calc.el (calc-read-key-sequence):
16748 Let-bind `input-method-function' to nil. (Bug#10018)
16749
16750 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16751
16752 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16753 Tell the caller that the next line needs recomputation, even
16754 though it doesn't start a sexp (bug#10094).
16755
16756 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16759
16760 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16761
16762 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16763 Use force-same-window.
16764
16765 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16766
16767 * descr-text.el (describe-char-unicode-data):
16768 * json.el (json-string-escape):
16769 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16770 (Footnote-unicode, Footnote-style-p):
16771 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16772
16773 2011-11-20 Chong Yidong <cyd@gnu.org>
16774
16775 * window.el (replace-buffer-in-windows): Restore interactive spec.
16776
16777 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16780
16781 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16782 (byte-compile-global-not-obsolete-vars): New var.
16783 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16784 Use it.
16785 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16786
16787 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16788
16789 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16790 * progmodes/pascal.el (electric-pascal-equal):
16791 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16792 * xml.el (xml-substitute-special): Fix typos.
16793
16794 2011-11-20 Glenn Morris <rgm@gnu.org>
16795
16796 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16797 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16798 Doc fixes.
16799 (rmail-decode-mime-charset): Mark as obsolete.
16800
16801 * mail/rmailsum.el (rmail-message-regexp-p-1):
16802 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16803 Before using mime functions, check they are set. (Bug#10077)
16804
16805 2011-11-19 Juri Linkov <juri@jurta.org>
16806
16807 * info.el (Info-finder-find-node): Use `package--builtins' instead
16808 of `package-alist'. Use node names formed by the pattern "Keyword "
16809 and the keyword name.
16810
16811 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16812
16813 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16814
16815 2011-11-19 Juri Linkov <juri@jurta.org>
16816
16817 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16818 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16819 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16820 `old-history', `old-history-forward'. Add let-binding
16821 `window-selected'. Remove calls to `kill-buffer',
16822 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16823 before calling `Info-find-node', so `Info-find-node-2' will reread
16824 the Info file. Restore window positions only when `window-selected'
16825 is non-nil.
16826
16827 2011-11-19 Juri Linkov <juri@jurta.org>
16828
16829 * isearch.el (isearch-lazy-highlight-new-loop):
16830 Remove condition `(not isearch-error)'. (Bug#9918)
16831
16832 * misearch.el (multi-isearch-search-fun): Add condition
16833 `(not bound)' to ignore lazy-highlighting search.
16834 Add the search-failed message "end of multi" when the end of
16835 multi-sequence is reached. Uncapitalize the search-failed
16836 message "Repeat for next buffer".
16837
16838 * info.el (Info-search): Add the search-failed message
16839 "end of the manual" when the end of the manual is reached
16840 in Isearch mode.
16841
16842 2011-11-19 Juri Linkov <juri@jurta.org>
16843
16844 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16845 Use non-destructive `remove' instead of `delete' because
16846 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16847 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16848
16849 2011-11-19 Juri Linkov <juri@jurta.org>
16850
16851 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16852 to nil instead of binding `search-ring' and `regexp-search-ring'.
16853 (Bug#9185)
16854
16855 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16856
16857 * simple.el (line-move): Force movement by logical lines for any
16858 hscrolled window, not only when auto-hscroll-mode is on.
16859 (line-move-visual): Update doc string to that effect. (Bug#10076)
16860
16861 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16862
16863 * language/european.el (macintosh): Define as alias for mac-roman.
16864
16865 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16866
16867 * mail/rmailmm.el (rmail-mime-display-header)
16868 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16869 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16870 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16871 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16872 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16873 of a raw aref.
16874 (rmail-mime-entity-segment): To get past the tagline, move forward
16875 2 more lines, to account for the 2 empty lines that precede and
16876 follow the line with the buttons.
16877 (rmail-mime-update-tagline): Move one more line, to get past the
16878 empty line that follows the buttons in the tagline. (Bug#9520)
16879
16880 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16881
16882 * window.el (window-max-delta-1, window-min-delta-1)
16883 (window-min-size-1, window-state-get-1, window-state-put-1)
16884 (window-state-put-2): Use "window--" prefix.
16885
16886 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16887
16888 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16889 (smie-warning-count): New var.
16890 (smie-set-prec2tab): Use it.
16891 (smie-bnf->prec2): Improve warnings. Add docstring.
16892 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16893 (smie-bnf--set-class): New function.
16894 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16895 corner case.
16896
16897 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16898 (compilation-error-properties, compilation-move-to-column):
16899 Handle compilation-first-column while in the target buffer.
16900
16901 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16902 Don't hardcode point-min==1.
16903
16904 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16905 (eshell-rewrite-for-command): Remove workaround.
16906 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16907 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16908 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16909
16910 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16911
16912 2011-11-17 Glenn Morris <rgm@gnu.org>
16913
16914 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16915 Ignore buffer-local generated-autoload-file if it is the same
16916 as the global value. (Bug#10049)
16917
16918 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16919
16920 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16921 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16922 (reftex-toc-previous-heading, reftex-toc-max-level)
16923 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16924 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16925 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16926 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16927 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16928 (reftex-toc-rename-label, reftex-toc-visit-location)
16929 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16930 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16931 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16932 leaving "*toc*" only for references to the buffer.
16933
16934 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16935
16936 * window.el (window-resize, delete-window, split-window):
16937 Replace window-splits by window-combination-resize.
16938 * cus-start.el (window-splits): Replace by window-combination-resize.
16939
16940 2011-11-17 Glenn Morris <rgm@gnu.org>
16941
16942 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16943 Make bash entry derive from sh entry, not shell entry.
16944
16945 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16946
16947 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16948 local file name.
16949
16950 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16951
16952 * menu-bar.el (menu-bar-file-menu):
16953 * printing.el (pr-ps-utility):
16954 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16955 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16956 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16957 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16958 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16959 (icalendar--convert-cyclic-to-ical)
16960 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16961 (icalendar--convert-ical-to-diary)
16962 (icalendar--convert-recurring-to-diary)
16963 (icalendar--convert-non-recurring-all-day-to-diary)
16964 (icalendar-import-format-sample):
16965 * progmodes/idlw-shell.el (idlwave-shell-mode):
16966 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16967 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16968 (vhdl-ps-print-init): Fix typos.
16969
16970 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16971
16972 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16973 FSF and collapse date sequence, obscure author/maintainer email address
16974 better, remove extra version line, track relocation of author's webpage.
16975
16976 * progmodes/python.el (python-pdbtrack-input-prompt)
16977 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16978 regular python pdb prompts. Adjustments shamelessly taken exactly as
16979 suggested in EmacsWiki page (tiny change):
16980 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16981
16982 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16983
16984 * expand.el (expand-pos, expand-index, expand-point):
16985 Remove redundant info from docstring.
16986 (expand-add-abbrevs): Doc fix.
16987 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16988 (expand-sample-perl-mode-expand-list): Fix typos.
16989
16990 * net/dbus.el (dbus-event-member-name):
16991 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16992 * term/pc-win.el (msdos-create-frame-with-faces):
16993 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16994
16995 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16996
16997 * window.el (split-window, window-state-get-1)
16998 (window-state-put-1, window-state-put-2): Rename occurrences of
16999 window-nest to window-combination-limit.
17000 * cus-start.el (window-nest): Rename to window-combination-limit.
17001
17002 2011-11-16 Chong Yidong <cyd@gnu.org>
17003
17004 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17005 regexp (Bug#10033).
17006
17007 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17008
17009 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17010 `completing-read' will remove *Completions* and will preserve
17011 current-buffer for us.
17012 (tmm-add-prompt): Users of *Completions* will always (re)set its
17013 major mode.
17014 (tmm-old-comp-map): Remove.
17015
17016 2011-11-16 Glenn Morris <rgm@gnu.org>
17017
17018 * mail/rmailedit.el: Require rmailmm when compiling.
17019 (rmail-old-mime-state): New declaration.
17020 (rmail-edit-current-message): If editing a mime message,
17021 edit the "raw" message from the mbox buffer.
17022 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17023
17024 2011-11-15 Glenn Morris <rgm@gnu.org>
17025
17026 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17027 which wasn't being used. Add optional arg to force given state.
17028 (rmail-mime): Add optional arg to force given state.
17029
17030 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17031
17032 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17033 * frame.el (display-mm-dimensions-alist):
17034 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17035 (outline-move-subtree-down):
17036 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17037 (newsticker--treeview-do-get-node):
17038 * net/quickurl.el (quickurl-list-buffer-name):
17039 * progmodes/dcl-mode.el (dcl-mode):
17040 * progmodes/gdb-mi.el (gdb-mapcar*):
17041 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17042
17043 2011-11-15 Glenn Morris <rgm@gnu.org>
17044
17045 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17046 in a boolean sense, so just make it a boolean, and fix the doc.
17047 (rmail-show-mime-function, rmail-mime-feature)
17048 (rmail-require-mime-maybe): Doc fixes.
17049 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17050
17051 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17052
17053 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17054
17055 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17056 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17057 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17058 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17059
17060 2011-11-15 Glenn Morris <rgm@gnu.org>
17061
17062 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17063 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17064 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17065 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17066 (rmail-mime, rmail-show-mime): Doc fixes.
17067
17068 * term/ns-win.el (mode-line-frame-identification):
17069 Leave it alone. (Bug#10051)
17070
17071 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17072
17073 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17074 Handle empty buffers. (Bug#9978)
17075
17076 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17077
17078 * international/mule.el (define-charset):
17079 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17080 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17081 * progmodes/verilog-mode.el (verilog-backward-token):
17082 * textmodes/ispell.el (lookup-words):
17083 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17084
17085 2011-11-14 Glenn Morris <rgm@gnu.org>
17086
17087 * progmodes/executable.el
17088 (executable-make-buffer-file-executable-if-script-p):
17089 Handle file-modes returning nil.
17090
17091 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17092 message - not necessary, and causes problems. (Bug#9831)
17093
17094 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17095
17096 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17097
17098 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17099 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17100 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17101
17102 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17103
17104 * window.el (window-resize, delete-window): Use window-splits
17105 variable instead of function.
17106 (window-state-get-1, window-state-put-2, window-state-put):
17107 Don't deal with windows' splits status.
17108
17109 2011-11-12 Glenn Morris <rgm@gnu.org>
17110
17111 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17112 (apropos-documentation): Doc fixes.
17113
17114 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17115
17116 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17117 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17118
17119 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17120
17121 * electric.el (electric-indent-post-self-insert-function): Make it
17122 possible for a char to only indent in some circumstances.
17123 (electric-indent-mode): Simplify.
17124
17125 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17126
17127 * window.el (windows-with-parameter): Remove unused function.
17128 (windows-at-side): Rename to window-at-side-list.
17129 (window-check, window-atom-check, window-atom-check-1)
17130 (window-side-check, window-size-ignore, window-size-fixed-1)
17131 (window-in-direction-2): Prefix with "window--".
17132 (window-tree-1): Rename to window--subtree, fix doc-string.
17133
17134 2011-11-11 Glenn Morris <rgm@gnu.org>
17135
17136 * subr.el (eval-after-load): If FILE is already loaded,
17137 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17138
17139 2011-11-10 Glenn Morris <rgm@gnu.org>
17140
17141 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17142 Call svn via vc-svn-command rather than vc-do-command.
17143 (vc-svn-command): Add --non-interactive. (Bug#9993)
17144 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17145
17146 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17147 Add toggle-read-only. (Bug#7292)
17148 * files.el (toggle-read-only): Mention that it should only
17149 be used interactively. (Bug#10006)
17150
17151 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17154 Adjust regexp for OCaml warnings.
17155
17156 * electric.el (electric-pair-post-self-insert-function): Let user
17157 turn it off buffer-locally (bug#9932).
17158
17159 * progmodes/python.el (python-beginning-of-statement):
17160 Rewrite (bug#2703).
17161
17162 * progmodes/compile.el: Better handle TABs (bug#9749).
17163 (compilation-internal-error-properties)
17164 (compilation-next-error-function): Obey the target buffer's
17165 compilation-error-screen-columns.
17166
17167 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17168
17169 * progmodes/meta-mode.el: Remove obsolete comments.
17170 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17171 Fix typos in docstrings.
17172
17173 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17174
17175 * window.el (window-size-fixed-p): Rewrite doc-string.
17176 (window-resizable-p): Rename to window--resizable-p. Update callers.
17177 (window--resizable): New function. Make all callers of
17178 window-resizable call window--resizable instead.
17179 (window-resizable): Rewrite in terms of window--resizable.
17180
17181 2011-11-08 Glenn Morris <rgm@gnu.org>
17182
17183 * progmodes/delphi.el (delphi-mode-syntax-table):
17184 Let define-derived-mode define a proper syntax table. (Bug#9994)
17185
17186 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * window.el: Stay away from defsubst.
17189 (window-list-no-nils): Remove.
17190 (window-state-get-1, window-state-get): Use backquote instead.
17191
17192 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17193
17194 * emacs-lisp/find-func.el (find-function-read):
17195 Fix incorrect use of default argument in `completing-read'.
17196
17197 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17198
17199 * window.el (display-buffer-function, special-display-function):
17200 Mention display-buffer-record-window but do not mention
17201 help-setup parameter in doc-strings.
17202 (window-min-delta): Fix doc-string typo.
17203
17204 2011-11-08 Chong Yidong <cyd@gnu.org>
17205
17206 * window.el (window-total-height, window-total-width): Doc fix.
17207 (window-body-size): Move from C.
17208 (window-body-height, window-body-width): Move to C.
17209
17210 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17211
17212 * window.el: Make special-display like display-buffer-alist (bug#9532).
17213 (display-buffer--special-action): New function, morphed
17214 from display-buffer--special.
17215 (display-buffer): Use it to handle special-display-buffers at higher
17216 priority (just after display-buffer-alist).
17217 (display-buffer-fallback-action, display-buffer--other-frame-action)
17218 (pop-to-buffer-same-window): Remove display-buffer--special.
17219
17220 2011-11-07 Glenn Morris <rgm@gnu.org>
17221
17222 * calendar/cal-menu.el (cal-menu-set-date-title):
17223 Do nothing if not in a calendar. (Bug#9976)
17224
17225 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 * files.el (find-file): Always use selected-window.
17228
17229 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17230
17231 * window.el (window-combinations): Make WINDOW argument
17232 mandatory. Rewrite doc-string.
17233 (walk-window-subtree, window-atom-check, window-min-delta)
17234 (window-max-delta, window--resize-this-window)
17235 (window--resize-root-window-vertically, window-tree)
17236 (balance-windows, window-state-put): Rewrite doc-strings as to
17237 not mention the term "subwindow".
17238 (window--resize-subwindows-skip-p): Rename to
17239 window--resize-child-windows-skip-p.
17240 (window--resize-subwindows-normal): Rename to
17241 window--resize-child-windows-normal.
17242 (window--resize-subwindows): Rename to
17243 window--resize-child-windows.
17244 (window-or-subwindow-p): Rename to window--in-subtree-p.
17245
17246 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17247
17248 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17249 Ensure that mbox format messages end in two newlines (Bug#9974).
17250
17251 2011-11-06 Chong Yidong <cyd@gnu.org>
17252
17253 * window.el (window-combination-p): Function deleted; its
17254 side-effect is not used in any existing code.
17255 (window-combinations, window-combined-p): Call window-*-child
17256 directly.
17257
17258 2011-11-05 Chong Yidong <cyd@gnu.org>
17259
17260 * window.el (window-valid-p): Rename from window-any-p.
17261 (window-size-ignore, window-state-get): Callers changed.
17262 (window-normalize-window): Rename from window-normalize-any-window.
17263 New arg LIVE-ONLY, replacing window-normalize-live-window.
17264 (window-normalize-live-window): Delete.
17265 (window-combination-p, window-combined-p, window-combinations)
17266 (walk-window-subtree, window-atom-root, window-min-size)
17267 (window-sizable, window-sizable-p, window-size-fixed-p)
17268 (window-min-delta, window-max-delta, window-resizable)
17269 (window-resizable-p, window-full-height-p, window-full-width-p)
17270 (window-current-scroll-bars, window-point-1, set-window-point-1)
17271 (window-at-side-p, window-in-direction, window-resize)
17272 (adjust-window-trailing-edge, maximize-window, minimize-window)
17273 (window-deletable-p, delete-window, delete-other-windows)
17274 (record-window-buffer, unrecord-window-buffer)
17275 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17276 (quit-window, split-window, window-state-put)
17277 (set-window-text-height, fit-window-to-buffer)
17278 (shrink-window-if-larger-than-buffer): Callers changed.
17279
17280 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17281
17282 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17283 rfc2047-decode-string.
17284 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17285 warnings.
17286
17287 * window.el (window-body-height, window-body-width): Mention in
17288 the doc string that the return values are in frame's canonical
17289 units. (Bug#9949)
17290
17291 2011-11-03 Alan Mackenzie <acm@muc.de>
17292
17293 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17294 change in cc-engine.el.
17295
17296 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17297
17298 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17299
17300 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17301
17302 * window.el (quit-window): Call unrecord-window-buffer after
17303 showing another buffer in the window. (Bug#9937)
17304 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17305
17306 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17307
17308 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17309 Accept status with more than 9 shelves. (Bug#9935)
17310 Reported by Colin D Bennett <colin@gibibit.com>.
17311
17312 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17313
17314 * help.el (with-help-window): Don't reference
17315 temp-buffer-show-specifiers in doc-string.
17316
17317 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17318
17319 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17320 menu-item.
17321
17322 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17323
17324 * whitespace.el: New version 13.2.2.
17325 (whitespace-newline-mode): Disable properly. Reported by Sarah
17326 <EmacsWiki>.
17327
17328 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17329
17330 * net/newst-treeview.el: Remove "Time-stamp".
17331 (newsticker--group-manage-orphan-feeds): Do not call
17332 newsticker--treeview-tree-update.
17333 (newsticker-treeview-update, newsticker-treeview):
17334 Call newsticker--treeview-tree-update if necessary.
17335
17336 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17337
17338 * window.el (window-iso-combination-p, window-iso-combined-p)
17339 (window-iso-combinations): Remove "iso-" infix.
17340 Suggested by Chong Yidong.
17341 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17342 (window-max-delta-1, window-resize, window--resize-siblings)
17343 (window--resize-this-window, adjust-window-trailing-edge)
17344 (split-window, balance-windows-1)
17345 (shrink-window-if-larger-than-buffer):
17346 * calendar/calendar.el (calendar-generate-window):
17347 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17348
17349 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17350
17351 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17352 in place (bug#9907).
17353 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17354 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17355 (eshell-structure-basic-command, eshell-rewrite-while-command)
17356 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17357 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17358 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17359 (eshell-do-pipelines-synchronously, eshell-eval-command):
17360 Use backquotes and prefer setq to set.
17361 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17362 (eshell-macrop): Use functionp.
17363 (eshell-do-eval): Handle multiple expressions in `while' body.
17364
17365 2011-10-30 Chong Yidong <cyd@gnu.org>
17366
17367 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17368 instead of set-mark (Bug#9810).
17369
17370 2011-10-30 Chong Yidong <cyd@gnu.org>
17371
17372 * window.el (split-window-below, split-window-right): Rename from
17373 split-window-above-each-other and split-window-side-by-side
17374 respectively. All callers changed.
17375 (split-window-sensibly, split-window-sensibly): Use them.
17376 (split-window-keep-point): Doc fix.
17377
17378 * isearch.el: Add isearch-scroll property to split-window-below
17379 and split-window-right.
17380
17381 * follow.el (follow-mode):
17382 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17383 * progmodes/ada-xref.el (ada-gdb-application):
17384 * emulation/vip.el (vip-buffer-in-two-windows):
17385 * image-dired.el (image-dired-dired-with-window-configuration):
17386 * dired-x.el (dired-do-find-marked-files):
17387 * dired.el (dired-pop-to-buffer):
17388 * bs.el (bs--show-with-configuration):
17389 * vc/emerge.el (emerge-setup-windows):
17390 * textmodes/two-column.el (2C-two-columns):
17391 * textmodes/reftex-toc.el (reftex-toc):
17392 * progmodes/gdb-mi.el (gdb-setup-windows):
17393 * progmodes/fortran.el (fortran-window-create):
17394 * net/newst-treeview.el (newsticker--treeview-window-init):
17395 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17396 * emulation/tpu-edt.el (tpu-gold-map):
17397 * emulation/crisp.el (crisp-mode-map):
17398 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17399
17400 2011-10-29 Chong Yidong <cyd@gnu.org>
17401
17402 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17403
17404 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17405
17406 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17407 forged Ispell output (Bug#7904).
17408
17409 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17410
17411 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * doc-view.el: Avoid ugly errors about not finding nil.
17414 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17415 (doc-view-dvipdf-program, doc-view-unoconv-program)
17416 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17417 Avoid nil or absolute file name as default value.
17418 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17419
17420 2011-10-28 Alan Mackenzie <acm@muc.de>
17421
17422 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17423
17424 2011-10-28 Alan Mackenzie <acm@muc.de>
17425
17426 Amend the handling of c-beginning/end-of-defun in nested declaration
17427 scopes.
17428
17429 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17430 cc-langs.el. Change it to a defcustom.
17431
17432 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17433 cc-vars.el.
17434
17435 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17436 Prevent "class foo : bar" being spuriously recognized as a label.
17437
17438 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17439 Add parameter `inclusive' (to include enclosing braces in the region).
17440 (c-widen-to-enclosing-decl-scope): New function.
17441 (c-while-widening-to-decl-block): New macro.
17442 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17443 outward for defun boundaries, and correspondingly change symbol
17444 `respect-enclosure' to `go-outward'.
17445 (c-declaration-limits): Change algorithm to report only the "innermost"
17446 defun's boundaries.
17447
17448 2011-10-28 Deniz Dogan <deniz@dogan.se>
17449
17450 * net/rcirc.el (rcirc-mode): Use hard newlines.
17451
17452 2011-10-28 Alan Mackenzie <acm@muc.de>
17453
17454 Amend to indent and fontify macros "which include their own semicolon"
17455 correctly, using the "virtual semicolon" mechanism.
17456
17457 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17458
17459 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17460 Recode to scan one line at a time rather than having \n and \r
17461 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17462 (c-forward-label): Amend for virtual semicolons.
17463 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17464
17465 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17466 of the new C macros.
17467
17468 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17469 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17470 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17471 (c-opt-cpp-macro-define): Make into a full language variable.
17472 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17473 AWK Mode (including \n, \r) removed, no longer needed.
17474
17475 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17476 Invoke c-make-macro-with-semi-re.
17477
17478 * progmodes/cc-vars.el (c-macro-with-semi-re):
17479 (c-macro-names-with-semicolon): New variables.
17480 (c-make-macro-with-semi-re): New function.
17481
17482 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17483
17484 * vc/log-edit.el: Fill empty field rather than adding new one.
17485 (log-edit-add-field): New function.
17486 (log-edit-insert-changelog): Use it.
17487
17488 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17489
17490 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17491
17492 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17493
17494 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17495 (gdb--check-interpreter): New function.
17496 (gdb): Use it.
17497
17498 2011-10-27 Glenn Morris <rgm@gnu.org>
17499
17500 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17501 (least-positive-float, least-negative-float)
17502 (least-positive-normalized-float, least-negative-normalized-float)
17503 (float-epsilon, float-negative-epsilon):
17504 Remove unnecessary declarations.
17505
17506 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17507 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17508 (least-positive-float, least-negative-float)
17509 (least-positive-normalized-float, least-negative-normalized-float)
17510 (float-epsilon, float-negative-epsilon): Add doc-strings,
17511 based on those in cl.texi.
17512
17513 * files.el (set-visited-file-name): If the major-mode changed,
17514 reload the local variables. (Bug#9796)
17515
17516 2011-10-27 Chong Yidong <cyd@gnu.org>
17517
17518 * subr.el (change-major-mode-after-body-hook): New hook.
17519 (run-mode-hooks): Run it.
17520
17521 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17522 Use change-major-mode-before-body-hook.
17523
17524 * simple.el (fundamental-mode):
17525 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17526 change introducing fundamental-mode-hook.
17527
17528 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17529
17530 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17531
17532 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17533
17534 * ido.el (ido-file-name-all-completions-1): Do not require
17535 tramp.el explicitly. (Bug#7583)
17536
17537 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17538
17539 * progmodes/octave-mod.el:
17540 * progmodes/octave-inf.el: Update maintainer.
17541
17542 2011-10-26 Chong Yidong <cyd@gnu.org>
17543
17544 * subr.el (with-wrapper-hook): Rewrite doc.
17545
17546 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17547
17548 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17549 filenames "/method:foo:". (Bug#9793)
17550
17551 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17552
17553 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17554 (bug#9865).
17555
17556 2011-10-24 Glenn Morris <rgm@gnu.org>
17557
17558 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17559
17560 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17561
17562 * notifications.el: Add the requirement of a running D-Bus session
17563 bus to the Commentary.
17564
17565 2011-10-24 Juri Linkov <juri@jurta.org>
17566
17567 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17568 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17569 (Bug#9364)
17570
17571 2011-10-24 Juri Linkov <juri@jurta.org>
17572
17573 * info.el (Info-following-node-name-re): Add newline to the list
17574 of allowed characters for leading space. (Bug#9824)
17575
17576 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17577
17578 * progmodes/octave-inf.el (inferior-octave-mode-map):
17579 Fix C-c C-h binding.
17580 * progmodes/octave-mod.el (octave-help): Remove.
17581
17582 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17583
17584 Sync with Tramp 2.2.3.
17585
17586 * net/tramp-cache.el (top): Pacify byte-compiler using
17587 `init-file-user' and `site-run-file'.
17588
17589 * net/trampver.el: Update release number.
17590
17591 2011-10-23 Chong Yidong <cyd@gnu.org>
17592
17593 * files.el (toggle-read-only): Remove obsolete comment about
17594 version control.
17595
17596 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17597 for toggle-read-only. Note that this hasn't called vc-next-action
17598 since 2008-05-02, though it wasn't documented at the time.
17599
17600 * vc/ediff-init.el (ediff-toggle-read-only-function):
17601 Use toggle-read-only.
17602
17603 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17604
17605 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17606 of c-parse-state.
17607
17608 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17609 correct faulty logical expression.
17610 (c-parse-state-state, c-record-parse-state-state):
17611 (c-replay-parse-state-state): New defvar/defuns.
17612 (c-debug-parse-state): Use new functions.
17613
17614 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17615
17616 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17617 last fix. Use window-in-direction correctly.
17618
17619 2011-10-21 Chong Yidong <cyd@gnu.org>
17620
17621 * progmodes/idlwave.el (idlwave-mode):
17622 * progmodes/vera-mode.el (vera-mode): No need to set
17623 require-final-newline; that's done in prog-mode.
17624 Suggested by Stefan Monnier.
17625
17626 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17627
17628 * mouse.el (mouse-drag-window-above)
17629 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17630 (mouse-drag-mode-line-1, mouse-drag-header-line)
17631 (mouse-drag-vertical-line-rightward-window): Remove.
17632 (mouse-drag-line): New function.
17633 (mouse-drag-mode-line, mouse-drag-header-line)
17634 (mouse-drag-vertical-line): Call mouse-drag-line.
17635 * window.el (window-at-side-p, windows-at-side): New functions.
17636
17637 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17638
17639 * tar-mode.el (tar-grind-file-mode):
17640 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17641
17642 2011-10-21 Chong Yidong <cyd@gnu.org>
17643
17644 * progmodes/idlwave.el (idlwave-mode):
17645 * progmodes/vera-mode.el (vera-mode):
17646 Use mode-require-final-newline.
17647
17648 2011-10-20 Glenn Morris <rgm@gnu.org>
17649
17650 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17651
17652 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17653
17654 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17655
17656 2011-10-20 Chong Yidong <cyd@gnu.org>
17657
17658 * emulation/cua-base.el (cua-mode):
17659 * mail/footnote.el (footnote-mode):
17660 * mail/mailabbrev.el (mail-abbrevs-mode):
17661 * net/xesam.el (xesam-minor-mode):
17662 * progmodes/bug-reference.el (bug-reference-mode):
17663 * progmodes/cap-words.el (capitalized-words-mode):
17664 * progmodes/compile.el (compilation-minor-mode)
17665 (compilation-shell-minor-mode):
17666 * progmodes/gud.el (gud-tooltip-mode):
17667 * progmodes/hideif.el (hide-ifdef-mode):
17668 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17669 * progmodes/subword.el (subword-mode):
17670 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17671 * progmodes/which-func.el (which-function-mode):
17672 * term/tvi970.el (tvi970-set-keypad-mode):
17673 * term/vt100.el (vt100-wide-mode):
17674 * textmodes/flyspell.el (flyspell-mode):
17675 * textmodes/ispell.el (ispell-minor-mode):
17676 * textmodes/nroff-mode.el (nroff-electric-mode):
17677 * textmodes/paragraphs.el (use-hard-newlines):
17678 * textmodes/refill.el (refill-mode):
17679 * textmodes/reftex.el (reftex-mode):
17680 * textmodes/rst.el (rst-minor-mode):
17681 * textmodes/sgml-mode.el (html-autoview-mode)
17682 (sgml-electric-tag-pair-mode):
17683 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17684 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17685 * emulation/crisp.el (crisp-mode):
17686 * emacs-lisp/eldoc.el (eldoc-mode):
17687 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17688 minor mode behavior.
17689
17690 2011-10-19 Juri Linkov <juri@jurta.org>
17691
17692 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17693 the list of hard-coded chars with escape-glyph face.
17694
17695 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17696
17697 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17698
17699 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17700
17701 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17702 running process.
17703
17704 2011-10-19 Glenn Morris <rgm@gnu.org>
17705
17706 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17707 Ignore ignored files. (Bug#9726)
17708
17709 2011-10-19 Chong Yidong <cyd@gnu.org>
17710
17711 Doc fix for minor modes, stating that an omitted argument enables
17712 the mode unconditionally when called from Lisp.
17713
17714 * abbrev.el (abbrev-mode):
17715 * allout.el (allout-mode):
17716 * autoinsert.el (auto-insert-mode):
17717 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17718 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17719 (global-auto-revert-mode):
17720 * battery.el (display-battery-mode):
17721 * composite.el (global-auto-composition-mode)
17722 (auto-composition-mode):
17723 * delsel.el (delete-selection-mode):
17724 * desktop.el (desktop-save-mode):
17725 * dired-x.el (dired-omit-mode):
17726 * dirtrack.el (dirtrack-mode):
17727 * doc-view.el (doc-view-minor-mode):
17728 * double.el (double-mode):
17729 * electric.el (electric-indent-mode, electric-pair-mode):
17730 * emacs-lock.el (emacs-lock-mode):
17731 * epa-hook.el (auto-encryption-mode):
17732 * follow.el (follow-mode):
17733 * font-core.el (font-lock-mode):
17734 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17735 * help.el (temp-buffer-resize-mode):
17736 * hilit-chg.el (highlight-changes-mode)
17737 (highlight-changes-visible-mode):
17738 * hi-lock.el (hi-lock-mode):
17739 * hl-line.el (hl-line-mode, global-hl-line-mode):
17740 * icomplete.el (icomplete-mode):
17741 * ido.el (ido-everywhere):
17742 * image-file.el (auto-image-file-mode):
17743 * image-mode.el (image-minor-mode):
17744 * iswitchb.el (iswitchb-mode):
17745 * jka-cmpr-hook.el (auto-compression-mode):
17746 * linum.el (linum-mode):
17747 * longlines.el (longlines-mode):
17748 * master.el (master-mode):
17749 * mb-depth.el (minibuffer-depth-indicate-mode):
17750 * menu-bar.el (menu-bar-mode):
17751 * minibuf-eldef.el (minibuffer-electric-default-mode):
17752 * mouse-sel.el (mouse-sel-mode):
17753 * msb.el (msb-mode):
17754 * mwheel.el (mouse-wheel-mode):
17755 * outline.el (outline-minor-mode):
17756 * paren.el (show-paren-mode):
17757 * recentf.el (recentf-mode):
17758 * reveal.el (reveal-mode, global-reveal-mode):
17759 * rfn-eshadow.el (file-name-shadow-mode):
17760 * ruler-mode.el (ruler-mode):
17761 * savehist.el (savehist-mode):
17762 * scroll-all.el (scroll-all-mode):
17763 * scroll-bar.el (scroll-bar-mode):
17764 * server.el (server-mode):
17765 * shell.el (shell-dirtrack-mode):
17766 * simple.el (auto-fill-mode, transient-mark-mode)
17767 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17768 (line-number-mode, column-number-mode, size-indication-mode)
17769 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17770 * strokes.el (strokes-mode):
17771 * time.el (display-time-mode):
17772 * t-mouse.el (gpm-mouse-mode):
17773 * tool-bar.el (tool-bar-mode):
17774 * tooltip.el (tooltip-mode):
17775 * type-break.el (type-break-mode-line-message-mode)
17776 (type-break-query-mode):
17777 * view.el (view-mode):
17778 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17779 (global-whitespace-mode, global-whitespace-newline-mode):
17780 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17781
17782 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17783 Fix autogenerated docstring.
17784
17785 2011-10-19 Juri Linkov <juri@jurta.org>
17786
17787 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17788 by checking environment variables "DESKTOP_SESSION" and
17789 "XDG_CURRENT_DESKTOP". (Bug#9779)
17790
17791 2011-10-19 Juri Linkov <juri@jurta.org>
17792
17793 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17794 (browse-url-chromium-program, browse-url-chromium-arguments):
17795 New defcustoms.
17796 (browse-url-default-browser): Check for `browse-url-chromium' and
17797 call `browse-url-chromium-program'.
17798 (browse-url-chromium): New command. (Bug#9779)
17799
17800 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17801
17802 * facemenu.el (list-colors-duplicates): On Windows, detect more
17803 duplicates by assuming that only colors matching "^System" are
17804 special "system colors". (Bug#9722)
17805
17806 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17809 to distinguish the author from the committer.
17810
17811 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17812
17813 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17814
17815 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17816
17817 * international/mule.el (sgml-html-meta-auto-coding-function):
17818 Add support for detecting encoding in HTML5 specified only as
17819 <meta charset="UTF-8">. Implementation just makes http-equiv and
17820 content-type parts from HTML4 encoding string optional. (Bug#9716)
17821
17822 2011-10-18 Glenn Morris <rgm@gnu.org>
17823
17824 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17825
17826 2011-10-18 Chong Yidong <cyd@gnu.org>
17827
17828 * faces.el (cursor): Doc fix.
17829
17830 2011-10-17 Chong Yidong <cyd@gnu.org>
17831
17832 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17833
17834 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17835
17836 * dirtrack.el (dirtrack): Support shell buffers with path
17837 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17838
17839 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17840
17841 * json.el: Bump version to 1.3 and note change in History.
17842 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17843
17844 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17845
17846 * comint.el (comint-insert-input, comint-send-input)
17847 (comint-get-old-input-default, comint-backward-matching-input)
17848 (comint-next-prompt): Use nil instead of `input' for field property of
17849 past user input (bug#114).
17850
17851 * minibuffer.el (completion--replace): Inherit surrounding properties
17852 (bug#114).
17853 (minibuffer-complete-and-exit): Use it.
17854
17855 * comint.el (comint--table-subvert): Quote the all-completions output
17856 (bug#9160).
17857
17858 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17859
17860 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17861
17862 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17863 window on right of selected. (Bug#9350) Reword other window
17864 entries and separate them from frame entries.
17865
17866 2011-10-15 Glenn Morris <rgm@gnu.org>
17867
17868 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17869 Doc fixes.
17870
17871 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17872
17873 * net/network-stream.el (network-stream-open-starttls):
17874 Improve detection of failure due to lack of TLS support.
17875
17876 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17877 putting the input text in front and in bold.
17878
17879 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17880
17881 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17882
17883 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17884 empty buffer.
17885
17886 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17887 unread-command-events rather than pushing yet-another event.
17888
17889 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17890
17891 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17892 the explanation of the possible choices. Make the options passed
17893 to completing-read shorter.
17894
17895 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17896
17897 * textmodes/flyspell.el (flyspell-large-region): Make sure
17898 extended character mode is used if defined (Bug#1339).
17899
17900 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17901
17902 * simple.el (what-cursor-position): Fix the display of the
17903 character info for LRE, LRO, RLE, and RLO characters by appending
17904 an invisible PDF.
17905
17906 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17909 even in case of error; add debug spec; simplify data flow.
17910 (with-timeout-handler): Remove.
17911
17912 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17913
17914 Fix Bug#6019, Bug#9315.
17915
17916 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17917 complete `buffer-file-name', the local file name part could look
17918 remotely (for example on VMS).
17919
17920 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17921 `tramp-run-real-handler'.
17922 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17923 already quoted by '"'.
17924
17925 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17926 Let `file-name-handler-alist' be nil, the local file name part
17927 could look remotely (for example on VMS).
17928
17929 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17930
17931 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17932 from here...
17933 (flyspell-post-command-hook): ...to here.
17934
17935 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17936
17937 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17938 if not needed.
17939 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17940 using completion. Protect against "slow" callers.
17941 Remove the "message hack".
17942
17943 2011-10-11 Juri Linkov <juri@jurta.org>
17944
17945 * isearch.el (isearch-lazy-highlight-word): New variable.
17946 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17947 Use it. (Bug#9727)
17948
17949 2011-10-11 Glenn Morris <rgm@gnu.org>
17950
17951 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17952 like f90-previous-statement does.
17953
17954 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17955
17956 * eshell/eshell.el (eshell-command): History should be saved
17957 only in interactive use, to avoid error.
17958
17959 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17960
17961 * minibuffer.el (completion-file-name-table): Fix last change,
17962 i.e. ignore normal errors but not the other ones.
17963
17964 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17965
17966 * window.el (special-display-buffer-names)
17967 (special-display-regexps): Remove some remnants of earlier
17968 changes from doc-strings.
17969 (quit-windows-on): New function.
17970
17971 * vc/vc.el (vc-revert, vc-rollback):
17972 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17973 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17974 (Bug#6183) (Bug#7074) (Bug#7447)
17975
17976 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17977
17978 * window.el (frame-auto-hide-function): Add version tag.
17979 (Bug#9699)
17980
17981 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17982
17983 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17984 condition.
17985
17986 2011-10-09 Leo Liu <sdl.web@gmail.com>
17987
17988 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17989 (Bug#9701)
17990
17991 2011-10-08 Glenn Morris <rgm@gnu.org>
17992
17993 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17994 before the first code statement zero indent. (Bug#9690)
17995
17996 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17997
17998 * simple.el (count-words-region): Always count in the region.
17999 Report the number of lines and characters too.
18000 (count-words): New command, which counts in the buffer if the
18001 region is inactive, as count-words-region used to.
18002 (count-words--message): New function. Handle plurals.
18003 (count-lines-region): Make it an alias for count-words-region.
18004
18005 * bindings.el (esc-map): Replace count-lines-region with
18006 count-words-region.
18007
18008 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18009
18010 * window.el (window--delete): Delete dedicated frame
18011 unconditionally when argument KILL is non-nil. (Bug#9699)
18012 (switch-to-buffer): Fix doc-string typo.
18013
18014 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18015
18016 * eshell/eshell.el (eshell-command): Avoid using hooks.
18017
18018 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18019
18020 * bindings.el ([M-left],[M-right]): Bind to left-word and
18021 right-word respectively.
18022
18023 2011-10-07 Glenn Morris <rgm@gnu.org>
18024
18025 * cus-start.el (debug-on-quit): Fix custom type.
18026
18027 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18028
18029 * subr.el (define-key-after): Clarify that the function is not
18030 useful for non-menu keymaps.
18031
18032 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18033
18034 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18035
18036 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18037 in current minibuffer (Fix bug with recursive minibuffers).
18038
18039 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18040
18041 * progmodes/gdb-mi.el (gdb): Doc fix.
18042
18043 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18044
18045 * window.el (frame-auto-hide-function): New option replacing
18046 frame-auto-delete. Suggested by Stefan Monnier.
18047 (window--delete): Call frame-auto-hide-function instead of
18048 investigating frame-auto-delete.
18049 (window-point-1, set-window-point-1): New functions.
18050 (window-in-direction, record-window-buffer, window-state-get-1)
18051 (display-buffer-record-window): Use window-point-1 instead of
18052 window-point.
18053 (set-window-buffer-start-and-point): Use set-window-point-1.
18054
18055 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18056
18057 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18058
18059 2011-10-05 Glenn Morris <rgm@gnu.org>
18060
18061 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18062 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18063
18064 2011-10-05 Leo Liu <sdl.web@gmail.com>
18065
18066 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18067 works with buffer object.
18068
18069 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18070
18071 * mpc.el (mpc-tool-bar-map): Add labels.
18072
18073 2011-10-04 Glenn Morris <rgm@gnu.org>
18074
18075 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18076
18077 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18078
18079 * window.el (window--delete): New function.
18080 (frame-auto-delete): Resuscitate option.
18081 (bury-buffer, replace-buffer-in-windows)
18082 (quit-window): Rewrite using window--delete.
18083 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18084 Pass display-buffer-mark-dedicated to window--display-buffer-2
18085 (Bug#9639).
18086
18087 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18090 returns a list (bug#9554). Add remote file name completion.
18091 * comint.el (comint--table-subvert): Curry and get quote&unquote
18092 functions as arguments.
18093 (comint--complete-file-name-data): Adjust call accordingly.
18094 * pcomplete.el (pcomplete--table-subvert): Remove.
18095 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18096
18097 * minibuffer.el (completion-table-case-fold): Use currying.
18098 (completion--styles-type, completion--cycling-threshold-type):
18099 New constants.
18100 (completion-styles, completion-category-overrides)
18101 (completion-cycle-threshold): Use them.
18102 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18103 completion-table-case-fold.
18104
18105 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18106
18107 * minibuffer.el (completion-category-overrides): Fix type of styles
18108 and add more user friendly tags (bug#9660).
18109
18110 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18113 (mule-input-method-string): New widget.
18114 (default-input-method, language-info-custom-alist): Use it.
18115
18116 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18117
18118 * pcomplete.el: Require comint.
18119 (pcomplete--common-suffix): Remove.
18120 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18121 (pcomplete--table-subvert): Sync with comint--table-subvert.
18122 (pcomplete--entries): Use comint-completion-file-name-table.
18123 * comint.el (comint-unquote-filename): Simplify.
18124 (comint-completion-file-name-table): New function (bug#9616).
18125 (comint--complete-file-name-data): Use it.
18126
18127 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18128 (pcmpl-gnu-tar-buffer): Remove.
18129 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18130 around. Make sure pcomplete-suffix-list is only changed temporarily.
18131 Don't look inside the tar's file if it's too large.
18132
18133 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18134
18135 * cus-edit.el (custom-mode-map):
18136 * epa.el (epa-key-list-mode-map):
18137 * man.el (Man-mode-map):
18138 * startup.el (splash-screen-keymap):
18139 * simple.el (special-mode-map): Use scroll-up-command and
18140 scroll-down-command.
18141
18142 * progmodes/idlw-help.el (idlwave-help-mode-map):
18143 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18144 * net/newst-plainview.el (newsticker-mode-map):
18145 * emulation/ws-mode.el (wordstar-mode-map):
18146 * emulation/vi.el (vi-com-map):
18147 * calc/calc-graph.el (calc-graph-show-dumb):
18148 * term/sun.el (terminal-init-sun):
18149 * term/ns-win.el (global-map):
18150 * progmodes/grep.el (grep-mode-map):
18151 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18152 * mail/rmail.el (rmail-mode-map):
18153 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18154
18155 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18156 custom-safe-themes as special.
18157
18158 2011-10-01 Julien Danjou <julien@danjou.info>
18159
18160 * notifications.el (notifications-notify): Fix docstring.
18161
18162 2011-10-01 Per Starbäck <per@starback.se>
18163
18164 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18165
18166 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18167
18168 * startup.el (command-line-1): Fix last fix by inserting
18169 initial-scratch-message into *scratch* before displaying it.
18170 (Bug#9605) and (Bug#9636)
18171
18172 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18173
18174 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18175 window is hscrolled, move by logical lines. (Bug#9607)
18176 (line-move-visual): Update the doc string to the above effect.
18177
18178 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18179
18180 * window.el (display-buffer-record-window): When WINDOW is the
18181 selected window use `point' instead of `window-point'. (Bug#9626)
18182
18183 * startup.el (command-line-1): Use insert-before-markers when
18184 inserting initial-scratch-message. (Bug#9605)
18185
18186 * help.el (help-window): Remove variable.
18187
18188 2011-09-29 Glenn Morris <rgm@gnu.org>
18189
18190 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18191
18192 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18193
18194 * descr-text.el (describe-char-categories): Accept category
18195 descriptions more than one line long.
18196
18197 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * simple.el (delete-trailing-whitespace): Fix last change.
18200
18201 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18202 Don't confuse "y => 3" as the beginning of a `y' operation.
18203
18204 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18205 object has more than 4 slots (bug#9613).
18206
18207 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18208
18209 * subr.el (with-output-to-temp-buffer):
18210 * net/quickurl.el (quickurl, quickurl-browse-url):
18211 Fix typos in docstrings.
18212
18213 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18214
18215 * minibuffer.el (completion-styles)
18216 (completion-category-overrides): Cross reference each other in doc
18217 strings.
18218
18219 2011-09-27 Glenn Morris <rgm@gnu.org>
18220
18221 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18222 to split-string. (Bug#9606)
18223
18224 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18225
18226 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18227 (bug#9615).
18228
18229 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18230
18231 * emacs-lisp/package.el (list-packages): Fix echo area message.
18232
18233 2011-09-27 Leo Liu <sdl.web@gmail.com>
18234
18235 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18236
18237 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18238
18239 * net/dbus.el (dbus-unregister-object): Don't release services for
18240 registered signals. (Bug#9581)
18241
18242 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18243
18244 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18245 function that picks between cfengine 2 and 3 support
18246 automatically. Update docs accordingly.
18247
18248 2011-09-22 Kenichi Handa <handa@m17n.org>
18249
18250 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18251 ZERO.
18252 (indian-itrans-v5-table-for-tamil): New variable.
18253 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18254
18255 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18256
18257 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18258 that's true if the current command involved collapsing of text.
18259 It's reset to false at the beginning of the next command.
18260 (allout-post-command-business): Move the cursor to the beginning
18261 of entry if the cursor is hidden and collapsing activity just
18262 happened.
18263
18264 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18265
18266 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18267 tracking (Bug#9541).
18268
18269 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18270
18271 * net/newst-reader.el (newsticker-html-renderer)
18272 (newsticker-show-news): Automatically load html rendering package
18273 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18274 because w3m-fill-column is let-bound" and the error "Symbol's value
18275 as variable is void: w3m-fill-column".
18276
18277 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18278
18279 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18280 Release services only if they are defined. (Bug#9581)
18281
18282 2011-09-23 Richard Stallman <rms@gnu.org>
18283
18284 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18285 distinguish start of paragraph from start of its text.
18286
18287 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18288
18289 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18290 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18291 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18292
18293 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18294
18295 * international/mule-diag.el (mule-diag): Insert a newline after
18296 each fontset description.
18297
18298 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18299
18300 * simple.el (delete-trailing-whitespace):
18301 Document last change; simplify.
18302
18303 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18304
18305 * simple.el (delete-trailing-whitespace): Also delete
18306 extra newlines at the end of the buffer.
18307
18308 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18309 (picture-newline): Use forward-line so as to ignore fields.
18310
18311 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18312
18313 * subr.el (with-wrapper-hook): Fix edebug spec.
18314
18315 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18316
18317 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18318 (bug#4538).
18319
18320 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18321
18322 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18323 Fix nasty bug using wrong cached values.
18324
18325 2011-09-23 Alan Mackenzie <acm@muc.de>
18326
18327 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18328
18329 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18330
18331 * window.el (pop-to-buffer): Ensure right window is selected if we
18332 chose another frame.
18333
18334 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18335
18336 * simple.el (what-cursor-position): Use get-char-property-change
18337 and next-single-char-property-change, to be able to show display
18338 properties that come from overlays as well as text properties.
18339
18340 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18341
18342 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18343
18344 * cmuscheme.el (run-scheme, switch-to-scheme):
18345 * cus-edit.el (customize-group, custom-buffer-create)
18346 (customize-browse):
18347 * info.el (info):
18348 * shell.el (shell):
18349 * mail/sendmail.el (mail):
18350 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18351
18352 2011-09-22 Richard Stallman <rms@gnu.org>
18353
18354 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18355 move back only to line beg, don't move back over blank lines.
18356
18357 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18358
18359 * files.el (copy-directory): Set directory attributes only in case
18360 they could be retrieved from the source directory. (Bug#9565)
18361
18362 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18363
18364 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18365 (hs-find-block-beginning, hs-hide-level-recursive):
18366 Ignore strings as well as comments. (Bug#9502)
18367
18368 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18369
18370 * progmodes/sql.el (sql-comint-postgres):
18371 Convert port number to a string. (Bug#9566)
18372
18373 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18374
18375 * window.el (quit-window): Undedicate window when switching to
18376 previous buffer. Reported by Thierry Volpiatto
18377 <thierry.volpiatto@gmail.com>.
18378 (special-display-popup-frame): When popping up a new frame reset
18379 its previous buffers to nil. Simplify code.
18380
18381 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18382
18383 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18384 and process filter, as done also in `shell-command'.
18385
18386 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18387
18388 * window.el (set-window-buffer-start-and-point):
18389 Call set-window-start with NOFORCE argument t.
18390 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18391 (quit-window): Reword doc-string. Handle new format of
18392 quit-restore parameter. Don't delete window if it has a
18393 previous buffer we can show instead of the present one.
18394 (display-buffer-record-window): Rewrite using a new format for
18395 the quit-restore window parameter
18396 (special-display-popup-frame, display-buffer-same-window)
18397 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18398 (display-buffer-pop-up-window, display-buffer-use-some-window):
18399 Adapt symbol passed to display-buffer-record-window.
18400 * help.el (help-window-setup): Handle new format of quit-restore
18401 parameter.
18402
18403 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18404
18405 * faces.el (face-list): Fix docstring (bug#9564).
18406
18407 * window.el (display-buffer--action-function-custom-type):
18408 Don't include internal functions in the Custom interface.
18409
18410 2011-09-20 Juri Linkov <juri@jurta.org>
18411
18412 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18413 (Info-forward-node, Info-backward-node, Info-next-preorder)
18414 (Info-last-preorder): Use it. (Bug#9528)
18415
18416 2011-09-20 Juri Linkov <juri@jurta.org>
18417
18418 * info.el (Info-last-preorder): Visit last menu item only when
18419 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18420
18421 2011-09-20 Julien Danjou <julien@danjou.info>
18422
18423 * password-cache.el (password-cache-remove): Remove entries even if the
18424 value is nil, so that password with a nil value (negative caching) is
18425 possible to invalidate.
18426
18427 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18428
18429 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18430 all whitespace around breakpoint. (Bug#9553)
18431 (f90-find-breakpoint): Only break at whitespace inside a comment.
18432
18433 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18434
18435 * minibuffer.el (completion-file-name-table): Keep track of errors.
18436 (completion-table-with-predicate): Handle the case where pred1 is nil.
18437 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18438
18439 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18440
18441 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18442 (debugger-return-value): Signal an error if the debugging context does
18443 not await any return value.
18444
18445 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18446 * image-mode.el (image-toggle-display-text)
18447 (image-toggle-display-image): Stay away from evil `intangible'.
18448
18449 2011-09-19 Leo Liu <sdl.web@gmail.com>
18450
18451 * replace.el (occur-revert-arguments): Make it permanent-local.
18452 (occur-mode): Don't call font-lock-defontify.
18453
18454 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18455
18456 * net/ldap.el (ldap-search-internal): Don't push empty search
18457 result (Bug#9508).
18458
18459 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18460
18461 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18462
18463 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18464
18465 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18466 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18467
18468 2011-09-18 Juri Linkov <juri@jurta.org>
18469
18470 * buff-menu.el (Buffer-menu-mode-map):
18471 * dired.el (dired-mode-map):
18472 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18473 (lisp-interaction-mode-map):
18474 * emacs-lisp/package.el (package-menu-mode-map):
18475 * epa.el (epa-key-list-mode-map):
18476 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18477 (menu-bar-options-menu):
18478 * outline.el (outline-mode-menu-bar-map):
18479 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18480 * vc/vc-dir.el (vc-dir-menu-map):
18481 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18482 Capitalize non-function content words in menu item strings.
18483
18484 * dired.el (dired-mode-map): Add menu item for
18485 `image-dired-dired-toggle-marked-thumbs'.
18486
18487 2011-09-18 Juri Linkov <juri@jurta.org>
18488
18489 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18490 to `isearch-case-fold-search' and restore its original value
18491 after the `isearch-mode' call.
18492
18493 2011-09-18 Juri Linkov <juri@jurta.org>
18494
18495 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18496 because `zgrep' returns 1 for successful matches (bug#9226).
18497
18498 2011-09-18 Juri Linkov <juri@jurta.org>
18499
18500 * info.el (Info-extract-menu-node-name): Check the second match
18501 for empty string (second test-case of bug#9528).
18502 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18503 intermediate nodes to the history (first test-case of bug#9528).
18504
18505 2011-09-18 Juri Linkov <juri@jurta.org>
18506
18507 * info.el (Info-mode-syntax-table): New variable.
18508 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18509
18510 2011-09-18 Juri Linkov <juri@jurta.org>
18511
18512 * info.el (Info-file-supports-index-cookies):
18513 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18514 outputs one more line for long file names (bug#4142).
18515
18516 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18517
18518 * newcomment.el (comment-normalize-vars): If prompting for
18519 comment-start, set comment-start-skip too (Bug#8424).
18520
18521 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18522
18523 * icomplete.el: Fix previous fix of Bug#5849.
18524 (icomplete-mode): Don't set completion-show-inline-help.
18525 (icomplete-minibuffer-setup): Set completion-show-inline-help
18526 locally during icompletion.
18527
18528 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18529
18530 * woman.el (woman2-process-escapes): Don't delete unrecognized
18531 escapes (Bug#7843).
18532
18533 * files.el (inhibit-first-line-modes-regexps): Add image files.
18534 (hack-local-variables-prop-line): Return nil for malformed
18535 prop-lines (Bug#9044).
18536
18537 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18538
18539 * net/tramp.el (top): Don't require 'shell.
18540 (tramp-methods): Fix docstring.
18541 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18542 Return complete remote file name. Handle "smb" case.
18543 Use `tramp-tmpdir', if defined for the respective method.
18544 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18545
18546 * net/tramp-compat.el (top): Require 'shell.
18547
18548 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18549 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18550 `tramp-current-host'.
18551 (tramp-get-remote-tmpdir): Remove.
18552
18553 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18554 `tramp-tmpdir' entries.
18555 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18556 (tramp-smb-handle-file-attributes): Ignore errors.
18557 (tramp-smb-wait-for-output): Check also for process end.
18558
18559 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18560
18561 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18562 when sending QUIT (bug#9312).
18563
18564 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18565
18566 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18567 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18568 occur-mode-display-occurrence.
18569 (occur-edit-mode): Add usage message.
18570 (occur-cease-edit): New command.
18571 (occur-after-change-function): Use text properties to find the
18572 position of the prefix text.
18573 (occur-engine): Set stickiness of prefix text properties.
18574
18575 2011-09-17 Glenn Morris <rgm@gnu.org>
18576
18577 * progmodes/etags.el (complete-tag):
18578 Fix call to completion-in-region. (Bug#9526)
18579
18580 2011-09-17 Juri Linkov <juri@jurta.org>
18581
18582 * textmodes/ispell.el (ispell-word): Add to the error message
18583 the word, ispell program name and current dictionary (bug#9121).
18584 (ispell-tex-arg-end): Capitalize "error" in the error message.
18585
18586 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18587
18588 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18589 check. (Bug#4251)
18590
18591 2011-09-17 Juri Linkov <juri@jurta.org>
18592
18593 * window.el (window-safe-min-height, window-safe-min-width):
18594 Fix typos (followup to bug#9522).
18595
18596 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18597
18598 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18599
18600 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18601
18602 * simple.el (line-move): If goal-column is set, move by logical
18603 lines, not by display lines. (Bug#971)
18604 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18605 to reflect the above change.
18606
18607 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18608
18609 * image.el (imagemagick-register-types): Use regexp-opt.
18610
18611 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * window.el (display-buffer-base-action): Rename from
18614 display-buffer-default-action. Make default value empty.
18615 (display-buffer-overriding-action): Convert to defvar.
18616 (display-buffer-fallback-action): New var.
18617
18618 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18619
18620 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18621 declaration.
18622 (package--add-to-archive-contents): If there is a duplicate entry
18623 with an older version, remove it.
18624 (package-menu-mark-delete, package-menu-mark-install)
18625 (package-menu-mark-unmark): Make unused args optional.
18626 (package-menu-mark-obsolete-for-deletion):
18627 Use package-menu-get-status instead of a regexp search.
18628 (package-menu-get-status): Use tabulated-list-entry.
18629 (package-menu-mark-upgrades): New command.
18630 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18631 (package-menu-execute): Do installation before deletion.
18632 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18633 instead of checking major-mode.
18634 (package-menu--find-upgrades): New function.
18635
18636 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18637
18638 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18639 passwords in the log buffer.
18640 (smtpmail-process-filter): Update the process marker so that the
18641 "broken by peer" status message is inserted in the right place.
18642
18643 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18646 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18647 bibtex-completion-at-point-function.
18648 (bibtex-completion-at-point-function): Use them.
18649
18650 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18651
18652 * mpc.el (mpc-constraints-tag-lookup): New function.
18653 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18654 also to browser "album|playlist".
18655
18656 2011-09-14 Juri Linkov <juri@jurta.org>
18657
18658 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18659 (isearch-edit-string): Use length of `isearch-string' when
18660 `isearch-fail-pos' returns nil.
18661 (isearch-message): Remove duplicate code and call
18662 `isearch-fail-pos' with arg `t'.
18663
18664 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18665
18666 * replace.el (occur-mode-goto-occurrence): Don't force using other
18667 window (Bug#9499).
18668
18669 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18670
18671 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18672
18673 * window.el (display-buffer-window): Remove.
18674 (display-buffer-record-window): Use help-setup window parameter
18675 instead of variable display-buffer-window.
18676 (display-buffer-function, special-display-buffer-names)
18677 (special-display-function): Mention help-setup parameter instead
18678 of display-buffer-window in doc-string.
18679 * help.el (help-window-setup): New argument help-window.
18680 Use help-window-setup parameter instead of display-buffer-window.
18681 Reword some messages.
18682 (with-help-window): Pass window used for displaying the buffer
18683 to help-window-setup. Don't set display-buffer-window.
18684
18685 2011-09-13 Glenn Morris <rgm@gnu.org>
18686
18687 * emacs-lisp/debug.el (debugger-make-xrefs):
18688 Preserve point. (Bug#9462)
18689
18690 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18691
18692 * window.el (window-deletable-p): Use next-frame.
18693
18694 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18695
18696 * window.el (window-auto-delete): Remove.
18697 (window-deletable-p): Remove argument FORCE. Don't deal with
18698 dedication and previous buffers.
18699 (switch-to-prev-buffer): Don't delete window.
18700 (delete-windows-on): Delete a window's frame if and only if the
18701 window is dedicated.
18702 (replace-buffer-in-windows): Delete buffer's window or frame if
18703 and only if window is dedicated.
18704 (quit-window): Handle quit-restore as before last change.
18705 (bury-buffer): Delete window only if window-deletable-p returns t.
18706
18707 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18708
18709 * window.el (window-deletable-p): Never delete the last frame on a
18710 given terminal.
18711
18712 2011-09-13 Glenn Morris <rgm@gnu.org>
18713
18714 * help.el (describe-key-briefly): Copy previous standard-output change.
18715
18716 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18717
18718 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18719
18720 2011-09-13 Glenn Morris <rgm@gnu.org>
18721
18722 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18723 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18724
18725 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18726
18727 * dired-aux.el (dired-mark-read-string): Don't return default
18728 value on empty input (Bug#9361).
18729 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18730 Omit initial minibuffer contents.
18731 (dired-do-chmod): Signal an error on empty input.
18732 (dired-mark-read-string): Don't return default on empty input.
18733
18734 * files.el (file-modes-symbolic-to-number): Doc fix.
18735
18736 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18737
18738 * international/mule-cmds.el (ucs-completions): Remove.
18739 (read-char-by-name): Use complete-with-action instead; add metadata.
18740
18741 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18742
18743 * window.el (display-buffer--action-function-custom-type)
18744 (display-buffer--action-custom-type): New vars.
18745 (display-buffer-alist, display-buffer-default-action)
18746 (display-buffer-overriding-action): Add defcustom types.
18747
18748 * frame.el (delete-other-frames): Doc fix (Bug#276).
18749
18750 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18751
18752 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18753
18754 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18755
18756 Change modes that used same-window-* vars to use switch-to-buffer.
18757
18758 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18759 Use switch-to-buffer.
18760
18761 * cus-edit.el (customize-group, custom-buffer-create)
18762 (customize-browse, custom-buffer-create-other-window):
18763 Use switch-to-buffer or switch-to-buffer-other-window.
18764
18765 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18766 (Info-prev, Info-up, Info-speedbar-goto-node)
18767 (info-display-manual): Use switch-to-buffer.
18768 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18769
18770 * mail/sendmail.el (mail): Use switch-to-buffer.
18771 (mail-recover): Use switch-to-buffer-other-window.
18772
18773 * cmuscheme.el (run-scheme, switch-to-scheme):
18774 * ielm.el (ielm):
18775 * shell.el (shell):
18776 * net/rlogin.el (rlogin):
18777 * net/telnet.el (telnet, rsh):
18778 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18779
18780 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18781
18782 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18783
18784 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18785
18786 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18787 so don't mention it (bug#9301).
18788 (dired-sort-toggle-or-edit): Clarify string further.
18789
18790 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18791 match `x', `w32' and `ns', like the manual says (bug#9029).
18792
18793 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18794 (process-kill-buffer-query-function): Mention the buffer name in
18795 the query.
18796
18797 * image-mode.el (image-next-line): The line parameter is mandatory
18798 (bug#9258).
18799
18800 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18801 which can be useful (bug#9301).
18802
18803 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18804
18805 * subr.el (match-string): Mention that the current buffer should
18806 be the same as the search was done in (bug#9282).
18807
18808 * facemenu.el: Disable the remove-* commands if the mark isn't
18809 active (bug#9162).
18810
18811 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18812
18813 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18814 of display-buffer.
18815 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18816
18817 * replace.el (occur-mode-goto-occurrence)
18818 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18819 and display-buffer.
18820
18821 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18822 display-buffer.
18823
18824 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18825 special-display and same-window variables.
18826 (mail-other-window): Use switch-to-buffer-other-window.
18827 (mail-other-frame): USe switch-to-buffer-other-frame.
18828
18829 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18830 Use display-buffer-other-frame.
18831 (gdb-display-gdb-buffer): Use pop-to-buffer.
18832
18833 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18834
18835 * progmodes/python.el: Don't set same-window-buffer-names.
18836
18837 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18838
18839 * window.el (display-buffer-alist): Add *Python*.
18840
18841 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18842
18843 * window.el (display-buffer-alist): Add entry for buffers
18844 previously handled same-window-*.
18845 (display-buffer-alist, display-buffer-default-action)
18846 (display-buffer-overriding-action): Mark as risky.
18847 (display-buffer-alist): Document action function changes.
18848 (display-buffer--same-window-action)
18849 (display-buffer--other-frame-action): New variables.
18850 (switch-to-buffer, display-buffer-other-frame): Use them.
18851 (display-buffer): Rename reuse-frame entry to reusable-frames.
18852 (display-buffer-reuse-selected-window): Function deleted.
18853 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18854 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18855 (display-buffer-special): New function.
18856 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18857 display-buffer-reuse-or-pop-window. Split off special-display
18858 part into display-buffer-special.
18859 (display-buffer-use-some-window): Don't perform any special
18860 pop-up-frames handling.
18861 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18862 (display-buffer--maybe-same-window): Rename from
18863 display-buffer-maybe-same-window.
18864
18865 * info.el: Don't set same-window-regexps.
18866 (info-setup): New function.
18867 (info-other-window, info): Call it.
18868
18869 * cus-edit.el: Don't set same-window-regexps.
18870 (customize-group): New argument.
18871 (customize-group-other-window): Use it.
18872 (customize-face, customize-face-other-window): Likewise.
18873 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18874
18875 * net/rlogin.el:
18876 * net/telnet.el:
18877 * progmodes/gud.el: Don't set same-window-regexps.
18878
18879 * cmuscheme.el:
18880 * ielm.el:
18881 * shell.el:
18882 * mail/sendmail.el:
18883 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18884
18885 2011-09-10 Juri Linkov <juri@jurta.org>
18886
18887 * isearch.el (isearch-edit-string): Remove obsolete mention of
18888 `C-w' (`isearch-yank-word-or-char') from docstring.
18889 (isearch-query-replace): Fix typo in docstring (bug#9466).
18890
18891 2011-09-10 Juri Linkov <juri@jurta.org>
18892
18893 * paren.el (show-paren-function): Don't show escaped parens.
18894 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18895
18896 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18897
18898 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18899 (mm-default-file-encoding): Remove autoload forms, they are
18900 replaced with autoload cookies in mml.el and mm-encode.el.
18901 (mail-add-attachment): New command.
18902 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18903 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18904 the doc string.
18905 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18906
18907 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18908
18909 * simple.el (count-words-region): Use buffer if there's no region
18910 (bug#9429).
18911
18912 2011-09-09 Juri Linkov <juri@jurta.org>
18913
18914 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18915 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18916 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18917
18918 2011-09-09 Alan Mackenzie <acm@muc.de>
18919
18920 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18921 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18922
18923 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18924
18925 Fix for Savannah bug#9392.
18926 * simple.el (mail-encode-mml): New defvar.
18927
18928 * mail/rmail.el (mail-encode-mml): Add a defvar.
18929 (rmail-enable-mime-composing): Default to t.
18930 (rmail-forward): Use MIME method of forwarding only if both
18931 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18932 Set mail-encode-mml non-nil if the MIME method was used.
18933
18934 * mail/sendmail.el (mml-to-mime): Add autoload form.
18935 (mail-encode-mml): Add a defvar.
18936 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18937 to nil.
18938 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18939 message through mml-to-mime, and reset mail-encode-mml to nil.
18940
18941 2011-09-09 Glenn Morris <rgm@gnu.org>
18942
18943 * woman.el (woman-if-body): When processing an .el block,
18944 do not delete the next .el block as well. (Bug#9447)
18945 (woman-special-characters): Add oq, cq, and hy characters.
18946
18947 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18948
18949 * window.el (window-deletable-p): Make sure window is live before
18950 invoking window-prev-buffers.
18951
18952 2011-09-08 Leo Liu <sdl.web@gmail.com>
18953
18954 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18955
18956 2011-09-08 Juri Linkov <juri@jurta.org>
18957
18958 * progmodes/compile.el (compilation-environment): Make it
18959 a defcustom (bug#8340).
18960
18961 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18962
18963 * window.el (frame-auto-delete): Rename to window-auto-delete.
18964 Make it control auto-deletion of windows and/or frames.
18965 (window-deletable-p): New argument FORCE. Rewrite conditions
18966 for deleting window/frame. (Bug#9419)
18967 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18968 Rewrite handling of case when window/frame can be deleted.
18969 (delete-windows-on): Call window-deletable-p with new FORCE
18970 argument t. (Bug#9456)
18971
18972 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18973
18974 * help-mode.el (help-mode): Restore autoload.
18975
18976 2011-09-07 Juri Linkov <juri@jurta.org>
18977
18978 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18979 `compilation-environment'. Set buffer-local
18980 `compilation-environment' to `thisenv' later after (funcall mode).
18981 (Bug#8340)
18982
18983 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18984 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18985 instead of replacing its value. (Bug#8340)
18986
18987 2011-09-07 Juri Linkov <juri@jurta.org>
18988
18989 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18990 based on text properties put by `grep-filter' instead of matching
18991 escape sequences.
18992 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18993 to the value of `grep-error-screen-columns' (bug#9438).
18994
18995 2011-09-07 Juri Linkov <juri@jurta.org>
18996
18997 * simple.el (next-error-highlight, next-error-highlight-no-select):
18998 Doc fix (bug#9432).
18999
19000 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19001
19002 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19003 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19004
19005 2011-09-07 Leo Liu <sdl.web@gmail.com>
19006
19007 * net/rcirc.el (rcirc-mode): Conditionally initialize
19008 rcirc-input-ring.
19009
19010 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19011
19012 * emacs-lisp/find-func.el (find-function-C-source): Only set
19013 find-function-C-source-directory after checking that we found a source
19014 file there (bug#9440).
19015
19016 2011-09-06 Alan Mackenzie <acm@muc.de>
19017
19018 * isearch.el (isearch-other-meta-char): Wherever a key list is
19019 unread, "unread" the prefix arg, too. This fixes bug #8901.
19020
19021 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19022
19023 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19024
19025 2011-09-05 Juri Linkov <juri@jurta.org>
19026
19027 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19028
19029 2011-09-05 Juri Linkov <juri@jurta.org>
19030
19031 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19032 keeping point where processing of grep matches begins, and
19033 continue to delete remaining escape sequences from the same point.
19034 (grep-filter): Make leading zero optional in "0?1;31m" because
19035 git-grep emits "\033[1;31m" escape sequences unlike expected
19036 "\033[01;31m" as GNU Grep does (bug#9408).
19037 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19038
19039 2011-09-05 Juri Linkov <juri@jurta.org>
19040
19041 * subr.el (y-or-n-p): Capitalize "yes".
19042
19043 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19044
19045 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19046 `tramp-cache-unload-hook' where appropriate.
19047 (tramp-methods): Rename `tramp-remote-sh' to
19048 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19049 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19050
19051 * net/tramp-sh.el (top): Don't require 'shell.
19052 (tramp-methods): Add `tramp-remote-shell' and
19053 `tramp-remote-shell-args' entries.
19054 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19055 (tramp-sh-handle-shell-command): Remove.
19056 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19057 Use `tramp-remote-shell'.
19058
19059 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * mail/sendmail.el (sendmail-query-once-function): Delete.
19062 (sendmail-query-once): Save directly to send-mail-function.
19063 Update message-send-mail-function too.
19064
19065 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19066
19067 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19068
19069 * progmodes/python.el (python-mode-map): Use correct function to
19070 start python interpreter from menu-bar (as reported by Geert
19071 Kloosterman).
19072 (inferior-python-mode-map): Fix typo.
19073 (python-shell-map): Remove.
19074
19075 2011-09-03 Deniz Dogan <deniz@dogan.se>
19076
19077 * net/rcirc.el (rcirc-print): Simplify code for
19078 rcirc-scroll-show-maximum-output. There is no need to walk
19079 through all windows to find the right one.
19080
19081 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19082
19083 * help.el (help-return-method): Doc fix.
19084
19085 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19086
19087 * window.el (window-deletable-p): Don't return a non-nil value
19088 when there's a buffer that was shown in the window before.
19089 (Bug#9419)
19090 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19091 Set window's previous buffers to nil.
19092
19093 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19094
19095 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19096 newline before and after the tag line, so it doesn't interfere
19097 with determining the paragraph direction of bidirectional text.
19098
19099 2011-09-03 Leo Liu <sdl.web@gmail.com>
19100
19101 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19102
19103 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19104
19105 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19106 (pop-to-buffer): Change interactive spec. Pass second argument
19107 directly to display-buffer.
19108 (display-buffer): Fix interactive spec. Use functionp to
19109 distinguish between a function and a list of functions.
19110
19111 * abbrev.el (edit-abbrevs):
19112 * arc-mode.el (archive-extract):
19113 * autoinsert.el (auto-insert):
19114 * bookmark.el (bookmark-bmenu-list):
19115 * files.el (find-file):
19116 * view.el (view-buffer):
19117 * progmodes/compile.el (compilation-goto-locus):
19118 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19119
19120 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19121
19122 * window.el (display-buffer-alist): Doc fix.
19123 (display-buffer): Add docstring. Don't treat
19124 display-buffer-default specially.
19125 (display-buffer-reuse-selected-window)
19126 (display-buffer-same-window, display-buffer-maybe-same-window)
19127 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19128 (display-buffer-pop-up-window)
19129 (display-buffer-reuse-or-pop-window)
19130 (display-buffer-use-some-window): New functions.
19131 (display-buffer-default-action): Use them.
19132 (display-buffer-default): Delete.
19133 (pop-to-buffer-1): Fix choice of actions.
19134
19135 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19136
19137 * minibuffer.el (completion--insert-strings): Don't get confused by
19138 completion entries that end with an LF char.
19139
19140 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19141
19142 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19143
19144 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19145
19146 * window.el (display-buffer): Restore interactive spec.
19147 (display-buffer-same-window, display-buffer-other-window):
19148 New functions.
19149 (pop-to-buffer-1): New function. Use the above.
19150 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19151 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19152
19153 * view.el (view-buffer-other-window, view-buffer-other-frame):
19154 Just use pop-to-buffer.
19155
19156 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19157
19158 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19159
19160 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19161
19162 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19163
19164 2011-08-31 Richard Stallman <rms@gnu.org>
19165
19166 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19167 of the separation of rmail-view-buffer from rmail-buffer.
19168 If you say no to "replace original", the decrypt is in the
19169 view buffer. If you say yes, the decrypt goes into the
19170 rmail buffer also.
19171
19172 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19173
19174 * window.el (display-buffer-window): Rewrite doc-string.
19175 (display-buffer-record-window): New function.
19176 (display-buffer-macro-specifiers)
19177 (display-buffer-even-window-sizes, display-buffer-set-height)
19178 (display-buffer-set-width, display-buffer-in-window)
19179 (display-buffer-reuse-window, display-buffer-split-specifiers)
19180 (display-buffer-side-specifiers, display-buffer-split-window-1)
19181 (display-buffer-split-window, display-buffer-split-atom-window)
19182 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19183 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19184 (display-buffer-other-window-means-other-frame)
19185 (display-buffer-normalize-special)
19186 (display-buffer-normalize-default)
19187 (display-buffer-normalize-argument)
19188 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19189 (display-buffer-normalize-specifiers, display-buffer-frame)
19190 (display-buffer-same-window, display-buffer-same-frame)
19191 (display-buffer-other-window)
19192 (display-buffer-same-frame-other-window)
19193 (display-buffer-other-frame, pop-to-buffer-same-window)
19194 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19195 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19196 (switch-to-buffer-same-frame)
19197 (switch-to-buffer-other-window-same-frame)
19198 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19199 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19200 (display-buffer-alist-set): Remove.
19201 (display-buffer-function, special-display-buffer-names)
19202 (special-display-regexps, special-display-function):
19203 In doc-string refer to display-buffer-window and quit-restore
19204 parameter.
19205 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19206 (special-display-frame-alist, special-display-popup-frame)
19207 (same-window-buffer-names, same-window-regexps, same-window-p)
19208 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19209 (split-window-preferred-function, split-height-threshold)
19210 (split-width-threshold, window-splittable-p)
19211 (split-window-sensibly, window--try-to-split-window)
19212 (window--frame-usable-p, even-window-heights)
19213 (window--even-window-heights, window--display-buffer-1)
19214 (window--display-buffer-2, display-buffer-other-frame):
19215 Restore old Emacs 23 code, order and doc-strings where applicable.
19216 (display-buffer-default, display-buffer-assq-regexp): New functions.
19217 (display-buffer-alist): Rewrite doc-string.
19218 (display-buffer-default-action)
19219 (display-buffer-overriding-action): New variables.
19220 (display-buffer, switch-to-buffer): Rewrite.
19221 (pop-to-buffer): Restore Emacs 23 behavior but use
19222 window-normalize-buffer-to-display.
19223 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19224 Restore Emacs 23 behavior but use
19225 window-normalize-buffer-to-switch-to.
19226 (pop-to-buffer-same-window): Rewrite.
19227 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19228 Rewrite using Emacs 23 options.
19229
19230 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19231
19232 * net/tramp.el (tramp-root-regexp): Remove.
19233 (tramp-completion-file-name-regexp-unified)
19234 (tramp-completion-file-name-regexp-separate)
19235 (tramp-completion-file-name-regexp-url): Don't use leading volume
19236 letter on w32 systems. (Bug#5303, Bug#9311)
19237 (tramp-drop-volume-letter): Simplify definition.
19238 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19239
19240 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19241
19242 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19243 (bug#9356).
19244
19245 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19246
19247 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19248
19249 2011-08-29 Juri Linkov <juri@jurta.org>
19250
19251 * isearch.el (isearch-done): Don't display message "Mark saved"
19252 when arg `edit' is non-nil to prevent its flicker in the echo area.
19253
19254 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19255
19256 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19257 obsolete packages for deletion.
19258
19259 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19260
19261 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19262 (help-mode): Derive help-mode from special-mode. Don't invoke
19263 view-mode from help-mode.
19264 (help-xref-override-view-map): Remove.
19265 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19266 view-mode is not used anymore.
19267
19268 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19269
19270 * server.el (server-port): Doc fix.
19271
19272 * cus-theme.el (custom-theme-choose-mode): Inherit from
19273 special-mode (Bug#9124).
19274 (custom-theme-choose-mode-map): Add special-mode to parent.
19275
19276 2011-08-28 Alan Mackenzie <acm@muc.de>
19277
19278 * progmodes/cc-fonts.el
19279 (c-make-font-lock-BO-decl-search-function): New function.
19280 (c-basic-matchers-after - "Fontify the clauses after various
19281 keywords"): Extract the three keyword lists for the 3 erroneous
19282 constructs from the list of four, and use the new function above
19283 in place of an old one.
19284
19285 2011-08-28 Deniz Dogan <deniz@dogan.se>
19286
19287 * net/rcirc.el (rcirc-insert-prev-input)
19288 (rcirc-insert-next-input): Remove unused argument.
19289
19290 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19291
19292 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19293
19294 2011-08-27 Alan Mackenzie <acm@muc.de>
19295
19296 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19297 handle function pointer parameters properly.
19298
19299 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19300
19301 * window.el (display-buffer-reuse-window): Fix case where
19302 selected window was reused with non-nil OTHER-WINDOW argument.
19303 (Bug#9381)
19304
19305 2011-08-27 Deniz Dogan <deniz@dogan.se>
19306
19307 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19308 oftc's NickServ messages.
19309
19310 2011-08-27 Glenn Morris <rgm@gnu.org>
19311
19312 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19313
19314 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19315
19316 * emacs-lisp/package.el (package-install): Call package-initialize
19317 if called interactively.
19318
19319 2011-08-26 Leo Liu <sdl.web@gmail.com>
19320
19321 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19322
19323 2011-08-25 Juri Linkov <juri@jurta.org>
19324
19325 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19326 `search-whitespace-regexp' (bug#9364).
19327
19328 2011-08-25 Juri Linkov <juri@jurta.org>
19329
19330 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19331 `regexp-search-ring' to their global values to protect from
19332 updating by `read-from-minibuffer' (bug#9185).
19333
19334 2011-08-25 Juri Linkov <juri@jurta.org>
19335
19336 * textmodes/ispell.el (ispell-command-loop): Add newline
19337 at the end of the "Use option `i'..." line.
19338
19339 2011-08-25 Juri Linkov <juri@jurta.org>
19340
19341 * battery.el (display-battery-mode): If `battery-status-function'
19342 or `battery-mode-line-format' is nil, display the message and set
19343 `display-battery-mode' to nil (bug#9363).
19344
19345 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19346
19347 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19348 bidi-string-mark-left-to-right; they are unnecessary now.
19349
19350 2011-08-25 Deniz Dogan <deniz@dogan.se>
19351
19352 * net/quickurl.el: Documentation typo fixes.
19353
19354 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19355
19356 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19357
19358 2011-08-25 Glenn Morris <rgm@gnu.org>
19359
19360 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19361
19362 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19363 (smtpmail-via-smtp): Handle nil response from smtp.
19364
19365 2011-08-24 Juri Linkov <juri@jurta.org>
19366
19367 * proced.el (proced-marked): Inherit from `error' instead of
19368 `font-lock-warning-face'.
19369
19370 * ibuffer.el (ibuffer-marked-face): Change default face from
19371 `font-lock-warning-face' to `warning'.
19372 (ibuffer-deletion-face): Change default face from
19373 `font-lock-type-face' to `error'.
19374
19375 * battery.el (battery-update): Use the face `error' instead of
19376 `font-lock-warning-face' (bug#6117).
19377
19378 2011-08-24 Juri Linkov <juri@jurta.org>
19379
19380 * faces.el (success): Change face color from "Green3" to
19381 "ForestGreen" on light background (bug#9353).
19382
19383 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19384
19385 * window.el (quit-window): Rename from quit-restore-window.
19386 Use same arglist as old quit-window.
19387 (frame-auto-delete): Doc fix.
19388
19389 * view.el (view-mode-exit): Use quit-window.
19390
19391 2011-08-24 Juri Linkov <juri@jurta.org>
19392
19393 * isearch.el (isearch-ring-adjust1): Start visiting previous
19394 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19395 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19396 for empty search string (when the last search string is reused
19397 automatically) to adjust the isearch ring to the last element and
19398 prepare the correct index for further M-p commands (bug#9185).
19399
19400 2011-08-24 Kenichi Handa <handa@m17n.org>
19401
19402 * international/ucs-normalize.el: If decomposition property of
19403 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19404 nil.
19405 (nfd, nfkd): Likewise.
19406
19407 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19408
19409 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19410 from process filters aren't reliably transmitted to the surrounding
19411 accept-process-output.
19412 (mpc-proc-check): New function.
19413 (mpc-proc-sync): Use it (bug#8293)
19414
19415 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19416
19417 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19418 Add compatibility functions (bug#9313).
19419
19420 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19421
19422 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19423
19424 * international/uni-bidi.el: Regenerate.
19425
19426 2011-08-23 Kenichi Handa <handa@m17n.org>
19427
19428 * international/charprop.el:
19429 * international/uni-bidi.el:
19430 * international/uni-category.el:
19431 * international/uni-combining.el:
19432 * international/uni-comment.el:
19433 * international/uni-decimal.el:
19434 * international/uni-decomposition.el:
19435 * international/uni-digit.el:
19436 * international/uni-lowercase.el:
19437 * international/uni-mirrored.el:
19438 * international/uni-name.el:
19439 * international/uni-numeric.el:
19440 * international/uni-old-name.el:
19441 * international/uni-titlecase.el:
19442 * international/uni-uppercase.el: Regenerate.
19443
19444 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19445
19446 * help.el (help-window-setup): Fix message displayed when other
19447 window is reused. (Bug#9341)
19448
19449 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19452 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19453
19454 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19455 Mark obsolete.
19456 * shell.el (shell-parse-pcomplete-arguments): New function.
19457 (shell-completion-vars): Use it instead (bug#9160).
19458
19459 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19460
19461 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19462 strings and comments (bug#9333).
19463
19464 * emacs-lisp/debug.el (debug-arglist): New function.
19465 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19466 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19467
19468 2011-08-22 Juri Linkov <juri@jurta.org>
19469
19470 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19471 Revert regexp that highlights output switches to its old
19472 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19473
19474 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19475 to check for empty output (bug#9226).
19476
19477 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19478
19479 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19480 symbol-constituent as the default, as that stops font-lock from
19481 working properly (Bug#8843).
19482
19483 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19484
19485 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19486 `coding-system-for-*' around the process open call to avoid
19487 auth-source side effects.
19488 (smtpmail-try-auth-methods): Expand the secret password.
19489 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19490 probe hangs.
19491
19492 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19493
19494 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19495
19496 * emacs-lisp/find-func.el (find-function-noselect): New arg
19497 lisp-only.
19498
19499 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19500 signal an error for built-in functions (Bug#6664).
19501
19502 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19503
19504 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19505 (smtpmail-try-auth-methods): Use it.
19506
19507 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19508
19509 * font-lock.el (font-lock-fontify-region)
19510 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19511 (font-lock-default-unfontify-buffer)
19512 (font-lock-default-fontify-region)
19513 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19514
19515 * progmodes/compile.el (compilation-error-properties):
19516 Fix confusion between file struct and message struct (Bug#9319).
19517 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19518 `ant' regexp.
19519
19520 * net/browse-url.el (browse-url-firefox): Don't call
19521 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19522
19523 2011-08-20 Glenn Morris <rgm@gnu.org>
19524
19525 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19526
19527 * tutorial.el (tutorial--default-keys): Update some default bindings.
19528
19529 * files.el (hack-local-variables): Fully ignore case for "mode:".
19530
19531 2011-08-20 Alan Mackenzie <acm@muc.de>
19532
19533 Resolve invalid use of a regexp in regexp-opt.
19534
19535 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19536 detection for a java annotation.
19537
19538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19539 detection for a java annotation.
19540
19541 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19542 handling for java.
19543 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19544
19545 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19546
19547 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19548 (Bug#9274).
19549
19550 2011-08-20 Alan Mackenzie <acm@muc.de>
19551
19552 Fontify CPP expressions correctly when starting in the middle of
19553 such a construct. Mainly for when jit-lock etc. starts a chunk
19554 here.
19555
19556 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19557 variable.
19558 (c-make-font-lock-search-form): New function, extracted from
19559 c-make-font-lock-search-function.
19560 (c-make-font-lock-search-function): Use the above function.
19561 (c-make-font-lock-context-search-function): New function.
19562 (c-cpp-matchers): Enhance the preprocessor expression case with
19563 the above function
19564 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19565 which takes an expression.
19566
19567 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19568
19569 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19570
19571 * window.el (display-buffer-reuse-window)
19572 (display-buffer-pop-up-window): Don't reuse or split a side
19573 window.
19574
19575 2011-08-19 Glenn Morris <rgm@gnu.org>
19576
19577 * files.el (hack-local-variables-prop-line, hack-local-variables):
19578 Downcase "Mode:". (Bug#9331)
19579
19580 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19581
19582 * international/characters.el: Add L and R categories.
19583
19584 * subr.el (bidi-string-mark-left-to-right): Rename from
19585 string-mark-left-to-right. Use category search.
19586
19587 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19588
19589 2011-08-18 Juri Linkov <juri@jurta.org>
19590
19591 * faces.el (error, warning, success): New faces with definitions
19592 copied from old default values of `font-lock-warning-face',
19593 `compilation-warning', `compilation-info' (bug#6117).
19594
19595 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19596
19597 * progmodes/compile.el (compilation-error): Inherit from `error'.
19598 (compilation-warning): Inherit from `warning'.
19599 (compilation-info): Inherit from `success'.
19600
19601 * dired.el (dired-marked): Inherit from `warning'.
19602 (dired-flagged): Inherit from `error'.
19603
19604 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19605
19606 * mail/smtpmail.el (auth-source): Require to avoid problems with
19607 binding variables (bug#9298). Also clean up some unused
19608 autoloads.
19609
19610 * net/network-stream.el (network-stream-open-starttls):
19611 Support using starttls.el without using gnutls-cli.
19612
19613 2011-08-17 Juri Linkov <juri@jurta.org>
19614
19615 * progmodes/grep.el (rgrep): Handle the case when
19616 `grep-find-command' is a cons cell (bug#9278).
19617
19618 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19619
19620 * window.el (display-buffer-pop-up-frame): Run frame creation
19621 function with BUFFER current (as special-display-popup-frame
19622 does). Reported by Drew Adams.
19623
19624 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19625
19626 * epa-mail.el: Simplify GnuPG group expansion using
19627 epg-expand-group.
19628 (epa-mail-group-alist, epa-mail-group-modtime)
19629 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19630 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19631 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19632 Remove.
19633
19634 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19635
19636 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19637
19638 2011-08-16 Alan Mackenzie <acm@muc.de>
19639
19640 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19641 Correct, to avoid the inside of macros.
19642
19643 2011-08-16 Richard Stallman <rms@gnu.org>
19644
19645 * epa-mail.el: Handle GnuPG group definitions.
19646 (epa-mail-group-alist, epa-mail-group-modtime)
19647 (epa-mail-gnupg-conf-file): New variables.
19648 (epa-mail-parse-groups, epa-mail-sync-groups)
19649 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19650 (epa-mail-expand-recipients): New functions.
19651 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19652
19653 * mail/rmail.el (rmail-epa-decrypt): New command.
19654
19655 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19656 Don't bind buffer-read-only, just inhibit-read-only.
19657 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19658 (epa-decrypt-armor-in-region): Make error message clearer.
19659
19660 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19661
19662 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19663 and "a2b" to "ab" for `prefix'.
19664
19665 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19666
19667 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19668 filter groups.
19669 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19670 Fourquet (Bug#8804).
19671
19672 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19673
19674 * startup.el (argi): Declare as global variable (bug#9275).
19675
19676 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19677
19678 * subr.el (string-mark-left-to-right): Search the entire string
19679 for RTL script, not just the terminating character. Doc fix.
19680
19681 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19682
19683 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19684 New function.
19685 (js--regexp-literal, js-syntax-propertize-function): Remove.
19686 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19687 (js-mode-map): Don't rebind electric keys.
19688 (js-insert-and-indent): Remove.
19689 (js-mode): Setup electric-layout and electric-indent instead.
19690
19691 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19692
19693 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19694
19695 * epa.el (epa-progress-callback-function): Fix the logic of
19696 displaying progress.
19697 * epa-file.el (epa-file-insert-file-contents): Make progress
19698 display more user-friendly.
19699 (epa-file-write-region): Ditto.
19700
19701 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19702
19703 * subr.el (string-mark-left-to-right): New function.
19704
19705 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19706 Use string-mark-left-to-right.
19707 (list-buffers-noselect): Caller changed.
19708
19709 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19710 Use string-mark-left-to-right.
19711 (tabulated-list-print): Recenter after moving point.
19712
19713 2011-08-10 Juri Linkov <juri@jurta.org>
19714
19715 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19716 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19717 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19718
19719 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19720
19721 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19722 (Bug#7554).
19723
19724 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19725
19726 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19727 character. (Bug#6594)
19728
19729 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19730
19731 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19732 (image-dired--with-db-file): New macro.
19733 (image-dired-write-tags, image-dired-remove-tag)
19734 (image-dired-create-gallery-lists, image-dired-write-comments)
19735 (image-dired-get-comment, image-dired-mark-tagged-files)
19736 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19737 (image-dired-gallery-generate): Use insert-file-contents.
19738
19739 * time.el (display-time-world-list, display-time-world-display):
19740 * time-stamp.el (time-stamp-string):
19741 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19742 set-time-zone-rule (Bug#7337).
19743
19744 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19745
19746 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19747 (epg-error-to-string, epg-errors-to-string): New function.
19748 (epg-wait-for-completion): Reverse errors list.
19749 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19750 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19751 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19752 (epg-sign-keys, epg-generate-key-from-file)
19753 (epg-generate-key-from-string): Format errors by using
19754 epg-errors-to-string (bug#9255).
19755 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19756
19757 2011-08-07 Juri Linkov <juri@jurta.org>
19758
19759 * faces.el (list-faces-display): Remove extra angle bracket
19760 from `help-mode-map'.
19761
19762 * info.el (Info-history-toc-nodes): Doc fix.
19763
19764 * longlines.el (longlines-mode): Doc fix.
19765
19766 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19767
19768 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19769 of statements and in a few more cases (bug#9183).
19770
19771 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19772 New functions.
19773 (cl-transform-lambda): Use them (bug#9239).
19774
19775 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19776
19777 * window.el (display-buffer-same-window)
19778 (display-buffer-same-frame, display-buffer-other-window)
19779 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19780 (pop-to-buffer-other-window)
19781 (pop-to-buffer-same-frame-other-window)
19782 (pop-to-buffer-other-frame): Make them defuns.
19783 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19784
19785 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19786
19787 * subr.el (make-composed-keymap): Move from C. Change calling
19788 convention, and improve docstring to bring attention to a subtle point.
19789 * minibuffer.el (completing-read-default): Adjust accordingly.
19790
19791 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19792
19793 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19794 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19795
19796 * net/trampver.el: Update release number.
19797
19798 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19799
19800 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19801 "in" (bug#9190).
19802
19803 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19804
19805 * mail/sendmail.el (sendmail-query-once): Restore the current
19806 buffer after querying (bug#9074).
19807
19808 * dired.el (dired-flagged): Use different faces for marked and
19809 flagged files (bug#6117).
19810
19811 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19812 (bug#4433).
19813
19814 * ido.el (ido-mode): Switch off the message if called
19815 non-interactively.
19816
19817 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19818 before 587, since it appears that that's more likely to work for
19819 more people.
19820
19821 * cus-edit.el (custom-file): When running under emacs -q, always
19822 refuse to save the customizations, even if the .emacs file doesn't
19823 exist.
19824
19825 * info.el: Remove the `Info-beginning-of-buffer' function
19826 (bug#8325).
19827
19828 * net/network-stream.el (network-stream-open-starttls):
19829 Use `starttls-available-p' to see whether starttls.el can be used.
19830
19831 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19832
19833 * window.el (display-buffer-in-window): Don't set dedicated status
19834 of window here (Bug#9215).
19835 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19836 (display-buffer-pop-up-side-window)
19837 (display-buffer-in-side-window): Set dedicated status of window here.
19838
19839 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19840
19841 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19842 before binding generated-autoload-file.
19843
19844 2011-08-01 Deniz Dogan <deniz@dogan.se>
19845
19846 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19847
19848 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19849
19850 Sync with Tramp 2.2.2.
19851
19852 * net/trampver.el: Update release number.
19853
19854 2011-07-30 Juri Linkov <juri@jurta.org>
19855
19856 * dired-aux.el (dired-touch-initial): Remove function.
19857 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19858 current time, and `default' to the last modification time of the
19859 current marked file (bug#6887).
19860
19861 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19862
19863 * simple.el (goto-line): Use string-to-number to provide a
19864 numeric argument to read-number (bug#9163).
19865
19866 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19867
19868 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19869 connection process, it could be nil.
19870
19871 2011-07-27 Leo Liu <sdl.web@gmail.com>
19872
19873 Simplify url handling in rcirc-mode.
19874
19875 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19876 (rcirc-browse-url-at-mouse): Remove.
19877 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19878
19879 2011-07-26 Alan Mackenzie <acm@muc.de>
19880
19881 Fontify bitfield declarations properly.
19882
19883 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19884 (c-symbol-chars): Now exported as a lang variable.
19885 (c-not-primitive-type-keywords): New lang variable.
19886
19887 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19888 QT keyword "more" to prevent "more slots: ...." being spuriously
19889 parsed as a bitfield declaration.
19890
19891 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19892 Refactor and enhance to handle bitfield declarations.
19893 (c-punctuation-in): New function.
19894 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19895 declarations properly.
19896
19897 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19898
19899 * calendar/icalendar.el (icalendar--all-events): Take care of
19900 multiple vcalendars in a single file.
19901 (icalendar--convert-float-to-ical): Checkdoc fixes.
19902
19903 2011-07-25 Deniz Dogan <deniz@dogan.se>
19904
19905 * image.el (insert-image): Clarifying docstring.
19906
19907 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19908
19909 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19910 `tramp-send-command-and-check' if there is no error.
19911 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19912
19913 2011-07-22 Alan Mackenzie <acm@muc.de>
19914
19915 Prevent cc-langs.elc being loaded at run time.
19916
19917 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19918 cc-langs.
19919
19920 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19921 "(require 'cc-langs)". Quote a form so it will evaluate at
19922 (cc-mode's) compilation time.
19923
19924 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19925
19926 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19927 loading. (Bug#9114)
19928
19929 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19930
19931 * window.el (display-buffer-pop-up-window)
19932 (display-buffer-pop-up-side-window)
19933 (display-buffer-in-side-window): Call display-buffer-set-height
19934 and display-buffer-set-width after setting the new window's
19935 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19936
19937 2011-07-20 Sam Steingold <sds@gnu.org>
19938
19939 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19940 (etags-tags-included-tables): Call `convert-standard-filename' on
19941 the file names contained in TAGS so that windows Emacs can handle
19942 TAGS files created by cygwin ctags.
19943
19944 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19945
19946 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19947 which apparently didn't work.
19948
19949 2011-07-19 Roland Winkler <winkler@gnu.org>
19950
19951 * proced.el (proced-send-signal): For *Marked Processes* buffer
19952 put point at beginning of buffer.
19953
19954 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19955
19956 * proced.el (proced-format): Make header lines align with the text
19957 (bug#1779).
19958
19959 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19960
19961 * view.el (view-buffer): Allow running in `special' modes if we're
19962 visiting a file (bug#8615).
19963
19964 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19965
19966 * window.el (display-buffer-alist-of-strings-p)
19967 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19968 New functions.
19969 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19970 more accurately.
19971
19972 2011-07-18 Alan Mackenzie <acm@muc.de>
19973
19974 Fontify declarators properly when, e.g., a jit-lock chunk begins
19975 inside a declaration.
19976
19977 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19978
19979 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19980 New function.
19981 (c-complex-decl-matchers): Insert reference to
19982 c-font-lock-enclosing-decls.
19983
19984 * progmodes/cc-engine.el (c-backward-single-comment):
19985 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19986 to nil around calls to (forward-comment -1).
19987
19988 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19989
19990 * image.el (put-image): Doc typo fix.
19991
19992 * progmodes/etags.el (tags-search): Doc typo fix.
19993
19994 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19995 password if we get errors 550 to 554.
19996
19997 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19998
19999 * net/gnutls.el (gnutls-log-level): Remove.
20000
20001 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20002 indentation character (bug#6380).
20003
20004 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20005
20006 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20007 to clarify what the problem is (bug#4291).
20008
20009 * simple.el (current-kill): Clarify what
20010 `interprogram-paste-function' does (bug#7500).
20011 (auto-fill-mode): Document `auto-fill-function' in relation to
20012 `auto-fill-mode' (bug#2470).
20013
20014 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20015
20016 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20017 method if slot is read-only (bug#9035).
20018
20019 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20020
20021 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20022 * window.el (pop-to-buffer): Select window used even if it was
20023 selected before, see discussion of (Bug#8615), (Bug#6954).
20024 Pass argument NORECORD on to select-frame-set-input-focus.
20025
20026 2011-07-15 Glenn Morris <rgm@gnu.org>
20027
20028 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20029 Respect help-form.
20030
20031 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20032
20033 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20034 (gnutls-negotiate): Use it.
20035
20036 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20037
20038 * net/gnutls.el (gnutls-negotiate):
20039 Upcase `gnutls-algorithm-priority'.
20040
20041 2011-07-15 Glenn Morris <rgm@gnu.org>
20042
20043 * jka-compr.el (jka-compr-verbose): Move from here...
20044 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20045 Add missing :version tag.
20046 * info.el: No need to require jka-compr when compiling.
20047
20048 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20049
20050 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20051 (gnutls-negotiate): Use it.
20052
20053 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20054
20055 * info.el (Info-beginning-of-buffer): New command.
20056 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20057 announcing `b' as the key (bug#8325).
20058 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20059
20060 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20061
20062 * international/mule-cmds.el
20063 (describe-specified-language-support): Make the error message
20064 clearer (bug#8905).
20065
20066 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20067
20068 * isearch.el (isearch-barrier): Add a doc string, since it's
20069 mentioned in a function doc string (bug#8678).
20070
20071 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20072
20073 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20074 buffer argument (Bug#9083) and self-identifying label argument.
20075
20076 2011-07-15 Glenn Morris <rgm@gnu.org>
20077
20078 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20079
20080 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20081
20082 * man.el (Man-fontify-manpage): Fix message when formatting the
20083 man page (bug#7929).
20084
20085 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20086
20087 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20088 argument LRM; if non-nil, append an invisible LRM character to the
20089 buffer name.
20090 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20091 last argument non-nil, when formatting buffer names.
20092 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20093 paragraph direction.
20094
20095 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20096
20097 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20098 the man page name (bug#7929).
20099
20100 * image.el (put-image): Mention the `put-image' overlay property
20101 (bug#7834).
20102
20103 * scroll-bar.el (set-scroll-bar-mode): Mention that
20104 `scroll-bar-mode' lists the values (bug#7772).
20105
20106 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20107 command (bug#7729).
20108
20109 * rect.el (apply-on-rectangle): Return the point after the last
20110 operation.
20111 (string-rectangle): Go to the point after the last operation
20112 (bug#7522).
20113
20114 * printing.el (pr-toggle-region): Clarify the documentation
20115 slightly (bug#7493).
20116
20117 * time.el (display-time-update):
20118 Allow `display-time-mail-function' to return nil (bug#7158).
20119 Fix suggested by Detlev Zundel.
20120
20121 * vc/diff.el (diff): Clarify the order the file names are read
20122 (bug#7111).
20123
20124 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20125 the doc string (bug#7015).
20126
20127 * font-lock.el (font-lock-maximum-decoration): Mention what
20128 numeric levels mean (bug#6935).
20129
20130 * startup.el (initial-buffer-choice): Don't mention the `none'
20131 selection, which is against policy.
20132
20133 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20134
20135 * window.el (display-buffer-normalize-special):
20136 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20137
20138 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20139
20140 * subr.el (version<, version<=, version=): Mention "-CVS" and
20141 "-12345" alpha version numbers.
20142
20143 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20144
20145 * bindings.el: Add advertised binding for set-mark-command
20146 (Bug#5772).
20147
20148 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20149
20150 * bindings.el (mode-line-other-buffer):
20151 * bookmark.el (bookmark-bmenu-2-window):
20152 * bs.el (bs-cycle-next, bs-cycle-previous):
20153 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20154 switch-to-buffer.
20155
20156 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20157 Delete.
20158
20159 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20160
20161 * follow.el (follow-debug-message, follow-redisplay):
20162 * jka-cmpr-hook.el (with-auto-compression-mode):
20163 Fix typos in docstrings.
20164
20165 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20166
20167 * subr.el (with-silent-modifications): Clarify somewhat what the
20168 macro inhibits (bug#6525).
20169
20170 * simple.el (eval-expression): Note what it does if called
20171 interactively (bug#6495).
20172
20173 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20174
20175 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20176 Use pop-to-buffer buffer-or-name if it is nil.
20177
20178 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20179 Remove switch-to-buffer.
20180
20181 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20182
20183 * files.el (make-directory): Clarify that an error will be raised
20184 if there's an error (bug#6397).
20185
20186 * startup.el (initial-buffer-choice): Add `none' as a choice
20187 (bug#6234).
20188
20189 * subr.el (add-hook): Clarify section about buffer-local hooks
20190 (bug#6218).
20191
20192 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20193
20194 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20195
20196 * tabify.el (untabify): Preserve the current column so that point
20197 doesn't move (bug#6032).
20198
20199 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20200
20201 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20202 Rewrite to avoid awkward possessive "s" (bug#5986).
20203
20204 2011-07-13 Glenn Morris <rgm@gnu.org>
20205
20206 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20207 (dired-insert-directory): Give a message the first time
20208 if ls is found not to support --dired.
20209
20210 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20211
20212 * simple.el (toggle-truncate-lines): Clarify what is toggled
20213 (bug#5580). Text by Drew Adams.
20214
20215 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20216
20217 * simple.el (blink-matching-open): Make the error message from the
20218 last change less verbose.
20219
20220 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20221
20222 * font-lock.el (font-lock-comment-face): Use the high contrast
20223 "yellow" color for font-lock-comment-face on low color terminals
20224 using a dark background color (bug#4221).
20225
20226 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20227
20228 * dired.el (dired-insert-set-properties): Make the doc string
20229 reflect what it does now (bug#5325).
20230
20231 * simple.el (blink-matching-open): Say that we were unable to find
20232 the match within the limit, if we're limited (bug#5122).
20233
20234 * international/mule-cmds.el (prefer-coding-system): Add an
20235 example (bug#4869).
20236
20237 * progmodes/etags.el (tags-search): Document `file-list-form'
20238 (bug#4731).
20239
20240 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20241
20242 * net/browse-url.el (browse-url-default-browser)
20243 (browse-url-browser-function): Make the default browser choice a
20244 bit more logical (bug#4300). Also clean up the doc string.
20245
20246 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20247
20248 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20249 binary endings (bug#4440).
20250
20251 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20252
20253 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20254 which can be pretty annoying (bug#8971).
20255
20256 * jka-compr.el (jka-compr-verbose): New variable, and use
20257 throughout (bug#8971).
20258
20259 * info.el (Info-find-file): Fall back on the installation
20260 directory if we can't find the info node anywhere else.
20261
20262 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20263
20264 * vc/vc.el (vc-revert-file):
20265 Don't set file time-stamp in the past. (Bug#5181)
20266
20267 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20268
20269 * files.el (after-find-file): Give a better error message when
20270 trying to find a symlink that points to a file that doesn't exist
20271 (bug#4398).
20272
20273 * progmodes/cc-vars.el: Remove (probably) misleading comment
20274 (bug#4396).
20275
20276 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20277
20278 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20279
20280 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20281
20282 * mouse-sel.el: Hack restoring functionality, while keeping
20283 compatibility with 2010-07-03 changes to mouse selection.
20284 (mouse-sel-primary-overlay): New var.
20285 (mouse-sel-selection-alist): Use it.
20286 (mouse-sel-mode): Doc fix; remove points that are default features
20287 of mouse.el.
20288
20289 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20290
20291 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20292 Fix previous fix (bug#2490).
20293
20294 2011-07-12 Roland Winkler <winkler@gnu.org>
20295
20296 * textmodes/bibtex.el (bibtex-initialize):
20297 Use pop-to-buffer-same-window.
20298 (bibtex-search-entries): Fix interactive call.
20299
20300 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20301
20302 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20303 Fontise bytecomp Error lines more correctly (bug#2490).
20304 Fix suggested by Johan Bockgård.
20305
20306 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20307
20308 * dired-x.el (dired-guess-default): Use `delete-dups'.
20309
20310 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20311
20312 * dired.el (dired-mark-prompt):
20313 * dired-aux.el (dired-read-shell-command): Doc fix.
20314
20315 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20316
20317 * mail/sendmail.el (sendmail-query-once):
20318 Use `customize-save-variable' unconditionally, now that it works under
20319 emacs -Q.
20320
20321 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20322
20323 * cus-edit.el (custom-file): Take an optional no-error variable.
20324 (customize-save-variable): Set the variable, and give a warning if
20325 running under "emacs -q".
20326
20327 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20328
20329 * loadhist.el (unload-feature-special-hooks):
20330 Add `auto-coding-functions', `fill-nobreak-predicate' and
20331 `find-directory-functions' (bug#5327).
20332
20333 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20334
20335 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20336
20337 * cus-edit.el (custom-guess-name-alist): -alist variables should
20338 use the `alist' type (bug#3120). Suggested by Drew Adams.
20339
20340 * printing.el: Add documentation to all the `pr-toggle-' commands.
20341
20342 2011-07-11 Leo Liu <sdl.web@gmail.com>
20343
20344 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20345 backends where it makes sense (bug#2623).
20346
20347 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20348
20349 * dired-x.el (dired-guess-default): Remove duplicate shell command
20350 entries (bug#2028).
20351 (dired-guess-default): Fix grammar in doc string (bug#2028).
20352 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20353
20354 * subr.el (remove-duplicates): New conveniency function.
20355
20356 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20357
20358 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20359 (bug#1526).
20360
20361 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20362
20363 * window.el (display-buffer-normalize-default): Don't invert
20364 meaning of even-window-heights. Reported by Eli Zaretskii
20365 <eliz@gnu.org>.
20366
20367 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20368
20369 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20370
20371 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20372
20373 * window.el (display-buffer): Fix arguments to
20374 display-buffer-reuse-window in last change.
20375
20376 * faces.el (link): Use a less saturated blue on light backgrounds.
20377
20378 * startup.el (fancy-startup-text, fancy-about-text)
20379 (fancy-startup-tail): Use font-lock faces, for background safety.
20380
20381 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20382
20383 * emulation/viper-cmd.el (viper-change-state-to-vi):
20384 Limit triggering of abbrev expansion (Bug#9038).
20385
20386 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20387
20388 * window.el (display-buffer-default-specifiers): Remove.
20389 (display-buffer-macro-specifiers): Remove default specifiers.
20390 (display-buffer-alist): Default to nil.
20391 (display-buffer-reuse-window): New optional argument other-window.
20392 (display-buffer-pop-up-window): Allow splitting internal
20393 windows. Check whether a live window was created.
20394 (display-buffer-other-window-means-other-frame)
20395 (display-buffer-normalize-arguments): Rename to
20396 display-buffer-normalize-argument and rewrite. Set the
20397 other-window specifier.
20398 (display-buffer-normalize-special): New function.
20399 (display-buffer-normalize-options): Rename to
20400 display-buffer-normalize-default and rewrite.
20401 (display-buffer-normalize-options-inhibit): Remove.
20402 (display-buffer-normalize-specifiers): Rewrite.
20403 (display-buffer): Process other-window specifier and call
20404 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20405 more faithfully.
20406 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20407 (display-buffer-alist-set): Don't handle 'unset default values.
20408 (display-buffer-in-window, display-buffer-alist-set):
20409 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20410 <tassilo@member.fsf.org>.
20411
20412 2011-07-09 Leo Liu <sdl.web@gmail.com>
20413
20414 * register.el (insert-register): Restore accidental change on
20415 2011-06-26. (Bug#9028)
20416
20417 2011-07-09 Glenn Morris <rgm@gnu.org>
20418
20419 * subr.el (remq): Handle the empty list. (Bug#9024)
20420
20421 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20422
20423 * mail/sendmail.el (send-mail-function): No longer delay custom
20424 initialization.
20425 * custom.el (custom-initialize-delay): Doc fix.
20426
20427 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20428
20429 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20430
20431 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20432
20433 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20434 human-friendly prompt.
20435
20436 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20437
20438 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20439 provided by a particular plugin.
20440
20441 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20442
20443 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20444 save customizations (with "emacs -Q"), just set the variable
20445 instead of erroring out.
20446
20447 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20448
20449 2011-07-08 Juri Linkov <juri@jurta.org>
20450
20451 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20452 (archive-zip-update-case): Use 7z if found by `executable-find'.
20453 The order of searching the available programs is the same as in
20454 `archive-zip-extract' (bug#8968).
20455
20456 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20457
20458 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20459 (menu-bar-options-menu): Tweak descriptions.
20460
20461 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20462
20463 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20464 menu items into verb phrases (bug#1421). Also refill to fit under
20465 80 columns.
20466
20467 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20468
20469 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20470 (Info-read-node-name): Doc fix (Bug#1084).
20471
20472 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20473 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20474 (end-of-sexp, beginning-of-sexp)
20475 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20476 (forward-symbol, forward-same-syntax, word-at-point)
20477 (sentence-at-point): Doc fix (Bug#1144).
20478
20479 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20480
20481 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20482 should cover it (bug#1281).
20483
20484 * cus-edit.el (custom-show): Mark as obsolete.
20485
20486 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20487 negotiation fails, then possibly try again with a non-encrypted
20488 connection (bug#9017).
20489
20490 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20491 be used.
20492
20493 2011-07-07 Richard Stallman <rms@gnu.org>
20494
20495 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20496 property, and handle its changed format.
20497 Look for the correct line number.
20498 Use file's line contents (but not past first =) to find
20499 correct line in message.
20500
20501 2011-07-07 Kenichi Handa <handa@m17n.org>
20502
20503 * international/characters.el (build-unicode-category-table):
20504 Delete it.
20505 (unicode-category-table): Set it by unicode-property-table-internal.
20506
20507 * international/mule-cmds.el (char-code-property-alist): Move to
20508 to src/chartab.c.
20509 (get-char-code-property): Call unicode-property-table-internal to
20510 load a file. Call get-unicode-property-internal where necessary.
20511 (put-char-code-property): Call unicode-property-table-internal to
20512 load a file. Call put-unicode-property-internal where necessary.
20513 put-unicode-property-internal where necessary.
20514 (char-code-property-description):
20515 Call unicode-property-table-internal to load a file.
20516
20517 * international/charprop.el:
20518 * international/uni-bidi.el:
20519 * international/uni-category.el:
20520 * international/uni-combining.el:
20521 * international/uni-comment.el:
20522 * international/uni-decimal.el:
20523 * international/uni-decomposition.el:
20524 * international/uni-digit.el:
20525 * international/uni-lowercase.el:
20526 * international/uni-mirrored.el:
20527 * international/uni-name.el:
20528 * international/uni-numeric.el:
20529 * international/uni-old-name.el:
20530 * international/uni-titlecase.el:
20531 * international/uni-uppercase.el: Regenerate.
20532
20533 * loadup.el: Load international/charprop.el before
20534 international/characters.
20535
20536 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20537
20538 * window.el (next-buffer, previous-buffer): Signal an error if
20539 called from a minibuffer window.
20540
20541 * bindings.el: Revert 2011-07-04 change.
20542
20543 2011-07-06 Richard Stallman <rms@gnu.org>
20544
20545 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20546 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20547 Treat markers like ints.
20548 (rmail-mime-entity): Doc fix.
20549
20550 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20551
20552 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20553 defcustom again for backwards compatibility.
20554
20555 * simple.el (shell-command-on-region): Fill.
20556
20557 * dired-aux.el (dired-kill-line): Add a doc string.
20558
20559 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20560 to "\\sw\\|\\s_" (bug#358).
20561
20562 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20563 (dired-unmark-backward): Ditto.
20564 (dired-flag-backup-files): Ditto.
20565
20566 * dired-x.el (dired-mark-sexp): Ditto.
20567
20568 2011-07-06 Richard Stallman <rms@gnu.org>
20569
20570 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20571 (rmail-mime-entity): New arg TRUNCATED.
20572 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20573 New functions.
20574 (rmail-mime-save): Warn if entity is truncated.
20575 (rmail-mime-toggle-hidden): Likewise, for showing.
20576 (rmail-mime-process-multipart): Record when an entity is truncated.
20577
20578 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20579 if ENTITY is a string.
20580
20581 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20582
20583 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20584 of faces when `M-C-x'-ing their definitions (bug#8378).
20585 Also clean up the code slightly.
20586
20587 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20588 because that makes the colors go away.
20589
20590 * mail/sendmail.el (send-mail-function): Change the default to
20591 `sendmail-query-once'.
20592 (sendmail-query-once): Add an autoload cookie.
20593
20594 * net/network-stream.el (network-stream-open-starttls): Try using
20595 a plain connection even if the server offered STARTTLS, and we
20596 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20597 capability. This should make smtpmail.el work in slightly more
20598 configurations.
20599
20600 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20601
20602 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20603 New defun.
20604 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20605
20606 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20607
20608 * progmodes/sql.el: Version 3.0
20609 (sql-product-alist): Add product :completion-object,
20610 :completion-column, and :statement attributes.
20611 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20612 (sql-mode-syntax-table): Mark all punctuation.
20613 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20614 ansi keywords.
20615 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20616 (sql-mode-oracle-font-lock-keywords): Improve.
20617 (sql-oracle-show-reserved-words): New function for development.
20618 (sql-product-font-lock): Simplify for source code buffers.
20619 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20620 New functions.
20621 (sql-highlight-product): Set product specific syntax table.
20622 (sql-mode-map): Add statement movement functions.
20623 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20624 New variable.
20625 (sql-statement-regexp, sql-beginning-of-statement)
20626 (sql-end-of-statement, sql-signum): New functions.
20627 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20628 (sql-show-sqli-buffer): Bug fix.
20629 (sql-interactive-mode): Store connection data as buffer local.
20630 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20631 with sql-interactive-mode.
20632 (sql-save-connection): Save buffer local settings.
20633 (sql-connection-menu-filter): Change menu entry name.
20634 (sql-product-interactive): Bug fix.
20635 (sql-preoutput-hold): New variable.
20636 (sql-interactive-remove-continuation-prompt): Bug fixes.
20637 (sql-debug-redirect): New variable.
20638 (sql-str-literal): New function.
20639 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20640 Redesign.
20641 (sql-oracle-save-settings, sql-oracle-restore-settings)
20642 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20643 (sql-completion-object, sql-completion-column)
20644 (sql-completion-sqlbuf): New variables.
20645 (sql-build-completions-1, sql-build-completions)
20646 (sql-try-completion): New functions.
20647 (sql-read-table-name): Use them.
20648 (sql-contains-names): New buffer local variable.
20649 (sql-list-all, sql-list-table): Use it.
20650 (sql-oracle-completion-types): New variable.
20651 (sql-oracle-completion-object, sql-sqlite-completion-object)
20652 (sql-postgres-completion-object): New functions.
20653
20654 2011-07-06 Glenn Morris <rgm@gnu.org>
20655
20656 * window.el (pop-to-buffer): Doc fix.
20657
20658 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20659
20660 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20661
20662 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20663
20664 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20665
20666 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20667
20668 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20669
20670 * button.el (button): Inherit from link face. Suggested by Dan
20671 Nicolaescu.
20672
20673 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 * progmodes/gdb-mi.el: Fit in 80 columns.
20676 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20677 switch-to-buffer.
20678
20679 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20680 if imenu is simply not configured (bug#8941).
20681
20682 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20683
20684 * allout.el (allout-post-undo-hook): New allout outline-change
20685 event hook to signal undo activity.
20686 (allout-post-command-business): Run allout-post-undo-hook if an
20687 undo just occurred.
20688 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20689 * allout-widgets.el (allout-widgets-after-undo-function):
20690 Ensure the integrity of the current item's decoration after it has been
20691 in the vicinity of an undo.
20692 (allout-widgets-mode): Include allout-widgets-after-undo-function
20693 on the new allout-post-undo-hook.
20694
20695 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20696
20697 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20698 Let define-derived-mode define it.
20699 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20700 cycles of abbrev-table inheritance (bug#8998).
20701
20702 2011-07-05 Roland Winkler <winkler@gnu.org>
20703
20704 * textmodes/bibtex.el: Add support for biblatex.
20705 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20706 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20707 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20708 (bibtex-entry-alist, bibtex-field-alist): New variables.
20709 (bibtex-entry-field-alist): Obsolete alias for
20710 bibtex-BibTeX-entry-alist.
20711 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20712 (bibtex-set-dialect): New command.
20713 (bibtex-entry-type, bibtex-entry-head)
20714 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20715 Bind via bibtex-set-dialect.
20716 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20717 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20718 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20719 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20720 Define via bibtex-set-dialect.
20721 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20722 Obey bibtex-no-opt-remove-re.
20723 (bibtex-vec-push, bibtex-vec-incr): New functions.
20724 (bibtex-format-entry, bibtex-field-list)
20725 (bibtex-print-help-message, bibtex-validate)
20726 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20727
20728 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20729
20730 * progmodes/compile.el (compilation-goto-locus):
20731 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20732 * bs.el (bs-cycle-next, bs-cycle-previous):
20733 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20734 * bindings.el (mode-line-other-buffer):
20735 * autoinsert.el (auto-insert):
20736 * arc-mode.el (archive-extract):
20737 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20738
20739 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20740
20741 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20742 Fix check of `emacs-lock-unlockable-modes'.
20743 Coerce true values of `emacs-lock--try-unlocking' to t.
20744
20745 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20746
20747 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20748 * emacs-lock.el: New file.
20749
20750 2011-07-05 Julien Danjou <julien@danjou.info>
20751
20752 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20753 than `boundp' to check if face is set.
20754
20755 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20756
20757 * register.el (registerv-make):
20758 * window.el (window-min-height): Fix typos in docstrings.
20759
20760 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20761
20762 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20763 Update doc string.
20764
20765 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20766
20767 * server.el (server-execute): Catch quit and call
20768 `server-return-error' to pass the error back to emacsclient and
20769 close the connection (bug#8942).
20770
20771 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20772
20773 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20774 insecure exception for current topic. Also note that auto-saves
20775 are handled differently.
20776
20777 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20778 State variables for tracking auto-save inhibition situation.
20779
20780 (allout-write-contents-hook-handler): Rename from
20781 'allout-write-file-hook-handler', and describe how it depends on
20782 write-contents-functions sensitivity to non-nil value to prevent
20783 file write.
20784
20785 (allout-auto-save-hook-handler): Remove. auto-save does not check
20786 this in individual buffers, only in the starting buffer, so this
20787 is not the right way for us to inhibit auto-save in a buffer
20788 according to its condition.
20789
20790 (allout-mode): Use new allout-write-contents-hook-handler, and
20791 only with write-contents-functions. Remove auto-save provisions -
20792 they're implemented elsewhere.
20793
20794 (allout-before-change-handler): If undo is in progress, note that
20795 for attention of allout-post-command-business.
20796
20797 (allout-post-command-business): If the command we're following was
20798 an undo, check for change in the status of encrypted items and
20799 adjust auto-save inhibitions accordingly.
20800
20801 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20802 according to whether there are or aren't any plain-text topics
20803 pending encryption.
20804
20805 (allout-inhibit-auto-save-info-for-decryption):
20806 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20807 if there are plain-text topics pending encryption.
20808
20809 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20810 buffer-saved-size and some allout state to not inhibit auto-saves
20811 if there are no longer any plain-text topics pending encryption.
20812
20813 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20814 No longer provide for exemption of the current topic.
20815
20816 2011-07-04 Juri Linkov <juri@jurta.org>
20817
20818 Add 7z operations to delete and save changed members (bug#8968).
20819 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20820 New defcustoms.
20821 (archive-7z-write-file-member): New function.
20822 (archive-7z-summarize): Fix the number of dashes in the
20823 listing output.
20824
20825 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20826
20827 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20828 (bug#8958).
20829
20830 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20831
20832 * bindings.el: Ignore next-buffer and previous-buffer in
20833 minibuffer-local-map.
20834
20835 * font-lock.el (font-lock-builtin-face): Change light background
20836 color to dark slate blue (Bug#6693).
20837
20838 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20839
20840 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20841
20842 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20843
20844 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20845 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20846 Add switch-to-buffer.
20847
20848 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20849
20850 * isearch.el (isearch-search-fun-function): Clarify further the
20851 meaning of the function returned.
20852
20853 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20854
20855 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20856
20857 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20858 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20859 Use it.
20860 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20861 `tramp-default-remote-path' does not exist.
20862 (tramp-send-command-and-read): New optional argument NOERROR.
20863 (tramp-open-connection-setup-interactive-shell)
20864 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20865 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20866 (tramp-process-sentinel): Flush also process' connection property.
20867 (tramp-sh-handle-start-file-process): Do not set process
20868 sentinel. It is done now ...
20869 (tramp-maybe-open-connection): ... here. (Bug#8929)
20870
20871 2011-07-04 MON KEY <monkey@sandpframing.com>
20872
20873 * play/animate.el (animate-string): Doc fixes and allow changing
20874 the buffer name (bug#5417).
20875
20876 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20877
20878 * play/animate.el (animation-buffer-name): Rename from *animate*.
20879
20880 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20881
20882 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20883 This is simpler and helps future-proof the code.
20884 (timer-until): Use time-subtract and float-time.
20885 (timer--time-less-p): Use time-less-p.
20886
20887 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20888
20889 * type-break.el (timep): Use the value of `float-time' to avoid a
20890 byte-compiler warning.
20891
20892 * server.el (server-eval-and-print): Return any result, even nil.
20893
20894 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20895
20896 * type-break.el: Accept time formats that the builtins accept.
20897 (timep, type-break-time-difference): Accept any format that
20898 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20899 This is simpler and helps future-proof the code.
20900 (type-break-time-difference): Round rather than ignoring
20901 subseconds components.
20902
20903 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20904
20905 * info.el (Info-apropos-matches): Make non-interactive, since it
20906 doesn't seem to do anything useful as a command (bug#8829).
20907
20908 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20909
20910 * frame.el (frame-background-mode, frame-set-background-mode):
20911 Move from faces.el.
20912 (frame-default-terminal-background): New function.
20913
20914 * custom.el (custom-push-theme): Don't record faces in `changed'
20915 theme; this doesn't work correctly for per-frame face settings.
20916 (disable-theme): Use face-set-after-frame-default to reset faces.
20917 (custom--frame-color-default): New function.
20918
20919 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20920
20921 * dired.el (dired-flagging-regexp): Remove unused variable
20922 (bug#8769).
20923
20924 2011-03-29 Kevin Ryde <user42@zip.com.au>
20925
20926 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20927 `perl-Test2' extend to match possible "fail #N" rep count
20928 (bug#8377).
20929
20930 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20931
20932 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20933 `smtpmail-via-smtp' now returns the error instead of nil.
20934
20935 * isearch.el (isearch-search-fun-function): Clarify the doc string
20936 (bug#8101).
20937
20938 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20939
20940 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20941 unnecessary spaces (bug#8987).
20942
20943 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20944
20945 * net/network-stream.el (open-network-stream): Use the
20946 :end-of-capability command thoughout.
20947
20948 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20949
20950 * net/network-stream.el (open-network-stream): Add the
20951 :end-of-capability command parameter, used by pop3.el.
20952
20953 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20954
20955 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20956
20957 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20958 for list)" (bug#6475).
20959
20960 * files.el (file-expand-wildcards): Ignore non-readable
20961 sub-directories while trying to find matches instead of signaling
20962 an error (bug#6297).
20963
20964 * man.el (Man-reference-regexp): Allow matching possible
20965 word-wrapped references (bug#6289).
20966
20967 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20968 for consistency with the other vc buffers (bug#6197).
20969 (vc-checkin): Ditto.
20970
20971 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20972
20973 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20974
20975 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20976
20977 * custom.el (defcustom): Clarify that :set is only used in the
20978 Customize user interface (bug#6089).
20979
20980 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20981 associated with a file, refuse to run instead of erroring out
20982 (bug#6084).
20983
20984 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20985 the doc string, since it appears that using `fill-column' always
20986 controls the width (bug#7845).
20987
20988 * simple.el (shell-command-on-region): Say where the error output
20989 went if `shell-command-default-error-buffer' is set (bug#6857).
20990
20991 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20992
20993 * allout.el (allout-yank-processing): Adjust cursor position for
20994 backwards-deleted space.
20995
20996 (allout-rebullet-heading): Register changes with
20997 allout-exposure-changed-hook, so the modified topic is properly
20998 decorated.
20999
21000 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21001
21002 * minibuffer.el (completion-in-region): Document PREDICATE
21003 (bug#7136).
21004
21005 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21006 of keyword/argument pairs (bug#6904).
21007
21008 * replace.el (multi-occur):
21009 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21010
21011 2011-07-02 Drew Adams <drew.adams@oracle.com>
21012
21013 * dired.el (dired-mark-if): Make the message about whether it's
21014 marking or unmarking clearer (bug#8523).
21015
21016 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21017
21018 * disp-table.el (display-table-print-array): New function.
21019 (describe-display-table): Use it to print the vectors more pretty
21020 (Bug#8859).
21021
21022 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21023
21024 * window.el (window-state-get-1): Don't assign clone numbers.
21025 Add clone-of item to list of window parameters.
21026 (window-state-put-2): Don't process clone numbers.
21027 (display-buffer-alist): Fix doc-string.
21028
21029 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21030
21031 * subr.el (remq): Don't allocate if it's not needed.
21032 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21033 (keymap--merge-bindings): New functions.
21034 (keymap-canonicalize): Use them to refine the canonicalization.
21035 * minibuffer.el (minibuffer-local-completion-map)
21036 (minibuffer-local-must-match-map): Move initialization from C.
21037 (minibuffer-local-filename-completion-map): Move initialization from C;
21038 don't inherit from anything here.
21039 (minibuffer-local-filename-must-match-map): Make obsolete.
21040 (completing-read-default): Use make-composed-keymap to combine
21041 minibuffer-local-filename-completion-map with either
21042 minibuffer-local-must-match-map or
21043 minibuffer-local-filename-completion-map.
21044
21045 2011-07-01 Glenn Morris <rgm@gnu.org>
21046
21047 * type-break.el (type-break-time-sum): Use dolist.
21048
21049 * textmodes/flyspell.el (flyspell-word-search-backward):
21050 Replace CL function.
21051
21052 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21053
21054 * mouse.el (mouse--strip-first-event): New function.
21055 (function-key-map): Use it to map fringe clicks to normal clicks
21056 by default.
21057
21058 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21059 (vc-bzr-revision-completion-table): Add support for annotate and date.
21060
21061 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21062 inherit from parent.
21063
21064 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21065
21066 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21067 (dired-show-file-type): Doc fixup (bug#8818).
21068
21069 * dired.el (dired-mode): Fix up the doc string as suggested by
21070 Drew Adams (bug#8817).
21071
21072 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21073 cookie, since the manual says that it should be possible to add
21074 this function to `find-file-hook' (bug#8709).
21075
21076 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21077
21078 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21079 here. Noted Ted Zlatanov as the maintainer.
21080 (cfengine-common-settings, cfengine-common-syntax): New functions
21081 to set up common things between `cfengine-mode' and
21082 `cfengine3-mode'.
21083 (cfengine3-mode): New mode.
21084 (cfengine3-defuns cfengine3-defuns-regex
21085 (cfengine3-class-selector-regex cfengine3-category-regex)
21086 (cfengine3-vartypes cfengine3-font-lock-keywords)
21087 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21088 (cfengine3-indent-line): Add from cfengine3.el.
21089
21090 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21091
21092 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21093
21094 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21095
21096 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21097
21098 * window.el (same-window-buffer-names, same-window-regexps)
21099 (same-window-p, special-display-frame-alist)
21100 (special-display-popup-frame, special-display-function)
21101 (special-display-buffer-names, special-display-regexps)
21102 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21103 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21104 (split-window-preferred-function, split-height-threshold)
21105 (split-width-threshold, even-window-heights)
21106 (display-buffer-mark-dedicated, window-splittable-p)
21107 (split-window-sensibly, window-safely-shrinkable-p):
21108 Un-obsolete.
21109 (display-buffer): Don't spread args with function specifier
21110 because special-display-popup-frame won't like it.
21111
21112 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21113
21114 Time-stamp simplifications and fixes.
21115 These improve accuracy slightly, and future-proof the code
21116 against some potential changes to current-time format.
21117
21118 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21119 by using time-since and float-time.
21120
21121 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21122 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21123 + NNN microseconds".
21124
21125 * type-break.el (type-break-time-sum): Rewrite using time-add.
21126
21127 * play/hanoi.el (hanoi-current-time-float): Remove.
21128 All uses replaced by float-time.
21129
21130 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21131 This yields a more-accurate answer.
21132 (rng-time-to-float): Remove; no longer needed.
21133
21134 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21135
21136 * calendar/timeclock.el (timeclock-seconds-to-time):
21137 Defalias to seconds-to-time, since they're the same thing.
21138
21139 * emacs-lisp/elp.el (elp-elapsed-time):
21140 * emacs-lisp/benchmark.el (benchmark-elapse):
21141 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21142
21143 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21144
21145 * window.el (bury-buffer): Don't iconify the only frame.
21146 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21147 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21148
21149 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21150
21151 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21152 Add mouse-yank-primary.
21153
21154 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21155
21156 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21157
21158 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21159
21160 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21161 (find-library-name): Use it to find relative load names when provided
21162 absolute file name (bug#8803).
21163
21164 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21165
21166 * textmodes/flyspell.el (flyspell-word): Consider words that
21167 differ only in case as potential doublons (bug#5687).
21168
21169 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21170 Remove two rather uninteresting debugging-like messages to make
21171 debbugs.el more silent.
21172
21173 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21174 a password-like phrase.
21175
21176 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21177
21178 * progmodes/cc-guess.el: New file.
21179
21180 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21181
21182 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21183 derived from `c-basic-common-init'.
21184
21185 * progmodes/cc-mode.el (top-level): Require cc-guess.
21186 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21187
21188 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21189
21190 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21191
21192 2011-06-30 Alan Mackenzie <acm@muc.de>
21193
21194 * progmodes/cc-engine.el (c-guess-continued-construct):
21195 Correct the handling of template-args-cont, particularly for when font
21196 lock is disabled. Name this case as "CASE G".
21197
21198 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21199
21200 * allout.el (allout-yank-processing): Fix injection of extra space
21201 between bullet and non-whitespace character in first topic when
21202 pasting, ensuring that the actual spacing in the pasted topic
21203 following the bullet char is preserved. This extra space was
21204 causing pasted encrypted topics to get a decrypted status even
21205 when the content was actually still encrypted. Now the decryption
21206 status from before the paste is preserved.
21207
21208 (allout-flag-region): Set all allout overlays so they evaporate
21209 when reduced to zero length (evanescent), to prevent overlay
21210 leakage.
21211
21212 2011-06-30 Glenn Morris <rgm@gnu.org>
21213
21214 * w32-fns.el (w32-charset-info-alist): Declare.
21215
21216 * find-dired.el (find-grep-options): Simplify.
21217
21218 * term/ns-win.el (ns-set-resource): Declare.
21219
21220 * ses.el (row, col): Declare dynamic variables honestly.
21221
21222 * textmodes/reftex-parse.el (index-tags): Declare.
21223
21224 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21225
21226 * cus-edit.el (customize-push-and-save): New function.
21227
21228 * files.el (hack-local-variables-confirm): Use it.
21229
21230 * custom.el (load-theme): New arg NO-CONFIRM.
21231 Use customize-push-and-save (Bug#8720).
21232 (custom-enabled-themes): Doc fix.
21233
21234 * cus-theme.el (customize-create-theme)
21235 (custom-theme-merge-theme): Callers to load-theme changed.
21236
21237 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21238
21239 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21240 short URLs have at least one dot in them (bug #7614).
21241
21242 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21243 nil, because using a pty is apparently too slow (bug #895).
21244
21245 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21246
21247 * mail/sendmail.el (sendmail-query-once): New function.
21248 (sendmail-query-once-function): New variable.
21249
21250 2011-06-29 Glenn Morris <rgm@gnu.org>
21251
21252 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21253
21254 * ses.el (top-level): Require cl when compiling.
21255 (ses-set-localvars): Fix error statement.
21256 Call it at compile time to silence a storm of warnings.
21257
21258 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21259
21260 * window.el (normalize-live-buffer): Rename to
21261 window-normalize-buffer.
21262 (normalize-live-frame): Rename to window-normalize-frame.
21263 (normalize-any-window): Rename to window-normalize-any-window.
21264 (normalize-live-window): Rename to window-normalize-live-window.
21265 (make-window-atom): Rename to window-make-atom.
21266 (window-resize-reset): Rename to window--resize-reset.
21267 (window-resize-reset-1): Rename to window--resize-reset-1.
21268 (resize-mini-window): Rename to window--resize-mini-window.
21269 (resize-subwindows-skip-p): Rename to
21270 window--resize-subwindows-skip-p.
21271 (resize-subwindows-normal): Rename to
21272 window--resize-subwindows-normal.
21273 (resize-subwindows): Rename to window--resize-subwindows.
21274 (resize-other-windows): Rename to window--resize-siblings.
21275 (resize-this-window): Rename to window--resize-this-window.
21276 (resize-root-window): Rename to window--resize-root-window.
21277 (resize-root-window-vertically): Rename to
21278 window--resize-root-window-vertically.
21279 (normalize-buffer-to-display): Rename to
21280 window-normalize-buffer-to-display.
21281 (normalize-buffer-to-switch-to): Rename to
21282 window-normalize-buffer-to-switch-to.
21283 Correspondingly update all callers of the functions listed
21284 above.
21285 (display-buffer-alist, display-buffer-normalize-arguments)
21286 (display-buffer-normalize-options, display-buffer)
21287 (display-buffer-alist-set): Use "function" instead of
21288 "fun-with-args".
21289
21290 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21291
21292 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21293 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21294 debbugs.gnu.org. Mention acknowledgment email.
21295
21296 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21297
21298 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21299 buffer multibyteness, since it shouldn't matter.
21300
21301 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21302
21303 * window.el (display-buffer-in-side-window): Handle dedicated
21304 windows as in display-buffer-reuse-window.
21305 (display-buffer-normalize-alist): Use value of override
21306 specifier.
21307 (display-buffer-normalize-specifiers): Use value of
21308 other-window-means-other-frame specifier.
21309 (display-buffer-alist): Rewrite some texts in widgets.
21310 (display-buffer): Spread arguments when calling function
21311 specified by fun-with-args.
21312
21313 2011-06-28 Deniz Dogan <deniz@dogan.se>
21314
21315 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21316 Unnest `let'.
21317
21318 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21319 selectors (Bug#5732).
21320 (css-proprietary-nmstart-re): Use `regexp-opt'.
21321
21322 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21323
21324 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21325 (eshell-ls-date-format): New defcustom.
21326 (eshell-ls-file): Use it.
21327
21328 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21329
21330 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21331
21332 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21333
21334 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21335 (ange-ftp-make-tmp-name): New arg.
21336 (ange-ftp-file-local-copy): Use it.
21337
21338 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21339
21340 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21341 no-conversion (Bug#8870).
21342
21343 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21344
21345 * window.el (window-right, window-left, window-child)
21346 (window-child-count, window-last-child)
21347 (window-iso-combination-p, walk-window-tree-1)
21348 (window-atom-check-1, window-tree-1, delete-window)
21349 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21350 new naming conventions - window-vchild, window-hchild,
21351 window-next and window-prev are now called window-top-child,
21352 window-left-child, window-next-sibling and window-prev-sibling
21353 respectively.
21354 (resize-window-reset): Rename to window-resize-reset.
21355 (resize-window-reset-1): Rename to window-resize-reset-1.
21356 (resize-window): Rename to window-resize.
21357 (window-min-height, window-min-width)
21358 (resize-mini-window, resize-this-window, resize-root-window)
21359 (resize-root-window-vertically, adjust-window-trailing-edge)
21360 (enlarge-window, shrink-window, maximize-window)
21361 (minimize-window, delete-window, quit-restore-window)
21362 (split-window, balance-windows, balance-windows-area-adjust)
21363 (balance-windows-area, window-state-put-2)
21364 (display-buffer-even-window-sizes, display-buffer-set-height)
21365 (display-buffer-set-width, set-window-text-height)
21366 (fit-window-to-buffer): Rename all "resize-window" prefixed
21367 calls to use the "window-resize" prefix convention.
21368 (display-buffer-alist): Fix symbol for label specifier.
21369 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21370 corresponding specifier.
21371 Reported by Juanma Barranquero <lekktu@gmail.com>.
21372
21373 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21374
21375 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21376 convention.
21377 (ses-call-printer): Does not pass an empty string to formatter when the
21378 cell is empty to keep from barking printer Calc math-format-value.
21379
21380 2011-06-27 Richard Stallman <rms@gnu.org>
21381
21382 * battery.el (battery-mode-line-limit): New variable.
21383 (battery-update): Handle it.
21384
21385 * mail/rmailmm.el (rmail-mime-process-multipart):
21386 Handle truncated messages.
21387
21388 2011-06-27 Glenn Morris <rgm@gnu.org>
21389
21390 * progmodes/flymake.el (flymake-err-line-patterns):
21391 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21392
21393 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21394
21395 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21396 (ses--clean-!, ses--clean-_): New functions.
21397 (ses-range): Add configurability of readout order, and conversion
21398 to Calc vector.
21399
21400 * ses.el (ses-repair-cell-reference-all): New function.
21401 (ses-cell-symbol): Set macro as safe, so that it can be used in
21402 formulas.
21403
21404 * ses.el: Update cycle detection algorithm.
21405 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21406 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21407 (ses-set-localvars): New function.
21408 (ses-make-cell): Add property-list as a cell element.
21409 (ses-cell-property-get-fun, ses-cell-property-get)
21410 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21411 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21412 New functions.
21413 (ses-cell-property-set, ses-cell-property-pop)
21414 (ses-cell-property-get-handle): New macro.
21415 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21416 New aliases, used for code readability.
21417 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21418 cycle detection.
21419 (ses-self-reference-early-detection): New defcustom.
21420 (ses-formula-references): Robustify against self-referring cells.
21421 (ses-mode): Use ses-set-localvars.
21422 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21423 before lauching the update processing.
21424 (ses-initialize-Dijkstra-attempt): New function.
21425 (ses-recalculate-cell): Update for cycle detection based on
21426 Dijkstra algorithm.
21427
21428 * ses.el: Fix commenting and indenting convention.
21429
21430 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21431
21432 * bs.el (bs-cycle-next): Complete last change.
21433
21434 2011-06-27 Drew Adams <drew.adams@oracle.com>
21435
21436 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21437
21438 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21439
21440 * net/network-stream.el (network-stream-open-starttls):
21441 Don't re-get capabilities unless we've reestablished connection.
21442 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21443
21444 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21445 to binary to possibly avoid line encoding issues on Windows (among
21446 other things).
21447
21448 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21449
21450 * net/network-stream.el (open-network-stream): Return an :error
21451 saying what the problem was, if possible.
21452
21453 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21454 server.
21455
21456 * net/network-stream.el (network-stream-open-starttls): If we
21457 wanted to use STARTTLS, and the server offered it, but we weren't
21458 able to because we had no STARTTLS support, then close the connection.
21459 (open-network-stream): Return an :error element, if present.
21460
21461 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21462
21463 * hl-line.el (hl-line-sticky-flag): Doc fix.
21464 (global-hl-line-sticky-flag): New option (Bug#8323).
21465 (global-hl-line-highlight): Obey it.
21466
21467 * vc/vc.el (vc-revert-show-diff): Default to t.
21468
21469 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21470
21471 * allout-widgets.el (allout-widgets-post-command-business):
21472 Stop decorating intermediate isearch matches. They're not being
21473 undecorated when an isearch is continued past, and isearch
21474 automatically collapses them. This leads to "widget leaks", where
21475 decorated items accumulate in collapsed areas. Lines with lots of
21476 hidden widgets can slow down cursor travel, substantially.
21477 Too much complicated machinery would be needed to ensure undecoration,
21478 so we're doing without this nicety.
21479
21480 (allout-widgets-tally-string): Don't try to do a hash-table-count
21481 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21482 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21483 *Messages* when allout-widgets-maintain-tally is t.
21484
21485 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21486
21487 * window.el (display-buffer-normalize-argument): Rename to
21488 display-buffer-normalize-arguments. Handle special meaning of
21489 LABEL argument. Respect special-display-function when popping up
21490 a new frame. Fix code searching for a window showing the buffer
21491 on another frame.
21492 (display-buffer-normalize-specifiers):
21493 Call display-buffer-normalize-arguments.
21494 (display-buffer-in-window): Don't undedicate the window if its
21495 buffer remains the same.
21496 Reported by Drew Adams <drew.adams@oracle.com>.
21497 (display-buffer-alist): Add choice for same-window macro
21498 specfier.
21499 (display-buffer): Mention special meaning of LABEL argument in
21500 doc-string. Fix quoting. Don't pop up a new frame even as
21501 fallback.
21502
21503 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21504
21505 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21506 avoid deleting the current window in some cases (bug#8911).
21507
21508 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21509
21510 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21511 (Bug#8934)
21512
21513 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21514
21515 * net/network-stream.el (network-stream-open-starttls):
21516 Use built-in TLS support if `gnutls-available-p' is true.
21517 (network-stream-open-tls): Ditto.
21518
21519 2011-06-26 Leo Liu <sdl.web@gmail.com>
21520
21521 * register.el (registerv): New struct.
21522 (registerv-make): New function.
21523 (jump-to-register, describe-register-1, insert-register):
21524 Support the jump-func, print-func and insert-func slot of a registerv
21525 struct. (Bug#8415)
21526
21527 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21528
21529 * vc/vc.el (vc-revert-show-diff): New defcustom.
21530 (vc-diff-internal): New arg specifying diff buffer.
21531 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21532 reuse an existing *vc-diff* buffer (Bug#8927).
21533
21534 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21535
21536 2011-06-26 Glenn Morris <rgm@gnu.org>
21537
21538 * progmodes/f90.el (f90-critical-indent): New option.
21539 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21540 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21541 (f90-mode): Doc fix.
21542 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21543 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21544 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21545 (f90-match-end): Handle block, critical.
21546
21547 2011-06-25 Glenn Morris <rgm@gnu.org>
21548
21549 * calendar/diary-lib.el (diary-included-files): Doc fix.
21550 (diary-include-files): New function, extracted from
21551 diary-include-other-diary-files and diary-mark-included-diary-files.
21552 (diary-include-other-diary-files, diary-mark-included-diary-files):
21553 Just call diary-include-files.
21554 (diary-mark-entries): Reset diary-included-files on first call.
21555
21556 * calendar/diary-lib.el (diary-mark-entries)
21557 (diary-mark-included-diary-files):
21558 Visit included diary-files in temp buffers.
21559
21560 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21561 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21562 (f90-start-block-re, f90-imenu-generic-expression)
21563 (f90-looking-at-program-block-start, f90-no-block-limit):
21564 Add support for submodules.
21565
21566 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21567 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21568
21569 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21570
21571 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21572 buffer-file-type before setting its value, to avoid disastrous
21573 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21574
21575 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21576
21577 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21578
21579 * ses.el (ses-unload-function):
21580 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21581
21582 * proced.el (proced-unload-function):
21583 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21584
21585 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21586
21587 * server.el (server-create-window-system-frame): Add parameters arg.
21588 (server-process-filter): Doc fix. Handle frame-parameters.
21589
21590 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21591
21592 Fix bug#8730, bug#8781.
21593
21594 * loadhist.el (unload--set-major-mode): New function.
21595 (unload-feature): Use it.
21596
21597 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21598 (python-unload-function): New function.
21599
21600 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21601
21602 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21603
21604 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21605
21606 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21607 the candidates list.
21608
21609 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21610
21611 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21612
21613 2011-06-23 Richard Stallman <rms@gnu.org>
21614
21615 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21616 (rmail-variables): Set next-error-move-function.
21617 (rmail-what-message): Take argument POS.
21618 (rmail-next-error-move): New function.
21619
21620 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21621
21622 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21623 messages for adjacent non-terminals.
21624
21625 2011-06-23 Richard Stallman <rms@gnu.org>
21626
21627 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21628 (rmail-show-message-1): Preserve buffer modified flag.
21629 (rmail-start-mail): Don't specify use of rmail-mail-return;
21630 that's done by mail-bury now.
21631 (rmail-mail-return): Handle arg NEWBUF.
21632
21633 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21634
21635 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21636 SIZE is a number.
21637
21638 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21639
21640 * window.el (get-lru-window, get-mru-window)
21641 (get-largest-window): Never return a minibuffer window.
21642 (display-buffer-pop-up-window): Fix a bug that could lead to
21643 reusing the minibuffer window.
21644 (display-buffer): Pass original specifier argument to
21645 display-buffer-function instead of the normalized one.
21646 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21647
21648 2011-06-22 Leo Liu <sdl.web@gmail.com>
21649
21650 * minibuffer.el (completing-read-function)
21651 (completing-read-default): Move from minibuf.c.
21652
21653 2011-06-22 Richard Stallman <rms@gnu.org>
21654
21655 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21656 to Rmail even if not started by a special Rmail command.
21657
21658 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21659 Copy the buffer currently showing just one message.
21660
21661 2011-06-22 Roland Winkler <winkler@gnu.org>
21662
21663 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21664 (bibtex-clean-entry): First delete the old key so that a
21665 customized algorithm for generating the new key does not get
21666 confused by the old key.
21667 (bibtex-url): Obey regexp of first step.
21668 (bibtex-search-entries): Do not use add-to-list with local
21669 list-var.
21670
21671 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21672
21673 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21674 stored a user name, then query for the password first, instead of
21675 waiting for SMTP to give an error message and the trying again.
21676
21677 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21678
21679 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21680 BUFFER in call-process.
21681
21682 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21683
21684 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21685 QUIT twice.
21686 (smtpmail-try-auth-methods): Require user name and password from
21687 auth-source.
21688
21689 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21690
21691 * window.el (display-buffer-default-specifiers)
21692 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21693 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21694 (split-window): Normalize SIDE argument (Bug#8916).
21695
21696 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21697 (special-display-frame-alist, special-display-popup-frame):
21698 Remove duplicate declarations. These are now in window.el.
21699
21700 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21701
21702 * mail/smtpmail.el (smtpmail-via-smtp):
21703 Set :use-starttls-if-possible so that we always use STARTTLS if the
21704 server supports it. SMTP servers that support STARTTLS commonly
21705 require it.
21706
21707 * net/network-stream.el (network-stream-open-starttls): Support
21708 upgrading to STARTTLS always, even if we don't have built-in support.
21709 (open-network-stream): Add the :always-query-capabilities keyword.
21710
21711 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21712 upgrades with `open-network-stream', and rely solely on
21713 auth-source for all credentials. Big changes throughout the file,
21714 but in particular:
21715 (smtpmail-auth-credentials): Remove.
21716 (smtpmail-starttls-credentials): Remove.
21717 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21718 MAIL FROM, too.
21719
21720 * net/network-stream.el (network-stream-open-starttls):
21721 Provide support for client certificates both for external and built-in
21722 STARTTLS.
21723 (auth-source): Require.
21724 (open-network-stream): Document the :client-certificate keyword.
21725 (network-stream-certificate): Change cert-cert to cert and
21726 cert-key to key.
21727
21728 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21729
21730 * net/tramp-cache.el (top): Don't load the persistency file when
21731 "emacs -Q" has been called.
21732
21733 2011-06-21 Tim Harper <timcharper@gmail.com>
21734
21735 * term/ns-win.el (ns-initialize-window-system):
21736 Set application-specific `ApplePressAndHoldEnabled' system
21737 resource to NO as it is not yet supported by the NS port.
21738
21739 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21740
21741 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21742 (list-dynamic-libraries): ...not here.
21743
21744 2011-06-21 Leo Liu <sdl.web@gmail.com>
21745
21746 * subr.el (sha1): Implement sha1 using secure-hash.
21747
21748 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21749
21750 * window.el (display-buffer-alist): In default value do not
21751 enforce searching a window on any but the selected frame.
21752 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21753 (display-buffer-select-window): Remove function.
21754 (display-buffer-in-window): When a window on another frame gets
21755 reused, do not select it any more but just raise its frame if
21756 necessary (Bug#8851) and (Bug#8856).
21757 (display-buffer-normalize-options): Handle pop-up-frames related
21758 options more faithfully.
21759 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21760 window if it is on another frame.
21761 (display-buffer-alist, display-buffer-default-specifiers):
21762 Don't make new frame unsplittable by default.
21763 (display-buffer-normalize-argument): Fix doc-string typo and use
21764 'same-frame-other-window instead of 'other-window when associating
21765 with display-buffer-macro-specifiers.
21766
21767 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21768
21769 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21770 New functions.
21771 (5x5-mode-map, 5x5-mode-menu): Bind them.
21772 (5x5-draw-grid): Tweak the solver's rendering.
21773
21774 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21775
21776 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21777 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21778
21779 2011-06-21 Drew Adams <drew.adams@oracle.com>
21780
21781 * menu-bar.el: Use function variable instead of switch-to-buffer.
21782 (menu-bar-select-buffer-function): New variable.
21783 (menu-bar-update-buffers): Use it (bug#8876).
21784
21785 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21786
21787 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21788 variable's status.
21789
21790 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21791
21792 * x-dnd.el (x-dnd-version-from-flags)
21793 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21794 and long as number (Bug#8899).
21795 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21796
21797 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21798
21799 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21800 (completion-try-completion, completion-all-completions): Compute the
21801 metadata argument if it's missing; make it optional (bug#8795).
21802
21803 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21804 (widget-complete): Use new :completion-function property.
21805 (widget-completions-at-point): New function.
21806 (default): Use :completion-function instead of :complete.
21807 (widget-default-completions): Rename from widget-default-complete;
21808 Rewrite.
21809 (widget-string-complete, widget-file-complete, widget-color-complete):
21810 Remove functions.
21811 (file, symbol, function, variable, coding-system, color):
21812 * international/mule-cmds.el (default-input-method, charset)
21813 (language-info-custom-alist):
21814 * cus-edit.el (face): Use new property :completions.
21815
21816 * progmodes/pascal.el (pascal-completions-at-point): New function.
21817 (pascal-mode): Use it.
21818 (pascal-mode-map): Use completion-at-point.
21819 (pascal-toggle-completions): Make obsolete.
21820 (pascal-complete-word, pascal-show-completions):
21821 * progmodes/octave-mod.el (octave-complete-symbol):
21822 Redefine as obsolete alias.
21823 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21824 Signal absence of completion info for old Octave,
21825 (inferior-octave-complete): Redefine as obsolete alias.
21826 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21827 (meta-completions-at-point): Rename from meta-complete-symbol and
21828 adapt it for use on completion-at-point-functions.
21829 (meta-common-mode): Use it.
21830 (meta-looking-at-backward, meta-match-buffer): Remove.
21831 (meta-complete-symbol): Redefine as obsolete alias.
21832 (meta-common-mode-map): Use completion-at-point.
21833 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21834 (makefile-mode-map): Use completion-at-point.
21835 (makefile-completions-at-point): Rename from makefile-complete and
21836 adapt it for use on completion-at-point-functions.
21837 (makefile-mode): Use it.
21838 (makefile-complete): Redefine as obsolete alias.
21839
21840 2011-06-20 Deniz Dogan <deniz@dogan.se>
21841
21842 * net/rcirc.el: Delete trailing whitespaces once and for all.
21843
21844 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21845
21846 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21847
21848 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21849
21850 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21851
21852 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21853
21854 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21855
21856 * window.el (display-buffer-other-window-means-other-frame):
21857 Call display-buffer-normalize-alist.
21858 (display-buffer-normalize-specifiers-1): Rename to
21859 display-buffer-normalize-argument. New argument other-frame.
21860 Rewrite.
21861 (display-buffer-normalize-specifiers-2): Rename to
21862 display-buffer-normalize-options.
21863 (display-buffer-normalize-alist-1): New function.
21864 (display-buffer-normalize-specifiers-3): Rename to
21865 display-buffer-normalize-alist.
21866 Call display-buffer-normalize-alist-1.
21867 (display-buffer-normalize-options-inhibit): New variable.
21868 (display-buffer-normalize-specifiers): Rewrite calling
21869 display-buffer-normalize-alist,
21870 display-buffer-normalize-argument, and
21871 display-buffer-normalize-options. Don't call the latter if
21872 display-buffer-normalize-options-inhibit is non-nil.
21873 (frame-auto-delete): New option.
21874 (window-deletable-p): Use frame-auto-delete.
21875 (window-list-no-nils, window-state-ignored-parameters)
21876 (window-state-get-1, window-state-get, window-state-put-list)
21877 (window-state-put-1, window-state-put-2, window-state-put):
21878 New functions.
21879 (display-buffer-normalize-options): Move special-display-p group
21880 after pop-up-frame group (Bug#8851) and (Bug#8856).
21881
21882 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21883
21884 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21885 groups (Bug#8776).
21886 (rx-submatch-n): New function.
21887 (rx): Document it.
21888
21889 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21890 (Bug#8768).
21891
21892 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21893
21894 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21895
21896 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21897 anytime existing face settings are present (Bug#8889).
21898
21899 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21900 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21901 Remove unused argument.
21902
21903 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21904
21905 * window.el (display-buffer-default-specifiers):
21906 Remove pop-up-frame. Add pop-up-window-min-height,
21907 pop-up-window-min-width, and another reuse-window specifier
21908 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21909 (display-buffer-normalize-specifiers-2):
21910 Handle split-height-threshold and split-width-threshold also when
21911 pop-up-windows is unset. Add a reuse-window specifier for the
21912 case popping up a new window fails.
21913 (special-display-popup-frame): Remove double quoting.
21914 (display-buffer-normalize-specifiers-1): Fix thinko.
21915
21916 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21917
21918 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21919 according to comint-completion-addsuffix.
21920
21921 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21922 (pcomplete-suffix-list): Mark as obsolete.
21923 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21924 pcomplete-seen in the closure.
21925 (pcomplete-comint-setup): Setup completion-at-point as well.
21926 (pcomplete--entries): New function.
21927 (pcomplete--env-regexp): New var.
21928 (pcomplete-entries): Rewrite to work with partial-completion and
21929 without relying on pcomplete-suffix-list.
21930 (pcomplete-pare-list): Remove, unused.
21931
21932 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21933
21934 * window.el (display-buffer-alist): Set pop-up-window-min-height
21935 and pop-up-window-min-width in default value. Reported by
21936 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21937 other-window-means-other-frame.
21938 (display-buffer-macro-specifiers): Comment out entry for
21939 other-window specifier.
21940 (display-buffer-other-window-means-other-frame): New function.
21941 (display-buffer-normalize-specifiers-1): New arguments
21942 buffer-name and label. Treat other-window case specially.
21943 (display-buffer-normalize-specifiers-2): Treat other-window case
21944 specially.
21945 (display-buffer-normalize-specifiers-3): New function.
21946 (display-buffer-normalize-specifiers):
21947 Call display-buffer-normalize-specifiers-3.
21948
21949 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21950
21951 * window.el (same-window-p): Fix two typos introduced when
21952 adding with-no-warnings.
21953 (display-buffer-normalize-specifiers-1): Don't check
21954 pop-up-frames for 'unset initialization.
21955 (display-buffer-normalize-specifiers-2): Major rewrite using
21956 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21957 (pop-up-frames, display-buffer-reuse-frames)
21958 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21959 Suggested by David Engster <deng@randomsample.de>.
21960 (even-window-heights): Initialize to 'unset.
21961 (display-buffer-alist-set): Handle new 'unset initializations.
21962 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21963 other window case.
21964
21965 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21966
21967 * window.el (display-buffer-normalize-specifiers-1):
21968 Respect current value of pop-up-frames for most reasonable values of
21969 second argument of display-buffer (Bug#8865).
21970 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21971 (switch-to-buffer-other-window-same-frame)
21972 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21973 Adams (Bug#8875).
21974 (display-buffer): Don't check noninteractive when calling
21975 display-buffer-pop-up-frame.
21976 (display-buffer-pop-up-frame): Never pop up a frame in
21977 noninteractive mode (Bug#8857).
21978 (enlarge-window, shrink-window): Don't report an error when the
21979 window can't be resized as requested (Bug#8862).
21980
21981 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21982
21983 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21984
21985 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21986
21987 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21988
21989 2011-06-15 Alan Mackenzie <acm@muc.de>
21990
21991 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21992 for declarators, disable knr checking to speed up for normal files.
21993 2: Refactor, replacing a sequence of nested if forms by a cond form.
21994
21995 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21996
21997 * net/network-stream.el (open-network-stream): Add the keyword
21998 :always-query-capabilities for the case where you want to force a
21999 `plain' network connection, but the protocol still requires the
22000 capabilitiy command (i.e., SMTP and EHLO).
22001
22002 * subr.el (process-live-p): Rename from `process-alive-p' for
22003 consistency with other `-live-p' functions.
22004
22005 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22006
22007 * window.el (same-window-buffer-names, same-window-regexps)
22008 (special-display-frame-alist, special-display-popup-frame)
22009 (special-display-function, special-display-buffer-names)
22010 (special-display-regexps, pop-up-frame-alist)
22011 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22012 (pop-up-windows, split-window-preferred-function)
22013 (split-height-threshold, split-width-threshold, even-window-heights)
22014 (display-buffer-mark-dedicated): Don't encourage the use of
22015 display-buffer-alist from Elisp code.
22016
22017 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22018
22019 * progmodes/python.el (python-mode): Derive from prog-mode.
22020 * progmodes/ps-mode.el (ps-mode):
22021 * progmodes/mixal-mode.el (mixal-mode):
22022 * progmodes/cfengine.el (cfengine-mode):
22023 * progmodes/ld-script.el (ld-script-mode): Likewise.
22024
22025 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22026
22027 * window.el (display-buffer-alist): Trim default value to avoid
22028 popping up a new frame (Bug#8857) or reusing an arbitrary window
22029 on another frame.
22030 (display-buffer): Do not fall back on popping up a new frame in
22031 batch mode (Bug#8857).
22032
22033 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22034
22035 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22036 (custom-theme-summary): New function.
22037 (customize-themes): Use it.
22038
22039 2011-06-13 Glenn Morris <rgm@gnu.org>
22040
22041 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22042
22043 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22044
22045 * help.el (help-window): Remove variable.
22046 (help-window-point-marker, temp-buffer-max-height)
22047 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22048 (help-print-return-message): Don't set help-window.
22049 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22050 (help-window-setup-finish): Remove.
22051 (help-window-display-message, help-window-setup)
22052 (with-help-window): Major rewrite based on new
22053 display-buffer-window variable.
22054
22055 * help-mode.el (help-mode-finish): Remove help-window related
22056 code.
22057
22058 * view.el (view-exits-all-viewing-windows): Remove reference to
22059 view-return-to-alist in doc-string.
22060 (view-return-to-alist): Make obsolete.
22061 (view-buffer): Call pop-to-buffer-same-window and remove
22062 undo-window code.
22063 (view-buffer-other-window): Call pop-to-buffer-other-window and
22064 simplify code. Ignore second argument.
22065 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22066 simplify code. Ignore second argument.
22067 (view-return-to-alist-update): Make obsolete.
22068 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22069 Rewrite using quit-restore window parameters.
22070 (view-mode-exit): Rename second argument to EXIT-ONLY.
22071 Rewrite using quit-restore-window.
22072 (View-exit, View-exit-and-edit, View-leave, View-quit)
22073 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22074 appropriate arguments.
22075 (view-end-message): Use quit-restore window parameter.
22076
22077 * window.el (display-buffer-function): Rewrite doc-string.
22078 (display-buffer-window, display-buffer-alist): New variables.
22079 (display-buffer-split-specifiers)
22080 (display-buffer-side-specifiers)
22081 (display-buffer-macro-specifiers): New constants.
22082 (display-buffer-even-window-sizes, display-buffer-set-height)
22083 (display-buffer-set-width, display-buffer-select-window)
22084 (display-buffer-in-window, display-buffer-reuse-window)
22085 (display-buffer-split-window-1, display-buffer-split-window)
22086 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22087 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22088 (display-buffer-in-side-window, normalize-buffer-to-display)
22089 (display-buffer-normalize-specifiers-1)
22090 (display-buffer-normalize-specifiers-2)
22091 (display-buffer-normalize-specifiers, display-buffer-frame):
22092 New functions.
22093 (display-buffer): Major rewrite.
22094 (display-buffer-other-window, display-buffer-other-frame)
22095 (pop-to-buffer, switch-to-buffer-other-window)
22096 (switch-to-buffer-other-frame): Rewrite.
22097 (display-buffer-same-window, display-buffer-same-frame)
22098 (display-buffer-same-frame-other-window)
22099 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22100 (pop-to-buffer-other-window)
22101 (pop-to-buffer-same-frame-other-window)
22102 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22103 (switch-to-buffer-other-window-same-frame): New functions.
22104 (same-window-p, special-display-p): Rewrite disabling warnings.
22105 Make obsolete.
22106 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22107 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22108 Make obsolete
22109 (same-window-buffer-names, same-window-regexps)
22110 (special-display-frame-alist, special-display-popup-frame)
22111 (special-display-function, special-display-buffer-names)
22112 (special-display-regexps, pop-up-frame-alist)
22113 (pop-up-frame-function, split-window-preferred-function)
22114 (split-height-threshold, split-width-threshold)
22115 (even-window-heights): Make obsolete.
22116
22117 2011-06-12 Glenn Morris <rgm@gnu.org>
22118
22119 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22120 Misc simplifications.
22121
22122 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22123
22124 * window.el (window-safely-shrinkable-p): Restore function which
22125 was inadvertently removed in change from 2011-06-11. Declare as
22126 obsolete.
22127
22128 * calendar/calendar.el (calendar-generate-window):
22129 Use window-iso-combined-p instead of combination of one-window-p and
22130 window-safely-shrinkable-p.
22131
22132 2011-06-12 Glenn Morris <rgm@gnu.org>
22133
22134 * progmodes/fortran.el (fortran-mode-syntax-table):
22135 * progmodes/f90.el (f90-mode-syntax-table):
22136 Set % to punctuation. (Bug#8820)
22137 (f90-find-tag-default): Remove, no longer needed.
22138
22139 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22140
22141 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22142
22143 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22144
22145 * image.el (image-animated-p): Return animation delay in seconds.
22146 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22147 (image-animate-timeout): Remove DELAY argument. Don't assume
22148 every subimage has the same delay; get it from image-animated-p.
22149 (image-animate): Caller changed.
22150
22151 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22152
22153 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22154 to ignored backtrace functions.
22155
22156 2011-06-11 Glenn Morris <rgm@gnu.org>
22157
22158 * calendar/appt.el (appt-disp-window-function): Doc fix.
22159 (appt-check): Handle overlapping appointments. (Bug#8337)
22160
22161 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22162
22163 * window.el (window-tree-1, window-tree): New functions, moving
22164 the latter to window.el.
22165 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22166 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22167 (bw-refresh-edges): Remove.
22168 (balance-windows-1, balance-windows-2): New functions.
22169 (balance-windows): Rewrite in terms of window tree functions,
22170 balance-windows-1 and balance-windows-2.
22171 (bw-adjust-window): Remove.
22172 (balance-windows-area-adjust): New function with functionality of
22173 bw-adjust-window but using resize-window.
22174 (set-window-text-height): Rewrite doc-string.
22175 Use normalize-live-window and resize-window.
22176 (enlarge-window-horizontally, shrink-window-horizontally):
22177 Rename argument to DELTA.
22178 (window-buffer-height): New function.
22179 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22180 Rewrite using new window resize routines.
22181 (kill-buffer-and-window, mouse-autoselect-window-select):
22182 Use ignore-errors instead of condition-case.
22183 (quit-window): Call delete-frame instead of delete-windows-on
22184 for the only buffer on frame.
22185
22186 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22187
22188 * loadup.el (top-level): Load window before files for the sake
22189 of replace-buffer-in-windows.
22190
22191 * files.el (read-buffer-to-switch)
22192 (switch-to-buffer-other-window)
22193 (switch-to-buffer-other-frame, display-buffer-other-frame):
22194 Move to window.el.
22195
22196 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22197 (previous-buffer): Move to window.el.
22198
22199 * bindings.el (unbury-buffer): Move to window.el.
22200
22201 * window.el (delete-other-windows-vertically): Move after
22202 definition of delete-other-windows.
22203 (other-window, delete-windows-on, replace-buffer-in-windows):
22204 Move here from window.c.
22205 (record-window-buffer, unrecord-window-buffer)
22206 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22207 (switch-to-next-buffer): New functions.
22208 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22209 from simple.el. Call switch-to-next-buffer.
22210 (previous-buffer): Move here from simple.el.
22211 Call switch-to-prev-buffer.
22212 (bury-buffer): Move here from buffer.c. Switch to previous
22213 buffer when window cannot be deleted.
22214 (unbury-buffer): Move here from bindings.el.
22215 (ctl-x-map): Move binding for other-window from window.c to
22216 here.
22217 (read-buffer-to-switch, switch-to-buffer-other-window)
22218 (switch-to-buffer-other-frame): Move here from files.el.
22219 (normalize-buffer-to-switch-to): New functions.
22220 (switch-to-buffer): Move here from buffer.c.
22221 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22222
22223 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22224
22225 * window.el (window-min-height, window-min-width): Move here
22226 from window.c. Add defcustoms and rewrite doc-strings.
22227 (resize-mini-window, resize-window): New functions.
22228 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22229 Move here from window.c.
22230 (maximize-window, minimize-window): New functions.
22231 (delete-window, delete-other-windows, split-window): Move here
22232 from window.c.
22233 (window-split-min-size): New function.
22234 (split-window-keep-point): Mention split-window-above-each-other
22235 instead of split-window-vertically.
22236 (split-window-above-each-other, split-window-vertically):
22237 Rename split-window-vertically to split-window-above-each-other
22238 and provide defalias for old definition.
22239 (split-window-side-by-side, split-window-horizontally):
22240 Rename split-window-horizontally to split-window-side-by-side
22241 and provide defalias for the old definition.
22242 (ctl-x-map): Move bindings for delete-window,
22243 delete-other-windows and enlarge-window here from window.c.
22244 Replace bindings for split-window-vertically and
22245 split-window-horizontally by bindings for
22246 split-window-above-each-other and split-window-side-by-side.
22247
22248 * cus-start.el (all): Remove entries for window-min-height and
22249 window-min-width. Add entries for window-splits and
22250 window-nest.
22251
22252 2011-06-09 Glenn Morris <rgm@gnu.org>
22253
22254 * calendar/appt.el (appt-mode-line): New function.
22255 (appt-check, appt-disp-window): Use it.
22256
22257 * files.el (hack-one-local-variable-eval-safep):
22258 Allow minor-modes with explicit +/-1 arguments.
22259
22260 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22261
22262 * term/xterm.el (xterm): Add defgroup.
22263 (xterm-extra-capabilities): Add defcustom to supply known xterm
22264 capabilities, skip querying them, or query them (default).
22265 (terminal-init-xterm): Use it.
22266 (terminal-init-xterm-modify-other-keys): New function to set up
22267 modifyOtherKeys support to simplify `terminal-init-xterm'.
22268
22269 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22270
22271 * window.el (resize-window-reset, resize-window-reset-1)
22272 (resize-subwindows-skip-p, resize-subwindows-normal)
22273 (resize-subwindows, resize-other-windows, resize-this-window)
22274 (resize-root-window, resize-root-window-vertically)
22275 (window-deletable-p, window-or-subwindow-p)
22276 (frame-root-window-p): New functions.
22277
22278 2011-06-09 Glenn Morris <rgm@gnu.org>
22279
22280 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22281 (ange-ftp-get-files): Use it.
22282
22283 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22284
22285 * mail/sendmail.el (mail-recover-1, mail-recover):
22286 * files.el (recover-file, recover-session):
22287 Handle dired-listing-switches not being just a single short option.
22288
22289 2011-06-09 Glenn Morris <rgm@gnu.org>
22290
22291 * calendar/appt.el (appt-display-message, appt-disp-window):
22292 Handle lists of appointments.
22293
22294 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22295
22296 * window.el (one-window-p): Move down in code.
22297 Rewrite doc-string.
22298 (window-current-scroll-bars): Rewrite doc-string.
22299 Normalize live window argument.
22300 (walk-windows, get-window-with-predicate, count-windows):
22301 Rewrite doc-string. Use window-list-1.
22302 (window-in-direction-2, window-in-direction, get-mru-window):
22303 New functions.
22304
22305 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22306
22307 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22308 Doc fix (Bug#8713).
22309
22310 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22311
22312 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22313
22314 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22315
22316 * loadhist.el (unload-feature-special-hooks):
22317 Add `comint-output-filter-functions'.
22318
22319 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22320
22321 * calendar/appt.el (appt-check): Move some initializations into the let.
22322
22323 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22324
22325 * window.el (window-height): Defalias to window-total-height.
22326 (window-width): Defalias to window-body-width.
22327
22328 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22329
22330 * image-mode.el (image-toggle-animation): New command.
22331 (image-mode-map): Bind it to RET.
22332 (image-mode): Update message.
22333 (image-toggle-display-image): Avoid a spurious cache flush.
22334 (image-transform-rotation): Doc fix.
22335 (image-transform-properties): Return quickly in the normal case.
22336 (image-animate-loop): Rename from image-animate-max-time.
22337
22338 * image.el (image-animate-max-time): Move to image-mode.el.
22339 (create-animated-image): Remove unnecessary function.
22340 (image-animate): Rename from image-animate-start. New arg.
22341 (image-animate-stop): Remove; just use image-animate-timer.
22342 (image-animate-timer): Use car-safe.
22343 (image-animate-timeout): Rename argument.
22344
22345 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22346
22347 * window.el (get-lru-window, get-largest-window): Move here from
22348 window.c. Rename first argument to ALL-FRAMES.
22349 Rephrase doc-strings.
22350 (get-buffer-window-list): Rewrite using window-list-1.
22351 Rephrase doc-string.
22352 (window-safe-min-height, window-safe-min-width): New constants.
22353 (window-size-ignore, window-min-size, window-min-size-1)
22354 (window-sizable, window-sizable-p, window-size-fixed-1)
22355 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22356 (window-max-delta-1, window-max-delta, window-resizable)
22357 (window-resizable-p, window-total-height, window-total-width)
22358 (window-body-width): New functions.
22359 (window-full-height-p, window-full-width-p): Rewrite using
22360 window-total-size.
22361 (window-body-height): Rewrite using window-body-size.
22362
22363 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22364
22365 * window.el (window-right, window-left, window-child)
22366 (window-child-count, window-last-child, window-any-p)
22367 (normalize-live-buffer, normalize-live-frame)
22368 (normalize-any-window, normalize-live-window)
22369 (window-iso-combination-p, window-iso-combined-p)
22370 (window-iso-combinations)
22371 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22372 (windows-with-parameter, window-with-parameter)
22373 (window-atom-root, make-window-atom, window-atom-check-1)
22374 (window-atom-check, window-side-check, window-check):
22375 New functions.
22376 (ignore-window-parameters, window-sides, window-sides-vertical)
22377 (window-sides-slots): New variables.
22378 (window-size-fixed): Move down in code. Minor doc-string fix.
22379
22380 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22381
22382 * comint.el (comint-dynamic-complete-as-filename)
22383 (comint-dynamic-complete-filename): Correctly call
22384 completion-in-region.
22385
22386 2011-06-05 Deniz Dogan <deniz@dogan.se>
22387
22388 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22389 in last change.
22390
22391 2011-06-05 Deniz Dogan <deniz@dogan.se>
22392
22393 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22394 (rcirc): Use it to prompt for encryption.
22395
22396 2011-06-05 Roland Winkler <winkler@gnu.org>
22397
22398 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22399 (bibtex-search-entries): New command bound to C-c C-a.
22400 (bibtex-display-entries): New function.
22401
22402 2011-06-05 Roland Winkler <winkler@gnu.org>
22403
22404 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22405 (bibtex-insert-kill): After yanking insert newline if necessary.
22406 (bibtex-initialize): Call bibtex-string-files-init only once.
22407 (bibtex-mode): Do not call easy-menu-add.
22408 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22409 (bibtex-yank): Set arg properly if nil.
22410
22411 2011-06-05 Roland Winkler <winkler@gnu.org>
22412
22413 * textmodes/bibtex.el (bibtex-search-entry-globally):
22414 New variable.
22415 (bibtex-search-entry): Use it.
22416
22417 2011-06-05 Roland Winkler <winkler@gnu.org>
22418
22419 * textmodes/bibtex.el (bibtex-entry-format): New option
22420 sort-fields.
22421 (bibtex-format-entry, bibtex-reformat): Honor this option.
22422 (bibtex-parse-entry): Return fields in proper order.
22423
22424 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22425
22426 * doc-view.el (doc-view-remove-if): Move computation of result out
22427 of `dolist' to silence misleading lexical-binding warning.
22428
22429 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22430
22431 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22432 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22433
22434 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22435
22436 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22437 "SunOS 5.10".
22438
22439 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22440
22441 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22442 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22443 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22444 (tramp-parse-putty):
22445 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22446 (tramp-completion-function-alist-ssh)
22447 (tramp-completion-function-alist-telnet)
22448 (tramp-completion-function-alist-su)
22449 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22450 cookie.
22451
22452 * net/tramp-ftp.el:
22453 * net/tramp-sh.el:
22454 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22455 load "tramp.el" `tramp-set-completion-function'.
22456
22457 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22458
22459 * shell.el: Require and use pcomplete.
22460 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22461 (shell-completion-vars): Set pcomplete-default-completion-function.
22462
22463 2011-06-04 Deniz Dogan <deniz@dogan.se>
22464
22465 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22466 `memq' (Bug#8799).
22467
22468 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22469
22470 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22471
22472 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22473
22474 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22475 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22476 * vc/log-view.el (log-view-beginning-of-defun):
22477 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22478 (smerge-refine-forward, smerge-refine-chopup-region):
22479 Silence warning for unused `dotimes' counter variables.
22480
22481 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22482
22483 * net/tramp.el (tramp-with-progress-reporter): Rename from
22484 with-progress-reporter. Use `declare'.
22485 * net/tramp-smb.el:
22486 * net/tramp-sh.el:
22487 * net/tramp-gvfs.el: Update all uses.
22488
22489 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22490
22491 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22492 buffer isn't killed before making it current.
22493
22494 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22495
22496 Silence various byte-compiler warnings.
22497 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22498 `access-type' and new obsolescence format.
22499 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22500 new format.
22501 (byte-compile-check-variable): New `access-type' argument.
22502 Only warn if the access-type is obsolete.
22503 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22504 (byte-compile-variable-set): Adjust callers.
22505 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22506 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22507 setting it as obsolete.
22508 * simple.el (minibuffer-completing-symbol):
22509 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22510 access as obsolete.
22511 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22512 obsolete yet.
22513 * international/quail.el (quail-mouse-choose-completion): Remove unused
22514 code referring to obsolete var.
22515 (quail-choose-completion-string): Remove.
22516 * server.el (server-clients-with, server-kill-buffer-query-function)
22517 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22518 * proced.el (proced-send-signal):
22519 * emacs-lisp/lisp.el (lisp-complete-symbol):
22520 Replace completion-annotate-function with completion-extra-properties.
22521
22522 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22523
22524 * simple.el (goto-line): Use read-number.
22525 (overriding-map-is-bound): Remove.
22526 (saved-overriding-map): Change default.
22527 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22528 Take the map as argument.
22529 (universal-argument, negative-argument, digit-argument): Use it.
22530 (restore-overriding-map): Adjust.
22531 (do-auto-fill): Use fill-forward-paragraph.
22532 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22533
22534 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22535 (minibuffer-inactive-mode): New major mode.
22536 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22537 the *Messages* buffer" hack.
22538 (mouse-popup-menubar): Don't burp if the event is a normal key.
22539
22540 Miscellaneous tweaks.
22541 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22542 lexical scoping as in subr.el's dolist and dotimes.
22543 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22544 Silence compiler warning.
22545 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22546 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22547 * international/ccl.el (ccl-compile): Trivial simplification.
22548 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22549 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22550 `printflag' argument.
22551 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22552 Purecopy the whole obsolescence data.
22553
22554 2011-06-01 Leo Liu <sdl.web@gmail.com>
22555
22556 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22557 improve doc-string as suggested by Marco Pessotto
22558 <melmothx@gmail.com>.
22559 (rcirc-print): Fix last change.
22560
22561 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22562
22563 * minibuffer.el (complete-with-action): Return nil for the metadata and
22564 boundaries of non-functional tables.
22565 (completion-table-dynamic): Return nil for the metadata.
22566 (completion-table-with-terminator): Add default case, using
22567 complete-with-action.
22568 (completion--metadata): New function.
22569 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22570 to try and avoid pathological performance problems.
22571 (completion--embedded-envvar-table): Return `category' metadata.
22572
22573 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22574
22575 * subr.el (process-alive-p): New tiny convenience function.
22576
22577 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22578
22579 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22580 content but also its previous major mode.
22581
22582 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22583
22584 * emacs-lisp/debug.el (debug): Restore the previous content of the
22585 *Backtrace* buffer when we exit with C-M-c.
22586
22587 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22588
22589 * minibuffer.el: Add metadata method to completion tables.
22590 (completion-category-overrides): New defcustom.
22591 (completion-metadata, completion--field-metadata)
22592 (completion-metadata-get, completion--styles)
22593 (completion--cycle-threshold): New functions.
22594 (completion-try-completion, completion-all-completions):
22595 Add `metadata' argument to choose completion-styles.
22596 (completion--do-completion): Use metadata to choose cycling.
22597 (completion-all-sorted-completions): Use metadata for sorting.
22598 Remove :completion-cycle-penalty which is not needed any more.
22599 (completion--try-word-completion): Add `metadata' argument.
22600 (minibuffer-completion-help): Check metadata for annotation function
22601 and sorting.
22602 (completion-file-name-table): Return `category' metadata.
22603 (minibuffer-completing-file-name): Make obsolete.
22604 * simple.el (minibuffer-completing-symbol): Make obsolete.
22605 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22606 completion-try-completion.
22607
22608 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22609
22610 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22611
22612 2011-05-30 Leo Liu <sdl.web@gmail.com>
22613
22614 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22615 (rcirc-print): Decode all incoming messages (bug#8744).
22616 (rcirc-decode-coding-system): Allow value nil for automatic coding
22617 system detection.
22618
22619 2011-06-01 Glenn Morris <rgm@gnu.org>
22620
22621 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22622
22623 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22624
22625 * image.el (image-animate-max-time): Allow nil and t values.
22626 Default to nil.
22627 (create-animated-image): Doc fix.
22628 (image-animate-start): Remove second arg; just use
22629 image-animate-max-time.
22630 (image-animate-timeout): Doc fix. Args changed.
22631
22632 * image-mode.el (image-toggle-display-image): Ensure that the
22633 image spec passed to the animate timer is the same object as in
22634 the buffer's display property (Bug#6981).
22635 (image-transform-properties): Doc fix.
22636
22637 * image.el (image-animate-max-time): Default to nil.
22638
22639 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22640
22641 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22642 entire buffer list (Bug#8184).
22643
22644 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22645
22646 * image.el (imagemagick-types-inhibit)
22647 (imagemagick-register-types): Doc fix.
22648
22649 2011-05-29 Deniz Dogan <deniz@dogan.se>
22650
22651 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22652 default.
22653
22654 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22655
22656 * select.el: Don't perform clipboard-manager saving in hooks;
22657 leave the hooks empty.
22658
22659 2011-05-28 Leo Liu <sdl.web@gmail.com>
22660
22661 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22662 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22663 (occur-edit-mode): New major mode (Bug#8463).
22664 (occur-after-change-function): New function.
22665 (occur-engine): Give Occur tags a read-only property.
22666
22667 2011-05-28 Kevin Ryde <user42@zip.com.au>
22668
22669 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22670
22671 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22672
22673 * bindings.el (help-echo): Make the initial non-indicator dash
22674 empty on graphical terminals (Bug#7295).
22675
22676 * files.el (auto-mode-alist): Move config rule after the
22677 in-stripping one (Bug#8547).
22678
22679 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22680
22681 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22682 setting (Bug#8740).
22683
22684 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22685
22686 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22687 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22688 (Bug#8539).
22689
22690 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22691
22692 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22693
22694 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22695
22696 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22697 (hs-hide-block-at-point, hs-find-block-beginning)
22698 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22699 (Bug#8279).
22700
22701 2011-05-28 Glenn Morris <rgm@gnu.org>
22702
22703 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22704
22705 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22706
22707 * help-fns.el (describe-function-1): If the function is a derived
22708 major mode, print the parent mode.
22709
22710 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22711 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22712
22713 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22714
22715 * minibuffer.el (completion--capf-wrapper): Check applicability before
22716 returning non-nil for non-exclusive completion data.
22717 * progmodes/etags.el (tags-completion-at-point-function):
22718 * info-look.el (info-lookup-completions-at-point): Mark as
22719 non-exclusive.
22720 (info-complete): Adjust accordingly.
22721
22722 * info-look.el: Convert to lexical-binding and completion-at-point.
22723 (info-lookup-completions-at-point): New function.
22724 (info-complete): Use it and completion-in-region.
22725
22726 2011-05-28 Drew Adams <drew.adams@oracle.com>
22727
22728 * isearch.el: Let M-e start with point at the first mismatched char.
22729 (isearch-fail-pos): New function.
22730 (isearch-edit-string): Use it.
22731
22732 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22733
22734 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22735
22736 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22737
22738 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22739 traversal functions for avl-trees.
22740 (avl-tree--stack): New struct.
22741 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22742 (avl-tree-enter): Add optional `updatefun' arg.
22743 (avl-tree--do-enter): Add optional `updatefun' arg.
22744 Change return value.
22745 (avl-tree-delete): Add optional `test' and `nilflag' args.
22746 (avl-tree--do-delete): Add `test' and `nilflag' args.
22747 Change return value.
22748 (avl-tree-member): Add optional `nilflag'
22749 (avl-tree-member-p): New function.
22750 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22751 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22752 (avl-tree-stack-empty-p): New functions.
22753
22754 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22755 avl-tree--del-balance1 and make it work both ways.
22756 (avl-tree--del-balance2): Remove.
22757 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22758 make it work both ways.
22759 (avl-tree--enter-balance2): Remove.
22760 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22761 New macros.
22762 (avl-tree--mapc, avl-tree-map): Add direction argument.
22763
22764 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22765
22766 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22767
22768 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22769
22770 * select.el: Support clipboard managers with built-in function
22771 x-clipboard-manager-save, via delete-frame-functions and
22772 kill-emacs-hook.
22773 (xselect-convert-to-targets): Add MULTIPLE target to list.
22774 (xselect-convert-to-save-targets): New function.
22775
22776 2011-05-27 Kenichi Handa <handa@m17n.org>
22777
22778 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22779 let-binding rfc2047-encode-encoded-words to nil.
22780
22781 2011-05-27 Glenn Morris <rgm@gnu.org>
22782
22783 * mail/emacsbug.el: Don't require url-util.
22784
22785 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22786
22787 * files.el (set-auto-mode):
22788 Also respect mode: entries at the end of the file. (Bug#8586)
22789
22790 2011-05-26 Glenn Morris <rgm@gnu.org>
22791
22792 * files.el (hack-local-variables-prop-line, hack-local-variables):
22793 Downcase mode names, as seems to be traditional.
22794 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22795
22796 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22797 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22798
22799 2011-05-25 Julien Danjou <julien@danjou.info>
22800
22801 * textmodes/rst.el (rst-define-level-faces): Do not define face
22802 symbol if it is already defined.
22803
22804 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22805
22806 * play/5x5.el (5x5-new-game, 5x5-randomize):
22807 Reset 5x5-solver-output to nil when a new grid is cast.
22808 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22809 these debugging traces, as defmacro breaks the compiled code.
22810
22811 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22812
22813 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22814
22815 2011-05-24 Leo Liu <sdl.web@gmail.com>
22816
22817 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22818 (vc-bzr-sha1): Adapt.
22819
22820 * sha1.el: Remove. Function `sha1' is now builtin.
22821
22822 * bindings.el: Provide sha1 feature.
22823
22824 2011-05-24 Kenichi Handa <handa@m17n.org>
22825
22826 * mail/sendmail.el: Require `rfc2047'.
22827 (mail-insert-from-field): Do not perform RFC2047 encoding.
22828 (mail-encode-header): New function.
22829 (sendmail-send-it): Set buffer-file-coding-system of the work
22830 buffer to the return value of select-message-coding-system.
22831 Call mail-encode-header.
22832
22833 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22834
22835 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22836
22837 * mail/supercite.el (sc-default-cite-frame):
22838 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22839
22840 2011-05-24 Glenn Morris <rgm@gnu.org>
22841
22842 * progmodes/python.el (brm-menu): Declare.
22843
22844 * emulation/viper.el (viper-set-hooks): Declare.
22845
22846 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22847 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22848 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22849 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22850 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22851 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22852
22853 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22854
22855 Add an :exit-function for completion-at-point.
22856
22857 * minibuffer.el (completion--done): New fun.
22858 (completion--do-completion): Use it. New arg `expect-exact'.
22859 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22860 since completion--do-completion does it for us now.
22861 (minibuffer-force-complete): Use completion--done and
22862 completion--replace. Handle sole-completion case with more care.
22863 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22864 (completion-extra-properties): New var.
22865 (completion-annotate-function): Make obsolete.
22866 (minibuffer-completion-help): Adjust accordingly.
22867 Use completion-list-insert-choice-function.
22868 (completion-at-point, completion-help-at-point):
22869 Bind completion-extra-properties.
22870 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22871 * simple.el (completion-list-insert-choice-function): New var.
22872 (completion-setup-function): Preserve it.
22873 (choose-completion): Pay attention to it, shuffle the code a bit.
22874 (choose-completion-string): New arg `insert-function'.
22875
22876 * textmodes/bibtex.el: Convert to lexical binding.
22877 (bibtex-mode-map): Use completion-at-point.
22878 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22879 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22880 (bibtex-complete): Define as obsolete alias.
22881 (bibtex-complete-internal): Remove.
22882 (bibtex-format-entry): Remove unused sub-group in regexp.
22883 * shell.el (shell--command-completion-data)
22884 (shell-environment-variable-completion):
22885 * pcomplete.el (pcomplete-completions-at-point):
22886 * comint.el (comint--complete-file-name-data): Use :exit-function
22887 instead of completion-table-with-terminator so it also works for
22888 choose-completion.
22889
22890 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22891
22892 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22893
22894 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22895 (bug#8710).
22896
22897 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22898
22899 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22900
22901 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22902 customization variable and implement: If non-nil, auto-fill will
22903 be inhibited while on topic's header line.
22904
22905 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22906
22907 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22908 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22909 always have a solution in grid size = 5 cases.
22910 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22911 (5x5-solver-output, 5x5-log-buffer): New vars.
22912 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22913 Make these variables buffer local to achieve 5x5 multi-session-ness.
22914 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22915 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22916 (5x5-solve-suggest): New funs.
22917 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22918 randomize a grid so that we ensure that there is always a solution.
22919 (5x5-make-random-grid): Allow other movement than flipping.
22920
22921 2011-05-23 Kevin Ryde <user42@zip.com.au>
22922
22923 * emacs-lisp/advice.el (ad-read-advised-function):
22924 Use `function-called-at-point' as the default, if it has
22925 advice and passes PREDICATE.
22926
22927 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22928
22929 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22930 byte-compile-lambda if it's actually a lambda.
22931
22932 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22933 Fix function quoting. Use backquote better.
22934
22935 2011-05-22 Yuanle Song <sylecn@gmail.com>
22936
22937 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22938 matching (Bug#8516).
22939
22940 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22941
22942 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22943 different face (Bug#8178).
22944
22945 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22946
22947 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22948 defface (Bug#8144).
22949
22950 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22951
22952 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22953 funcall as well (bug#8712). Warn when performing those conversions.
22954 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22955
22956 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22957
22958 2011-05-22 Glenn Morris <rgm@gnu.org>
22959
22960 * files.el (hack-local-variables-prop-line): Small simplifications.
22961 (hack-local-variables, hack-local-variables-prop-line):
22962 If MODE-ONLY, return the mode, rather than just `t'.
22963
22964 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22965
22966 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22967
22968 2011-05-21 Glenn Morris <rgm@gnu.org>
22969
22970 * files.el (hack-local-variables-prop-line, hack-local-variables):
22971 If only interested in the mode, don't bother doing the other stuff.
22972
22973 * image-mode.el (image-after-revert-hook):
22974 Redraw all frames on which the image is visible. (Bug#8567)
22975
22976 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22977
22978 * wid-edit.el (widget-checklist-match-inline):
22979 Fix 2011-04-19 change. (Bug#8649)
22980
22981 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22982
22983 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22984 Also allow singlespace after single-letter capitals followed by a dot.
22985
22986 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22987 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22988
22989 2011-05-20 Nix <nix@esperi.org.uk>
22990
22991 * files.el (basic-save-buffer-2):
22992 Fix handling of break-hardlink-on-save with non-existent files.
22993
22994 2011-05-19 Deniz Dogan <deniz@dogan.se>
22995
22996 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22997 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22998
22999 2011-05-19 Glenn Morris <rgm@gnu.org>
23000
23001 * progmodes/f90.el (f90-type-def-re):
23002 Handle "type, bind(c)". (Bug#8691)
23003
23004 * emacs-lisp/autoload.el (batch-update-autoloads):
23005 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23006
23007 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23008
23009 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23010 property for the correct connection in case of multihops.
23011
23012 2011-05-18 Glenn Morris <rgm@gnu.org>
23013
23014 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23015 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23016
23017 Rationalize calendar handling of day and month abbrev-arrays.
23018 * calendar/calendar.el (calendar-customized-p): New function.
23019 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23020 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23021 Add :set function.
23022 (calendar-abbrev-length, calendar-day-abbrev-array)
23023 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23024 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23025 Elements may no longer be nil.
23026 (calendar-day-name, calendar-month-name):
23027 Update for changed nature of abbrev arrays.
23028 * calendar/diary-lib.el (diary-name-pattern):
23029 Update for changed nature of abbrev arrays.
23030 (diary-mark-entries-1): Update calendar-make-alist calls.
23031 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23032 * calendar/cal-html.el (cal-html-day-abbrev-array):
23033 Simply inherit from calendar-day-abbrev-array.
23034
23035 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23036
23037 * progmodes/grep.el (grep-mode): Disable default
23038 compilation-directory-matcher setting (bug#8684).
23039
23040 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23041
23042 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23043 instead of "head" and "tail". There were problems with SunOS 5.9,
23044 and it performs better.
23045
23046 2011-05-17 Glenn Morris <rgm@gnu.org>
23047
23048 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23049
23050 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23051 Replace obsolete function.
23052
23053 * shell.el (pcomplete-parse-arguments-function): Declare.
23054
23055 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23056 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23057 (appt-check): Doc fixes.
23058 (appt-disp-window-function, appt-delete-window-function):
23059 Remove needless special case in custom :type.
23060 (appt-display-count): Default to 0, not nil.
23061 (appt-check): Reset appt-display-count to 0, not nil.
23062
23063 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23064
23065 * progmodes/python.el (python-font-lock-keywords):
23066 Add the Python 3.X keyword "nonlocal" (bug#8639).
23067
23068 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23069
23070 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23071
23072 2011-05-16 Kevin Ryde <user42@zip.com.au>
23073
23074 * info-look.el (makefile-automake-mode): New setups, looking in
23075 automake manual, then makefile-mode.
23076 (makefile-mode): Remove automake manual, have it just in
23077 makefile-automake-mode since there's various things different or
23078 not relevant to plain make.
23079 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23080 believe a hypothetical automake-mode would go to makefile-mode,
23081 not the other way around.
23082
23083 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23084
23085 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23086 hunk-end tags (Bug#8672).
23087
23088 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23089 vc-annotate-show-diff-revision-at-line (Bug#8671).
23090
23091 2011-05-14 Glenn Morris <rgm@gnu.org>
23092
23093 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23094 in the middle of an existing one with multiple authors. (Bug#8645)
23095 (change-log-font-lock-keywords): Also handle multiple author lines
23096 with leading tabs. (Bug#8644)
23097
23098 * calendar/appt.el (appt-check): Rename some local variables.
23099 Some simplification/reordering.
23100
23101 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23102 (feedmail-sendmail-f-doesnt-sell-me-out)
23103 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23104 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23105 (feedmail-queue-runner-message-sender): Set :version.
23106 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23107 (bbdb-dwim-net-address, vm-mail): Declare.
23108 (feedmail-binmail-gnulinuxish-template):
23109 Rename from feedmail-binmail-linuxish-template.
23110 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23111 Use insert-buffer-substring.
23112
23113 2011-05-14 Bill Carpenter <bill@carpenter.org>
23114
23115 * mail/feedmail.el (feedmail-patch-level): Increase.
23116 (feedmail-debug): New custom group.
23117 (feedmail-confirm-outgoing-timeout)
23118 (feedmail-sendmail-f-doesnt-sell-me-out)
23119 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23120 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23121 (feedmail-sender-line, feedmail-from-line)
23122 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23123 (feedmail-spray-this-address)
23124 (feedmail-spray-address-fiddle-plex-list)
23125 (feedmail-queue-use-send-time-for-date)
23126 (feedmail-queue-use-send-time-for-message-id)
23127 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23128 (feedmail-buffer-eating-function):
23129 Doc fixes.
23130 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23131 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23132 (feedmail-message-action-scroll-down): New functions.
23133 (feedmail-queue-directory, feedmail-queue-draft-directory):
23134 Use expand-file-name.
23135 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23136 Remove C-v help entry.
23137 (feedmail-queue-buffer-file-name): New variable.
23138 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23139 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23140 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23141 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23142 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23143 (feedmail-message-action-toggle-spray)
23144 (feedmail-run-the-queue-no-prompts)
23145 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23146 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23147 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23148 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23149 (feedmail-envelope-deducer, feedmail-fiddle-from)
23150 (feedmail-fiddle-sender, feedmail-default-date-generator)
23151 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23152 (feedmail-fiddle-spray-address)
23153 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23154 (feedmail-fiddle-list-of-fiddle-plexes)
23155 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23156 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23157 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23158 Change default. Doc fix.
23159 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23160 (feedmail-binmail-linuxish-template): New constant.
23161 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23162 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23163 (feedmail-send-it): Add debug call.
23164 Use feedmail-queue-buffer-file-name, and
23165 feedmail-send-it-immediately-wrapper.
23166 (feedmail-message-action-send): Add debug call.
23167 Use feedmail-send-it-immediately-wrapper.
23168 (feedmail-queue-express-to-queue): Add debug call.
23169 Run feedmail-queue-express-hook.
23170 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23171 (feedmail-message-action-help-blat):
23172 Rename from feedmail-queue-send-edit-prompt-help-first.
23173 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23174 Check line-endings. Handle errors better.
23175 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23176 Doc fix. Add debug call.
23177 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23178 Use feedmail-queue-send-edit-prompt-inner.
23179 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23180 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23181 from feedmail-queue-send-edit-prompt.
23182 (feedmail-queue-send-edit-prompt-help)
23183 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23184 (feedmail-tidy-up-slug): Add debug call.
23185 Respect feedmail-queue-slug-suspect-regexp.
23186 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23187 (feedmail-dump-message-to-queue): Add debug call.
23188 Expand queue-directory.
23189 (feedmail-dump-message-to-queue): Change message slightly.
23190 Use feedmail-say-chatter.
23191 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23192 (feedmail-send-it-immediately-wrapper): New function.
23193 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23194 Insert empty string rather than newline. Handle full-frame case.
23195 Use catch/throw. Use feedmail-say-chatter.
23196 (feedmail-fiddle-from): Try mail-host-address.
23197 (feedmail-default-message-id-generator): Doc fix.
23198 Bind system-time-locale. Handle missing end.
23199 (feedmail-fiddle-x-mailer): Add debug call.
23200 Handle feedmail-x-mailer-line being nil.
23201 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23202 Add debug call. Use buffer-substring-no-properties.
23203 (feedmail-say-debug, feedmail-say-chatter): New functions.
23204 (feedmail-find-eoh): Give an explicit error.
23205
23206 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23207
23208 * net/newst-treeview.el (newsticker-treeview-face): Change default
23209 family from helvetica to sans.
23210 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23211 etc/images/newsticker.
23212
23213 * net/newst-reader.el (newsticker-feed-face): Change default
23214 family from helvetica to sans.
23215
23216 * net/newst-plainview.el (newsticker-new-item-face)
23217 (newsticker-old-item-face, newsticker-immortal-item-face)
23218 (newsticker-obsolete-item-face, newsticker-date-face)
23219 (newsticker-statistics-face): Change default family from
23220 helvetica to sans.
23221 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23222 etc/images/newsticker.
23223
23224 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23225 (newsticker--process-auto-mark-filter-match): Tell user about
23226 auto-marking.
23227
23228 2011-05-13 Didier Verna <didier@xemacs.org>
23229
23230 Common Lisp indentation improvements on defmethod and lambda-lists.
23231 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23232 TODO entries.
23233 (lisp-lambda-list-keyword-parameter-indentation)
23234 (lisp-lambda-list-keyword-parameter-alignment)
23235 (lisp-lambda-list-keyword-alignment): New customizable user options.
23236 (lisp-indent-defun-method): Improve docstring.
23237 (extended-loop-p): Fix comment.
23238 (lisp-indent-lambda-list-keywords-regexp): New variable.
23239 (lisp-indent-lambda-list): New function.
23240 (lisp-indent-259): Use it.
23241 (lisp-indent-defmethod): Support for more than one
23242 method qualifier and properly indent methods lambda-lists.
23243 (defgeneric): Provide a missing common-lisp-indent-function property.
23244
23245 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23246
23247 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23248 bounds for the empty string (bug#8667).
23249
23250 2011-05-13 Glenn Morris <rgm@gnu.org>
23251
23252 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23253
23254 * mail/sendmail.el (sendmail-program): Try executable-find first.
23255 (sendmail-send-it): `sendmail-program' cannot be unbound.
23256
23257 * calendar/appt.el (appt-make-list): Simplify.
23258 (appt-time-msg-list): Doc fix.
23259 (appt-check): Change mode-line message at the time of the appointment.
23260
23261 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23262
23263 * progmodes/ld-script.el (ld-script-keywords)
23264 (ld-script-builtins): Update keywords list.
23265
23266 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23267
23268 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23269
23270 * shell.el (shell-completion-vars): New function.
23271 (shell-mode):
23272 * simple.el (read-shell-command): Use it.
23273 (blink-matching-open): No need for " [...]" in minibuffer-message.
23274
23275 2011-05-12 Glenn Morris <rgm@gnu.org>
23276
23277 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23278 (appt-check): Simplify.
23279
23280 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23281
23282 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23283 literal "/dev/null".
23284
23285 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23286
23287 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23288 Fix typo.
23289
23290 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23291
23292 * progmodes/which-func.el (which-function):
23293 Use add-log-current-defun instead of add-log-current-defun-function,
23294 which might not be defined (Bug#8260).
23295
23296 2011-05-12 Glenn Morris <rgm@gnu.org>
23297
23298 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23299 Let byte-compile-initial-macro-environment always take precedence.
23300
23301 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23302
23303 * net/rcirc.el: Add support for SSL/TLS connections.
23304 (rcirc-server-alist): New field `encryption'.
23305 (rcirc): Check `encryption' settings.
23306 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23307 Merge make-local-variable into `set'.
23308 (rcirc--connection-open-p): New function.
23309 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23310 the process is not a network process (e.g. running gnutls-cli).
23311 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23312 Make rcirc-(en|de)code-coding-system local here.
23313 (rcirc-mode): Merge make-local-variable into `set'.
23314 (rcirc-parent-buffer): Make permanent buffer-local.
23315 (rcirc-multiline-minor-mode): Don't do it here.
23316 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23317 there's no server buffer.
23318
23319 2011-05-11 Glenn Morris <rgm@gnu.org>
23320
23321 * newcomment.el (comment-kill): Prefix "unused" local.
23322
23323 * term/w32console.el (get-screen-color): Declare.
23324
23325 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23326 Handle symbol elements of byte-compile-initial-macro-environment.
23327
23328 2011-05-10 Leo Liu <sdl.web@gmail.com>
23329
23330 * bookmark.el (bookmark-bmenu-mode-map):
23331 Bind bookmark-bmenu-search to `/'.
23332
23333 * mail/footnote.el: Convert to utf-8 encoding.
23334 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23335 (Footnote-unicode): New function.
23336 (footnote-style-alist): Add unicode style to the list.
23337 (footnote-style): Doc fix.
23338
23339 2011-05-10 Jim Meyering <meyering@redhat.com>
23340
23341 Fix doubled-word typos.
23342 * international/quail.el (quail-insert-kbd-layout): and and -> and
23343 * kermit.el: and and -> and
23344 * net/ldap.el (ldap-search-internal): to to -> to
23345 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23346 * progmodes/js.el (js-mode): and and -> and
23347 * textmodes/artist.el (artist-move-to-xy): at at -> at
23348 (artist-draw-region-trim-line-endings): if if -> if
23349 And Safetyc -> Safety.
23350 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23351
23352 2011-05-10 Glenn Morris <rgm@gnu.org>
23353 Stefan Monnier <monnier@iro.umontreal.ca>
23354
23355 * files.el (hack-one-local-variable-eval-safep):
23356 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23357
23358 2011-05-10 Glenn Morris <rgm@gnu.org>
23359
23360 * calendar/diary-lib.el (diary-list-entries-hook)
23361 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23362 (diary-nongregorian-marking-hook, diary-list-entries)
23363 (diary-include-other-diary-files, diary-mark-entries)
23364 (diary-mark-included-diary-files): Doc fixes.
23365
23366 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23367
23368 * misc.el: Require tabulated-list.el during compilation.
23369
23370 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23371
23372 * progmodes/compile.el (compilation-start):
23373 Run compilation-filter-hook for the async case too.
23374 (compilation-filter-hook): Doc fix.
23375
23376 2011-05-09 Deniz Dogan <deniz@dogan.se>
23377
23378 * wdired.el: Remove outdated installation comment. Fix usage
23379 comment.
23380
23381 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23382
23383 * misc.el: Implement new command `list-dynamic-libraries'.
23384 (list-dynamic-libraries--loaded-only-p): New variable.
23385 (list-dynamic-libraries--refresh): New function.
23386 (list-dynamic-libraries): New command.
23387
23388 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23389
23390 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23391 Fix the ant regexp to handle end-line and end-column info from jikes.
23392 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23393 higher priority to avoid clobbering by gnu.
23394
23395 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23396
23397 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23398 if the face has existing theme settings (Bug#8454).
23399
23400 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23401
23402 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23403 Only match variables declared via `my' or `our' (Bug#8261).
23404
23405 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23406 special file names `.' and `..' (Bug#8259).
23407
23408 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23409
23410 * progmodes/grep.el (grep-mode-font-lock-keywords):
23411 Remove buffer-changing entries.
23412 (grep-filter): New function.
23413 (grep-mode): Add it to compilation-filter-hook.
23414
23415 * progmodes/compile.el (compilation-filter-hook)
23416 (compilation-filter-start): New defvars.
23417 (compilation-filter): Call compilation-filter-hook prior to
23418 updating the process mark.
23419
23420 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23421
23422 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23423
23424 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23425
23426 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23427 mailclient-send-it even if window-system is nil. (Bug#8595)
23428
23429 * term/w32console.el (terminal-init-w32console):
23430 Call get-screen-color and use its output to set the frame
23431 background-mode. (Bug#8597)
23432
23433 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23434
23435 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23436 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23437 New functions.
23438 (defgeneric, eieio--defmethod): Use them.
23439 (eieio-defgeneric): Remove.
23440 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23441
23442 2011-05-07 Glenn Morris <rgm@gnu.org>
23443
23444 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23445 Use let rather than let*.
23446 (timeclock-find-discrep): Remove unused local.
23447
23448 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23449
23450 * calendar/appt.el (appt-time-msg-list): Doc fix.
23451
23452 2011-05-06 Noah Friedman <friedman@splode.com>
23453
23454 * apropos.el (apropos-print-doc): Only use
23455 emacs-lisp-docstring-fill-column when it is bound to an integer,
23456 per that variable's documentation.
23457
23458 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23459
23460 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23461 and warnings are not silently discarded (e.g. use -d instead of -P).
23462
23463 2011-05-06 Glenn Morris <rgm@gnu.org>
23464
23465 * calendar/appt.el (appt-message-warning-time): Doc fix.
23466 (appt-warning-time-regexp): New option.
23467 (appt-make-list): Respect appt-message-warning-time.
23468
23469 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23470 New options.
23471 (diary-add-to-list): Strip comments from the displayed string.
23472 (diary-mode): Set comment-start and comment-end.
23473
23474 * vc/diff-mode.el (smerge-refine-subst): Declare.
23475 (diff-refine-hunk): Don't require smerge-mode when compiling.
23476
23477 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23478
23479 * simple.el (list-processes): Return nil as the docstring says.
23480
23481 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23482
23483 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23484 to "".
23485 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23486 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23487 determining of binary transfer. (Bug#7383)
23488
23489 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23490
23491 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23492 Fix port computation bug. (Bug#8618)
23493
23494 2011-05-05 Glenn Morris <rgm@gnu.org>
23495
23496 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23497
23498 * simple.el (shell-dynamic-complete-functions)
23499 (comint-dynamic-complete-functions): Declare.
23500
23501 * net/network-stream.el (gnutls-negotiate):
23502 * simple.el (tabulated-list-print): Fix declarations.
23503
23504 * progmodes/gud.el (syntax-symbol, syntax-point):
23505 Remove unnecessary and incorrect declarations.
23506
23507 * emacs-lisp/check-declare.el (check-declare-scan):
23508 Handle byte-compile-initial-macro-environment in bytecomp.el.
23509
23510 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23511
23512 Fix earlier half-done eieio-defmethod change (bug#8338).
23513 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23514 Streamline and change calling convention.
23515 (defmethod): Adjust accordingly and simplify.
23516 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23517 new eieio--defmethod.
23518 (slot-boundp): Minor CSE simplification.
23519
23520 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23521
23522 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23523 (glasses-make-readable): Use glasses-separate-capital-groups.
23524
23525 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23526
23527 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23528 (warning-series): Doc fix.
23529 (display-warning): Don't try to create the buffer if we just found it.
23530
23531 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23532
23533 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23534 (autoload-find-generated-file): New function.
23535 (generate-file-autoloads): Bind generated-autoload-file to
23536 buffer-file-name.
23537 (update-file-autoloads, update-directory-autoloads):
23538 Use autoload-find-generated-file. If called interactively, prompt for
23539 output file (Bug#7989).
23540 (batch-update-autoloads): Doc fix.
23541
23542 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23543
23544 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23545
23546 2011-05-04 Glenn Morris <rgm@gnu.org>
23547
23548 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23549 function, so it follows changes in calendar-date-style.
23550 (diary-fancy-date-matcher): New function.
23551 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23552 (diary-fancy-font-lock-fontify-region-function):
23553 Use diary-fancy-date-pattern as a function.
23554
23555 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23556 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23557
23558 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23559
23560 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23561 instead of positional arguments. Allow :keylist and :crlfiles
23562 arguments.
23563 (open-gnutls-stream): Call it.
23564
23565 * net/network-stream.el (network-stream-open-starttls): Adjust to
23566 call `gnutls-negotiate' with :process and :hostname arguments.
23567
23568 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23569
23570 * minibuffer.el (completion--message): New function.
23571 (completion--do-completion, minibuffer-complete)
23572 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23573 (completion--do-completion): Don't ignore completion-auto-help when in
23574 icomplete-mode.
23575
23576 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23577 internal encoding (e.g. tibetan zero is not whitespace).
23578 (global-whitespace-mode): Prefer save-current-buffer.
23579 (whitespace-trailing-regexp): Remove useless save-match-data.
23580 (whitespace-empty-at-bob-regexp): Minor simplification.
23581
23582 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23583
23584 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23585
23586 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23587
23588 * textmodes/ispell.el (ispell-add-per-file-word-list):
23589 Use `concat' to create string for insertion.
23590
23591 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23592
23593 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23594 Avoid open-line which runs post-self-insert-hook.
23595 (bibtex-fill-entry): Remove unused `end' var.
23596
23597 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23598
23599 * textmodes/ispell.el (ispell-add-per-file-word-list):
23600 Protect against `nil' value of `comment-start' (Bug#8579).
23601
23602 2011-05-03 Leo Liu <sdl.web@gmail.com>
23603
23604 * isearch.el (isearch-yank-pop): New command.
23605 (isearch-mode-map): Bind it to `M-y'.
23606 (isearch-forward): Mention it.
23607
23608 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23609
23610 * simple.el (minibuffer-complete-shell-command): Remove.
23611 (minibuffer-local-shell-command-map): Use completion-at-point.
23612 (read-shell-command): Setup completion vars here instead.
23613 (read-expression-map): Bind TAB to symbol completion.
23614
23615 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23616 error directly rather via storing it into `results'.
23617
23618 2011-05-02 Leo Liu <sdl.web@gmail.com>
23619
23620 * vc/diff.el: Fix description.
23621
23622 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23623
23624 * server.el (server-eval-at): New function.
23625
23626 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23627
23628 * net/network-stream.el (open-network-stream): Take a :nowait
23629 parameter and pass it on to `make-network-process'.
23630 (network-stream-open-plain): Ditto.
23631
23632 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23633
23634 * faces.el (face-spec-set-match-display): Don't match toolkit
23635 options on terminal frames.
23636
23637 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23638
23639 * progmodes/pascal.el: Use lexical binding.
23640 (pascal-mode-map): Remove author preferences.
23641
23642 * pcomplete.el (pcomplete-std-complete): Don't abuse
23643 completion-at-point.
23644
23645 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23646
23647 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23648 removing code that has been dead since 1991 or so.
23649
23650 * startup.el (command-line): When warning about "_emacs", use a
23651 delayed warning to allow the user to filter it out.
23652
23653 2011-04-28 Deniz Dogan <deniz@dogan.se>
23654
23655 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23656 user has not joined.
23657
23658 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23659
23660 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23661 aren't any completions at point.
23662
23663 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23664
23665 * subr.el (display-delayed-warnings): New function.
23666 (delayed-warnings-hook): New variable.
23667
23668 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23669
23670 * minibuffer.el (completion-at-point, completion-help-at-point):
23671 Don't presume that a given completion-at-point-function will always
23672 use the same calling convention.
23673
23674 * pcomplete.el (pcomplete-completions-at-point):
23675 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23676 pcomplete-seen is non-nil.
23677 (pcomplete-comint-setup): Also recognize the new comint/shell
23678 completion functions.
23679 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23680 pcomplete-seen is non-nil.
23681
23682 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23683
23684 * calendar/icalendar.el (diary-lib): Add require statement.
23685 (icalendar--create-uid): Read out a uid from a text-property on
23686 the first character in the entry. This allows for code to add its
23687 own uid to the entry.
23688 (icalendar--convert-float-to-ical): Add export of
23689 `diary-float'-entries save for those with the optional DAY
23690 argument.
23691
23692 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23693
23694 * subr.el (shell-quote-argument): Use alternate escaping strategy
23695 when we spot a variable reference in a string.
23696
23697 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23698
23699 * cus-start.el (all): Define customization for debug-on-event.
23700
23701 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23702
23703 * subr.el (shell-quote-argument): Escape correctly under Windows.
23704
23705 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23706
23707 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23708
23709 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23710
23711 * net/tramp.el (tramp-process-actions): Add POS argument.
23712 Delete region between POS and (pos).
23713
23714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23715 Use `nil' position in `tramp-process-actions' call.
23716 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23717
23718 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23719 position in `tramp-process-actions' call.
23720
23721 * net/trampver.el: Update release number.
23722
23723 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23724
23725 * custom.el (defcustom): Obey lexical-binding.
23726
23727 Fix octave-inf completion problems reported by Alexander Klimov.
23728 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23729 Inherit from octave-mode-syntax-table.
23730 (inferior-octave-mode): Set info-lookup-mode.
23731 (inferior-octave-completion-at-point): New function.
23732 (inferior-octave-complete): Use it and completion-in-region.
23733 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23734 comint-filename-completion.
23735 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23736 symbol elements which shouldn't be word elements.
23737 (octave-font-lock-keywords, octave-beginning-of-defun)
23738 (octave-function-header-regexp): Adjust regexps accordingly.
23739 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23740
23741 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23742
23743 * net/gnutls.el (gnutls-errorp): Declare before first use.
23744
23745 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23746
23747 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23748 verify-error, and verify-hostname-error parameters. Check whether
23749 default trustfile exists before going to use it. Add missing
23750 argument to gnutls-message-maybe call. Return value.
23751 Reported by Claudio Bley <claudio.bley@gmail.com>.
23752 (open-gnutls-stream): Add usage example.
23753
23754 * net/network-stream.el (network-stream-open-starttls): Give host
23755 parameter to `gnutls-negotiate'.
23756 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23757 * subr.el (shell-quote-argument): Escape correctly under Windows.
23758
23759 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23760
23761 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23762 Use correct match group (bug#8438).
23763
23764 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23765
23766 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23767 (package-menu--generate): New arg specifying packages to show.
23768 (package-menu-refresh, package-menu-execute, list-packages):
23769 Callers changed.
23770 (package-show-package-list): New function, replacing deleted
23771 package--list-packages (renamed because it is non-internal).
23772
23773 * finder.el (finder-list-matches): Use package-show-package-list
23774 instead of deleted package--list-packages.
23775
23776 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23777 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23778 (vc-annotate-mode-map): Bind it to RET.
23779
23780 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23781
23782 * progmodes/etags.el (next-file): Don't use set-buffer to change
23783 buffers (Bug#8478).
23784
23785 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23786
23787 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23788
23789 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23790 (apropos-accumulator): Doc fix.
23791 (apropos-function, apropos-macro, apropos-command)
23792 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23793 (apropos-plist): Add face property.
23794 (apropos-symbols-internal): Fix indentation.
23795 (apropos-print): Simplify help, and recognize apropos-multi-type.
23796 (apropos-print-doc): Use button-type-get to extract the button's
23797 face property. Fill docstring (Bug#8352).
23798
23799 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23800
23801 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23802
23803 * play/mpuz.el (mpuz-silent): Doc fix.
23804 (mpuz-mode-map): Use mapc.
23805 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23806 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23807 Fix typos in docstrings.
23808
23809 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23810 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23811
23812 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23813
23814 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23815
23816 * minibuffer.el (completion--do-completion): Avoid the "Next char
23817 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23818
23819 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23820 mouse-2 into unread-command-events, it is interpreted correctly.
23821
23822 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23823 (image-toggle-display): Doc fix.
23824
23825 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23826
23827 * textmodes/page.el (what-page): Use line-number-at-pos to
23828 calculate line number (Bug#6825).
23829
23830 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23831
23832 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23833 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23834 Pass argument NO-DEFAULT to `find-tag-interactive'.
23835
23836 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23837
23838 Lexical-binding cleanup.
23839
23840 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23841 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23842 * progmodes/ada-prj.el (ada-prj-initialize-values)
23843 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23844 (ada-prj-show-value):
23845 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23846 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23847 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23848 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23849 * progmodes/bug-reference.el (bug-reference-push-button):
23850 * progmodes/fortran.el (fortran-line-length):
23851 * progmodes/glasses.el (glasses-change):
23852 * progmodes/octave-mod.el (octave-fill-paragraph):
23853 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23854 (python-pdbtrack-grub-for-buffer, python-sentinel):
23855 * progmodes/sql.el (sql-save-connection):
23856 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23857 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23858 Mark unused parameters.
23859
23860 * progmodes/compile.el (compilation--flush-directory-cache)
23861 (compilation--flush-parse, compile-internal): Mark unused parameters.
23862 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23863 (compilation-next-error-function): Remove unused variable `timestamp'.
23864
23865 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23866 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23867
23868 * progmodes/dcl-mode.el (dcl-end-of-command):
23869 Remove unused variable `start'.
23870 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23871 (dcl-option-value-basic, dcl-option-value-offset)
23872 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23873 Mark unused parameters.
23874 (dcl-save-local-variable): Remove unused variable `val'.
23875 (mode): Declare.
23876
23877 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23878 Mark unused parameters.
23879 (delphi-ignore-changes): Move before first use.
23880 (delphi-charset-token-at): Remove unused variable `start'.
23881 (delphi-else-start): Remove unused variable `if-count'.
23882 (delphi-comment-block-start, delphi-comment-block-end):
23883 Remove unused variable `kind'.
23884 (delphi-indent-line): Remove unused variable `new-point'.
23885
23886 * progmodes/ebrowse.el (ebrowse-files-list)
23887 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23888 Mark unused parameters. Don't quote `lambda'.
23889 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23890 Don't quote `lambda'.
23891 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23892 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23893 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23894 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23895 Use `ignore-errors'.
23896 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23897 (ebrowse-view/find-file-and-search-pattern)
23898 (ebrowse-view/find-member-declaration/definition):
23899 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23900 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23901 Rename parameter PREFIX-ARG to PREFIX.
23902 (ebrowse-tags-read-name): Remove unused variables `start' and
23903 `member-info'.
23904 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23905 to `tags-file'.
23906
23907 * progmodes/etags.el (local-find-tag-hook): Declare.
23908 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23909 Mark unused parameters.
23910
23911 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23912 (executable-interpret): Mark unused parameter.
23913
23914 * progmodes/flymake.el (flymake-process-sentinel)
23915 (flymake-after-change-function)
23916 (flymake-create-temp-with-folder-structure)
23917 (flymake-get-include-dirs-dot): Mark unused parameters.
23918 (flymake-safe-delete-directory): Remove unused variable `err'.
23919
23920 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23921 (speedbar-timer-fn, speedbar-line-text)
23922 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23923 (speedbar-center-buffer-smartly): Declare functions.
23924 (gdb-find-watch-expression): Remove unused variable `array'.
23925 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23926 (gdb-starting): Mark unused parameters.
23927 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23928 (gdb-table-string): Remove unused variable `res'.
23929 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23930 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23931 (gdb-display-buffer): Remove unused variable `cur-size'.
23932
23933 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23934 allow lexical-binding compilation.
23935 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23936 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23937 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23938 Mark unused parameters.
23939 (gud-gdb-marker-filter): Remove unused variable `match'.
23940 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23941 lambda expressions and funcall them, instead of using `fset'.
23942
23943 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23944 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23945
23946 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23947 variable `header-beg'; use `let'.
23948
23949 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23950 `restart', `last-sexp' and `at-do'.
23951
23952 * progmodes/js.el (js--debug): Mark unused parameter.
23953 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23954 (js--splice-into-items): Remove unused variable `item'.
23955 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23956
23957 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23958 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23959 (makefile-complete): Remove unused variable `try'.
23960 (makefile-fill-paragraph, makefile-match-function-end):
23961 Mark unused parameters.
23962
23963 * progmodes/octave-inf.el (inferior-octave-complete):
23964 Remove unused variable `proc'.
23965 (inferior-octave-output-digest): Mark unused parameter.
23966
23967 * progmodes/perl-mode.el (perl-calculate-indent):
23968 Remove unused variable `err'.
23969
23970 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23971 (prolog-indent-line): Mark unused parameters.
23972 (prolog-indent-line): Remove unused variable `beg'.
23973
23974 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23975 (reporter-dont-compact-list): Declare.
23976
23977 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23978 Remove unused variable `char'.
23979 (sh-debug): Mark unused parameter.
23980 (sh-get-indent-info): Remove unused variable `start'.
23981 (sh-calculate-indent): Remove unused variable `var'.
23982
23983 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23984 (simula-electric-keyword): Remove unused variable `null'.
23985 (simula-search-backward, simula-search-forward): Remove unused
23986 variables `begin' and `end'.
23987
23988 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23989 Remove unused variable `pos'.
23990 (vera-electric-tab, vera-comment-uncomment-region):
23991 Mark unused parameters.
23992 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23993
23994 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23995
23996 * emacs-lisp/package.el (package--builtins, package-alist)
23997 (package-load-descriptor, package-built-in-p, package-activate)
23998 (define-package, package-installed-p)
23999 (package-compute-transaction, package-buffer-info)
24000 (package--push): Doc fix. Distinguish more clearly between
24001 version strings and version lists.
24002
24003 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24004
24005 Lexical-binding cleanup.
24006
24007 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24008 (5x5-make-mutate-best):
24009 * play/fortune.el (fortune-in-buffer):
24010 * play/gomoku.el (gomoku-init-display):
24011 * play/solitaire.el (solitaire, solitaire-do-check):
24012 * play/tetris.el (tetris-default-update-speed-function):
24013 Mark unused parameters.
24014
24015 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24016 (bubbles--shift): Remove unused variable `char-org'.
24017 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24018 (bubbles--show-images): Remove unused variable `char'.
24019
24020 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24021 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24022 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24023 (decipher-analyze-buffer): Use ?\s.
24024 (decipher-make-checkpoint): Remove unused variable `mapping'.
24025
24026 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24027
24028 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24029 Remove unused variable `result'; use `let'.
24030
24031 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24032 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24033 (gametree-children-shown-p, gametree-compute-reduced-score):
24034 Use `ignore-errors'.
24035
24036 * play/handwrite.el (ps-lpr-switches): Declare.
24037 (handwrite): Remove unused variables `pmin' and `lastp'.
24038
24039 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24040
24041 * play/landmark.el (landmark-init-display)
24042 (landmark-update-naught-weights): Mark unused parameters.
24043 (landmark-y): Remove unused variable `noise'. Simplify.
24044 (landmark-human-plays): Remove unused variable `score'.
24045
24046 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24047 (mpuz-try-proposal): Remove unused variable `game'.
24048
24049 * play/zone.el (life-patterns): Declare.
24050
24051 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24052
24053 * vc/vc.el (ediff-vc-internal): Declare function.
24054
24055 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24056
24057 * shell.el: Use lexical-binding and std completion UI.
24058 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24059 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24060 comint-preoutput-filter-functions rather than on
24061 comint-output-filter-functions.
24062 (shell-command-completion, shell--command-completion-data)
24063 (shell-filename-completion, shell-environment-variable-completion)
24064 (shell-c-a-p-replace-by-expanded-directory): New functions.
24065 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24066 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24067 (shell-dynamic-complete-environment-variable): Use them.
24068 (shell-dynamic-complete-as-environment-variable)
24069 (shell-dynamic-complete-as-command): Remove.
24070 (shell-match-partial-variable): Match past point.
24071 * comint.el: Clean up use of completion-at-point-functions.
24072 (comint-completion-at-point): New function.
24073 (comint-mode): Use it completion-at-point-functions.
24074 (comint-dynamic-complete): Make it obsolete.
24075 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24076 (comint-c-a-p-replace-by-expanded-history): New function.
24077 (comint-dynamic-complete-functions)
24078 (comint-replace-by-expanded-history): Use it.
24079 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24080 termination strings. Try harder to avoid second try-completion.
24081 (completion-in-region-mode-map): Disable bindings that don't work yet.
24082
24083 * comint.el: Use lexical-binding. Require CL.
24084 (comint-dynamic-complete-functions): Use comint-filename-completion.
24085 (comint-completion-addsuffix): Tweak custom type.
24086 (comint-filename-completion, comint--common-suffix)
24087 (comint--common-quoted-suffix, comint--table-subvert)
24088 (comint--complete-file-name-data): New functions.
24089 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24090 (comint-dynamic-list-filename-completions): Use them.
24091 (comint-dynamic-simple-complete): Make obsolete.
24092
24093 * minibuffer.el (completion-in-region-mode):
24094 Keep completion-in-region-mode--predicate global.
24095 (completion-in-region--postch):
24096 Assume completion-in-region-mode--predicate is not null.
24097
24098 * progmodes/flymake.el (flymake-start-syntax-check-process):
24099 Obey `dir'. Simplify.
24100
24101 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24102 we're in VC after all.
24103
24104 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24105
24106 * vc/vc.el (vc-diff-build-argument-list-internal)
24107 (vc-version-ediff, vc-ediff): New commands.
24108 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24109
24110 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24111
24112 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24113 add sanity check.
24114
24115 * obsolete/erc-hecomplete.el: Make obsolete.
24116 * obsolete/: Standardize obsolescence info in the header.
24117
24118 2011-04-20 Glenn Morris <rgm@gnu.org>
24119
24120 * calendar/solar.el (solar-horizontal-coordinates):
24121 Use the longitude argument rather than `calendar-longitude'.
24122 (solar-date-next-longitude): Remove unused locals.
24123
24124 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24125
24126 * whitespace.el: New version 13.2.1.
24127
24128 2011-04-20 felix <EmacsWiki> (tiny change)
24129
24130 * whitespace.el (global-whitespace-mode): Keep highlight when
24131 switching between major modes on a file.
24132
24133 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24134
24135 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24136 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24137 multi-line comments as well.
24138
24139 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24140
24141 Lexical-binding cleanup.
24142
24143 * arc-mode.el (archive-mode-revert):
24144 * cmuscheme.el (scheme-interactively-start-process):
24145 * custom.el (custom-initialize-delay):
24146 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24147 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24148 * emacs-lock.el (emacs-lock-clear-sentinel):
24149 * ezimage.el (defezimage):
24150 * follow.el (follow-avoid-tail-recenter):
24151 * fringe.el (set-fringe-mode-1):
24152 * generic-x.el (bat-generic-mode-compile):
24153 * help-mode.el (help-info-variable, help-do-xref)
24154 (help-mode-revert-buffer):
24155 * help.el (view-emacs-todo):
24156 * iswitchb.el (iswitchb-completion-help):
24157 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24158 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24159 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24160 * locate.el (locate-update):
24161 * longlines.el (longlines-encode-region)
24162 (longlines-after-change-function):
24163 * outline.el (outline-isearch-open-invisible):
24164 * ps-def.el (declare-function, charset-dimension, char-width)
24165 (encode-char):
24166 * ps-mule.el (ps-mule-plot-string):
24167 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24168 (recentf-edit-list-select, recentf-edit-list-validate)
24169 (recentf-open-files-action):
24170 * rect.el (delete-whitespace-rectangle-line)
24171 (rectangle-number-line-callback):
24172 * register.el (window-configuration-to-register)
24173 (frame-configuration-to-register):
24174 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24175 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24176 (xselect-convert-to-targets, xselect-convert-to-delete)
24177 (xselect-convert-to-filename, xselect-convert-to-charpos)
24178 (xselect-convert-to-lineno, xselect-convert-to-colno)
24179 (xselect-convert-to-os, xselect-convert-to-host)
24180 (xselect-convert-to-user, xselect-convert-to-class)
24181 (xselect-convert-to-name, xselect-convert-to-integer)
24182 (xselect-convert-to-atom, xselect-convert-to-identity):
24183 * subr.el (declare, ignore, process-kill-without-query)
24184 (text-clone-maintain):
24185 * terminal.el (te-get-char, te-tic-sentinel):
24186 * tool-bar.el (tool-bar-make-keymap):
24187 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24188 * type-break.el (type-break-mode, type-break-noninteractive-query):
24189 * view.el (View-back-to-mark):
24190 * wid-browse.el (widget-browse-action, widget-browse-widget)
24191 (widget-browse-widgets, widget-browse-sexp):
24192 * widget.el (define-widget-keywords):
24193 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24194 Mark unused parameters.
24195
24196 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24197 (align-areas): Remove unused variable `look'.
24198 (align-region): Remove unused variables `real-end' and `pos-list'.
24199
24200 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24201
24202 * bindings.el (mode-line-modified, mode-line-remote):
24203 Mark unused parameters.
24204 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24205
24206 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24207 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24208
24209 * comint.el (comint-history-isearch-pop-state)
24210 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24211 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24212 (comint-substitute-in-file-name): Doc fix.
24213
24214 * completion.el (cmpl-statistics-block): Mark unused parameter.
24215 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24216 (save-completions-to-file, load-completions-from-file):
24217 Remove unused local variable `e'.
24218
24219 * composite.el (compose-chars): Remove unused variable `len'.
24220 (lgstring-insert-glyph): Remove unused variable `g'.
24221 (compose-glyph-string): Remove unused variables `ascent',
24222 `descent', `lbearing' and `rbearing'.
24223 (compose-glyph-string-relative): Remove unused variables
24224 `lbearing', `rbearing' and `wadjust'.
24225 (compose-gstring-for-graphic): Remove unused variables `header',
24226 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24227 (compose-gstring-for-terminal): Remove unused variables `header'
24228 and `nchars'. Use `let', not `let*'.
24229
24230 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24231 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24232 (Custom-buffer-done, custom-buffer-create-internal)
24233 (custom-browse-visibility-action, custom-browse-group-tag-action)
24234 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24235 (widget-magic-mouse-down-action, custom-toggle-parent)
24236 (custom-add-parent-links, custom-toggle-hide-variable)
24237 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24238 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24239 (custom-face-menu-create, custom-variable-menu-create, get)
24240 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24241 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24242 (customize-apropos): Remove unused variable `tests'.
24243 (custom-group-value-create): Remove unused variable `hidden-p'.
24244 (sort-fold-case): Declare.
24245
24246 * cus-theme.el (custom-reset-standard-faces-list)
24247 (custom-reset-standard-variables-list): Declare.
24248 (customize-create-theme, custom-theme-revert, custom-theme-write)
24249 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24250 Mark unused parameters.
24251
24252 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24253
24254 * delim-col.el (delimit-columns-max): Move defvar before first use.
24255
24256 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24257 (describe-char): Don't quote `lambda'. Mark unused parameter.
24258
24259 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24260 (auto-insert): Declare.
24261 (desktop-restore-file-buffer): Rename desktop-* parameters;
24262 mark unused ones.
24263 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24264 (desktop-buffer): Rename desktop-* parameters.
24265
24266 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24267 (dframe-reposition-frame-xemacs, dframe-help-echo)
24268 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24269 Mark unused parameters.
24270
24271 * dired-aux.el (backup-extract-version-start, overwrite-query)
24272 (overwrite-backup-query, rename-regexp-query)
24273 (rename-non-directory-query): Declare.
24274 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24275 (dired-add-entry): Remove unused variable `orig-file-name'.
24276 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24277 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24278 `dired-copy-preserve-time' directly.
24279 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24280 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24281
24282 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24283 (dired-virtual-revert, dired-make-relative-symlink):
24284 Mark unused parameters.
24285 (manual-program): Declare.
24286 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24287 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24288 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24289
24290 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24291
24292 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24293
24294 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24295 Declare.
24296
24297 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24298
24299 * electric.el (Electric-command-loop): Rename parameter
24300 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24301
24302 * expand.el (expand-in-literal): Remove unused variable `here'.
24303
24304 * facemenu.el (facemenu-add-new-color):
24305 Remove unused variable `docstring'.
24306
24307 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24308 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24309 (face-attr-construct): Mark unused parameter. Doc fix.
24310 (read-color): Remove unused variable `hex-string'.
24311
24312 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24313 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24314 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24315 (display-buffer-other-frame): Remove unused variable `old-window'.
24316 (kill-buffer-hook): Declare.
24317 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24318 Mark unused parameters.
24319 (after-find-file): Pass 1 to `auto-save-mode', not t.
24320
24321 * files-x.el (auto-insert): Declare.
24322 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24323
24324 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24325 variable `buf'. Mark unused parameter.
24326 (find-lisp-insert-directory): Mark unused parameter.
24327
24328 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24329 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24330 (format-common-tail): Remove, unused.
24331 (format-deannotate-region): Remove unused variable `loc'.
24332 (format-annotate-region): Remove unused variable `p'.
24333 (format-annotate-single-property-change): Remove unused variables
24334 `default' and `tail'.
24335
24336 * forms.el (read-file-filter): Declare.
24337 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24338
24339 * frame.el (frame-creation-function-alist): Mark unused parameter.
24340 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24341
24342 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24343 Remove unused parameters.
24344 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24345 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24346
24347 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24348 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24349 (hfy-prepare-tag-map): Mark unused parameters.
24350 (htmlfontify-buffer): Use `called-interactively-p'.
24351
24352 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24353 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24354 (ibuffer-do-occur): Mark unused parameters.
24355 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24356 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24357
24358 * ibuffer.el: Don't quote `lambda'.
24359 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24360 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24361 Mark unused parameters.
24362
24363 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24364 (ido-completing-read): Mark unused parameters.
24365 (ido-copy-current-word): Mark unused parameters;
24366 remove unused variable `name'.
24367 (ido-sort-merged-list): Remove unused parameter `dirs'.
24368
24369 * ielm.el (ielm-input-sender): Mark unused parameter.
24370 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24371 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24372 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24373 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24374 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24375
24376 * image-dired.el (image-dired-display-thumbs): Remove unused
24377 variables `curr-file' and `count'.
24378 (image-dired-remove-tag): Remove unused variable `start'.
24379 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24380 variable `curr-file'
24381 (image-dired-rotate-original): Remove unused variable `temp-file'.
24382 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24383 Remove unused variable `file'.
24384 (image-dired-gallery-generate): Remove unused variable `curr'.
24385 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24386
24387 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24388
24389 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24390
24391 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24392
24393 * isearch.el (minibuffer-history-symbol): Declare.
24394 (isearch-edit-string): Remove unused variable `err'.
24395 (isearch-message-prefix, isearch-message-suffix):
24396 Mark unused parameters.
24397
24398 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24399
24400 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24401
24402 * makesum.el (double-column): Remove unused variable `cnt'.
24403
24404 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24405 (ido-ignore-item-temp-list): Declare.
24406
24407 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24408 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24409 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24410 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24411 `mouse-col-delta'.
24412
24413 * mouse-sel.el (mouse-extend-internal):
24414 Remove unused variable `orig-window-frame'.
24415
24416 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24417 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24418 Move declarations before first use.
24419 (pcomplete-opt): Mark unused parameters; doc fix.
24420
24421 * proced.el (proced-revert): Mark unused parameter.
24422 (proced-send-signal): Remove unused variable `err'.
24423
24424 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24425 Rename parameter PREFIX-ARG to ARG.
24426 (ps-basic-plot-string, ps-basic-plot-whitespace):
24427 Mark unused parameters.
24428
24429 * replace.el (replace-count): Define.
24430 (occur-revert-function): Mark unused parameters.
24431 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24432 (isearch-case-fold-search, isearch-string): Declare.
24433 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24434 bind `case-fold-search'. Remove unused variables `beg' and `end',
24435 and simplify.
24436 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24437 COUNT and bind `replace-count'.
24438 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24439 to COUNT.
24440
24441 * savehist.el (print-readably, print-string-length): Declare.
24442
24443 * shadowfile.el (shadow-expand-cluster-in-file-name):
24444 Remove unused variable `cluster'.
24445 (shadow-copy-file): Remove unused variable `i'.
24446 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24447 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24448 (shadow-define-literal-group, shadow-define-regexp-group)
24449 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24450
24451 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24452 (shell): Use `called-interactively-p'.
24453 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24454
24455 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24456 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24457 (delete-backward-char): Remove unused variable `ocol'.
24458 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24459 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24460 (event-apply-hyper-modifier, event-apply-shift-modifier)
24461 (event-apply-control-modifier, event-apply-meta-modifier):
24462 Mark unused parameters.
24463 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24464 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24465
24466 * speedbar.el (speedbar-ignored-directory-expressions)
24467 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24468 (speedbar-find-file, speedbar-dir-follow)
24469 (speedbar-directory-buttons-follow, speedbar-tag-find)
24470 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24471 (speedbar-buffers-line-directory, speedbar-buffer-click):
24472 Mark unused parameters.
24473 (speedbar-tag-file): Remove unused variable `mode'.
24474 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24475
24476 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24477
24478 * talk.el (talk): Remove unused variable `display'.
24479
24480 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24481 (tar-write-region-annotate): Mark unused parameter.
24482
24483 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24484 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24485 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24486 warning by another.
24487
24488 * time-stamp.el (time-stamp-string-preprocess):
24489 Remove unused variable `require-padding'.
24490
24491 * tree-widget.el (widget-glyph-enable): Declare.
24492 (tree-widget-action): Mark unused parameter.
24493
24494 * w32-fns.el (x-get-selection): Mark unused parameter.
24495 (autoload-make-program, generated-autoload-file): Declare.
24496
24497 * wdired.el (wdired-revert): Mark unused parameters.
24498 (wdired-xcase-word): Remove unused variable `err'.
24499
24500 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24501 (whitespace-help-scroll): Remove unused variable `data-help'.
24502
24503 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24504 (widget-image-insert, widget-after-change, default)
24505 (widget-default-format-handler, widget-default-notify)
24506 (widget-default-prompt-value, widget-info-link-action)
24507 (widget-url-link-action, widget-function-link-action)
24508 (widget-variable-link-action, widget-file-link-action)
24509 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24510 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24511 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24512 (widget-insert-button-action, widget-delete-button-action, visibility)
24513 (widget-documentation-link-action, widget-documentation-string-action)
24514 (widget-const-prompt-value, widget-regexp-match, symbol)
24515 (widget-coding-system-prompt-value)
24516 (widget-key-sequence-value-to-external, sexp)
24517 (widget-sexp-value-to-internal, character, vector, cons)
24518 (widget-choice-prompt-value, widget-boolean-prompt-value)
24519 (widget-color--choose-action): Mark unused parameters.
24520 (widget-item-match-inline, widget-choice-match-inline)
24521 (widget-checklist-match, widget-checklist-match-inline)
24522 (widget-group-match): Rename parameter VALUES to VALS.
24523 (widget-field-value-set): Remove unused variable `size'.
24524 (widget-color-action): Remove unused variables `value' and `start'.
24525
24526 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24527 variable `dir'. Doc fix.
24528 (windmove-find-other-window): Don't pass it.
24529
24530 * window.el (count-windows): Mark unused parameter.
24531 (bw-adjust-window): Remove unused variable `err'.
24532
24533 * woman.el (woman-file-name): Remove unused variable `default'.
24534 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24535 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24536 (global-font-lock-mode): Declare.
24537 (woman-decode-region): Mark unused parameter.
24538 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24539
24540 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24541 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24542 (x-dnd-handle-moz-url): Remove unused variable `title'.
24543 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24544
24545 * xml.el (xml-parse-tag, xml-parse-attlist):
24546 Remove unused variable `pos'.
24547
24548 2011-04-19 Glenn Morris <rgm@gnu.org>
24549
24550 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24551 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24552 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24553 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24554 * calendar/cal-html.el (cal-html-insert-minical):
24555 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24556 (calendar-mark-date-pattern):
24557 Prefix "unused" locals.
24558
24559 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24560 optional argument `style'.
24561
24562 * calendar/appt.el (appt-make-list):
24563 * calendar/cal-china.el (calendar-chinese-date-string):
24564 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24565 (diary-hebrew-yahrzeit):
24566 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24567 * calendar/calendar.el (calendar-generate-window):
24568 * calendar/time-date.el (time-to-days):
24569 Remove unused local variables.
24570
24571 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24572
24573 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24574 glyphless-char-display table.
24575 (tabulated-list-glyphless-char-display): New var.
24576
24577 2011-04-18 Sam Steingold <sds@gnu.org>
24578
24579 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24580 to acknowledgments.
24581
24582 2011-04-17 Glenn Morris <rgm@gnu.org>
24583
24584 * calendar/diary-lib.el (diary-sexp-entry):
24585 * calendar/holidays.el (holiday-sexp):
24586 Set debug-on-error rather than the removed stack-trace-on-error.
24587
24588 2011-04-16 Glenn Morris <rgm@gnu.org>
24589
24590 * progmodes/f90.el: Use lexical-binding.
24591 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24592
24593 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24594
24595 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24596 (mail-mode): Setup mailalias completion here instead.
24597 * mail/mailalias.el: Use lexical-binding.
24598 (pattern, mailalias-done): Declare dynamic.
24599 (mail-completion-at-point-function): New function, from mail-complete.
24600 (mail-complete): Use it.
24601 (mail-completion-expand): New function.
24602 (mail-get-names): Use it.
24603 (mail-directory, mail-directory-process, mail-directory-stream):
24604 Don't use `pattern' for lexically bound arg.
24605
24606 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24607
24608 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24609 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24610 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24611
24612 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24613 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24614 (byte-interactive-p): Define them again, for use when inlining
24615 old code.
24616
24617 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24618
24619 * loadup.el: Use `string-to-number', not `string-to-int'.
24620
24621 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24622
24623 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24624 gud-gdb-complete-command.
24625 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24626 (gud-gdb-completion-at-point): New function.
24627 (gud-gdb-completions): Remove.
24628
24629 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24630
24631 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24632 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24633 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24634 whether `executable-find' is bound.
24635
24636 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24637
24638 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24639
24640 * minibuffer.el (completion-in-region-mode-predicate)
24641 (completion-in-region-mode--predicate): New vars.
24642 (completion-in-region, completion-in-region--postch)
24643 (completion-in-region-mode): Use them.
24644 (completion--capf-wrapper): Also return the hook function.
24645 (completion-at-point, completion-help-at-point):
24646 Adjust and provide a predicate.
24647
24648 Preserve arg names for advice of subr and lexical functions (bug#8457).
24649 * help-fns.el (help-function-arglist): Consolidate the subr and
24650 new-byte-code cases. Add argument `preserve-names' to extract names
24651 from the docstring when needed.
24652 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24653 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24654 (ad-arglist): Use help-function-arglist's new arg.
24655 (ad-definition-type): Use cond.
24656
24657 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24658
24659 * autorevert.el (auto-revert-handler):
24660 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24661 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24662 Don't quote lambda.
24663
24664 * image-mode.el (image-transform-set-scale):
24665 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24666
24667 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24668
24669 * net/network-stream.el (network-stream-open-starttls): Only do
24670 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24671 Upgrades via gnutls-cli are too slow to be done opportunistically.
24672
24673 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24674
24675 * dframe.el (dframe-current-frame): Remove spurious quote.
24676
24677 2011-04-12 Glenn Morris <rgm@gnu.org>
24678
24679 * calendar/cal-tex.el (cal-tex-end-document):
24680 Try to automatically use latin1 input if needed.
24681
24682 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24683 Don't try to cons a mark onto an empty element.
24684
24685 2011-04-11 Leo Liu <sdl.web@gmail.com>
24686
24687 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24688 buffers.
24689 (ido-kill-buffer-at-head): Support killing virtual buffers.
24690
24691 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24692
24693 * minibuffer.el (completion-show-inline-help): New var.
24694 (completion--do-completion, minibuffer-complete)
24695 (minibuffer-force-complete, minibuffer-complete-word):
24696 Inhibit minibuffer messages if completion-show-inline-help is nil.
24697
24698 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24699 to avoid interference from inline help (Bug#5849).
24700
24701 2011-04-10 Leo Liu <sdl.web@gmail.com>
24702
24703 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24704 Fix typo.
24705
24706 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24707
24708 * image-mode.el (image-toggle-display-image): Signal an error if
24709 not in Image mode.
24710 (image-transform-mode, image-transform-resize)
24711 (image-transform-set-rotation): Doc fix.
24712 (image-transform-set-resize): Delete.
24713 (image-transform-set-scale, image-transform-fit-to-height)
24714 (image-transform-fit-to-width): Handle image-toggle-display-image
24715 and image-transform-resize directly.
24716
24717 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24718
24719 * doc-view.el (doc-view-fit-width-to-window)
24720 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24721 New functions for fitting the shown image to the Emacs window size.
24722 (doc-view-mode-map): Add bindings for the new functions.
24723
24724 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24725
24726 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24727 Fix typo in docstring.
24728
24729 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24730
24731 * files.el (file-size-human-readable): Produce one digit after
24732 decimal, like "ls -lh" does.
24733
24734 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24735 the file size representation.
24736
24737 * simple.el (list-processes): If async subprocesses are not
24738 available, error out with a clear error message.
24739
24740 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24741
24742 * help.el (help-form-show): New function, to be called from C.
24743 Put help-form output in a buffer named differently than *Help*.
24744
24745 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24746
24747 * files.el (file-size-human-readable): New function.
24748
24749 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24750 computing the representation inline. Don't require `cl'.
24751
24752 2011-04-08 Glenn Morris <rgm@gnu.org>
24753
24754 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24755
24756 * net/browse-url.el (browse-url-firefox):
24757 Test system-type, not system-configuration.
24758
24759 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24760 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24761 Use log-edit-empty-buffer-p. (Bug#7598)
24762
24763 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24764 (rlogin-mode-map): Initialize in the defvar.
24765 (rlogin): Use ignore-errors.
24766
24767 * replace.el (occur-mode-map): Some fixes for menu items.
24768
24769 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24770
24771 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24772
24773 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24774
24775 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24776 issuing unused warnings.
24777
24778 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24779 macro directly.
24780
24781 * simple.el: Lisp reimplement of list-processes. Based on an
24782 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24783 (process-menu-mode): New major mode.
24784 (list-processes--refresh, list-processes):
24785 (process-menu-visit-buffer): New functions.
24786
24787 * files.el (save-buffers-kill-emacs): Don't assume any return
24788 value of list-processes, which is undocumented anyway.
24789
24790 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24791
24792 * emacs-lisp/tabulated-list.el: New file.
24793
24794 * emacs-lisp/package.el: Use Tabulated List mode.
24795 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24796 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24797 table format using Tabulated List mode variables.
24798 (package--push): New macro, replacing package-list-maybe-add.
24799 (package-menu--generate): Use package--push. Renamed from
24800 package--generate-package-list.
24801 (package-menu-refresh, list-packages): Use it.
24802 (package-menu--print-info): Rename from package-print-package.
24803 Return insertion data instead of inserting it directly.
24804 (package-menu-describe-package, package-menu-execute):
24805 Use tabulated-list-get-id.
24806 (package-menu-mark-delete, package-menu-mark-install)
24807 (package-menu-mark-unmark, package-menu-backup-unmark)
24808 (package-menu-mark-obsolete-for-deletion):
24809 Use tabulated-list-put-tag.
24810 (package--list-packages, package-menu-revert)
24811 (package-menu-get-package, package-menu-get-version)
24812 (package-menu-sort-by-column): Functions deleted.
24813 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24814 (package-menu--status-predicate, package-menu--version-predicate)
24815 (package-menu--name-predicate)
24816 (package-menu--description-predicate): Handle arguments in the
24817 Tabulated List format.
24818 (package-list-packages-no-fetch): Call list-packages.
24819
24820 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24821
24822 * files.el (after-find-file-from-revert-buffer): Remove variable.
24823 (after-find-file): Don't bind it.
24824 (revert-buffer-in-progress-p): New variable.
24825 (revert-buffer): Bind it.
24826 Pass nil for `after-find-file-from-revert-buffer'.
24827
24828 * saveplace.el (save-place-find-file-hook): Use new variable
24829 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24830
24831 2011-04-06 Glenn Morris <rgm@gnu.org>
24832
24833 * Makefile.in (AUTOGEN_VCS): New variable.
24834 (autoloads): Use $AUTOGEN_VCS.
24835
24836 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24837 * calendar/calendar.el (calendar-mode-map):
24838 Check for toolkit scroll bars. (Bug#8305)
24839
24840 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24841
24842 * minibuffer.el (completion-in-region--postch)
24843 (completion-in-region-mode): Remove unnecessary messages.
24844
24845 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24846
24847 * font-lock.el (font-lock-refresh-defaults):
24848 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24849 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24850
24851 * info.el (Info-directory-list, Info-read-node-name-2)
24852 (Info-split-parameter-string): Doc fixes.
24853 (Info-virtual-nodes): Reflow docstring.
24854 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24855 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24856 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24857 Fix typos in docstrings.
24858 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24859 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24860 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24861 (Info-restore-desktop-buffer): Mark unused parameters.
24862 (Info-directory-find-file, Info-directory-find-node)
24863 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24864 (Info-virtual-index-find-node, Info-apropos-find-file)
24865 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24866 Mark unused parameters; fix typos in docstrings.
24867 (Info-virtual-index): Remove unused local variable `nodename'.
24868
24869 2011-04-05 Deniz Dogan <deniz@dogan.se>
24870
24871 * net/rcirc.el: Update my e-mail address.
24872 (rcirc-mode-map): Remove M-o binding.
24873
24874 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24875
24876 * startup.el (command-line): Save the cursor's theme-face
24877 directly, instead of using face-override-spec.
24878
24879 * custom.el (load-theme): Minor optimization in assigning faces.
24880
24881 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24882
24883 * help-fns.el (describe-variable): Complete all variables having
24884 documentation, including keywords.
24885 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24886
24887 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24888
24889 Convert to lexical-binding.
24890
24891 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24892 (bs--get-marked-string, bs--get-modified-string)
24893 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24894 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24895 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24896
24897 * ehelp.el (electric-help-execute-extended)
24898 (electric-help-ctrl-x-prefix):
24899 * hexl.el (hexl-revert-buffer-function):
24900 * linum.el (linum-after-change, linum-after-scroll):
24901 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24902
24903 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24904
24905 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24906
24907 * epa-dired.el:
24908 * epa-mail.el:
24909 * epa-hook.el:
24910 * epa-file.el:
24911 * epa.el:
24912 * epg.el: Use lexical binding.
24913
24914 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24915
24916 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24917
24918 * textmodes/flyspell.el (flyspell-word): Recognize default
24919 dictionary case for flyspell-mark-duplications-exceptions.
24920 Use regexp matching for languages.
24921 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24922 default dictionary (Bug#7926).
24923
24924 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24925
24926 * emacs-lisp/package.el (package--with-work-buffer):
24927 Recognize https URLs.
24928
24929 * net/network-stream.el: Move from gnus/proto-stream.el.
24930 Change prefix to network-stream throughout.
24931 (open-protocol-stream): Merge into open-network-stream, leaving
24932 open-protocol-stream as an alias. Handle nil BUFFER args.
24933
24934 * subr.el (open-network-stream): Move to net/network-stream.el.
24935
24936 2011-04-02 Glenn Morris <rgm@gnu.org>
24937
24938 * find-dired.el (find-exec-terminator): New option.
24939 (find-ls-option): Test for -ls support.
24940 (find-ls-subdir-switches): Test for -b in find-ls-option.
24941 (find-dired, find-grep-dired): Doc fixes.
24942 (find-dired): Use find-exec-terminator.
24943
24944 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24945 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24946 (find-name-arg): Remove purecopy.
24947
24948 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24949 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24950 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24951 accordingly. Don't add the null-device if not needed.
24952
24953 * files.el (save-some-buffers): Doc fix.
24954
24955 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24956
24957 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24958
24959 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24960
24961 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24962 Use `dolist' rather than `mapcar'.
24963
24964 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24965
24966 Add lexical binding.
24967
24968 * subr.el (apply-partially): Use new closures rather than CL.
24969 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24970 (dolist, dotimes): Use slightly different expansion for lexical code.
24971 (functionp): Move to C.
24972 (letrec): New macro.
24973 (with-wrapper-hook): Use it and apply-partially instead of CL.
24974 (eval-after-load): Preserve lexical-binding.
24975 (save-window-excursion, with-output-to-temp-buffer): Turn them
24976 into macros.
24977
24978 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24979
24980 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24981 than the arglist.
24982 (help-add-fundoc-usage): Don't add `Not documented'.
24983 (help-function-arglist): Handle closures, subroutines, and new
24984 byte-code-functions.
24985 (help-make-usage): Remove leading underscores.
24986 (describe-function-1): Handle closures.
24987 (describe-variable): Use special-variable-p for completion.
24988
24989 * files.el (lexical-binding): Declare safe.
24990
24991 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24992 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24993 (pcase): Add `let' pattern.
24994 Change memoization so it actually works.
24995 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24996 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24997 <let>: New case.
24998
24999 * emacs-lisp/macroexp.el: Use lexical binding.
25000 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25001 Don't convert ' to #' without checking that it's indeed quoting
25002 a lambda.
25003
25004 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25005 Use eval-sexp-add-defvars.
25006 (eval-sexp-add-defvars): New fun.
25007
25008 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25009
25010 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25011 Don't autoload.
25012 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25013 than the internal `byte-compile-lambda'.
25014 (defmethod): Don't hide code under quotes.
25015 (eieio-defmethod): New `code' argument.
25016
25017 * emacs-lisp/eieio-comp.el: Remove.
25018
25019 * emacs-lisp/edebug.el (edebug-eval-defun)
25020 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25021 (edebug-toggle): Avoid `eval'.
25022
25023 * emacs-lisp/disass.el (disassemble-internal): Handle new
25024 `closure' objects.
25025 (disassemble-1): Handle new byte codes.
25026
25027 * emacs-lisp/cl.el (pushnew): Silence warning.
25028
25029 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25030 (cl-byte-compile-throw): Remove.
25031 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25032
25033 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25034 closures.
25035
25036 * emacs-lisp/cconv.el: New file.
25037
25038 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25039 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25040 (byte-compile-initial-macro-environment):
25041 Handle declare-function here.
25042 (byte-compile--lexical-environment): New var.
25043 (byte-stack-ref, byte-stack-set, byte-discardN)
25044 (byte-discardN-preserve-tos): New lap codes.
25045 (byte-interactive-p): Don't use any more.
25046 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25047 New macros.
25048 (byte-compile-lapcode): Use them and handle new lap codes.
25049 (byte-compile-obsolete): Remove.
25050 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25051 (byte-compile-arglist-warn): Check late def of inlinable funs.
25052 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25053 since they should have been expanded by now.
25054 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25055 (byte-compile-from-buffer): Remove unused second arg.
25056 (byte-compile-preprocess): New function.
25057 (byte-compile-toplevel-file-form): New function to distinguish
25058 file-form calls from outside from file-form calls from hunk-handlers.
25059 (byte-compile-file-form): Simplify.
25060 (byte-compile-file-form-defsubst): Remove.
25061 (byte-compile-file-form-defmumble): Simplify now that
25062 byte-compile-lambda always returns a byte-code-function.
25063 (byte-compile): Preprocess.
25064 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25065 Remove, not used any more.
25066 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25067 (byte-compile-make-args-desc): New funs.
25068 (byte-compile-lambda): Handle lexical functions. Always return
25069 a byte-code-function.
25070 (byte-compile-reserved-constants): New var, to make up room for
25071 closed-over variables.
25072 (byte-compile-constants-vector): Obey it.
25073 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25074 (byte-compile-macroexpand-declare-function): New function.
25075 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25076 byte-code-functions.
25077 (byte-compile-form): Check obsolescence here.
25078 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25079 (byte-compile-variable-ref): Remove.
25080 (byte-compile-dynamic-variable-op): New fun.
25081 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25082 (byte-compile-variable-set): New funs.
25083 (byte-compile-discard): Add 2 args.
25084 (byte-compile-stack-ref, byte-compile-stack-set)
25085 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25086 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25087 macroexpand-all instead.
25088 (byte-compile-quote-form): Remove.
25089 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25090 (byte-compile-bind, byte-compile-unbind): New funs.
25091 (byte-compile-let): Handle let* and lexical binding.
25092 (byte-compile-let*): Remove.
25093 (byte-compile-catch, byte-compile-unwind-protect)
25094 (byte-compile-track-mouse, byte-compile-condition-case):
25095 Handle a new :fun-body form, used for lexical scoping.
25096 (byte-compile-save-window-excursion)
25097 (byte-compile-with-output-to-temp-buffer): Remove.
25098 (byte-compile-defun): Simplify.
25099 (byte-compile-stack-adjustment): New fun.
25100 (byte-compile-out): Use it.
25101 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25102
25103 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25104 handler any more.
25105
25106 * emacs-lisp/byte-opt.el: Use lexical binding.
25107 (byte-inline-lapcode): Remove (to bytecomp).
25108 (byte-compile-inline-expand): Pay attention to inlining to/from
25109 lexically bound code.
25110 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25111 any more.
25112 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25113 any more and don't call compiler-macros.
25114 (byte-compile-splice-in-already-compiled-code): Remove.
25115 (byte-code): Don't inline any more.
25116 (disassemble-offset): Receive `bytes' as argument rather than via
25117 dynamic scoping.
25118 (byte-compile-tag-number): Declare before first use.
25119 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25120 `return' even if make-spliceable.
25121 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25122 obsolete interactive-p.
25123 (byte-optimize-lapcode): Optimize new lap-codes.
25124 Don't trip up on new form of `byte-constant' lap code.
25125
25126 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25127
25128 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25129
25130 * custom.el (custom-initialize-default, custom-declare-variable):
25131 Use `defvar'.
25132
25133 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25134 New variables.
25135 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25136 (COMPILE_FIRST): Add macroexp and cconv.
25137 * makefile.w32-in: Mirror changes in Makefile.in.
25138
25139 * vc/cvs-status.el:
25140 * vc/diff-mode.el:
25141 * vc/log-edit.el:
25142 * vc/log-view.el:
25143 * vc/smerge-mode.el:
25144 * textmodes/bibtex-style.el:
25145 * textmodes/css-mode.el:
25146 * startup.el:
25147 * uniquify.el:
25148 * minibuffer.el:
25149 * newcomment.el:
25150 * reveal.el:
25151 * server.el:
25152 * mpc.el:
25153 * emacs-lisp/smie.el:
25154 * doc-view.el:
25155 * dired.el:
25156 * abbrev.el: Use lexical binding.
25157
25158 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25159
25160 * info.el (info-display-manual): New function.
25161
25162 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25163
25164 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25165
25166 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25167
25168 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25169 an entry for that server in rcirc-authinfo. (Bug#8385)
25170
25171 2011-03-31 Glenn Morris <rgm@gnu.org>
25172
25173 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25174
25175 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25176
25177 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25178
25179 * progmodes/python.el (python-default-interpreter)
25180 (python-python-command-args, python-jython-command-args)
25181 (python-which-shell, python-which-args, python-which-bufname)
25182 (python-file-queue, python-comint-output-filter-function)
25183 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25184 variables and functions.
25185
25186 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25187
25188 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25189 (completion-in-region-mode): New minor mode.
25190 (completion-in-region): Use it.
25191 (completion-in-region--data, completion-in-region-mode-map): New vars.
25192 (completion-in-region--postch): New function.
25193 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25194 New vars.
25195 (completion--capf-wrapper): New function.
25196 (completion-at-point): Use it to track well-behavedness of
25197 hook functions.
25198 (completion-help-at-point): New command.
25199
25200 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25201
25202 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25203 syntax class to search for whitespace on a single line
25204 (Message-ID: <4D938140.4030905@redhat.com>).
25205
25206 2011-03-30 Leo Liu <sdl.web@gmail.com>
25207
25208 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25209 New commands.
25210 (edit-abbrevs-map): Bind them here.
25211 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25212
25213 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25214
25215 * allout.el (allout-hide-by-annotation, allout-flag-region):
25216 Reduce possibility of overlay leakage by making them volatile.
25217
25218 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25219 hash is not shared between buffers. Mode initialization is
25220 responsible for giving it a useful starting value.
25221 (allout-item-span): Reduce possibility of overlay leakage by
25222 making them volatile.
25223 (allout-widgets-count-buttons-in-region): Add diagnostic function
25224 for tracking down button overlay leaks.
25225
25226 2011-03-29 Leo Liu <sdl.web@gmail.com>
25227
25228 * ido.el (ido-read-internal): Use the default history var
25229 minibuffer-history if no HISTORY is specified.
25230
25231 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25232
25233 * net/imap.el (imap-shell-open, imap-process-connection-type):
25234 Use imap-process-connection-type for 'shell' streams as well as
25235 Kerberos, SSL, other subprocesses.
25236
25237 2011-03-28 Leo Liu <sdl.web@gmail.com>
25238
25239 * abbrev.el (abbrev-table-empty-p): New function.
25240 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25241 nonempty ones. (Bug#5937)
25242
25243 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25244
25245 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25246
25247 2011-03-27 Leo Liu <sdl.web@gmail.com>
25248
25249 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25250 for foreground and background colors.
25251 (ansi-color-make-color-map): Adapt.
25252
25253 2011-03-25 Leo Liu <sdl.web@gmail.com>
25254
25255 * midnight.el (midnight-time-float): Remove. Note it calculates
25256 the microsecond component incorrectly and seconds-to-time does the
25257 same job.
25258 Remove redundant (require 'timer).
25259
25260 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25261 (ido-completions): Remove unused arguments. (Bug#8329)
25262
25263 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25264
25265 * minibuffer.el (completion--flush-all-sorted-completions):
25266 Remove itself from hook.
25267 (completion-at-point): Let the functions perform the completion
25268 immediately and return nil or t.
25269 * comint.el (comint-dynamic-complete-functions): Now identical to
25270 completion-at-point-functions.
25271 (comint-dynamic-list-input-ring): Remove unused var `index'.
25272 (comint--match-partial-filename, comint--unquote&expand-filename):
25273 New funs, split from comint-match-partial-filename.
25274 (comint-dynamic-complete): Use completion-at-point.
25275 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25276
25277 2011-03-24 Drew Adams <drew.adams@oracle.com>
25278
25279 * thingatpt.el: Support `defun'.
25280
25281 2011-03-23 Leo Liu <sdl.web@gmail.com>
25282
25283 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25284
25285 * help-mode.el (help-mode-finish): Tweak regexp.
25286
25287 2011-03-23 Glenn Morris <rgm@gnu.org>
25288
25289 * eshell/esh-opt.el (eshell-eval-using-options):
25290 Do not bind unused local variable `eshell-option-stub'.
25291
25292 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25293
25294 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25295
25296 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25297 keymap variable in `with-no-warnings' to avoid a warning when the
25298 keymap has been already `defconst'ed.
25299
25300 2011-03-22 Leo Liu <sdl.web@gmail.com>
25301
25302 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25303 encode all chars in abbrevs; otherwise use emacs-mule or
25304 utf-8-emacs. (Bug#8308)
25305
25306 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25307
25308 * simple.el (backward-delete-char-untabify):
25309 Avoid warning about using `delete-backward-char'.
25310
25311 * image.el (image-type-file-name-regexps): Make it variable.
25312 `imagemagick-register-types' modifies it, and the user may want
25313 to add new extensions for known image types.
25314 (imagemagick-register-types): Throw error if not using ImageMagick.
25315
25316 2011-03-22 Leo Liu <sdl.web@gmail.com>
25317
25318 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25319 located before rcirc-prompt-end-marker.
25320 (rcirc-complete): Error if point is not after rcirc prompt.
25321 Handle the case when table is nil.
25322 (rcirc-user-authenticated): Define to fix compiler warning.
25323
25324 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25325
25326 * custom.el (custom--inhibit-theme-enable): Make it affect only
25327 custom-theme-set-variables and custom-theme-set-faces.
25328 (provide-theme): Ignore custom--inhibit-theme-enable.
25329 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25330 (custom-enabling-themes): Delete variable.
25331 (enable-theme): Accept only loaded themes as arguments.
25332 Ignore the special custom-enabled-themes variable.
25333 (custom-enabled-themes): Forbid themes from setting this.
25334 Eliminate use of custom-enabling-themes.
25335 (custom-push-theme): Quote "changed" custom var entry.
25336
25337 2011-03-21 Leo Liu <sdl.web@gmail.com>
25338
25339 * ido.el (ido-read-internal): Add ido-selected to history instead
25340 of user input.
25341
25342 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25343
25344 * subr.el (deferred-action-list, deferred-action-function):
25345 Mark obsolete.
25346
25347 2011-03-21 Leo Liu <sdl.web@gmail.com>
25348
25349 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25350 change on 2011-02-13 (bug#8309).
25351
25352 * minibuffer.el (read-file-name-function): Change default value.
25353 (read-file-name--defaults): Rename from read-file-name-defaults.
25354 (read-file-name-default): Rename from read-file-name.
25355 (read-file-name): Call read-file-name-function.
25356
25357 2011-03-21 Glenn Morris <rgm@gnu.org>
25358
25359 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25360 Doc fixes.
25361
25362 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25363
25364 * cus-theme.el: Add missing provide statement.
25365 (customize-create-theme): Extract theme value correctly.
25366 (custom-theme-visit-theme): Autoload.
25367 (customize-create-theme): Prompt before inserting default faces.
25368
25369 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25370
25371 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25372 units and musical notes.
25373
25374 2011-03-20 Leo Liu <sdl.web@gmail.com>
25375
25376 * ido.el (ido-read-internal): Use completing-read-default.
25377 (ido-completing-read): Fix compatibility with completing-read.
25378
25379 2011-03-20 Christian Ohler <ohler@gnu.org>
25380
25381 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25382 (ert-delete-all-tests): Use `called-interactively-p' rather than
25383 `interactive-p'.
25384 (ert--make-xrefs-region): Respect END.
25385
25386 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25387
25388 * dired-aux.el (dired-create-directory): Signal an error if the
25389 directory already exists (Bug#8246).
25390
25391 * facemenu.el (list-colors-display): Call list-faces-display
25392 inside with-help-window.
25393 (list-colors-print): Use display property to align the final
25394 column, instead of checking window-width.
25395
25396 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25397
25398 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25399 windows-nt systems.
25400 (emerge-protect-metachars): Quote correctly for ms-dos and
25401 windows-nt systems.
25402
25403 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25404
25405 * info.el (info-initialize): Replace all uses of `:' with
25406 path-separator for compatibility with non-Unix systems.
25407 Cache quoting of path-separator. (Bug#8258)
25408
25409 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25410
25411 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25412 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25413 (mouse-avoidance-mode): Fix typos in docstrings.
25414
25415 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25416
25417 * startup.el (package-subdirectory-regexp): Move from package.el.
25418 Omit \\` and \\', and let callers add them.
25419
25420 * emacs-lisp/package.el (package-strip-version)
25421 (package-load-all-descriptors): Add \\` and \\' to
25422 package-subdirectory-regexp before using it.
25423 (package-untar-buffer): New arg DIR; ensure that file untars only
25424 into this expected directory. Remove superfluous delete-region.
25425 (package-unpack): Caller changed.
25426 (package-tar-file-info): Use package-subdirectory-regexp.
25427
25428 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25429
25430 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25431 diff-mode-shared-map (bug#8284).
25432 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25433
25434 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25435
25436 * calendar/time-date.el (format-seconds): Use assoc instead of
25437 assoc-string, since assoc-string doesn't exist in XEmacs.
25438
25439 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25440
25441 * custom.el (custom-known-themes): Reflow docstring.
25442 (custom-theme-load-path): Fix typo in docstring.
25443 (load-theme): Fix typo in error message.
25444 (custom-available-themes, custom-variable-theme-value):
25445 Use `let', not `let*'.
25446
25447 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25448
25449 * calc/README: Mention inclusion of musical notes.
25450
25451 * calc/calc-units.el (calc-lu-quant): Rename from
25452 `calc-logunits-quantity'.
25453 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25454 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25455 (calc-db): Rename from `calc-dblevel'.
25456 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25457 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25458 (calc-np): Rename from `calc-nplevel'.
25459 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25460 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25461 (calc-lu-plus): Rename from `calc-logunits-add'.
25462 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25463 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25464 (calc-lu-minus): Rename from `calc-logunits-sub'.
25465 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25466 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25467 (calc-lu-times): Rename from `calc-logunits-mul'.
25468 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25469 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25470 (calc-lu-divide): Rename from `calc-logunits-div'.
25471 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25472 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25473
25474 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25475 functions being autoloaded.
25476
25477 * calc/calc.el (calc-lu-power-reference): Rename from
25478 `calc-logunits-power-reference'.
25479 (calc-lu-field-reference): Rename from
25480 `calc-logunits-field-reference'.
25481
25482 * calc/calc-help.el (calc-l-prefix-help):
25483 Mention musical note functions.
25484
25485 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25486
25487 * minibuffer.el (completion-all-sorted-completions):
25488 Use :completion-cycle-penalty text property if present.
25489
25490 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25491
25492 * allout.el (allout-yank-processing): Adjust for new rebulleting
25493 regime so bullet being yanked is used without prompting the user
25494 for a choice.
25495
25496 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25497
25498 * startup.el (command-line): Warn the user that _emacs is deprecated.
25499
25500 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25501
25502 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25503 (delphi-verbose, delphi-comment-face, delphi-string-face)
25504 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25505 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25506 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25507 (delphi-new-comment-line, delphi-font-lock-defaults)
25508 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25509 Fix typos in docstrings.
25510
25511 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25512
25513 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25514 Invert the roles of character and string values for INSTEAD, so a
25515 string is used for the more common case of a defaulting prompt.
25516
25517 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25518
25519 * progmodes/ruby-mode.el (ruby-backward-sexp):
25520 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25521 * play/gamegrid.el (gamegrid-make-face):
25522 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25523 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25524 * notifications.el (notifications-notify):
25525 * net/xesam.el (xesam-search-engines):
25526 * net/quickurl.el (quickurl-list-insert):
25527 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25528
25529 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25530
25531 * startup.el (command-line): Update package subdirectory regexp.
25532
25533 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25534
25535 * allout.el (allout-abbreviate-flattened-numbering)
25536 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25537
25538 * subr.el (read-char-choice): Only show the cursor after the prompt,
25539 not after the answer.
25540
25541 2011-03-15 Kevin Ryde <user42@zip.com.au>
25542
25543 * help-fns.el (variable-at-point): Skip leading quotes, if any
25544 (bug#8253).
25545
25546 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25547
25548 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25549 warning message.
25550
25551 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25552
25553 * shell.el (shell): When called interactively, offer to change the
25554 shell file name on remote hosts.
25555
25556 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25557
25558 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25559 integration for LDAP parameters. The host, base, user or binddn,
25560 and secret tokens can be specified in a netrc file, for instance.
25561 This is optional because an `auth-source' parameter must be
25562 specified in the search attributes.
25563
25564 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25565
25566 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25567
25568 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25569
25570 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25571 into declaration. Remove redundant and harmful binding.
25572
25573 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25574
25575 * files.el (file-ownership-preserved-p): Pass `integer' as an
25576 explicit 2nd argument to `file-attributes'. If the file's owner
25577 is the Administrators group on Windows, and the current user is
25578 Administrator, consider that a match.
25579
25580 * server.el (server-ensure-safe-dir): Consider server directory
25581 safe on MS-Windows if its owner is the Administrators group while
25582 the current Emacs user is Administrator. Use `=' to compare
25583 numerical UIDs, since they could be integers or floats.
25584
25585 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25586
25587 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25588
25589 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25590
25591 Sync with Tramp 2.2.1.
25592
25593 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25594
25595 * net/trampver.el: Update release number.
25596
25597 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25598
25599 * progmodes/compile.el (compilation--previous-directory): Fix up
25600 various nil/dead-marker mismatches (bug#8014).
25601 (compilation-directory-properties, compilation-error-properties):
25602 Don't call it at a position past the one we're about to change.
25603
25604 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25605 Disable obsolescence warnings in the file that declares it.
25606
25607 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25608
25609 * allout-widgets.el (allout-widgets-tally):
25610 Initialize allout-widgets-tally as a hash table rather than nil to
25611 prevent mode-line redisplay warnings. Also, clarify the module
25612 description and fix a comment typo.
25613
25614 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25615
25616 * help-fns.el (describe-variable): Don't complete keywords.
25617 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25618
25619 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25620
25621 * emacs-lisp/package.el (package-version-join): Impose a standard
25622 string representation for pre/alpha/beta version lists.
25623 (package-unpack-single): Standardize the directory name by passing
25624 it through package-version-join.
25625 (package-strip-rcs-id): Accept any version string that does not
25626 signal an error in version-to-list.
25627
25628 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25629
25630 * simple.el (delete-trailing-whitespace): Return nil for the
25631 benefit of `write-file-functions'.
25632
25633 2011-03-10 Glenn Morris <rgm@gnu.org>
25634
25635 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25636
25637 * vc/vc-git.el (vc-git-program): New option.
25638 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25639 (vc-git--call): Use it.
25640
25641 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25642
25643 * cus-edit.el (Custom-newline): If no button at point, look
25644 for a subgroup button at start-of-line. (Bug#2298)
25645
25646 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25647
25648 2011-03-10 Julien Danjou <julien@danjou.info>
25649
25650 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25651 `cursor-type' is nil.
25652
25653 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25654
25655 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25656
25657 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25658
25659 * allout.el: Change so yank of distinctive-bullet items
25660 preserves the existing header prefix, rebulleting it if necessary,
25661 rather than replacing it. This is necessary for proper operation
25662 of cooperative addons like allout-widgets.
25663 (allout-make-topic-prefix, allout-rebullet-heading):
25664 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25665 value as alternate bullet to be used, instead of prompting the user
25666 for a bullet character.
25667
25668 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25669
25670 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25671 Do not use `tramp-file-name-port', because this returns also
25672 `tramp-default-port'.
25673
25674 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25675
25676 * net/rcirc.el (rcirc-handler-001): Remove useless
25677 with-rcirc-process-buffer.
25678 (rcirc-check-auth-status): Swap arguments to string-match.
25679
25680 2011-03-09 Glenn Morris <rgm@gnu.org>
25681
25682 * shell.el (shell-mode):
25683 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25684
25685 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25686 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25687
25688 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25689
25690 * emacs-lisp/package.el (package-refresh-contents)
25691 (package-menu-execute): Use condition-case-no-debug.
25692
25693 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25694
25695 * simple.el (shell-command-to-string): Use `process-file'.
25696
25697 * emacs-lisp/package.el (package-tar-file-info): Handle also
25698 remote files.
25699
25700 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25701 Use `equal' for upload base check.
25702
25703 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25704
25705 * textmodes/texinfo.el (texinfo-environments):
25706 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25707
25708 2011-03-08 Glenn Morris <rgm@gnu.org>
25709
25710 * cus-start.el (cursor-in-non-selected-windows):
25711 Fix :set quoting oddness. (Bug#8192)
25712
25713 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25714 in some setf expressions. (Bug#2159)
25715
25716 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25717
25718 * custom.el (custom-available-themes): Return themes in
25719 alphabetical order.
25720
25721 See ChangeLog.15 for earlier changes.
25722
25723 ;; Local Variables:
25724 ;; coding: utf-8
25725 ;; End:
25726
25727 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25728
25729 This file is part of GNU Emacs.
25730
25731 GNU Emacs is free software: you can redistribute it and/or modify
25732 it under the terms of the GNU General Public License as published by
25733 the Free Software Foundation, either version 3 of the License, or
25734 (at your option) any later version.
25735
25736 GNU Emacs is distributed in the hope that it will be useful,
25737 but WITHOUT ANY WARRANTY; without even the implied warranty of
25738 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25739 GNU General Public License for more details.
25740
25741 You should have received a copy of the GNU General Public License
25742 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.