* lisp/emacs-lisp/package.el (package-compute-transaction): Fix last fix.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5
6 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7
8 * ispell.el (ispell-set-spellchecker-params):
9 Really set `ispell-args' for all equivs.
10
11 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * ido.el (ido-completions): Use extra elements of ido-decorations
14 (bug#14143).
15 (ido-decorations): Update docstring.
16
17 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18
19 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
21 nil during initialization, in order not to miss changes since the
22 file was opened. (Bug#14140)
23
24 2013-04-05 Leo Liu <sdl.web@gmail.com>
25
26 * kmacro.el (kmacro-call-macro): Fix bug#14135.
27
28 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
29
30 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
31
32 2013-04-04 Glenn Morris <rgm@gnu.org>
33
34 * electric.el (electric-pair-inhibit-predicate): Add :version.
35
36 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
39 when a package is required several times (bug#14082).
40
41 2013-04-04 Roland Winkler <winkler@gnu.org>
42
43 * faces.el (read-face-name): Behave as promised by the docstring.
44 Assume that arg default is a list of faces.
45 (describe-face): Call read-face-name with list of default faces.
46
47 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
48
49 * bookmark.el: Fix deletion of bookmarks (bug#13972).
50 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
51 (bookmark-bmenu-execute-deletions): Only skip first line if it's
52 the header.
53 (bookmark-exit-hook-internal): Save even if list is empty.
54
55 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
56
57 * emacs-lisp/package.el (package-pinned-packages): New var.
58 (package--add-to-archive-contents): Obey it (bug#14118).
59
60 2013-04-03 Alan Mackenzie <acm@muc.de>
61
62 Handle `parse-partial-sexp' landing inside a comment opener
63 (Bug#13244). Also adapt to the new values of element 7 of a parse
64 state.
65
66 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
67 parameter `not-in-delimiter'. Handle being inside comment opener.
68 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
69 character in case we're typing a '*' after a '/'.
70 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
71 instead by passing the parameter to c-state-pp-to-literal.
72
73 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
74 for elt. 7 of a parse state.
75
76 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
77
78 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
79 * international/latin1-disp.el, international/mule-util.el:
80 * language/cyril-util.el, language/european.el, language/ind-util.el:
81 * language/lao-util.el, language/thai.el, language/tibet-util.el:
82 * language/tibetan.el, language/viet-util.el:
83 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
84
85 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
88 (electric-pair-post-self-insert-function): Use it.
89 (electric-pair-default-inhibit): New function, extracted from
90 electric-pair-post-self-insert-function.
91
92 2013-03-31 Roland Winkler <winkler@gnu.org>
93
94 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
95
96 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
99
100 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
101
102 Un-indent after "pass" and "return" statements (Bug#13888)
103 * progmodes/python.el (python-indent-block-enders): New var.
104 (python-indent-calculate-indentation): Use it.
105
106 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
107
108 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
109 defun. Defining it as defalias could introduce too eager
110 byte-compiler optimization. (Bug#14030)
111
112 2013-03-30 Chong Yidong <cyd@gnu.org>
113
114 * iswitchb.el (iswitchb-read-buffer): Fix typo.
115
116 2013-03-30 Leo Liu <sdl.web@gmail.com>
117
118 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
119 (kmacro-execute-from-register): Pass the keyboard macro to
120 kmacro-call-macro or repeating won't work correctly.
121
122 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
123
124 * progmodes/subword.el: Back to using `forward-symbol'.
125
126 * subr.el (forward-whitespace, forward-symbol)
127 (forward-same-syntax): Move from thingatpt.el.
128
129 2013-03-29 Leo Liu <sdl.web@gmail.com>
130
131 * kmacro.el (kmacro-to-register): New command.
132 (kmacro-execute-from-register): New function.
133 (kmacro-keymap): Bind to 'x'. (Bug#14071)
134
135 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * mpc.el: Use defvar-local and setq-local.
138 (mpc--proc-connect): Connection failures are not bugs.
139 (mpc-mode-map): `follow-link' only applies to the buffer's content.
140 (mpc-volume-map): Bind to the up-events.
141
142 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
143
144 * progmodes/subword.el (superword-mode): Use `forward-sexp'
145 instead of `forward-symbol'.
146
147 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
150 (edebug--recursive-edit): Use it.
151 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
152 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
153
154 2013-03-28 Leo Liu <sdl.web@gmail.com>
155
156 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
157
158 2013-03-27 Eli Zaretskii <eliz@gnu.org>
159
160 * facemenu.el (list-colors-callback): New defvar.
161 (list-colors-redisplay): New function.
162 (list-colors-display): Install list-colors-redisplay as the
163 revert-buffer-function. (Bug#14063)
164
165 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
168 and suffixes don't overlap (bug#14061).
169
170 * case-table.el: Use lexical-binding.
171 (case-table-get-table): New function.
172 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
173
174 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
175
176 * progmodes/subword.el: Add `superword-mode' to do word motion
177 over symbol_words (parallels and leverages `subword-mode' which
178 does word motion inside MixedCaseWords).
179
180 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
181
182 * eshell/em-unix.el: Move su and sudo to...
183 * eshell/em-tramp.el: ...Eshell tramp module
184
185 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
188 Change return value to be a sexp. Delay `get-buffer' to after
189 restoring the desktop (bug#13951).
190
191 2013-03-26 Leo Liu <sdl.web@gmail.com>
192
193 * register.el: Move semantic tag handling back to
194 cedet/semantic/senator.el. (Bug#14052)
195
196 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
199 into the prompt either (bug#13963).
200
201 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
204 part of "(error-foo)".
205
206 2013-03-24 Juri Linkov <juri@jurta.org>
207
208 * replace.el (list-matching-lines-prefix-face): New defcustom.
209 (occur-1): Pass `list-matching-lines-prefix-face' to the function
210 `occur-engine' if `face-differs-from-default-p' returns t.
211 (occur-engine): Add `,' inside backquote construct to evaluate
212 `prefix-face'. Propertize the prefix with the `prefix-face' face.
213 Pass `prefix-face' to the functions `occur-context-lines' and
214 `occur-engine-add-prefix'.
215 (occur-engine-add-prefix, occur-context-lines): Add optional arg
216 `prefix-face' and propertize the prefix with `prefix-face'.
217 (Bug#14017)
218
219 2013-03-24 Leo Liu <sdl.web@gmail.com>
220
221 * nxml/rng-valid.el (rng-validate-while-idle)
222 (rng-validate-quick-while-idle): Guard against deleted buffer.
223 (Bug#13999)
224
225 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
226 is the last entry in kill-buffer-hook.
227
228 * files.el (kill-buffer-hook): Doc fix.
229
230 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
231
232 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
233 Make it safe-local.
234
235 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
236
237 2013-03-23 Leo Liu <sdl.web@gmail.com>
238
239 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
240 Remove.
241
242 * nxml/rng-valid.el (rng-validate-mode)
243 (rng-after-change-function, rng-do-some-validation):
244 * nxml/rng-maint.el (rng-validate-buffer):
245 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
246 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
247 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
248 (nxml-extend-after-change-region): Use with-silent-modifications.
249
250 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
251 timer-idle-list.
252
253 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
254 (rng-next-error-1, rng-previous-error-1): Do not let-bind
255 timer-idle-list. (Bug#13999)
256
257 2013-03-23 Juri Linkov <juri@jurta.org>
258
259 * info.el (info-index-match): New face.
260 (Info-index, Info-apropos-matches): Add a nested subgroup to the
261 main pattern and add text properties with the new face to matches
262 in index entries relative to the beginning of the index entry.
263 (Bug#14015)
264
265 2013-03-21 Eric Ludlam <zappo@gnu.org>
266
267 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
268 Inhibit read only while inserting objects.
269
270 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
271
272 * progmodes/cfengine.el: Update docs to mention
273 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
274 symbol motion. Remove "_" from the word syntax.
275
276 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
277
278 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
279 syntax for both `cfengine2-mode' and `cfengine3-mode'.
280
281 2013-03-20 Juri Linkov <juri@jurta.org>
282
283 * info.el (Info-next-reference-or-link)
284 (Info-prev-reference-or-link): New functions.
285 (Info-next-reference, Info-prev-reference): Use them.
286 (Info-try-follow-nearest-node): Handle footnote navigation.
287 (Info-fontify-node): Fontify footnotes. (Bug#13989)
288
289 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
292 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
293
294 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
295
296 Suppress unnecessary non-ASCII chatter during build process.
297 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
298 (batch-skkdic-convert): Suppress most of the chatter.
299 It's not needed so much now that machines are faster,
300 and its non-ASCII component was confusing; see Dmitry Gutov in
301 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
302
303 2013-03-20 Leo Liu <sdl.web@gmail.com>
304
305 * ido.el (ido-chop): Fix bug#10994.
306
307 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
308
309 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
310 Remove vars.
311 (whitespace-color-on, whitespace-color-off):
312 Use `font-lock-fontify-buffer' (Bug#13817).
313
314 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
317 remapping in mode-line.
318 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
319
320 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
321
322 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
323 value for `whitespace-line' face (Bug#13875).
324 (whitespace-font-lock-keywords): Change description.
325 (whitespace-color-on): Don't save `font-lock-keywords' value, save
326 the constructed keywords instead.
327 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
328
329 2013-03-19 Leo Liu <sdl.web@gmail.com>
330
331 * progmodes/compile.el (compilation-display-error): New command.
332 (compilation-mode-map, compilation-minor-mode-map): Bind it to
333 C-o. (Bug#13992)
334
335 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
336
337 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
338
339 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
340
341 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
342
343 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
344
345 * net/tramp-compat.el (tramp-compat-user-error): New defun.
346
347 * net/tramp-adb.el (tramp-adb-handle-shell-command):
348 * net/tramp-gvfs.el (top):
349 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
350 (tramp-handle-shell-command): Use it.
351 (tramp-dissect-file-name): Raise an error when hostname is a
352 method name, and neither method nor user is specified.
353
354 * net/trampver.el: Update release number.
355
356 2013-03-18 Leo Liu <sdl.web@gmail.com>
357
358 Make sure eldoc can be turned off properly.
359 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
360 eldoc-mode.
361 (eldoc-display-message-p): Revert last change.
362 (eldoc-display-message-no-interference-p)
363 (eldoc-print-current-symbol-info): Tweak.
364
365 2013-03-18 Tassilo Horn <tsdh@gnu.org>
366
367 * doc-view.el (doc-view-new-window-function): Check the new window
368 overlay's display property instead the char property of the
369 buffer's first char. Use `with-selected-window' instead of
370 `save-window-excursion' with `select-window'.
371 (doc-view-document->bitmap): Check the current doc-view overlay's
372 display property instead the char property of the buffer's first char.
373
374 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
375
376 Automate the build of ja-dic.el (Bug#13984).
377 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
378 from the input, rather than assume that it's been done for us by the
379 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
380 the current date into a ja-dic.el comment, as that complicates
381 regression testing.
382
383 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * whitespace.el: Fix double evaluation.
386 (whitespace-space, whitespace-hspace, whitespace-tab)
387 (whitespace-newline, whitespace-trailing, whitespace-line)
388 (whitespace-space-before-tab, whitespace-indentation)
389 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
390 obsolete defvars.
391 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
392 (whitespace-color-on): Use a single font-lock-add-keywords call.
393 Fix double-evaluation of face variables.
394
395 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
396
397 * net/tramp-adb.el (tramp-adb-parse-device-names):
398 Use `start-process' instead of `call-process'. Otherwise, the
399 function might be blocked under MS Windows. (Bug#13299)
400
401 2013-03-17 Leo Liu <sdl.web@gmail.com>
402
403 Extend eldoc to display info in the mode-line. (Bug#13978)
404 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
405 (eldoc-mode-line-string): New variable.
406 (eldoc-minibuffer-message): New function.
407 (eldoc-message-function): New variable.
408 (eldoc-message): Use it.
409 (eldoc-display-message-p)
410 (eldoc-display-message-no-interference-p):
411 Support eldoc-post-insert-mode.
412
413 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
414 (eval-expression): Run it.
415
416 2013-03-17 Roland Winkler <winkler@gnu.org>
417
418 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
419 strings in the list of return values.
420
421 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
422
423 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
424 radix before checking for HMS forms.
425
426 2013-03-16 Leo Liu <sdl.web@gmail.com>
427
428 * progmodes/scheme.el: Add indentation and font-locking for λ.
429 (Bug#13975)
430
431 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
434 token before point (bug#13942).
435
436 2013-03-16 Leo Liu <sdl.web@gmail.com>
437
438 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
439
440 2013-03-16 Eli Zaretskii <eliz@gnu.org>
441
442 * startup.el (command-line-normalize-file-name): Fix handling of
443 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
444 <xfq.free@gmail.com> in
445 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
446
447 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
448
449 Sync with Tramp 2.2.7.
450
451 * net/trampver.el: Update release number.
452
453 2013-03-14 Tassilo Horn <tsdh@gnu.org>
454
455 * doc-view.el Fix bug#13887.
456 (doc-view-insert-image): Don't modify overlay associated to
457 non-live windows, and implement horizontal centering of image in
458 case it's smaller than the window.
459 (doc-view-new-window-function): Force redisplay of new windows on
460 doc-view buffers.
461
462 2013-03-13 Karl Fogel <kfogel@red-bean.com>
463
464 * saveplace.el (save-place-alist-to-file): Don't sort
465 `save-place-alist', just pretty-print it (bug#13882).
466
467 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
468
469 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
470 whether `default-file-name-coding-system' is bound. It isn't in
471 XEmacs.
472
473 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
476 backquotes for `obsolete' (bug#13929).
477
478 * international/mule.el (find-auto-coding): Include file name in
479 obsolescence warning (bug#13922).
480
481 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
482
483 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
484 for CFEngine 3-specific indentation.
485 (cfengine3-indent-line): Use it. Fix up category regex.
486 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
487
488 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * type-break.el (type-break-file-name):
491 * textmodes/remember.el (remember-data-file):
492 * strokes.el (strokes-file):
493 * shadowfile.el (shadow-initialize):
494 * saveplace.el (save-place-file):
495 * ps-bdf.el (bdf-cache-file):
496 * progmodes/idlwave.el (idlwave-config-directory):
497 * net/quickurl.el (quickurl-url-file):
498 * international/kkc.el (kkc-init-file-name):
499 * ido.el (ido-save-directory-list-file):
500 * emulation/viper.el (viper-custom-file-name):
501 * emulation/vip.el (vip-startup-file):
502 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
503 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
504
505 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
506
507 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
508 * language/thai-word.el: Switch to UTF-8.
509
510 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
513
514 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
515
516 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
517 Use with-current-buffer and don't move point.
518 (net-utils-run-simple): Remove useless code.
519 (net-utils-remove-ctl-m): Remove unused custom.
520
521 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
522
523 * international/characters.el (glyphless-set-char-table-range): New fun.
524 (update-glyphless-char-display): Use it (bug#13744).
525
526 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
527
528 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
529 namespaces in the syntax, indent closer for hanging brace
530 correctly, allow single-quote delimited 'strings', and make
531 `cfengine3-mode' the default.
532
533 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
534
535 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
536 Use lexical-binding. Fix up docstring according to conventions.
537 (gdbmi-debug-mode): New var.
538 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
539 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
540 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
541 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
542 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
543 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
544 (gdbmi-bnf-incomplete-record-result): New functions.
545 (gdb-car<): Remove function.
546 (gdbmi-record-list): Remove variable.
547 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
548 (gdbmi-bnf-result-state-configs): New const.
549 (gud-gdbmi-marker-filter): Rewrite.
550 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
551 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
552 Add `token' argument.
553 (gdb-done, gdb-error): New functions.
554 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
555
556 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * term/xterm.el (xterm--report-background-handler): Don't burp
559 upon timeout.
560 (xterm--version-handler): Extract from terminal-init-xterm.
561 (xterm--query): Don't mishandle timeout. Remove debugging messages.
562 Allow multiple handlers.
563 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
564
565 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
566 (xterm--report-background-handler, xterm--query): New functions.
567 (terminal-init-xterm): Use them.
568
569 2013-03-11 Michael R. Mauger <michael@mauger.com>
570
571 * progmodes/sql.el Version 3.2
572 Please note that my address changed to <michael@mauger.com>;
573 the <mmaug@yahoo.com> address remains active.
574 (sql-connection-alist): Updates documentation to fix bug#13715.
575 (sql-connect): Handle missing `sql-connection-alist' correctly.
576 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
577 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
578 property.
579 (sql-default-value): New function.
580 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
581 values were not used.
582 (sql-rename-buffer): Make sure alternate buffer name has no text
583 properties.
584 (sql-input-sender, sql-execute-feature): Fetch variable with
585 `buffer-local-value' rather than `with-current-buffer'.
586 (sql-*): Use #' function syntax consistently.
587 (sql-*): Use message/error/user-error consistently.
588
589 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * xt-mouse.el (xterm-mouse-event-read): Remove.
592 (xterm-mouse--read-event-sequence-1000)
593 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
594
595 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * term/xterm.el (xterm-function-map): Support format used with
598 formatOtherKeys=1 (bug#13839).
599
600 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
601 (with-no-warnings): Use `declare'.
602
603 * whitespace.el (whitespace-enable-predicate): New variable.
604 (whitespace-enable-predicate): Use it.
605
606 * comint.el (comint-send-input, comint-snapshot-last-prompt)
607 (comint-output-filter, comint-update-fence):
608 Use with-silent-modifications.
609
610 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
611
612 * replace.el (occur-read-regexp-defaults-function): New var.
613 (occur-read-regexp-defaults): New defun.
614 (occur-read-primary-args): Propagate above change (bug#13892).
615
616 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * mouse.el (mouse-drag-track): Remove left-over debugging code.
619
620 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
621
622 Major rewrite due to changed D-Bus interface of GVFS 1.14.
623
624 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
625 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
626 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
627 New defconst.
628 (tramp-gvfs-file-name-handler-alist) [directory-files]
629 [directory-files-and-attributes, file-exists-p, file-modes]:
630 Use Tramp default handler.
631 [file-acl, file-selinux-context, process-file, set-file-acl]:
632 [set-file-modes, set-file-selinux-context, shell-command]:
633 [start-file-process]: Remove handler.
634 [verify-visited-file-modtime]: New handler.
635 (tramp-gvfs-dbus-string-to-byte-array)
636 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
637 calls of `dbus-string-to-byte-array' and
638 `tramp-gvfs-dbus-byte-array-to-string'.
639 (tramp-gvfs-handle-copy-file)
640 (tramp-gvfs-handle-delete-directory)
641 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
642 (tramp-gvfs-handle-file-directory-p)
643 (tramp-gvfs-handle-file-executable-p)
644 (tramp-gvfs-handle-file-name-all-completions)
645 (tramp-gvfs-handle-file-readable-p)
646 (tramp-gvfs-handle-file-writable-p)
647 (tramp-gvfs-handle-insert-directory)
648 (tramp-gvfs-handle-insert-file-contents)
649 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
650 (tramp-gvfs-handle-set-visited-file-modtime)
651 (tramp-gvfs-handle-write-region): Rewrite.
652 (tramp-gvfs-handle-file-acl)
653 (tramp-gvfs-handle-file-selinux-context)
654 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
655 (tramp-gvfs-handle-set-file-modes)
656 (tramp-gvfs-handle-set-file-selinux-context)
657 (tramp-gvfs-handle-shell-command)
658 (tramp-gvfs-handle-start-file-process)
659 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
660 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
661 over the symlinks. Fix user handling.
662 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
663 of the D-Bus signals.
664 (tramp-gvfs-connection-mounted-p): Handle different names of the
665 D-Bus methods.
666 (tramp-gvfs-mount-spec-entry): New defun.
667 (tramp-gvfs-mount-spec): Use it.
668 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
669 there is a share name. Handle different names of the D-Bus
670 signals and methods. Set connection properties needed for
671 `tramp-check-cached-permissions'.
672 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
673 Return t or nil.
674
675 * net/tramp.el (tramp-backtrace): Move up.
676 (tramp-error): Dump a backtrace into the debug buffer when
677 `tramp-verbose > 9.
678 (tramp-file-mode-type-map, tramp-file-mode-from-int)
679 (tramp-file-mode-permissions, tramp-get-local-uid)
680 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
681 tramp-sh.el.
682
683 * net/tramp-sh.el (tramp-file-mode-type-map)
684 (tramp-check-cached-permissions, tramp-file-mode-from-int)
685 (tramp-file-mode-permissions, tramp-get-local-uid)
686 (tramp-get-local-gid): Move to tramp.el.
687
688 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 Separate mouse-1-click-follows-link from mouse-drag-region.
691 * mouse.el (mouse--down-1-maybe-follows-link): New function.
692 (key-translation-map): Use it to implement mouse-1-click-follows-link.
693 (mouse-drag-line, mouse-drag-track):
694 Remove mouse-1-click-follows-link code.
695 (mouse--remap-link-click-p): Remove.
696
697 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
698
699 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
700 (hi-lock-read-regexp-defaults): New defun.
701 (hi-lock-line-face-buffer, hi-lock-face-buffer)
702 (hi-lock-face-phrase-buffer): Propagate above change.
703 Update docstring (bug#13892).
704
705 * subr.el (find-tag-default-as-regexp): New defun.
706 * replace.el (read-regexp): Propagate above change.
707
708 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
709
710 * calc/calc-units.el (calc-convert-units): Fix the way that default
711 new units are stored.
712
713 2013-03-07 Matthias Meulien <orontee@gmail.com>
714
715 * bookmark.el: Define a face to highlight bookmark names in
716 bookmark menu buffers, where the default is a bold face similarly
717 to buffer names in buffer menu buffers.
718 (bookmark-menu-bookmark): New face to highlight bookmark names.
719 (bookmark-insert-location): Remove duplicated text property to
720 conform to buffer list (see `list-buffers').
721 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
722 `bookmark-menu-bookmark' to bookmark names.
723
724 2013-03-07 Matthias Meulien <orontee@gmail.com>
725 Karl Fogel <kfogel@red-bean.com>
726
727 * bookmark.el: Display the bookmark list header similarly to the
728 buffer list header (see `list-buffers'), where the default is now
729 an immovable/immutable header line.
730 (bookmark-bmenu-use-header-line): New variable.
731 (bookmark-bmenu-inline-header-height): New name for
732 `bookmark-bmenu-header-height', to avoid confusion with the code
733 for the new immovable header. All references changed.
734 (bookmark-bmenu-set-header): New function.
735 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
736 Conditionalize header construction accordingly.
737 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
738 the inline header height.
739 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
740 Conditionalize the skipping of the inline header height.
741
742 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/js.el (js--multi-line-declaration-indentation):
745 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
746
747 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
748
749 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
750 Only propertize regexp when not inside a string (Bug#13885).
751
752 2013-03-06 Alan Mackenzie <acm@muc.de>
753
754 Correct the position of point in some line-up functions.
755 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
756 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
757 point at column 0 rather than at a random place in the line.
758
759 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
760
761 * net/tramp-compat.el (tramp-compat-delete-directory):
762 Implement TRASH argument.
763
764 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
765
766 Keep pre-existing highlighting in completion candidates (Bug#13250).
767 * minibuffer.el (completions-first-difference): State that the
768 face is "added" in the docstring.
769 (completions-common-part): Same. And don't inherit from default.
770 (completion-hilit-commonality): Prepend 'completions-common-part
771 and 'completion-first-difference faces to the 'face property,
772 instead of replacing the value(s).
773 (completion--insert-strings): Same with 'completions-annotations face.
774 (completion-hilit-commonality): Use 'face instead of
775 'font-lock-face, because it gets priority if the completion
776 strings already have 'face set.
777
778 2013-03-04 Alan Mackenzie <acm@muc.de>
779
780 Replace `last-command-event' by `last-command-char' in XEmacs.
781 * progmodes/cc-defs.el (c-last-command-char): New macro.
782 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
783 (c-semi&comma-no-newlines-before-nonblanks)
784 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
785 in place of `last-command-event'.
786 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
787 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
788 (c-electric-paren, c-electric-continued-statement): Use the new
789 macro in place of `last-command-event'.
790
791 2013-03-04 Glenn Morris <rgm@gnu.org>
792
793 * files.el (inhibit-local-variables-regexps):
794 Add .diff and .patch. (Bug#13862)
795
796 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
799 whether the "su" command is available on the device.
800
801 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
802
803 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
804 (tramp-adb-handle-process-file): Remove superfluous setting.
805 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
806 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
807 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
808
809 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
812 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
813 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
814 Use dict-key rather than dict-name for the error message.
815
816 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
817
818 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
819 when reverting (bug#13831).
820
821 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
822
823 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
824 Always expand affix-file before storing to protect against changed
825 `default-directory'.
826 (ispell-print-if-debug): Make sure message is printed at the end
827 of the debug buffer.
828
829 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/tramp.el (tramp-obsolete-methods): New defconst.
832 (tramp-warned-obsolete-methods): New defvar.
833 (tramp-find-method): Check for obsolete methods. Map them to a
834 replacement method if appropriate.
835
836 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
837 Remove methods.
838 (top): Remove completion functions for "scp1", "scp2", "ssh1",
839 "ssh2" and "plink1".
840
841 2013-02-28 Dale Sedivec <dale@codefu.org>
842
843 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
844 Return valid syntax-table property value when converting
845 quotes within text from string syntax to punctuation syntax (bug#13844).
846
847 2013-02-28 Juri Linkov <juri@jurta.org>
848
849 * dired-aux.el (dired-diff): If file at point is a backup file,
850 use its original as the default value, and reverse the order
851 of arguments to the `diff' call. Doc fix. (Bug#13772)
852
853 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
854
855 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
856 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
857
858 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
859
860 Initial support for hunspell dictionaries auto-detection (Bug#13639)
861
862 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
863 Ask hunspell about available and default dictionaries.
864 (ispell-parse-hunspell-affix-file): Extract relevant info from
865 hunspell affix file.
866 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
867 `ispell-dictionary-alist' entry for given dictionary after info
868 provided by `ispell-parse-hunspell-affix-file'.
869 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
870 of parsed hunspell dicts and associated affix files.
871 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
872 of parsed hunspell dicts and associated parameters.
873 (ispell-set-spellchecker-params):
874 Call `ispell-find-hunspell-dictionaries' if hunspell and not
875 previously done.
876 (ispell-start-process):
877 Call `ispell-hunspell-fill-dictionary-entry' for current
878 dictionary if it is not initialized.
879
880 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * imenu.el: Comment nitpicks.
883
884 2013-02-28 Sam Steingold <sds@gnu.org>
885
886 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
887 See <http://stackoverflow.com/questions/14720205>.
888
889 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
890
891 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
892 (net-utils-mode): Use it.
893 (net-utils--revert-cmd): New var.
894 (net-utils-run-simple): Set it, and remove bogus interactive spec.
895 (traceroute): Use net-utils-run-simple.
896
897 2013-02-28 Glenn Morris <rgm@gnu.org>
898
899 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
900
901 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
904 (doc-view-fallback-mode): Remove overlays here.
905 (doc-view-toggle-display): Instead of here. Don't throw away
906 image-mode-winprops-alist.
907 (doc-view-goto-page): Don't mess with hscroll.
908
909 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
910
911 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
912 &optional (bug#13819).
913
914 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
915
916 * net/tramp-adb.el (tramp-adb-parse-device-names)
917 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
918
919 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
922 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
923 defined. POSIX environments fall back to the "C" locale then and
924 emit a warning, which shall be suppressed.
925
926 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
929 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
930
931 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
934
935 2013-02-25 Juri Linkov <juri@jurta.org>
936
937 * replace.el (read-regexp): Let-bind `default' to the first
938 element of `defaults' if it's a list, otherwise it should be
939 a string or nil. Let-bind `suggestions' to `defaults' if it's
940 a list, otherwise make a list with the string value. Doc fix.
941 (Bug#13805)
942
943 2013-02-25 Eli Zaretskii <eliz@gnu.org>
944
945 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
946 that match "\`\.#", to avoid compiling lock files, even if they
947 are readable (as they are on MS-Windows).
948
949 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * files.el (basic-save-buffer): Remove redundant directory-creation.
952
953 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
954
955 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
956 Add option to force `pi' to remain symbolic.
957 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
958 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
959 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
960 derivatives, when necessary.
961
962 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
963
964 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
965 (ps-mode-octal-region): Use string-make-unibyte.
966
967 2013-02-23 Glenn Morris <rgm@gnu.org>
968
969 * emulation/viper-cmd.el (viper-submit-report):
970 * progmodes/ps-mode.el (ps-mode-maintainer-address):
971 * progmodes/vera-mode.el (vera-mode-help-address):
972 * textmodes/artist.el (artist-maintainer-address):
973 * textmodes/reftex.el (reftex-report-bug):
974 * vc/ediff-util.el (ediff-submit-report):
975 Add bug-gnu-emacs to bug report address.
976
977 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
978 Remove bug report entries.
979 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
980
981 * emacs-lisp/bytecomp.el (byte-compile-level): New.
982 (byte-compile-file, byte-compile-from-buffer):
983 Use separate input/output buffers for each level of recursive
984 byte-compile-file calls. (Bug#13787)
985
986 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/tramp.el (tramp-methods): Fix docstring.
989 (tramp-ssh-controlmaster-options): Rename it from
990 `tramp-ssh-controlmaster-template'. Return a string.
991 (tramp-default-method): Adapt check for
992 `tramp-ssh-controlmaster-options'.
993
994 * net/tramp-sh.el (tramp-methods):
995 Replace `tramp-ssh-controlmaster-template' by "%c".
996 (tramp-do-copy-or-rename-file-out-of-band)
997 (tramp-maybe-open-connection): Use it in format spec. Ensure,
998 that it is applied for the first hop only.
999
1000 2013-02-22 Juri Linkov <juri@jurta.org>
1001
1002 * isearch.el (isearch-lazy-highlight-new-loop):
1003 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1004 to `isearch-other-end' if it is not nil. (Bug#13402)
1005
1006 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1007 to `match-beg'.
1008
1009 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1010 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1011 and `isearch-error' to nil.
1012
1013 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1014
1015 * progmodes/python.el (python-info-current-defun):
1016 Enhance match-data cluttering prevention.
1017
1018 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1021
1022 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1023 Handle multibyte file names.
1024
1025 2013-02-22 Glenn Morris <rgm@gnu.org>
1026
1027 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1028 (sgml-transformation-function): Give it a :set function.
1029 (sgml-tag): Doc fix.
1030
1031 * cmuscheme.el (scheme-buffer):
1032 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1033 * progmodes/tcl.el (inferior-tcl-buffer):
1034 * textmodes/tex-mode.el (tex-command): Doc fixes.
1035
1036 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1037
1038 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1039
1040 2013-02-21 Bastien Guerry <bzg@gnu.org>
1041
1042 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1043
1044 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1045
1046 * progmodes/python.el (python-info-current-defun):
1047 Enhance match-data cluttering prevention.
1048
1049 2013-02-21 Glenn Morris <rgm@gnu.org>
1050
1051 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1052 loaded while outline-regexp is let bound. (Bug#9584)
1053
1054 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1055
1056 * progmodes/python.el (python-info-current-defun): Fix failed
1057 defun name retrieval because of unwanted match-data cluttering.
1058
1059 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1060
1061 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1062 defconst. Apply independent check for ControlPersist.
1063
1064 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1065 temporarily, via "env".
1066
1067 2013-02-21 Glenn Morris <rgm@gnu.org>
1068
1069 * info.el (Info-enable-edit): Remove.
1070 (Info-edit): Disable it rather than using Info-enable.
1071 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1072 (Info-cease-edit): Make editing of Info files obsolete.
1073
1074 * informat.el (Info-tagify):
1075 Handle buffers not visiting files. (Bug#13763)
1076
1077 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1080
1081 2013-02-21 Glenn Morris <rgm@gnu.org>
1082
1083 * files.el (basic-save-buffer): Move check for existing parent
1084 directory after hooks. (Bug#13773)
1085
1086 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * simple.el (command-execute): Move from C. Add obsolete check.
1089 (extended-command-history): Move from C.
1090
1091 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1092
1093 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1094 (jka-compr-mode-alist-additions): Handle .txz suffix for
1095 XZ-compressed tar archives (bug#13770).
1096
1097 2013-02-20 Bastien Guerry <bzg@gnu.org>
1098
1099 * outline.el (outline-regexp, outline-heading-end-regexp):
1100 Make variables, not options (bug#13731).
1101
1102 2013-02-20 Glenn Morris <rgm@gnu.org>
1103
1104 * image.el (image-current-frame): Change from variable to function.
1105 (image-show-frame): Rename from image-nth-frame. Update callers.
1106 * image-mode.el (image-multi-frame): New variable.
1107 (image-mode-map, image-mode, image-goto-frame):
1108 Use image-multi-frame rather than image-current-frame.
1109 (image-mode, image-goto-frame): Use image-current-frame as
1110 function rather than as variable.
1111
1112 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1113 * emacs-lisp/cl-macs.el (cl--make-type-test)
1114 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1115
1116 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1117
1118 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1119 (tramp-get-file-property, tramp-set-file-property)
1120 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1121 (tramp-flush-file-property, tramp-flush-directory-property):
1122 Rename argument to KEY.
1123 (tramp-flush-connection-property): Simplify a little bit.
1124 (tramp-connection-property-p): New defun.
1125 (top): Reapply saved values only if there isn't a corresponding
1126 entry in `tramp-connection-properties'.
1127
1128 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1129
1130 * progmodes/python.el (python-indent-context):
1131 Fix python-info-line-ends-backslash-p call.
1132 (python-info-line-ends-backslash-p)
1133 (python-info-beginning-of-backslash): Respect line-number argument.
1134 (python-info-current-line-comment-p):
1135 Fix behavior when not at beginning-of-line.
1136 (python-util-position): Remove function.
1137 (python-util-goto-line): New function.
1138
1139 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * eshell/em-unix.el (eshell/su): Require tramp.
1142 (eshell/sudo): Require tramp. Remove now unnecessary check.
1143
1144 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1145 `tramp-current-connection' in order to avoid an error when several
1146 commands are invoked in a short time in eshell and friends.
1147
1148 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 Cleanup some of EIEIO's namespace.
1151 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1152 Use it to define all the class-* and object-* field accessors (renamed
1153 to eieio--class-* and eieio--object-*). Update all uses.
1154 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1155 class-num-slots and object-num-slots.
1156 (eieio--check-type): New macro.
1157 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1158 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1159 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1160 (object-assoc-list-safe): Use it.
1161 (eieio-defclass): Tighten regexp.
1162 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1163 Remove unreachable code.
1164 (object-class-fast): Declare obsolete.
1165 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1166 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1167 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1168 Rename from class-name, object-name, object-set-name-string,
1169 object-class, object-class-name, class-parents, class-children,
1170 class-precedence-list, class-parent; with obsolete alias.
1171 (class-of, class-direct-superclasses, class-direct-subclasses):
1172 Declare obsolete.
1173 (eieio-defmethod): Use `memq'; remove unreachable code.
1174 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1175 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1176 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1177
1178
1179 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1180
1181 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1182 commentary.
1183
1184 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1185
1186 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1187 Use font-lock-keyword-face for macros and special forms (bug#8345).
1188
1189 2013-02-17 Didier Verna <didier@didierverna.net>
1190
1191 * net/network-stream.el (network-stream-open-starttls):
1192 Check that response to the starttls-command is non-nil. (Bug#13706)
1193
1194 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1197 Don't assume all identifier chars have syntax word.
1198 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1199 Remove bar-not-symbol. Adjust callers.
1200 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1201
1202 2013-02-17 Leo Liu <sdl.web@gmail.com>
1203
1204 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1205
1206 2013-02-17 Glenn Morris <rgm@gnu.org>
1207
1208 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1209
1210 * image-mode.el (image-mode-map): Add image-dired menu entry.
1211
1212 * image-dired.el (tumme): Make this alias obsolete.
1213
1214 2013-02-16 Glenn Morris <rgm@gnu.org>
1215
1216 * image.el (image-animated-types): Remove.
1217 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1218 (image-animated-p): Make obsolete alias.
1219 (image-animate, image-nth-frame, image-animate-timeout):
1220 Use image-multi-frame-p.
1221 (image-animate-timeout): If no delay, use image-default-frame-delay.
1222 * image-mode.el (image-mode, image-toggle-animation):
1223 Use image-multi-frame-p. (Bug#763, bug#10739)
1224 (image-mode): Adjust startup message for a multi-frame image.
1225
1226 * image-mode.el (image-mode-map): Give it a menu.
1227
1228 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1229
1230 * net/tramp-cache.el (tramp-connection-properties): New customer
1231 option.
1232 (tramp-get-connection-property): Use it.
1233
1234 * net/tramp-compat.el (top): Require 'trampver.
1235
1236 * net/tramp-sh.el (tramp-remote-process-environment):
1237 Set tramp-autoload cookie.
1238
1239 2013-02-16 Kevin Ryde <user42@zip.com.au>
1240
1241 * info-look.el (info-lookup-select-mode): If major-mode has no
1242 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1243
1244 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1245
1246 * replace.el (read-regexp): Tighten the regexp that matches tag.
1247 When tag is retrieved with `find-tag-default', use regexp that
1248 matches tag at point. Also update docstring (Bug#13687).
1249
1250 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1251
1252 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1253 add watch for the file, not its parent directory, since w32notify
1254 sets up the watch for the directory internally. (Bug#13725)
1255
1256 2013-02-16 Glenn Morris <rgm@gnu.org>
1257
1258 * image.el (image-default-frame-delay): New variable.
1259 (image-animated-p): Use image-default-frame-delay.
1260 (image-minimum-frame-delay): New constant.
1261 (image-animate-timeout): Use image-minimum-frame-delay.
1262
1263 * image.el (image-nth-frame): New, split from image-animate-timeout.
1264 (image-animate-timeout): Use image-nth-frame.
1265 * image-mode.el (image-goto-frame, image-next-frame)
1266 (image-previous-frame): New commands.
1267 (image-mode-map): Add new frame commands.
1268
1269 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1270
1271 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1272 If col-desc already has help-echo, use it. (Bug#13563)
1273
1274 2013-02-16 Glenn Morris <rgm@gnu.org>
1275
1276 * image.el (image-current-frame): New variable.
1277 (image-animate-timeout): Set image-current-frame.
1278 * image-mode.el (image-mode): For animated images,
1279 display a frame counter via mode-line-process.
1280
1281 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1282
1283 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1286
1287 2013-02-15 Alan Mackenzie <acm@muc.de>
1288
1289 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1290 global minor mode has been enabled, call the minor mode function
1291 for a new buffer once only, after the major mode hook, whilst
1292 allowing that hook explicitly to disable the minor mode.
1293 (MODE-disable-in-buffer): New (generated) function.
1294 (disable-MODE): New (generated) buffer local variable.
1295
1296 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1297
1298 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1299 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1300 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1301 `ido-next-match' and `ido-prev-match' resply.
1302 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1303 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1304 `icomplete-backward-completions' (Bug#13708).
1305
1306 2013-02-15 Glenn Morris <rgm@gnu.org>
1307
1308 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1309
1310 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1313 (goto-address-fontify-region): Use them instead of narrowing, so
1314 syntax-ppss has access to the whole buffer.
1315
1316 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1317
1318 * progmodes/python.el: Explain how to restore "cc-mode"-like
1319 forward-sexp movement in header documentation (Bug#13642).
1320 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1321 comments and strings (GH bug 114).
1322
1323 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1324
1325 * progmodes/python.el (python-info-current-defun): Fix current
1326 defun detection (Bug#13618).
1327
1328 2013-02-15 Chong Yidong <cyd@gnu.org>
1329
1330 * xml.el (xml-parse-string): Fix typo in handling of bad character
1331 references.
1332
1333 2013-02-15 Glenn Morris <rgm@gnu.org>
1334
1335 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1336
1337 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/tramp.el (tramp-debug-message):
1340 Add `tramp-condition-case-unless-debug'.
1341 (tramp-debug-on-error): New defvar.
1342 (tramp-condition-case-unless-debug): New defun.
1343 (tramp-file-name-handler): Use it.
1344
1345 2013-02-14 Juri Linkov <juri@jurta.org>
1346
1347 * info.el (Info-isearch-filter): Treat non-nil values of
1348 `search-invisible' including its default value `open'
1349 like the value `t' to match hidden text. (Bug#13402)
1350
1351 2013-02-14 Glenn Morris <rgm@gnu.org>
1352
1353 * help-fns.el (find-lisp-object-file-name): Give special treatment
1354 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1355
1356 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1357
1358 * net/quickurl.el (quickurl-save-urls):
1359 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1360
1361 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1364 depth for unfinished percent literal. Not using it in the caller.
1365 (ruby-move-to-block): Jump over multiline literals of all types,
1366 ignoring code-looking contents inside them.
1367 (ruby-add-log-current-method): Improve performance at the expense
1368 of accuracy. `ruby-block-contains-point' is relatively slow, so
1369 only use it for method and singleton class blocks.
1370
1371 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1372
1373 Use ControlMaster where applicable. (Bug#13677)
1374
1375 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1376 replacing `tramp-detect-ssh-controlmaster'.
1377 (tramp-default-method): Use it.
1378
1379 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1380 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1381 arguments.
1382 [scpc, rsyncc]: Remove methods.
1383 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1384 and "ssh2_old".
1385 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1386 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1387
1388 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * emacs-lisp/package.el (package--initialized): Move before first use.
1391
1392 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1393
1394 * icomplete.el (icomplete-hide-common-prefix): New user option.
1395 (icomplete-first-match): New face.
1396 (icomplete-completions): Correct handling of "complete but not
1397 unique" (Bug#12638).
1398
1399 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1400
1401 * descr-text.el (describe-char): Display the script (bug#13698).
1402
1403 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * tmm.el: Use lexical-binding and current-active-maps.
1406 (tmm-menubar): Use map-keymap and pcase.
1407 (tmm--completion-table): New function.
1408 (tmm-prompt): Use it to fix the menu order.
1409 (tmm-get-keybind): Use current-active-maps.
1410
1411 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1412
1413 Add dired-hide-details-mode. (Bug#6799)
1414
1415 * locate.el (locate-mode): Set parent mode property to dired-mode.
1416
1417 * find-dired.el (find-dired): Call dired-insert-set-properties on
1418 initial information line. Set process mark on end of buffer.
1419 (find-dired-sentinel):
1420 Call dired-insert-set-properties on summary.
1421
1422 * dired.el (dired-hide-details-hide-symlink-targets)
1423 (dired-hide-details-hide-information-lines): New options.
1424 (dired-insert-directory):
1425 Set properties after final treatment of output.
1426 (dired-insert-set-properties):
1427 Set dired-hide-details-* properties.
1428 (dired-mode-map): Bind dired-hide-details-mode.
1429 (dired-mode): Set buffer-invisibility-spec to a list.
1430 (dired-next-line): Skip hidden lines.
1431 (dired-previous-line): Use dired-next-line.
1432 (dired-hide-details-mode): New minor mode.
1433 (dired-hide-details-update-invisibility-spec): New function.
1434
1435 2013-02-13 Glenn Morris <rgm@gnu.org>
1436
1437 * play/yow.el: Move to obsolete/. (Bug#9384)
1438
1439 2013-02-13 Juri Linkov <juri@jurta.org>
1440
1441 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1442 to select `ediff-control-frame' and set input focus correctly on Xfce.
1443 (Bug#12218)
1444
1445 2013-02-13 Juri Linkov <juri@jurta.org>
1446
1447 * image-mode.el (image-mode-map):
1448 * doc-view.el (doc-view-mode-map):
1449 * vc/ediff-util.el (ediff-setup-keymap):
1450 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1451
1452 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1455 performance. Instead of recalculating indentation fully for each
1456 line, sum up indentation depth based only on visited lines.
1457 (ruby-parse-partial): Increase the depth after "do" even when END
1458 is right after it.
1459 (ruby-parse-partial): When END is in the middle of a percent
1460 literal, increase the depth if the delimiter chars belong to the
1461 paren syntax class.
1462
1463 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1464
1465 * play/fortune.el (fortune-compile): Also make the compiled file
1466 if it does not exist at all, not just if it is old. (Bug#5338)
1467
1468 2013-02-13 Glenn Morris <rgm@gnu.org>
1469
1470 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1471
1472 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1473
1474 * lisp/emacs-lisp/package.el (package-menu-execute):
1475 Add optional noquery argument. (Bug#13625)
1476
1477 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1480 if DIR exists and PARENTS is non-nil.
1481
1482 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1483
1484 * progmodes/js.el (js--multi-line-declaration-indentation):
1485 Silence byte-compiler warning.
1486
1487 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1488
1489 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1490
1491 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1492 only if it doesn't exist.
1493
1494 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1495 Set process marker.
1496
1497 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1498
1499 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1500 UserInstallation when calling soffice to work around LibreOffice
1501 bug 37531.
1502
1503 2013-02-12 Glenn Morris <rgm@gnu.org>
1504
1505 * files.el (basic-save-buffer):
1506 Offer to create a non-existing directory. (Bug#3016)
1507
1508 * calc/calc-graph.el (calc-graph-show-dumb):
1509 * calendar/calendar.el (calendar-mode-map):
1510 * cus-edit.el (custom-mode-map):
1511 * ehelp.el (electric-help-map):
1512 * emulation/vip.el (vip-mode-map):
1513 * epa.el (epa-key-list-mode-map):
1514 * info.el (Info-mode-map):
1515 * mail/rmail.el (rmail-mode-map):
1516 * mail/rmailsum.el (rmail-summary-mode-map):
1517 * man.el (Man-mode-map):
1518 * net/newst-plainview.el (newsticker-mode-map):
1519 * progmodes/cpp.el (cpp-edit-mode-map):
1520 * progmodes/grep.el (grep-mode-map):
1521 * progmodes/idlw-help.el (idlwave-help-mode-map):
1522 * simple.el (special-mode-map):
1523 * startup.el (splash-screen-keymap):
1524 * view.el (view-mode-map):
1525 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1526
1527 2013-02-11 Elias Pipping <pipping@lavabit.com>
1528
1529 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1530 (bug#13679).
1531
1532 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1535
1536 2013-02-11 Glenn Morris <rgm@gnu.org>
1537
1538 * vc/diff.el (diff-use-labels): New variable.
1539 (diff-no-select): Use --label rather than -L, and first
1540 check that it is supported. (Bug#11067)
1541
1542 * files.el (enable-dir-local-variables): New variable.
1543 (hack-dir-local-variables): Respect enable-dir-local-variables.
1544 * tutorial.el (help-with-tutorial):
1545 Ignore directory-local variables. (Bug#11127)
1546
1547 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1548 (vc-svn-global-switches): ... to here. (Bug#13513)
1549
1550 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1551
1552 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1553 Handle "foo (bar, default: xxx): " prompts.
1554
1555 2013-02-10 Chong Yidong <cyd@gnu.org>
1556
1557 * files.el (basic-save-buffer-1): Do not set
1558 buffer-file-coding-system-explicit (Bug#4533).
1559
1560 * mail/emacsbug.el (report-emacs-bug): Change binding of
1561 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1562
1563 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1564
1565 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1566 * calc/calc-units.el (calc-convert-units): Use new variable.
1567
1568 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1569
1570 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1571
1572 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1573 buffer-file-type.
1574
1575 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1576 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1577 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1578 coding-system-for-write instead.
1579
1580 * jka-compr.el (jka-compr-write-region): Don't bind
1581 buffer-file-type.
1582
1583 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1584 buffer-file-type.
1585
1586 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1587 (insert-file-contents-literally): Remove reference to
1588 file-name-buffer-file-type-alist.
1589
1590 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1591 make-obsolete.
1592 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1593 (find-buffer-file-type-coding-system): Remove references to
1594 find-buffer-file-type-match, find-buffer-file-type, and
1595 buffer-file-type.
1596 Don't put find-buffer-file-type-coding-system into
1597 file-coding-system-alist.
1598 (find-file-binary, find-file-text): Bind coding-system-for-read
1599 instead of file-name-buffer-file-type-alist.
1600
1601 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1602
1603 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1604 converter (Bug#13622).
1605 (doc-view-unoconv-program): Make obsolete alias.
1606 (doc-view-odf->pdf-converter-program): New variable.
1607 (doc-view-odf->pdf-converter-function): New variable.
1608 (doc-view-mode-p): Use it.
1609 (doc-view-odf->pdf-converter-unoconv):
1610 Rename from `doc-view-odf->pdf-converter-unoconv'.
1611 (doc-view-odf->pdf-converter-soffice): New function.
1612 (doc-view-convert-current-doc):
1613 Use `doc-view-odf->pdf-converter-function'.
1614
1615 2013-02-09 Chong Yidong <cyd@gnu.org>
1616
1617 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1618 view-echo-area-messages (Bug#13340).
1619
1620 * help.el (view-echo-area-messages): Use display-buffer.
1621
1622 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1623 (Bug#13561).
1624
1625 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1628 Eval body right away, now that we do eager macroexpansion (bug#13605).
1629
1630 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1631 (fundamental-mode): Use run-mode-hooks.
1632
1633 * eshell/esh-proc.el (eshell/kill): Fix last change.
1634 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1635
1636 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1637
1638 * eshell/esh-proc.el (eshell/kill): Rewrite.
1639
1640 * eshell/em-ls.el (show-almost-all): Declare.
1641 (eshell-do-ls): Add support for -A argument.
1642
1643 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1644
1645 * icomplete.el (icomplete-forward-completions)
1646 (icomplete-backward-completions): Handle corner case (bug#13602).
1647
1648 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1649
1650 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1651 be nil. Handle this. (Bug#13636)
1652
1653 2013-02-07 Richard Stallman <rms@gnu.org>
1654
1655 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1656 `save-buffer-coding-system'.
1657
1658 2013-02-07 Alan Mackenzie <acm@muc.de>
1659
1660 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1661 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1662 (c-parse-state-get-strategy): Don't return 'BOD any more.
1663 (c-append-lower-brace-pair-to-state-cache):
1664 Extra parameter HERE instead of narrowing.
1665 Widen to top of buffer before searching backwards for a brace pair.
1666 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1667 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1668 Narrow to parameter HERE, in place of being called narrowed.
1669 (c-remove-stale-state-cache): Extra parameter HERE in place of
1670 narrowing. Check there's an open brace in the cache before
1671 searching for its match.
1672 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1673 (c-parse-state-1): Don't narrow here for 'forward strategy,
1674 instead passing extra parameter HERE to several functions.
1675 Remove 'BOD strategy.
1676
1677 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1678
1679 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1680 used to install the package.
1681
1682 2013-02-06 Glenn Morris <rgm@gnu.org>
1683
1684 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1685 if we can't get user input. (Bug#6567)
1686
1687 * startup.el (command-line): If simple.el is missing,
1688 test and warn about for some possible causes.
1689
1690 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1691
1692 * cus-start.el (all): Add ns-use-native-fullscreen.
1693
1694 2013-02-05 Glenn Morris <rgm@gnu.org>
1695
1696 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1697
1698 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1699 Fix directory creation in fallback case.
1700
1701 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1702
1703 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1704 (vc-update-change-log): Use dolist.
1705
1706 2013-02-04 Chong Yidong <cyd@gnu.org>
1707
1708 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1709 code from ffap.el.
1710 (thing-at-point-beginning-of-url-regexp): New var.
1711 (thing-at-point-uri-schemes): Update list of URI schemes.
1712 (thing-at-point-url-regexp): Variable deleted.
1713 (thing-at-point-markedup-url-regexp): Disallow newlines.
1714 (thing-at-point-newsgroup-regexp)
1715 (thing-at-point-newsgroup-heads)
1716 (thing-at-point-default-mail-uri-scheme): New variables.
1717 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1718 method to find the possible bounds of the URI at point.
1719 New optional argument to find ill-formed URIs.
1720 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1721 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1722 the scheme-adding heuristics from ffap-url-at-point.
1723 (thing-at-point--bounds-of-well-formed-url): New function.
1724 Do parens matching to decide whether to include parens in the URI
1725 (Bug#9153).
1726
1727 * ffap.el: Require thingatpt.
1728 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1729 All URI-valid characters are now recognized (Bug#5673).
1730 (ffap-string-at-point): Use use-region-p.
1731 (ffap-url-regexp): Extra character is handled by thing-at-point.
1732 (ffap-string-at-point-mode-alist): Allow parentheses.
1733 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1734 Convert to aliases; code moved to thingatpt.el.
1735 (ffap-gnus-hook): Use setq-local.
1736
1737 2013-02-04 Glenn Morris <rgm@gnu.org>
1738
1739 * emacs-lisp/ert.el (ert--explain-format-atom):
1740 Don't try to print non-characters as characters. (Bug#13543)
1741
1742 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1743
1744 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1745 (tramp-backtrace): New defun.
1746 (tramp-handle-insert-file-contents): Use `visit' when inserting
1747 the local copy.
1748
1749 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1750 Use `remote-file-name-inhibit-cache'.
1751
1752 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1755 (bug#13614).
1756
1757 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1758 current-load-list (bug#13366).
1759
1760 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1761
1762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1763 Identify g++ template instantiation trace. (Bug#12287)
1764 (compilation-mode-hook, compilation-start-hook)
1765 (compilation-window-height): Simplify docstrings. (Bug#13379)
1766
1767 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * mouse.el (mouse-drag-track): Always deactivate the mark before
1770 running the final event's command since that command is in charge of
1771 activating the mark if needed (bug#13523).
1772
1773 2013-02-02 Juri Linkov <juri@jurta.org>
1774
1775 * replace.el (perform-replace): Move let-bindings of isearch-*
1776 variables deeper to the loop that searches for the next match.
1777 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1778 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1779 (Bug#13579)
1780
1781 * isearch.el (isearch-search-fun-default): Check for null
1782 first element of isearch-cmds as a precaution when it's used
1783 with inactive isearch.
1784
1785 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1786
1787 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1788 error when buffer in question is narrowed so position 1 is out of
1789 visible part.
1790
1791 2013-02-02 Glenn Morris <rgm@gnu.org>
1792
1793 * textmodes/remember.el (remember-clipboard): Doc fix.
1794
1795 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1798 properties (bug#13179).
1799
1800 2013-02-02 Juri Linkov <juri@jurta.org>
1801
1802 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1803 instead of hard-coded default face `match'. (Bug#9438)
1804
1805 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1806
1807 * vc/vc-arch.el (vc-arch-registered):
1808 * vc/vc-bzr.el (vc-bzr-registered):
1809 * vc/vc-cvs.el (vc-cvs-registered):
1810 * vc/vc-git.el (vc-git-registered):
1811 * vc/vc-hg.el (vc-hg-registered):
1812 * vc/vc-mtn.el (vc-mtn-registered):
1813 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1814 (Bug#13139)
1815
1816 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1817 prefix argument. (Bug#11656)
1818
1819 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1822
1823 2013-02-01 Glenn Morris <rgm@gnu.org>
1824
1825 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1826 if the backend is known not to support it.
1827
1828 * imenu.el (imenu-default-create-index-function):
1829 Tweak infinite loop test to check for forward motion as well as none.
1830
1831 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1832
1833 * net/soap-client.el (soap-invoke): Encode the string for
1834 `url-request-data' as UTF-8.
1835 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1836
1837 2013-02-01 Glenn Morris <rgm@gnu.org>
1838
1839 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1840
1841 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1842
1843 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/tramp.el (tramp-tramp-file-p): Comment check for
1846 `string-as-unibyte'. The function does not exist on XEmacs, and
1847 likely we need another approach.
1848
1849 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1850 `tramp-gw-*' variables are bound.
1851
1852 2013-01-31 Glenn Morris <rgm@gnu.org>
1853
1854 * files.el (basic-save-buffer-2): Choose coding system for
1855 writing the file before backing it up, to reduce delay between
1856 backing up and writing the new version. (Bug#13522)
1857
1858 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1859
1860 * simple.el (cycle-spacing): New command.
1861 (just-one-space): Use it.
1862
1863 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1866 (opascal-newline-always-indents): Remove custom.
1867 (opascal-tab, opascal-newline): Remove commands.
1868 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1869 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1870 (opascal-save-match-data): Remove, use save-match-data instead.
1871 (opascal-save-state): Use with-silent-modifications.
1872
1873 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1874 (bug#13585).
1875
1876 2013-01-30 Juri Linkov <juri@jurta.org>
1877
1878 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1879 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1880 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1881
1882 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1885 column if we're just deleting the backslashes.
1886 (makefile-fill-paragraph): Use eolp.
1887
1888 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * autorevert.el (auto-revert-use-notify): Fix docstring.
1891
1892 2013-01-30 Leo Liu <sdl.web@gmail.com>
1893
1894 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1895
1896 2013-01-30 Glenn Morris <rgm@gnu.org>
1897
1898 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1899 unread-command-events twice in some cases. This tries to implement
1900 the 2012-07-26 changes in a different way. (Bug#13560)
1901
1902 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1903
1904 * progmodes/python.el
1905 (python-pdbtrack-comint-output-filter-function): Enhancements on
1906 stacktrace detection. (thanks @gnovak)
1907
1908 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1911 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1912 Use defvar-local.
1913 (jit-lock-register): Use setq-local.
1914
1915 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1916
1917 * calc-units.el (math-default-units-table): Remove initial value.
1918 (calc-convert-units): Treat expressions where all the units cancel as
1919 if they didn't have units.
1920
1921 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1922
1923 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1924 (tramp-completion-reread-directory-timeout): Fix type.
1925 (tramp-connection-min-time-diff): New defcustom.
1926
1927 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1928
1929 2013-01-30 Glenn Morris <rgm@gnu.org>
1930
1931 * imenu.el (imenu-default-create-index-function):
1932 Put back a version of the infinite loop test removed 2013-01-23.
1933
1934 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1935
1936 * progmodes/python.el (python-shell-parse-command):
1937 Find python-shell-interpreter with modified environment.
1938
1939 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1942
1943 2013-01-29 Alan Mackenzie <acm@muc.de>
1944
1945 Amend to fontify /regexp/s in actions correctly.
1946 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1947 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1948 are no longer included.
1949 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1950 What used to be these variables without "-line" in the name.
1951 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1952 (c-awk-non-arith-op-bra-re): Now also matches {.
1953 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1954 "return", and "case".
1955 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1956 by /.
1957 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1958 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1959
1960 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1961
1962 * autorevert.el (auto-revert-use-notify):
1963 Use `custom-initialize-default' for initialization. (Bug#13583)
1964
1965 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1966
1967 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1968 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1969 in `tramp-file-name-handler'.
1970 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1971 compatibility.
1972 (tramp-compute-multi-hops): Check, whether
1973 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1974
1975 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1978 (bug#13297).
1979
1980 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1981
1982 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1983 checks made superfluous by the \_< operator.
1984 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1985 temporarily) broken indentation.
1986 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1987 Highlight nested constants, too. \_< broke that.
1988
1989 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1990
1991 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1992 instead of "\\b".
1993
1994 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1995
1996 * autorevert.el (auto-revert-handler): Notifications which result
1997 from a saved file shall not be taken into account. (Bug#13557)
1998
1999 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2000
2001 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2002 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2003 (lisp-mode): Pass t for it. (Bug#13556)
2004
2005 2013-01-25 Alan Mackenzie <acm@muc.de>
2006
2007 AWK Mode: Fix indentation bug at top level. Bug #12274.
2008
2009 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2010 just before CASE 5D.
2011
2012 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2013
2014 * net/socks.el (socks-nslookup-host): Use string-to-number.
2015
2016 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2017
2018 * autorevert.el (auto-revert-remote-files)
2019 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2020 (auto-revert-notify-enabled, auto-revert-use-notify)
2021 (auto-revert-notify-watch-descriptor-hash-list)
2022 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2023 (auto-revert-notify-event-descriptor)
2024 (auto-revert-notify-event-action)
2025 (auto-revert-notify-event-file-name): Doc fix.
2026 (global-auto-revert-mode): Reorder checks.
2027 (auto-revert-notify-rm-watch): Respect changed values of
2028 `auto-revert-notify-watch-descriptor-hash-list'.
2029 (auto-revert-notify-add-watch): Check for
2030 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2031 `inotify-add-watch'. Watch `default-directory' instead of
2032 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2033 has a changed meaning now. (Bug#13540)
2034 (auto-revert-notify-handler): Change implementation wrt events
2035 returning from a directory.
2036 (auto-revert-handler): Reorder implementation for checks of remote
2037 files.
2038 (auto-revert-buffers): Fix parentheses error.
2039
2040 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2041
2042 * progmodes/python.el: Enhancements to header documentation about
2043 skeletons. (Bug#5716)
2044
2045 * imenu.el (imenu-default-create-index-function): Remove useless
2046 infinite loop check. (Bug#13438)
2047
2048 2013-01-25 Alan Mackenzie <acm@muc.de>
2049
2050 Fix a bug in the state cache mechanism. Refactor this a bit.
2051
2052 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2053 `cache-pos' element from the return value.
2054 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2055 buffer to enable proper searching from beyond HERE. Amend the
2056 test for detecting the sought brace pair. Amend the value written
2057 to the "brace desert cache" when the brace isn't found.
2058 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2059 and several other variables analogously.
2060 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2061 parameter to a locally calculated variable.
2062 (c-parse-state-1): Change the calling conventions to the two
2063 defuns involving `cache-pos'.
2064
2065 2013-01-25 Chong Yidong <cyd@gnu.org>
2066
2067 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2068
2069 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2070
2071 * paren.el (show-paren-function): Make sure to set 'priority and
2072 'face only if the overlay does exist.
2073
2074 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2075
2076 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2077
2078 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2079 basic attributes.
2080 (tramp-sh-handle-set-file-acl): Improve error checking.
2081
2082 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2083
2084 * doc-view.el (doc-view-display): Force mode line update until all
2085 document is converted. Suggested by Stefan Monnier (Bug#13164).
2086
2087 2013-01-23 Bastien Guerry <bzg@gnu.org>
2088
2089 * paren.el (show-paren-function): Make sure an overlay exists
2090 before trying to delete it. Also use `pos' as a position only
2091 when it is an integer.
2092
2093 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2094
2095 * play/gametree.el (gametree-break-line-here): Use point-marker.
2096
2097 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2100 Mark descriptive parts with `display' property.
2101
2102 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2103
2104 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2105 New variable to map standard dict names to hunspell ones.
2106 (ispell-set-spellchecker-params): Make sure specific dict names
2107 are used for standard dicts with hunspell.
2108
2109 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2110
2111 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2112 chars for note (%N) and url (%U).
2113 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2114
2115 2013-01-21 Juri Linkov <juri@jurta.org>
2116
2117 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2118 in addition to existing separate binding `meta f10' in `global-map'.
2119 (Bug#13484)
2120
2121 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2122
2123 Improve XEmacs compatibility.
2124
2125 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2126
2127 * net/tramp-adb.el (top): Require `time-date'.
2128 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2129 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2130 Use `tramp-file-name-handler'.
2131 (tramp-adb-maybe-open-connection):
2132 Use `tramp-compat-set-process-query-on-exit-flag'.
2133
2134 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2135 Use `tramp-compat-funcall'.
2136
2137 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2138 `tramp-compat-funcall'.
2139
2140 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2141
2142 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2143 reimplementation using "adb shell command ..." instead of running
2144 remote shell interactively.
2145
2146 2013-01-20 Glenn Morris <rgm@gnu.org>
2147
2148 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2149 Add native profiler menu entries.
2150
2151 * profiler.el (profiler-running-p): New function.
2152 (profiler-cpu-profile): Use profiler-running-p.
2153 (profiler-report-mode-map): Add some more menu entries.
2154
2155 2013-01-19 Glenn Morris <rgm@gnu.org>
2156
2157 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2158 fixes 2012-12-07 change. (Bug#13499)
2159
2160 2013-01-19 Leo Liu <sdl.web@gmail.com>
2161
2162 * dired.el (dired-get-marked-files): Prune erroneous values due to
2163 last change. (Bug#13152)
2164
2165 2013-01-19 Glenn Morris <rgm@gnu.org>
2166
2167 * progmodes/etags.el (tags-table-check-computed-list):
2168 Preserve point in tags buffer. (Bug#13412)
2169
2170 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2171
2172 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2173 Chong Yidong <cyd@gnu.org>
2174
2175 * image-mode.el (image-next-file, image-previous-file):
2176 New commands (Bug#8453).
2177 (image-mode-map): Bind them to n and p.
2178 (image-mode--images-in-directory): New helper function.
2179
2180 2013-01-19 Chong Yidong <cyd@gnu.org>
2181
2182 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2183 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2184 save and restore the old window configuration.
2185
2186 2013-01-18 Leo Liu <sdl.web@gmail.com>
2187
2188 * progmodes/js.el: Tweak autoload cookie for alias.
2189
2190 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2191
2192 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2193 buffer local, again. This was lost with the fix on 2013-01-12.
2194
2195 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2196
2197 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2198 order to support several eshell buffers in parallel.
2199
2200 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * autorevert.el (auto-revert-use-notify): In the :set function, do
2203 not modify `kill-buffer-hook'.
2204 (auto-revert-notify-rm-watch):
2205 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2206 (auto-revert-notify-add-watch): Do not call
2207 `auto-revert-notify-rm-watch', but add it to a buffer local
2208 `kill-buffer-hook'.
2209
2210 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2213 call to `eval' rather than a backquoted lambda.
2214
2215 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2218 to return an explicit nil.
2219 (advice--remove-function): Change accordingly.
2220
2221 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2222 the use of nadvice.el.
2223
2224 * progmodes/which-func.el (which-function): Silence imenu errors
2225 (bug#13433).
2226
2227 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2228
2229 * progmodes/sql.el: (sql-imenu-generic-expression):
2230 (sql-mode-font-lock-object-name): Match schema qualified names.
2231 (sql-connect): Use string keys.
2232 (sql-product-interactive): Wait for interpreter prompt.
2233 (sql-comint-oracle): Set process coding based on NLS_LANG.
2234
2235 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2236
2237 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2238 (sql-interactive-remove-continuation-prompt):
2239 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2240
2241 2013-01-14 Leo Liu <sdl.web@gmail.com>
2242
2243 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2244 (Bug#13420)
2245
2246 2013-01-14 Glenn Morris <rgm@gnu.org>
2247
2248 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2249 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2250
2251 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2252
2253 * progmodes/python.el (python-nav-end-of-statement):
2254 Fix cornercase when handling multiline strings.
2255
2256 2013-01-13 Richard Stallman <rms@gnu.org>
2257
2258 * mail/sendmail.el (mail-position-on-field): Add doc string.
2259
2260 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2261 Get current message boundaries and pass them to
2262 message-forward-make-body-mime. Minor style changes.
2263
2264 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2265
2266 * cus-start.el (all): Avoid warnings about
2267 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2268
2269 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2270
2271 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2272
2273 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2276 (jit-lock--debug-fontifying): New var.
2277 (jit-lock--debug-fontify): New function.
2278 * subr.el (condition-case-unless-debug): Don't prevent catching the
2279 error, just let the debbugger run.
2280 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2281 timer code and don't drop errors silently.
2282
2283 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2286 `permanent-local' property.
2287 (auto-revert-notify-handler): Use `file-equal-p'.
2288
2289 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2290
2291 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2292 file notification by ACTION. For filtering by file name, compare
2293 only the non-directory part of the file name.
2294
2295 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * autorevert.el: Use cl-lib instead of cl.
2298
2299 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2300 (vc-bzr-checkin): Use it.
2301 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2302 will preserve match-data.
2303
2304 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2305
2306 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2307 (js--declaration-keyword-re): New var.
2308 (js--multi-line-declaration-indentation): New function.
2309 (js--proper-indentation): Use it.
2310
2311 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2312
2313 * calc/calc.el (calc-highlight-selections-with-faces)
2314 (calc-dispatch):
2315 * comint.el (comint-history-isearch-message):
2316 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2317 * ffap.el (ffap-string-at-point-region, ffap-next)
2318 (ffap-string-at-point, ffap-string-around)
2319 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2320 (ffap-literally):
2321 * font-lock.el (font-lock-keywords-alist)
2322 (font-lock-removed-keywords-alist):
2323 * help-mode.el (help-xref-symbol-regexp):
2324 * info.el (Info-find-emacs-command-nodes):
2325 * international/mule.el (add-to-coding-system-list):
2326 * isearch.el (isearch-message-function, isearch-fail-pos):
2327 * misearch.el (multi-isearch-next-buffer-function):
2328 * newcomment.el (comment-box):
2329 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2330 (pr-setting-database):
2331 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2332 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2333 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2334 (pike-font-lock-keywords-3):
2335 * progmodes/compile.el (compile):
2336 * progmodes/etags.el (tags-table-files)
2337 (tags-table-files-function, tags-included-tables-function):
2338 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2339 (gdb-restore-windows):
2340 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2341 (ps-n-up-filling-database):
2342 * server.el (server-buffer, server-log):
2343 * simple.el (newline, delete-backward-char, delete-forward-char)
2344 (minibuffer-history-isearch-message, kill-line, track-eol)
2345 (temporary-goal-column):
2346 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2347 (flyspell-default-deplacement-commands):
2348 * textmodes/ispell.el (ispell-accept-output):
2349 * textmodes/sgml-mode.el (html-tag-help):
2350 * vc/compare-w.el (compare-ignore-whitespace)
2351 (compare-ignore-case, compare-windows-dehighlight):
2352 * vc/diff.el (diff):
2353 * whitespace.el (whitespace-point)
2354 (whitespace-font-lock-refontify, whitespace-bob-marker)
2355 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2356
2357 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2358
2359 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2360 (auto-revert-notify-rm-watch): Ignore errors.
2361 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2362 inotify, and '(size last-write-time) for w32notify.
2363 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2364 watch fails - this is a fallback to the file modification check.
2365 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2366 (auto-revert-notify-event-action)
2367 (auto-revert-notify-event-file-name): New defuns.
2368 (auto-revert-notify-handler): Use them. Implement first
2369 plausibility checks.
2370 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2371
2372 2013-01-11 Julien Danjou <julien@danjou.info>
2373
2374 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2375 max are almost equal. Also return the correct value for V which is
2376 already between 0 and 1.
2377
2378 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2379
2380 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2381
2382 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2383
2384 * autorevert.el (auto-revert-notify-rm-watch)
2385 (auto-revert-notify-add-watch): Fix typos in w32notify function
2386 names.
2387
2388 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2389
2390 * autorevert.el (auto-revert-notify-enabled): Move up.
2391 (auto-revert-use-notify): New defcustom.
2392 (auto-revert-mode, global-auto-revert-mode)
2393 (auto-revert-notify-add-watch, auto-revert-handler)
2394 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2395 `auto-revert-notify-enabled'.
2396
2397 2013-01-10 Elias Pipping <pipping@exherbo.org>
2398
2399 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2400 * doc-view.el (doc-view-document->bitmap):
2401 Use doc-view-single-page-converter-function instead of
2402 single-page-converter arg; adjust callers.
2403
2404 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2405
2406 * progmodes/which-func.el (which-function): Understand Semantic's use
2407 of overlays in imenu--index-alist.
2408
2409 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2410
2411 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2412 (Man-man-k-use-anchor): New var.
2413 (Man-parse-man-k): New function.
2414 (Man-completion-table): Use it.
2415 (man): Flush the completion cache between uses.
2416
2417 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * autorevert.el: Add file watch support.
2420 (auto-revert-notify-enabled): New defconst.
2421 (auto-revert-notify-watch-descriptor-hash-list)
2422 (auto-revert-notify-watch-descriptor)
2423 (auto-revert-notify-modified-p): New defvars.
2424 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2425 (auto-revert-notify-handler): New defuns.
2426 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2427 when mode is disabled.
2428 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2429 (auto-revert-buffers): Add file watches for active buffers.
2430
2431 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2432
2433 * cus-start.el (toplevel): Only allow float values for
2434 scroll-up-aggressively and scroll-down-aggressively.
2435 Allow any number for line-spacing.
2436
2437 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2440 (doc-view-pdf->png-converter-function): Use mupdf if available.
2441 (doc-view-djvu->png-converter-function)
2442 (doc-view-ps->png-converter-function): Remove.
2443 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2444 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2445 (doc-view-already-converted-p): Adjust accordingly.
2446 (doc-view-mode-p): Simplify.
2447 (doc-view-enlarge): Use setq-local.
2448 (doc-view-pdf->png-converter-ghostscript)
2449 (doc-view-djvu->png-converter-ddjvu)
2450 (doc-view-pdf->png-converter-mupdf): Rework to call
2451 doc-view-start-process directly.
2452 (doc-view-pdf/ps->png): Simplify accordingly.
2453 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2454 (doc-view-document->bitmap): Rename from doc-view-document->png.
2455 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2456 (doc-view-set-slice-from-bounding-box): Fix completion table.
2457 (doc-view-mode): Use add-hook for after-revert-hook.
2458
2459 2013-01-10 Glenn Morris <rgm@gnu.org>
2460
2461 * emacs-lisp/authors.el (authors-ignored-files)
2462 (authors-valid-file-names, authors-renamed-files-alist):
2463 Add some more entries.
2464
2465 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2468 `t' pseudo-window entry.
2469
2470 2013-01-10 Alan Mackenzie <acm@muc.de>
2471
2472 Fix bugs in the c-parse-state mechanism. Reuse some markers
2473 instead of continually generating new ones.
2474
2475 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2476 (c-state-old-cpp-end-marker): New variables.
2477 (c-append-lower-brace-pair-to-state-cache): Start a backward
2478 search for "}" definitively outside CPP constructs.
2479 (c-remove-stale-state-cache): Inform the caller of a need to
2480 search back for a brace pair in certain circumstances.
2481 (c-state-maybe-marker): New macro.
2482 (c-parse-state): Reuse markers when appropriate.
2483
2484 2013-01-10 Glenn Morris <rgm@gnu.org>
2485
2486 * simple.el (execute-extended-command): Doc fix.
2487 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2488
2489 2013-01-10 Chong Yidong <cyd@gnu.org>
2490
2491 * faces.el (read-face-name): Doc fix.
2492
2493 2013-01-10 Roland Winkler <winkler@gnu.org>
2494
2495 * emacs-lisp/crm.el: Allow any regexp for separators.
2496 (crm-default-separator): All spaces around the default comma separator.
2497 (crm--completion-command): New macro.
2498 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2499 (crm-complete-and-exit): Handle non-single-char separators.
2500
2501 2013-01-09 Elias Pipping <pipping@lavabit.com>
2502
2503 * doc-view.el: Add support for DjVu (bug#13164).
2504 (doc-view-djvu->png-converter-function): New config var.
2505 (doc-view-single-page-converter-function, doc-view--image-type)
2506 (doc-view--image-file-extension): New vars.
2507 (doc-view-mode): Initialize them.
2508 (doc-view-goto-page): Use them.
2509 (doc-view-mode-p): Add support for ddjvu.
2510 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2511 (doc-view-set-up-single-converter): New funs.
2512 (doc-view-pdf/ps->png): Extend for djvu.
2513 (doc-view-document->png): Rename from doc-view-pdf->png.
2514 (doc-view-convert-current-doc): Handle djvu.
2515 (doc-view-insert-image, doc-view-display)
2516 (doc-view-already-converted-p): Don't hardcode png.
2517 (doc-view-set-doc-type): Recognize djvu docs.
2518
2519 2013-01-09 Elias Pipping <pipping@lavabit.com>
2520
2521 * doc-view.el: Add support for mupdf converter (bug#13164).
2522 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2523 (doc-view-ps->png-converter-function): New config vars.
2524 (doc-view-pdf->png-converter-ghostscript)
2525 (doc-view-ps->png-converter-ghostscript)
2526 (doc-view-pdf->png-converter-mupdf): New functions.
2527 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2528
2529 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2530
2531 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2532 first in session cache: When `tramp-own-remote-path' is in
2533 `tramp-remote-path', the remote path is only set in the session
2534 cache.
2535
2536 2013-01-09 Glenn Morris <rgm@gnu.org>
2537
2538 * emacs-lisp/trace.el (trace-function-foreground)
2539 (trace-function-background): Doc fix.
2540
2541 2013-01-09 Juri Linkov <juri@jurta.org>
2542
2543 * international/mule-cmds.el (read-char-by-name): Move let-binding
2544 of completion-ignore-case around completing-read to fix regression
2545 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2546 `string-match-p' using the nil value of `case-fold-search' and
2547 `completion-ignore-case' in `completion-pcm--all-completions'.
2548 (Bug#12615).
2549
2550 2013-01-09 Glenn Morris <rgm@gnu.org>
2551
2552 * progmodes/compile.el (compilation-parse-errors):
2553 Fix typo. (Bug#13369)
2554
2555 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2556
2557 * comint.el (comint-send-input): Check size of buffer before
2558 waiting for process output, in case already accepted. (Bug#13290)
2559
2560 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2561
2562 Spelling fixes.
2563 * net/tramp-adb.el (tramp-adb-get-toolbox):
2564 Fix misspelling of 'unknown'.
2565
2566 2013-01-08 Juri Linkov <juri@jurta.org>
2567
2568 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2569 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2570 Use underline style wave on terminals that support it. (Bug#13000)
2571
2572 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2575 the predicate returns nil.
2576
2577 * simple.el: Use lexical-binding.
2578 (primitive-undo): Use pcase.
2579 (minibuffer-history-isearch-push-state): Use a closure.
2580
2581 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2582
2583 * simple.el (primitive-undo): Move from undo.c.
2584
2585 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2586
2587 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2588 (cvs-mode-remove-handled): Use it (bug#13380).
2589
2590 * emacs-lisp/nadvice.el (advice--tweak): New function.
2591 (advice--remove-function, advice--subst-main): Use it.
2592
2593 * emacs-lisp/advice.el: Update commentary.
2594
2595 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2596
2597 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2598 Remove spurious entry.
2599
2600 2013-01-08 Glenn Morris <rgm@gnu.org>
2601
2602 * net/tramp.el (tramp-default-host-alist): Add :version.
2603
2604 2013-01-08 Juri Linkov <juri@jurta.org>
2605
2606 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2607 single completion. (Bug#12456)
2608 (info--manual-names): Expand node completions into an explicit list
2609 before appending it to another list. Filter out internal buffers
2610 with the leading space in the buffer name. (Bug#10771)
2611
2612 2013-01-08 Juri Linkov <juri@jurta.org>
2613
2614 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2615 that defaults to the Top node.
2616 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2617 the short format (FILENAME) goes to the Top node.
2618 (Info-build-node-completions): Rename arg `file' to `filename'.
2619 (Bug#13365)
2620
2621 2013-01-07 Bastien Guerry <bzg@gnu.org>
2622
2623 * menu-bar.el (menu-bar-search-documentation-menu):
2624 Use `apropos-user-option' and fix the help message.
2625
2626 2013-01-07 Bastien Guerry <bzg@gnu.org>
2627
2628 * apropos.el (apropos-do-all): Update docstring.
2629 (apropos-user-option-button): New face.
2630 (apropos-user-option): Rename from `apropos-variable' and update
2631 docstring.
2632 (apropos-variable): Rewrite, now show all variables by default.
2633 (apropos-print): Mention "User option" instead of "Variable" when
2634 printing doc for user options. (Bug#13276)
2635
2636 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2637
2638 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2639 Handle filename correctly, when parsing "source -> target" symlink
2640 output.
2641 (tramp-adb-handle-set-file-times): New defun.
2642
2643 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2646 advice list when the interactive-spec of ad-Advice-* changes.
2647
2648 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2649
2650 * wid-edit.el (widget-default-get): Work for inlined elements.
2651 (Bug#12670)
2652
2653 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp.el (tramp-default-host-alist): New defcustom.
2656 (tramp-find-host): Use it.
2657 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2658 `eshell-directory-change-hook'.
2659
2660 * net/tramp-adb.el (top): Add adb specific entry in
2661 `tramp-default-host-alist'.
2662 (tramp-adb-file-name-host): Remove function.
2663 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2664 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2665
2666 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2667
2668 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2669
2670 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2671
2672 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2673
2674 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2675 consist of more than one digit.
2676 (tramp-adb-file-name-handler-alist):
2677 Use `tramp-handle-file-exists-p' consistently.
2678 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2679 (tramp-adb-handle-file-exists-p): Remove function.
2680 (tramp-adb-file-name-host): New defun.
2681 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2682 Use it.
2683 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2684
2685 2013-01-06 Chong Yidong <cyd@gnu.org>
2686
2687 * vc/vc.el (vc-next-action): Detect buffer modifications
2688 conflicting with locking VCS operation (Bug#11490).
2689
2690 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2691
2692 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2693
2694 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2695 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2696
2697 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2698
2699 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2700 parsing of ls output using regular expression (handle filenames
2701 with spaces). Use virtual device number.
2702 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2703 cleanup).
2704
2705 2013-01-04 Daiki Ueno <ueno@gnu.org>
2706
2707 * epg.el: Silence byte-compiler warnings.
2708 (epg--start): Use delete-char instead of delete-backward-char.
2709 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2710
2711 2013-01-04 Daiki Ueno <ueno@gnu.org>
2712
2713 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2714 Suggested by Eli Zaretskii <eliz@gnu.org>.
2715
2716 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2719 non-negative integers. Otherwise, the default values are used.
2720 (tramp-convert-file-attributes): Convert uid and gid to integers.
2721
2722 2013-01-04 Glenn Morris <rgm@gnu.org>
2723
2724 * term.el (term-handle-colors-array): Ensure face attributes
2725 are fully specified, not nil. (Bug#13337)
2726
2727 * term.el (term-default-fg-color, term-default-bg-color):
2728 Fix custom type.
2729
2730 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2731 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2732 rather than 'jka-compr being loaded. (Bug#13338)
2733
2734 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2735
2736 * icomplete.el (icomplete-completions):
2737 Honor icomplete-prospects-height once more following
2738 2012-11-29 changes. (Bug#13224)
2739
2740 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2743 of called-interactively-p as well (bug#13237).
2744
2745 * view.el (view--enable, view--disable): Rename from view-mode-enable
2746 and view-mode-disable and assume it's called from view-mode.
2747 (view-mode-enable, view-mode-disable): Redefine as obsolete
2748 compatibility layer above view-mode.
2749 (view-mode-enter): Call `view-mode'.
2750
2751 * files.el (after-find-file): Call `view-mode'.
2752
2753 * doc-view.el (doc-view-scale-internally): New var.
2754 (doc-view-enlarge, doc-view-insert-image): Obey it.
2755
2756 2013-01-03 Daiki Ueno <ueno@gnu.org>
2757
2758 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2759 exist. (Bug#13344)
2760
2761 2013-01-03 Glenn Morris <rgm@gnu.org>
2762
2763 * mail/rmail.el (rmail-set-header-1): Ignore case.
2764 Handle multi-line headers. (Bug#13330)
2765
2766 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2767 Handle paragraph starting at beginning of buffer.
2768
2769 * subr.el (eval-after-load): Don't purecopy the form, so that it
2770 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2771
2772 * emacs-lisp/byte-run.el (defun): Place cl declarations
2773 after any interactive spec. (Bug#13265)
2774
2775 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2776
2777 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2778 defun. Don't check for DECL if DOCSTRING isn't a string.
2779 (defun): Likewise.
2780
2781 2013-01-02 Glenn Morris <rgm@gnu.org>
2782
2783 * eshell/em-cmpl.el (eshell-pcomplete):
2784 More thoroughly imitate pcomplete. (Bug#13293)
2785
2786 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2787 Return nil for empty path elements. (Bug#13296)
2788
2789 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2790
2791 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2792 order to improve efficiency (Based on Daniel Colascione's
2793 <dancol@dancol.org> patch). (Bug#13182)
2794
2795 2013-01-02 Glenn Morris <rgm@gnu.org>
2796
2797 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2798
2799 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2800
2801 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2802 neither DOCSTRING nor DECL was given. (Bug#13316)
2803
2804 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2805
2806 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2807 `error' call.
2808 (tramp-do-copy-or-rename-file): Ignore errors when calling
2809 `set-file-extended-attributes'.
2810
2811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2812 Add handler for `file-acl'.
2813 (tramp-smb-handle-file-acl): New defun.
2814
2815 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2816
2817 * calc/README: Mention ISO 8601 week-numbering dates.
2818
2819 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2820
2821 * view.el (view-mode-enable): New argument run-view-mode-hook.
2822 Run view-mode-hook only when it's non-nil (Bug#13315).
2823 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2824 argument t.
2825
2826 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2827
2828 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2829 (No device connected, invalid device name). (Bug #13299)
2830
2831 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2832
2833 * window.el (window-resizable--p): Rename to window-resizable-p.
2834 (window-resize-no-error): New function.
2835
2836 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2837 broken in fix from 2012-12-28.
2838
2839 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * subr.el (special-form-p): Don't signal errors on undef aliases.
2842
2843 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2844
2845 * calc/calc-forms.el (math-parse-date): Try using
2846 `math-parse-iso-date' when it looks like it might be needed.
2847 Allow times of 24:00.
2848 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2849 of 24:00.
2850
2851 2012-12-30 Glenn Morris <rgm@gnu.org>
2852
2853 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2854 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2855 (rmail-summary-displayed, rmail-summary): Declare.
2856 (mairix-rmail-display): Just require rmail.
2857
2858 2012-12-30 Chong Yidong <cyd@gnu.org>
2859
2860 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2861 check for the tarball contents.
2862
2863 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2864
2865 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2866 tarfile content listings (Bug#13136).
2867
2868 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2869
2870 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2871 Insert the undecoded text of the message being forwarded. (Bug#9521)
2872
2873 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2874
2875 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2876 integers, if they are real numbers. (Bug#13282)
2877
2878 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2879 Return `t' on success.
2880
2881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2882 Add handler for `set-file-selinux-context'.
2883
2884 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2885
2886 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2887 (tramp-sh-handle-set-file-acl): Return `t' on success.
2888
2889 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2890
2891 * files.el (backup-buffer-copy, basic-save-buffer-2):
2892 If set-file-extended-attributes fails, fall back on set-file-modes
2893 instead of signaling an error. (Bug#13298)
2894 (basic-save-buffer): Likewise.
2895
2896 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2897
2898 * progmodes/python.el: Support other commands triggering
2899 python-indent-line so indentation cycling continues to work.
2900 (python-indent-trigger-commands): New defcustom.
2901 (python-indent-line): Use it.
2902
2903 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2904
2905 * progmodes/python.el (python-shell-send-region): Add blank lines
2906 for non sent code so backtraces remain correct.
2907
2908 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2909
2910 * progmodes/python.el: Remove cl dependency.
2911 (python-syntax-count-quotes): Replace incf call.
2912 (python-fill-string): Replace setf call.
2913
2914 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2915
2916 * info.el (info-other-window): New arg, for consistency with info.
2917
2918 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2919
2920 * mail/rmail.el (rmail-maybe-display-summary):
2921 Rewrite (Bug#13066).
2922
2923 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2924
2925 * epg.el (epg--start): Modify process-environment locally.
2926
2927 2012-12-28 Daiki Ueno <ueno@gnu.org>
2928
2929 * epg.el: Support pinentry-curses.
2930 Suggested by Werner Koch in
2931 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2932 (epg-agent-file, epg-agent-mtime): New variable.
2933 (epg--start): Record the modified time of gpg-agent socket file,
2934 to restore Emacs frame after pinentry-curses termination.
2935 (epg-wait-for-completion): Restore Emacs frame here.
2936
2937 2012-12-27 Juri Linkov <juri@jurta.org>
2938
2939 * info.el (Info-file-completions): New variable.
2940 (Info-read-node-name-1): Complete node names in the Info file
2941 when a file name is given. Call `Info-build-node-completions'
2942 with a file name.
2943 (Info-build-node-completions): Add new arg `file'. When it is
2944 non-nil, visit it in a temporary buffer and cache its completions in
2945 `Info-current-file-completions'. Move most of the function body to
2946 `Info-build-node-completions-1'.
2947 (Info-build-node-completions-1): New function with the body from
2948 `Info-build-node-completions'. (Bug#12456)
2949
2950 2012-12-27 Juri Linkov <juri@jurta.org>
2951
2952 * frame.el (frame-maximization-style): Remove user option.
2953 (cycle-frame-maximized): Remove function.
2954 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2955 (toggle-frame-fullscreen): New command bound to <f11> instead of
2956 `toggle-frame-maximized'.
2957 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2958
2959 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2962
2963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2965 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2966 for `file-accessible-directory-p'. (Bug#13275)
2967
2968 2012-12-27 Sam Steingold <sds@gnu.org>
2969
2970 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2971 continuations, see <http://stackoverflow.com/questions/3582436>.
2972
2973 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2974
2975 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2976 "module" and "def" to have indentation before them.
2977 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2978
2979 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2980
2981 2012-12-27 Alan Mackenzie <acm@muc.de>
2982
2983 Speed up fontification where there's large brace blocks.
2984 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2985 to a call of c-beginning-of-decl-1.
2986
2987 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2988
2989 * comint.el (comint-adjust-window-point): New function.
2990 (comint-postoutput-scroll-to-bottom):
2991 Call comint-adjust-window-point (Bug#13248).
2992
2993 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2994
2995 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2996 Rakefile regexp.
2997 (auto-mode-alist): Associate .gemspec files with ruby-mode
2998 (https://bugs.ruby-lang.org/issues/5453).
2999
3000 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3001
3002 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3003 Suppress coloring, if possible (required for BusyBox based systems like
3004 CyanogenMod).
3005 (tramp-adb-handle-file-attributes)
3006 (tramp-adb-handle-insert-directory)
3007 (tramp-adb-handle-file-name-all-completions): Use it.
3008 (tramp-adb-get-toolbox): New defun. Check for remote shell
3009 implementation (BusyBox or Toolbox).
3010
3011 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3012
3013 * startup.el (initial-buffer-choice): Allow function as value
3014 (Bug#13251).
3015 (command-line-1): Handle case where initial-buffer-choice
3016 specifies a function.
3017 * server.el (server-execute): Handle case where
3018 initial-buffer-choice specifies a function.
3019
3020 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3021
3022 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3023 its own function.
3024 (smtpmail-try-auth-methods): Forget the user name/password if the
3025 login is unsuccessful (bug#12424).
3026
3027 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3028
3029 * notifications.el (notifications-notify): Protect body with
3030 `with-demoted-errors'.
3031
3032 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3033 Check properties of remote device. Restart connection, if there is a
3034 change.
3035
3036 2012-12-21 Chong Yidong <cyd@gnu.org>
3037
3038 * sort.el (sort-subr): Doc fix (Bug#13056).
3039
3040 2012-12-21 Bastien Guerry <bzg@gnu.org>
3041
3042 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3043
3044 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * simple.el (process-file): Overwrite stderr file, if exists.
3047
3048 2012-12-21 Daiki Ueno <ueno@gnu.org>
3049
3050 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3051 (epg-error): Set `error-message' property.
3052
3053 2012-12-21 Chong Yidong <cyd@gnu.org>
3054
3055 * international/mule-cmds.el (read-char-by-name): Signal an error
3056 if the user does not supply a valid character (Bug#13177).
3057
3058 * simple.el (transpose-subr-1): Preserve marker positions by
3059 changing the insertion sequence (Bug#13122).
3060
3061 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3062
3063 * simple.el (kill-region): Deactivate mark even for empty regions
3064 (Bug#13169).
3065
3066 2012-12-21 Chong Yidong <cyd@gnu.org>
3067
3068 * help-fns.el (describe-variable): Make sure we get the right
3069 buffer name (Bug#13105). Suggested by Kelly Dean.
3070
3071 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3072
3073 * comint.el (comint-redirect-previous-input-string): New variable.
3074 (comint-redirect-setup, comint-redirect-cleanup)
3075 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3076 (comint-redirect-preoutput-filter): Fix verbose message.
3077
3078 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3079
3080 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3081 is too long for Tramp. See discussion in
3082 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3083
3084 * progmodes/compile.el (compilation-start): Remove line escape
3085 template.
3086
3087 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3088
3089 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3090 Adjust comment.
3091
3092 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3093
3094 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3095 following non-comment text (bug#13207).
3096 (lm-header-multiline): Continuation lines need to be indented more than
3097 the first line.
3098 (lm-homepage): New function.
3099 (lm-with-file): Don't be confused if narrowing is in effect.
3100
3101 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3104 very beginning of a hunk (e.g. killing the first line).
3105
3106 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3109 and text properties from returned ACL string.
3110 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3111 for "setfacl" command.
3112
3113 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3116 `tramp-cleanup-this-connection', when the process has died.
3117 (Bug#13151)
3118
3119 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3122
3123 2012-12-17 Kevin Ryde <user42@zip.com.au>
3124
3125 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3126
3127 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3128
3129 Add support for preserving ACL entries of files.
3130
3131 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3132 `set-file-acl' handlers.
3133
3134 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3135 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3136
3137 * net/tramp-compat.el (tramp-compat-copy-file):
3138 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3139
3140 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3141 Add `file-acl' and `set-file-acl' handlers.
3142 (tramp-gvfs-handle-copy-file):
3143 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3144 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3145 New defuns.
3146
3147 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3148 Add `file-acl' and `set-file-acl' handlers.
3149 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3150 (tramp-sh-handle-set-file-acl): New defuns.
3151 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3152 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3153
3154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3155 Add `file-acl' and `set-file-acl' handlers.
3156 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3157
3158 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3159
3160 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3161 use pop-to-buffer with NORECORD argument t. As buffer name, use
3162 *Metahelp* with a leading space (Bug#13190).
3163
3164 2012-12-16 Romain Francoise <romain@orebokech.com>
3165
3166 * files.el (file-extended-attributes)
3167 (set-file-extended-attributes): New functions.
3168 (backup-buffer): Use them to handle both SELinux context and ACL
3169 entries.
3170 (backup-buffer-copy): Work with an alist of extended attributes,
3171 rather than an SELinux context.
3172 (basic-save-buffer-2): Ditto.
3173
3174 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3175
3176 * battery.el (battery-bsd-apm): New function.
3177
3178 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3179
3180 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3181 standard date formats.
3182
3183 2012-12-15 Juri Linkov <juri@jurta.org>
3184
3185 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3186 `isearch-insert-char-by-name'.
3187 (with-isearch-suspended): New defmacro with body mostly from
3188 `isearch-edit-string' except the part that sets
3189 `isearch-new-string' and `isearch-new-message'.
3190 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3191 body that sets `isearch-new-string' and `isearch-new-message'.
3192 (isearch-insert-char-by-name): New command.
3193 * international/mule-cmds.el (read-char-by-name): Let-bind
3194 `enable-recursive-minibuffers' to t.
3195 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3196
3197 2012-12-15 Juri Linkov <juri@jurta.org>
3198
3199 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3200 (Bug#13175)
3201
3202 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3203
3204 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3205 the prompt. (Bug#13045)
3206
3207 2012-12-14 Glenn Morris <rgm@gnu.org>
3208
3209 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3210 Try to include filename in non-bytecomp warning. (Bug#13132)
3211
3212 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3213
3214 Fix permissions bugs with setgid directories etc. (Bug#13125)
3215 * files.el (backup-buffer): Don't rely on 9th output of
3216 file-attributes, as it's now a placeholder. Instead, use the new
3217 optional arg of file-ownership-preserved-p.
3218 (file-ownership-preserved-p): New optional arg GROUP.
3219 Fix mishandling of setuid directories that would cause this
3220 function to return t when it should have returned nil.
3221 Document what happens if the file does not exist, and when
3222 it's not known whether the ownership will be preserved.
3223 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3224 Likewise.
3225 (tramp-get-local-gid): Use group-gid for integer, as that's
3226 faster and more reliable.
3227
3228 2012-12-14 Julien Danjou <julien@danjou.info>
3229
3230 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3231 Update keywords list, data type and PL/pgSQL.
3232
3233 2012-12-14 Dave Abrahams <dave@boostpro.com>
3234
3235 * vc/ediff-util.el (ediff-buffer-type): New function.
3236 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3237 rather than taking it as as argument.
3238 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3239
3240 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3241
3242 * json.el: Add pretty-print option (bug#12634).
3243 (json-encoding-separator, json-encoding-default-indentation)
3244 (json--encoding-current-indentation, json-encoding-pretty-print)
3245 (json-encoding-lisp-style-closings): New vars.
3246 (json--with-indentation): New macro.
3247 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3248 (json-encode-array): Use it to obey json-encoding-pretty-print.
3249 (json-pretty-print-buffer, json-pretty-print): New commands.
3250
3251 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3252
3253 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3254 Extract `ruby-syntax-propertize-expansions'.
3255 (ruby-syntax-propertize-expansions): Only change syntax on
3256 certain string delimiters, to punctuation. This way the common
3257 functions like forward-word and thing-at-point still work.
3258 (ruby-match-expression-expansion): Improve readability.
3259 (ruby-block-contains-point): New function.
3260 (ruby-add-log-current-method): Handle several edge cases.
3261
3262 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3263
3264 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3265 unload-feature finishes even when aborting an ongoing edebug session.
3266 Also, do not worry about edebug-mode, unload-feature takes care of it.
3267
3268 2012-12-13 Andreas Schwab <schwab@suse.de>
3269
3270 * net/tls.el (tls-program): Update customize type.
3271
3272 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3275 (edebug-setup-hook, cl-read-load-hooks): Use it.
3276 (edebug-unload-function): New function. (Bug#13163)
3277
3278 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3279
3280 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3281 Otherwise, there could be errors in autoloading. (Bug#13151)
3282
3283 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3284
3285 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3286 sequences.
3287
3288 2012-12-13 Alan Mackenzie <acm@muc.de>
3289
3290 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3291 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3292 around `forward-comment' not recognizing ^M as whitespace.
3293
3294 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3295
3296 * progmodes/python.el (python-skeleton-class)
3297 (python-skeleton-def): Do not add space after defun name.
3298
3299 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3302 (cl--symbol-function): Remove (now that funbound is like nil).
3303
3304 2012-12-12 Glenn Morris <rgm@gnu.org>
3305
3306 * button.el (button--area-button-p): Fix typo.
3307
3308 2012-12-12 Sam Steingold <sds@gnu.org>
3309
3310 * frame.el (frame-maximization-style): New user option.
3311 (toggle-frame-maximized): Toggle frame maximization according to
3312 `frame-maximization-style', bound to <f11>.
3313 (cycle-frame-maximized): Cycle between all maximization styles and
3314 non-maximized frame, bound to shift-<f11>.
3315
3316 2012-12-12 David Cadé <codename68@gmail.com>
3317
3318 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3319
3320 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3321
3322 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3323 (eieio-override-prin1): Don't quote kewords and booleans.
3324 (object-write) <eieio-default-superclass>: Don't put closing parens
3325 on new line, avoid needless empty lines, align values that are objects
3326 with the slot keyword (instead of beginning on the same line).
3327 (eieio-list-prin1): Align value with slot keyword; increase
3328 eieio-print-depth before printing members of the list.
3329
3330 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3333 a display text-property.
3334 (report-emacs-bug-hook): Don't bother deleting it any more.
3335
3336 * hilit-chg.el (highlight-save-buffer-state): Delete.
3337 Use with-silent-modifications instead.
3338 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3339
3340 * button.el: Handle buttons in display text-properties.
3341 (button--area-button-p, button--area-button-string):
3342 Use (STRING . STRING-POS) representation instead of just STRING.
3343
3344 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3345
3346 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3347 subdirectory be skipped.
3348
3349 2012-12-11 Glenn Morris <rgm@gnu.org>
3350
3351 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3352
3353 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3354 Treat preprocessor lines embedded in continuations like comments.
3355 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3356
3357 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3358
3359 * calc/calc.el (calc-standard-date-formats): Add more date
3360 formats.
3361 * calc/calc-forms.el (math-parse-iso-date): New function.
3362 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3363 (math-parse-iso-date-validate): Add extra error checking.
3364 (calc-date-notation): Add ability to access new date formats.
3365
3366 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3369 font-lock as well as when there's no text-property.
3370
3371 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3372
3373 * hi-lock.el: Refine the choice of default face.
3374 (hi-lock-keyword->face): New function. Use it wherever we used
3375 cadadadr instead.
3376 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3377 (hi-lock--last-face): Remove var.
3378 (hi-lock--unused-faces): New var to replace it.
3379 (hi-lock-read-face-name): Use/maintain it.
3380 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3381 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3382 if it has another face.
3383
3384 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3385
3386 * subr.el (w32notify-handle-event): New function.
3387 (inotify-handle-event): Doc fix.
3388
3389 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3390
3391 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3392
3393 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3394
3395 * simple.el (just-one-space): Doc fix.
3396
3397 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3398
3399 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3400
3401 2012-12-10 Le Wang <l26wang@gmail.com>
3402
3403 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3404 narrowed buffer (bug#12361).
3405
3406 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3407
3408 * vc/vc-hooks.el (vc-state): Doc fix.
3409
3410 2012-12-10 Glenn Morris <rgm@gnu.org>
3411
3412 * mail/rmail.el (rmail-maybe-display-summary):
3413 Preserve buffer, in case select-window changes it. (Bug#13066)
3414
3415 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3418 cl-load-hook where they belong.
3419
3420 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3423
3424 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3425
3426 Parallelize byte compilation on MS-Windows.
3427 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3428 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3429 (WINS_BASIC): Define as concatenation of the above.
3430 (compile): Subdivide into 4 separate and independent jobs that can
3431 be run in parallel.
3432 (compile0-CMD, compile0-SH): New targets for compiling
3433 COMPILE_FIRST files, which are prerequisites for the rest of the
3434 byte-compilation.
3435 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3436 New targets for parallel compilation with cmd.exe.
3437 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3438 compiling under a Unixy shell.
3439
3440 2012-12-09 Chong Yidong <cyd@gnu.org>
3441
3442 * simple.el (set-mark-default-inactive): Delete this
3443 accidentally-introduced option.
3444 (set-mark-command, exchange-point-and-mark): Remove calls.
3445
3446 2012-12-09 Glenn Morris <rgm@gnu.org>
3447
3448 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3449 Respect a defcustom's :set function, if appropriate. (Bug#109)
3450 (eval-defun): Doc fix.
3451
3452 2012-12-08 Juri Linkov <juri@jurta.org>
3453
3454 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3455 (Info-fontify-node, Info-bookmark-make-record): Remove the
3456 file extension from Info-current-file (Bug#13016).
3457
3458 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3461 point, still provide some default.
3462 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3463 names, since we don't use it right now. Actually return the list.
3464 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3465
3466 2012-12-07 Chong Yidong <cyd@gnu.org>
3467
3468 * novice.el (disabled-command-function): Remove a spurious help
3469 xref (Bug#13043). Suggested by Kelly Dean.
3470
3471 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3472 syntax is specified (Bug#13025).
3473
3474 * info.el (Info-set-mode-line): Remove the file extension from
3475 Info-current-file if there is one (Bug#13016).
3476
3477 2012-12-07 Glenn Morris <rgm@gnu.org>
3478
3479 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3480 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3481 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3482 and rmail-mime-decoded. (Bug#9841)
3483
3484 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3485 (batch-unrmail, unrmail): Doc fixes.
3486 (unrmail): Respect unrmail-mbox-format.
3487 * mail/rmail.el (rmail-mbox-format): New option.
3488 (rmail-show-message-1): Respect rmail-mbox-format.
3489
3490 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3493
3494 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3497 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3498 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3499 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3500 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3501 (cl-progv): Don't rely on dynamic scoping to find the body.
3502 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3503 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3504 (cl-declaim): Use backquotes.
3505 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3506 Use "cl--" prefix for the object's tag.
3507
3508 * ses.el: Use advice-add/remove.
3509 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3510 (copy-region-as-kill, yank): Use advice-add.
3511 (ses-unload-function): Use advice-remove.
3512
3513 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3514
3515 * button.el: Make them work in header-lines (bug#12817).
3516 (button-map): Add bindings for header-line and mode-line use.
3517 (button-get, button-put, button-label): `button' may now be a string.
3518 (button-activate): Don't make it a defsubst.
3519 (button--area-button-p, button--area-button-string): New functions.
3520 (make-text-button): Fix the return value when `beg' was a string.
3521 (push-button): Handle the mode-line case.
3522
3523 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3526 (sql-signum): Remove. Use `cl-signum' instead.
3527 (sql-read-passwd): Remove; use read-passwd instread.
3528 (sql-get-login-ext): Use read-string.
3529 (sql-get-login): Use dolist and pcase.
3530 (sql--completion-table): Rename from sql-try-completion.
3531 Use complete-with-action.
3532 (sql-mode): Don't change abbrev-all-caps globally.
3533 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3534 (sql-postgres-completion-object): Initialize vars in their `let'.
3535 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3536 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3537 (sql-comint-interbase): Use a single append, without setq.
3538 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3539
3540 * hi-lock.el: Rework the default face and the serialize regexp code.
3541 (hi-lock--auto-select-face-defaults): Remove.
3542 (hi-lock-string-serialize-serial): Remove.
3543 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3544 make weak.
3545 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3546 equal string.
3547 (hi-lock-set-pattern): Adjust accordingly.
3548 (hi-lock--regexps-at-point): Simplify accordingly.
3549 (hi-lock--auto-select-face-defaults): Remove.
3550 (hi-lock--last-face): New var to replace it.
3551 (hi-lock-read-face-name): Rewrite (bug#11095).
3552 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3553
3554 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3555
3556 * net/tramp.el (tramp-replace-environment-variables):
3557 Hide compiler warning.
3558 (tramp-file-name-for-operation): Remove `executable-find',
3559 `start-process', `call-process' and `call-process-region'.
3560
3561 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3562
3563 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3564 compatibility.
3565
3566 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3567
3568 2012-12-06 Chong Yidong <cyd@gnu.org>
3569
3570 * ffap.el (ffap-replace-file-component): Fix typo.
3571
3572 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3575 fix open-paren-like token test (bug#12785).
3576
3577 2012-12-06 Glenn Morris <rgm@gnu.org>
3578
3579 * mail/rmailsum.el (rmail-new-summary): Tweak for
3580 rmail-maybe-display-summary changing buffer. (Bug#13066)
3581
3582 2012-12-06 Juri Linkov <juri@jurta.org>
3583
3584 * info.el (Info-fontify-node): Don't hide the last newline.
3585 (Bug#12272)
3586
3587 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3588
3589 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3590 so as to enable message-read-from-minibuffer to expand mail aliases.
3591
3592 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3595 the `intangible' property.
3596 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3597
3598 2012-12-05 Deniz Dogan <deniz@dogan.se>
3599
3600 * net/rcirc.el (rcirc-urls): Update documentation.
3601 (rcirc-condition-filter): New function.
3602 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3603 and exclude consecutive duplicate URLs (Bug#6082).
3604
3605 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3606
3607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3608 Check return code of copy command.
3609
3610 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3611 Use group `tramp'. Add version.
3612
3613 2012-12-05 Chong Yidong <cyd@gnu.org>
3614
3615 * ffap.el (ffap-url-regexp): Don't require matching at front of
3616 string (Bug#4952).
3617 (ffap-url-p): If only a substring matches, return that.
3618 (ffap-url-at-point): Use the return value of ffap-url-p.
3619 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3620 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3621 (ffap-guess-file-name-at-point): Likewise.
3622 (ffap-replace-file-component): Fix typo.
3623
3624 * info.el (info-display-manual): Add existing Info buffers, whose
3625 files may not be in Info-directory-list, to the completion.
3626 (info--manual-names): New helper function.
3627
3628 2012-12-05 Glenn Morris <rgm@gnu.org>
3629
3630 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3631 New functions, for detecting and resolving conflicts. (Bug#10709)
3632
3633 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3634
3635 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3636 (hi-lock-auto-select-face-defaults): New buffer local variable.
3637 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3638 (hi-lock-unface-buffer): Prompt user with useful defaults.
3639 With prefix arg, unhighlight all hi-lock patterns in buffer.
3640
3641 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3644
3645 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3646
3647 * Makefile.in (TRAMP_SRC):
3648 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3649
3650 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3651
3652 * net/tramp-adb.el: New package.
3653
3654 2012-12-04 Chong Yidong <cyd@gnu.org>
3655
3656 * terminal.el: Move to obsolete/.
3657
3658 * longlines.el: Move to obsolete/.
3659
3660 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3661 Remove code referring to longlines mode.
3662
3663 2012-12-03 Juri Linkov <juri@jurta.org>
3664
3665 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3666
3667 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3668
3669 * textmodes/ispell.el (ispell-init-process)
3670 (ispell-start-process, ispell-internal-change-dictionary):
3671 Make sure personal dictionary name is expanded after initial
3672 `default-directory' value. Use expanded strings for
3673 keep/restart checks and for value (Bug#13019).
3674
3675 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3676
3677 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3678
3679 2012-12-03 Leo Liu <sdl.web@gmail.com>
3680
3681 * files.el (dir-locals-read-from-file): Check file non-empty
3682 before reading. (Bug#13038)
3683
3684 2012-12-03 Glenn Morris <rgm@gnu.org>
3685
3686 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3687 Remove any version extension before checking filename. (Bug#13006)
3688 (jka-compr-compression-info-list): Belated :version bump.
3689
3690 2012-12-03 Chong Yidong <cyd@gnu.org>
3691
3692 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3693
3694 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3695 (buffer-menu): Doc fix (Bug#12294).
3696
3697 2012-12-03 Roland Winkler <winkler@gnu.org>
3698
3699 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3700 of diary-show-all-entries in the diary buffer (Bug#12994).
3701
3702 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3705 "<STDIN>". This is binary safe.
3706
3707 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3708
3709 * calc/calc-forms.el (math-absolute-from-iso-dt)
3710 (math-date-to-iso-dt, math-parse-iso-date-validate)
3711 (math-iso-dt-to-date): New functions.
3712 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3713 (math-fd-isoweekday): New variables.
3714 (calc-date-notation, math-parse-standard-date, math-format-date)
3715 (math-format-date-part): Add support for more formatting codes.
3716
3717 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3718
3719 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3720 current buffer's file name when called interactively (Bug#12488).
3721
3722 2012-12-02 Juri Linkov <juri@jurta.org>
3723
3724 * info.el (info-display-manual): Don't clobber an existing Info
3725 buffer (Bug#10770). Add completion (Bug#10771).
3726
3727 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3728
3729 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3730 before using it for comparison (Bug#5297).
3731
3732 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3733
3734 * textmodes/css-mode.el (css-current-defun-name): New function.
3735 (css-mode): Use it.
3736
3737 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3738 (html-mode): Use it.
3739
3740 2012-12-01 Chong Yidong <cyd@gnu.org>
3741
3742 Modularize add-log-current-defun (Bug#2224).
3743 Suggested by Jari Aalto.
3744
3745 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3746 (add-log-current-defun): Move mode-specific code to other files.
3747 (add-log-lisp-like-modes, add-log-c-like-modes)
3748 (add-log-tex-like-modes): Variables deleted.
3749
3750 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3751 (lisp-mode-variables): Use it.
3752
3753 * progmodes/cc-mode.el (c-common-init):
3754 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3755 add-log-current-defun-function.
3756
3757 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3758 (m4-mode): Use it.
3759
3760 * progmodes/perl-mode.el (perl-current-defun-name): New.
3761 (perl-mode): Use it.
3762
3763 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3764 Use lisp-current-defun-name.
3765
3766 * textmodes/tex-mode.el (tex-current-defun-name): New.
3767 (tex-common-initialization): Use it.
3768
3769 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3770 (texinfo-mode): Use it.
3771
3772 2012-12-01 Chong Yidong <cyd@gnu.org>
3773
3774 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3775 * progmodes/autoconf.el (autoconf-mode):
3776 * progmodes/js.el (js-mode):
3777 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3778 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3779 * progmodes/perl-mode.el (perl-mode):
3780 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3781 * textmodes/css-mode.el (css-mode):
3782 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3783 (sgml-tags-invisible, sgml-guess-indent):
3784 * textmodes/tex-mode.el (tex-common-initialization)
3785 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3786 (doctex-mode, plain-tex-mode, latex-mode):
3787 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3788
3789 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3790
3791 * vc/vc-hg.el (vc-hg-next-revision):
3792 Ensure use of default "tip" output format. (Bug#6968)
3793
3794 2012-12-01 Kim F. Storm <storm@cua.dk>
3795
3796 * startup.el (fancy-startup-tail): Add a clickable link
3797 (Bug#2176).
3798
3799 2012-12-01 Chong Yidong <cyd@gnu.org>
3800
3801 * startup.el (fancy-startup-tail): Improve the message about
3802 auto-save files (Bug#2176).
3803
3804 * files.el (recover-session): Improve the descriptive message, and
3805 use substitute-command-keys.
3806
3807 2012-12-01 Glenn Morris <rgm@gnu.org>
3808
3809 * ido.el (ido-file-internal):
3810 Handle other-window, other-frame for dired. (Bug#13036)
3811
3812 2012-11-30 Glenn Morris <rgm@gnu.org>
3813
3814 * icomplete.el (icomplete-separator): Fix :version.
3815
3816 2012-11-30 Chong Yidong <cyd@gnu.org>
3817
3818 * shell.el (shell): For C-u M-x shell, use an inactive shell
3819 buffer as the default (Bug#1975).
3820 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3821 (shell-mode): Use them to reapply ansi colorization if Shell mode
3822 is re-enabled.
3823
3824 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3825
3826 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3827
3828 2012-11-30 Samuel Bronson <naesten@gmail.com>
3829
3830 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3831 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3832
3833 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3834
3835 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3836 by move-to-column (Bug#3234).
3837
3838 2012-11-30 Chong Yidong <cyd@gnu.org>
3839
3840 * longlines.el (longlines-wrap-line, longlines-encode-region):
3841 Preserve text properties (Bug#1425).
3842
3843 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3844
3845 * vc/vc.el (vc-register): Allow registering a file which is
3846 already registered with a different backend (Bug#10589).
3847
3848 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3849 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * icomplete.el: Change separator; add ido-style commands.
3852 (icomplete-show-key-bindings): Remove custom var.
3853 (icomplete-get-keys): Remove function.
3854 (icomplete-forward-completions, icomplete-backward-completions):
3855 New commands.
3856 (icomplete-minibuffer-map): New var.
3857 (icomplete-minibuffer-setup): Use it.
3858 (icomplete-exhibit): Don't delay if the list of completions is known.
3859 (icomplete-separator): New custom.
3860 (icomplete-completions): Use it.
3861 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3862 (minibuffer-force-complete-and-exit): New command.
3863 (minibuffer--complete-and-exit): New function extracted from
3864 minibuffer-complete-and-exit.
3865 (minibuffer-complete-and-exit): Use it.
3866
3867 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3868 error message when the file doesn't exist (bug#12974).
3869
3870 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3871
3872 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3873
3874 2012-11-29 Glenn Morris <rgm@gnu.org>
3875
3876 * files.el (hack-dir-local-variables): Warn if try to set
3877 coding via dir-locals, since it doesn't work. (Bug#7169)
3878
3879 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3880 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3881 Set buffer-local value of desktop-save-buffer.
3882 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3883 New functions.
3884 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3885 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3886
3887 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3888 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3889 Doc fix.
3890 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3891 Doc fixes.
3892
3893 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3894
3895 * calc/calc-forms.el (calc-date-notation): Fix regexp
3896 used to find time codes. Fix symbol for seconds.
3897
3898 2012-11-27 Glenn Morris <rgm@gnu.org>
3899
3900 * emacs-lisp/derived.el (derived-mode-make-docstring):
3901 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3902
3903 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3906 lexically scoped variables (bug#13005).
3907
3908 2012-11-27 Glenn Morris <rgm@gnu.org>
3909
3910 * vc/vc-hooks.el (vc-mistrust-permissions):
3911 Default to t, to avoid data-loss. (Bug#11490)
3912
3913 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3914
3915 * progmodes/python.el (python-indent-guess-indent-offset):
3916 If indentation is guessed make python-indent-offset buffer-local.
3917
3918 Fix Imenu regression.
3919 * progmodes/python.el (python-nav-beginning-of-defun):
3920 Fix forward movement when statement(s) separates point from defun.
3921 (python-imenu-prev-index-position): New function.
3922
3923 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3924
3925 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3926
3927 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3928 Don't set buffer-file-type. Return nil. (Bug#12989)
3929
3930 2012-11-27 Glenn Morris <rgm@gnu.org>
3931
3932 * hippie-exp.el (hippie-expand-try-functions-list):
3933 Re-autoload it. (Bug#12982)
3934
3935 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3936
3937 * descr-text.el (describe-char-padded-string):
3938 Call internal-char-font only on GUI frames. (Bug#11964)
3939
3940 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3941
3942 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3943 and obsoletion message.
3944
3945 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3948 the constructs to keep outside of the `cl-block' (bug#12977).
3949
3950 2012-11-27 Chong Yidong <cyd@gnu.org>
3951
3952 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3953 keep reading until we get the up-event anyway, in order to process
3954 the up-event for mouse-1-click-follows-link (Bug#12971).
3955
3956 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3959 base function is not yet defined (bug#12965).
3960 (ad-activate-advised-definition): Use ad-compile-function.
3961 (ad-activate): Use cond.
3962
3963 2012-11-25 Leo Liu <sdl.web@gmail.com>
3964
3965 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3966 (Bug#12979)
3967
3968 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3969
3970 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3971 reftex-section-info-function in order to be compatible with
3972 Texinfo integration.
3973
3974 * textmodes/reftex.el (reftex-section-pre-regexp)
3975 (reftex-section-post-regexp, reftex-section-info-function):
3976 New variable.
3977 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3978 reftex-section-post-regexp, and reftex-section-info-function in order
3979 to be compatible with Texinfo integration.
3980
3981 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3982 use reftex-section-pre-regexp variable in order to be compatible with
3983 Texinfo integration.
3984
3985 2012-11-25 Chong Yidong <cyd@gnu.org>
3986
3987 * faces.el: Make face-spec-set more analogous to setq.
3988 (face-spec-set): Change the third arg to specify whether this
3989 function is being called via defface, customize, or a third party.
3990 Set the appropriate symbol properties. Clear the override spec if
3991 setting via Custom. Initialize face if necessary. (Bug#4988)
3992 (face-spec-recalc): Allow theme faces to completely replace the
3993 defface spec, in the same way as custom faces (Bug#8454).
3994
3995 * cus-face.el (custom-declare-face): Move face initialization to
3996 face-spec-set.
3997 (custom-theme-set-faces): Don't initialize the face name here, as
3998 that is now done in face-spec-set.
3999
4000 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4001 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4002 Simplify by using the new arg to face-spec-set.
4003
4004 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4005 reset face-override-spec too, and use custom-declare-face.
4006
4007 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4008
4009 * term/ns-win.el (ns-initialize-window-system): Move creation of
4010 fontsets here (Bug#11964).
4011
4012 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4013
4014 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4015 cell renaming.
4016
4017 2012-11-24 Chong Yidong <cyd@gnu.org>
4018
4019 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4020 obsolete.
4021
4022 * custom.el (custom-theme-set-variables): Use a topological sort
4023 for ordering by custom dependencies (Bug#12952).
4024 (custom--sort-vars, custom--sort-vars-1): New functions.
4025
4026 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4029 lexical-binding (bug#12938).
4030
4031 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4032
4033 * image-mode.el (image-transform-check-size): Use assertions only
4034 for images of type imagemagick.
4035
4036 Otherwise no error, image-transform-fit-to-{width,height} is
4037 silently ignored, as before. Doc fix.
4038
4039 2012-11-24 Chong Yidong <cyd@gnu.org>
4040
4041 * faces.el (color-defined-p): Doc fix (Bug#12853).
4042
4043 2012-11-24 Juri Linkov <juri@jurta.org>
4044
4045 * dired.el (dired-mark): Add optional arg `interactive'.
4046 Check for `use-region-p' if `interactive' is non-nil.
4047 (dired-unmark, dired-flag-file-deletion): Add optional arg
4048 `interactive'. Call `dired-mark' with the arg `interactive'.
4049 (Bug#10624)
4050
4051 * wdired.el: Revert 2012-10-17 change partly and replace it with
4052 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4053 (wdired-finish-edit): Add marks for new file names to
4054 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4055 after `revert-buffer'.
4056 (wdired-do-renames): Remove calls to `dired-remove-file',
4057 `dired-add-file', `dired-add-entry'. (Bug#11795)
4058
4059 2012-11-24 Alan Mackenzie <acm@muc.de>
4060
4061 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4062
4063 Fix bugs in the state cache. Enhance a debugging mechanism.
4064 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4065 "brace at column zero" strategy for C++.
4066 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4067 (c-parse-state-point): New variable.
4068 (c-record-parse-state-state): Record old parse state with
4069 `copy-tree'. Record previous value of point.
4070 (c-debug-parse-state-double-cons): New debugging function.
4071 (c-debug-parse-state): Call the above new function.
4072 (c-toggle-parse-state-debug): Output a confirmatory message.
4073
4074 * progmodes/cc-mode.el (c-before-change, c-after-change):
4075 Call c-invalidate-state-cache from `c-before-change' instead of
4076 `c-after-change'.
4077
4078 2012-11-23 Chong Yidong <cyd@gnu.org>
4079
4080 * find-cmd.el (find-constituents): Add executable, ipath,
4081 readable, samefile, writable, daystart, regextype (Bug#12856).
4082
4083 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4086
4087 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4088
4089 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4090 definition. This fixes a bootstrap failure.
4091 (calc-gregorian-switch): In menu, put dates before regions.
4092 This is easier to follow, lines up better in the menu, and lets us
4093 coalesce regions that switch at the same time. Give country
4094 names, not "Vatican", as that's better for non-expert users.
4095 Use names that are stable between the date of switch and now, e.g.,
4096 Bohemia and Moravia (which existed then and now) and not
4097 Czechoslovakia (which didn't exist then and doesn't exist now).
4098 What is now the U.S. mostly did not switch at the same time as
4099 Britain, so omit the U.S. Correct spelling of "Britain".
4100 Catholic Switzerland was too much of a mess, so omit it.
4101
4102 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4103
4104 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4105 after the variable is changed.
4106
4107 2012-11-21 Daniel Colascione <dancol@dancol.org>
4108
4109 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4110 in SQL declarations for font-lock.
4111 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4112
4113 2012-11-21 Glenn Morris <rgm@gnu.org>
4114
4115 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4116 (face-italic-p): Add optional argument "inherit".
4117
4118 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4119 Remove -p suffix from names, for consistency with other set-face-*.
4120 (set-face-inverse-video): Fix interactive spec.
4121 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4122 * textmodes/table.el (table--update-cell-face):
4123 Use set-face-inverse-video rather than now obsolete alias.
4124
4125 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4126
4127 * simple.el (line-move): Don't call line-move-partial if
4128 scroll-conservatively is in effect. (Bug#12927)
4129
4130 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4133 Fallback on completion-at-point rather than
4134 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4135 (eshell-cmpl-initialize): Setup completion-at-point.
4136
4137 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4138
4139 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4140
4141 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4142
4143 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4144 are remote, check out-of-band property for both.
4145
4146 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4149 code rewrite.
4150
4151 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4152
4153 More minor time fixes.
4154 * calendar/time-date.el: Commentary fix.
4155 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4156 too much other code depends on (0 0) time stamps.
4157 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4158 Add a couple of FIXME comments.
4159
4160 Minor cleanup for times as lists of four integers.
4161 * files.el (dir-locals-directory-cache):
4162 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4163 Doc fixes.
4164 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4165 * ps-bdf.el (bdf-file-newer-than-time):
4166 Process four-integers time stamps, not two. Doc fixes.
4167
4168 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * uniquify.el (uniquify-managed): Use defvar-local.
4171 (rename-buffer, create-file-buffer): Advise with advice-add.
4172 (uniquify-unload-function): Unadvise accordingly.
4173
4174 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4175 (trace-buffer): Don't purecopy.
4176 (trace-entry-message, trace-exit-message): Add `context' arg.
4177 (trace--timer): New var.
4178 (trace-make-advice): Adjust for use in nadvice.
4179 Add `context' argument. Delay `display-buffer' via a timer.
4180 (trace-function-internal): Use advice-add.
4181 (trace--read-args): New function.
4182 (trace-function-foreground, trace-function-background): Use it.
4183 (trace-function): Rename to trace-function-foreground and redefine as
4184 an alias to that new name.
4185 (untrace-function, untrace-all): Adjust to the use of nadvice.
4186
4187 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4188
4189 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4190
4191 * subr.el (called-interactively-p-functions): New var.
4192 (internal--called-interactively-p--get-frame): New macro.
4193 (called-interactively-p, interactive-p): Rewrite in Lisp.
4194 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4195 (called-interactively-p-functions): Use it.
4196 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4197 (called-interactively-p-functions): Use it.
4198 * allout.el (allout-called-interactively-p): Don't assume
4199 called-interactively-p is a subr.
4200
4201 2012-11-20 Glenn Morris <rgm@gnu.org>
4202
4203 * profiler.el (profiler-report-mode-map): Add a menu.
4204 No need to bind `q' because we derive from special-mode.
4205 (profiler-report-find-entry): Handle calls from the menu-bar.
4206
4207 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * emacs-lisp/byte-run.el (defun-declarations-alist):
4210 Allow a compiler-macro to be a lambda expression.
4211
4212 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4213 eval-when-compile.
4214 (python-syntax-context): Add compiler-macro.
4215 (python-font-lock-keywords): Simplify with De Morgan.
4216
4217 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4218
4219 * files.el (load-file): Require match in minibuffer selection, as was
4220 the case in Emacs-20 before we changed the spec to allow .elc files
4221 (bug#12935).
4222
4223 * json.el: Don't require cl since we don't use it.
4224 * color.el: Don't require cl.
4225 (color-complement): `caddr' -> `nth 2'.
4226
4227 * calendar/time-date.el (time-to-seconds): De-obsolete.
4228
4229 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4230
4231 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4232 year numbers.
4233 (math-date-to-julian-dt): Adjust the initial approximation for the
4234 year to deal with the new definition of the DATE.
4235
4236 2012-11-19 Daniel Colascione <dancol@dancol.org>
4237
4238 * term/w32-win.el (cygwin-convert-path-from-windows):
4239 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4240
4241 2012-11-18 Chong Yidong <cyd@gnu.org>
4242
4243 * filecache.el (file-cache--read-list): New function.
4244 (file-cache-add-directory-list, file-cache-add-file-list)
4245 (file-cache-delete-file-list, file-cache-delete-directory-list):
4246 Use it to read a list of files or directories (Bug#12846).
4247 (file-cache-add-file, file-cache-add-directory)
4248 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4249 (file-cache-delete-directory): Print an message.
4250
4251 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4252
4253 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4254 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4255
4256 2012-11-18 Glenn Morris <rgm@gnu.org>
4257
4258 * image.el (insert-image, insert-sliced-image): Doc fix.
4259
4260 2012-11-18 Chong Yidong <cyd@gnu.org>
4261
4262 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4263 (Bug#12810).
4264
4265 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4266
4267 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4268 response when the target file is in a subdirectory (Bug#12757).
4269
4270 2012-11-18 Chong Yidong <cyd@gnu.org>
4271
4272 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4273
4274 2012-11-18 Glenn Morris <rgm@gnu.org>
4275
4276 * emacs-lisp/cl-lib.el (face-underline-p):
4277 Use set-face-underline rather than the alias set-face-underline-p.
4278
4279 * window.el (with-temp-buffer-window): Doc fix.
4280 * subr.el (with-output-to-temp-buffer):
4281 Add doc xref to with-temp-buffer-window.
4282
4283 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4284
4285 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4286 * calc/calc.el (math-format-date-cache): Declare.
4287
4288 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4289
4290 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4291 It also uses January 1, 1 AD as its day number 1.
4292 * calc/calc-forms.el (math-julian-date-beginning)
4293 (math-julian-date-beginning-int): Implement this.
4294
4295 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4296
4297 * descr-text.el (quail-find-key):
4298 * dired.el (desktop-file-name):
4299 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4300 * generic-x.el (comint-mode, comint-exec):
4301 * image-dired.el (widget-forward):
4302 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4303 (speedbar-change-expand-button-char)
4304 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4305 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4306 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4307 (widget-field-action, widget-value-set):
4308 * speedbar.el (imenu--make-index-alist):
4309 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4310 (ring-length, ring-insert):
4311 * vcursor.el (compare-windows-skip-whitespace):
4312 * woman.el (dired-get-filename):
4313 Declare functions.
4314
4315 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4316
4317 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4318
4319 * calc/calc.el (calc-gregorian-switch): New variable.
4320
4321 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4322 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4323 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4324 (math-leap-year-p): Add option to distinguish between Julian
4325 and Gregorian calendars.
4326 (math-day-number): Use `math-day-in-year' to do the computations.
4327 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4328 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4329 to do the computations.
4330 (math-date-to-dt): Use `math-date-to-julian-dt' and
4331 `math-date-to-gregorian-dt' to do the computations.
4332 (calcFunc-weekday, math-format-date-part): Use the new version of
4333 the DATE to determine the weekday.
4334 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4335 when necessary.
4336
4337 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4338
4339 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4340 Cygwin; otherwise use 'file:'. (Bug#12914)
4341 (cygwin-convert-path-from-windows): Declare, to avoid
4342 byte-compiler warnings.
4343
4344 2012-11-17 Andreas Politz <politza@fh-trier.de>
4345
4346 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4347 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4348 prefix and negative numeric prefix args (Bug#12795).
4349
4350 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4351
4352 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4353 Don't signal an error with a score that is too low to add to the
4354 list of top scores. (Bug#12779)
4355
4356 2012-11-17 Chong Yidong <cyd@gnu.org>
4357
4358 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4359
4360 * filecache.el (file-cache-add-file): Handle relative file name in
4361 the argument (Bug#12694).
4362
4363 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4364
4365 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4366
4367 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4370
4371 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4372
4373 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4374
4375 * window.el (enlarge-window, shrink-window): Don't mention return
4376 value in doc-string (Bug#12896).
4377 (window--display-buffer): Don't resize frames - it won't work
4378 with all window managers and defeat pop-up-frame-alist.
4379 (display-buffer-alist): In doc-string explain that CONDITION can
4380 be a function and which arguments are passed to it (Bug#12854).
4381 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4382 expressions (Bug#12854).
4383 (display-buffer): Pass ACTION argument to
4384 display-buffer-assq-regexp.
4385
4386 2012-11-16 Glenn Morris <rgm@gnu.org>
4387
4388 * window.el (fit-frame-to-buffer-bottom-margin)
4389 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4390
4391 * faces.el (face-underline-p): Use face-attribute-specified-or.
4392
4393 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4394
4395 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4396
4397 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4400
4401 2012-11-16 Glenn Morris <rgm@gnu.org>
4402
4403 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4404 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4405
4406 * faces.el (face-underline-p): Doc fix. Handle :underline being
4407 things other than `t' (a string, a list).
4408 (face-inverse-video-p): Doc fix.
4409 (set-face-underline): Rename it back from set-face-underline-p.
4410 Doc fix. Allow interactive input of values other than t.
4411 (read-face-attribute): Apply formatting to :underline,
4412 since like :box and :stipple it can take list values.
4413
4414 * term.el (ansi-term): Don't let C-x escape-char binding
4415 clobber the more standard C-c binding. (Bug#12842)
4416
4417 * subr.el (set-temporary-overlay-map): Doc fix.
4418
4419 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4420
4421 * window.el (record-window-buffer)
4422 (display-buffer-record-window): When copying the markers to
4423 window-point preserve window-point-insertion-type. (Bug#12588)
4424
4425 2012-11-16 Glenn Morris <rgm@gnu.org>
4426
4427 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4428 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4429 Use new names for hooks rather than obsolete aliases.
4430
4431 2012-11-15 Daniel Colascione <dancol@dancol.org>
4432
4433 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4434 prefix instead of "file:" so that when FILE-NAME begins with "//",
4435 as it does when the target file is on a network share, url-handler
4436 isn't confused.
4437
4438 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4441 a preactivated advice from an old advice.el; they're not compatible!
4442
4443 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4444
4445 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4446 Fix string-spec case.
4447
4448 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4449
4450 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4453 (advice--buffer-local-function-sample): New var.
4454 (advice--set-buffer-local, advice--buffer-local): New functions.
4455 (add-function, remove-function): Use them.
4456
4457 2012-11-15 Drew Adams <drew.adams@oracle.com>
4458
4459 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4460
4461 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4464 potential binding of print-gensym to t, and prettify (back)quotes in
4465 case they appear in args's default values (bug#12884).
4466
4467 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4470 (advice-eval-interactive-spec): New function.
4471 (advice--make-interactive-form): Support around advice (bug#12844).
4472
4473 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4474
4475 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4476 more strict. Add docstring.
4477 (ruby-expression-expansion-re): Extract from
4478 `ruby-match-expression-expansion'.
4479 (ruby-syntax-propertize-function): After everything else, search
4480 for expansions in string literals, mark their insides as
4481 whitespace syntax and save match data for font-lock.
4482 (ruby-font-lock-keywords): Use the 2nd group from expression
4483 expansion matches.
4484 (ruby-match-expression-expansion): Use the match data saved to the
4485 text property in ruby-syntax-propertize-function.
4486
4487 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4490 (bug#12879).
4491
4492 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4493
4494 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4495 start/end keyword a bit harder. Works with different values of N.
4496 Add more comments.
4497 (ruby-end-of-block): Update accordingly.
4498
4499 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * woman.el (woman-file-name): Don't mess with unread-command-events
4502 (bug#12861).
4503
4504 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4505 Remove out of date self-require hack.
4506 (ad-do-advised-functions): Use simple `dolist'.
4507 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4508 (ad-advice-definition): Redefine as functions.
4509 (ad-advice-classes): Move before first use.
4510 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4511 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4512 (ad--defalias-fset): Remove functions.
4513 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4514 (ad-get-orig-definition): Rewrite.
4515 (ad-make-advised-definition-docstring): Change base docstring.
4516 (ad-real-orig-definition): Rewrite.
4517 (ad-map-arglists): Change name of called function.
4518 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4519 (ad-make-advised-definition): Simplify.
4520 (ad-assemble-advised-definition): Tweak for new calling context.
4521 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4522 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4523 function and call ad-activate if needed.
4524 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4525 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4526 (ad-compile-function): Compile ad-Advice-*.
4527 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4528 (ad-start-advice, ad-stop-advice): Remove.
4529
4530 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4531
4532 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4533 period before class method names, not after. Remove handling of
4534 one impossible case. Add comments.
4535
4536 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/advice.el: Remove support for freezing.
4539 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4540 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4541 Remove support for `freeze'.
4542
4543 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4544 override the default.
4545 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4546 cl--dotimes/dolist.
4547 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4548 `cl' is loaded.
4549
4550 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4551 from add-advice.
4552 (advice--strip-macro): New function.
4553 (advice--defalias-fset): Use them to handle macros.
4554 (advice-add): Use them.
4555 (advice-member-p): Correctly handle macros.
4556
4557 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4560 Never font-lock the beginning of singleton class as heredoc.
4561
4562 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4565
4566 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4567
4568 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4569 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4570 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4571
4572 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4573
4574 Fix end-of-defun misbehavior.
4575 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4576 python-beginning-of-defun-function. Handle nested defuns
4577 correctly.
4578 (python-nav-end-of-defun): Rename from
4579 python-end-of-defun-function. Ensure forward movement.
4580 (python-info-current-defun): Reimplement to work as intended
4581 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4582 parent defuns as soon as possible.
4583
4584 2012-11-13 Glenn Morris <rgm@gnu.org>
4585
4586 * progmodes/flymake.el (flymake-error-bitmap)
4587 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4588 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4589
4590 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4591
4592 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4593 backward, always stop at indentation. Reverts the change from
4594 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4595
4596 2012-11-13 Glenn Morris <rgm@gnu.org>
4597
4598 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4599 Add ibuffer-filter-by-derived-mode.
4600
4601 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4602 the same name shadowing each other.
4603
4604 * window.el (with-temp-buffer-window): Doc tweak.
4605
4606 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4607
4608 * help.el (temp-buffer-max-height):
4609 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4610 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4611
4612 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * emacs-lisp/nadvice.el: New package.
4615 * subr.el (special-form-p): New function.
4616 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4617 (elp-all-instrumented-list): Remove var.
4618 (elp-not-profilable): Remove elp-wrapper.
4619 (elp-profilable-p): Use autoloadp and special-form-p.
4620 (elp--advice-name): New const.
4621 (elp-instrument-function): Use advice-add.
4622 (elp--instrumented-p): New predicate.
4623 (elp-restore-function): Use advice-remove.
4624 (elp-restore-all, elp-reset-all): Use mapatoms.
4625 (elp-set-master): Use elp--instrumented-p.
4626 (elp--make-wrapper): Rename from elp-wrapper, return a function
4627 suitable for advice-add. Use cl-inf.
4628 (elp-results): Use mapatoms+elp--instrumented-p.
4629 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4630 (debug-function-list): Remove var.
4631 (debug): Rename arg, and then let-bind it explicitly inside.
4632 (debugger-setup-buffer): Rename arg.
4633 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4634 (debugger-frame-number): Adjust to new debug-on-entry setup.
4635 (debug--implement-debug-on-entry): Rename from
4636 implement-debug-on-entry, add argument.
4637 (debugger-special-form-p): Remove, use special-form-p instead.
4638 (debug-on-entry): Use advice-add.
4639 (debug--function-list): New function.
4640 (cancel-debug-on-entry): Use it, along with advice-remove.
4641 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4642 (debugger-list-functions): Use debug--function-list instead of
4643 debug-function-list.
4644 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4645 (ad-special-form-p): Remove, use special-form-p instead.
4646 (ad-set-advice-info): Use add-function and remove-function.
4647 (ad--defalias-fset): Adjust accordingly.
4648
4649 2012-11-10 Glenn Morris <rgm@gnu.org>
4650
4651 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4652 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4653 (report-emacs-bug-create-existing-bugs-buffer)
4654 (report-emacs-bug-parse-query-results)
4655 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4656
4657 * term.el (term-default-fg-color, term-default-bg-color):
4658 Make obsolete, rather than just saying "deprecated" in the doc.
4659
4660 * term.el (term): Rename from `term-face'.
4661 (term-current-face, ansi-term-color-vector)
4662 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4663 Update all users.
4664
4665 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4666
4667 * server.el (server-create-window-system-frame): Handle Nextstep
4668 specially (Bug#12780).
4669
4670 2012-11-10 Glenn Morris <rgm@gnu.org>
4671
4672 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4673 Unautoload, and make obsolete. (Bug#7449)
4674
4675 2012-11-10 Chong Yidong <cyd@gnu.org>
4676
4677 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4678 rename from diff-remove-trailing-whitespace (Bug#12831).
4679
4680 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4683 miscompilation of trace.el.
4684
4685 2012-11-10 Glenn Morris <rgm@gnu.org>
4686
4687 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4688
4689 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4692 (bug#12812).
4693
4694 2012-11-10 Chong Yidong <cyd@gnu.org>
4695
4696 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4697 a defcustom with an appropriate :set function.
4698 (minibuffer-default--in-prompt-regexps): New function.
4699
4700 2012-11-10 Glenn Morris <rgm@gnu.org>
4701
4702 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4703 (define-modify-macro): Doc fixes.
4704
4705 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4706 (gv-define-simple-setter): Update doc of `fix-return'.
4707
4708 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4711 twice when `fix-return' is set (bug#12813).
4712
4713 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4714 gv-define-simple-setter (bug#12812).
4715
4716 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4717 (bug#12756).
4718
4719 2012-11-10 Glenn Morris <rgm@gnu.org>
4720
4721 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4722
4723 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4724 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4725 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4726 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4727
4728 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4729
4730 2012-11-10 Leo Liu <sdl.web@gmail.com>
4731
4732 * ido.el (ido-set-matches-1): Improve flex matching performance by
4733 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4734
4735 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4738 (ad--defalias-fset): New function.
4739 (ad-safe-fset): Remove.
4740 (ad-make-freeze-definition): Use cl-letf*.
4741
4742 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * subr.el (dolist): Don't bind VAR in RESULT.
4745
4746 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4747 (fset, documentation): Don't save real def since we don't advise.
4748 (ad-do-advised-functions): Remove problematic `result-form'.
4749 (ad-safe-fset): `ad-real-fset' => `fset'.
4750 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4751 uses CL's dolist internally.
4752 (ad-arglist): Remove unused arg `name'.
4753 (ad-docstring, ad-make-advised-docstring):
4754 `ad-real-documentation' => `documentation'.
4755 (warning-suppress-types): Declare.
4756 (ad-set-arguments): Simple CSE.
4757 (ad-recover-normality): Sanity check.
4758
4759 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4760 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4761
4762 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4763
4764 * ses.el: symbol to coordinate mapping is made by symbol property
4765 `ses-cell'. This means that the same mapping is done for all SES
4766 sheets. That is good enough for cells with standard A1 names, but
4767 not for named cell. So a hash map is added for the latter.
4768 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4769 (ses-sym-rowcol): Use hashmap for named cell.
4770 (ses-is-cell-sym-p): New defun.
4771 (ses-decode-cell-symbol): New defun.
4772 (ses-create-cell-variable): Add cell to hashmap when name is not
4773 A1-like.
4774 (ses-rename-cell): Check that cell new name is not already in
4775 spreadsheet with the use of ses-is-cell-sym-p
4776 (ses-rename-cell): Use hash map for named cells, but accept also
4777 renaming back to A1-like.
4778
4779 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * emacs-lisp/advice.el: Use new dynamic docstrings.
4782 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4783 Use dynamic-docstring-function instead of ad-advice-info.
4784 (ad--make-advised-docstring): New function extracted from
4785 ad-make-advised-docstring.
4786 (ad-make-advised-docstring): Use it.
4787 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4788 from sql-help.
4789 (sql-help): Use it with dynamic-docstring-function.
4790
4791 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4792
4793 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * files.el (hack-one-local-variable--obsolete): New function.
4796 (hack-one-local-variable): Use it for obsolete settings.
4797
4798 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4799 the new name.
4800
4801 * progmodes/js.el (js--filling-paragraph): New var.
4802 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4803 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4804 less sneaky.
4805
4806 2012-11-08 Julien Danjou <julien@danjou.info>
4807
4808 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4809 `auto-mode-alist' (Bug#12835).
4810
4811 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4814 (perl--prettify-symbols-alist): New const.
4815 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4816 New functions.
4817 (perl-font-lock-keywords-2): Use them.
4818 (perl-electric-noindent-p): New function.
4819 (perl-mode): Use it to set up electric-indent-mode.
4820 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4821 (perl-mode-map): Remove bindings for them.
4822 (perl-imenu-generic-expression, perl-outline-level):
4823 Match functions&packages in column>0.
4824
4825 * env.el (env--substitute-vars-regexp): New const.
4826 (substitute-env-vars): Use it. Add `only-defined' arg.
4827 * net/tramp.el (tramp-replace-environment-variables): Use it.
4828
4829 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4830 Byte-compile *before* eval in eval-and-compile.
4831 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4832 (byte-compile-file-form-autoload): Don't hide actual definition.
4833 (byte-compile-maybe-guarded): Accept `functionp' as well.
4834
4835 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4836
4837 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4838
4839 * notifications.el (notifications-get-server-information-method):
4840 New defconst.
4841 (notifications-get-capabilities): Fix docstring.
4842 (notifications-get-server-information): New defun.
4843
4844 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4845
4846 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4847 readability.
4848
4849 * textmodes/ispell.el: Experimental support for support debugging.
4850 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4851 buffer for ispell.
4852 (ispell-print-if-debug): New function to print stuff to
4853 `ispell-debug-buffer' if debugging is enabled.
4854 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4855 show some debugging info.
4856 (ispell-buffer-with-debug): New function that creates a debugging
4857 buffer and calls `ispell-buffer' with debugging enabled.
4858
4859 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4860 comment in autoconf mode. (Bug#12768)
4861
4862 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4863
4864 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4865 frame-first-window, frame-root-window, frame-selected-window,
4866 minibuffer-selected-window, minibuffer-window,
4867 window-absolute-pixel-edges, window-at, window-body-height,
4868 window-body-width, window-display-table, window-combination-limit,
4869 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4870 window-inside-edges, window-inside-pixel-edges, window-left-child,
4871 window-left-column, window-margins, window-next-buffers,
4872 window-next-sibling, window-new-normal, window-new-total,
4873 window-normal-size, window-parameter, window-parameters, window-parent,
4874 window-pixel-edges, window-point, window-prev-buffers,
4875 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4876 window-start, window-text-height, window-top-child, window-top-line,
4877 window-total-height, window-total-width and window-use-time to the list
4878 of functions without side-effects.
4879 (toplevel): Add window-valid-p to the list of error-free functions
4880 without side-effects.
4881
4882 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4883
4884 * textmodes/ispell.el (ispell-program-name):
4885 Update spellchecker parameters when customized.
4886
4887 2012-11-04 Glenn Morris <rgm@gnu.org>
4888
4889 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4890
4891 2012-11-04 Chong Yidong <cyd@gnu.org>
4892
4893 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4894 same-window-* variables.
4895
4896 2012-11-04 Juri Linkov <juri@jurta.org>
4897
4898 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4899 (isearch-describe-key, isearch-describe-mode): Use a display
4900 action instead of binding same-window-* variables (Bug#10040).
4901
4902 2012-11-03 Glenn Morris <rgm@gnu.org>
4903
4904 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4905 Rename handler properties back from cl-- to cl-. (Bug#12788)
4906
4907 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4908
4909 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4910
4911 * term/pc-win.el: Don't load term/internal from here.
4912
4913 * loadup.el: Load term/internal from here.
4914
4915 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4916
4917 * progmodes/python.el (inferior-python-mode): Fix hang in
4918 jit-lock (Bug#12645).
4919
4920 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4921
4922 * window.el (switch-to-visible-buffer)
4923 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4924
4925 2012-11-03 Glenn Morris <rgm@gnu.org>
4926
4927 * emacs-lisp/cl-lib.el (cl--random-time):
4928 Rename from cl-random-time. (Bug#12773)
4929 (cl--gensym-counter, cl--random-state): Update callers.
4930 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4931
4932 2012-11-03 Chong Yidong <cyd@gnu.org>
4933
4934 * cus-start.el: Make cursor-type customizable (Bug#11633).
4935
4936 2012-11-02 Glenn Morris <rgm@gnu.org>
4937
4938 * filecache.el: No need to load find-lisp when compiling.
4939 (find-lisp-find-files): Autoload it.
4940 (file-cache-add-directory-recursively): Don't require find-lisp.
4941
4942 * image.el (image-type-from-file-name): Trivial simplification.
4943
4944 * emacs-lisp/bytecomp.el (byte-compile-eval):
4945 Decouple "noruntime" and "cl-functions" warnings.
4946
4947 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4948
4949 * play/gomoku.el (gomoku-display-statistics): Update mode line
4950 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4951
4952 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (quit-restore-window): If the window has been
4955 created on an existing frame and ended up as the sole window on
4956 that frame, do not delete it (Bug#12764).
4957
4958 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4961 Rename from sh--inside-arithmetic-expression, handle more cases
4962 (bug#11263).
4963
4964 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4965 (sh-font-lock-open-heredoc): Use it (bug#12770).
4966
4967 2012-10-30 Glenn Morris <rgm@gnu.org>
4968
4969 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4970
4971 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4972
4973 2012-10-29 Chong Yidong <cyd@gnu.org>
4974
4975 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4976 function key is stored in a keyboard macro (Bug#4894).
4977
4978 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4979
4980 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4983 header comments".
4984 (diff-unified->context, diff-context->unified)
4985 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4986
4987 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4988
4989 * files.el (find-alternate-file): Only ask one question (bug#12487).
4990
4991 2012-10-29 Chong Yidong <cyd@gnu.org>
4992
4993 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4994 Suggested by Dan Nicolaescu (Bug#6326).
4995
4996 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4997
4998 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4999
5000 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5001
5002 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5003
5004 * face-remap.el (face-remap-add-relative): Handle the case where a
5005 face-remapping-alist entry is a cons cell (Bug#12762).
5006
5007 2012-10-29 Kevin Ryde <user42@zip.com.au>
5008
5009 * woman.el (woman-parse-numeric-value): Handle picas correctly
5010 (Bug#12639).
5011
5012 2012-10-29 Glenn Morris <rgm@gnu.org>
5013
5014 * emacs-lisp/cl.el (defsetf): Doc fix.
5015
5016 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5019 syntax to the matching opener, if any (bug#12547).
5020 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5021 matching open as a "case-(".
5022 (sh-smie-rc-grammar): Add a corresponding rule for it.
5023
5024 2012-10-28 Daniel Hackney <dan@haxney.org>
5025
5026 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5027 "PKGNAME-autoloads.el" in case we created it.
5028
5029 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5032 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5033 (completion--twq-all): Disable too-strict assertions.
5034
5035 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5036
5037 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5038
5039 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5040 text to match the real keybindings.
5041
5042 2012-10-27 Juri Linkov <juri@jurta.org>
5043
5044 * wdired.el (wdired-keep-marker-rename): New defcustom.
5045 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5046 (Bug#11795)
5047
5048 * dired.el (dired-keep-marker-rename): Add reference to
5049 `wdired-keep-marker-rename' in the docstring.
5050 Add default character value ?R to display initially in
5051 Customization UI instead of ?@.
5052
5053 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5054
5055 * window.el (display-buffer): In doc-string describe
5056 window-height and window-width alist entries.
5057
5058 * time.el (display-time-world): Restore fit-window-to-buffer
5059 behavior.
5060
5061 2012-10-27 Chong Yidong <cyd@gnu.org>
5062
5063 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5064
5065 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5066
5067 * minibuffer.el (completion-category-overrides): New completion
5068 category `bookmark' (bug#11131).
5069
5070 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5073 Silence bogus compiler warnings for ad-do-it.
5074
5075 * bookmark.el (bookmark-completing-read): Set the completion category
5076 to `bookmark' (bug#11131).
5077
5078 2012-10-26 Bastien <bzg@altern.org>
5079 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * face-remap.el: Use lexical-binding.
5082 (text-scale-adjust): Improve docstring. Use itself for the temporary
5083 overlay-map bindings, so as to repeat the "Use..." message each time.
5084
5085 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5086
5087 * emacs-lisp/macroexp.el (macroexp--expand-all):
5088 Obey byte-compile-warning-enabled-p (bug#12486).
5089
5090 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5091 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5092
5093 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5094
5095 * mouse.el (mouse-drag-line): Move last form into preceding when
5096 clause (Bug#12731).
5097
5098 * help.el (resize-temp-buffer-window): Fix doc-string.
5099
5100 2012-10-25 David Engster <deng@randomsample.de>
5101
5102 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5103 Remove. This feature is already integrated in imenu.
5104
5105 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5106 always loaded. Require `speedbar' unconditionally.
5107
5108 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5111
5112 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5113
5114 * net/ldap.el (ldap-search-internal): The official ldif format starts
5115 with a "version: 1" header (bug#12724).
5116
5117 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5118 (bug#12721).
5119
5120 2012-10-25 Glenn Morris <rgm@gnu.org>
5121
5122 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5123
5124 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * minibuffer.el (minibuffer-force-complete): Use one more marker
5127 for the temporary-overlay-map command (bug#12619).
5128
5129 2012-10-24 Chong Yidong <cyd@gnu.org>
5130
5131 * time.el (display-time-world-mode): Derive from special-mode.
5132 (display-time-world): Use display-buffer (Bug#12708).
5133 (display-time-world-mode-map): Variable deleted.
5134 (display-time-world-display): Wrap the final delete-char inside
5135 inhibit-read-only.
5136
5137 2012-10-24 Chong Yidong <cyd@gnu.org>
5138
5139 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5140 Doc fix.
5141
5142 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5143
5144 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * minibuffer.el (completion--all-sorted-completions-location): New var.
5147 (completion--cache-all-sorted-completions)
5148 (completion--flush-all-sorted-completions): Use it.
5149 (completion-in-region, completion-in-region--postch)
5150 (completion-at-point, completion-help-at-point): Use markers in
5151 completion-in-region--data (bug#12619).
5152
5153 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * progmodes/compile.el (compilation-start): Try to handle common
5156 quoting of `cd' argument (bug#12640).
5157
5158 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5159 (bug#12671).
5160
5161 2012-10-23 Glenn Morris <rgm@gnu.org>
5162
5163 * progmodes/gud.el (gud-menu-map):
5164 Check gdb-active-process is bound. (Bug#12358)
5165
5166 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * repeat.el (repeat): Set real-this-command (bug#12232).
5169
5170 * htmlfontify.el (hfy-post-html-hook):
5171 * filesets.el (filesets-cache-fill-content-hook):
5172 * arc-mode.el (archive-extract-hook):
5173 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5174 * net/rcirc.el (rcirc-sentinel-functions)
5175 (rcirc-receive-message-functions, rcirc-activity-functions)
5176 (rcirc-print-functions):
5177 * net/dbus.el (dbus-event-error-functions):
5178 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5179 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5180 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5181 * term/sun.el (sun-raw-prefix-hooks):
5182 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5183
5184 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5185
5186 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5187 Set `tramp-chunksize' to 1. This improves the performance.
5188 (tramp-smb-wait-for-output): Add timeout to
5189 `tramp-accept-process-output' calls.
5190
5191 2012-10-23 Chong Yidong <cyd@gnu.org>
5192
5193 * faces.el (font-list-limit): Define as an obsolete variable.
5194
5195 * startup.el (command-line):
5196 * cus-start.el: Don't refer to font-list-limit.
5197
5198 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5199
5200 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * subr.el (internal-temp-output-buffer-show): Rename from
5203 temp-output-buffer-show, since previously compiled files expect this name.
5204
5205 2012-10-23 Glenn Morris <rgm@gnu.org>
5206
5207 * image.el (image-type-from-file-name): If multiple types match,
5208 return the first one that is supported. (Bug#9045)
5209
5210 2012-10-22 Glenn Morris <rgm@gnu.org>
5211
5212 * image.el (imagemagick-enabled-types): Doc fix.
5213
5214 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5215
5216 * progmodes/which-func.el (which-func-current): The hash-table may have
5217 an explicit nil (bug#12338).
5218
5219 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * electric.el (electric-pair-delete-selection-self-insert-function):
5222 Rename to electric-pair-will-use-region, return a boolean.
5223 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5224
5225 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5226 (delete-selection-pre-hook): Use use-region-p.
5227 (delete-selection-self-insert-function): Remove.
5228 (self-insert-command): Obey self-insert-uses-region-functions.
5229 (self-insert-iso): Revert to previous setting, since we don't actually
5230 know what that command does.
5231 (delete-selection-self-insert-hooks): Remove.
5232
5233 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5234
5235 * delsel.el (delete-selection-helper): New function, extracted from
5236 delete-selection-pre-hook.
5237 (delete-selection-pre-hook): Use it.
5238 (delete-selection-self-insert-function): New function.
5239 (delete-selection-self-insert-hooks): New hook.
5240 (self-insert-command, self-insert-iso): Use it.
5241 * electric.el (electric-pair-syntax): New function, extracted from
5242 electric-pair-post-self-insert-function.
5243 (electric-pair-post-self-insert-function): Use it.
5244 (electric-pair-delete-selection-self-insert-function): New function.
5245 (electric-pair-mode): Require delsel and setup
5246 delete-selection-self-insert-hooks (bug#11520).
5247
5248 2012-10-20 Chong Yidong <cyd@gnu.org>
5249
5250 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5251 no changes to show (Bug#12586).
5252
5253 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5254 list explicitly (Bug#12571).
5255
5256 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5257
5258 * progmodes/flymake.el (flymake-create-temp-inplace):
5259 Use file-truename.
5260
5261 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5262
5263 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5264
5265 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5266
5267 * calc/calc-units.el (math-extract-units): Properly extract powers
5268 of units.
5269
5270 2012-10-20 Daniel Colascione <dancol@dancol.org>
5271
5272 * frame.el (make-frame): Set x-display-name as we used to in order
5273 to unbreak creating an X11 frame from an Emacs daemon started
5274 without a display.
5275
5276 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5279 the same completion-field (bug#12221).
5280
5281 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5282
5283 * emacs-lisp/debug.el (debug): Record height of debugger window
5284 also when debugger will be back (Bug#8789).
5285
5286 2012-10-18 Chong Yidong <cyd@gnu.org>
5287
5288 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5289 Convert to defcustom.
5290 (gdb-get-source-file): Don't bind pop-up-windows.
5291
5292 * progmodes/gud.el (gud-display-line): Don't specially re-use
5293 other frames for the gdb-mi case (Bug#12648).
5294
5295 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * emacs-lisp/advice.el: Clean up commentary a bit.
5298 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5299 (byte-code-function-p): Never redefine.
5300
5301 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5302
5303 2012-10-18 Glenn Morris <rgm@gnu.org>
5304
5305 * dired.el (dired-sort-toggle): Some ls implementations only allow
5306 a single option string. (Bug#12666)
5307
5308 * minibuffer.el (completion-cycle-threshold): Doc fix.
5309
5310 2012-10-17 Kenichi Handa <handa@gnu.org>
5311
5312 * international/mule.el (set-keyboard-coding-system):
5313 Recover input meta mode when the new coding system doesn not use 8-bit.
5314 Supply TERMINAL arg to set-input-meta-mode.
5315
5316 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5317
5318 * wdired.el (wdired-old-marks): New variable.
5319 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5320 (wdired-do-renames): Move point with renamed file and don't lose
5321 mark status (Bug#11795).
5322
5323 2012-10-16 Juri Linkov <juri@jurta.org>
5324
5325 * replace.el (query-replace-help): Mention multi-buffer replacement
5326 keys in the Help message. (Bug#12655)
5327
5328 2012-10-15 Chong Yidong <cyd@gnu.org>
5329
5330 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5331
5332 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5333
5334 * window.el (display-buffer): Doc fix.
5335
5336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5337 Adjust the msft regexp to the output of Studio 2010, and move msft
5338 before edg-1. See the discussion on emacs-devel,
5339 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5340 for the details.
5341
5342 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5345 (oset): Move uses of object-class-fast macro after its definition.
5346
5347 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5348
5349 2012-10-13 Chong Yidong <cyd@gnu.org>
5350
5351 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5352 enabled, re-enable it (Bug#11963).
5353
5354 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5355
5356 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5357 non-nil, restore window configuration (Bug#12623).
5358
5359 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * help-fns.el (describe-variable, describe-function-1):
5362 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5363
5364 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5365
5366 2012-10-12 Glenn Morris <rgm@gnu.org>
5367
5368 * mail/rmailsum.el (rmail-header-summary):
5369 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5370
5371 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5372
5373 * progmodes/python.el (python-mode-map):
5374 Replace subtitute-key-definition with proper command remapping.
5375 (python-nav--up-list): Fix behavior for blocks on the same level.
5376
5377 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5380
5381 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5382 changes to the format of load-history.
5383
5384 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5385 completion-ignore-case in case that var is buffer-local (bug#12615).
5386
5387 2012-10-11 Kenichi Handa <handa@gnu.org>
5388
5389 * international/eucjp-ms.el: Re-generated.
5390
5391 2012-10-10 Kenichi Handa <handa@gnu.org>
5392
5393 * select.el (xselect--encode-string): If a coding is specified for
5394 selection, and that is compatible with COMPOUND_TEXT, use it.
5395
5396 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5397
5398 * window.el (switch-to-buffer-preserve-window-point): New option.
5399 (switch-to-buffer):
5400 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5401
5402 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5405 Don't document nil as a useful value (bug#12583).
5406
5407 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5408
5409 * net/tramp.el (tramp-debug-message):
5410 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5411 (with-tramp-progress-reporter): Rename from
5412 `tramp-with-progress-reporter'.
5413 (with-tramp-file-property, with-tramp-connection-property):
5414 Move from tramp-cache.el, rename from `with-file-property' and
5415 `with-connection-property', respectively.
5416
5417 * net/tramp-cache.el: Remove `with-file-property' and
5418 `with-connection-property'.
5419
5420 * net/tramp.el:
5421 * net/tramp-gvfs.el:
5422 * net/tramp-sh.el:
5423 * net/tramp-smb.el: Adapt callees.
5424
5425 * net/trampver.el: Update release number.
5426
5427 2012-10-09 Glenn Morris <rgm@gnu.org>
5428
5429 * w32-fns.el (set-message-beep):
5430 * term/w32-win.el (set-message-beep): Update declarations.
5431
5432 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5435 (mode-line-widen, mode-line-input-method-map)
5436 (mode-line-coding-system-map, mode-line-remote)
5437 (mode-line-unbury-buffer, mode-line-bury-buffer)
5438 (mode-line-next-buffer, mode-line-previous-buffer):
5439 Replace save-selected-window+select-window => with-selected-window.
5440
5441 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5442 * progmodes/cc-vars.el (bq-process): Remove, unused.
5443
5444 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5445
5446 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5447
5448 Implemented `backward-up-list'-like navigation.
5449 * progmodes/python.el (python-nav-up-list)
5450 (python-nav-backward-up-list): New functions.
5451 (python-mode-map): Define substitute key for backward-up-list to
5452 python-nav-backward-up-list.
5453
5454 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5455
5456 * progmodes/python.el (python-fill-paragraph): Rename from
5457 python-fill-paragraph-function. Fixed fill-paragraph for
5458 decorators (Bug#12605).
5459
5460 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5461
5462 * progmodes/python.el (python-shell-output-filter): Handle extra
5463 carriage return in OSX (Bug#12409).
5464
5465 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5466
5467 Fix shell handling of unbalanced quotes and parens in output.
5468 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5469 (python-syntax-propertize-function): Use it.
5470 (python-shell-output-syntax-table): New var.
5471 (inferior-python-mode): Prevent unbalanced parens/quotes from
5472 previous output mess with current input context.
5473
5474 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5475
5476 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5477 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5478
5479 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5480
5481 * ffap.el (ffap-replace-file-component): Support Tramp file name
5482 syntax, not only ange-ftp's one.
5483
5484 2012-10-08 Glenn Morris <rgm@gnu.org>
5485
5486 * cus-start.el (message-log-max): Set :version.
5487
5488 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5489
5490 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5491
5492 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5493 the minibuffer window (Bug#10851).
5494
5495 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5496
5497 Enhancements on forward-sexp movement.
5498 * progmodes/python.el (python-nav-beginning-of-statement)
5499 (python-nav-end-of-statement): Return point-marker.
5500 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5501 (python-info-current-symbol)
5502 (python-info-statement-starts-block-p): Rename from
5503 python-info-beginning-of-block-p.
5504 (python-info-statement-ends-block-p): Rename from
5505 python-info-end-of-block-p.
5506 (python-info-beginning-of-statement-p)
5507 (python-info-end-of-statement-p)
5508 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5509 New functions.
5510
5511 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5514 frame-selected-windows.
5515
5516 2012-10-08 Daniel Colascione <dancol@dancol.org>
5517
5518 * battery.el (battery-status-function): Check for
5519 w32-battery-status itself, not system-time windows-nt.
5520
5521 * frame.el: Require cl-lib.
5522 (display-format-alist): New variable mapping frame types to
5523 functions that initialize them.
5524 (window-system-for-display): New function: interprets
5525 display-format-alist.
5526 (make-frame-on-display): Remove existing display-selection logic
5527 and just forward to make-frame, which will now DTRT.
5528 (make-frame): Restructure to use window-system-for-display to
5529 figure out how to create a frame on a given display.
5530 (display-mouse-p): Look for frame-type w32, not a particular
5531 system-type.
5532
5533 * loadup.el: Load w32 lisp code when we have the w32 feature.
5534
5535 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5536 system-type windows-nt.
5537
5538 * server.el (server-create-window-system-frame): Look for window
5539 type.
5540 (server-proces-filter): Only force a window system when windows-nt
5541 _and_ w32. Explain why.
5542
5543 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5544 of window systems we configure for the mode.
5545
5546 * startup.el (command-line): Mark window system is initialized
5547 after we've done it.
5548
5549 * common-win.el (x-select-text): Look for w32, not windows-nt.
5550
5551 * ns-win.el: Require cl-lib. Add ourselves to
5552 display-format-alist.
5553 (ns-initialize-window-system): Assert we're not initialized twice.
5554
5555 * w32-win.el: Enable lexical binding; require cl-lib; add
5556 ourselves to display-format-alist.
5557 (w32-handle-dropped-file): Convert incoming dropped files from
5558 Windows paths to Cygwin ones before passing them on to the rest of
5559 Emacs.
5560 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5561 (w32-initialize-window-system): Assert we're not initialized twice.
5562
5563 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5564 (x-initialize-window-system): Assert we're not initialized twice.
5565
5566 * w32-common-fns.el: New File.
5567 (w32-version, w32-using-nt, w32-get-clipboard-data)
5568 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5569 (w32-charset-info-alist, x-last-selected, text)
5570 (x-get-selection-value, x-selection-value): Move here.
5571
5572 * w32-fns.el: Require w32-common-fns.
5573 (w32-version, w32-using-nt, w32-get-clipboard-data)
5574 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5575 (w32-charset-info-alist, x-last-selected, text)
5576 (x-get-selection-value, x-selection-value): Move to
5577 w32-common-fns.
5578
5579 * w32-vars.el:
5580 (w32-allow-system-shell, w32-system-shells): Define only in
5581 non-cygwin case.
5582
5583 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5586 (read-passwd): Remove a few more potential sources of leaks.
5587
5588 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5589
5590 * progmodes/python.el (inferior-python-mode)
5591 (python-shell-make-comint): Fix initialization of local
5592 variables copied from parent buffer.
5593
5594 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5595
5596 * term/ns-win.el (ns-read-file-name): Update declaration to match
5597 nsfns.m.
5598 (ns-respond-to-change-font): Change fontsize separately so we are sure
5599 it is set when font is acted upon.
5600
5601 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5602
5603 Enhancements to indentation.
5604 * progmodes/python.el (python-indent-context): Give priority to
5605 inside-string context. Make comments indentation markers.
5606 (python-indent-region): Do not mess with strings, unless it's the
5607 enclosing set of quotes.
5608
5609 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * window.el (internal--before-save-selected-window)
5612 (internal--after-save-selected-window): New functions extracted from
5613 save-selected-window. Make sure we return the `alist' we construct.
5614 (save-selected-window): Use them.
5615
5616 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5617 Use with-selected-window.
5618
5619 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5620 forms that define macros (bug#12593).
5621
5622 2012-10-07 Kenichi Handa <handa@gnu.org>
5623
5624 * international/mule-conf.el (compound-text-with-extensions):
5625 Add :mime-charset property as x-ctext.
5626
5627 2012-10-07 Stefan Merten <smerten@oekonux.de>
5628
5629 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5630 (rst-indent-literal-normal, rst-indent-literal-minimized)
5631 (rst-indent-comment): Correct :version tag.
5632 (rst-official-cvs-rev): Correct version string.
5633
5634 2012-10-07 Glenn Morris <rgm@gnu.org>
5635
5636 * mail/rmailmm.el (rmail-mime-process-multipart):
5637 Do not confuse a multipart message with an epilogue
5638 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5639
5640 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5641
5642 Fix shell output retrieval and comint-prompt-regexp init.
5643 * progmodes/python.el (inferior-python-mode):
5644 (python-shell-make-comint): Fix initialization of
5645 comint-prompt-regexp from copied file local variables.
5646 (python-shell-fetched-lines): Remove var.
5647 (python-shell-output-filter-in-progress): Rename from
5648 python-shell-fetch-lines-in-progress.
5649 (python-shell-output-filter-buffer): Rename from
5650 python-shell-fetch-lines-string.
5651 (python-shell-fetch-lines-filter): Delete function.
5652 (python-shell-output-filter): New function.
5653 (python-shell-send-string-no-output): Use them.
5654
5655 2012-10-07 Glenn Morris <rgm@gnu.org>
5656
5657 * hi-lock.el (hi-lock-process-phrase):
5658 Try to make it less fragile. (Bug#7161)
5659
5660 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5661
5662 2012-10-06 Glenn Morris <rgm@gnu.org>
5663
5664 * ehelp.el (electric-help-mode): Use help-mode rather than
5665 non-existent mode `help'.
5666 (electric-help-map): Use button-buffer-map. (Bug#10917)
5667
5668 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5669 (reftex-create-bibtex-footer): Fix custom types.
5670
5671 * progmodes/sh-script.el (sh-indent-after-continuation):
5672 Add explicit :group.
5673
5674 * textmodes/rst.el (rst-preferred-decorations)
5675 (rst-shift-basic-offset): Clarify obsolescence versions.
5676
5677 * profiler.el (profiler): Add missing group :version tag.
5678 * avoid.el (mouse-avoidance-banish-position):
5679 * proced.el (proced-renice-command):
5680 * calc/calc.el (calc-ensure-consistent-units):
5681 * calendar/icalendar.el (icalendar-import-format-uid):
5682 * net/tramp.el (tramp-save-ad-hoc-proxies):
5683 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5684 * progmodes/flymake.el (flymake-error-bitmap)
5685 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5686 * progmodes/sh-script.el (sh-indent-after-continuation):
5687 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5688 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5689 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5690 (vhdl-array-index-record-field-in-sensitivity-list)
5691 (vhdl-indent-comment-like-next-code-line):
5692 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5693 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5694 (reftex-cite-key-separator, reftex-create-bibtex-header)
5695 (reftex-create-bibtex-footer):
5696 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5697 (rst-indent-literal-normal, rst-indent-literal-minimized)
5698 (rst-indent-comment): Add missing custom :version tags.
5699
5700 * calendar/timeclock.el (timeclock-modeline-display):
5701 Add missing obsolete alias for renamed user option.
5702
5703 * strokes.el (strokes-modeline-string):
5704 * emulation/crisp.el (crisp-mode-modeline-string):
5705 * eshell/esh-mode.el (eshell-status-in-modeline):
5706 Aliases to defcustoms must come before the defcustom.
5707
5708 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5709 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5710 (cal-tex-cursor-week-monday): Doc fixes.
5711 (cal-tex-cursor-week2-summary): Doc fix.
5712 Rename from cal-tex-cursor-week-at-a-glance.
5713
5714 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5715 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5716
5717 * calendar/calendar.el (calendar-mode-map):
5718 Add cal-tex-cursor-week2-summary.
5719
5720 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5723
5724 * subr.el (read-passwd-map): New var.
5725 (read-passwd): Use `read-string' again.
5726 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5727
5728 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5729
5730 * register.el (append-to-register, prepend-to-register):
5731 Deactivate mark, as does `copy-to-register' (bug#12389).
5732
5733 2012-10-06 Chong Yidong <cyd@gnu.org>
5734
5735 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5736
5737 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5738
5739 * international/characters.el: Fix simple mistake ((car chars) ->
5740 elt), delete duplicated code.
5741
5742 2012-10-06 Glenn Morris <rgm@gnu.org>
5743
5744 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5745
5746 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5747
5748 * color.el (color-hsl-to-rgb): Fix incorrect results for
5749 small and large hue values. (Bug#12559)
5750
5751 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5752
5753 Enhancements to docstring formatting when filling paragraphs.
5754 * progmodes/python.el (python-fill-docstring-style): Rename from
5755 python-fill-string-style. Added new style.
5756 (python-fill-string): Use new style. Better checks for
5757 docstrings.
5758
5759 2012-10-05 Glenn Morris <rgm@gnu.org>
5760
5761 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5762
5763 * color.el (color-name-to-rgb, color-rgb-to-hex)
5764 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5765 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5766 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5767 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5768
5769 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5770
5771 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5772
5773 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5774 to get the correct size across symlinks.
5775
5776 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5777
5778 2012-10-04 Juri Linkov <juri@jurta.org>
5779
5780 * replace.el (query-replace-interactive): Declare obsolete.
5781 (query-replace-read-from): Add the last incremental search string
5782 to the list of default values accessible via M-n.
5783 (map-query-replace-regexp): Use `read-regexp'.
5784 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5785 (map-query-replace-regexp, replace-string, replace-regexp):
5786 Fix docstrings to replace mentions of `query-replace-interactive'
5787 with alternatives. (Bug#12526)
5788
5789 2012-10-04 Juri Linkov <juri@jurta.org>
5790
5791 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5792 (dired-pop-to-buffer): Declare obsolete.
5793 (dired-mark-pop-up): Doc fix.
5794
5795 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5796
5797 Allow user to set docstring style for fill-paragraph.
5798 * progmodes/python.el
5799 (python-fill-comment-function, python-fill-string-function)
5800 (python-fill-decorator-function, python-fill-paren-function):
5801 Remove :safe for defcustoms.
5802 (python-fill-string-style): New defcustom
5803 (python-fill-paragraph-function): Enhance context detection.
5804 (python-fill-string): Honor python-fill-string-style settings.
5805
5806 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5807
5808 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5809 after setting its buffer (Bug#10805).
5810
5811 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5812
5813 Fix cornercase for string syntax.
5814 * progmodes/python.el (python-syntax-propertize-function):
5815 Simplify and enhance the regexp for unescaped quotes. Now it also
5816 matches quotes in weird situations like the single quote in
5817 "something\"'".
5818 (python-syntax-stringify): Simplify num-quotes detecting code.
5819
5820 2012-10-03 Glenn Morris <rgm@gnu.org>
5821
5822 * help-macro.el (three-step-help):
5823 Revert 2012-09-29 change. (Bug#12567)
5824
5825 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5826
5827 * menu-bar.el (kill-this-buffer): Don't do anything when
5828 `menu-frame' is not alive or visible (Bug#8184).
5829
5830 * emacs-lisp/debug.el (debug): When quitting the debugger window
5831 restore current buffer (Bug#12502).
5832
5833 2012-10-02 Chong Yidong <cyd@gnu.org>
5834
5835 * progmodes/hideif.el (hif-lookup, hif-defined):
5836 Handle semantic-c-takeover-hideif.
5837
5838 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5839
5840 Change sampling interval units from ms to ns.
5841 * profiler.el (profiler-sampling-interval): Change units
5842 from ms to ns, multiplying the default by 1000000 so that
5843 it remains 1 ms.
5844 (profiler-report-cpu-line-format): Give enough room for
5845 the maximum counters on 64-bit hosts.
5846 (profiler-report-render-calltree-1): Call them "CPU samples",
5847 not "Time (ms)", since they are not milliseconds now (and
5848 never really were).
5849
5850 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5851
5852 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5853 Fix querying BBDB for entries without a last name (Bug#11580).
5854
5855 2012-10-02 Chong Yidong <cyd@gnu.org>
5856
5857 * emacs-lisp/eieio.el: Restore Version header.
5858
5859 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * vc/diff-mode.el (diff--auto-refine-data): New var.
5862 (diff-hunk): Use it to delay refinement.
5863 (diff-mode): Remove overlays when we turn off font-lock.
5864
5865 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5866 (table-initialize-table-fixed-width-mode)
5867 (table-set-table-fixed-width-mode): Remove functions.
5868 (table-command-list): Move initialization into declaration.
5869 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5870 (table-with-cache-buffer): Use `declare'.
5871 (table-span-cell): Simplify via CSE.
5872 (table-fixed-width-mode): Use define-minor-mode.
5873 (table-call-interactively, table-funcall, table-apply): Remove.
5874 (table-function): New function, to replace them.
5875
5876 * bookmark.el (bookmark-search-pattern): Remove var.
5877 (bookmark-read-search-input): Remove function.
5878 (bookmark-bmenu-search): Reimplement using a minibuffer.
5879
5880 * faces.el (modeline): Remove obsolete face name.
5881
5882 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5883 and give a non-nil default value.
5884 (add-change-log-entry): Simplify accordingly.
5885
5886 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5887
5888 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5889 (vc-git-log-edit-toggle-amend): New function.
5890 (vc-git-log-edit-toggle-signoff): New function.
5891 (vc-git-log-edit-mode): New major mode.
5892 (vc-git-log-edit-mode-map): Keymap for it.
5893 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5894
5895 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5896 header names.
5897 (log-edit-toggle-header): New function.
5898 (log-edit-extract-headers): Accept function values in HEADERS alist.
5899
5900 2012-10-01 David Engster <deng@randomsample.de>
5901
5902 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5903 from symbol property and change message to be more consistent with
5904 Emacs proper.
5905 (eieio-describe-generic): Add filename for each implementation.
5906 Fix indices for generic and normal methods.
5907 (eieio-method-def, eieio-class-def): New buttons.
5908 (eieio-help-find-method-definition)
5909 (eieio-help-find-class-definition): New functions.
5910 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5911 class, constructor and method definitions.
5912
5913 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5914 information in symbol property.
5915 (scoped-class): Remove.
5916 (eieio-slot-name-index, call-next-method): Check if it is bound.
5917
5918 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5919
5920 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5921 (eieio-custom-mode): New major mode.
5922 (eieio-customize-object): Use it.
5923
5924 2012-10-01 Eric Ludlam <zappo@gnu.org>
5925
5926 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5927 specifying the expected class, and whether subclassing is allowed.
5928 (eieio-persistent-convert-list-to-object):
5929 (eieio-persistent-validate/fix-slot-value)
5930 (eieio-persistent-slot-type-is-class-p): New functions.
5931 (eieio-named::slot-missing): Doc fix.
5932
5933 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5934 Stop using unused publd variable.
5935
5936 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5937 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5938 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5939 (eieio-speedbar-handle-click): Do not specify a class for the
5940 method. Fixes method invocation order problems with EDE.
5941
5942 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5945 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5946
5947 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5948
5949 * bookmark.el (bookmark-version-control): Give tags in the
5950 :type choices (Bug#12309), and improve doc string.
5951 (bookmark-write-file): Bind `print-circle' to `t' to allow
5952 circular custom bookmark types. (Bug#12503)
5953
5954 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5955
5956 Revert the FOLLOW-SYMLINKS change for file-attributes.
5957 * files.el (remote-file-name-inhibit-cache, after-find-file):
5958 * time.el (display-time-file-nonempty-p): Undo last change.
5959
5960 * profiler.el (profiler-sampling-interval): Change default back to 1.
5961 See Stefan Monnier in
5962 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5963
5964 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5965
5966 Shell output catching a la gud-gdb.
5967 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5968 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5969 New Vars.
5970 (python-shell-fetch-lines-filter): New function.
5971 (python-shell-send-string-no-output): Use them.
5972
5973 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5974
5975 * profiler.el (profiler-sampling-interval): Rename from
5976 profiler-sample-interval.
5977 (profiler-sampling-interval): Default to 10.
5978 (profiler-find-profile): New command (was profiler-find-log).
5979 (profiler-find-profile-other-window): New command.
5980 (profiler-find-profile-other-frame): New command.
5981 (profiler-profile): Introduce API-level data structure.
5982
5983 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5984
5985 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5986 * files.el (remote-file-name-inhibit-cache):
5987 * time.el (display-time-file-nonempty-p): Use it.
5988 * files.el (after-find-file): Don't chase links before calling
5989 file-exists-p, as file-exists-p already does the right thing.
5990
5991 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5992
5993 Merge from standalone RefTeX repository.
5994
5995 The following ChangeLog entries are shortened versions of the
5996 original ones with file paths adapted. A not so strongly edited
5997 version of the original ChangeLog can be found in the commit log.
5998
5999 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6000 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6001 Correctly handle new value type returned by `reftex-citation'.
6002
6003 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6004 that entries with whitespace at various places are found.
6005 Doc fix. Include entries that are cross-referenced from cited entries.
6006 Include @String definitions in the resulting bib file. Add header
6007 and footer defined in `reftex-create-bibtex-header' and
6008 `reftex-create-bibtex-footer'.
6009 (reftex-do-citation): Make it possible again to insert
6010 non-existent entries. Save match data when asking for optional
6011 arguments. Return all keys, not just the first one.
6012 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6013 all citations in the same line.
6014 (reftex-parse-bibtex-entry): Accept additional optional argument
6015 `raw' and keep quotes or braces if it is non-nil. Match fields
6016 containing hyphens besides word constituents.
6017 (reftex-get-string-refs): New function.
6018 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6019 and ask if it should be reread in case it did.
6020 (reftex-pop-to-bibtex-entry)
6021 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6022 entries with spaces or tabs in front of arguments.
6023 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6024 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6025 Match entries containing numbers and symbol constituents.
6026 (reftex-do-citation, reftex-figure-out-cite-format):
6027 Use `reftex-cite-key-separator'.
6028
6029 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6030 (reftex-mouse-view-crossref): Explain why point is set.
6031
6032 * textmodes/reftex-global.el: Whitespace changes.
6033
6034 * textmodes/reftex-index.el: Move provide statement to end of
6035 file.
6036 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6037 (reftex-index-visit-phrases-buffer): Set marker when visiting
6038 buffer. This allows for returning from the phrases file to the
6039 file one was just editing instead of the file where the last
6040 phrases was added from.
6041 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6042 punctuation syntax as it usually is not used as string quote in
6043 TeX-related modes and may occur unmatched. The change also
6044 prevents fontification of quoted content.
6045 (reftex-index-phrases-mode): Use it.
6046
6047 * textmodes/reftex-parse.el (reftex-parse-from-file):
6048 Move backward one char if a `\' was matched after a section macro.
6049 (reftex-parse-from-file): Use beginning of match instead of end as
6050 bound.
6051
6052 * textmodes/reftex-ref.el: Adapt creation of
6053 `reftex-<package>-<macro>' functions to new structure of
6054 `reftex-ref-style-alist'.
6055 (reftex-reference): Use `reftex-ref-style-list' function.
6056 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6057 reference macro if `reftex-ref-macro-prompt' is non-nil.
6058 (reftex-reference): Pass refstyle to `reftex-format-special'.
6059 Determine reference macro by looking at
6060 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6061 Use only one special format function.
6062 (reftex-varioref-vref, reftex-fancyref-fref)
6063 (reftex-fancyref-Fref): Remove definitions. The functions are now
6064 generated from `reftex-ref-style-alist'.
6065 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6066 Remove.
6067 (reftex-format-special): New function.
6068
6069 * textmodes/reftex-sel.el
6070 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6071 of `reftex-ref-style-alist'. Remove code for testing macro type.
6072 (reftex-select-toggle-varioref)
6073 (reftex-select-toggle-fancyref): Remove.
6074 (reftex-select-cycle-ref-style-internal)
6075 (reftex-select-cycle-ref-style-forward)
6076 (reftex-select-cycle-ref-style-backward): New functions.
6077 (reftex-select-label-map): Use `v' and `V' for general cycling
6078 through reference styles. Add `p' for switching between number
6079 and page reference types.
6080
6081 * textmodes/reftex-toc.el (reftex-re-enlarge):
6082 Call `enlarge-window' only if there is something to do because in Emacs
6083 the horizontal version throws an error even if the parameter is 0.
6084
6085 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6086 (reftex-plug-into-AUCTeX): Doc fix.
6087 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6088 string. Adapt to new name.
6089 (reftex-ref-style-alist): Change structure so that it is not
6090 possible to use multiple different package names within a style.
6091 Remove the symbols for symbols for macro type distinction.
6092 Add characters for macro selection.
6093 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6094 (reftex-create-bibtex-footer): New variables.
6095 (reftex-format-ref-function): Mention third argument of special
6096 format function.
6097 (reftex-ref-style-alist, reftex-ref-style-default-list):
6098 New variables.
6099 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6100 to new implementation. Mark as obsolete. Add compatibility code
6101 for honoring the variable values in case they are set.
6102 (reftex-cite-format-builtin, reftex-bibliography-commands):
6103 Add support for ConTeXt.
6104 (reftex-format-ref-function, reftex-format-cite-function):
6105 Fix custom type.
6106 (reftex-cite-key-separator): New variable.
6107
6108 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6109 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6110 `reftex-syntax-table' because parens have to retain their paren
6111 syntax in order for parsing of BibTeX entries like @book(...) to
6112 work.
6113 (reftex-in-comment): Do not error out if `comment-start-skip' is
6114 not set. Deal correctly with escaped comment characters.
6115 (reftex-tie-multifile-symbols): Add doc string.
6116 Initialize `reftex-ref-style-list'.
6117 (reftex-untie-multifile-symbols): Add doc string.
6118 (reftex-add-index-macros): Doc fix.
6119 (reftex-ref-style-activate, reftex-ref-style-toggle)
6120 (reftex-ref-style-list): New functions.
6121 (reftex-mode-menu): Use them. Adapt to new structure of
6122 `reftex-ref-style-alist'.
6123 (reftex-select-with-char): Kill the RefTeX Select buffer when
6124 done.
6125 (reftex-remove-if): New function.
6126 (reftex-erase-all-selection-and-index-buffers)
6127 (reftex-mode-menu): Reference styles are now computed from
6128 `reftex-ref-style-alist'. Fix typo.
6129 (reftex-report-bug): New function.
6130 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6131 algorithms with O(n log n). Introduce optional argument SORT (not
6132 yet used).
6133
6134 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6135
6136 Enhancements for triple-quote string syntax.
6137 * progmodes/python.el (python-syntax-propertize-function):
6138 Match both quote cases in one regexp.
6139 (python-syntax-stringify): Handle matches properly.
6140
6141 2012-09-30 Juri Linkov <juri@jurta.org>
6142
6143 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6144 to nil around the call to `insert' to prevent
6145 directory time modification by lock_file. (Bug#2295)
6146 * tar-mode.el (tar-summarize-buffer): Idem.
6147
6148 2012-09-30 Juri Linkov <juri@jurta.org>
6149
6150 * facemenu.el (list-colors-sort): Add option "Luminance".
6151 (list-colors-sort-key): Implement it.
6152
6153 * vc/diff-mode.el (diff-refine-removed):
6154 * vc/ediff-init.el (ediff-fine-diff-A):
6155 * vc/smerge-mode.el (smerge-refined-removed):
6156 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6157
6158 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6159
6160 * term/ns-win.el (x-file-dialog): New function.
6161
6162 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6163
6164 * ido.el (ido-max-directory-size): Default to nil; the current
6165 default is small for POSIX systems, and impractical on Windows 7
6166 now that lstat returns directory sizes for NTFS.
6167
6168 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6169
6170 In buffer display functions handle window-height/window-width
6171 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6172 * window.el (window--display-buffer): New argument ALIST.
6173 Obey window-height and window-width alist entries.
6174 (window--try-to-split-window): New argument ALIST.
6175 Bind window-combination-limit to t when the window's size shall be
6176 changed and window-combination-limit equals `window-size'.
6177 (display-buffer-in-atom-window)
6178 (display-buffer-in-major-side-window)
6179 (display-buffer-in-side-window, display-buffer-same-window)
6180 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6181 (display-buffer-pop-up-window, display-buffer-below-selected)
6182 (display-buffer-at-bottom, display-buffer-in-previous-window)
6183 (display-buffer-use-some-window): Adjust all callers of
6184 window--display-buffer and window--try-to-split-window.
6185 (fit-frame-to-buffer): New option.
6186 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6187 is non-nil.
6188 (display-buffer-in-major-side-window): Evaluate window-height /
6189 window-width alist entries.
6190
6191 * help.el (temp-buffer-resize-frames)
6192 (temp-buffer-resize-regexps): Remove options.
6193 (temp-buffer-resize-mode): Adjust doc-string.
6194 (resize-temp-buffer-window): Don't consult
6195 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6196 temp-buffer-resize-frames.
6197
6198 * dired.el (dired-mark-pop-up):
6199 Call display-buffer-below-selected with a fit-window-to-buffer alist
6200 entry.
6201
6202 2012-09-30 Chong Yidong <cyd@gnu.org>
6203
6204 * server.el (server-host): Document the security implications.
6205 (server-auth-key): Doc fix.
6206
6207 * startup.el (initial-buffer-choice): Doc fix.
6208
6209 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6210
6211 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6212 restriction change.
6213
6214 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6215
6216 * help-fns.el (help-fns--obsolete): Fix last change.
6217
6218 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6221 (minor-mode-map-alist): Remove redundant code.
6222
6223 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6224 visited in a buffer.
6225 (cvs-insert-visited-file): New function.
6226 (find-file-hook): Use it.
6227
6228 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6229
6230 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6231 chose face.
6232 (log-edit-empty-buffer-p): Don't require a space after a header.
6233
6234 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6235
6236 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6237
6238 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6239 a proper minor-mode.
6240
6241 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6242
6243 2012-09-29 Glenn Morris <rgm@gnu.org>
6244
6245 * winner.el (winner-mode): Remove variable (let define-minor-mode
6246 handle it).
6247 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6248 Doc fixes.
6249 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6250 (winner-mode): Use define-minor-mode.
6251
6252 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6253 the full definition in loaddefs, rather than duplicating it.
6254
6255 * help-macro.el (three-step-help): No need to autoload defcustom.
6256
6257 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6258 (inferior-lisp-program, inferior-lisp-load-command)
6259 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6260 No need to autoload defcustoms.
6261
6262 * hippie-exp.el (hippie-expand-try-functions-list)
6263 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6264 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6265 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6266 (hippie-expand-only-buffers): No need to autoload defcustoms.
6267 * progmodes/vhdl-mode.el (vhdl-line-expand):
6268 Explicitly load hippie-exp, so it does not get autoloaded
6269 while hippie-expand-try-functions-list is let-bound.
6270
6271 2012-09-28 Glenn Morris <rgm@gnu.org>
6272
6273 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6274
6275 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6276 Only "cl.el" counts as cl these days.
6277
6278 2012-09-28 Juri Linkov <juri@jurta.org>
6279
6280 Display archive errors in the echo area instead of inserting
6281 to the file buffer.
6282
6283 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6284 to STDERR-TEST that can be a regexp matching a successful output.
6285 Create a temporary file and redirect stderr to it. Search for
6286 STDERR-TEST in the stderr output and display it in the echo area
6287 if no match is found.
6288 (archive-extract-by-file): New function like
6289 `archive-extract-by-stdout' but extracting archives to files
6290 and looking for successful matches in stdout. Function body is
6291 mostly copied from `archive-rar-extract'.
6292 (archive-rar-extract): Use `archive-extract-by-file'.
6293 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6294
6295 2012-09-28 Leo Liu <sdl.web@gmail.com>
6296
6297 * pcomplete.el (pcomplete-show-completions):
6298 Use minibuffer-message to make pcomplete usable in minibuffer.
6299
6300 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6301
6302 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * type-break.el: Use lexical-binding.
6305 (type-break-mode): Use define-minor-mode.
6306
6307 * emacs-lisp/pcase.el (pcase--mark-used): New.
6308 (pcase--u1): Use it (bug#12512).
6309
6310 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6311 in load-history with the right file name.
6312
6313 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6314
6315 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6316 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6317 (doc-view-get-bounding-box): Make bounding box slicing work for
6318 ODF and DVI documents.
6319
6320 2012-09-28 Glenn Morris <rgm@gnu.org>
6321
6322 * type-break.el (type-break-mode, type-break-interval)
6323 (type-break-good-rest-interval, type-break-keystroke-threshold):
6324 No need to autoload.
6325 (type-break-good-rest-interval, type-break-keystroke-threshold):
6326 Add :set-after.
6327
6328 2012-09-28 Chong Yidong <cyd@gnu.org>
6329
6330 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6331 Add :version tag.
6332
6333 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6336
6337 2012-09-27 Glenn Morris <rgm@gnu.org>
6338
6339 * faces.el (x-display-name): Declare (for without-x builds).
6340
6341 * linum.el (linum-format): Don't autoload it. Improve :type.
6342
6343 * progmodes/tcl.el: Don't require outline when compiling.
6344 (outline-regexp, outline-level): Declare.
6345 * textmodes/sgml-mode.el: Don't require outline when compiling.
6346 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6347
6348 * term.el (term-ansi-reset):
6349 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6350
6351 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6352 files for RCS and SCCS. (Bug#9781)
6353
6354 2012-09-27 Chong Yidong <cyd@gnu.org>
6355
6356 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6357 change; value should be t.
6358
6359 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * image-mode.el: Use lexical-binding.
6362 (image-mode-winprops): Use t to stand for the window of
6363 a buffer that's not displayed.
6364 * doc-view.el (doc-view-new-window-function): Handle the new
6365 t in winprops.
6366 (doc-view-enlarge): Make it a real nop if the size is not changed.
6367 (doc-view-display): Handle the case where the buffer is not (yet?)
6368 displayed in any window.
6369 (doc-view-saved-settings): New var.
6370 (doc-view-mode): Use it.
6371 (doc-view-fallback-mode): Set it.
6372
6373 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6374 Set lexical-binding.
6375 (minibuffer-eldef-shorten-default): New var.
6376 (minibuffer-default-in-prompt-regexps): Use it for new default.
6377 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6378
6379 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * international/uni-bidi.el:
6382 * international/uni-category.el:
6383 * international/uni-name.el:
6384 * international/uni-numeric.el: Regenerate.
6385
6386 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6387 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * profiler.el: New file.
6390
6391 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6394 (testcover-reinstrument): Simplify with CSE.
6395
6396 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6397
6398 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6399
6400 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6401
6402 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6403 (verilog-auto-input, verilog-auto-insert-lisp)
6404 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6405 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6406 (verilog-auto-unused, verilog-auto-wire)
6407 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6408 newline. Reported by Andrew Jones.
6409 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6410 Reported by Brad Dobbie.
6411 (verilog-batch-delete-trailing-whitespace):
6412 Create verilog-batch-delete-trailing-whitespace.
6413 Reported by Brad Dobbie.
6414 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6415 parameters from another module. Reported by Dan Katz.
6416 (verilog-auto, verilog-auto-assign-modport)
6417 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6418 AUTOINOUTMODPORT for UVM interface module shell generation.
6419 Reported by Brad Dobbie.
6420 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6421 standard behavior.
6422 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6423 Reported by Matt Martin.
6424
6425 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6426
6427 * window.el (window--resize-child-windows): When resizing child
6428 windows proportionally, process them in reverse order to
6429 preserve the "when splitting a window the new one gets the odd
6430 line" behavior.
6431 (window--resize-root-window-vertically): When resizing the
6432 minibuffer window try to affect only windows at the bottom of the
6433 frame. (Bug#12419)
6434
6435 2012-09-25 Chong Yidong <cyd@gnu.org>
6436
6437 * subr.el (declare): Doc fix.
6438
6439 * help-fns.el (help-fns--obsolete): Handle macros properly.
6440
6441 2012-09-25 Chong Yidong <cyd@gnu.org>
6442
6443 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6444 this function obsolete.
6445
6446 * calendar/cal-x.el (calendar-two-frame-setup)
6447 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6448 * calendar/calendar.el (american-calendar, european-calendar)
6449 (calendar-for-loop):
6450 * comint.el (comint-dynamic-simple-complete)
6451 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6452 * desktop.el (desktop-load-default):
6453 * dired-x.el (dired-omit-here-always)
6454 (dired-hack-local-variables, dired-default-directory):
6455 * emacs-lisp/derived.el (derived-mode-class):
6456 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6457 * emacs-lock.el (toggle-emacs-lock):
6458 * epa.el (epa-display-verify-result):
6459 * epg.el (epg-sign-keys, epg-start-sign-keys)
6460 (epg-passphrase-callback-function):
6461 * eshell/esh-util.el (eshell-for):
6462 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6463 (eshell-add-to-window-buffer-names):
6464 * files.el (locate-file-completion):
6465 * imenu.el (imenu-example--create-c-index)
6466 (imenu-example--create-lisp-index)
6467 (imenu-example--lisp-extract-index-name)
6468 (imenu-example--name-and-position):
6469 * international/mule-cmds.el (princ-list):
6470 * international/mule-diag.el (decode-codepage-char):
6471 * international/mule-util.el (detect-coding-with-priority):
6472 * iswitchb.el (iswitchb-read-buffer):
6473 * mail/mailalias.el (mail-complete):
6474 * mail/sendmail.el (mail-sent-via):
6475 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6476 (mouse-major-mode-menu):
6477 * password-cache.el (password-read-and-add):
6478 * pcomplete.el (pcomplete-parse-comint-arguments):
6479 * progmodes/sh-script.el (sh-maybe-here-document):
6480 * replace.el (query-replace-regexp-eval):
6481 * savehist.el (savehist-load):
6482 * simple.el (choose-completion-delete-max-match):
6483 * term.el (term-dynamic-simple-complete):
6484 * vc/ediff-init.el (ediff-check-version):
6485 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6486 * vc/vc.el (vc-diff-switches-list):
6487 * view.el (view-return-to-alist-update): Likewise.
6488
6489 * subr.el (eval-next-after-load, makehash, insert-string)
6490 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6491 mark obsolete.
6492 (mode-line-inverse-video): Variable deleted.
6493
6494 * international/mule-util.el (string-to-sequence): Remove.
6495
6496 * calendar/calendar.el (calendar-version):
6497 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6498 (icalendar-convert-diary-to-ical):
6499 * cus-edit.el (custom-mode):
6500 * ansi-color.el (ansi-color-unfontify-region):
6501 * international/latin1-disp.el (latin1-char-displayable-p):
6502 * progmodes/cwarn.el (turn-on-cwarn-mode):
6503 * progmodes/which-func.el (which-func-update-1):
6504 Use define-obsolete-function-alias.
6505
6506 * net/newst-backend.el (newsticker-cache-filename):
6507 * net/newst-treeview.el (newsticker-groups-filename):
6508 Fix incorrect obsolescence declaration.
6509
6510 * allout.el (allout-passphrase-hint-string): Likewise.
6511 (allout-init): Use a declare form to mark obsolete.
6512
6513 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6514 this applies to functions.
6515
6516 * iswitchb.el (iswitchb-read-buffer): Move code of
6517 iswitchb-define-mode-map here, and delete that obsolete function.
6518
6519 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6520 font-lock-reference-face.
6521
6522 2012-09-25 Glenn Morris <rgm@gnu.org>
6523
6524 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6525 Doc fixes.
6526
6527 * eshell/em-term.el (eshell-term-name):
6528 Default to term-term-name. (Bug#12485)
6529
6530 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6531
6532 * progmodes/python.el (python-shell-send-buffer): Better handling
6533 of "if __name__ == '__main__':" conditionals when sending the buffer.
6534
6535 2012-09-24 Glenn Morris <rgm@gnu.org>
6536
6537 * eshell/esh-cmd.el (eshell-find-alias-function):
6538 Tighten up file-name regexp. (Bug#12499)
6539
6540 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6541
6542 Enhancements for triple-quote string syntax.
6543 * progmodes/python.el (python-quote-syntax): Remove.
6544 (python-syntax-propertize-function): New value.
6545 (python-syntax-count-quotes, python-syntax-stringify):
6546 New functions.
6547
6548 2012-09-24 Chong Yidong <cyd@gnu.org>
6549
6550 * mail/supercite.el (sc-version): Remove obsolete function.
6551 (sc-describe): Don't mark as obsolete, since it is bound.
6552 (sc-submit-bug-report): Remove.
6553
6554 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6555 (cvs-commit-buffer-require-final-newline): Remove.
6556 (log-edit-require-final-newline)
6557 (log-edit-changelog-full-paragraphs): Default to t.
6558
6559 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6560 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6561 * vc/vc.el (vc-checkout-carefully): Likewise.
6562
6563 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6564 (emerge-version): Remove.
6565
6566 * progmodes/compile.el (compile-internal): Remove.
6567 (compilation-parse-errors-function): Fix typo.
6568
6569 * international/mule.el (set-char-table-default): Remove.
6570 (set-coding-priority, make-coding-system, generic-char-p)
6571 (charset-list, charset-bytes, charset-id): Use declare to mark
6572 functions as obsolete.
6573
6574 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6575 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6576 * vc/vc-hooks.el (vc-default-registered): Don't use
6577 vc-master-templates.
6578
6579 * font-lock.el (font-lock-reference-face):
6580 Use define-obsolete-variable-alias.
6581
6582 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6583 * calendar/calendar.el (calendar-font-lock-keywords):
6584 * calendar/diary-lib.el (diary-font-lock-keywords)
6585 (diary-fancy-font-lock-keywords):
6586 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6587 * textmodes/reftex-index.el (reftex-insert-index):
6588 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6589 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6590 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6591 * progmodes/prolog.el (prolog-font-lock-keywords):
6592 * progmodes/idlwave.el (idlwave-idl-keywords):
6593 * progmodes/ada-mode.el (ada-font-lock-keywords):
6594 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6595
6596 2012-09-24 Glenn Morris <rgm@gnu.org>
6597
6598 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6599
6600 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6601
6602 * progmodes/python.el (python-indent-line): More consistent cursor
6603 movement behavior.
6604
6605 2012-09-23 Stefan Merten <smerten@oekonux.de>
6606
6607 * textmodes/rst.el: Fix compiler warning.
6608
6609 2012-09-23 Roland Winkler <winkler@gnu.org>
6610
6611 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6612 Transcribe also LaTeX hyphenation.
6613 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6614 bibtex-reformat-previous-options.
6615
6616 2012-09-23 Roland Winkler <winkler@gnu.org>
6617
6618 * proced.el (proced-renice-command): New variable.
6619 (proced-marked-processes): New function.
6620 (proced-with-processes-buffer): New macro.
6621 (proced-send-signal): Use them.
6622 (proced-renice): New command bound to r.
6623
6624 2012-09-23 Roland Winkler <winkler@gnu.org>
6625
6626 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6627 ibuffer-saved-filter-groups has one element, shortcut the call of
6628 completing-read. (Bug#12331)
6629
6630 2012-09-23 Chong Yidong <cyd@gnu.org>
6631
6632 * bindings.el (mode-line-toggle-read-only):
6633 * bs.el (bs-toggle-readonly):
6634 * buff-menu.el (Buffer-menu-toggle-read-only):
6635 * dired.el (dired-toggle-read-only):
6636 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6637
6638 2012-09-23 Chong Yidong <cyd@gnu.org>
6639
6640 * image.el (image-type-available-p): Adapt to init-image-library
6641 argument changes.
6642
6643 2012-09-22 Juri Linkov <juri@jurta.org>
6644
6645 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6646 `dired-toggle-read-only'. (Bug#12462)
6647
6648 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6649
6650 * subr.el (temp-output-buffer-show): New function.
6651 (with-output-to-temp-buffer): Call temp-output-buffer-show
6652 instead of internal-temp-output-buffer-show.
6653
6654 2012-09-22 Chong Yidong <cyd@gnu.org>
6655
6656 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6657 (Bug#12462).
6658
6659 * repeat.el (repeat): Doc fix (Bug#12348).
6660
6661 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6662 (Bug#10909).
6663
6664 * simple.el (shell-command-on-region): Doc fix.
6665 (read-only-mode): Doc fix.
6666
6667 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6668
6669 * emacs-lisp/timer.el (run-with-idle-timer)
6670 (timer-activate-when-idle): Warn against reinvoking an idle timer
6671 from within its own timer action. (Bug#12447)
6672
6673 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6674
6675 * cus-start.el (window-combination-limit): Add new optional
6676 values.
6677 * window.el (temp-buffer-window-show)
6678 (window--try-to-split-window): Handle new values of
6679 window-combination-limit (Bug#1806).
6680 (split-window): Test window-combination-limit for t instead of
6681 non-nil.
6682 (display-buffer-at-bottom): New buffer display action function.
6683 * help.el (temp-buffer-resize-regexps): New option.
6684 (temp-buffer-resize-mode): Rewrite doc-string.
6685 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6686 Don't resize reused window. Suggested by Glenn Morris.
6687
6688 2012-09-22 Stefan Merten <smerten@oekonux.de>
6689
6690 * textmodes/rst.el: Revamp section title faces.
6691 (rst-official-version)
6692 (rst-package-emacs-version-alist): Sync with official version
6693 V1.4.0.
6694 (rst-faces-defaults, rst-set-level-default)
6695 (rst-level-face-max, rst-level-face-base-color)
6696 (rst-level-face-base-light, rst-level-face-format-light)
6697 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6698 (rst-adornment-faces-alist): Match new setup.
6699 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6700 (rst-level-5, rst-level-6): New faces.
6701
6702 2012-09-22 Chong Yidong <cyd@gnu.org>
6703
6704 * simple.el (undo): Handle indirect buffers (Bug#8207).
6705
6706 2012-09-21 Leo Liu <sdl.web@gmail.com>
6707
6708 IDO: Disable match re-ordering for buffer switching.
6709 * ido.el (ido-buffer-disable-smart-matches): New variable.
6710 (ido-set-matches-1): Use it. (Bug#2042)
6711
6712 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6713
6714 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6715 Fix 2011-05-17 change. (Bug#12418)
6716
6717 2012-09-21 Leo Liu <sdl.web@gmail.com>
6718
6719 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6720
6721 2012-09-21 Glenn Morris <rgm@gnu.org>
6722
6723 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6724 Be more robust about locating simple.el.
6725
6726 2012-09-21 Glenn Morris <rgm@gnu.org>
6727
6728 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6729
6730 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6731
6732 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6733
6734 2012-09-20 Juri Linkov <juri@jurta.org>
6735
6736 * replace.el (query-replace-read-from): Use `read-regexp' instead
6737 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6738 (occur-read-primary-args): Use `read-regexp' instead of
6739 `read-string'.
6740 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6741 `read-from-minibuffer'.
6742 * isearch.el (isearch-occur): Use `read-regexp' instead of
6743 `read-string'.
6744 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6745 `read-from-minibuffer'.
6746 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6747 of `read-string'. (Bug#7567)
6748
6749 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6750 and allow accepting a list of strings prepended to a list of
6751 standard default values. Doc fix. (Bug#12321)
6752
6753 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6754
6755 * replace.el (read-regexp): Don't add ": " when PROMPT already
6756 ends with a colon and space. (Bug#12321)
6757
6758 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6759
6760 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6761 error.
6762
6763 2012-09-20 Stefan Merten <smerten@oekonux.de>
6764
6765 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6766 Fixes feature request bug#11711.
6767 (rst-mode): Create `imenu-create-index-function'.
6768 (rst-get-stripped-line): Delete after refactoring.
6769 (rst-section-tree, rst-section-tree-rec)
6770 (rst-section-tree-point): Refactor and document properly.
6771 (rst-imenu-find-adornments-for-position)
6772 (rst-imenu-convert-cell, rst-imenu-create-index):
6773 New function.
6774
6775 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6778 (macroexp--expand-all): Use it.
6779 (macroexp--funcall-and-return): Remove by folding it into its sole
6780 caller (macroexp--warn-and-return).
6781 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6782 Use macroexp--obsolete-warning.
6783
6784 * calc/calc.el: Fix last change by removing the whole chunk, since it
6785 was only needed back when Calc was not bundled.
6786
6787 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6788
6789 * emacs-lisp/debug.el (debug): Restore assignment to
6790 debugger-old-buffer removed on 2012-09-08.
6791
6792 2012-09-20 Juri Linkov <juri@jurta.org>
6793
6794 * dired-aux.el (dired-diff): Remove (require 'diff) since
6795 `diff-latest-backup-file' is now autoloaded.
6796
6797 2012-09-20 Chong Yidong <cyd@gnu.org>
6798
6799 * vc/diff.el (diff-latest-backup-file): Autoload.
6800
6801 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * calc/calc.el: Remove redundant autoload shape check.
6804 (sel-mode): Don't defvar.
6805 (calc-get-stack-element): Add `sel-mode' arg instead.
6806 (calc-top, calc-top-list): Pass it this additional argument.
6807 * calc/calc-store.el (calc-store-map):
6808 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6809 (calc-map-equation, calc-outer-product, calc-inner-product):
6810 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6811
6812 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6813
6814 2012-09-19 Juri Linkov <juri@jurta.org>
6815
6816 * dired-aux.el (dired-diff): Add (require 'diff) because
6817 `diff-latest-backup-file' is not autoloaded.
6818 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6819 of `dired-get-filename' to t to not report error when there is
6820 no default file on the current line.
6821
6822 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6825 macroexp--eval-if-compile.
6826 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6827 (macroexp--expand-all): Use them (bug#12371).
6828
6829 * doc-view.el (doc-view-guess-paper-size)
6830 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6831
6832 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6833
6834 New feature: set optimal slice from BoundingBox information.
6835 * doc-view.el (doc-view-mode-map): Add keybinding.
6836 (doc-view-menu): Add menu entry.
6837 (doc-view-set-slice): Adapt docstring.
6838 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6839 (doc-view-scale-bounding-box)
6840 (doc-view-set-slice-from-bounding-box): New functions.
6841 (doc-view-paper-sizes): New defvar.
6842
6843 2012-09-19 Glenn Morris <rgm@gnu.org>
6844
6845 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6846 (byte-compile-log-warning): Autoload. (Bug#12371)
6847
6848 * calendar/calendar.el (calendar-american-month-header)
6849 (calendar-european-month-header, calendar-iso-month-header)
6850 (calendar-month-header): New options.
6851 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6852 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6853
6854 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6855
6856 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6857
6858 2012-09-18 Juri Linkov <juri@jurta.org>
6859
6860 * dired-aux.el (dired-diff): Restore original functionality of
6861 getting the default value, but keep new feature of using the
6862 latest existing backup file (`diff-latest-backup-file').
6863
6864 2012-09-18 Juri Linkov <juri@jurta.org>
6865
6866 * dired.el (dired-mark): If the region is active in Transient Mark
6867 mode, mark all files in the active region. Doc fix.
6868 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6869 Doc fix. (Bug#10624)
6870
6871 2012-09-18 Juri Linkov <juri@jurta.org>
6872
6873 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6874 attributes for M-n are pulled from the file at point.
6875 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6876 Suggested by Drew Adams. (Bug#10624)
6877
6878 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6879
6880 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6881 whitespace after "end".
6882 (ruby-do-end-to-brace): Collapse block to one line if it fits
6883 within fill-column.
6884
6885 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6886
6887 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6888 value.
6889 (debug): Don't remove debugger window when debugger is expected
6890 to be back.
6891
6892 2012-09-18 Chong Yidong <cyd@gnu.org>
6893
6894 * custom.el (defface): Doc fix.
6895
6896 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6897
6898 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6899
6900 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6901 to initialize query-on-exit; then test that instead (bug#12288).
6902
6903 2012-09-17 Stefan Merten <smerten@oekonux.de>
6904
6905 * textmodes/rst.el: Add support for `testcover'.
6906 (rst-defcustom-testcover, rst-testcover-add-compose)
6907 (rst-testcover-add-1value): New functions.
6908 (rst-portable-mark-active-p): Replace by `use-region-p'.
6909 (rst-update-section, rst-classify-adornment)
6910 (rst-find-title-line): Mark `1value' forms.
6911 (rst-classify-adornment): Remove superfluous form.
6912 (rst-update-section, rst-get-adornments-around)
6913 (rst-adornment-complete-p, rst-get-next-adornment)
6914 (rst-adjust, rst-promote-region)
6915 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6916 (rst-find-pfx-in-region, rst-section-tree-rec)
6917 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6918 (rst-toc-node, rst-toc, rst-forward-section)
6919 (rst-iterate-leftmost-paragraphs)
6920 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6921 (rst-bullet-list-region)
6922 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6923 (rst-compile-find-conf, rst-compile)
6924 (rst-repeat-last-character): Fix style.
6925
6926 2012-09-17 Chong Yidong <cyd@gnu.org>
6927
6928 * comint.el (comint--complete-file-name-data): Don't add a space
6929 if the status is `sole'; that adds a gratuitous space in the
6930 completion-cycling case (Bug#12092).
6931
6932 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6933
6934 2012-09-17 Richard Stallman <rms@gnu.org>
6935
6936 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6937 only in the mime-shown mode, not in raw mode.
6938 (rmail-mime): Toggle off mime by displaying the message without
6939 mime processing. (Bug#12305)
6940
6941 * mail/rmail.el (rmail-retry-failure):
6942 Turn off mime processing first. (Bug#12037)
6943
6944 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6945
6946 2012-09-17 Chong Yidong <cyd@gnu.org>
6947
6948 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6949 (shell-dynamic-complete-functions): Convert to defcustom.
6950 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6951
6952 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6953 * comint.el (comint-prompt-read-only):
6954 * custom.el (defcustom):
6955 * hi-lock.el (hi-lock-mode):
6956 * ibuffer.el (ibuffer-formats):
6957 * ielm.el (ielm-prompt-read-only):
6958 * novice.el (disable-command):
6959 * saveplace.el (toggle-save-place):
6960 * speedbar.el (speedbar-supported-extension-expressions):
6961 * startup.el (auto-save-list-file-prefix, init-file-user)
6962 (after-init-hook, inhibit-startup-echo-area-message):
6963 * strokes.el (strokes-help):
6964 * time-stamp.el (time-stamp):
6965 * calendar/calendar.el (calendar, diary-file):
6966 * calendar/diary-lib.el (diary-mail-entries, diary)
6967 (diary-list-entries-hook):
6968 * calendar/holidays.el (holidays, calendar-holidays):
6969 * calendar/lunar.el (lunar-phases):
6970 * calendar/solar.el (sunrise-sunset):
6971 * emulation/edt.el (edt-load-keys):
6972 * emulation/viper.el (viper-mode):
6973 * eshell/em-alias.el (eshell-command-aliases-list):
6974 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6975 * international/ogonek.el (ogonek-information):
6976 * net/tramp-cmds.el (tramp-bug):
6977 * net/quickurl.el (quickurl-reread-hook-postfix):
6978 * play/decipher.el (decipher-font-lock-keywords):
6979 * progmodes/cc-styles.el (c-set-style):
6980 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6981 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6982 * progmodes/octave-mod.el (octave-mode):
6983 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6984 * progmodes/verilog-mode.el (verilog-read-defines):
6985 * textmodes/two-column.el (2C-mode): Likewise.
6986
6987 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6988
6989 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6990 that holds many addresses.
6991
6992 2012-09-16 Chong Yidong <cyd@gnu.org>
6993
6994 * align.el (align-areas): Call the indication function with
6995 positions instead of markers for arguments (Bug#12343).
6996
6997 * files.el (parse-colon-path): Use split-string (Bug#12351).
6998
6999 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7000 (display-buffer-function): Mark as obsolete.
7001
7002 * progmodes/compile.el (compilation-parse-errors): Accept list
7003 values similar to font-lock-keywords (Bug#12136).
7004 Suggested by Oleksandr Manzyuk.
7005 (compilation-error-regexp-alist): Doc fix.
7006
7007 2012-09-15 Glenn Morris <rgm@gnu.org>
7008
7009 * version.el (emacs-bzr-version-bzr): New function.
7010 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7011
7012 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7013 checkouts, check the parent dirstate matches the branch.
7014 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7015 empty string.
7016
7017 * version.el (emacs-bzr-version): Doc fix.
7018 (emacs-bzr-version-dirstate): New function.
7019 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7020 is local try and check that it matches the branch. If not, just
7021 use dirstate information. (Bug#12441)
7022
7023 2012-09-14 Juri Linkov <juri@jurta.org>
7024
7025 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7026 (Bug#12399)
7027
7028 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7031
7032 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7033 Remove obsolete byte-compiler hack that tried to silence some warnings.
7034 (edebug-submit-bug-report): Remove.
7035 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7036 Remove aliases, use the un-prefixed name instead.
7037 (edebug-pop-to-buffer): Consider other frames.
7038 (edebug-original-read):: Make it more obvious that it's always defined.
7039 (edebug--make-form-data-entry, edebug--form-data-name)
7040 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7041 single-dashed name, and implement with cl-defstruct.
7042 (edebug-set-form-data-entry): Use the standard accessors.
7043 (edebug-make-top-form-data-entry): Use push.
7044 (edebug-no-match): Drop useless `funcall'.
7045 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7046 to functions.
7047 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7048 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7049 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7050 (easy-menu-define, with-custom-print): Remove redundant specs.
7051 (edebug-outside-overriding-local-map)
7052 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7053 (edebug--display): Bind unread-command-events directly to nil rather
7054 than binding it to unread-command-events and later setting it to nil.
7055 (edebug--display): Kill edebug-eval-buffer here...
7056 (edebug--recursive-edit): ...rather than here.
7057 Bind standard-output and standard-input.
7058 (edebug-eval): Check cl-macroexpand-all is fboundp.
7059 (edebug-temp-display-freq-count): Fix last change.
7060
7061 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7062 * subr.el (noreturn, 1value): Add `debug' spec.
7063 * emacs-lisp/advice.el: Require cl-lib.
7064 (ad-copy-tree): Remove, use copy-tree instead.
7065 (ad-dolist): Remove use dolist or cl-dolist instead.
7066 (ad-do-return): Remove, use cl-return instead.
7067 (defadvice): Add `debug' spec.
7068
7069 2012-09-13 Juri Linkov <juri@jurta.org>
7070
7071 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7072 (Bug#12399)
7073
7074 2012-09-13 Glenn Morris <rgm@gnu.org>
7075
7076 * calc/calc.el (math-compose-expr):
7077 * calc/calc-ext.el (math-compose-expr):
7078 * progmodes/cc-defs.el (cl-macroexpand-all):
7079 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7080 (cl-macroexpand-all): Update declarations.
7081
7082 * vc/vc.el: No need to require ediff.
7083 (ediff-load-version-control): Declare.
7084 (ediff-vc-internal): Fix declaration.
7085 (vc-version-ediff): Require ediff.
7086
7087 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7088
7089 Use a more backwards-compatible timer format (Bug#12430).
7090 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7091 being right after USECS, as that better supports old code that
7092 inadvisedly looked directly at the timer vector.
7093
7094 2012-09-13 Kenichi Handa <handa@gnu.org>
7095
7096 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7097 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7098 `coding-priority' property of these language environment.
7099
7100 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7101
7102 Fix glitches caused by addition of psec to timers (Bug#12430).
7103 * image.el (image-animate-timer):
7104 * time.el (display-time-world-timer):
7105 Use timer--function and timer--args rather than raw access to
7106 timer vector.
7107
7108 2012-09-13 Glenn Morris <rgm@gnu.org>
7109
7110 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7111 If not compiling a file, try using load-file-name.
7112
7113 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7116 Fix last change.
7117 (edebug-update-eval-list): Use `push'.
7118
7119 * emacs-lisp/edebug.el: Use lexical-binding.
7120 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7121 Mark unused args with underscore.
7122 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7123 (edebug-form-data): Use defvar-local.
7124 (edebug-make-before-and-after-form, edebug-make-after-form):
7125 Use backquote.
7126 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7127 Not dynamically scoped any more.
7128 (edebug--enter-trace): Add arguments `function' and `args'.
7129 Rename from edebug-enter-trace.
7130 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7131 (edebug--update-coverage): Add `after-index' and `value' args.
7132 Rename from edebug-update-coverage.
7133 (edebug-slow-after): Call it accordingly.
7134 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7135 edebug-recursive-edit.
7136 (edebug--display): Call it accordingly. Add args `value',
7137 `offset-index', and `arg-mode'. Rename from edebug-display.
7138 (edebug-debugger, edebug): Call it accordingly.
7139 (edebug-eval-display-list): Use dolist.
7140
7141 2012-09-12 Juri Linkov <juri@jurta.org>
7142
7143 * info.el (Info-search): Don't check for isearch-mode and
7144 isearch-regexp before let-binding search-spaces-regexp to
7145 Info-search-whitespace-regexp.
7146 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7147 search-whitespace-regexp if isearch-lax-whitespace or
7148 isearch-regexp-lax-whitespace is non-nil.
7149 (Info-mode): Don't set local variable search-whitespace-regexp.
7150 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7151
7152 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7155 (debugger-env-macro): Remove support for unread-command-char.
7156
7157 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7158 the temporary map re-appearing on emulation-mode-map-alists.
7159
7160 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7161 since 22.1.
7162
7163 * ehelp.el (with-electric-help): Accept functions in
7164 electric-help-form-to-execute.
7165 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7166 And replace unread-command-char -> unread-command-events.
7167
7168 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7169
7170 Sync with Tramp 2.2.6.
7171
7172 * net/tramp.el (tramp-accept-process-output): Don't use
7173 JUST-THIS-ONE in the XEmacs case.
7174
7175 * net/trampver.el: Update release number.
7176
7177 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7178
7179 * emacs-lisp/debug.el (debugger-previous-window-height):
7180 New variable.
7181 (debug): When debugger-jumping-flag is non-nil try to restore
7182 height of debugger window. (Bug#8789)
7183
7184 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7187 overriding-local-map and pre/post-command-hook here.
7188 (edebug-recursive-edit): Do it here instead (bug#12345).
7189 (edebug-outside-unread-command-char): Remove all uses of
7190 unread-command-char.
7191
7192 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7193 inhibit-debugger is bound instead.
7194
7195 2012-09-11 Bastien Guerry <bzg@gnu.org>
7196
7197 * subr.el (set-temporary-overlay-map): Add a docstring.
7198 (Bug#12346)
7199
7200 2012-09-11 Bastien Guerry <bzg@gnu.org>
7201
7202 * minibuffer.el (completion-table-subvert): Fix docstring.
7203 (Bug#12347)
7204
7205 2012-09-11 Bastien Guerry <bzg@gnu.org>
7206
7207 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7208
7209 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7210
7211 * progmodes/sql.el: Version 3.1
7212 (sql-db2-escape-newlines): New variable.
7213 (sql-escape-newlines-filter): Use it.
7214
7215 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7216
7217 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7218
7219 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7220
7221 * vc/diff-mode.el (diff-mode-menu):
7222 Bind diff-remove-trailing-whitespace.
7223
7224 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7227 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7228 (emacs-lisp-byte-code-mode): New functions.
7229 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7230 (eval-defun-2): Remove bogus interactive spec.
7231 (lisp-indent-line): Remove redundant whole-exp code, now done in
7232 indent-according-to-mode.
7233 (save-match-data): Remove redundant indent data.
7234
7235 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7236 Use `declare'.
7237
7238 2012-09-09 Juri Linkov <juri@jurta.org>
7239
7240 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7241 (replace-lax-whitespace, query-replace-regexp)
7242 (query-replace-regexp-eval, replace-regexp): Doc fix.
7243 (perform-replace, replace-highlight): Let-bind
7244 isearch-lax-whitespace to replace-lax-whitespace and
7245 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7246
7247 * isearch.el (isearch-query-replace): Let-bind
7248 replace-lax-whitespace to isearch-lax-whitespace and
7249 replace-regexp-lax-whitespace to
7250 isearch-regexp-lax-whitespace. (Bug#10885)
7251
7252 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7255
7256 2012-09-09 Alan Mackenzie <acm@muc.de>
7257
7258 * progmodes/cc-engine.el (c-state-cache-init):
7259 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7260 (c-record-parse-state-state):
7261 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7262
7263 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7264
7265 * register.el (register-separator): Rename from
7266 separator-register. All uses changed. Doc fix.
7267 (register): Fix version.
7268
7269 2012-09-09 Chong Yidong <cyd@gnu.org>
7270
7271 * replace.el (query-replace-map): Bind four new symbols for
7272 requesting window scrolling.
7273
7274 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7275 query-replace-map (Bug#8948).
7276
7277 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7278
7279 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7280 since they are now in query-replace-map.
7281
7282 * window.el (scroll-other-window-down): Make the arg optional.
7283
7284 2012-09-09 Chong Yidong <cyd@gnu.org>
7285
7286 * files.el (hack-local-variables-confirm): Use quit-window to kill
7287 the *Local Variables* buffer.
7288
7289 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7290
7291 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7292 not just expect to be at its beginning. Adjust callees.
7293 Succeed when do-end block has no space before the pipe character.
7294 (ruby-brace-to-do-end): When the original block is one-liner,
7295 convert to multiline. Reindent the result.
7296
7297 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7298
7299 * register.el (register): New group.
7300 (separator-register): New user option.
7301 (increment-register): Route it to `append-to-register', if
7302 register contains text. Implication is that `C-x r +' can now be
7303 used for appending to a text register (bug#12217).
7304 (append-to-register, prepend-to-register): Add separator based on
7305 `separator-register'.
7306
7307 2012-09-08 Alan Mackenzie <acm@muc.de>
7308
7309 AWK Mode: make auto-newline work when there's "==" in the pattern.
7310 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7311 correctly.
7312 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7313 Test more rigorously for "=" token.
7314
7315 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7316
7317 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7318 Only fail when reached LIMIT.
7319
7320 2012-09-08 Chong Yidong <cyd@gnu.org>
7321
7322 * dired.el (dired-mode-map): Don't bind M-=.
7323
7324 * dired-aux.el (dired-diff): Use backup file as default.
7325
7326 2012-09-08 Drew Adams <drew.adams@oracle.com>
7327
7328 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7329
7330 2012-09-08 Chong Yidong <cyd@gnu.org>
7331
7332 * subr.el (syntax-after, syntax-class): Doc fix.
7333
7334 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7335
7336 * window.el (display-buffer-in-previous-window): New buffer
7337 display action function.
7338
7339 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7340 (debugger-previous-window): New variable.
7341 (debug): Rewrite using display-buffer-in-previous-window,
7342 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7343
7344 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7347
7348 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7349
7350 * progmodes/python.el (python-shell-send-string):
7351 When default-directory is remote, create temp file on remote
7352 filesystem.
7353 (python-shell-send-file): When file is remote, pass local view of
7354 file paths to remote Python interpreter. (Bug#12340)
7355
7356 2012-09-07 Chong Yidong <cyd@gnu.org>
7357
7358 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7359
7360 * files.el (after-find-file): Don't fail on a read-only buffer if
7361 require-final-newline is `visit' or `visit-save' (Bug#11156).
7362
7363 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7364
7365 * userlock.el (ask-user-about-supersession-threat):
7366 Use read-char-choice (Bug#12093).
7367
7368 2012-09-07 Chong Yidong <cyd@gnu.org>
7369
7370 * subr.el (buffer-narrowed-p): New function.
7371
7372 * ses.el (ses-widen):
7373 * simple.el (count-words--buffer-message):
7374 * net/browse-url.el (browse-url-of-buffer): Use it.
7375
7376 * simple.el (count-words-region): Don't signal an error if there
7377 is a non-nil prefix arg and the mark is not set.
7378
7379 * help.el (describe-key-briefly): Allow the message to be seen
7380 when invoked from the minibuffer (Bug#7014).
7381
7382 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7383
7384 * progmodes/ruby-mode.el (ruby-end-of-defun)
7385 (ruby-beginning-of-defun): Simplify, allow indentation before
7386 block beginning and end keywords.
7387 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7388 (ruby-end-of-defun): Expect that the point is at the beginning of
7389 the defun.
7390
7391 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7394 (bug#12367).
7395 (cl--make-usage-args): Strip _ from argument names.
7396
7397 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7398
7399 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7400 obsolete alias speedbar-key-map.
7401 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7402 (vhdl-index-menu-init): Don't use obsolete variable
7403 font-lock-maximum-size.
7404
7405 2012-09-06 Chong Yidong <cyd@gnu.org>
7406
7407 * frame.el (window-system-version): Mark as obsolete.
7408
7409 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7410 of obsolete variable speedbar-key-map.
7411
7412 2012-09-06 Juri Linkov <juri@jurta.org>
7413
7414 * replace.el (replace-lax-whitespace): New defcustom.
7415 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7416 (replace-string, replace-regexp): Mention it in docstrings.
7417 (perform-replace, replace-highlight): Let-bind
7418 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7419 to the values of replace-lax-whitespace and regexp-flag.
7420 Don't let-bind search-whitespace-regexp. (Bug#10885)
7421
7422 * isearch.el (isearch-query-replace): Let-bind
7423 replace-lax-whitespace instead of let-binding
7424 replace-search-function and replace-re-search-function.
7425 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7426 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7427 (isearch-toggle-symbol): Set isearch-regexp to nil
7428 in isearch-word mode (like in isearch-toggle-word).
7429
7430 2012-09-06 Juri Linkov <juri@jurta.org>
7431
7432 * replace.el (replace-search-function)
7433 (replace-re-search-function): Set default values to nil.
7434 (perform-replace): Let-bind isearch-related variables based on
7435 replace-related values, call `isearch-search-fun' and let-bind
7436 the result to `search-function'. Remove code that sets
7437 `search-function' and `search-string' separately for
7438 `delimited-flag'.
7439 (replace-highlight): Add new argument `delimited-flag' and
7440 rename other arguments to the names used in `perform-replace'.
7441 Let-bind `isearch-word' to the argument `delimited-flag'.
7442 (Bug#10885, bug#10887)
7443
7444 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7445
7446 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7447 ruby-beginning-of-indent, simplify, allow all keywords to have
7448 indentation before them.
7449 (ruby-beginning-of-indent): Adjust for above. Search until the
7450 found point is not inside a string or comment.
7451 (ruby-font-lock-keywords): Allow symbols to start with "@"
7452 character, give them higher priority than variables.
7453 (ruby-syntax-propertize-function)
7454 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7455 matchers. Expression expansions are not comments when inside a
7456 string, and there comment syntax status is irrelevant.
7457 (ruby-match-expression-expansion): New function. Check that
7458 expression expansion is inside a string, and it's not escaped.
7459 (ruby-font-lock-keywords): Use it.
7460
7461 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7462
7463 * help.el (temp-buffer-max-height): New default value.
7464 (temp-buffer-resize-frames): New option.
7465 (resize-temp-buffer-window): Optionally resize frame.
7466
7467 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7468 (fit-frame-to-buffer): New function.
7469
7470 2012-09-05 Glenn Morris <rgm@gnu.org>
7471
7472 * emulation/cua-rect.el (cua--init-rectangles):
7473 * textmodes/picture.el (picture-mode-map):
7474 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7475 like forward-char and backward-char. (Bug#12317)
7476
7477 2012-09-05 Leo Liu <sdl.web@gmail.com>
7478
7479 * progmodes/flymake.el (flymake-warning-re): New variable.
7480 (flymake-parse-line): Use it.
7481
7482 2012-09-05 Glenn Morris <rgm@gnu.org>
7483
7484 * calendar/holidays.el (holiday-christian-holidays):
7485 Rename an entry. (Bug#12289)
7486
7487 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7490 (bug#12222).
7491
7492 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * loadup.el: Load macroexp. Remove hack.
7495 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7496 (macroexp--expand-all): Use it to get better warnings.
7497 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7498 (internal-macroexpand-for-load): New functions.
7499 (macroexp--pending-eager-loads): New var.
7500 (emacs-startup-hook): New hack to replace one in loadup.el.
7501 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7502 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7503 (cl-psetf): Simplify.
7504 (cl-defstruct): Add indent rule.
7505
7506 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7507
7508 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7509 over `user-mail-address' for the SMTP MAIL FROM envelope.
7510 (smtpmail-via-smtp): Ditto.
7511
7512 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7513
7514 * progmodes/ruby-mode.el: Clean up keybindings.
7515 (ruby-mode-map): Don't bind ruby-electric-brace,
7516 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7517 backward-kill-word, reindent-then-newline-and-indent.
7518 (ruby-mark-defun): Remove.
7519 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7520 (ruby-mode): Set local beginning-of-defun-function and
7521 end-of-defun-function values.
7522
7523 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7524
7525 * window.el (temp-buffer-window-setup-hook)
7526 (temp-buffer-window-show-hook): New hooks.
7527 (temp-buffer-window-setup, temp-buffer-window-show)
7528 (with-temp-buffer-window): New functions.
7529 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7530 (special-display-popup-frame): Make sure the window used shows BUFFER.
7531
7532 * help.el (temp-buffer-resize-mode): Fix doc-string.
7533 (resize-temp-buffer-window): New optional argument WINDOW.
7534
7535 * files.el (recover-file, save-buffers-kill-emacs):
7536 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7537
7538 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7539
7540 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7541 remote definition of `default-directory', ensure we can connect.
7542
7543 2012-09-02 Juri Linkov <juri@jurta.org>
7544
7545 Toggle whitespace matching mode with M-s SPC.
7546 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7547
7548 * isearch.el (search-whitespace-regexp): Doc fix.
7549 Remove cons cell customization.
7550 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7551 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7552 New variables.
7553 (isearch-forward, isearch-forward-regexp): Doc fix.
7554 (isearch-toggle-lax-whitespace): New command.
7555 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7556 (re-search-forward-lax-whitespace)
7557 (re-search-backward-lax-whitespace): New functions.
7558 (isearch-whitespace-regexp): Remove function.
7559 (isearch-query-replace): Let-bind replace-search-function and
7560 replace-re-search-function.
7561 (isearch-occur): Let-bind search-spaces-regexp according to the
7562 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7563 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7564 condition for C-q SPC.
7565 (isearch-search-fun-default): Use new functions mentioned above.
7566 (isearch-search-forward, isearch-search-backward): Remove functions.
7567 (isearch-search): Don't let-bind search-spaces-regexp.
7568 (isearch-lazy-highlight-space-regexp): Remove variable.
7569 (isearch-lazy-highlight-lax-whitespace)
7570 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7571 (isearch-lazy-highlight-new-loop): Use them.
7572 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7573
7574 2012-09-02 Chong Yidong <cyd@gnu.org>
7575
7576 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7577
7578 2012-09-02 Glenn Morris <rgm@gnu.org>
7579
7580 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7581
7582 2012-09-01 Glenn Morris <rgm@gnu.org>
7583
7584 * term.el: Tidy up menu definitions.
7585 (term-mode-map): Use easymenu for In/Out, Complete menus.
7586 (term-pager-break-map): Initialize in the defvar.
7587 (term-terminal-menu, term-signals-menu): Define with easymenu.
7588 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7589 (term-pager-menu): New, extracted from term-process-pager.
7590 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7591 (term-update-mode-line): Propertize line/char and page items.
7592 (term-process-pager): Move keymap initialization elsewhere.
7593
7594 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7595
7596 * window.el (switch-to-prev-buffer): Handle additional values of
7597 BURY-OR-KILL argument. Don't switch in minibuffer window.
7598 (switch-to-next-buffer): Don't switch in minibuffer window.
7599 (quit-restore-window): New function based on quit-window.
7600 Handle additional values of former KILL argument.
7601 (quit-window): Call quit-restore-window with appropriate
7602 interpretation of KILL argument.
7603 (display-buffer-below-selected): New buffer display action
7604 function.
7605
7606 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * minibuffer.el (completion-at-point-functions): Complete docstring
7609 (bug#12254).
7610
7611 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7612
7613 Better seed support for (random).
7614 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7615 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7616 * play/mpuz.el, play/tetris.el, play/zone.el:
7617 * calc/calc-comb.el (math-init-random-base):
7618 * play/blackbox.el (bb-init-board):
7619 * play/life.el (life):
7620 * server.el (server-use-tcp):
7621 * type-break.el (type-break):
7622 Remove unnecessary call to (random t).
7623 * net/sasl.el (sasl-unique-id-function):
7624 Change (random t) to (random), now that the latter is more random.
7625 * play/life.el (life-initialized): Remove no-longer-needed var.
7626
7627 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7628
7629 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7630 Consider frame's buffer predicate when choosing the buffer.
7631 (Bug#12081)
7632
7633 2012-08-30 Richard Stallman <rms@gnu.org>
7634
7635 * simple.el (special-mode-map): Delete binding for `z'.
7636
7637 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7638
7639 * progmodes/compile.el (compilation-always-kill): Doc fix.
7640
7641 2012-08-30 Chong Yidong <cyd@gnu.org>
7642
7643 * window.el (display-buffer-reuse-frames): Make the obsolescence
7644 message more informative.
7645
7646 2012-08-30 Glenn Morris <rgm@gnu.org>
7647
7648 * paren.el (show-paren-delay):
7649 Add a :set function. Doc fix. (Bug#12297)
7650
7651 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7652
7653 * progmodes/compile.el (compilation-always-kill): New var.
7654 (compilation-start): Use it.
7655
7656 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7659 * files.el (read-only-mode): Move to simple.el.
7660
7661 * files.el (read-only-mode): New minor mode.
7662 (toggle-read-only): Use it and mark obsolete.
7663 (find-file--read-only):
7664 * vc/vc.el (vc-next-action, vc-checkout):
7665 * vc/vc-cvs.el (vc-cvs-checkout):
7666 * obsolete/vc-mcvs.el (vc-mcvs-update):
7667 * ffap.el (ffap--toggle-read-only): Update callers.
7668
7669 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7670
7671 * eshell/esh-ext.el (eshell-external-command): Do not examine
7672 remote shell scripts.
7673 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7674
7675 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7676 "/usr/local/sbin".
7677
7678 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7681
7682 2012-08-28 Leo Liu <sdl.web@gmail.com>
7683
7684 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7685 completion-at-point. (Bug#12220)
7686
7687 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7688
7689 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7690
7691 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7694 be buffer-local; add delete-trailing-whitespace (bug#12259).
7695
7696 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7697
7698 * progmodes/hideif.el (hif-compress-define-list):
7699 Fix typo. (Bug#11951)
7700
7701 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7702
7703 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7704 buffer local setting.
7705
7706 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7707 rcirc-encode-coding-system.
7708
7709 2012-08-28 Leo Liu <sdl.web@gmail.com>
7710
7711 * net/rcirc.el (rcirc-split-message): New function.
7712 (rcirc-send-message): Use it. (Bug#12051)
7713
7714 2012-08-28 Juri Linkov <juri@jurta.org>
7715
7716 * info.el (Info-fontify-node): Hide empty lines at the end of
7717 the node. (Bug#12272)
7718
7719 2012-08-27 Drew Adams <drew.adams@oracle.com>
7720
7721 * dired.el (dired-pop-to-buffer): Make window start at beginning
7722 of buffer (Bug#12281).
7723
7724 2012-08-26 Chong Yidong <cyd@gnu.org>
7725
7726 * window.el (special-display-regexps, special-display-frame-alist)
7727 (special-display-buffer-names, special-display-function)
7728 (display-buffer-reuse-frames): Mark as obsolete.
7729
7730 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7731
7732 * help.el (help-print-return-message): Don't treat
7733 display-buffer-reuse-frames specially.
7734
7735 2012-08-26 Chong Yidong <cyd@gnu.org>
7736
7737 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7738 New variable, replacing gdb-frame-parameters.
7739 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7740 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7741 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7742 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7743 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7744 the functions directly with gdb-display-buffer-other-frame-action.
7745 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7746 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7747 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7748 (gdb-display-registers-buffer): Define directly.
7749 (def-gdb-display-buffer): Macro deleted.
7750 (gdb-display-buffer): Remove second and third args, callers don't
7751 use them. Defer to the default display-buffer behavior, apart
7752 from making windows dedicated.
7753 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7754
7755 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7756
7757 * window.el (display-buffer-pop-up-frame): Handle a
7758 pop-up-frame-parameters alist entry.
7759 (display-buffer): Document it.
7760
7761 2012-08-26 Chong Yidong <cyd@gnu.org>
7762
7763 * isearch.el (search-whitespace-regexp): Make string and nil
7764 values apply to both ordinary and regexp search. Allow a cons
7765 cell value to distinguish between the two.
7766 (isearch-whitespace-regexp, isearch-search-forward)
7767 (isearch-search-backward): New functions.
7768 (isearch-occur, isearch-search-fun-default, isearch-search)
7769 (isearch-lazy-highlight-new-loop): Use them.
7770 (isearch-forward, isearch-forward-regexp): Doc fix.
7771
7772 2012-08-26 Chong Yidong <cyd@gnu.org>
7773
7774 * faces.el (help-argument-name): Always inherit from italic
7775 (Bug#12213).
7776
7777 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7778
7779 * window.el (window--even-window-heights): Even heights when
7780 WINDOW and the selected window form a vertical combination.
7781 (display-buffer-use-some-window): Provide that window used gets
7782 sized back by quit-window. (Bug#11880) and (Bug#12091)
7783
7784 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7785
7786 Fix file time stamp problem with bzr and CVS (Bug#12001).
7787 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7788 in the file's time stamp, since the version control system loses
7789 that information.
7790
7791 2012-08-22 Juri Linkov <juri@jurta.org>
7792
7793 * info.el (Info-fontify-node): Hide the suffix of the
7794 Info file name in the header line. (Bug#12187)
7795
7796 2012-08-22 Glenn Morris <rgm@gnu.org>
7797
7798 * calendar/cal-tex.el (cal-tex-weekly-common):
7799 Restore leading blank page.
7800
7801 2012-08-22 Le Wang <l26wang@gmail.com>
7802
7803 * misc.el (forward-to-word, backward-to-word): Activate or extend
7804 the region under `shift-select-mode'. (Bug#12231)
7805
7806 2012-08-22 Bastien Guerry <bzg@gnu.org>
7807
7808 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7809 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7810 gives details on why the space is never needed.
7811
7812 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7813
7814 * window.el (walk-window-tree, window-with-parameter):
7815 New optional argument MINIBUF to control whether these functions
7816 should run on the minibuffer window.
7817 (window-at-side-list): Don't operate on minibuffer window.
7818 (window-in-direction): Simplify and rewrite doc-string.
7819 (window--size-ignore): Rename to window--size-ignore-p.
7820 Update callers.
7821 (display-buffer-in-atom-window, window--major-non-side-window)
7822 (window--major-side-window, display-buffer-in-major-side-window)
7823 (delete-side-window, display-buffer-in-side-window):
7824 New functions.
7825 (window--side-check, window-deletable-p, delete-window)
7826 (delete-other-windows, split-window): Handle side windows and
7827 atomic windows appropriately.
7828 (window--display-buffer): Call display-buffer-record-window also
7829 when the window buffer did not change.
7830
7831 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7832
7833 * help-fns.el (help-fns--key-bindings):
7834 Abbreviate non-symbol remap targets. (Bug#12174)
7835
7836 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7837
7838 * dired.el (dired-mark-remembered): Don't clobber point.
7839 (Bug#11795)
7840
7841 2012-08-22 Glenn Morris <rgm@gnu.org>
7842
7843 * progmodes/bug-reference.el (bug-reference): New custom group.
7844 (bug-reference-bug-regexp): Make it a defcustom.
7845
7846 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7847
7848 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7849 (js-paren-indent-offset, js-square-indent-offset)
7850 (js-curly-indent-offset): Add :safe (Bug#12257).
7851
7852 2012-08-22 Edward O'Connor <hober0@gmail.com>
7853
7854 * json.el (json-key-format): Add error properties.
7855 (json-encode-key): New function.
7856 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7857 Use json-encode-key.
7858
7859 2012-08-22 Glenn Morris <rgm@gnu.org>
7860
7861 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7862 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7863 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7864 Update for above change.
7865
7866 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7867
7868 * cus-face.el (custom-face-attributes): Fix customize type for the
7869 :underline attribute. (Bug#11805)
7870
7871 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7872
7873 * window.el (window-point-1, set-window-point-1): Remove.
7874 (window-in-direction, record-window-buffer)
7875 (set-window-buffer-start-and-point, split-window-below)
7876 (window--state-get-1, display-buffer-record-window):
7877 Replace calls to window-point-1 and set-window-point-1 by calls to
7878 window-point and set-window-point respectively.
7879
7880 2012-08-21 Glenn Morris <rgm@gnu.org>
7881
7882 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7883 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7884 Use it.
7885
7886 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7887 (cal-tex-shortday): New function.
7888 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7889 (cal-tex-cursor-filofax-daily): Use the above.
7890
7891 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7892 New functions.
7893 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7894 (cal-tex-cursor-filofax-week): Use them.
7895
7896 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7897 New constants.
7898 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7899 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7900
7901 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7902 (cal-tex-end-document): Don't rely on buffer name.
7903
7904 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7905 Use cal-tex-vspace.
7906 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7907 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7908 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7909 Use cal-tex-arg.
7910
7911 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7912 (cal-tex-cursor-week, cal-tex-cursor-week2)
7913 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7914 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7915 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7916 (cal-tex-insert-preamble, cal-tex-b-document)
7917 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7918 Improve cal-tex-cmd usage.
7919
7920 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7921 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7922 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7923 (cal-tex-weekly-paper): New function.
7924 (cal-tex-cursor-week, cal-tex-cursor-week2)
7925 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7926 (cal-tex-cursor-day): Use it.
7927
7928 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7929 (cal-tex-cursor-filofax-week): Remove leading blank page.
7930
7931 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7932 Add autoload cookie. For now at least, don't use color, since
7933 no other cal-tex function does.
7934
7935 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7936 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7937 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7938
7939 2012-08-21 Juri Linkov <juri@jurta.org>
7940
7941 * info.el (Info-file-attributes): New variable.
7942 (info-insert-file-contents): Add file attributes to
7943 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7944 `Info-toc-nodes' when previous modtime of the Info file is less
7945 than new modtime.
7946 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7947 of info.el. (Bug#12230)
7948
7949 2012-08-20 Glenn Morris <rgm@gnu.org>
7950
7951 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7952 * calendar/holidays.el (calendar-holiday-list):
7953 Report errors with display-warning rather than beep'n'sleep.
7954
7955 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7956
7957 * net/tramp.el (tramp-accept-process-output): Accept only output
7958 from PROC. Otherwise, process filters and sentinels might be
7959 confused. (Bug#12145)
7960
7961 2012-08-20 Chong Yidong <cyd@gnu.org>
7962
7963 * descr-text.el (describe-text-properties-1): Use overlays-in to
7964 report on empty overlays (Bug#3322).
7965
7966 2012-08-20 Glenn Morris <rgm@gnu.org>
7967
7968 * mail/rmailout.el (rmail-output-read-file-name):
7969 Trap and report errors in rmail-output-file-alist elements.
7970
7971 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7972 since most non-font-lock faces are not also variables).
7973
7974 2012-08-20 Edward Reingold <reingold@iit.edu>
7975
7976 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7977 New function. (Bug12160)
7978
7979 2012-08-19 Glenn Morris <rgm@gnu.org>
7980
7981 * mail/rmailout.el (rmail-output-read-file-name):
7982 Fix previous change (when the alist is nil or does not match).
7983
7984 2012-08-19 Chong Yidong <cyd@gnu.org>
7985
7986 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7987 (Bug#12228).
7988
7989 2012-08-18 Chong Yidong <cyd@gnu.org>
7990
7991 * simple.el (yank-handled-properties): New defcustom.
7992 (yank-excluded-properties): Add font-lock-face and category.
7993 (yank): Doc fix.
7994
7995 * subr.el (remove-yank-excluded-properties):
7996 Obey yank-handled-properties. The special handling of font-lock-face
7997 and category is now done this way, instead of being hard-coded.
7998 (insert-for-yank-1): Remove font-lock-face handling.
7999 (yank-handle-font-lock-face-property)
8000 (yank-handle-category-property): New function.
8001
8002 2012-08-17 Glenn Morris <rgm@gnu.org>
8003
8004 * mail/rmailout.el (rmail-output-read-file-name):
8005 Check rmail-output-file-alist against the full message body
8006 in the correct rmail buffer. (Bug#12214)
8007
8008 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8009
8010 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8011 Eliminate superfluous prompt. (Bug#12203)
8012
8013 2012-08-17 Chong Yidong <cyd@gnu.org>
8014
8015 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8016 font spec, set the font directly (Bug#3228).
8017
8018 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8019
8020 * window.el (delete-window): Fix last fix.
8021
8022 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8023
8024 * window.el (window-valid-p): Move to window.c.
8025 (window-child, window-child-count, window-last-child)
8026 (window-normalize-window, window-combined-p)
8027 (window-combinations, window-atom-root, window-min-size)
8028 (window-sizable, window-sizable-p, window-size-fixed-p)
8029 (window-min-delta, window-max-delta, window--resizable)
8030 (window--resizable-p, window-resizable, window-total-size)
8031 (window-full-height-p, window-full-width-p, window-body-size)
8032 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8033 (minimize-window, window-deletable-p, delete-window)
8034 (delete-other-windows, set-window-buffer-start-and-point)
8035 (next-buffer, previous-buffer, split-window, balance-windows-2)
8036 (set-window-text-height, window-buffer-height)
8037 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8038 (truncated-partial-width-window-p): Minor code adjustments.
8039 In doc-strings state whether the argument window has to denote a
8040 live, valid or any window.
8041
8042 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8043
8044 * progmodes/subword.el (subword-forward-function)
8045 (subword-backward-function, subword-forward-regexp)
8046 (subword-backward-regexp): New variables.
8047 (subword-forward, subword-forward-internal, subword-backward-internal):
8048 Use new variables, eg so that different "word" definitions
8049 can be easily used. (Bug#11411)
8050
8051 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8054 for composite selectors.
8055 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8056 operation just because we can't find a previous revision.
8057
8058 2012-08-15 Chong Yidong <cyd@gnu.org>
8059
8060 * frame.el (set-frame-font): Accept font objects.
8061
8062 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8065
8066 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8067
8068 * man.el (Man-overstrike-face, Man-underline-face)
8069 (Man-reverse-face): Remove variables.
8070 (Man-overstrike, Man-underline, Man-reverse): New faces.
8071 (Man-fontify-manpage): Use them instead of the variables.
8072 (Man-cleanup-manpage): Comment change.
8073 (Man-ansi-color-map): New variable.
8074 (Man-fontify-manpage): Use it.
8075 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8076
8077 Implement ANSI SGR parameters 22-27 (bug#12146).
8078 * ansi-color.el (ansi-colors): Doc fix.
8079 (ansi-color-context, ansi-color-context-region): Doc fix.
8080 (ansi-color--find-face): New function.
8081 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8082 Rename the local variable `face' to `codes' since it is now a list of
8083 ansi codes. Doc fix.
8084 (ansi-color-get-face): Remove.
8085 (ansi-color-parse-sequence): New function, derived from
8086 ansi-color-get-face.
8087 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8088 codes 22-27.
8089
8090 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * subr.el (read-passwd): Allow use from a minibuffer.
8093
8094 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8095
8096 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8097 inside comments and strings as identifiers.
8098
8099 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8100 expression to evaluate. This allows to evaluate expressions with
8101 embedded whitespace.
8102 (gud-tooltip-tips): Add a blank before the newline in the
8103 message-box text, for the benefit of message-box emulation on
8104 MS-Windows.
8105
8106 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8107 messages from GDB, pop them up in a tooltip to give feedback to
8108 user.
8109 (gdb-tooltip-print-1): Quote the expression to evaluate.
8110 This allows to evaluate expressions with embedded whitespace.
8111 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8112 if the TTY name is nil or empty (which happens when communicating
8113 with the inferior via pipes, e.g. on MS-Windows).
8114 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8115 don't send that to the GUD buffer.
8116
8117 2012-08-14 Glenn Morris <rgm@gnu.org>
8118
8119 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8120 Optimize away setq-default with no args, as for setq. (Bug#12195)
8121
8122 2012-08-14 Chong Yidong <cyd@gnu.org>
8123
8124 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8125
8126 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8127 (Bug#12085).
8128
8129 2012-08-14 Glenn Morris <rgm@gnu.org>
8130
8131 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8132
8133 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8136 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8137 Use cached shell name.
8138
8139 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8140
8141 * progmodes/python.el (python-shell-send-string):
8142 (python-shell-send-setup-code): Do not use `format' with `message'.
8143
8144 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8145
8146 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8147 (ruby-percent-literal-beg-re): New constant.
8148 (ruby-syntax-general-delimiters-goto-beg): Rename to
8149 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8150 (ruby-syntax-propertize-general-delimiters): Rename to
8151 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8152 popular term. Adjust comments everywhere.
8153 (ruby-syntax-propertize-percent-literal): Only propertize when not
8154 inside a simple string or comment. When the literal is unclosed,
8155 leave the text after it unpropertized.
8156 (ruby-syntax-methods-before-regexp): New constant.
8157 (ruby-syntax-propertize-function): Use it to recognize regexps.
8158 Don't look at the text after regexp, just use the whitelist.
8159
8160 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8161
8162 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8163 non-nil always load the compiled file if it exists. (Bug#12197)
8164
8165 2012-08-14 Chong Yidong <cyd@gnu.org>
8166
8167 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8168 (hi-lock-set-pattern): When deciding whether to use font lock or
8169 overlays, look at font-lock-mode instead of font-lock-fontified
8170 (Bug#12168).
8171 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8172 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8173
8174 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8175
8176 * subr.el (internal--after-with-selected-window): Fix typo
8177 (Bug#12193).
8178
8179 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8180
8181 Use `completion-table-dynamic' for completion functions.
8182 * progmodes/python.el
8183 (python-shell-completion--do-completion-at-point)
8184 (python-shell-completion--get-completions):
8185 Remove functions.
8186 (python-shell-completion-complete-at-point): New function.
8187 (python-completion-complete-at-point): Use it.
8188
8189 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8190
8191 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8192 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8193
8194 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * subr.el (function-get): Refine `autoload' arg so it can also
8197 autoload functions for gv.el (bug#12191).
8198 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8199 autoloads macros.
8200
8201 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8202 Prefer pcase-let over destructuring-bind.
8203 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8204 Also, remove whitespace as we go, rather than after accumulating the
8205 various places.
8206
8207 * subr.el (internal--before-with-selected-window)
8208 (internal--after-with-selected-window): Fix typo seleted->selected.
8209 (with-selected-window): Adjust callers.
8210 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8211
8212 2012-08-13 Bastien Guerry <bzg@gnu.org>
8213
8214 * window.el (special-display-popup-frame): Minor docstring
8215 enhancement. (Bug#12172)
8216
8217 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8218
8219 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8220 type 1-6.
8221 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8222 extended headers.
8223
8224 * files.el (hack-local-variables-filter): Remove useless eval.
8225
8226 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8227
8228 * subr.el (with-selected-window): Fix last change.
8229
8230 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * subr.el (internal--before-with-seleted-window)
8233 (internal--after-with-seleted-window): New functions.
8234 (with-selected-window): Use them, to replace dependency on
8235 tty-top-frame.
8236
8237 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8238
8239 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8240 binding for `newline'.
8241 (ruby-move-to-block): When moving backward, stop at block opening,
8242 not indentation.
8243 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8244 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8245 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8246 `ruby-toggle-block'.
8247
8248 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * ibuffer.el (ibuffer-do-toggle-read-only):
8251 * dired.el (dired-toggle-read-only):
8252 * buff-menu.el (Buffer-menu-toggle-read-only):
8253 * bindings.el (mode-line-toggle-read-only):
8254 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8255
8256 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8257
8258 * descr-text.el (describe-char): Put the overlays over the
8259 "displayed as" character.
8260
8261 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8262
8263 * calc/calc-units.el (math-default-units-table): Give an
8264 initial value.
8265 (math-put-default-units): Add options to put composite units and
8266 unit systems in the default units table.
8267 (calc-convert-units): Send composite units to
8268 `math-put-default-units' when appropriate.
8269
8270 2012-08-11 Glenn Morris <rgm@gnu.org>
8271
8272 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8273
8274 * tutorial.el (help-with-tutorial):
8275 * emacs-lisp/copyright.el (copyright-update-directory):
8276 * emacs-lisp/autoload.el (autoload-find-generated-file)
8277 (autoload-find-file): Disable local eval: (for insurance).
8278
8279 * files.el (hack-local-variables-filter): If an eval: form is not
8280 known to be safe, and enable-local-variables is :safe, then ignore
8281 the form totally, as is done for non-eval forms. (Bug#12155)
8282 This is CVE-2012-3479.
8283
8284 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8287 (rx-form): Simplify.
8288
8289 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8290
8291 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8292 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8293 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8294 (ruby-syntax-propertize-function): Adjust for changes in
8295 `ruby-syntax-propertize-heredoc'.
8296
8297 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8298
8299 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8300 binding (use `M-;' instead).
8301 (ruby-singleton-class-p): New function.
8302 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8303
8304 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8305
8306 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8307
8308 2012-08-10 Chong Yidong <cyd@gnu.org>
8309
8310 * progmodes/python.el (python-shell-get-process-name): Don't mess
8311 with same-window-buffer-names.
8312
8313 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8314 (eshell-remove-from-window-buffer-names): Make obsolete.
8315 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8316 (eshell): Just use pop-to-buffer-same-window instead.
8317
8318 2012-08-10 Chong Yidong <cyd@gnu.org>
8319
8320 * bindings.el: Bind M-= back to count-words-region.
8321
8322 * simple.el (count-words-region): Accept a prefix arg for acting
8323 on the entire buffer.
8324 (count-words--buffer-message): New helper function.
8325
8326 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8329 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8330 (event-start, event-end): Use posn-at-point to return a more
8331 informative posn.
8332 (posnp): New function.
8333 * mouse.el (popup-menu-normalize-position): Use it.
8334
8335 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8336
8337 * mouse.el (popup-menu-normalize-position): New function.
8338 (popup-menu): Use `popup-menu-normalize-position' to normalize
8339 the form for POSITION argument.
8340
8341 * term/x-win.el (x-menu-bar-open):
8342 Use the value returend from (posn-at-point) as position
8343 passed to `popup-menu'.
8344
8345 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8346
8347 * calc/calccomp.el (math-compose-expr): Add extra argument
8348 indicating that parentheses should be put around products in
8349 denominators. Give multiplication precedence over division during
8350 composition.
8351
8352 2012-08-09 Chong Yidong <cyd@gnu.org>
8353
8354 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8355 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8356 (Man-untabify-command, manual-program): Convert to defcustom
8357 (Bug#10429).
8358
8359 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8360
8361 * descr-text.el (describe-char): Don't insert extra newlines
8362 (Bug#10127).
8363
8364 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8365 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8366
8367 * align.el (align-region): Delete temporary markers (Bug#10047).
8368 Plus some code cleanups.
8369
8370 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8371
8372 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8373 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8374 (python-shell-internal-last-output): Use make-local-variable
8375 instead of make-variable-buffer-local.
8376
8377 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8378
8379 * progmodes/python.el: Enhancements to forward-sexp.
8380 (python-nav-forward-sexp): Rename from
8381 python-nav-forward-sexp-function.
8382 (python-nav--forward-sexp, python-nav--backward-sexp):
8383 New functions.
8384
8385 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8386
8387 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8388 modes and simplification modes.
8389
8390 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * delsel.el (delete-selection-pre-hook): Don't propagate the
8393 file-supersession signals (bug#12161).
8394
8395 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8398 (cl-map-extents): Add compatibility aliases (bug#12135).
8399
8400 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8401
8402 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8403 tests by `ignore-error'.
8404 (tramp-find-shell): Open also a new shell, when cache is already
8405 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8406
8407 2012-08-08 Juri Linkov <juri@jurta.org>
8408
8409 * bookmark.el: Add `defaults' property to the bookmark record.
8410 (bookmark-current-buffer): Doc fix.
8411 (bookmark-make-record): Add `defaults' property with default values
8412 to the bookmark record.
8413 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8414 with `bookmark-insert-current-bookmark'.
8415 (bookmark-set): Get `defaults' property from the bookmark record
8416 and use it in `read-from-minibuffer'.
8417 (bookmark-insert-current-bookmark): Remove function.
8418
8419 * info.el (Info-bookmark-make-record): Add `defaults' property
8420 with values of canonical Info node name, the current Info file
8421 name and the current Info node name. (Bug#12107)
8422
8423 2012-08-08 Juri Linkov <juri@jurta.org>
8424
8425 * files.el (basic-save-buffer): Use `buffer-name' as the default
8426 of `read-file-name' when buffer is not visiting a file (bug#12128).
8427
8428 2012-08-08 Juri Linkov <juri@jurta.org>
8429
8430 * info.el (Info-isearch-search): Doc fix.
8431 (Info-search): Change search-failed message from "initial node" to
8432 "end of node" (bug#12078).
8433 (Info-isearch-search): Change `isearch-string-state' to
8434 `isearch--state-string'.
8435
8436 2012-08-08 Glenn Morris <rgm@gnu.org>
8437
8438 * language/persian.el: Remove file.
8439 * language/misc-lang.el: Move unique part of persian.el here.
8440 * loadup.el: Remove language/persian.
8441
8442 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8443
8444 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8445
8446 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8447
8448 * progmodes/python.el: Fix defsubst warning.
8449 (python-syntax-context) Rename from python-info-ppss-context.
8450 (python-syntax-context-type): Rename from
8451 python-info-ppss-context-type.
8452 (python-syntax-comment-or-string-p): Rename from
8453 python-info-ppss-comment-or-string-p.
8454
8455 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8456
8457 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8458
8459 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8460
8461 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8462 a defcustom that is quoted with backquote.
8463
8464 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8465 Fix handling of interactive spec when the body uses return.
8466 (math-do-arg-check, math-define-function-body): Use backquote forms.
8467 * calc/calc-ext.el (math-defcache): Likewise.
8468 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8469 * allout.el (allout-new-exposure): Likewise.
8470 * calc/calcalg2.el (math-tracing-integral): Likewise.
8471 * info.el (Info-last-menu-item): Likewise.
8472 * emulation/vip.el (vip-loop): Likewise.
8473 * textmodes/artist.el (artist-funcall): Likewise.
8474 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8475 Construct menu-item directly.
8476
8477 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8478 Don't declare.
8479
8480 2012-08-07 Chong Yidong <cyd@gnu.org>
8481
8482 * simple.el (deactivate-mark): Preserve text properties when
8483 saving the primary selection (Bug#8384).
8484
8485 2012-08-07 Kevin Ryde <user42@zip.com.au>
8486
8487 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8488 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8489 and continue processing (Bug#12110).
8490
8491 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8494 syntax-propertize-function (bug#10095).
8495
8496 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8499 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8500 describe-function-1.
8501 (describe-function-1): Use them. Move compiler macro after sig.
8502 (help-fns--compiler-macro): Use function-get. Assume we're already in
8503 standard-output. Adjust layout to new call order.
8504
8505 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8506 re-binding a symbol that has a symbol-macro (bug#12119).
8507
8508 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8509
8510 * language/persian.el: New file. (Bug#11812)
8511 * loadup.el: Add language/persian.el.
8512
8513 2012-08-06 Chong Yidong <cyd@gnu.org>
8514
8515 * window.el (window--maybe-raise-frame): New function.
8516 (window--display-buffer): Split off from here.
8517 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8518 (display-buffer-pop-up-window, display-buffer-use-some-window):
8519 Obey an inhibit-switch-frame action alist entry.
8520 (display-buffer): Update doc.
8521
8522 * replace.el (occur-after-change-function): Avoid losing focus by
8523 using the inhibit-switch-frame display parameter (Bug#12139).
8524
8525 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8526
8527 Make internal shell process buffer names start with space.
8528 * progmodes/python.el (python-shell-make-comint): Add optional
8529 argument INTERNAL.
8530 (run-python-internal): Use it.
8531 (python-shell-internal-get-or-create-process): Check for new
8532 internal buffer names.
8533
8534 2012-08-06 Glenn Morris <rgm@gnu.org>
8535
8536 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8537 Do less getting and setting of environment variables.
8538
8539 2012-08-05 Chong Yidong <cyd@gnu.org>
8540
8541 * proced.el (proced): Add substitution string to docstring to
8542 trigger autoloading of the proced library on C-h f (Bug#1768).
8543
8544 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8545 Don't show defvars which have no second argument (Bug#8638).
8546
8547 * imenu.el (imenu-generic-expression): Move documentation here
8548 from imenu--generic-function.
8549 (imenu--generic-function): Refer to imenu-generic-expression.
8550
8551 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8552
8553 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8554 indentation declaration.
8555 (viper-loop): Add indentation declaration (Bug#7025).
8556
8557 2012-08-05 Chong Yidong <cyd@gnu.org>
8558
8559 * help-fns.el (describe-variable): Add hyperlink for
8560 directory-local variables files. Improve buffer-local and
8561 permanent-local reporting; suggested by MON KEY (Bug#6644).
8562
8563 * help-mode.el (help-dir-local-var-def): New button type.
8564
8565 * files.el (kill-buffer-hook): Provide a defvar.
8566
8567 2012-08-05 Glenn Morris <rgm@gnu.org>
8568
8569 * eshell/esh-ext.el (eshell/addpath):
8570 Also update eshell-path-env. (Bug#12013)
8571
8572 2012-08-05 Chong Yidong <cyd@gnu.org>
8573
8574 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8575
8576 * fringe.el (fringe-styles): Add docstring.
8577 (fringe--check-mode): New function.
8578 (set-fringe-mode, set-fringe-style): Use it.
8579 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8580
8581 * files.el (set-auto-mode): Fix invalid setq call.
8582
8583 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * isearch.el: Misc simplification; use defstruct.
8586 (isearch-mode-map): Dense maps now work like sparse ones.
8587 (isearch--state): New defstruct.
8588 (isearch-string-state, isearch-message-state, isearch-point-state)
8589 (isearch-success-state, isearch-forward-state)
8590 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8591 (isearch-wrapped-state, isearch-barrier-state)
8592 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8593 replaced by defstruct's accessors.
8594 (isearch--set-state): Rename from isearch-top-state and change
8595 calling convention.
8596 (isearch-push-state): Use new isearch--get-state.
8597 (isearch-toggle-word): Disable regexp when enabling word.
8598 (isearch-message-prefix): Remove unused arg _c-q-hack.
8599 (isearch-message-suffix): Remove unused arg _ellipsis.
8600
8601 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8602
8603 * simple.el (list-processes--refresh): For a server use :host or
8604 :local as the address.
8605 (list-processes): Doc fix.
8606
8607 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8608
8609 * lisp/mpc.el: Support password in host argument.
8610 (mpc--proc-connect): Parse and use new password element.
8611 Set mpc-proc variable instead of returning process.
8612 (mpc-proc): Adjust accordingly.
8613
8614 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8615
8616 * whitespace.el (whitespace-display-mappings): Use Unicode
8617 codepoints, instead of emacs-mule codepoints. See
8618 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8619 for the details.
8620
8621 * files.el (file-truename): Don't skip symlink-chasing part on
8622 windows-nt. Incorporate the resolution of 8+3 short aliases on
8623 Windows into the loop that recursively chases symlinks.
8624 Compare directory and its parent case-insensitively on MS-Windows and
8625 MS-DOS.
8626
8627 2012-08-03 Chong Yidong <cyd@gnu.org>
8628
8629 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8630
8631 * sort.el (sort-regexp-fields): Doc fix.
8632
8633 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8634
8635 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8636 labels regex position point at the expected place.
8637
8638 2012-08-03 MON KEY <monkey@sandpframing.com>
8639
8640 * net/imap.el (imap-interactive-login, imap-authenticate)
8641 (imap-mailbox-lsub, imap-mailbox-list)
8642 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8643 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8644 (imap-parse-response): Doc fix.
8645
8646 2012-08-03 João Távora <joaotavora@gmail.com>
8647
8648 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8649 if sexp scanning does not move point (Bug#5734).
8650
8651 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8652
8653 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8654 Add listings, minted, and ctable packages.
8655 (reftex-label-alist-builtin): Move listings, minted, and ctable
8656 entries before LaTeX.
8657 (reftex-label-alist): Docfix.
8658
8659 2012-08-02 Bastien Guerry <bzg@gnu.org>
8660
8661 * replace.el (occur): Fix docstring (bug#12122).
8662
8663 2012-08-02 Glenn Morris <rgm@gnu.org>
8664
8665 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8666
8667 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8668
8669 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8670 * international/mule-cmds.el: Create
8671 inactivate-current-input-method-function as an obsolete alias for
8672 deactivate-current-input-method-function. See Katsumi Yamaoka in
8673 <http://bugs.gnu.org/10150#46>.
8674
8675 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8676
8677 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8678 of nested `if's.
8679
8680 2012-08-01 Glenn Morris <rgm@gnu.org>
8681
8682 * progmodes/autoconf.el (autoconf-definition-regexp):
8683 Add AH_TEMPLATE, adjust submatch numbering.
8684 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8685 (autoconf-current-defun-function): Update for above change.
8686 (autoconf-current-defun-function): First skip to end of current word.
8687
8688 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8689
8690 * calendar/cal-html.el (cal-html-insert-agenda-days):
8691 Fix typo. (Bug#12018)
8692
8693 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8694
8695 Shell processes: enhancements to startup and CEDET compatibility.
8696 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8697 (python-shell-make-comint): accept-process-output at startup.
8698 (run-python-internal): Set inferior-python-mode-hook to nil.
8699 (python-shell-internal-get-or-create-process): call sit-for.
8700 (python-preoutput-result): Add obsolete alias.
8701 (python-shell-internal-send-string): Use it.
8702 (python-shell-send-setup-code): Remove call to
8703 accept-process-output.
8704
8705 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8706
8707 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8708 (Bug#12108)
8709
8710 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8711
8712 * calc-mode.el (calc-basic-simplification-mode): Rename from
8713 `calc-limited-simplification-mode'.
8714 (calc-alg-simplification-mode): New function.
8715 (calc-set-simplify-mode): Adjust message.
8716
8717 * calc.el (calc-set-mode-line): Adjust mode line display for
8718 basic simplification mode.
8719
8720 * calc-help.el (calc-m-prefix-help): Update help message.
8721
8722 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8723 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8724
8725 2012-07-31 Bastien Guerry <bzg@gnu.org>
8726
8727 * man.el (man): Fix comment. (bug#12101)
8728
8729 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8730
8731 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8732 Don't return a non-nil value when no suitable buffer was found.
8733
8734 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8735
8736 * progmodes/python.el (run-python-internal): Disable font lock for
8737 internal shells.
8738
8739 2012-07-30 Stefan Merten <smerten@oekonux.de>
8740
8741 * textmodes/rst.el: Silence `checkdoc-ispell'.
8742 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8743 (rst-official-version, rst-official-cvs-rev)
8744 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8745 (rst-mode-map): New key binding.
8746
8747 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8748
8749 Update .PHONY listings in makefiles.
8750 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8751 autoloads, update-subdirs, updates, bzr-update, update-authors,
8752 compile-onefile, compile-calc, backup-compiled-files,
8753 compile-after-backup, compile-one-process, mh-autoloads,
8754 bootstrap-clean, distclean, maintainer-clean.
8755
8756 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8757
8758 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8759 (calc-set-mode-line): Don't display "AlgSimp ".
8760
8761 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8762 (calc-lim-simplify-mode): New function.
8763 (calc-set-simplify-mode): Default to 'alg.
8764 (calc-default-simplify-mode): Make algebraic simplifications
8765 the default.
8766
8767 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8768 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8769
8770 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8771 indicate new simplification modes.
8772
8773 * calc/README: Mention new default simplification mode.
8774
8775 * calc/calc.el (math-normalize-error): New variable.
8776 (math-normalize): Set `math-normalize-error' to t
8777 when there's an error.
8778
8779 * calc/calc-alg.el (math-simplify): Don't simplify when
8780 `math-normalize' returns an error.
8781
8782 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8783
8784 * international/mule-cmds.el (set-locale-environment): Revert last
8785 change, since display-graphic-p returns nil when this function is
8786 called during startup. Instead...
8787
8788 * term/w32console.el (terminal-init-w32console): ...setup the
8789 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8790
8791 2012-07-29 Juri Linkov <juri@jurta.org>
8792
8793 * simple.el (goto-line): Don't display default line number in the
8794 prompt because it should be displayed by `read-number' (bug#9952).
8795 Add the current line number to the defaults of `goto-line' to
8796 allow its easier modification by users with `M-n' (bug#9201).
8797
8798 * subr.el (read-number): Support multiple default values like in
8799 other minibuffer reading functions. Replace `read' with
8800 `string-to-number' for consistency with `number-to-string'.
8801
8802 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8803
8804 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8805 * emulation/viper-init.el (viper-deactivate-input-method-action):
8806 Rename from viper-inactivate-input-method-action.
8807 (viper-deactivate-input-method):
8808 Rename from viper-inactivate-input-method.
8809 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8810 * international/mule-cmds.el (deactivate-input-method):
8811 Rename from inactivate-input-method.
8812 Also run input-method-deactivate-hook.
8813 (deactivate-current-input-method-function):
8814 Rename from inactivate-current-input-method-function.
8815 (input-method-deactivate-hook): New hook.
8816 (input-method-inactivate-hook): Mark obsolete.
8817 (inactivate-input-method): Mark obsolete.
8818
8819 * international/quail.el (quail-activate):
8820 Also run quail-deactivate-hook.
8821 (quail-deactivate): Rename from quail-inactivate.
8822 * international/robin.el (robin-activate):
8823 Also run robin-deactivate-hook.
8824 (robin-deactivate): Rename from robin-inactivate.
8825
8826 2012-07-29 Chong Yidong <cyd@gnu.org>
8827
8828 * simple.el (indicate-copied-region): New function.
8829 (kill-ring-save): Split off from here.
8830
8831 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8832 (kill-rectangle): Set deactivate-mark to t on read-only error.
8833
8834 * register.el (copy-to-register, copy-rectangle-to-register):
8835 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8836 (append-to-register, prepend-to-register): Call indicate-copied-region.
8837
8838 2012-07-29 Juri Linkov <juri@jurta.org>
8839
8840 * simple.el (async-shell-command-buffer): New defcustom.
8841 (shell-command): Use it. (Bug#4719)
8842
8843 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8844
8845 * international/mule-cmds.el (set-locale-environment): In a
8846 console session on MS-Windows, set up keyboard and terminal
8847 encoding from the OEM codepage, not the ANSI codepage.
8848 (Bug#12055)
8849
8850 2012-07-28 Chong Yidong <cyd@gnu.org>
8851
8852 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8853 gdb-get-location.
8854
8855 2012-07-28 Leo Liu <sdl.web@gmail.com>
8856
8857 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8858 the alist (bug#12029).
8859
8860 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8861
8862 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8863 (compile-always, compile-first)
8864 ($(lisp)/calendar/cal-loaddefs.el)
8865 ($(lisp)/calendar/diary-loaddefs.el)
8866 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8867 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8868 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8869 instead of on update-subdirs.
8870 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8871
8872 2012-07-28 Chong Yidong <cyd@gnu.org>
8873
8874 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8875 directory if vc-deduce-backend returns nil (Bug#7350).
8876
8877 * simple.el (delete-trailing-lines): New option.
8878 (delete-trailing-whitespace): Obey it (Bug#11879).
8879
8880 2012-07-28 David Engster <deng@randomsample.de>
8881
8882 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8883 Explanation of new 'symbol-qnames feature in doc-strings.
8884 (xml-maybe-do-ns): Return expanded names as plain symbols if
8885 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8886 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8887
8888 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8889
8890 Consistent completion in inferior python with emacs -nw.
8891 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8892 binding in inferior-python-mode-map with "\t".
8893 (python-shell-completion-complete-at-point)
8894 (python-completion-complete-at-point): Remove interactive spec.
8895
8896 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8897
8898 * calc/calccomp.el (math-compose-expr): Undo previous change.
8899
8900 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8901
8902 * progmodes/python.el (python-mode-map): Add keybinding for
8903 run-python.
8904 (python-shell-make-comint): Fix pop-to-buffer call.
8905 (run-python): Autoload. New arg SHOW.
8906 (python-shell-get-or-create-process): Do not pop python process
8907 buffer.
8908
8909 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8910
8911 * notifications.el (notifications-on-action-signal)
8912 (notifications-on-closed-signal): Use also the bus address for the map.
8913 (notifications-notify, notifications-close-notification)
8914 (notifications-get-capabilities): Add optional argument BUS.
8915
8916 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8917
8918 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8919 Add support for the lstlisting and minted environments, and for the
8920 ctable macro.
8921 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8922 labels written in keyvals syntax.
8923
8924 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8925
8926 * calc/calccomp.el (math-compose-expr): Use parentheses when
8927 there is a product in the denominator of a fraction.
8928
8929 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8930
8931 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8932 ($(lisp)/calendar/diary-loaddefs.el)
8933 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8934 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8935 Fixes failures in parallel bootstrap because subdirs.el is being
8936 rewritten while the autoload files are built at the same time,
8937 which needs to load subdirs.el.
8938
8939 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8940
8941 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8942 (mouse-drag-line): Don't exit tracking when a switch-frame or
8943 switch-window event occurs (Bug#12006).
8944
8945 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * mouse.el (popup-menu): Fix last change.
8948
8949 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 Autoload from Lisp with more care. Follow aliases when looking for
8952 function properties.
8953 * subr.el (autoloadp): New function.
8954 (symbol-file): Use it.
8955 (function-get): New function.
8956 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8957 autoload-do-load.
8958 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8959 (lisp-indent-function):
8960 * emacs-lisp/gv.el (gv-get):
8961 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8962 * emacs-lisp/byte-opt.el (byte-optimize-form):
8963 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8964 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8965 Use function-get.
8966 * emacs-lisp/cl.el: Don't propagate function properties any more.
8967
8968 * speedbar.el (speedbar-add-localized-speedbar-support):
8969 * emacs-lisp/disass.el (disassemble-internal):
8970 * desktop.el (desktop-load-file):
8971 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8972 (describe-function-1):
8973 * emacs-lisp/find-func.el (find-function-noselect):
8974 * emacs-lisp/elp.el (elp-instrument-function):
8975 * emacs-lisp/advice.el (ad-has-proper-definition):
8976 * apropos.el (apropos-safe-documentation, apropos-macrop):
8977 * emacs-lisp/debug.el (debug-on-entry):
8978 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8979 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8980 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8981
8982 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8983
8984 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8985 function, not an obsolete variable (Bug#12046).
8986
8987 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8988
8989 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8990
8991 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8992
8993 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8994 window only if it is still live (Bug#12034).
8995
8996 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8997
8998 * subr.el (redirect-frame-focus): Add advertised calling
8999 convention (Bug#12030).
9000
9001 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 Prefer typical American spelling for "acknowledgment".
9004 * vc/add-log.el (change-log-acknowledgment): Rename from
9005 change-log-acknowledgement, with an alias for the old name.
9006
9007 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9008
9009 * calc-alg.el (math-simplify-divide): Don't cross multiply
9010 in an equation when the lhs is a variable.
9011
9012 2012-07-24 Julien Danjou <julien@danjou.info>
9013
9014 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9015 Remove, unused.
9016
9017 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9018
9019 * startup.el (command-line): Don't display an empty user name in
9020 the error message about non-existent home directory, when
9021 init-file-user was set to an empty string. See
9022 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9023 for the details and context.
9024
9025 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9026
9027 * ses.el (ses-cell-formula-aset): New macro.
9028 (ses-cell-references-aset): New macro.
9029 (ses-cell-p): New function.
9030 (ses-rename-cell): Do no longer rely on complex operations like
9031 ses-cell-set-formula or ses-set-cell to change the cell and handle
9032 the undo at the same time, but rather use lower level new macros
9033 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9034 the undo directly. Refresh the mode line.
9035
9036 2012-07-21 Leo Liu <sdl.web@gmail.com>
9037
9038 * progmodes/cc-cmds.el (c-defun-name):
9039 Use match-string-no-properties instead for consistency.
9040
9041 2012-07-20 Leo Liu <sdl.web@gmail.com>
9042
9043 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9044 (Bug#7879)
9045
9046 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9047
9048 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9051 * progmodes/bug-reference.el, misearch.el: Provide themselves
9052 (bug#11915).
9053
9054 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9055 of narrowed buffer (bug#11966).
9056
9057 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9058
9059 * ses.el (ses-rename-cell): Set new name also in reference list of
9060 cells of which the renamed cell depends.
9061
9062 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9063
9064 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9065 to check whether menu-bar is shown or not. If not shown,
9066 show the menu-bar as a popup menu instead of using tmm.
9067 * mouse.el (popup-menu): Accept `point' as `position' argument.
9068
9069 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9070
9071 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9072 up inside string symbol literal (bug#11923).
9073
9074 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9075
9076 * startup.el (fancy-startup-text): Read the whole tutorial, not
9077 just its first 256 bytes. Prevents gibberish in display of the
9078 tutorial title.
9079
9080 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9081
9082 Drop idle buffer compaction due to an absence of the
9083 proved efficiency.
9084 * compact.el: Remove.
9085
9086 2012-07-19 Sam Steingold <sds@gnu.org>
9087
9088 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9089 vc-bzr-pull & vc-bzr-merge-branch.
9090 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9091 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9092 for consistency with compilation-error-regexp-alist.
9093 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9094 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9095 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9096 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9097
9098 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * emacs-lisp/chart.el: Use lexical-binding.
9101 (chart-emacs-storage): Don't hardcode the list of entries.
9102
9103 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9104
9105 Next round of tweaks caused by Fgarbage_collect changes.
9106 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9107
9108 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9109
9110 Compact buffers when idle.
9111 * compact.el: New file.
9112
9113 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * subr.el (eventp): Presume that if it looks vaguely like an event,
9116 it's an event (bug#10190).
9117
9118 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9119
9120 Enhancements to ppss related code (thanks Stefan).
9121 * progmodes/python.el (python-indent-context)
9122 (python-indent-calculate-indentation, python-indent-dedent-line)
9123 (python-indent-electric-colon, python-nav-forward-block)
9124 (python-mode-abbrev-table)
9125 (python-info-assignment-continuation-line-p): Simplify checks
9126 for ppss context.
9127 (python-info-continuation-line-p): Cleanup.
9128 (python-info-ppss-context): Do not catch 'quote.
9129 (python-info-ppss-context-type)
9130 (python-info-ppss-comment-or-string-p): Simplify.
9131
9132 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9133
9134 * progmodes/python.el: Enhancements to eldoc support.
9135 (python-info-current-symbol): New function.
9136 (python-eldoc-at-point): Use python-info-current-symbol.
9137 (python-info-current-defun): Fix cornercase on first defun scan.
9138 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9139 and signal error when no inferior python process is available.
9140
9141 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9142
9143 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9144 assume it's always t.
9145 (vc-git-registered): Remove caching, the function is only called
9146 once.
9147 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9148
9149 2012-07-18 Chong Yidong <cyd@gnu.org>
9150
9151 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9152
9153 * simple.el (count-words): Report on narrowing (Bug#9959).
9154
9155 * bindings.el: Bind M-= to count-words.
9156
9157 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9158
9159 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9160
9161 * progmodes/sh-script.el (sh-imenu-generic-expression):
9162 Capture a function with `function' keyword and without parentheses
9163 like "function FOO" (bug#11856).
9164
9165 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9166
9167 * window.el (split-window-sensibly): Make WINDOW argument
9168 optional.
9169
9170 2012-07-18 Chong Yidong <cyd@gnu.org>
9171
9172 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9173
9174 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9175 and make C-x 8 RET exit isearch (Bug#11439).
9176
9177 * international/iso-transl.el: Move isearch-mode-map key
9178 definitions to isearch.el.
9179
9180 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9181
9182 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9183 (eieio-defclass): Use gv-define-setter when possible.
9184
9185 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9186
9187 Reflect recent changes in Fgarbage_collect.
9188 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9189 reflect new format of data returned by Fgarbage_collect.
9190
9191 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9192
9193 New utility functions + python-info-ppss-context fix (Bug#11910).
9194 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9195 (python-info-ppss-comment-or-string-p): New functions.
9196 (python-info-ppss-context): Small fix for string check.
9197
9198 2012-07-17 Juri Linkov <juri@jurta.org>
9199
9200 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9201 (dired-do-async-shell-command): Don't add `*' at the end of the
9202 command (Bug#11815).
9203 (dired-do-shell-command): Doc fix.
9204 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9205 Join the individual commands using either "&" or ";" as the
9206 separator depending on the values of these trailing characters.
9207 At the end re-add the trailing "&". (Bug#10598)
9208
9209 * simple.el (async-shell-command): Sync the interactive spec with
9210 `shell-command'. Doc fix.
9211 (shell-command): Doc fix.
9212
9213 2012-07-17 Juri Linkov <juri@jurta.org>
9214
9215 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9216
9217 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9218
9219 Final renames and doc fixes for movement commands (bug#11899).
9220 * progmodes/python.el (python-nav-beginning-of-statement):
9221 Rename from python-nav-statement-start.
9222 (python-nav-end-of-statement): Rename from
9223 python-nav-statement-end.
9224 (python-nav-beginning-of-block): Rename from
9225 python-nav-block-start.
9226 (python-nav-end-of-block): Rename from python-nav-block-end.
9227
9228 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9229
9230 * progmodes/python.el (python-shell-send-string-no-output):
9231 Allow accept-process-output to quit, keeping shell process ready for
9232 future interactions (Bug#11868).
9233
9234 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9237
9238 * emacs-lisp/elint.el (elint-find-args-in-code):
9239 Use help-function-arglist, so as to handle lexical byte-code.
9240
9241 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9242 change (bug#11826).
9243
9244 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9247 Avoid spuriously marking the buffer as modified because of c-is-sws.
9248
9249 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9250 as not-a-comment (bug#11946).
9251
9252 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9253 for uninterned vars.
9254
9255 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9256 Use read-event since we don't really want to read chars but bytes.
9257
9258 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9259 $$..$$ but also $..$ using regexps (bug#11953).
9260 Use tex-verbatim for \url and \path.
9261 (tex-font-lock-keywords): Define as defconst like the others.
9262 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9263
9264 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9265
9266 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9267 alias for insert-char.
9268
9269 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9270
9271 * progmodes/python.el: Simplified imenu implementation.
9272 (python-nav-jump-to-defun): Remove command.
9273 (python-mode-map): Use `imenu' instead.
9274 (python-nav-list-defun-positions-cache)
9275 (python-imenu-include-defun-type, python-imenu-make-tree)
9276 (python-imenu-subtree-root-label, python-imenu-index-alist):
9277 Remove vars.
9278 (python-nav-list-defun-positions, python-nav-read-defun)
9279 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9280 (python-imenu-make-tree, python-imenu-create-index):
9281 Remove functions.
9282 (python-mode): Update to interact with imenu by setting
9283 `imenu-extract-index-name-function' only.
9284
9285 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9286
9287 * progmodes/python.el: Enhancements to navigation commands.
9288 (python-nav-backward-sentence)
9289 (python-nav-forward-sentence): Remove.
9290 (python-nav-backward-statement, python-nav-forward-statement)
9291 (python-nav-statement-start, python-nav-statement-end)
9292 (python-nav-backward-block, python-nav-forward-block)
9293 (python-nav-block-start, python-nav-block-end)
9294 (python-nav-forward-sexp-function)
9295 (python-info-current-line-comment-p)
9296 (python-info-current-line-empty-p): New functions.
9297 (python-indent-context): Use `python-nav-statement-start'.
9298
9299 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9300
9301 * eshell/em-ls.el (eshell/ls): Use `apply'.
9302
9303 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9304 multi-hops, instead of Tramp internals.
9305
9306 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9307
9308 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9309 when F1 and F2 are located on different hosts.
9310
9311 2012-07-14 Chong Yidong <cyd@gnu.org>
9312
9313 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9314 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9315 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9316 (xterm-mouse--read-event-sequence-1000)
9317 (xterm-mouse--read-event-sequence-1006): New functions. For old
9318 mouse protocol, handle M-mouse-X events correctly.
9319 (xterm-mouse-event): New arg specifying mouse protocol.
9320 (turn-on-xterm-mouse-tracking-on-terminal)
9321 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9322 sequence to toggle extended coordinates on newer XTerms.
9323 This appears to be harmless on terminals which do not support this.
9324
9325 2012-07-14 Leo Liu <sdl.web@gmail.com>
9326
9327 Add fringe bitmap indicators for flymake. (Bug#11253)
9328 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9329 (flymake-make-overlay): New arg BITMAP.
9330 (flymake-error-bitmap, flymake-warning-bitmap)
9331 (flymake-fringe-indicator-position): New user variables.
9332
9333 * fringe.el: New bitmap exclamation-mark.
9334
9335 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9336
9337 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9338 also (Bug#7879).
9339
9340 2012-07-14 Chong Yidong <cyd@gnu.org>
9341
9342 * electric.el (electric-pair-post-self-insert-function): Fix pair
9343 insertion in empty-region case (Bug#11520).
9344
9345 2012-07-14 Chong Yidong <cyd@gnu.org>
9346
9347 * bindings.el: Consolidate ctl-x-r-map bindings.
9348 Bind copy-rectangle-as-kill to C-x r w.
9349
9350 * rect.el, register.el: Move bindings to bindings.el.
9351
9352 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9353
9354 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9355
9356 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9357
9358 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9359
9360 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9361
9362 * bindings.el (top): Use `mapc' instead of `mapcar'.
9363
9364 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9365
9366 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9367
9368 * progmodes/sql.el (sql-comint): Suppress the check for program on
9369 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9370 (Bug#11908)
9371
9372 2012-07-13 Chong Yidong <cyd@gnu.org>
9373
9374 * bindings.el: Assign a non-nil permanent-local property to
9375 per-buffer variables which lack a default value (Bug#11930).
9376
9377 * help-fns.el (describe-variable): In the "automatically becomes
9378 local" notice, take note of permanent-local variables.
9379
9380 2012-07-13 Chong Yidong <cyd@gnu.org>
9381
9382 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9383 to allow printing the message when called from Lisp.
9384
9385 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9386 Remove toggle-read-only.
9387
9388 * bs.el (bs-toggle-readonly):
9389 * buff-menu.el (Buffer-menu-toggle-read-only):
9390 Remove with-no-warnings around toggle-read-only.
9391
9392 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9393 Remove with-no-warnings around toggle-read-only.
9394 (ffap-read-only, ffap-read-only-other-window)
9395 (ffap-read-only-other-frame): Callers changed.
9396
9397 * help-mode.el: Don't require view package.
9398 (help-mode-finish): Set buffer-read-only instead of calling
9399 toggle-read-only.
9400
9401 * bindings.el (mode-line-toggle-read-only):
9402 * dired.el (dired-toggle-read-only):
9403 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9404 with non-nil second arg.
9405
9406 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9407 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9408 directly.
9409
9410 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9411
9412 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9413 not incf.
9414
9415 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 More CL cleanups and reduction of use of cl.el.
9418 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9419 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9420 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9421 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9422 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9423 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9424 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9425 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9426 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9427 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9428 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9429 * eshell/em-cmpl.el, eshell/em-banner.el:
9430 * calendar/parse-time.el: Use cl-lib.
9431 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9432 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9433 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9434 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9435 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9436 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9437 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9438 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9439 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9440 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9441 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9442 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9443 `lambda' rather than with `quote'.
9444 (eshell-do-opt): Adjust accordingly.
9445 (eshell-process-option): Simplify.
9446 * eshell/esh-var.el:
9447 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9448 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9449 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9450 to `pcase--dontcare'.
9451 * emacs-lisp/cl.el (labels): Mark obsolete.
9452 (cl--letf, letf): Move to cl-lib.
9453 (cl--letf*, letf*): Remove.
9454 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9455 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9456 (cl-progv): Rewrite.
9457 (cl--letf, cl-letf): Move from cl.el.
9458 (cl-letf*): New macro.
9459 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9460
9461 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9462
9463 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9464
9465 2012-07-11 Chong Yidong <cyd@gnu.org>
9466
9467 * vc/log-edit.el (log-edit-vc-backend): New variable.
9468 (log-edit): Doc fix.
9469
9470 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9471 argument of log-edit to set up all local variables.
9472 (vc-start-logentry): New optional arg specifying VC backend.
9473
9474 * vc/vc.el (vc-checkin): Use it.
9475 (vc-deduce-fileset): Handle Log Edit buffers.
9476 (vc-diff): Make first argument optional too.
9477
9478 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9479
9480 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9481
9482 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9483 command, just in case. The function is not needed anymore.
9484 (eshell-external-command): Do not call `eshell-remote-command'.
9485
9486 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 Reduce use of (require 'cl).
9489 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9490 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9491 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9492 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9493 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9494 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9495 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9496 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9497 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9498 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9499 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9500 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9501 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9502 (byte-compile-unfold-bcf, byte-compile-check-variable):
9503 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9504 (byte-compile-nilconstp):
9505 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9506 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9507
9508 * emacs-lisp/gv.el (cond): Make it a valid place.
9509 (if): Simplify slightly.
9510
9511 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9512 (pcase--self-quoting-p): New function.
9513 (pcase--u1): Use it.
9514
9515 2012-07-10 Glenn Morris <rgm@gnu.org>
9516
9517 * emacs-lisp/authors.el (authors-fixed-entries):
9518 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9519
9520 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9521
9522 Rename configure.in to configure.ac (Bug#11603).
9523 * emacs-lisp/authors.el (authors-canonical-file-name):
9524 * progmodes/autoconf.el (autoconf-mode):
9525 Prefer configure.ac to configure.in.
9526
9527 2012-07-08 Chong Yidong <cyd@gnu.org>
9528
9529 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9530 Implement the mouse-1-click-follows-link handling properly.
9531
9532 * info.el (Info-link-keymap): Use follow-link mechanism for
9533 header-line links (Bug#374).
9534
9535 * simple.el (deactivate-mark): Do not set the primary selection
9536 if another program has acquired it (Bug#11772).
9537
9538 2012-07-07 Kevin Ryde <user42@zip.com.au>
9539
9540 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9541 (woman-decode-region): Replace escaped-escapes without destroying
9542 bold or underline (Bug#11552).
9543 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9544
9545 2012-07-07 Chong Yidong <cyd@gnu.org>
9546
9547 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9548 (interprogram-cut-function, interprogram-paste-function):
9549 Mention that we typically mean the clipboard.
9550
9551 2012-07-06 Glenn Morris <rgm@gnu.org>
9552
9553 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9554
9555 * files.el (toggle-read-only): Restrict message to interactive use.
9556
9557 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9558
9559 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9560
9561 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9562
9563 2012-07-06 Glenn Morris <rgm@gnu.org>
9564
9565 * Makefile.in (compile-one-process): Rename from "recompile".
9566
9567 * Makefile.in (bzr-update): "compile" is the same as "recompile
9568 autoloads", but parallelizable, so use that instead.
9569
9570 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9571
9572 * window.el (quit-window): Always restore window height when
9573 it's saved in quit-restore parameter (Bug#11810).
9574
9575 2012-07-06 Glenn Morris <rgm@gnu.org>
9576
9577 * simple.el (kill-whole-line): Doc tweak.
9578
9579 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9580
9581 * files.el (file-relative-name): Compare file names
9582 case-insensitively if on MS-Windows or MS-DOS, or if
9583 read-file-name-completion-ignore-case is non-nil. Don't use
9584 case-fold-search for this purpose. (Bug#11827)
9585
9586 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9587
9588 * calendar/cal-dst.el (calendar-current-time-zone):
9589 Return calendar-current-time-zone-cache if non-nil.
9590
9591 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9592 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9593
9594 * calendar/cal-dst.el (calendar-current-time-zone):
9595 Return calendar-current-time-zone-cache if non-nil.
9596
9597 2012-07-06 Glenn Morris <rgm@gnu.org>
9598
9599 * Makefile.in (cvs-update): Remove old alias.
9600
9601 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9602
9603 Sync with Tramp 2.2.6-pre.
9604
9605 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9606 compatible declaration.
9607
9608 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9609 Protect `list-load-path-shadows' call.
9610
9611 * net/tramp-compat.el (top): Require packages, which aren't
9612 autoloaded anymore for XEmacs. Protect call of
9613 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9614 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9615 it hurts at least for SXEmacs.
9616 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9617 standard-value for `temporary-file-directory'.
9618
9619 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9620 Redirect stderr to /dev/null.
9621 (tramp-sh-handle-write-region): uid and gid can be floats.
9622 Reported by Russell Sim <russell.sim@gmail.com>.
9623 (tramp-sh-handle-vc-registered): Hide errors.
9624 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9625 and `start-file-process'.
9626 (tramp-maybe-open-connection): Check also whether `non-essential'
9627 is bound.
9628
9629 2012-07-04 Chong Yidong <cyd@gnu.org>
9630
9631 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9632 (xml-parse-tag): Likewise, and avoid changing entity tables.
9633 (xml-syntax-table): Define from scratch, making sure not to give
9634 x2000 and other Unicode spaces whitespace syntax, since those are
9635 not spaces in XML.
9636 (xml-parse-fragment): Delete unused function.
9637 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9638 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9639 (xml-entity-ref, xml-pe-reference-re)
9640 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9641 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9642 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9643 (xml-entity-value-re): Use syntax references in regexps where
9644 possible; no need to define inside a let-binding.
9645 (xml-parse-dtd): Use xml-pe-reference-re.
9646 (xml-entity-or-char-ref-re): New defconst.
9647 (xml-parse-string, xml-substitute-special): Use it.
9648
9649 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9652 (find-file--read-only): New function.
9653 (find-file-read-only, find-file-read-only-other-window)
9654 (find-file-read-only-other-frame): Use it.
9655 (insert-file-contents-literally): Don't `fset'.
9656 (get-free-disk-space): Use locate-dominating-file.
9657
9658 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9659 function is already compiled.
9660
9661 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9662
9663 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9664
9665 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9666 files on the same host.
9667
9668 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9669
9670 * help-fns.el (describe-function-1): Only call
9671 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9672
9673 2012-07-03 Chong Yidong <cyd@gnu.org>
9674
9675 * xml.el: Protect parser against XML bombs.
9676 (xml-entity-expansion-limit): New variable.
9677 (xml-parse-string, xml-substitute-special): Use it.
9678 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9679
9680 2012-07-03 Glenn Morris <rgm@gnu.org>
9681
9682 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9683 Allow linking to specific messages in debbugs reports (eg 123#5).
9684
9685 2012-07-02 Chong Yidong <cyd@gnu.org>
9686
9687 * xml.el: Fix entity and character reference expansion, allowing
9688 them to expand into markup as per XML spec.
9689 (xml-default-ns): New variable.
9690 (xml-entity-alist): Use XML spec definitions for lt and amp.
9691 (xml-parse-region): Make first two arguments optional.
9692 Discard text properties.
9693 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9694 All callers changed.
9695 (xml-parse-tag): Call xml-parse-tag-1. For backward
9696 compatibility, this function should not modify buffer contents.
9697 (xml-parse-tag-1): Fix opening-tag regexp.
9698 (xml-parse-string): Rewrite, handling entity and character
9699 references properly.
9700 (xml--entity-replacement-text): Signal an error if a parameter
9701 entity is undefined.
9702
9703 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * comint.el (comint-output-filter): Filter out repeated prompts.
9706
9707 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9708 and file-name-absolute-p.
9709 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9710 internal calls.
9711
9712 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9713
9714 Spelling fixes.
9715 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9716 Rename from byte-compile--refiy-function. All uses changed.
9717
9718 2012-07-01 Chong Yidong <cyd@gnu.org>
9719
9720 * xml.el (xml--parse-buffer): New function. Move most of
9721 xml-parse-region here.
9722 (xml-parse-region): Copy region into a temporary buffer, since
9723 parameter entity substitution requires changing buffer contents.
9724 Use xml--parse-buffer.
9725 (xml-parse-file): Use xml--parse-buffer.
9726 (xml-parse-dtd): Make parameter entity substitution work right.
9727 Use proper regexps for ELEMENT declarations (Bug#7172).
9728
9729 2012-06-30 Glenn Morris <rgm@gnu.org>
9730
9731 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9732
9733 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9734 Remove outdated and unnecessary dbus declarations.
9735
9736 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9737
9738 * emacs-lisp/timer.el (timer-until): Subtract results of
9739 float-time, instead of taking float-time of the result of
9740 time-subtract, since float-time signals an error for negative time
9741 arguments.
9742
9743 2012-06-30 Chong Yidong <cyd@gnu.org>
9744
9745 * xml.el (xml-*-re): Convert defvars into defconsts, and
9746 eval-and-compile them so eval-and-compile works on derivatives.
9747 (xml--entity-replacement-text): Use eval-and-comple.
9748
9749 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9750
9751 * vc/vc-git.el (vc-git-registered): Use cache property
9752 `git-registered'.
9753 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9754 `vc-git-working-revision' in order to benefit from the cache.
9755 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9756
9757 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9758
9759 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9760 removed (likely outside Emacs). (Bug#11757)
9761
9762 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * emacs-lisp/cl-lib.el: Require macroexp.
9765
9766 2012-06-30 Chong Yidong <cyd@gnu.org>
9767
9768 * xml.el: Implement XML parameter entities.
9769 (xml-parameter-entity-alist): New variable.
9770 (xml-parse-region, xml-parse-fragment): Preserve previous values
9771 of xml-entity-alist and xml-parameter-entity-alist, so that
9772 repeated calls on different documents do not change them.
9773 (xml-parse-tag): Fix doctype regexp.
9774 (xml--entity-replacement-text): New function.
9775 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9776 properly requires url retrieval which is unimplemented.
9777 (xml-escape-string): Doc fix.
9778
9779 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9782
9783 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9784
9785 * fringe.el (fringe-mode): Doc fix.
9786
9787 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9788
9789 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9790 is non-nil.
9791 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9792 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9793
9794 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9795
9796 * calendar/cal-dst.el (calendar-current-time-zone):
9797 Return calendar-current-time-zone-cache if non-nil.
9798
9799 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9800
9801 * progmodes/which-func.el (which-func-format):
9802 Add mouse-face. (Bug#11698)
9803
9804 2012-06-29 Leo Liu <sdl.web@gmail.com>
9805
9806 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9807
9808 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * minibuffer.el (minibuffer-confirm-exit-commands):
9811 Add completion-at-point (bug#11725).
9812
9813 2012-06-29 Glenn Morris <rgm@gnu.org>
9814
9815 * progmodes/f90.el (f90-font-lock-keywords-2):
9816 Add some preprocessor elements. (Bug#10499)
9817
9818 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9821 Use syntax-propertize (bug#11739).
9822
9823 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9824
9825 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9826
9827 2012-06-28 Julien Danjou <julien@danjou.info>
9828
9829 * term.el (term-handle-colors-array): Use a set of new faces to
9830 color the terminal. Also uses :inverse-video property.
9831 (term-default-fg-color): Set to nil by default, deprecate in favor
9832 of `term-face'.
9833 (term-default-bg-color): Set to nil by default, deprecate in favor
9834 of `term-face'.
9835 (term-current-face): Use `term-face' by default.
9836 (term-bold-attribute): Variable deleted.
9837
9838 2012-06-28 Glenn Morris <rgm@gnu.org>
9839
9840 * simple.el (completion-list-mode-finish):
9841 Don't use toggle-read-only. (Since completion-list-mode has
9842 a special mode-class, it wasn't doing anything extra anyway.)
9843
9844 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 Make inlining of other-mode interpreted functions work (bug#11799).
9847 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9848 (byte-compile): Use it to fix compilation of lexical-binding closures.
9849 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9850 function, if needed.
9851
9852 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * help-mode.el (help-make-xrefs): Don't just withstand
9855 cyclic-variable-indirection but any error in documentation-property.
9856
9857 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9858 memory use.
9859 * bindings.el (bindings--define-key): New function.
9860 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9861 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9862 * bindings.el: Use it to purecopy define-key bindings.
9863
9864 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9865
9866 * emacs-lisp/cl.el (flet): Mark obsolete.
9867 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9868 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9869 * progmodes/js.el (js-c-fill-paragraph):
9870 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9871 (ebrowse-switch-member-buffer-to-derived-class):
9872 * play/5x5.el (5x5-solver): Use cl-flet.
9873
9874 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9875 (cl--symbol-function): New macro.
9876 (cl--letf, cl--letf*): Use it.
9877
9878 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9879 Strip "toggle-" if any.
9880
9881 2012-06-27 Glenn Morris <rgm@gnu.org>
9882
9883 * info.el (Info-default-directory-list): Move here from paths.el.
9884 * paths.el: Remove file, which is now empty.
9885 * loadup.el: No longer load "paths".
9886
9887 * custom.el (custom-initialize-delay): Doc fix.
9888
9889 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9890 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9891 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9892 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9893 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9894 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9895 * eshell/eshell.el (eshell-defgroup): Remove alias.
9896
9897 2012-06-27 Chong Yidong <cyd@gnu.org>
9898
9899 * help.el (help-enable-auto-load): New variable.
9900
9901 * help-fns.el (help-fns--autoloaded-p): New function.
9902 (describe-function-1): Refer to a function as "autoloaded" if it
9903 was autoloaded at any time in the past. Perform autoloading if
9904 help-enable-auto-load is non-nil.
9905
9906 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9907
9908 * makefile.w32-in (compile, compile-always): Depend on
9909 update-subdirs, not on subdirs.el. Otherwise, several different
9910 sub-targets of 'bootstrap' running in parallel could
9911 simultaneously write to subdirs.el, producing a garbled file.
9912
9913 2012-06-26 Sam Steingold <sds@gnu.org>
9914
9915 * files.el (file-name-base): New convenience function.
9916 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9917 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9918 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9919 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9920 * textmodes/ispell.el, textmodes/reftex-ref.el:
9921 * textmodes/tex-mode.el: Use it.
9922 Did not touch cedet and org because they are maintained elsewhere.
9923
9924 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9925
9926 * calendar/calendar.el (calendar-exit): Don't try to delete or
9927 iconify last frame. See:
9928 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9929
9930 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9931
9932 * server.el (server-process-filter): Remember dir in the
9933 process's `server-client-directory' properties.
9934
9935 2012-06-24 Chong Yidong <cyd@gnu.org>
9936
9937 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9938 non-tag text.
9939
9940 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9941
9942 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9943
9944 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * help-fns.el (describe-variable): Don't croak when doc is not found.
9947 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9948 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9949 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9950 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9951 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9952 ((lambda ..) ..).
9953 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9954
9955 2012-06-23 Chong Yidong <cyd@gnu.org>
9956
9957 * info.el (Info-mouse-follow-link): Accept symbol values of
9958 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9959 (Info-fontify-node): Use Info-link-keymap for all navigation
9960 buttons, with link-args property to perform the desired action.
9961 (Info-link-keymap): Doc fix.
9962 (Info-next-link-keymap, Info-prev-link-keymap)
9963 (Info-up-link-keymap): Delete now-unused keymaps.
9964
9965 2012-06-23 Chong Yidong <cyd@gnu.org>
9966
9967 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9968
9969 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9970 system abbrevs.
9971
9972 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9973
9974 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9977 (bug#11719).
9978
9979 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9980 the requote function doesn't work properly (bug#11714).
9981
9982 2012-06-23 Glenn Morris <rgm@gnu.org>
9983
9984 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9985
9986 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 Further GV/CL cleanups.
9989 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9990 gv-expander.
9991 (gv--defun-declaration): New function.
9992 (defun-declarations-alist): Use it.
9993 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9994 (gv-place): Autoload.
9995 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9996 original definition of dotimes and dolist.
9997 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9998 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9999 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10000 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10001 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10002 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10003 to the function's definition.
10004 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10005 * window.el:
10006 * files.el:
10007 * faces.el:
10008 * env.el: Don't use CL.
10009
10010 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10011
10012 Support higher-resolution time stamps (Bug#9000).
10013
10014 * calendar/time-date.el (with-decoded-time-value): New arg
10015 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10016 (encode-time-value): New optional arg PICO. New type 3.
10017 (time-to-seconds) [!float-time]: Support the new picoseconds
10018 component if it's used.
10019 (seconds-to-time, time-subtract, time-add):
10020 Support ps-resolution time stamps as well.
10021
10022 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10023 (timerp): Timer vectors now have length 9, not 8.
10024 (timer--time): Support new-style (4-part) time stamps.
10025 (timer-next-integral-multiple-of-time): Time stamps now have
10026 picosecond resolution, so take a bit more care about rounding.
10027 (timer-relative-time, timer-inc-time): New optional arg psecs.
10028 (timer-set-time-with-usecs): Set psecs to 0.
10029 (timer--activate): Check psecs component, too.
10030
10031 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10032
10033 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10036 Move the non-essential binding to the post/pre-command-hook where it is
10037 more obviously correct.
10038
10039 * subr.el (read-passwd): Don't use a history at all.
10040 * savehist.el (savehist-save): Remove password saved accidentally
10041 because of the above bug.
10042
10043 2012-06-22 Bastien Guerry <bzg@gnu.org>
10044
10045 * files.el (toggle-read-only): Display a message telling whether
10046 the buffer is read-only or not (bug#11726).
10047
10048 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * emacs-lisp/gv.el: New file.
10051 * subr.el (push, pop): Extend to generalized variables.
10052 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10053 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10054 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10055 gv-define-simple-setter, and gv-define-expander.
10056 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10057 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10058 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10059 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10060 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10061 gv-letplace.
10062 (cl-defstruct): Don't define setf-method any more.
10063 * emacs-lisp/cl.el (flet): Don't autoload.
10064 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10065 (define-setf-expander, defsetf, define-modify-macro)
10066 (cl-struct-setf-expander): Move from cl-lib.el.
10067 * emacs-lisp/syntax.el:
10068 * emacs-lisp/ewoc.el:
10069 * emacs-lisp/smie.el:
10070 * emacs-lisp/cconv.el:
10071 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10072 (timer--time): Use gv-define-simple-setter.
10073 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10074 to avoid coding-system problems in subr.el. Adjust all users.
10075 (macroexp--maxsize, macroexp-small-p): New functions.
10076 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10077 * scroll-bar.el (scroll-bar-mode):
10078 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10079 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10080 * winner.el (winner-configuration, winner-make-point-alist)
10081 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10082 * files.el (locate-file-completion-table): Avoid list*.
10083
10084 2012-06-22 Chong Yidong <cyd@gnu.org>
10085
10086 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10087 (dired-create-files): Doc fix (Bug#11329).
10088 (dired-do-copy): Doc fix (Bug#11334).
10089 (dired-mark-read-string): Doc fix (Bug#11553).
10090
10091 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10092 Doc fix (Bug#11326).
10093 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10094 (dired-dwim-target): Doc fix.
10095
10096 * wdired.el (wdired-mode): Doc fix.
10097
10098 2012-06-22 Glenn Morris <rgm@gnu.org>
10099
10100 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10101 (pcmpl-rpm-cache-stamp-file): New constant.
10102 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10103 (pcmpl-rpm-packages): Optionally cache list of packages.
10104
10105 * pcmpl-rpm.el (pcmpl-rpm): New group.
10106 (pcmpl-rpm-query-options): New option.
10107 (pcmpl-rpm-packages): No need to inline it.
10108 Use pcmpl-rpm-query-options.
10109
10110 * calendar/calendar.el (calendar-in-read-only-buffer):
10111 Avoid some needless mode changes.
10112
10113 2012-06-21 Chong Yidong <cyd@gnu.org>
10114
10115 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10116 (desktop-path): Remove . from the default value (Bug#10977).
10117 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10118
10119 2012-06-20 Chong Yidong <cyd@gnu.org>
10120
10121 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10122
10123 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10124
10125 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10126 (bug#11201).
10127
10128 2012-06-20 Chong Yidong <cyd@gnu.org>
10129
10130 * term.el (term-window-width): Handle the case of a missing right
10131 fringe (Bug#8837).
10132 (term-check-size): Use window-text-height (Bug#5445).
10133 (term-mode): Use define-derived-mode. Minor cleanups.
10134 Set font-lock-defaults (Bug#7692).
10135 (term-move-columns, term-insert-char, term-emulate-terminal)
10136 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10137
10138 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10139
10140 * net/ange-ftp.el (ange-ftp-get-passwd):
10141 Bind `enable-recursive-minibuffers'.
10142 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10143
10144 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10145
10146 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10147
10148 2012-06-19 Glenn Morris <rgm@gnu.org>
10149
10150 * progmodes/python.el (python-mode): Derive from prog-mode.
10151
10152 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10153
10154 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10155 (edt-user-menu-bar-update-buffers): New functions.
10156 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10157
10158 2012-06-19 Chong Yidong <cyd@gnu.org>
10159
10160 * subr.el (with-selected-window): Preserve the selected window's
10161 terminal's top-frame (Bug#4702).
10162
10163 * window.el (save-selected-window): Likewise.
10164
10165 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * progmodes/python.el (python-rx-constituents): Move backquote.
10168 (python-skeleton-define, python-define-auxiliary-skeleton):
10169 Use `declare'.
10170
10171 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10172
10173 * minibuffer.el (read-file-name-default): Revert the patch from
10174 2012-06-17.
10175
10176 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10179 (pcase--u1, pcase--q1): Don't use apply-partially.
10180
10181 2012-06-18 Glenn Morris <rgm@gnu.org>
10182
10183 * progmodes/python.el (python-proc, python-buffer)
10184 (python-send-receive, python-send-string): Fix obsolete versions.
10185
10186 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10187
10188 * window.el (special-display-p): Completely remove stringp
10189 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10190
10191 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10192
10193 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10194
10195 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10196
10197 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10198 * net/tramp-sh.el (tramp-maybe-open-connection):
10199 Throw if `non-essential' is non-nil.
10200
10201 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10202
10203 * window.el (special-display-p): Signal an error if BUFFER-NAME
10204 is not a string (Bug#11713).
10205
10206 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10207
10208 * progmodes/python.el (python-info-beginning-of-backslash):
10209 Rename from python-info-beginning-of-backlash, as a spelling fix.
10210
10211 2012-06-17 Chong Yidong <cyd@gnu.org>
10212
10213 * term.el (term-emulate-terminal): If term-check-size is called,
10214 move point to the process mark without resetting point (Bug#4635).
10215
10216 2012-06-17 Glenn Morris <rgm@gnu.org>
10217
10218 * international/mule-cmds.el (mule-menu-keymap)
10219 (set-language-environment, set-locale-environment): Doc tweaks.
10220
10221 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10222
10223 * cus-face.el (custom-face-attributes): Add wave-style underline
10224 attribute.
10225 * faces.el (set-face-attribute): Update docstring to describe
10226 wave-style underline attribute.
10227
10228 2012-06-16 Chong Yidong <cyd@gnu.org>
10229
10230 * term/xterm.el (terminal-init-xterm): Discard input before
10231 querying background mode (Bug#10959).
10232
10233 2012-06-16 Stefan Merten <smerten@oekonux.de>
10234
10235 * textmodes/rst.el: Added and corrected some comments.
10236 (rst-re-alist-def): Improve symbol syntax.
10237 (rst-mode-syntax-table): Correct syntax entries.
10238 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10239 (rst-official-version, rst-official-cvs-rev): Update version
10240 information.
10241
10242 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10243
10244 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10245 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10246
10247 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10248
10249 * progmodes/python.el: New python.el merge.
10250 (python-guess-indent): Obsolete var.
10251 (python-indent-guess-indent-offset): New defcustom.
10252 (python-indent): Obsolete var.
10253 (python-indent-offset): New defcustom.
10254 (python-python-command, python-jython-command): Delete var.
10255 (python-shell-interpreter): New defcustom.
10256 (python-pdbtrack-do-tracking-p): Delete var.
10257 (python-pdbtrack-activate): New defcustom.
10258 (python-use-skeletons): Obsolete var.
10259 (python-skeleton-autoinsert): New defcustom.
10260 (inferior-python-filter-regexp, python-continuation-offset)
10261 (python-honour-comment-indentation, python-indent-string-contents)
10262 (python-jython-packages, python-mode-hook)
10263 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10264 (python-shell-prompt-alist)
10265 (python-source-modes): Delete defcustoms.
10266 (python-check-buffer-name, python-eldoc-setup-code)
10267 (python-eldoc-string-code, python-ffap-setup-code)
10268 (python-ffap-string-code, python-fill-comment-function)
10269 (python-fill-decorator-function, python-fill-paren-function)
10270 (python-fill-string-function, python-imenu-include-defun-type)
10271 (python-imenu-make-tree, python-imenu-subtree-root-label)
10272 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10273 (python-shell-compilation-regexp-alist)
10274 (python-shell-completion-module-string-code)
10275 (python-shell-completion-pdb-string-code)
10276 (python-shell-completion-setup-code)
10277 (python-shell-completion-string-code)
10278 (python-shell-enable-font-lock, python-shell-exec-path)
10279 (python-shell-extra-pythonpaths)
10280 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10281 (python-shell-process-environment)
10282 (python-shell-prompt-block-regexp)
10283 (python-shell-prompt-output-regexp)
10284 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10285 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10286 (python-shell-virtualenv-path): New defcustoms.
10287 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10288 (inferior-python-mode-syntax-table, python--prompt-regexp)
10289 (python-buffer, python-command python-python-command)
10290 (python-default-template, python-imports, python-indent-index)
10291 (python-indent-list, python-indent-list-length)
10292 (python-mode-running, python-pdbtrack-is-tracking-p)
10293 (python-preoutput-continuation, python-preoutput-leftover)
10294 (python-preoutput-result, python-preoutput-skip-next-prompt)
10295 (python-prev-dir/file, python-recursing)
10296 (python-saved-check-command, python-version-checked)
10297 (python-which-func-length-limit)
10298 (view-return-to-alist): Delete vars.
10299 (python-check-custom-command, python-dotty-syntax-table)
10300 (python-imenu-index-alist, python-indent-current-level)
10301 (python-indent-dedenters, python-indent-levels)
10302 (python-nav-beginning-of-defun-regexp)
10303 (python-nav-list-defun-positions-cache)
10304 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10305 (python-shell-internal-buffer)
10306 (python-skeleton-available): New vars.
10307 (def-python-skeleton): Delete macro.
10308 (python-skeleton-define): New macro.
10309 (python-define-auxiliary-skeleton, python-rx): New macros.
10310 (python-insert-class): Delete command.
10311 (python-skeleton-class): New command.
10312 (python-insert-def): Delete command.
10313 (python-skeleton-def): New command.
10314 (python-insert-for): Delete command.
10315 (python-skeleton-for): New command.
10316 (python-insert-if): Delete command.
10317 (python-skeleton-if): New command.
10318 (python-insert-try/except, python-insert-try/finally): Delete commands.
10319 (python-skeleton-try): New command.
10320 (python-insert-while): Delete command.
10321 (python-skeleton-while): New command.
10322 (python-backspace): Delete command.
10323 (python-indent-dedent-line-backspace): New command.
10324 (python-electric-colon): Delete command.
10325 (python-indent-electric-colon): New command.
10326 (python-guess-indent): Delete command.
10327 (python-indent-guess-indent-offset): New command.
10328 (python-shift-left): Delete command.
10329 (python-indent-shift-left): New command.
10330 (python-shift-right): Delete command.
10331 (python-indent-shift-right): New command.
10332 (python-find-function): Delete command.
10333 (python-nav-jump-to-defun): New command.
10334 (python-next-statement): Delete command.
10335 (python-nav-forward-sentence): New command.
10336 (python-previous-statement): Delete command.
10337 (python-nav-backward-sentence): New command.
10338 (python-fill-paragraph): Delete command.
10339 (python-fill-paragraph-function): New command.
10340 (python-send-buffer): Delete command.
10341 (python-shell-send-buffer): New command.
10342 (python-send-defun): Delete command.
10343 (python-shell-send-defun): New command.
10344 (python-send-region, python-send-region-and-go): Delete commands.
10345 (python-shell-send-region)
10346 (python-shell-switch-to-shell): New commands.
10347 (python-send-string): Delete command.
10348 (python-shell-send-string): New command.
10349 (python-switch-to-python): Delete command.
10350 (python-shell-switch-to-shell): New command.
10351 (python-describe-symbol): Delete command.
10352 (python-eldoc-at-point): New command.
10353 (python--set-prompt-regexp, python-args-to-list)
10354 (python-after-info-look, python-check-version)
10355 (python-check-comint-prompt, python-find-imports)
10356 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10357 (python-unload-function, python-expand-template)
10358 (python-maybe-jython, python-preoutput-filter)
10359 (python-pdbtrack-get-source-buffer)
10360 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10361 (python-pdbtrack-toggle-stack-tracking)
10362 (python-pdbtrack-track-stack-file, python-initial-text)
10363 (python-first-word, python-comment-line-p, python-send-command)
10364 (python-setup-brm, python-sentinel, python-set-proc)
10365 (python-skip-out, python-input-filter, python-outdent-p)
10366 (python-outline-level, python-backslash-continuation-line-p)
10367 (python-end-of-block, python-end-of-statement, python-mark-block)
10368 (python-beginning-of-block, python-beginning-of-statement)
10369 (python-blank-line-p, python-beginning-of-string)
10370 (python-open-block-statement-p): Delete functions.
10371 (python-indent-line, python-indent-line-1): Delete functions.
10372 (python-indent-line): New function.
10373 (python-indentation-levels): Delete function.
10374 (python-indent-calculate-levels): New function.
10375 (python-proc): Delete function.
10376 (python-shell-get-process): New function.
10377 (python-send-receive): Delete function.
10378 (python-shell-send-string-no-output): New function.
10379 (python-module-path): Delete function.
10380 (python-ffap-module-path): New function.
10381 (python-completion-at-point)
10382 (python-symbol-completions): Delete functions.
10383 (python-completion-complete-at-point): New function.
10384 (python-load-file): Delete function.
10385 (python-shell-send-file): New function.
10386 (python-calculate-indentation): Delete function.
10387 (python-indent-calculate-indentation): New function.
10388 (python-skip-comments/blanks): Delete function.
10389 (python-util-forward-comment): New function.
10390 (python-continuation-line-p): Delete function.
10391 (python-info-continuation-line-p): New function.
10392 (python-which-func, python-current-defun): Delete function.
10393 (python-info-current-defun): New function.
10394 (python-beginning-of-defun): Delete function.
10395 (python-nav-beginning-of-defun): New function.
10396 (python-close-block-statement-p)
10397 (python-block-end-p): Delete function.
10398 (python-info-closing-block): New function.
10399 (python-comint-output-filter-function)
10400 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10401 (python-fill-comment, python-fill-decorator, python-fill-paren)
10402 (python-fill-string, python-imenu-make-element-tree)
10403 (python-imenu-make-tree, python-imenu-tree-assoc)
10404 (python-indent-context, python-indent-dedent-line)
10405 (python-indent-line-function)
10406 (python-indent-post-self-insert-function)
10407 (python-indent-toggle-levels)
10408 (python-info-assignment-continuation-line-p)
10409 (python-info-beginning-of-backlash)
10410 (python-info-block-continuation-line-p)
10411 (python-info-closing-block-message)
10412 (python-info-line-ends-backslash-p)
10413 (python-info-looking-at-beginning-of-defun)
10414 (python-info-ppss-context, python-info-ppss-context-type)
10415 (python-nav-list-defun-positions, python-nav-read-defun)
10416 (python-nav-sentence-end, python-nav-sentence-start)
10417 (python-pdbtrack-comint-output-filter-function)
10418 (python-pdbtrack-set-tracked-buffer)
10419 (python-shell-calculate-exec-path)
10420 (python-shell-calculate-process-environment)
10421 (python-shell-completion--do-completion-at-point)
10422 (python-shell-completion--get-completions)
10423 (python-shell-completion-complete-at-point)
10424 (python-shell-completion-complete-or-indent)
10425 (python-shell-get-or-create-process)
10426 (python-shell-get-process-name)
10427 (python-shell-internal-get-or-create-process)
10428 (python-shell-internal-get-process-name)
10429 (python-shell-internal-send-string, python-shell-make-comint)
10430 (python-shell-parse-command, python-shell-send-setup-code)
10431 (python-skeleton-add-menu-items)
10432 (python-util-clone-local-variables, python-util-position)
10433 (run-python-internal, python-indentation-levels)
10434 (python-nav-beginning-of-defun)
10435 (python-completion-complete-at-point): New functions.
10436 (run-python): Change arguments. New API requirements.
10437
10438 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10441 (bug#11649).
10442
10443 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10444 (macroexp--expand-all): Use it.
10445
10446 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10447 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10448 Use `cl-function' instead.
10449
10450 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10453 Suggested by Stefan Monnier while discussing bug#11657.
10454
10455 2012-06-14 Sam Steingold <sds@gnu.org>
10456
10457 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10458
10459 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10460
10461 * play/doctor.el (doctor-doc): Remove parameter and use
10462 doctor-sent instead of sent.
10463 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10464
10465 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * files.el: Require cl-lib.
10468 (file-name-non-special): Replace case -> cl-case.
10469
10470 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10471
10472 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10473 mapping from #' to function*.
10474
10475 2012-06-13 Chong Yidong <cyd@gnu.org>
10476
10477 * mouse.el (mouse-drag-track): Do not set the mark if the user
10478 releases the mouse without selecting anything (Bug#11588).
10479
10480 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10483 as well (bug#11646).
10484
10485 * loadup.el: Count byte-code functions as well.
10486
10487 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10488 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10489
10490 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10491 (bug#11649). Add cl-defun and cl-defmacro.
10492
10493 2012-06-13 Drew Adams <drew.adams@oracle.com>
10494
10495 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10496 Fix last change.
10497
10498 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10501 Otherwise, it blocks in batch mode.
10502
10503 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10504
10505 * help-mode.el (bookmark-make-record-default): Declare.
10506
10507 2012-06-13 Chong Yidong <cyd@gnu.org>
10508
10509 * emacs-lisp/package.el (list-packages): Compute a list of
10510 packages that are newly-available since the last list-packages
10511 invocation.
10512 (package-menu--new-package-list): New var.
10513 (package-menu--generate, package-menu--print-info)
10514 (package-menu--status-predicate, package-menu-mark-install):
10515 Handle new status label "new".
10516
10517 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10518
10519 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10520 conversion to backquotes.
10521
10522 2012-06-12 Chong Yidong <cyd@gnu.org>
10523
10524 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10525 Rename from gud-inhibit-global-bindings.
10526
10527 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10528
10529 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10530 hook from nxml-glyph-set-hook.
10531
10532 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10533 declaration.
10534
10535 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10536
10537 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10538 Convert to defcustom.
10539
10540 2012-06-12 Drew Adams <drew.adams@oracle.com>
10541
10542 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10543 New functions.
10544 (help-mode): Use them.
10545
10546 2012-06-11 Glenn Morris <rgm@gnu.org>
10547
10548 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10549 Use preprocessor face for directives.
10550 (fortran-directive-re): Doc fix.
10551
10552 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10555 conversion to backquotes (bug#11652).
10556
10557 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10558 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10559 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10560 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10561 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10562 (cl-ninth, cl-tenth): Mark them as inlinable.
10563 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10564 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10565 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10566 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10567 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10568 (cl-list*, cl-adjoin): Don't put an autoload manually.
10569 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10570 (cl--compiler-macro-list*): Add autoload cookie.
10571 (cl--compiler-macro-cXXr): New function.
10572
10573 * help-fns.el (help-fns--compiler-macro): New function extracted from
10574 describe-function-1; follow aliases and use `compiler-macro' property.
10575 (describe-function-1): Use it.
10576
10577 2012-06-11 Chong Yidong <cyd@gnu.org>
10578
10579 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10580 is uninstalled, if imagemagick is installed.
10581
10582 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 * emacs-lisp/cl-lib.el: Use lexical-binding.
10585 (cl-map-extents, cl-maclisp-member): Remove.
10586 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10587 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10588 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10589 * emacs-lisp/cl-extra.el: Use lexical-binding.
10590 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10591 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10592 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10593 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10594 * emacs-lisp/cl-seq.el: Use lexical-binding.
10595 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10596 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10597 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10598 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10599 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10600 CL's internals.
10601
10602 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10603
10604 Sync with Tramp 2.2.6-pre.
10605
10606 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10607 `print-length' and `print-level' to nil, in order to avoid
10608 truncation. Reported by Christopher Schmidt
10609 <christopher@ristopher.com>.
10610
10611 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10612
10613 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10614 New defmacro.
10615 (tramp-compat-copy-directory): Add optional argument
10616 COPY-CONTENTS. It is not handled yet.
10617
10618 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10619 (tramp-ftp-file-name-p): Simplify.
10620
10621 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10622 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10623 connection vector.
10624
10625 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10626 (tramp-methods): Do not use `tramp-password-end-of-line'.
10627 (tramp-completion-function-alist-putty): Handle UNIX case.
10628 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10629 (tramp-do-file-attributes-with-stat)
10630 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10631 gid as real numbers. They could run out of integer range on cygwin.
10632 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10633 (tramp-sh-handle-expand-file-name): Handle hops.
10634 (tramp-open-connection-setup-interactive-shell):
10635 Use `tramp-cleanup'. Move check for busyboxes ...
10636 (tramp-find-shell): ... here. Simplify implementation.
10637 Set "remote-shell" property also for alternative shells.
10638 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10639 If failing, a regular file would be written otherwise.
10640 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10641 (tramp-find-inline-encoding): Cache the coding commands in the
10642 process cache. Apply test command on the remote side, if defined.
10643 (tramp-find-inline-compress): Cache the compress commands in the
10644 process cache.
10645 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10646 when requested. Handle hops.
10647 (tramp-current-connection): New defvar.
10648 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10649 Throw `suppress', if there was a failed connection shortly before.
10650 Handle user interrupt. (Bug#10187)
10651 (tramp-get-inline-compress, tramp-get-inline-coding):
10652 Read connection properties from the process cache.
10653
10654 * net/tramp-smb.el (tramp-smb-server-version)
10655 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10656 New defconsts.
10657 (tramp-smb-prompt): Extend for powershell prompt.
10658 (tramp-smb-file-name-handler-alist): Add handlers for
10659 `process-file', `shell-command' and `start-file-process'.
10660 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10661 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10662 (tramp-smb-file-name-p): Simplify.
10663 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10664 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10665 (tramp-smb-shell-quote-argument): New defuns.
10666 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10667 Implement using "tar". By this, time-stamps are preserved.
10668 (tramp-smb-handle-copy-file): Handle also the case of directories.
10669 (tramp-smb-do-file-attributes-with-stat)
10670 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10671 Use `tramp-get-connection-buffer').
10672 (tramp-smb-handle-rename-file): Use "rename", when source and
10673 target are on the same share.
10674 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10675 Use `tramp-smb-server-version'.
10676 (tramp-smb-wait-for-output): Remove prompt.
10677
10678 * net/tramp.el (top): Require 'cl.
10679 (tramp-methods, tramp-rsh-end-of-line):
10680 Remove `tramp-password-end-of-line' from docstring.
10681 (tramp-save-ad-hoc-proxies): New defcustom.
10682 (tramp-completion-function-alist): Adapt docstring.
10683 (tramp-default-password-end-of-line): Remove defcustom.
10684 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10685 (tramp-user-regexp, tramp-file-name-regexp-unified)
10686 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10687 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10688 (tramp-remote-file-name-spec-regexp): New defconst.
10689 (tramp-file-name-structure): Extend structure for hops.
10690 (tramp-get-method-parameter): Move up.
10691 (tramp-file-name-p, tramp-dissect-file-name)
10692 (with-parsed-tramp-file-name): Handle hops.
10693 (tramp-file-name-hop): New defun.
10694 (tramp-make-tramp-file-name): New optional arg HOP.
10695 (tramp-message-show-progress-reporter-message): New defvar.
10696 (tramp-with-progress-reporter): Use it. We cannot use
10697 `tramp-message-show-message' here, because this suppresses also
10698 error buffers.
10699 (tramp-error-with-buffer): Suppress buffer view, if
10700 `tramp-message-show-message' is nil.
10701 Use `tramp-get-connection-buffer'.
10702 (tramp-cleanup): New defun.
10703 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10704 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10705 an error unchanged.
10706 (tramp-completion-handle-file-name-all-completions): Handle hops.
10707 Fix an error when called from ido.
10708 (tramp-completion-dissect-file-name): Use better local variable
10709 name. Add hop to the vector.
10710 (tramp-handle-insert-file-contents): Use progress-reporter for the
10711 whole scenario.
10712 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10713 to `t'.
10714 (tramp-check-for-regexp): Simplify search.
10715 (tramp-enter-password): Remove it. Move implementation ...
10716 (tramp-action-password): ... here.
10717 (tramp-mode-string-to-int, tramp-local-host-p)
10718 (tramp-make-tramp-temp-file, tramp-read-passwd)
10719 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10720 Set tramp-autoload cookie.
10721
10722 * net/trampver.el: Update release number.
10723
10724 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10725 Michael Albinus <michael.albinus@gmx.de>
10726
10727 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10728 (tramp-parse-group, tramp-parse-file)
10729 (tramp-parse-shostkeys-sknownhosts): New defuns.
10730 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10731 (tramp-parse-shosts-group, tramp-parse-sconfig)
10732 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10733 (tramp-parse-sknownhosts, tramp-parse-hosts)
10734 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10735 Use them.
10736 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10737 (tramp-parse-putty-group): Don't narrow.
10738 (tramp-parse-putty): Make a loop.
10739 (tramp-file-name-handler): Catch the `suppress' signal.
10740
10741 2012-06-11 Chong Yidong <cyd@gnu.org>
10742
10743 * image.el (imagemagick-register-types): Put the ImageMagick entry
10744 at the end of image-type-file-name-regexps.
10745
10746 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10747
10748 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10749 (pcase, pcase-let*, pcase-dolist): Use them.
10750
10751 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * emacs-lisp/pcase.el (pcase--let*): New function.
10754 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10755 (pcase--expand): Use macroexp-let².
10756
10757 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10758
10759 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10760 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10761 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10762 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10763 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10764 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10765
10766 2012-06-10 Glenn Morris <rgm@gnu.org>
10767
10768 * mail/rmail.el (rmail-yank-current-message): Leave point at
10769 correct position. (Bug#11660)
10770
10771 2012-06-10 Chong Yidong <cyd@gnu.org>
10772
10773 * allout-widgets.el: Fix code header.
10774
10775 2012-06-10 Chong Yidong <cyd@gnu.org>
10776
10777 * cus-edit.el (customize-changed-options-previous-release):
10778 Bump to 24.1.
10779
10780 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10781
10782 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10783
10784 2012-06-09 Chong Yidong <cyd@gnu.org>
10785
10786 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10787
10788 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10789
10790 * window.el (special-display-popup-frame): Don't use
10791 window--display-buffer (Bug#11651).
10792
10793 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10794
10795 Fix parallel builds: make sure loaddefs.el is not being written
10796 while Lisp files are compiled.
10797 (compile): Don't depend on 'mh-autoloads'.
10798 (compile-CMD, compile-SH): Depend on 'autoloads'.
10799 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10800
10801 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10802
10803 2012-06-09 Chong Yidong <cyd@gnu.org>
10804
10805 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10806 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10807 Doc fixes (Bug#11225).
10808
10809 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10812 a function if there's a clear indication that it has a compiler-macro.
10813 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10814 (macro-declarations-alist): Add arglist to declaration functions.
10815 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10816 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10817 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10818 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10819 Also add autoload to find the compiler macro.
10820 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10821 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10822 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10823 (cl--compiler-macro-get): New functions, replacing calls to
10824 cl-define-compiler-macro.
10825 (cl-typep) [compiler-macro]: Use macroexp-let².
10826
10827 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10828
10829 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10830 string properly, fixes Bug#11473.
10831
10832 2012-06-08 Chong Yidong <cyd@gnu.org>
10833
10834 * faces.el (set-face-attribute): Doc fix.
10835 (modify-face): Don't use :bold and :italic.
10836 (error, warning, success): Tweak definitions.
10837
10838 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10839 (custom-modified, custom-set, custom-changed, custom-themed)
10840 (custom-saved, custom-button, custom-button-mouse)
10841 (custom-button-pressed, custom-state, custom-comment-tag)
10842 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10843 (custom-group-subtitle): Use new-style face specs.
10844 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10845 (custom-set-face, custom-changed-face, custom-saved-face)
10846 (custom-button-face, custom-button-pressed-face)
10847 (custom-documentation-face, custom-state-face)
10848 (custom-comment-face, custom-comment-tag-face)
10849 (custom-variable-tag-face, custom-variable-button-face)
10850 (custom-face-tag-face, custom-group-tag-face-1)
10851 (custom-group-tag-face): Remove obsolete face alias.
10852
10853 * epa.el (epa-validity-high, epa-validity-medium)
10854 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10855 (epa-field-name, epa-field-body):
10856 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10857 (font-lock-keyword-face, font-lock-builtin-face)
10858 (font-lock-function-name-face, font-lock-variable-name-face)
10859 (font-lock-type-face, font-lock-constant-face):
10860 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10861 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10862 * speedbar.el (speedbar-button-face, speedbar-file-face)
10863 (speedbar-directory-face, speedbar-tag-face)
10864 (speedbar-selected-face, speedbar-highlight-face)
10865 (speedbar-separator-face):
10866 * whitespace.el (whitespace-newline, whitespace-space)
10867 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10868 (whitespace-line, whitespace-space-before-tab)
10869 (whitespace-space-after-tab, whitespace-indentation)
10870 (whitespace-empty):
10871 * emulation/cua-base.el (cua-global-mark):
10872 * eshell/em-prompt.el (eshell-prompt):
10873 * net/newst-plainview.el (newsticker-new-item-face)
10874 (newsticker-old-item-face, newsticker-immortal-item-face)
10875 (newsticker-obsolete-item-face, newsticker-date-face)
10876 (newsticker-statistics-face, newsticker-default-face):
10877 * net/newst-reader.el (newsticker-feed-face)
10878 (newsticker-extra-face, newsticker-enclosure-face):
10879 * net/newst-treeview.el (newsticker-treeview-face)
10880 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10881 (newsticker-treeview-immortal-face)
10882 (newsticker-treeview-obsolete-face)
10883 (newsticker-treeview-selection-face):
10884 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10885 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10886 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10887 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10888 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10889 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10890 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10891 (mpuz-text):
10892 * progmodes/vera-mode.el (vera-font-lock-number)
10893 (vera-font-lock-function, vera-font-lock-interface):
10894 * textmodes/table.el (table-cell): Use new-style face specs, and
10895 don't use the old :bold and :italic attributes.
10896
10897 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10898 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10899 (ebrowse-member-class, ebrowse-progress): Likewise.
10900 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10901 (ebrowse-file-name-face, ebrowse-default-face)
10902 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10903 (ebrowse-progress-face): Remove obsolete faces.
10904
10905 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10906 Inherit from error and warning faces respectively.
10907
10908 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10909 Likewise.
10910 (flyspell-incorrect-face, flyspell-duplicate-face):
10911 Remove obsolete aliases.
10912
10913 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10914
10915 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10916 Avoid infloop.
10917
10918 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * startup.el (argv, argi): Make lexically scoped.
10921 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10922 * emacs-lisp/cl-macs.el: Use lexical-binding.
10923 Rename cl-bind-* to cl--bind-*.
10924 * files.el: Don't require `cl' since it doesn't use it.
10925 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10926
10927 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10928
10929 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10930 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10931 instead of calling external sort utility.
10932 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10933
10934 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10935
10936 * descr-text.el (describe-char): Mention how to insert the
10937 character, if the current input method doesn't support it.
10938 See the discussion in this thread for the details:
10939 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10940
10941 2012-06-08 Sam Steingold <sds@gnu.org>
10942
10943 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10944 XF86Back to previous-buffer.
10945 (minibuffer-local-map): Bind them to next-history-element and
10946 previous-history-element respectively.
10947 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10948 help-go-back respectively.
10949 * info.el (Info-mode-map): Bind them to Info-history-forward and
10950 Info-history-back respectively.
10951 These are the keys next to Up on the ThinkPad keyboard.
10952
10953 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10956 * emacs-lisp/cl-macs.el: Provide itself.
10957 (cl--labels-convert-cache): New var.
10958 (cl--labels-convert): New function.
10959 (cl-flet, cl-labels): New implementation with new semantics, relying on
10960 lexical-binding.
10961 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10962 (cl-closure-vars, cl--function-convert-cache)
10963 (cl--function-convert): Move from cl-macs.el.
10964 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10965 rename by removing the "cl-" prefix.
10966 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10967
10968 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10971 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10972 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10973 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10974 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10975 (cl-hash-table-count): Add old compatibility aliases.
10976
10977 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10978 Use macroexpand-all-environment instead.
10979 (cl--old-macroexpand): New var.
10980 (cl--sm-macroexpand): New function.
10981 (cl-symbol-macrolet): Use it during macro expansion.
10982 (cl--function-convert-cache): New var.
10983 (cl--function-convert): New function, extracted from
10984 cl-macroexpand-all.
10985 (cl-lexical-let): Use it.
10986
10987 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10988 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10989 (cl-member): Remove old alias.
10990
10991 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10992 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10993 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10994 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10995 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10996 (cl-macroexpand-cmacs): Remove var.
10997 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10998 Use macroexpand-all instead.
10999
11000 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11003 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11004 (macroexp-copyable-p): New functions and macros.
11005 * emacs-lisp/edebug.el (edebug-unwrap):
11006 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11007 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11008 (pcase--let*): Remove.
11009 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11010 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11011 macroexp-const-p instead.
11012 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11013
11014 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11015 instead of "cl-" for internal definitions. Use macroexp-const-p.
11016 (cl-old-bc-file-form): Remove var.
11017 (cl-const-exprs-p): Remove fun.
11018 (cl-labels, cl-macrolet): Use backquote.
11019 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11020 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11021 (cl-define-setf-expander): Rename from cl-define-setf-method.
11022 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11023
11024 * international/mule-cmds.el: Don't require CL.
11025 (view-hello-file): Don't use `letf'.
11026
11027 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * tmm.el (tmm-prompt): Use string-prefix-p.
11030 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11031 (tmm-add-prompt): Use minibuffer-completion-help.
11032 (tmm-delete-map): Remove.
11033
11034 * subr.el (kbd): Make it its own function.
11035
11036 2012-06-07 Stefan Merten <smerten@oekonux.de>
11037
11038 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11039 Silence compiler warnings. Fix versions.
11040 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11041 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11042 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11043 (rst-package-emacs-version-alist): Correct Emacs version to
11044 represent major merge with upstream.
11045 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11046
11047 2012-06-06 Glenn Morris <rgm@gnu.org>
11048
11049 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11050 Only print environment variables if set.
11051
11052 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11055 (macroexp--cons): Rename from maybe-cons.
11056 (macroexp--accumulate): Rename from macroexp-accumulate.
11057 (macroexp--all-forms): Rename from macroexpand-all-forms.
11058 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11059 (macroexp--expand-all): Rename from macroexpand-all-1.
11060
11061 2012-06-06 Sam Steingold <sds@gnu.org>
11062
11063 * calendar/calendar.el (calendar-in-read-only-buffer):
11064 Call `special-mode' to enable the standard read-only keybindings.
11065
11066 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11067
11068 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11069 with "loading" messages (bug#11635).
11070
11071 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11072
11073 * files.el (enable-remote-dir-locals): New option.
11074 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11075
11076 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11077 Ensure, that the temp directory is local.
11078
11079 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11080 `temporary-file-directory'.
11081
11082 * progmodes/python.el (python-send-region): Ensure, that the
11083 temporary file is created also in the remote case.
11084
11085 2012-06-06 Glenn Morris <rgm@gnu.org>
11086
11087 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11088 (vc-rcs-update-changelog): Use it.
11089
11090 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11091
11092 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11093 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11094 (vc-sccs-diff): Replace use of the external vcdiff script.
11095
11096 2012-06-05 Glenn Morris <rgm@gnu.org>
11097
11098 * ledit.el: Move to obsolete/.
11099
11100 2012-06-05 Sam Steingold <sds@gnu.org>
11101
11102 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11103 patch (Bug#11140).
11104
11105 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * emacs-lisp/cust-print.el: Move to obsolete.
11108
11109 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11110 compiler-macro expansion.
11111
11112 Add native compiler-macro support.
11113 * emacs-lisp/macroexp.el (macroexpand-all-1):
11114 Support compiler-macros directly. Properly follow aliases and apply
11115 the compiler macros more thoroughly.
11116 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11117 macroexpand now properly follows aliases.
11118 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11119 (cl-compiler-macroexpand): Use new prop.
11120 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11121
11122 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11123
11124 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11125
11126 * window.el (get-lru-window, get-mru-window, get-largest-window):
11127 New argument NOT-SELECTED to avoid picking the selected window.
11128 (window--display-buffer-1, window--display-buffer-2): Replace by
11129 new function window--display-buffer
11130 (display-buffer-same-window, display-buffer-reuse-window)
11131 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11132 Use window--display-buffer.
11133 (display-buffer-use-some-window): Remove temporary dedication
11134 hack by calling get-lru-window and get-largest-window with
11135 NOT-SELECTED argument non-nil. Call window--display-buffer.
11136
11137 2012-06-05 Glenn Morris <rgm@gnu.org>
11138
11139 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11140 Replace external vcdiff script.
11141
11142 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11145
11146 2012-06-04 Chong Yidong <cyd@gnu.org>
11147
11148 * image.el (imagemagick-types-inhibit): Revert last change.
11149 Add INFO and M.
11150 (imagemagick-enabled-types): Remove CIN and EPS*.
11151
11152 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * emacs-lisp/cl-lib.el: Rename from cl.el.
11155 * emacs-lisp/cl.el: New compatibility file.
11156 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11157 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11158 to obey the "cl-" prefix.
11159 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11160
11161 2012-06-03 Glenn Morris <rgm@gnu.org>
11162
11163 * emacs-lisp/authors.el (authors-aliases): Addition.
11164
11165 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11166 Fix :version.
11167
11168 2012-06-03 Stefan Merten <smerten@oekonux.de>
11169
11170 * textmodes/rst.el: Add comments.
11171 (rst-transition, rst-adornment): New faces.
11172 (rst-adornment-faces-alist): Make default safe to reevaluate.
11173 Fixes
11174 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11175 Improve customization tags.
11176 (rst-define-level-faces): Clarify meaning.
11177
11178 2012-06-03 Chong Yidong <cyd@gnu.org>
11179
11180 * progmodes/compile.el (compilation-mode-line-fail)
11181 (compilation-mode-line-run, compilation-mode-line-exit):
11182 New faces.
11183 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11184
11185 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11186
11187 * progmodes/which-func.el (which-func-update-ediff-windows):
11188 New function. Use it in ediff-select-hook (Bug#11478).
11189
11190 2012-06-03 Chong Yidong <cyd@gnu.org>
11191
11192 * bindings.el: Remove explicit help text from format-mode-line.
11193 It is now supplied by mode-line-default-help-echo.
11194 (mode-line-front-space, mode-line-end-spaces)
11195 (mode-line-misc-info): New variables.
11196 (mode-line-modes, mode-line-position): Move the default value to
11197 the variable definition.
11198 (mode-line-default-help-echo): New defcustom.
11199 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11200 (mode-line-modified-help-echo): New functions.
11201 (mode-line-mule-info, mode-line-modified): Use them.
11202 (mode-line-eol-desc, propertized-buffer-identification):
11203 Consistency fixes for help text.
11204 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11205 set-buffer-file-coding-system (Bug#289).
11206 (mode-line-mule-info-help-echo): Update help text.
11207
11208 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * simple.el (execute-extended-command): Set real-this-command
11211 (bug#11506).
11212
11213 2012-06-02 Chong Yidong <cyd@gnu.org>
11214
11215 Remove incorrect uses of "modeline" in comments, docstrings, and
11216 function/variable names (Bug#10329).
11217
11218 * cus-edit.el (mode-line):
11219 * dframe.el (dframe-mouse-hscroll):
11220 * emacs-lisp/re-builder.el:
11221 * emacs-lisp/easy-mmode.el (define-minor-mode):
11222 * frame.el (set-frame-name):
11223 * help.el (lookup-minor-mode-from-indicator):
11224 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11225 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11226 (c-toggle-hungry-state):
11227 * progmodes/antlr-mode.el (antlr-language-alist):
11228 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11229 * progmodes/vhdl-mode.el (vhdl-mode):
11230 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11231 * term/ns-win.el (ns-face-at-pos):
11232 * term/sup-mouse.el (sup-mouse-report):
11233 * textmodes/flyspell.el (flyspell-mode-line-string):
11234 * textmodes/ispell.el (ispell-highlight-face):
11235 * textmodes/reftex-global.el:
11236 * vc/vc-arch.el (vc-arch-mode-line-string):
11237 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11238 * vc/vc-git.el (vc-git-mode-line-string):
11239 * vc/vc-hooks.el (vc-display-status)
11240 (vc-default-mode-line-string):
11241 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11242
11243 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11244
11245 * dired.el (dired-sort-set-mode-line): Rename from
11246 dired-sort-set-modeline. All callers changed.
11247
11248 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11249 eshell-status-in-modeline.
11250
11251 * foldout.el (foldout-mode-line-string): Rename from
11252 foldout-modeline-string. All callers changed.
11253 (foldout-update-mode-line): Rename from foldout-update-modeline.
11254
11255 * subr.el (redraw-modeline): Make into obsolete alias.
11256
11257 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11258 timeclock-modeline-display. Make old name an alias.
11259 (timeclock-update-mode-line): Likewise. All callers changed.
11260 (timeclock-mode-line-display): No need to check before using
11261 add-hook.
11262 (timeclock-relative, timeclock-day-over-hook)
11263 (timeclock-use-elapsed, timeclock-mode-string)
11264 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11265
11266 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11267 crisp-mode-modeline-string.
11268
11269 * play/solitaire.el (solitaire-build-mode-line): Rename from
11270 solitaire-build-modeline. All callers changed.
11271
11272 * play/zone.el (zone-hiding-mode-line): Rename from
11273 zone-hiding-modeline. All callers changed.
11274 (zone): Remove unusued `modeline-hidden-level' property.
11275
11276 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11277 xscheme-modeline-initialize. All callers changed.
11278
11279 * strokes.el (strokes-lighter): Rename from
11280 strokes-modeline-string.
11281
11282 * textmodes/sgml-mode.el (html-face-tag-alist)
11283 (html-tag-face-alist): Use mode-line face instead of obsolete
11284 alias modeline.
11285
11286 2012-06-02 Stefan Merten <smerten@oekonux.de>
11287
11288 * textmodes/rst.el: Always require `cl'.
11289 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11290
11291 2012-06-02 Chong Yidong <cyd@gnu.org>
11292
11293 * image.el (imagemagick-enabled-types): Rename from
11294 imagemagick-types-enable. Add many more types.
11295 (imagemagick-types-inhibit): Change default to nil.
11296 (imagemagick-filter-types): Caller changed.
11297
11298 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11299
11300 * emacs-lisp/cl-macs.el: Use backquotes.
11301 (cl-transform-function-property): Use eval-and-compile rather than
11302 abusing `require'.
11303 (defstruct): Use declare-function instead of with-no-warnings.
11304
11305 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11306 (byte-compile-output-docform): Re-add the print-circle bindings.
11307 (byte-compile-fix-header): Use #$ just because it's shorter.
11308 (byte-compile-output-file-form): Remove defun/defmacro.
11309
11310 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11311
11312 * simple.el (choose-completion): Remove now obsolete binding for
11313 owindow.
11314
11315 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11316
11317 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11318 in order to avoid "Stack overflow in regexp matcher".
11319
11320 2012-05-31 Glenn Morris <rgm@gnu.org>
11321
11322 * image.el: For clarity, call imagemagick-register-types at
11323 top-level, rather than relying on a custom :initialize.
11324 (imagemagick-types-enable): New option. (Bug#11557)
11325 (imagemagick-filter-types): New function. (Bug#7406)
11326 (imagemagick-register-types): Use imagemagick-filter-types.
11327 If disabling support, remove elements altogether rather
11328 than using an impossible regexp.
11329 (imagemagick-types-inhibit): Give it the default init function.
11330
11331 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11334 Handle arbitrary file name lengths (Bug#11585).
11335
11336 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11337
11338 * desktop.el (desktop-read): Clear previous and next buffers for
11339 all windows and bury *Messages* buffer (bug#11556).
11340
11341 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 Add `declare' for `defun'. Align `defmacro's with it.
11344 * emacs-lisp/easy-mmode.el (define-minor-mode)
11345 (define-globalized-minor-mode): Don't autoload the var definitions.
11346 * emacs-lisp/byte-run.el: Use lexical-binding.
11347 (defun-declarations-alist, macro-declarations-alist): New vars.
11348 (defmacro, defun): Use them.
11349 (make-obsolete, define-obsolete-function-alias)
11350 (make-obsolete-variable, define-obsolete-variable-alias):
11351 Use `declare'.
11352 (macro-declaration-function): Mark obsolete.
11353 * emacs-lisp/autoload.el: Use lexical-binding.
11354 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11355
11356 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11357
11358 * textmodes/ispell.el (ispell-with-no-warnings):
11359 Define as a macro.
11360 (ispell-kill-ispell, ispell-change-dictionary):
11361 Use `called-interactively-p' for Emacs instead of obsolete
11362 `interactive-p'.
11363
11364 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11367 (macro-declaration-function): Move var from C code.
11368 (macro-declaration-function): Define function with defalias.
11369 * emacs-lisp/macroexp.el (macroexpand-all-1):
11370 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11371 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11372 defun/defmacro any more.
11373 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11374 Provide fallback for unknown arglist.
11375 (byte-compile-arglist-warn): Change calling convention.
11376 (byte-compile-output-file-form): Move print-vars binding.
11377 (byte-compile-output-docform): Simplify accordingly.
11378 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11379 (byte-compile-defmacro-declaration): Remove.
11380 (byte-compile-file-form-defmumble): Generalize to defalias.
11381 (byte-compile-output-as-comment): Return byte-positions.
11382 Simplify callers accordingly.
11383 (byte-compile-lambda): Use `assert'.
11384 (byte-compile-defun, byte-compile-defmacro): Remove.
11385 (byte-compile-file-form-defalias):
11386 Use byte-compile-file-form-defmumble.
11387 (byte-compile-defalias-warn): Remove.
11388
11389 2012-05-29 Stefan Merten <smerten@oekonux.de>
11390
11391 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11392 possible. Fix authors. Improve comments. Improve loading of `cl'.
11393
11394 (rst-mode-abbrev-table): Merge definition.
11395 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11396 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11397
11398 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11399
11400 * calendar/icalendar.el
11401 (icalendar-export-region): Export UID properly.
11402
11403 2012-05-29 Leo Liu <sdl.web@gmail.com>
11404 * calendar/icalendar.el (icalendar-import-format):
11405 Add `icalendar-import-format-uid' (Bug#11525).
11406 (icalendar-import-format-uid): New.
11407 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11408 Export UID.
11409
11410 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11413 different alternative patterns.
11414 (pcase-codegen): Be more careful to preserve identity.
11415 (pcase--u1): Don't forget to mark vars as used.
11416
11417 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11418 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11419 (byte-compile-from-buffer): ...rather than here.
11420
11421 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11422 functions from byte-compile-function-environment.
11423
11424 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11425
11426 * window.el (window-deletable-p): Avoid deleting the root window
11427 of a frame with an active minibuffer.
11428
11429 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11430
11431 * simple.el (choose-completion): Use quit-window (Bug#11567).
11432
11433 2012-05-29 Chong Yidong <cyd@gnu.org>
11434
11435 * whitespace.el (whitespace-cleanup): Fix usage of
11436 whitespace-empty-at-bob-regexp (Bug#11492).
11437
11438 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11439
11440 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11441 revert (Bug#11488).
11442
11443 2012-05-29 Juri Linkov <juri@jurta.org>
11444
11445 * isearch.el (isearch-mode-map): Bind `M-s _' to
11446 `isearch-toggle-symbol'. Bind `M-s c' to
11447 `isearch-toggle-case-fold'.
11448 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11449 (isearch-forward): Add `M-s _' to the docstring.
11450 (isearch-forward-symbol, isearch-toggle-case-fold)
11451 (isearch-symbol-regexp): New functions. (Bug#11381)
11452
11453 2012-05-29 Juri Linkov <juri@jurta.org>
11454
11455 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11456 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11457 a function, call it to get the regexp.
11458 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11459 property `isearch-message-prefix' instead of the string "word ".
11460 (isearch-search-fun-default): For the case of `isearch-word',
11461 return a lambda that calls re-search-forward/re-search-backward
11462 with a regexp returned by `word-search-regexp' or by the function
11463 in `isearch-word'.
11464
11465 2012-05-29 Juri Linkov <juri@jurta.org>
11466
11467 * isearch.el (isearch-search-fun-default): New function.
11468 (isearch-search-fun): Move default part to the new function
11469 `isearch-search-fun-default'.
11470 (isearch-search-fun-function): Set the default value to
11471 `isearch-search-fun-default'. (Bug#11381)
11472
11473 * comint.el (comint-history-isearch-end):
11474 Use `isearch-search-fun-default'.
11475 (comint-history-isearch-search): Use `isearch-search-fun-default'
11476 and remove spacial case for `isearch-word'.
11477 (comint-history-isearch-wrap): Remove spacial case for
11478 `isearch-word'.
11479
11480 * hexl.el (hexl-isearch-search-function):
11481 Use `isearch-search-fun-default'.
11482
11483 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11484 Use `word-search-regexp' for `isearch-word'.
11485
11486 * misearch.el (multi-isearch-search-fun):
11487 Use `isearch-search-fun-default'.
11488
11489 * simple.el (minibuffer-history-isearch-search):
11490 Use `isearch-search-fun-default' and remove spacial case for
11491 `isearch-word'.
11492 (minibuffer-history-isearch-wrap): Remove spacial case for
11493 `isearch-word'.
11494
11495 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11496 Remove spacial case for `isearch-word'.
11497 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11498
11499 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11500
11501 Decrease XEmacs incompatibilities.
11502 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11503 Use `string-match'.
11504 (flyspell-delete-region-overlays): Use alternative definition for
11505 XEmacs.
11506 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11507 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11508 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11509 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11510 `define-obsolete-face-alias' under XEmacs, but old method.
11511
11512 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11513 `with-no-warnings' definition or Emacs alias.
11514 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11515 (ispell-word): Do not use `region-p' if XEmacs.
11516
11517 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11518
11519 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11520 Check for `ispell-dictionary-base-alist' instead of full
11521 `ispell-dictionary-alist'.
11522 (ispell-init-process): Show spellchecker when starting new Ispell
11523 process.
11524
11525 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11526
11527 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11528 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11529
11530 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11531
11532 * version.el (motif-version-string, gtk-version-string)
11533 (ns-version-string): Declare.
11534
11535 2012-05-27 Juri Linkov <juri@jurta.org>
11536
11537 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11538 after the `eval-defun-1' specialcaseing
11539 like in `edebug-eval-defun' (bug#10181).
11540
11541 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11542 like in `eval-defun-1'.
11543
11544 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11545
11546 * mail/sendmail.el (mail-yank-region):
11547 Recognize rmail-yank-current-message in addition to insert-buffer.
11548 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11549 a *mail* buffer created through rmail-start-mail with sendmail as
11550 mail-user-agent.
11551
11552 2012-05-27 Chong Yidong <cyd@gnu.org>
11553
11554 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11555 Default to 256 (Bug#11267).
11556
11557 * help.el (describe-mode): Doc fix.
11558
11559 2012-05-26 Glenn Morris <rgm@gnu.org>
11560
11561 * w32-fns.el (w32-init-info): Remove.
11562 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11563
11564 * info.el (info-initialize): For self-contained NS builds, put the
11565 included info/ directory at the front. (Bug#2791)
11566
11567 * paths.el (Info-default-directory-list): Make it a defcustom,
11568 mainly so that we can use custom-initialize-delay.
11569
11570 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * subr.el (buffer-has-markers-at): Mark obsolete.
11573
11574 * subr.el (lambda): Use declare.
11575
11576 * emacs-lisp/lisp-mode.el (lambda):
11577 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11578
11579 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11580
11581 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11582
11583 2012-05-26 Glenn Morris <rgm@gnu.org>
11584
11585 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11586
11587 2012-05-25 Glenn Morris <rgm@gnu.org>
11588
11589 * paths.el: Remove no-byte-compile.
11590 * loadup.el: No need to load paths.el uncompiled.
11591
11592 * image.el (imagemagick-types-inhibit): Doc fix.
11593
11594 * version.el: Remove no-byte-compile and associated formatting.
11595 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11596 is ancient code from when there was an "inc-vers.el".
11597
11598 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * progmodes/gdb-mi.el: Minor style changes.
11601 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11602 Turn into minor modes.
11603 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11604 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11605 (gdb-shell): Remove unneeded let-binding.
11606 (gdb-get-many-fields): Eliminate O(n²) behavior.
11607
11608 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11609
11610 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11611 platforms that don't link in fontset.c.
11612
11613 2012-05-25 Juri Linkov <juri@jurta.org>
11614
11615 Use the same diff color scheme as in modern VCSes (bug#10181).
11616
11617 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11618 to avoid confusion with `diff-added' that now uses green colors.
11619 (diff-removed): Use shades of red.
11620 (diff-added): Use shades of green.
11621 (diff-changed): Leave just the yellow color.
11622 (diff-use-changed-face): New variable.
11623 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11624 how to highlight context diff changes.
11625 (diff-refine-change): Use shades of yellow.
11626 (diff-refine-removed): New face that uses shades of red.
11627 (diff-refine-added): New face that uses shades of green.
11628 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11629 `diff-refine-removed' in the call to `smerge-refine-subst'
11630 depending on the value of `diff-use-changed-face'.
11631
11632 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11633 (smerge-other): Use shades of green.
11634 (smerge-base): Use shades of yellow.
11635 (smerge-refined-change): Empty face.
11636 (smerge-refined-removed): New face that uses shades of red.
11637 (smerge-refined-added): New face that uses shades of green.
11638 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11639 args `props-r' and `props-a', and use them. Doc fix.
11640 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11641 on its value use different faces `smerge-refined-change',
11642 `smerge-refined-removed', `smerge-refined-added' in the call to
11643 `smerge-refine-subst'.
11644
11645 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11646 Add face condition `min-colors 88' with shades of red.
11647 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11648 `min-colors 88' with shades of green.
11649 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11650 `min-colors 88' with shades of yellow.
11651
11652 2012-05-24 Glenn Morris <rgm@gnu.org>
11653
11654 * paths.el (prune-directory-list, remote-shell-program): Move to...
11655 * files.el (prune-directory-list, remote-shell-program): ...here.
11656 For the latter, delay initialization, prefer ssh, just search PATH.
11657
11658 * paths.el (term-file-prefix): Move to faces.el (the only user).
11659 * faces.el (term-file-prefix): Move here, make it a defcustom.
11660
11661 * paths.el (news-directory, news-path, news-inews-program):
11662 Move to gnus/nnspool.el.
11663
11664 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11665
11666 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11667 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11668 Make the latter a defcustom, with a delayed initialization.
11669
11670 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11671 These were deleted from Gnus itself late 2010.
11672
11673 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11674
11675 * progmodes/which-func.el (which-func-ff-hook):
11676 Check against user-error, not error.
11677
11678 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11679 cl-specs.el, which no longer exists.
11680
11681 2012-05-22 Glenn Morris <rgm@gnu.org>
11682
11683 * info.el (info-emacs-bug): New command.
11684 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11685 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11686
11687 2012-05-21 Glenn Morris <rgm@gnu.org>
11688
11689 * makefile.w32-in (update-subdirs-SH):
11690 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11691
11692 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11695
11696 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11697 Simplify Maven regexp, and make sure the file can't start with a space
11698 (bug#11517).
11699
11700 2012-05-21 Glenn Morris <rgm@gnu.org>
11701
11702 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11703 Scrap superfluous subshells.
11704
11705 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11708 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11709
11710 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11711
11712 * calc/calc.el (calc-ensure-consistent-units): New variable.
11713
11714 * calc/calc-units.el (math-consistent-units-p)
11715 (math-check-unit-consistency): New functions.
11716 (calc-quick-units, calc-convert-units):
11717 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11718 is non-nil.
11719 (calc-extract-units): Fix typo.
11720
11721 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11724
11725 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11726 (flyspell-default-deplacement-commands): Don't spell check after
11727 repeated window/frame switches (e.g. triggered by mouse-movement).
11728 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11729 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11730 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11731 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11732 Remove unused vars.
11733 (flyspell-get-casechars, flyspell-get-not-casechars):
11734 Simplify; Don't bother removing a ] just to add it back.
11735 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11736
11737 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11738
11739 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11740 New functions.
11741 (math-function-table): Add support for more C functions.
11742
11743 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11744
11745 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11746 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11747 Protect delay handling for otherchars against empty otherchars.
11748
11749 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11750
11751 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11752 their respective macro declarations.
11753 * skeleton.el (define-skeleton):
11754 * progmodes/compile.el (define-compilation-mode):
11755 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11756 (define-ibuffer-filter):
11757 * emacs-lisp/generic.el (define-generic-mode):
11758 * emacs-lisp/easy-mmode.el (define-minor-mode)
11759 (define-globalized-minor-mode):
11760 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11761 * emacs-lisp/byte-run.el (defsubst):
11762 * custom.el (deftheme): Add doc-string metadata.
11763
11764 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11767
11768 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11769
11770 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11771
11772 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11773 * emacs-lisp/cl-macs.el: Idem.
11774 * emacs-lisp/cl-specs.el: Remove.
11775
11776 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 Minor renaming of internal CL functions and variables.
11779 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11780 (cl--position): Rename from cl-position.
11781 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11782 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11783 (cl--random-state): Rename from *random-state*.
11784
11785 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11788 parens around the arg list (bug#11499).
11789
11790 2012-05-17 Juri Linkov <juri@jurta.org>
11791
11792 * isearch.el (word-search-regexp, word-search-backward)
11793 (word-search-forward, word-search-backward-lax)
11794 (word-search-forward-lax): Move functions from search.c
11795 (bug#10145, bug#11381).
11796
11797 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11798
11799 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11800 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11801 Delay for otherchars as for normal word components.
11802
11803 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * minibuffer.el (completion--sifn-requote): Fix last change.
11806 (minibuffer-local-must-match-filename-map):
11807 Move define-obsolete-variable-alias before its var.
11808
11809 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11812
11813 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11814 behavior.
11815 (completion--string-equal-p): New function.
11816 (completion--twq-all): Use it to get better assertion failure data.
11817
11818 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11819 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11820 (shell--requote-argument): New functions.
11821 (shell-completion-vars): Use them.
11822 (shell--parse-pcomplete-arguments): Rename from
11823 shell-parse-pcomplete-arguments.
11824 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11825 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11826 Obey comint-file-name-quote-list.
11827
11828 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11829 (smie-indent-keyword): Use it.
11830
11831 2012-05-14 Stefan Merten <smerten@oekonux.de>
11832
11833 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11834
11835 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * net/rlogin.el (rlogin-mode-map): Fix last change.
11838
11839 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11840
11841 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11842 the following \r\n using a single `process-send-string', since the
11843 Lotus SMTP server refuses to accept any commands if they are sent
11844 with two `process-send-string's (Bug#11444).
11845
11846 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * shell.el (shell-parse-pcomplete-arguments):
11849 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11850
11851 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11852
11853 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11854 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11855 (image-transform-width, image-transform-fit-width): New functions.
11856 (image-transform-properties): Use them.
11857 (image-transform-check-size): New function.
11858 (image-toggle-display-image): Use it (for testing).
11859 (image-transform-set-rotation): Reduce angle mod 360.
11860 Delete obsolete comment.
11861
11862 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11863
11864 * image-mode.el: Fix scaling (bug#11399).
11865 (image-transform-resize): Doc fix.
11866 (image-transform-properties): Default scale is 1 and height should
11867 be an integer.
11868
11869 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11870
11871 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11872 than hard-coding `car', to fix misbehavior when moving forward.
11873
11874 2012-05-13 Chong Yidong <cyd@gnu.org>
11875
11876 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11877 (tabulated-list-entries, tabulated-list-padding)
11878 (tabulated-list-sort-key): Make permanent-local.
11879
11880 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11881 (electric-buffer-list): Put electric buffer menu
11882 command descriptions in this docstring, instead of the docstring
11883 of electric-buffer-menu-mode. Code cleanups.
11884 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11885 Electric-buffer-menu-mode.
11886 (electric-buffer-update-highlight): Minor code cleanup.
11887
11888 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11889
11890 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11891 (Bug#11447)
11892
11893 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 Move define-obsolete-variable-alias before the var's definition.
11896 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11897 * tooltip.el (tooltip-hook):
11898 * textmodes/reftex-toc.el (reftex-toc-map):
11899 * textmodes/reftex-sel.el (reftex-select-label-map)
11900 (reftex-select-bib-map):
11901 * textmodes/reftex-index.el (reftex-index-map)
11902 (reftex-index-phrases-map):
11903 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11904 * progmodes/meta-mode.el (meta-mode-map):
11905 * novice.el (disabled-command-hook):
11906 * loadhist.el (unload-hook-features-list):
11907 * frame.el (blink-cursor):
11908 * files.el (find-file-not-found-hooks, write-file-hooks)
11909 (write-contents-hooks):
11910 * emulation/tpu-edt.el (GOLD-map):
11911 * emacs-lock.el (emacs-lock-from-exiting):
11912 * emacs-lisp/generic.el (generic-font-lock-defaults):
11913 * emacs-lisp/chart.el (chart-map):
11914 * dos-fns.el (register-name-alist):
11915 * dired-x.el (dired-omit-files-p):
11916 * desktop.el (desktop-enable):
11917 * cus-edit.el (custom-mode-hook):
11918 * buff-menu.el (buffer-menu-mode-hook):
11919 * bookmark.el (bookmark-read-annotation-text-func)
11920 (bookmark-exit-hooks):
11921 * allout.el (allout-mode-deactivate-hook)
11922 (allout-exposure-change-hook, allout-structure-added-hook)
11923 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11924 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11925 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11926 comes before the corresponding variable's definition.
11927
11928 2012-05-12 Chong Yidong <cyd@gnu.org>
11929
11930 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11931 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11932 (Buffer-menu-mode-map): Bind it.
11933 (Buffer-menu--pretty-name): Add a mouse-face property.
11934
11935 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11938 (prolog-upper-case-string, prolog-lower-case-string)
11939 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11940 (prolog-use-smie, prolog-smie-grammar): New vars.
11941 (prolog-smie-forward-token, prolog-smie-backward-token)
11942 (prolog-smie-rules): New funs.
11943 (prolog-comment-indent): Remove.
11944 (prolog-mode-variables): Use default comment indentation instead.
11945 Setup SMIE.
11946 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11947 (prolog-mode): Don't call them any more.
11948 (prolog-electric-colon, prolog-electric-dash)
11949 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11950
11951 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11952
11953 * minibuffer.el (completion--twq-all): Again, allow case differences.
11954
11955 * term.el: Move keymap initialization code to be more idiomatic.
11956 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11957 (term-terminal-menu): Move initialization into declaration.
11958 (term-escape-char): Let the user set it in her .emacs.
11959
11960 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11961 Provide SMIE-based indentation (not enabled by default yet).
11962 (sh-mode-map): Don't bind electric keys.
11963 Use electric-pair-mode instead of skeleton-pair.
11964 (sh-assignment-regexp): Fit within 80 columns.
11965 (sh-indent-supported): Specify actual shell name instead of boolean.
11966 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11967 (sh-maybe-here-document): Use it. Make obsolete.
11968 (sh-electric-here-document-mode) New minor mode.
11969 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11970 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11971 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11972 (sh-smie-rc-grammar, sh-use-smie): New vars.
11973 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11974 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11975 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11976 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11977 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11978 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11979 (sh-set-shell): Use smie-setup if requested.
11980
11981 * term.el (term-set-escape-char): Properly set term-escape-char.
11982 See http://stackoverflow.com/questions/10524656.
11983
11984 2012-05-10 Chong Yidong <cyd@gnu.org>
11985
11986 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11987 Use url-generic-parse-url, and handle host names and Windows
11988 filenames properly.
11989 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11990 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11991 URL schemes to work on.
11992 (ffap--toggle-read-only): New function.
11993 (ffap-read-only, ffap-read-only-other-window)
11994 (ffap-read-only-other-frame): Use it.
11995 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11996 necessary for ffap-url-unwrap-remote.
11997
11998 2012-05-10 Dave Abrahams <dave@boostpro.com>
11999
12000 * cus-start.el (create-lockfiles): Add it.
12001
12002 2012-05-09 Chong Yidong <cyd@gnu.org>
12003
12004 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12005 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12006
12007 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12010
12011 2012-05-09 Chong Yidong <cyd@gnu.org>
12012
12013 * ansi-color.el (ansi-color-process-output): Check for validity of
12014 comint-last-output-start before using it. This avoids a bad
12015 interaction with gdb-mi's input/output buffer.
12016
12017 2012-05-09 Glenn Morris <rgm@gnu.org>
12018
12019 * files.el (dir-locals-read-from-file):
12020 Mention dir-locals in any error message.
12021
12022 2012-05-09 Chong Yidong <cyd@gnu.org>
12023
12024 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12025 package (Bug#11410).
12026
12027 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12028 variables into description.
12029
12030 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12033 shell-delimiter-argument-list (bug#11348).
12034 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12035
12036 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * textmodes/rst.el: Silence byte-compiler warnings.
12039 (rst-re-alist, rst-reset-section-caches): Move around.
12040 (rst-re): Use `characterp', not `char-valid-p'.
12041 (font-lock-beg, font-lock-end): Declare.
12042
12043 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12044 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12045
12046 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12047
12048 2012-05-08 Glenn Morris <rgm@gnu.org>
12049
12050 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12051
12052 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * vc/log-edit.el: Add GNU coding standards highlighting.
12055 (log-edit-font-lock-gnu-style)
12056 (log-edit-font-lock-gnu-keywords): New vars.
12057 (log-edit-font-lock-keywords): New fun.
12058 (log-edit-mode): Don't fold case in font-lock.
12059 (log-edit-font-lock-keywords): Do not assume case-folding.
12060
12061 * imenu.el: Misc cleanup. Make docstrings out of comments.
12062 Use lexical-binding.
12063 (imenu--index-alist, imenu--last-menubar-index-alist)
12064 (imenu-menubar-modified-tick): Use defvar-local.
12065 (imenu--split-menu): Remove unused var.
12066 (imenu--cleanup-seen): Declare as global.
12067 (imenu--cleanup): Use dolist.
12068
12069 * subr.el (defvar-local): Add debug spec and doc-string position.
12070
12071 2012-05-08 Glenn Morris <rgm@gnu.org>
12072
12073 * language/burmese.el, language/cham.el, language/czech.el:
12074 * language/english.el, language/georgian.el, language/greek.el:
12075 * language/japanese.el, language/khmer.el, language/korean.el:
12076 * language/lao.el, language/misc-lang.el, language/romanian.el:
12077 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12078 * language/thai.el, language/utf-8-lang.el:
12079 Remove no-byte-compile setting.
12080
12081 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12082
12083 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12084
12085 * progmodes/make-mode.el (makefile-browse):
12086 Remove unnecessary interactive. (Bug#11324)
12087
12088 2012-05-07 Glenn Morris <rgm@gnu.org>
12089
12090 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12091
12092 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12093
12094 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * loadup.el: Preload newcomment.el.
12097 * newcomment.el: Move autoload-only code to toplevel.
12098
12099 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12100 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12101 Handle new :right-align column property.
12102 (tabulated-list-print-col): Idem, plus use `display' text-property to
12103 try and preserve alignment for variable pitch fonts.
12104
12105 2012-05-07 Chong Yidong <cyd@gnu.org>
12106
12107 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12108 (tabulated-list-use-header-line): New var.
12109 (tabulated-list-init-header): Use it.
12110 (tabulated-list-print-fake-header): New function.
12111 (tabulated-list-print): Use it.
12112 (tabulated-list-sort-button-map): Add non-header-line commands.
12113 (tabulated-list-init-header): Add column name property to basic
12114 labels as well.
12115 (tabulated-list-col-sort): Handle non-header-line button case.
12116 (tabulated-list--sort-by-column-name): Fix a corner case.
12117
12118 * buff-menu.el (list-buffers--refresh):
12119 Handle Buffer-menu-use-header-line.
12120
12121 2012-05-06 Chong Yidong <cyd@gnu.org>
12122
12123 * buff-menu.el: Convert to Tabulated List mode.
12124 (Buffer-menu-buffer+size-width): Make obsolete.
12125 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12126 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12127 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12128 documentation into docstring of buffer-menu.
12129 (Buffer-menu-toggle-files-only): Add an informative message.
12130 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12131 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12132 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12133 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12134 (Buffer-menu-execute, Buffer-menu-select)
12135 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12136 (Buffer-menu-bury): Use Tabulated List machinery.
12137 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12138 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12139 Delete.
12140 (list-buffers--refresh): New function.
12141 (list-buffers-noselect): Use it.
12142 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12143 (Buffer-menu--pretty-file-name): New helper functions.
12144
12145 * loadup.el: Preload tabulated-list.
12146
12147 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12148 tabulated-list-sort-column.
12149 (tabulated-list-init-header): Add the initial aligning space even
12150 if tabulated-list-padding is zero.
12151
12152 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12153
12154 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12155 whose cdr is not a cons cell correctly (bug#11038).
12156
12157 2012-05-06 Chong Yidong <cyd@gnu.org>
12158
12159 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12160 Accept additional plist in column descriptors.
12161 (tabulated-list-init-header): Obey it.
12162 (tabulated-list-get-entry): New function.
12163 (tabulated-list-put-tag): Use it. Use string-width instead of
12164 length.
12165 (tabulated-list--column-number): New function.
12166 (tabulated-list-print): Use it.
12167 (tabulated-list-print-col): New function.
12168 Set `tabulated-list-column-name' property on each column's text.
12169 (tabulated-list-print-entry): Use it.
12170 (tabulated-list-delete-entry, tabulated-list-set-col):
12171 New functions.
12172 (tabulated-list-sort-column): New command (Bug#11337).
12173
12174 * buff-menu.el (list-buffers): Move C-x C-b binding from
12175 buff-menu.el to bindings.el.
12176
12177 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12178 :advertised-binding feature.
12179
12180 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12181
12182 * progmodes/compile.el (compilation-internal-error-properties):
12183 Calculate start position correctly when end-col is set but
12184 end-line is not (Bug#11382).
12185
12186 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12187
12188 * man.el (Man-unindent): Use text-property-default-nonsticky to
12189 prevent untabify from inheriting face properties (Bug#11408).
12190
12191 2012-05-05 Stefan Merten <smerten@oekonux.de>
12192
12193 * textmodes/rst.el: Major merge with upstream development up to
12194 Docutils SVN r7399 / rst.el V1.2.1.
12195
12196 Clarify maintainership and authors.
12197
12198 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12199 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12200 (rst-official-version, rst-official-cvs-rev, rst-version)
12201 (rst-package-emacs-version-alist): New functions and variables
12202 for version information.
12203
12204 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12205 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12206 (rst-mode-syntax-table, rst-mode): New and corrected functions
12207 and variables representing reStructuredText features.
12208
12209 (rst-re): New function for reStructuredText regexes. Use in
12210 many places.
12211
12212 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12213 (rst-mode-map): Rebind keys.
12214
12215 (rst-mode-lazy, rst-font-lock-keywords)
12216 (rst-font-lock-extend-region)
12217 (rst-font-lock-extend-region-internal)
12218 (rst-font-lock-extend-region-extend)
12219 (rst-font-lock-find-unindented-line-limit)
12220 (rst-font-lock-find-unindented-line-match)
12221 (rst-adornment-level, rst-font-lock-adornment-level)
12222 (rst-font-lock-adornment-match)
12223 (rst-font-lock-handle-adornment-pre-match-form)
12224 (rst-font-lock-handle-adornment-matcher): Major revision of
12225 font-locking. Integrate with other code. Use `jit-lock-mode'.
12226
12227 (rst-preferred-adornments, rst-adjust-hook)
12228 (rst-new-adornment-down, rst-preferred-bullets)
12229 (rst-preferred-bullets, rst-indent, rst-indent-width)
12230 (rst-indent-field, rst-indent-literal-normal)
12231 (rst-indent-literal-minimized, rst-indent-comment): Change,
12232 extend and improve customization.
12233
12234 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12235 (rst-normalize-cursor-position, rst-get-decoration)
12236 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12237 (rst-rstrip, rst-toc-insert-find-delete-contents)
12238 (rst-shift-fill-region, rst-compute-bullet-tabs)
12239 (rst-debug-print-tabs, rst-debug-mark-found)
12240 (rst-shift-region-guts, rst-shift-region-right)
12241 (rst-shift-region-left, rst-use-char-classes)
12242 (rst-font-lock-keywords-function)
12243 (rst-font-lock-indentation-point)
12244 (rst-font-lock-find-unindented-line-begin)
12245 (rst-font-lock-find-unindented-line-end)
12246 (rst-font-lock-find-unindented-line)
12247 (rst-font-lock-adornment-point, rst-font-lock-level)
12248 (rst-adornment-level-alist): Remove functions and variables.
12249
12250 (rst-compare-adornments, rst-get-adornment-match)
12251 (rst-suggest-new-adornment, rst-get-adornments-around)
12252 (rst-adornment-complete-p, rst-get-next-adornment)
12253 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12254 (rst-straighten-adornments): Standardize function names to
12255 use "adornment" instead of "decoration". Correct callers.
12256 Similar standardizing in many places.
12257
12258 (rst-update-section, rst-adjust, rst-promote-region)
12259 (rst-enumerate-region, rst-bullet-list-region)
12260 (rst-repeat-last-character): Correct use of `interactive'.
12261
12262 (rst-classify-adornment, rst-find-all-adornments)
12263 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12264 (rst-find-leftmost-column, rst-repeat-last-character):
12265 Refactor functions.
12266
12267 (rst-find-title-line, rst-reset-section-caches)
12268 (rst-get-adornments-around, rst-adjust-adornment-work)
12269 (rst-arabic-to-roman, rst-roman-to-arabic)
12270 (rst-insert-list-pos, rst-insert-list-new-item)
12271 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12272 New functions.
12273
12274 (rst-all-sections, rst-section-hierarchy)
12275 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12276 New variables.
12277
12278 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12279 configuration instead of only buffer. Change where necessary.
12280
12281 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12282 (rst-shift-region, rst-adaptive-fill): New functions for
12283 indentation and filling.
12284
12285 (rst-comment-line-break, rst-comment-indent)
12286 (rst-comment-insert-comment, rst-comment-region)
12287 (rst-uncomment-region): New functions for handling comments.
12288
12289 (rst-compile): Quote shell arguments.
12290
12291 (rst-compile-pdf-preview, rst-compile-slides-preview):
12292 Delete temporary files after use.
12293
12294 2012-05-05 Glenn Morris <rgm@gnu.org>
12295
12296 * calendar/cal-html.el: Optionally include holidays in the output.
12297 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12298 (cal-html-holidays): New option.
12299 (cal-html-css-default): Add holiday entry.
12300 (holiday-in-range): Autoload it.
12301 (cal-html-htmlify-entry): Add optional class argument.
12302 (cal-html-htmlify-list): Add optional holidays argument.
12303 (cal-html-insert-agenda-days): Include holidays in the output.
12304 (cal-html-one-month): Maybe include holidays.
12305
12306 * calendar/holidays.el (holiday-in-range):
12307 Move here from cal-tex-list-holidays.
12308 * calendar/cal-tex.el (cal-tex-list-holidays):
12309 Make it an obsolete alias for holiday-in-range. Update all callers.
12310
12311 2012-05-05 Chong Yidong <cyd@gnu.org>
12312
12313 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12314 Nextstep.
12315
12316 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12317
12318 * files.el (file-auto-mode-skip): New var.
12319 (set-auto-mode-1): Use it.
12320
12321 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12322
12323 * repeat.el: Use lexical-binding.
12324 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12325 (repeat-undo-count): Remove.
12326 (repeat):
12327 * progmodes/octave-mod.el (octave-abbrev-start):
12328 * progmodes/f90.el (f90-abbrev-start):
12329 * face-remap.el (text-scale-adjust):
12330 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12331
12332 * emacs-lisp/pcase.el (pcase--let*): New function.
12333 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12334 a bit more.
12335 (pcase--split-pred): Be more clever about ruling out overlap between
12336 a predicate and some constant pattern.
12337 (pcase--q1): Use `null' instead of (eq foo nil).
12338
12339 * subr.el (setq-local, defvar-local): New macros.
12340 (kbd): Redefine as an alias.
12341 (with-selected-window): Leave unrelated frames alone.
12342 (set-temporary-overlay-map): New function.
12343
12344 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * subr.el (user-error): New function.
12347 * window.el (switch-to-buffer):
12348 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12349 (smerge-match-conflict):
12350 * simple.el (previous-matching-history-element)
12351 (next-matching-history-element, goto-history-element, undo-more)
12352 (undo-start):
12353 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12354 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12355 (next-file, tags-loop-scan, list-tags, complete-tag):
12356 * progmodes/compile.el (compilation-loop):
12357 * mouse.el (mouse-minibuffer-check):
12358 * man.el (Man-bgproc-sentinel, Man-goto-page):
12359 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12360 (Info-history-forward, Info-follow-reference, Info-menu)
12361 (Info-extract-menu-item, Info-extract-menu-counting)
12362 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12363 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12364 (Info-next-reference, Info-prev-reference, Info-index)
12365 (Info-index-next, Info-follow-nearest-node)
12366 (Info-copy-current-node-name):
12367 * imenu.el (imenu--make-index-alist)
12368 (imenu-default-create-index-function, imenu-add-to-menubar):
12369 * files.el (basic-save-buffer, recover-file):
12370 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12371 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12372 (checkdoc-message-text, checkdoc-defun):
12373 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12374 * cus-edit.el (customize-changed-options, customize-rogue)
12375 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12376 (custom-variable-mark-to-reset-standard)
12377 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12378 (custom-file):
12379 * completion.el (check-completion-length):
12380 * comint.el (comint-search-arg)
12381 (comint-previous-matching-input-string-position)
12382 (comint-previous-matching-input)
12383 (comint-replace-by-expanded-history-before-point, comint-send-input)
12384 (comint-copy-old-input, comint-backward-matching-input)
12385 (comint-goto-process-mark, comint-set-process-mark):
12386 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12387 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12388
12389 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12390
12391 * dabbrev.el (dabbrev--ignore-case-p): New function.
12392 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12393 Use it.
12394
12395 * files.el (automount-dir-prefix): Mark as obsolete.
12396
12397 2012-05-04 Glenn Morris <rgm@gnu.org>
12398
12399 * patcomp.el, play/bruce.el: Move to obsolete/.
12400
12401 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12402
12403 Fix minor Y10k bugs.
12404 * arc-mode.el (archive-unixdate):
12405 * autoinsert.el (auto-insert-alist):
12406 * calc/calc-forms.el (math-this-year):
12407 * emacs-lisp/copyright.el (copyright-current-year)
12408 (copyright-update-year, copyright):
12409 * tar-mode.el (tar-clip-time-string):
12410 * time.el (display-time-update):
12411 Don't assume years have 4 digits.
12412
12413 2012-05-04 Chong Yidong <cyd@gnu.org>
12414
12415 * dos-w32.el (file-name-buffer-file-type-alist)
12416 (direct-print-region-use-command-dot-com):
12417 * ffap.el (ffap-menu-regexp):
12418 * find-file.el (ff-special-constructs):
12419 * follow.el (follow-debug):
12420 * forms.el (forms--debug):
12421 * iswitchb.el (iswitchb-all-frames):
12422 * ido.el (ido-all-frames):
12423 * emacs-lisp/timer.el (timer-max-repeats):
12424 * mail/feedmail.el (feedmail-mail-send-hook)
12425 (feedmail-mail-send-hook-queued):
12426 * mail/footnote.el (footnote-signature-separator):
12427 * mail/mailabbrev.el (mail-alias-separator-string)
12428 (mail-abbrev-mode-regexp):
12429 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12430 * progmodes/idlwave.el (idlwave-libinfo-file)
12431 (idlwave-default-completion-case-is-down)
12432 (idlwave-library-routines): Convert defvars to defcustoms.
12433
12434 * mail/rmail.el (rmail-decode-mime-charset):
12435 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12436 (idlwave-shell-fix-inserted-breaks)
12437 (idlwave-shell-activate-alt-keybindings)
12438 (idlwave-shell-use-breakpoint-glyph):
12439 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12440
12441 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12442
12443 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12444
12445 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12446
12447 * progmodes/verilog-mode.el (font-lock-keywords):
12448 Fix mis-highligting auto. Reported by Craig Barner.
12449 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12450 defines from global name space. Reported by Dan Dever.
12451 (verilog-auto-reset, verilog-auto-reset-widths)
12452 (verilog-auto-tieoff): Support using unbased numbers for
12453 AUTORESET and AUTOTIEOFF.
12454 (verilog-submit-bug-report): Update variable list.
12455 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12456 parenthesis from not matching. Reported by Michael Rytting.
12457 (verilog-auto-template-lint): Fix hash error when linting modules
12458 with no used templates.
12459 (verilog-warn, verilog-warn-error)
12460 (verilog-warn-fatal): When non-interactive report multiple
12461 warnings before exiting. Suggested by Brad Dobbie.
12462 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12463 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12464 to report unused template errors. Reported by Brad Dobbie.
12465 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12466 nets, bug438. Reported by Vns Blore.
12467 (verilog-auto-inout-module, verilog-auto-reg)
12468 (verilog-read-decls, verilog-read-sub-decls-sig)
12469 (verilog-signals-edit-wire-reg, verilog-signals-with):
12470 Fix passing of Verilog data types in ANSI input/output ports
12471 such as "output logic" into the AUTOs. Special case "wire" and
12472 "reg" for backwards compatibility presuming Verilog 2001.
12473 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12474 (verilog-preprocess): Fix replication of preprocess output.
12475 Reported by Brad Dobbie.
12476 (verilog-auto-inst-interfaced-ports):
12477 Create verilog-auto-inst-interfaced-ports, bug429.
12478 Reported by Julian Gorfajn.
12479 (verilog-after-save-font-hook)
12480 (verilog-before-save-font-hook): New variable.
12481 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12482 (verilog-save-font-mods): Wrap disabling fontification, reported
12483 by David Rogoff.
12484 (verilog-do-indent, verilog-pretty-declarations-auto)
12485 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12486 Reported by Pierre-David Pfister.
12487 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12488 of class declarations, bug292. Reported by Kevin Heilman.
12489 (verilog-read-decls): Fix 'parameter type' not appearing in
12490 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12491 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12492 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12493 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12494 Reported by David Kravitz.
12495
12496 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12497
12498 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12499 assignment with tests in ifs and for loops.
12500 (verilog-extended-complete-re, verilog-complete-reg): Change so
12501 that DPI inport functions don't look like fuction declarations.
12502 (verilog-pretty-expr): Don't line up assignment
12503 operations to the test and increment in if and for loops
12504 (verilog-extended-complete-re, verilog-complete-reg): Change so
12505 that DPI inport functions don't look like fuction declarations.
12506
12507 2012-05-03 Kenichi Handa <handa@m17n.org>
12508
12509 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12510 decoding, and show a warning message without signaling an error
12511 (Bug#11282).
12512
12513 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12514
12515 * emacs-lisp/bytecomp.el
12516 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12517 since cconv.el might have introduced :fun-body, internal-make-closure,
12518 and friends for bytecomp to handle (bug#11391).
12519 * custom.el (defcustom): Avoid ((λ ..) ..).
12520
12521 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12522
12523 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12524
12525 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12526
12527 * notifications.el (dbus-debug):
12528 * term/linux.el (gpm-mouse-enable):
12529 * term/screen.el (xterm-register-default-colors): Declare.
12530
12531 2012-05-02 Chong Yidong <cyd@gnu.org>
12532
12533 * cus-start.el (gc-cons-percentage, exec-suffixes)
12534 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12535 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12536 (make-cursor-line-fully-visible, void-text-area-pointer)
12537 (font-list-limit): Add customization data.
12538
12539 * allout.el (allout-exposure-change-functions)
12540 (allout-structure-added-functions)
12541 (allout-structure-deleted-functions)
12542 (allout-structure-shifted-functions): Rename abnormal hooks from
12543 *-hook, and convert to defcustoms.
12544 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12545 Convert to defcustoms.
12546 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12547
12548 * allout-widgets.el: Hook callers changed.
12549
12550 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12551
12552 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12553 the yanked message in preference to the default value of
12554 buffer-file-coding-system.
12555
12556 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12557
12558 * window.el (display-buffer--action-function-custom-type):
12559 Fix entry.
12560
12561 2012-05-02 Alan Mackenzie <acm@muc.de>
12562
12563 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12564
12565 2012-05-01 Glenn Morris <rgm@gnu.org>
12566
12567 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12568
12569 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12570
12571 * cus-edit.el (custom-variable-documentation): Simplify with format.
12572
12573 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12574 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * simple.el (suggest-key-bindings, execute-extended-command):
12577 Move from keyboard.c.
12578
12579 2012-05-01 Chong Yidong <cyd@gnu.org>
12580
12581 * follow.el: Eliminate advice.
12582 (set-process-filter, process-filter, sit-for): Advice deleted.
12583 (follow-mode-off-hook): Obsolete hook removed.
12584 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12585 Vars deleted.
12586 (follow-auto): Use a :set function.
12587 (follow-mode): Rewritten. Don't advise process filters.
12588 (follow-switch-to-current-buffer-all, follow-scroll-up)
12589 (follow-scroll-down): Assume follow-mode is bound.
12590 (follow-comint-scroll-to-bottom)
12591 (follow-align-compilation-windows): New functions.
12592 (follow--window-sorter): New function.
12593 (follow-all-followers): Use it to explicitly sort windows by their
12594 positions; don't make assumptions about next-window order.
12595 (follow-windows-start-end, follow-delete-other-windows-and-split)
12596 (follow-calc-win-start): Doc fix.
12597 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12598 vertical-motion unnecessarily.
12599 (follow-adjust-window): New function.
12600 (follow-post-command-hook): Use it.
12601 (follow-call-set-process-filter, follow-call-process-filter)
12602 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12603 (follow-stop-intercept-process-output, follow-generic-filter):
12604 Functions deleted.
12605 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12606 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12607 New functions, replacing advice on scroll-bar-* commands.
12608 (follow-mwheel-scroll): New function (Bug#4112).
12609
12610 * comint.el (comint-adjust-point): New function.
12611 (comint-postoutput-scroll-to-bottom): Use it.
12612 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12613
12614 2012-05-01 Glenn Morris <rgm@gnu.org>
12615
12616 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12617 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12618 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12619 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12620 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12621 Remove no-byte-compile setting.
12622
12623 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12626 all-completions code to not return a number in the last cdr.
12627
12628 2012-04-30 Leo Liu <sdl.web@gmail.com>
12629
12630 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12631 read-only error.
12632
12633 2012-04-29 Chong Yidong <cyd@gnu.org>
12634
12635 * follow.el (follow-calc-win-end): Rewrite to handle partial
12636 screen lines correctly (Bug#8390).
12637 (follow-avoid-tail-recenter): Minor cleanup.
12638
12639 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12640
12641 Avoid the obsolete `assoc' package.
12642 * speedbar.el (speedbar-refresh): Avoid adelete.
12643 (speedbar-file-lists): Simplify and avoid aput.
12644 * man.el (Man--sections, Man--refpages): New vars, replacing
12645 Man-sections-alist and Man-refpages-alist.
12646 (Man-build-section-alist, Man-build-references-alist):
12647 Use them; avoid aput.
12648 (Man--last-section, Man--last-refpage): New vars.
12649 (Man-follow-manual-reference): Use them.
12650 Use the `default' arg of completing-read.
12651 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12652
12653 2012-04-27 Chong Yidong <cyd@gnu.org>
12654
12655 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12656
12657 * startup.el (x-apply-session-resources): New function.
12658
12659 * term/ns-win.el (ns-initialize-window-system):
12660 * term/w32-win.el (w32-initialize-window-system):
12661 * term/x-win.el (x-initialize-window-system): Use it to properly
12662 set menu-bar-mode and other vars from X resources, even if the
12663 initial frame is not a window-system frame (Bug#2299).
12664
12665 * subr.el (read-key): Avoid running filter function when setting
12666 up temporary tool bar entries (Bug#9922).
12667
12668 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12669
12670 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12671 (Bug#11344)
12672
12673 2012-04-27 Chong Yidong <cyd@gnu.org>
12674
12675 * select.el (xselect--encode-string): New function, split from
12676 xselect-convert-to-string.
12677 (xselect-convert-to-string): Use it.
12678 (xselect-convert-to-filename, xselect-convert-to-os)
12679 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12680 returned strings are properly encoded (Bug#11315).
12681
12682 2012-04-27 Chong Yidong <cyd@gnu.org>
12683
12684 * simple.el (delete-active-region): Move to killing custom group.
12685
12686 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12687
12688 * progmodes/which-func.el (which-func-current): Quote %
12689 characters for mode-line processing.
12690
12691 2012-04-27 Chong Yidong <cyd@gnu.org>
12692
12693 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12694 reaching eob (Bug#11286).
12695
12696 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12697
12698 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12699 (gdb): Make it buffer-local and init to zero.
12700 (gdb-control-commands-regexp): New variable.
12701 (gdb-send): Don't wrap in "-interpreter-exec console" if
12702 gdb-control-level is positive. Increment gdb-control-level
12703 whenever the command matches gdb-control-commands-regexp, and
12704 decrement it each time the command is "end". (Bug#11279)
12705
12706 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12707
12708 * window.el (adjust-window-trailing-edge, enlarge-window)
12709 (shrink-window, window-resize):
12710 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12711 windows (Bug#11276).
12712
12713 2012-04-27 Chong Yidong <cyd@gnu.org>
12714
12715 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12716 fix "missing prefix" warning. All callers changed.
12717
12718 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * emacs-lisp/assoc.el: Move to obsolete/.
12721
12722 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12725
12726 * term/ns-win.el (ns-define-service):
12727 * progmodes/pascal.el (pascal-goto-defun):
12728 * progmodes/js.el (js--read-tab):
12729 * progmodes/etags.el (tags-lazy-completion-table):
12730 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12731 * emacs-lisp/ewoc.el (ewoc--wrap):
12732 * emacs-lisp/assoc.el (aput, adelete, amake):
12733 * doc-view.el (doc-view-convert-current-doc):
12734 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12735
12736 2012-04-26 Chong Yidong <cyd@gnu.org>
12737
12738 * image.el (image-type-from-buffer): Only return supported image
12739 type (Bug#9045).
12740
12741 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12742 value, for symmetry with diff-end-of-hunk.
12743 (diff-split-hunk, diff-find-source-location)
12744 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12745 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12746 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12747 compute the relevant hunk or file properly (Bug#6005).
12748 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12749
12750 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12751
12752 * vc/vc-mtn.el:
12753 * vc/vc-hg.el:
12754 * vc/vc-git.el:
12755 * vc/vc-dir.el:
12756 * vc/vc-cvs.el:
12757 * vc/vc-bzr.el:
12758 * vc/vc-arch.el:
12759 * vc/vc.el: Replace lexical-let by lexical-binding.
12760 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12761 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12762 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12763
12764 2012-04-26 Chong Yidong <cyd@gnu.org>
12765
12766 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12767 (diff-mode-shared-map): Bind it to / and [remap undo].
12768
12769 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12770 (ediff-window-setup-function): Use it as the default, to set up
12771 windows based on whether the current frame is graphical (Bug#2138).
12772 (ediff-choose-window-setup-function-automatically): Make obsolete.
12773
12774 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12775
12776 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * ffap.el: Remove old code for obsolete package.
12779 (ffap-complete-as-file-p): Remove.
12780
12781 Use completion-table-with-quoting for comint and pcomplete.
12782 * comint.el (comint--unquote&requote-argument)
12783 (comint--unquote-argument, comint--requote-argument): New functions.
12784 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12785 (comint-quote-filename): Use regexp-opt-charset.
12786 (comint--common-suffix, comint--common-quoted-suffix)
12787 (comint--table-subvert): Remove.
12788 (comint-unquote-function, comint-requote-function): New vars.
12789 (comint--complete-file-name-data): Use them with
12790 completion-table-with-quoting.
12791 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12792 * pcomplete.el (pcomplete-arg-quote-list)
12793 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12794 (pcomplete-unquote-argument-function): Default to non-nil.
12795 (pcomplete-unquote-argument): Simplify.
12796 (pcomplete--common-quoted-suffix): Remove.
12797 (pcomplete-requote-argument-function): New var.
12798 (pcomplete--common-suffix): New function.
12799 (pcomplete-completions-at-point): Use completion-table-with-quoting
12800 and completion-table-subvert.
12801
12802 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12803 (minibuffer--double-dollars): Preserve properties.
12804 (completion--sifn-requote): New function.
12805 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12806
12807 * minibuffer.el: Add support for completion of quoted/escaped data.
12808 (completion-table-with-quoting, completion-table-subvert): New funs.
12809 (completion--twq-try, completion--twq-all): New functions.
12810 (completion--nth-completion): New function.
12811 (completion-try-completion, completion-all-completions): Use it.
12812
12813 2012-04-25 Leo Liu <sdl.web@gmail.com>
12814
12815 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12816 Use compilation-message if available to find real filename.
12817
12818 2012-04-25 Chong Yidong <cyd@gnu.org>
12819
12820 * vc/diff-mode.el (diff-setup-whitespace): New function.
12821 (diff-mode): Use it.
12822
12823 * vc/diff.el (diff-sentinel):
12824 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12825 Whitespace mode variables based on diff style (Bug#8612).
12826
12827 2012-04-25 Leo Liu <sdl.web@gmail.com>
12828
12829 * progmodes/python.el (python-send-region): Add suffix .py to the
12830 temp file.
12831
12832 * files.el (auto-mode-alist): Use javascript-mode instead.
12833
12834 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12835
12836 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12837
12838 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12839 (soap-resolve-references-for-array-type): Hack to prevent self
12840 references, see Bug#9.
12841 (soap-parse-envelope): Report the contents of the 'detail' node
12842 when receiving a fault reply.
12843 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12844
12845 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12846 (soap-inspect-simple-type): New function.
12847
12848 * net/soap-client.el (soap-simple-type): New struct.
12849 (soap-default-xsd-types, soap-default-soapenc-types)
12850 (soap-decode-basic-type, soap-encode-basic-type):
12851 support unsignedInt and double basic types.
12852 (soap-resolve-references-for-simple-type)
12853 (soap-parse-simple-type, soap-encode-simple-type): New function.
12854 (soap-parse-schema): Parse xsd:simpleType declarations.
12855
12856 * net/soap-client.el (soap-default-xsd-types)
12857 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12858 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12859 the local name of "soapenc:Array".
12860 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12861 decoding integer, byte and anyURI xsd types.
12862
12863 2012-04-25 Chong Yidong <cyd@gnu.org>
12864
12865 * cus-edit.el (custom-buffer-create-internal): Update header text.
12866
12867 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12868
12869 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12870 settings on 'system-type', not on 'window-system'. On MS-Windows,
12871 set interactive-mode on in GDB.
12872
12873 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12876 (ruby-syntax-propertize-regexp): Remove.
12877 (ruby-syntax-propertize-function): Split regexp into chunks.
12878 Match following code directly.
12879
12880 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12881
12882 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12883 (ruby-syntax-propertize-regexp): New function.
12884 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12885 by a special keyword.
12886
12887 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12888 (ruby-syntax-general-delimiters-goto-beg)
12889 (ruby-syntax-propertize-general-delimiters): New functions.
12890 (ruby-syntax-propertize-function): Use them to handle GDL.
12891 (ruby-font-lock-keywords): Move old handling of GDL...
12892 (ruby-font-lock-syntactic-keywords): .. to here.
12893 (ruby-calculate-indent): Adjust indentation for GDL.
12894
12895 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12896
12897 * notifications.el (top): Remove unneeded declarations.
12898 (notifications-specification-version): Change to "1.2".
12899 (notifications-interface, notifications-notify-method)
12900 (notifications-close-notification-method): Fix docstring.
12901 (notifications-get-capabilities-method): New defconst.
12902 (notifications-notify): Add :action-items, :resident and
12903 :transient hints. Change "image_data" to "image-data" and
12904 "image_path" to "image-path".
12905 (notifications-get-capabilities): New defun.
12906
12907 2012-04-24 Leo Liu <sdl.web@gmail.com>
12908
12909 * progmodes/python.el: Move hideshow setup to the end.
12910
12911 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12912
12913 * window.el (handle-select-window): Clear echo area since this is
12914 no more done by read_char (Bug#11304).
12915
12916 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12919 and `/ M' to filter-derived-mode.
12920 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12921 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12922 (ibuffer-mark-by-mode): Use default rather than initial-input.
12923 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12924
12925 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12926
12927 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12928 (ibuffer-filter-by-derived-mode): New filter.
12929 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12930
12931 2012-04-23 Andreas Politz <politza@fh-trier.de>
12932
12933 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12934
12935 2012-04-23 Chong Yidong <cyd@gnu.org>
12936
12937 * cus-edit.el (customize-apropos, customize-apropos-options):
12938 Disable matching of non-option variables (Bug#11176).
12939 (customize-option, customize-option-other-window)
12940 (customize-changed-options): Doc fix.
12941 (customize-apropos-options, customize-apropos-faces)
12942 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12943
12944 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12945 Fix word list splitting (Bug#11132).
12946 (apropos-symbol, apropos-keybinding, apropos-label)
12947 (apropos-property, apropos-function-button)
12948 (apropos-variable-button, apropos-misc-button): New faces.
12949 (apropos-symbol-face, apropos-keybinding-face)
12950 (apropos-label-face, apropos-property-face, apropos-match-face):
12951 Variables removed (Bug#8396).
12952 (apropos-library-button, apropos-format-plist, apropos-print)
12953 (apropos-print-doc, apropos-describe-plist): Callers changed.
12954
12955 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12956
12957 * net/xesam.el (xesam-mode-map): Use let-bound map in
12958 initialization. (Bug#11292)
12959
12960 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12961
12962 Preserve ispell session localwords when switching back to
12963 original buffer.
12964
12965 * textmodes/ispell.el (ispell-buffer-session-localwords):
12966 New buffer-local variable to hold buffer session localwords.
12967 (ispell-kill-ispell): Add option 'clear to delete session
12968 localwords.
12969 (ispell-command-loop, ispell-change-dictionary)
12970 (ispell-buffer-local-words): Preserve session localwords when
12971 needed.
12972
12973 * textmodes/flyspell.el (flyspell-process-localwords)
12974 (flyspell-do-correct): Preserve session localwords when needed.
12975
12976 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12977
12978 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12979 using obsolete `translation-table-for-input'.
12980 (ispell-word, ispell-process-line, ispell-complete-word):
12981 Use plain `insert' instead of removed `ispell-insert-word'.
12982
12983 2012-04-22 Chong Yidong <cyd@gnu.org>
12984
12985 * cus-edit.el (custom-variable-menu)
12986 (custom-variable-reset-saved, custom-face-menu)
12987 (custom-face-reset-saved): If there is no saved value, make the
12988 "reset-saved" operation bring back the default (Bug#9509).
12989 (custom-face-state): Properly detect themed faces.
12990
12991 * faces.el (face-spec-set): Stop supporting deprecated form of
12992 third arg.
12993
12994 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12995
12996 Move functions from C to Lisp. Make non-blocking method calls
12997 the default. Implement further D-Bus standard interfaces.
12998
12999 * net/dbus.el (dbus-message-internal): Declare function.
13000 Remove unneeded function declarations.
13001 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13002 (dbus-message-type-method-return, dbus-message-type-error)
13003 (dbus-message-type-signal): Declare variables. Remove local
13004 definitions.
13005 (dbus-interface-dbus, dbus-interface-peer)
13006 (dbus-interface-introspectable, dbus-interface-properties)
13007 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13008 Adapt docstring.
13009 (dbus-interface-objectmanager): New defconst.
13010 (dbus-call-method, dbus-call-method-asynchronously)
13011 (dbus-send-signal, dbus-method-return-internal)
13012 (dbus-method-error-internal, dbus-register-service)
13013 (dbus-register-signal, dbus-register-method): New defuns, moved
13014 from dbusbind.c
13015 (dbus-call-method-handler, dbus-setenv)
13016 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13017 New defuns.
13018 (dbus-call-method-non-blocking): Make it an obsolete function.
13019 (dbus-unregister-object, dbus-unregister-service)
13020 (dbus-handle-event, dbus-register-property)
13021 (dbus-property-handler): Obey the new structure of
13022 `bus-registered-objects'.
13023 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13024 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13025 Use `dbus-call-method'.
13026
13027 2012-04-22 Chong Yidong <cyd@gnu.org>
13028
13029 * cus-edit.el (custom-commands, custom-reset-menu)
13030 (Custom-reset-standard): Tweak labels.
13031 (custom-reset-button-menu): Change default to t.
13032 (custom-buffer-create-internal): For the custom-reset-button-menu
13033 case, put the revert button first.
13034 (custom-group-subtitle): New face.
13035 (custom-group-value-create): Align docstring to a specific column.
13036
13037 * wid-edit.el (widget-documentation-link-add): Don't handle
13038 indentation in this function.
13039 (widget-documentation-string-indent-to): New function.
13040 (widget-documentation-string-value-create): Use it.
13041
13042 * autorevert.el (auto-revert):
13043 * epg-config.el (epg):
13044 * ibuffer.el (ibuffer):
13045 * mpc.el (mpc):
13046 * ses.el (ses):
13047 * eshell/eshell.el (eshell):
13048 * net/ange-ftp.el (ange-ftp):
13049 * progmodes/ebnf2ps.el (postscript):
13050 * progmodes/flymake.el (flymake):
13051 * progmodes/prolog.el (prolog):
13052 * progmodes/verilog-mode.el (verilog-mode):
13053 * progmodes/which-func.el (which-func):
13054 * term/xterm.el (xterm):
13055 * textmodes/picture.el (picture):
13056 * textmodes/tildify.el (tildify):
13057 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13058 customization buffers.
13059
13060 2012-04-22 Alan Mackenzie <acm@muc.de>
13061
13062 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13063 Adding a ) can hide the resulting (..) from searches. Fix it.
13064 Bound the backward search to the position of the existing (.
13065
13066 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13067
13068 * progmodes/verilog-mode.el (verilog-mode): Check whether
13069 which-func-modes is t before adding verilog-mode.
13070 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13071
13072 2012-04-21 Leo Liu <sdl.web@gmail.com>
13073
13074 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13075
13076 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13077
13078 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13079 filling of the last column of a table (Bug#5635).
13080 (woman-find-next-control-line): New arg, specifying an additional
13081 regexp component for the control line.
13082 (woman2-roff-buffer): Use it.
13083 (woman-break-table): New function.
13084 (woman2-TS): Use it.
13085
13086 2012-04-21 Chong Yidong <cyd@gnu.org>
13087
13088 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13089 (woman-horizontal-escapes, woman-negative-vertical-space)
13090 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13091 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13092
13093 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13094
13095 * minibuffer.el (completion-file-name-table): Complete user names.
13096
13097 2012-04-20 Leo Liu <sdl.web@gmail.com>
13098
13099 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13100 and pcase-let*.
13101
13102 2012-04-20 Chong Yidong <cyd@gnu.org>
13103
13104 * server.el (server-execute): Respect initial-buffer-choice if it
13105 is a string and there are no files to open (Bug#2825).
13106 (server-create-window-system-frame, server-create-tty-frame):
13107 Don't switch buffers here.
13108 (server-process-filter): Only try to open a window system frame if
13109 compiled with graphical support (Bug#8314).
13110
13111 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13112
13113 * battery.el (battery-echo-area-format): Display remaining time
13114 for sysfs backend too (Bug#11269).
13115 (battery-linux-sysfs): Fix conditional for the charge.
13116
13117 2012-04-20 Chong Yidong <cyd@gnu.org>
13118
13119 * progmodes/gdb-mi.el (gdb): Revert previous change.
13120 (gdb-inferior-io--init-proc): New function.
13121 (gdb-init-1): Use it.
13122 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13123 responsible for allocating a new pty and hooking it to gdb when
13124 the old pty gets an EIO due to process exit.
13125 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13126 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13127 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13128
13129 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13130
13131 * window.el (window-min-size, window-sizable, window-min-delta)
13132 (window-max-delta, window--resizable, window-resizable)
13133 (window-total-size, window-full-height-p, window-full-width-p)
13134 (window-in-direction, window--resize-mini-window, window-resize)
13135 (window--resize-child-windows-normal)
13136 (window--resize-child-windows, window--resize-siblings)
13137 (window--resize-this-window, adjust-window-trailing-edge)
13138 (enlarge-window, shrink-window): Doc fixes.
13139
13140 2012-04-20 Chong Yidong <cyd@gnu.org>
13141
13142 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13143 New function to call delete-process on the gdb-inferior buffer's pty.
13144 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13145 pty process (Bug#11273).
13146 (gdb-update): New arg to suppress talking to the gdb process.
13147 (gdb-done-or-error): Use it.
13148 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13149 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13150 sentinel not being called.
13151
13152 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13153
13154 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13155
13156 2012-04-20 Glenn Morris <rgm@gnu.org>
13157
13158 * net/network-stream.el (open-network-stream): Doc fix.
13159
13160 2012-04-20 Chong Yidong <cyd@gnu.org>
13161
13162 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13163
13164 2012-04-20 Alan Mackenzie <acm@muc.de>
13165
13166 Ensure searching for keywords is case sensitive.
13167
13168 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13169 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13170 (c-defun-name, c-mark-function, c-cpp-define-name)
13171 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13172 (c-context-line-break): Bind case-fold-search to nil.
13173
13174 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13175 Bind case-fold-search to nil.
13176
13177 2012-04-20 Chong Yidong <cyd@gnu.org>
13178
13179 * mail/sendmail.el (mail-bury): Call return action with the right
13180 Rmail buffer (Bug#11242).
13181
13182 * server.el (server-process-filter): Handle corner case where both
13183 tty and nowait options are present (Bug#11102).
13184
13185 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13186
13187 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13188 (top level): Put into the executable the ident-style '$Id:' tag on
13189 windows-nt as well.
13190
13191 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * electric.el (electric-indent-post-self-insert-function): Check that
13194 electric-indent-mode is enabled in current buffer.
13195
13196 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13197
13198 * imenu.el (imenu-progress-message): Restore; it is "used" in
13199 erc/erc-imenu.el and net/snmp-mode.el.
13200
13201 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13202
13203 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13204 (mouse-avoidance-nudge-mouse): Remove unused binding.
13205
13206 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13207
13208 * descr-text.el (describe-char):
13209 * progmodes/python.el (python-describe-symbol):
13210 Don't call `toggle-read-only', set `buffer-read-only'.
13211
13212 * imenu.el (imenu-default-goto-function): Mark unused args.
13213 (imenu-progress-message): Remove obsolete macro; all callers changed.
13214
13215 * subr.el (keymap-canonicalize): Remove unused binding.
13216 (read-passwd): Mark unused arg.
13217
13218 * tutorial.el (tutorial--display-changes): Remove unused binding.
13219 (tutorial--save-tutorial-to): Remove unused variable.
13220
13221 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13222 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13223 (package-generate-autoloads, package-menu--generate)
13224 (package-menu--find-upgrades): Remove unused bindings.
13225
13226 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13227 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13228 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13229 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13230 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13231 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13232 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13233 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13234 (cua-delete-char-rectangle): Mark unused args.
13235 (cua-align-rectangle): Remove unused binding.
13236
13237 * mail/rmail.el (compilation--message->loc)
13238 (epa--find-coding-system-for-mime-charset): Declare.
13239
13240 * net/dbus.el (dbus-register-service): Declare.
13241 (dbus-name-owner-changed-handler): Remove unused binding.
13242
13243 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13244 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13245 (nxml-scan-backward-within): Mark unused arg.
13246 (nxml-dynamic-markup-word): Remove unused binding.
13247
13248 * mouse.el (mouse-menu-major-mode-map):
13249 * emacs-lisp/authors.el (authors-scan-change-log)
13250 (authors-add-to-author-list):
13251 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13252 * emacs-lisp/smie.el (smie-auto-fill):
13253 * mail/sendmail.el (mail-bury):
13254 * mail/unrmail.el (unrmail):
13255 * net/tls.el (open-tls-stream):
13256 * textmodes/picture.el (picture-mouse-set-point):
13257 Remove unused bindings.
13258
13259 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13260
13261 * net/tramp.el (tramp-action-password): Let-bind
13262 `enable-recursive-minibuffers' to t.
13263
13264 2012-04-18 Sam Steingold <sds@gnu.org>
13265
13266 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13267 instead of 'string to accommodate values like [f11].
13268 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13269 * progmodes/gdb-mi.el: Likewise.
13270
13271 2012-04-18 Leo Liu <sdl.web@gmail.com>
13272
13273 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13274 current buffer.
13275 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13276 LOCAL is nil.
13277
13278 2012-04-18 Chong Yidong <cyd@gnu.org>
13279
13280 * simple.el (line-move): Use forward-line if in batch mode
13281 (Bug#11053).
13282
13283 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13284
13285 * files.el (after-find-file): Do not try to add a final newline if
13286 the buffer is read-only (Bug#11156).
13287
13288 2012-04-17 Richard Stallman <rms@gnu.org>
13289
13290 * mail/rmail.el (rmail-start-mail):
13291 Pass (rmail-mail-return...) for the return-action.
13292 Pass (rmail-yank-current-message...) for the yank-action.
13293 (rmail-yank-current-message): New function.
13294 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13295 (rmail-reply): Likewise.
13296 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13297
13298 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13299 buffer, not the last. Reject temp buffers. Use the rmail-mode
13300 buffer, not newbuf.
13301
13302 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * server.el (server-ensure-safe-dir): Simplify.
13305
13306 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13307
13308 * emacs-lisp/smie.el: Provide smarter auto-filling.
13309 (smie-auto-fill): New function.
13310 (smie-setup): Use it.
13311
13312 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13313
13314 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13315
13316 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13317 (comment-indent): Use it.
13318
13319 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13320
13321 * ses.el: The overall change is to add cell renaming, that is
13322 setting fancy names for cell symbols other than name matching
13323 "\\`[A-Z]+[0-9]+\\'" regexp .
13324 (ses-localvars): Add ses--renamed-cell-symb-list.
13325 (ses-create-cell-variable): New defun.
13326 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13327 (ses-relocate-formula): Relocate formulas only for cells the
13328 symbols of which are not renamed, i.e. symbols whose names do not
13329 match regexp "\\`[A-Z]+[0-9]+\\'".
13330 (ses-relocate-all): Relocate values only for cells the symbols of
13331 which are not renamed.
13332 (ses-load): Create cells variables as the (ses-cell ...) are read,
13333 in order to check row col consistency with cell symbol name only
13334 for cells that are not renamed.
13335 (ses-replace-name-in-formula): New defun.
13336 (ses-rename-cell): New defun.
13337
13338 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13339
13340 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13341 New option (bug#11118).
13342 (perl-calculate-indent): Respect it.
13343
13344 2012-04-17 Glenn Morris <rgm@gnu.org>
13345
13346 * dired-aux.el (dired-mark-read-string): Doc fix.
13347
13348 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13349
13350 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13351 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13352
13353 2012-04-17 Glenn Morris <rgm@gnu.org>
13354
13355 * mouse.el (mouse-drag-track):
13356 * speedbar.el (speedbar-frame-mode):
13357 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13358
13359 2012-04-16 Leo Liu <sdl.web@gmail.com>
13360
13361 * progmodes/python.el: Trivial cleanup.
13362
13363 2012-04-16 Glenn Morris <rgm@gnu.org>
13364
13365 * vc/vc.el (vc-string-prefix-p):
13366 * vc/pcvs-util.el (cvs-string-prefix-p):
13367 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13368 * mpc.el (mpc-string-prefix-p):
13369 Make all of these into obsolete aliases for string-prefix-p.
13370 Update callers.
13371 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13372
13373 * textmodes/two-column.el: Move custom options to the start.
13374 (frame-width): Remove compat definition.
13375 (2C-associate-buffer, 2C-dissociate):
13376 Use with-current-buffer rather than save-excursion.
13377 (2C-dissociate): Force a mode-line update.
13378 (2C-autoscroll): Use ignore-errors.
13379
13380 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13381 Autoload trivia.
13382
13383 * emacs-lisp/cl-extra.el (*random-state*):
13384 Remove unnecessary declaration.
13385
13386 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13387
13388 * play/cookie1.el (cookie-snarf):
13389 Give an explicit error if input file cannot be read.
13390
13391 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13392
13393 * progmodes/perl-mode.el (c-macro-expand):
13394 Remove unnecessary autoload (it is in loaddefs.el).
13395
13396 * textmodes/picture.el (picture-desired-column)
13397 (picture-update-desired-column): Convert comments to doc-strings.
13398 (picture-substitute): Remove function.
13399 (picture-mode-map): Initialize in the defvar.
13400
13401 * woman.el: Remove eval-after-load for tar-mode.
13402 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13403 (woman-tar-extract-file): Autoload it.
13404
13405 * frame.el (automatic-hscrolling): Make this alias obsolete.
13406
13407 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13408
13409 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13410 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13411 (ispell-dictionary-base-alist): Revert to original XEmacs
13412 friendly version for default. [:alpha:] will be added in
13413 `ispell-set-spellchecker-params' if needed.
13414
13415 2012-04-16 Chong Yidong <cyd@gnu.org>
13416
13417 * image.el (imagemagick--file-regexp): New variable.
13418 (imagemagick-register-types): Use it.
13419 (imagemagick-types-inhibit): Add :set function. Allow new value
13420 of t to inhibit all types.
13421
13422 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13423 so we can preload it.
13424
13425 * loadup.el (fboundp): Preload regexp-opt, needed by
13426 imagemagick-register-types.
13427
13428 2012-04-15 Chong Yidong <cyd@gnu.org>
13429
13430 * frame.el (scrolling): Remove nearly unused customization group.
13431
13432 * scroll-all.el (scroll-all-mode): Move to windows group.
13433
13434 2012-04-15 Chong Yidong <cyd@gnu.org>
13435
13436 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13437
13438 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13441 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13442
13443 2012-04-15 Glenn Morris <rgm@gnu.org>
13444
13445 * simple.el (process-file-side-effects): Doc fix.
13446
13447 2012-04-15 Glenn Morris <rgm@gnu.org>
13448
13449 * international/mule-cmds.el (set-language-environment): Doc fix.
13450
13451 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13452
13453 * server.el (server-auth-key, server-generate-key): Doc fixes.
13454 (server-get-auth-key): Doc fix. Use `string-match-p'.
13455 (server-start): Reflow docstring.
13456
13457 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13458
13459 * server.el (server-generate-key): `called-interactively-p'
13460 requires a parameter.
13461
13462 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13463
13464 * server.el (server-auth-key): New variable.
13465 (server-generate-key, server-get-auth-key): New function.
13466 (server-start): Use the new variable and functions to allow
13467 setting a permanent server key (bug#9423).
13468
13469 2012-04-14 Leo Liu <sdl.web@gmail.com>
13470
13471 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13472
13473 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13474
13475 Spelling fixes.
13476 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13477 Emacs uses American spelling.
13478
13479 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13480
13481 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13482 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13483 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13484 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13485
13486 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * progmodes/which-func.el (which-func-modes): Change default.
13489
13490 2012-04-14 Kim F. Storm <storm@cua.dk>
13491
13492 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13493 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13494
13495 2012-04-14 Chong Yidong <cyd@gnu.org>
13496
13497 * custom.el (custom-theme-set-variables): Doc fix.
13498
13499 2012-04-14 Glenn Morris <rgm@gnu.org>
13500
13501 * international/mule.el (set-auto-coding-for-load): Doc fix.
13502
13503 2012-04-14 Alan Mackenzie <acm@muc.de>
13504
13505 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13506 imenu work again for Objective C Mode. Correct the *-index values,
13507 these having been disturbed by a previous change in 2011-08.
13508
13509 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13510 Correct two search limits.
13511
13512 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13515
13516 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13517
13518 * international/characters.el: Fix sorting.
13519
13520 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13521
13522 * international/characters.el: Add more missing Latin case pairs.
13523
13524 2012-04-14 Glenn Morris <rgm@gnu.org>
13525
13526 * files.el (dir-locals-set-class-variables): Doc fix.
13527
13528 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13529
13530 * international/characters.el: Add set-case-syntax-pair call for
13531 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13532 counterpart. (Bug#11209)
13533
13534 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13535
13536 2012-04-14 Glenn Morris <rgm@gnu.org>
13537
13538 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13539
13540 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13541
13542 * textmodes/ispell.el (ispell-dictionary-base-alist):
13543 Add data for Hebrew.
13544
13545 2012-04-14 Chong Yidong <cyd@gnu.org>
13546
13547 * net/rcirc.el (rcirc-cmd-quit):
13548 Revert 2012-03-18 change (Bug#11192).
13549
13550 2012-04-14 Glenn Morris <rgm@gnu.org>
13551
13552 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13553
13554 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13555
13556 * minibuffer.el (completion-in-region-mode-map):
13557 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13558
13559 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13560
13561 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13562
13563 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13564
13565 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13566 to allow `C-M-f' and `C-M-b' to move to the nearest path
13567 separator (bug#9511).
13568
13569 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13570
13571 * avoid.el: Require cl when compiling. And also move the
13572 `provide' to the end.
13573
13574 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13575
13576 * avoid.el (mouse-avoidance-banish-position): New variable.
13577 (mouse-avoidance-banish-destination): Use it (bug#10165).
13578
13579 2012-04-13 Leo Liu <sdl.web@gmail.com>
13580
13581 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13582
13583 2012-04-13 Ken Brown <kbrown@cornell.edu>
13584
13585 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13586 this is no longer needed now that cygstart understands file:// URLs.
13587 (browse-url-filename-alist): For the same reason, don't modify
13588 file:// URLs on Cygwin.
13589
13590 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13593 the region on shift if the binding is already shifted (bug#11221).
13594
13595 2012-04-12 Glenn Morris <rgm@gnu.org>
13596
13597 * mail/mailpost.el: Move to obsolete/.
13598
13599 2012-04-12 Drew Adams <drew.adams@oracle.com>
13600
13601 * imenu.el (imenu--generic-function): Ignore invisible definitions
13602 (bug#10123).
13603
13604 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13605
13606 * hexl.el (hexl-bits): New variable.
13607 (hexl-options): Mention the variable in the doc string.
13608 (hexl-rulerise, hexl-line-displen): New functions.
13609 (hexl-mode): Mention the new variable.
13610 (hexl-mode, hexl-current-address, hexl-current-address):
13611 Use the displen.
13612 (hexl-ascii-start-column): New function.
13613 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13614 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13615
13616 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13617
13618 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13619 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13620 the encoding, as expected by hunspell.
13621
13622 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * battery.el (battery--linux-sysfs-regexp): New const.
13625 (battery-status-function): Use it. Remove yeeloong special case.
13626 (battery-yeeloong-sysfs): Remove.
13627 (battery-echo-area-format): Remove yeeloong special case.
13628
13629 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13630
13631 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13632 Reported by Noah Friedman.
13633
13634 * subr.el (read-passwd): Use read-string.
13635
13636 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13637
13638 * vcursor.el (vcursor-move): Increase the priority of the overlay
13639 (bug#9663).
13640
13641 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13642
13643 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13644 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13645
13646 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13647
13648 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13649 define-minor-mode (bug#10760).
13650
13651 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13652
13653 * progmodes/grep.el (rgrep): Tweak the find command line so
13654 that directories matching `grep-find-ignored-files' won't be
13655 pruned (bug#10351).
13656
13657 2012-04-11 Chong Yidong <cyd@gnu.org>
13658
13659 * startup.el (command-line): Remove support for long-obsolete
13660 variable font-lock-face-attributes.
13661
13662 2012-04-11 Glenn Morris <rgm@gnu.org>
13663
13664 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13665
13666 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * window.el (window--state-get-1): Obey window-point-insertion-type.
13669
13670 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13671
13672 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13673 to previous function when point is on the first character of a
13674 function. Take care of that in `narrow-to-defun' (bug#6157).
13675
13676 2012-04-11 Glenn Morris <rgm@gnu.org>
13677
13678 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13679 not just file-errors.
13680
13681 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13682 (vc-bzr-sha1): Use internal sha1.
13683
13684 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13685
13686 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13687
13688 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13689
13690 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13691 that start in the middle of the line (bug#10496).
13692
13693 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13694
13695 * battery.el (battery-linux-proc-acpi): Only one battery is
13696 discharged at a time, but that seems to confuse battery.el when
13697 computing `rate-type' for the battery not being discharged
13698 (bug#10332).
13699
13700 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13703
13704 * international/quail.el: Use dolist and simplify.
13705 (quail-define-package, quail-update-keyboard-layout)
13706 (quail-define-rules): Use dolist.
13707 (quail-insert-kbd-layout, quail-get-translation): CSE.
13708
13709 * tmm.el: Use dolist, remove left over hook.
13710 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13711 Use dolist.
13712 (calendar-load-hook): Don't mess with it.
13713
13714 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13715 Use derived-mode-p. Run the diff asynchronously.
13716
13717 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13718
13719 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13720
13721 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13722
13723 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13724 (list-dynamic-libraries--loaded): New function.
13725 (list-dynamic-libraries--refresh): Use it.
13726
13727 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13728
13729 * progmodes/python.el (python-fill-paragraph):
13730 Make python-fill-region in a multiline string work when font-lock is
13731 disabled (bug#7018).
13732
13733 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13734
13735 * language/european.el (cp775): Add oem/legacy (en)coding on
13736 DOS/MS Windows for the Baltic languages. There are still plenty
13737 of texts written in this encoding/codepage (bug#6519).
13738
13739 2012-04-10 Glenn Morris <rgm@gnu.org>
13740
13741 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13742 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13743
13744 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13745
13746 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13747 next-line "n" and previous-line "p" in order to make recentf more
13748 consistent with ibuffer, dired or org-mode (bug#9387).
13749
13750 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13751
13752 * image.el (put-image): Return the overlay created instead of the
13753 optional input string (bug#7834). Note that this may break code
13754 that is (for some reason or other) depending on `put-image'
13755 returning the string.
13756
13757 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13758
13759 * simple.el (zap-to-char): Allow zapping using input methods
13760 (bug#1580).
13761
13762 * textmodes/fill.el (fill-region): Leave point and mark where they
13763 were before filling (bug#5399).
13764
13765 2012-04-09 Glenn Morris <rgm@gnu.org>
13766
13767 * version.el (emacs-bzr-get-version):
13768 Handle lightweight checkouts of local branches.
13769
13770 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13771
13772 * international/characters.el: Recover lost case pairs. (Bug#11209)
13773
13774 2012-04-09 Chong Yidong <cyd@gnu.org>
13775
13776 * custom.el (custom-variable-p): Return nil for non-symbol
13777 arguments instead of signaling an error.
13778 (user-variable-p): Obsolete alias for custom-variable-p.
13779
13780 * apropos.el (apropos-variable):
13781 * files-x.el (read-file-local-variable):
13782 * simple.el (set-variable):
13783 * woman.el (woman-mini-help):
13784 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13785
13786 2012-04-09 Glenn Morris <rgm@gnu.org>
13787
13788 * startup.el (normal-top-level): Don't look for leim-list.el
13789 in places where it will not be found. (Bug#910)
13790
13791 * international/mule-cmds.el (set-default-coding-systems):
13792 * files.el (normal-mode):
13793 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13794 This function was removed with ucs-tables.el in 2008.
13795
13796 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13797
13798 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13799 ispell-encoding8-command to "-i", without a trailing space.
13800 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13801 separate command-line arguments, to specify the encoding, since
13802 that's how hunspell expects it.
13803
13804 2012-04-08 Glenn Morris <rgm@gnu.org>
13805
13806 * loadup.el: Load bindings before cus-start.
13807 This reduces somewhat the number of "rogue" settings in emacs -Q.
13808
13809 2012-04-07 Glenn Morris <rgm@gnu.org>
13810
13811 * version.el (emacs-bzr-get-version): New function.
13812 (emacs-bzr-version): New variable.
13813 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13814 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13815
13816 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13817
13818 * international/uni-bidi.el, international/uni-category.el:
13819 * international/uni-combining.el, international/uni-decimal.el:
13820 * international/uni-decomposition.el, international/uni-digit.el:
13821 * international/uni-lowercase.el, international/uni-mirrored.el:
13822 * international/uni-name.el, international/uni-numeric.el:
13823 * international/uni-titlecase.el, international/uni-uppercase.el:
13824 Update for Unicode 6.1.
13825
13826 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13827
13828 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13829
13830 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13831
13832 * window.el (shrink-window): Mention the `window-min-height'
13833 variable in the doc string.
13834
13835 2012-04-05 Bastien Guerry <bzg@altern.org>
13836
13837 * color.el (color-lighten-name): Fix typo.
13838
13839 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * server.el (server--on-display-p): New function.
13842 (server--on-display-p): Use it.
13843
13844 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13845
13846 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13847 (bug#11145).
13848
13849 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13850
13851 * comint.el (comint--common-quoted-suffix): Check string boundary
13852 before comparing (bug#11158).
13853 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13854
13855 2012-04-04 Chong Yidong <cyd@gnu.org>
13856
13857 * minibuffer.el (completion-extra-properties): Doc fix.
13858
13859 * subr.el (delayed-warnings-hook): Doc fix.
13860
13861 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13862
13863 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13864 selection (Bug#11159).
13865 (epa-insert-keys): Inform that the default public key will be
13866 exported if no key is selected.
13867
13868 2012-04-04 Richard Stallman <rms@gnu.org>
13869
13870 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13871
13872 2012-04-03 Chong Yidong <cyd@gnu.org>
13873
13874 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13875 mail-insert-file, not its obsolete alias mail-attach-file.
13876
13877 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13878
13879 * notifications.el (notifications-notify): Fix docstring.
13880
13881 2012-04-02 Glenn Morris <rgm@gnu.org>
13882
13883 * emacs-lisp/authors.el (authors-aliases): Another addition.
13884
13885 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13886
13887 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13888 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13889 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13890
13891 2012-04-01 Chong Yidong <cyd@gnu.org>
13892
13893 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13894 Handle root directory properly.
13895 (copy-directory): Caller changed.
13896
13897 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13898 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13899
13900 2012-03-31 Glenn Morris <rgm@gnu.org>
13901
13902 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13903
13904 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13905
13906 * calendar/calendar.el (calendar-window-list)
13907 (calendar-hide-window): Restore. (Bug#11140)
13908 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13909
13910 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13911
13912 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13913
13914 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13915 Check if file is a symlink (Bug#10489).
13916
13917 * files.el (copy-directory): Likewise.
13918
13919 2012-03-30 Chong Yidong <cyd@gnu.org>
13920
13921 * image.el (imagemagick-types-inhibit)
13922 (imagemagick-register-types): Doc fix.
13923
13924 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13925
13926 * textmodes/ispell.el (ispell-get-extended-character-mode):
13927 Disable extended-char-mode for hunspell. hunspell does not support it
13928 and treats ~word as ordinary words in pipe mode.
13929
13930 2012-03-30 Glenn Morris <rgm@gnu.org>
13931
13932 * tutorial.el (help-with-tutorial): Ensure local variables don't
13933 happen to make the buffer read-only. (Bug#11127)
13934
13935 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13938 (perl-calculate-indent): Return `noindent' in strings.
13939
13940 2012-03-28 Sam Steingold <sds@gnu.org>
13941
13942 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13943 instead of the broken adhockery which does not prevent calendar
13944 buffers from being displayed at random after exit.
13945 (calendar-window-list, calendar-hide-window): Remove the broken
13946 adhockery.
13947
13948 2012-03-28 Glenn Morris <rgm@gnu.org>
13949
13950 * replace.el (query-replace-map): Doc fix.
13951
13952 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13953
13954 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13955 contents. (Bug#11109)
13956
13957 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13958
13959 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13960 (bug#11077).
13961 (avl-tree--check, avl-tree--check-node): New funs.
13962
13963 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13964
13965 * window.el (switch-to-visible-buffer): New option.
13966 (switch-to-prev-buffer, switch-to-next-buffer):
13967 Observe switch-to-visible-buffer. Make sure that checking for a window
13968 showing a buffer already is done on the same frame.
13969
13970 2012-03-27 Glenn Morris <rgm@gnu.org>
13971
13972 * startup.el (mail-host-address): Doc fix.
13973
13974 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13977 than 197 variables.
13978
13979 2012-03-26 Ami Fischman <ami@fischman.org>
13980
13981 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13982
13983 2012-03-26 Glenn Morris <rgm@gnu.org>
13984
13985 * files.el (save-buffers-kill-emacs): Doc fix.
13986
13987 * startup.el (normal-top-level, command-line, command-line-1):
13988 Give them doc strings.
13989
13990 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13991
13992 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13993 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13994
13995 2012-03-25 Chong Yidong <cyd@gnu.org>
13996
13997 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13998 theme if it was previously enabled before (Bug#11031).
13999
14000 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14001 spec with custom-face-get-current-spec if its :shown-value is not
14002 determined yet (Bug#9337).
14003 (customize-create-theme, custom-theme-revert): Doc fixes.
14004
14005 * button.el (button-at): Minor addition to docstring.
14006
14007 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14008
14009 * vc/vc.el (vc-merge): Fix a prompt.
14010
14011 2012-03-24 Chong Yidong <cyd@gnu.org>
14012
14013 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14014 point (Bug#9623).
14015
14016 * button.el (button-at): Minor addition to docstring.
14017
14018 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14019
14020 * newcomment.el (comment-choose-indent): No space after BOL.
14021
14022 2012-03-22 Sam Steingold <sds@gnu.org>
14023
14024 * window.el (switch-to-prev-buffer): Revert last patch because the
14025 bug turned out to be an advertised feature (Elisp manual 28.14).
14026
14027 2012-03-22 Glenn Morris <rgm@gnu.org>
14028
14029 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14030 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14031
14032 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14033
14034 * net/network-stream.el (network-stream-open-starttls): Make error
14035 message under Windows be less misleading.
14036
14037 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14038
14039 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14040 understands (bug#9942).
14041
14042 2012-03-22 Chong Yidong <cyd@gnu.org>
14043
14044 * simple.el (end-of-visible-line): Handle return value of
14045 next-single-property-change properly (Bug#9371).
14046
14047 2012-03-22 Kenichi Handa <handa@m17n.org>
14048
14049 * international/quail.el (quail-insert-kbd-layout): Fix previous
14050 change. To avoid unwanted bidi reordering, use
14051 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14052
14053 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14054
14055 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14056 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14057 (ruby-beginning-of-indent): Be more careful with the difference
14058 between word-boundary and symbol boundary.
14059 (ruby-mode-syntax-table): Make : a symbol constituent.
14060
14061 2012-03-21 Andreas Politz <politza@fh-trier.de>
14062
14063 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14064
14065 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * progmodes/etags.el (tags-completion-at-point-function):
14068 Improve last fix.
14069
14070 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14071
14072 2012-03-21 Sam Steingold <sds@gnu.org>
14073
14074 * progmodes/etags.el (tags-completion-at-point-function):
14075 Avoid the error when point is inside the pattern.
14076
14077 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14078
14079 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14080 line (Bug#10855).
14081
14082 2012-03-21 Drew Adams <drew.adams@oracle.com>
14083
14084 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14085
14086 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14087
14088 * ido.el (ido-set-current-directory, ido-read-internal)
14089 (ido-choose-completion-string, ido-completion-help): Handle nil
14090 value of ido-completion-buffer (Bug#11008).
14091
14092 2012-03-21 Sam Steingold <sds@gnu.org>
14093
14094 * window.el (switch-to-prev-buffer): Do not switch to a visible
14095 window previous buffer, just like with the frame previous buffers.
14096
14097 2012-03-21 Chong Yidong <cyd@gnu.org>
14098
14099 * faces.el (make-face, make-empty-face, copy-face):
14100 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14101 Doc fixes.
14102
14103 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14104
14105 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14106 (widget-complete): Remove broken use of it.
14107
14108 2012-03-20 Chong Yidong <cyd@gnu.org>
14109
14110 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14111 Use string-width and truncate-string-width to handle arbitrary
14112 characters.
14113
14114 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14115
14116 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14117 to draw rectangles, not squares. (Regression introduced by revno
14118 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14119
14120 2012-03-18 Chong Yidong <cyd@gnu.org>
14121
14122 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14123 it is not yet defined (for temacs).
14124
14125 2012-03-18 Leo Liu <sdl.web@gmail.com>
14126
14127 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14128 prefix.
14129
14130 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14131
14132 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14133 (ispell-choices-win-default-height, ispell-silently-savep)
14134 (ispell-dictionary-alist, ispell-encoding8-command)
14135 (ispell-check-version, ispell-aspell-find-dictionary)
14136 (ispell-valid-dictionary-list, ispell-words-keyword)
14137 (ispell-get-word, ispell-internal-change-dictionary)
14138 (ispell-region, ispell-skip-region-list)
14139 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14140 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14141 (ispell-message-text-end, ispell-message)
14142 (ispell-buffer-local-parsing): Doc fix.
14143
14144 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14145
14146 * htmlfontify.el: Add support for code block fontification for ODT
14147 export (Bug #9914).
14148 (hfy-optimisations): Define new option
14149 `body-text-only'
14150 (hfy-fontify-buffer): Honor above setting.
14151 (hfy-begin-span, hfy-end-span): New routines factored out form
14152 `hfy-fontify-buffer'.
14153 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14154 that permit insertion of custom tags.
14155 (hfy-fontify-buffer): Use above handlers.
14156 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14157 (hfy-face-to-css): Re-defined to be a variable.
14158 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14159 over multiple runs. This is made possible by having the caller let
14160 bind a special variable `hfy-user-sheet-assoc'.
14161 (htmlfontify-string): New defun.
14162 (hfy-compile-face-map): Make sure that the last char in the
14163 buffer is correctly fontified.
14164 (hfy-face-resolve-face): Whitespace only change.
14165
14166 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14167
14168 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14169 message more clear.
14170
14171 2012-03-16 Leo Liu <sdl.web@gmail.com>
14172
14173 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14174
14175 2012-03-16 Alan Mackenzie <acm@muc.de>
14176
14177 Further optimize the handling of large macros.
14178
14179 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14180 limit to a call of `c-literal-limits'.
14181 (c-determine-+ve-limit): New function.
14182 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14183 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14184 In CASE 5B, restrict a search limit to 500.
14185 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14186
14187 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14188 Restrict macro bounds to +-500 from after-change's BEG END.
14189
14190 2012-03-16 Leo Liu <sdl.web@gmail.com>
14191
14192 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14193
14194 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14195
14196 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14197 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14198
14199 2012-03-16 Glenn Morris <rgm@gnu.org>
14200
14201 * view.el (view-buffer, view-buffer-other-window)
14202 (view-buffer-other-frame): Doc fixes re special mode-class.
14203
14204 * subr.el (eval-after-load): If named feature is provided not from
14205 a file, run after-load forms. (Bug#10946)
14206
14207 * calendar/calendar.el (calendar-insert-at-column):
14208 Handle non-unit-width characters a bit better. (Bug#10978)
14209
14210 2012-03-15 Chong Yidong <cyd@gnu.org>
14211
14212 * emacs-lisp/ring.el (ring-extend): New function.
14213 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14214
14215 * comint.el (comint-read-input-ring)
14216 (comint-add-to-input-history): Grow comint-input-ring lazily.
14217
14218 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14221 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14222
14223 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14224 (imenu-add-to-menubar): Don't add a redundant index.
14225 (imenu-update-menubar): Handle a dynamically composed keymap.
14226
14227 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14228
14229 * mail/sendmail.el (mail-encode-header):
14230 Bind rfc2047-encode-encoded-words to nil.
14231
14232 2012-03-13 Glenn Morris <rgm@gnu.org>
14233
14234 * calendar/calendar.el (calendar-string-spread):
14235 Handle non-unit-width characters a bit better. (Bug#10978)
14236
14237 2012-03-13 Leo Liu <sdl.web@gmail.com>
14238
14239 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14240 directory and file as argument (Bug#10822).
14241
14242 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14243
14244 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14245 For dynamically generated code, follow $PC.
14246 (gdb-disassembly-handler-custom): Handle no function name case.
14247
14248 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14249
14250 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14251 * emulation/ws-mode.el (ws-query-replace):
14252 * sort.el (sort-regexp-fields):
14253 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14254
14255 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * dabbrev.el: Fix cycle completion order (bug#10963).
14258 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14259 (dabbrev-completion): Don't use an obarray; provide
14260 a cycle-sort-function.
14261
14262 2012-03-12 Leo Liu <sdl.web@gmail.com>
14263
14264 * simple.el (kill-new): Use equal-including-properties for comparison.
14265 (kill-do-not-save-duplicates): Doc fix.
14266
14267 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14268
14269 * dabbrev.el: Fix cycle completion (bug#10963).
14270 Use lexical binding and wrap to 80 columns.
14271 (dabbrev-completion): Delay computing the list of completions.
14272
14273 2012-03-12 Kenichi Handa <handa@m17n.org>
14274
14275 * international/quail.el (quail-insert-kbd-layout): Surround each
14276 row by LRO and PDF instead of inserting many LRMs. Pad the left
14277 and right of each non-spacing marks. Insert invisible space
14278 between lower and upper characters to prevent composition.
14279
14280 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * minibuffer.el (minibuffer-complete): Don't get confused when the
14283 function is run twice via different commands (bug#10958).
14284 (complete-with-action): Fix docstring.
14285
14286 2012-03-12 Chong Yidong <cyd@gnu.org>
14287
14288 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14289 (nxml-completion-at-point-function): New function.
14290 (nxml-mode): Use it.
14291 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14292
14293 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14294 Load generated autoloads file before byte compiling (Bug#10970).
14295 (package--make-autoloads-and-compile): New helper fun.
14296
14297 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14298
14299 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14300
14301 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14302
14303 * autorevert.el (auto-revert-handler): Ensure, that
14304 file-readable-p is applied only for local files or in
14305 auto-revert-tail-mode.
14306
14307 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14308
14309 * server.el (server-eval-at): Handle non-tcp connections.
14310 Decode result string.
14311
14312 * server.el (server-msg-size): New constant.
14313 (server-reply-print): New function.
14314 (server-eval-and-print): Use it.
14315 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14316 Handle -print-nonl.
14317
14318 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14319
14320 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14321 (Bug#10987).
14322
14323 2012-03-11 Chong Yidong <cyd@gnu.org>
14324
14325 * simple.el (goto-line): Doc fix (Bug#9938).
14326
14327 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14328
14329 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14330 when finished (Bug#10963).
14331
14332 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14333
14334 * window.el (split-window-below): Fix bug in case where
14335 split-window-keep-point is nil (Bug#10971).
14336
14337 2012-03-11 Juri Linkov <juri@jurta.org>
14338
14339 * replace.el (replace-highlight): Set isearch-word to nil
14340 unconditionally. (Bug#10887)
14341
14342 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14343
14344 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14345 mairix-replace-illegal-chars; all callers changed. Don't remove
14346 ^, ~, and = characters: they are meaningful in mairix search specs.
14347 (mairix-widget-create-query): Add usage information about mairix
14348 search forms: negating words, searching for substrings, etc.
14349
14350 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14351
14352 * international/fontset.el (font-encoding-alist): Add an entry for
14353 ksx1001 (Bug#5667).
14354
14355 2012-03-10 Richard Stallman <rms@gnu.org>
14356
14357 * mail/sendmail.el (mail-encode-header):
14358 Set rfc2047-encode-encoded-words.
14359
14360 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14361
14362 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14363 view buffer means not swapped.
14364 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14365 (rmail-write-region-annotate): Error if real text has disappeared.
14366
14367 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14368
14369 2012-03-10 Chong Yidong <cyd@gnu.org>
14370
14371 * emulation/cua-rect.el (cua--init-rectangles):
14372 * emulation/cua-base.el (cua--init-keymaps):
14373 Add delete-forward-char to remappings (Bug#9666).
14374
14375 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14376
14377 * speedbar.el (speedbar-unhighlight-one-tag-line):
14378 Avoid unhighlighting due to frame switching (Bug#10275).
14379
14380 2012-03-10 Chong Yidong <cyd@gnu.org>
14381
14382 * minibuffer.el (completion-in-region, completion-help-at-point):
14383 Give the completion field overlay a high priority (Bug#6830).
14384
14385 * dired.el (dired-goto-file): Recognize absolute file name
14386 listings (Bug#7126).
14387 (dired-goto-file-1): New helper function.
14388 (dired-toggle-read-only): Inhibit warnings.
14389
14390 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14391
14392 * net/dbus.el (dbus-property-handler): Return empty array if
14393 there are no properties.
14394
14395 2012-03-09 Leo Liu <sdl.web@gmail.com>
14396
14397 * savehist.el (savehist-printable): Stricter check for string
14398 value (Bug#10937).
14399
14400 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14401
14402 * mail/smtpmail.el (smtpmail-send-it):
14403 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14404 valid mbox format.
14405
14406 2012-03-09 Glenn Morris <rgm@gnu.org>
14407
14408 * files.el (dir-locals-find-file):
14409 Don't check result is regular, readable.
14410 (dir-locals-read-from-file): Demote errors.
14411
14412 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14413
14414 * international/quail.el (quail-insert-kbd-layout):
14415 Insert invisible LRM characters before each character in a keyboard
14416 layout cell, to prevent their reordering by bidi display engine.
14417 For details, see the discussion in
14418 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14419
14420 2012-03-08 Alan Mackenzie <acm@muc.de>
14421
14422 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14423 the starting position; make it extend the marked region when
14424 invoked repeatedly - all under appropriate circumstances.
14425 Fixes bugs #5525, #10906.
14426
14427 2012-03-08 Glenn Morris <rgm@gnu.org>
14428
14429 * files.el (locate-dominating-file, dir-locals-find-file):
14430 Undo 2012-03-06 change.
14431
14432 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14433
14434 * international/quail.el (quail-help):
14435 Force bidi-paragraph-direction be left-to-right. See discussion in
14436 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14437 for the reason.
14438
14439 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14440
14441 Avoid superfluous registering of signals. (Bug#10807)
14442
14443 * notifications.el (notifications-on-action-object)
14444 (notifications-on-close-object): New defvars.
14445 (notifications-on-action-signal, notifications-on-closed-signal):
14446 Unregister the signal if not needed any longer.
14447 (notifications-notify): Register `notifications-action-signal' or
14448 `notifications-closed-signal', if :on-action or :on-close has been
14449 passed as argument.
14450
14451 2012-03-07 Chong Yidong <cyd@gnu.org>
14452
14453 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14454 non-X platforms.
14455
14456 2012-03-06 Glenn Morris <rgm@gnu.org>
14457
14458 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14459 (x-disown-selection-internal, x-get-selection-internal):
14460 Doc fix (add arglist signatures). (Bug#10783)
14461
14462 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14463
14464 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14465 Handle breakpoints with no "type".
14466
14467 2012-03-06 Glenn Morris <rgm@gnu.org>
14468
14469 * files.el (locate-dominating-file): Add optional predicate argument.
14470 (dir-locals-find-file): Make use of above change.
14471
14472 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14473
14474 * info.el (Info-insert-dir): Also try "dir.gz".
14475
14476 2012-03-06 Glenn Morris <rgm@gnu.org>
14477
14478 * files.el (dir-locals-find-file):
14479 Ignore non-readable or non-regular files. (Bug#10928)
14480
14481 * files.el (locate-dominating-file): Doc fix.
14482
14483 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14484
14485 * calendar/calendar.el (calendar-set-mode-line):
14486 `getenv' returns a string. (Bug#10951)
14487
14488 2012-03-05 Leo Liu <sdl.web@gmail.com>
14489
14490 * simple.el (backward-delete-char-untabify): Constrain point to
14491 field (Bug#10939).
14492
14493 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14494
14495 2012-03-05 Chong Yidong <cyd@gnu.org>
14496
14497 * simple.el (count-words): If called from Lisp, return the word
14498 count, for symmetry with `count-lines'. Arglist changed.
14499 (count-words--message): Args changed. Consolidate counting code
14500 from count-words and count-words-region.
14501 (count-words-region): Caller changed.
14502 (count-lines-region): Make it an obsolete alias.
14503
14504 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14505
14506 * saveplace.el (save-place-to-alist)
14507 (save-place-ignore-files-regexp): Allow value nil to disable this
14508 feature.
14509
14510 2012-03-04 Chong Yidong <cyd@gnu.org>
14511
14512 * faces.el (face-spec-reset-face): For the default face, reset the
14513 attributes to default values (Bug#10748).
14514
14515 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14516
14517 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14518 previous patch: Check `message-send-mail-function', and not the
14519 default function (bug#10897).
14520
14521 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14522
14523 * notifications.el (notifications-on-action-signal)
14524 (notifications-on-closed-signal): Check for unique service name of
14525 incoming event. Fix error in removing entry.
14526 (top): Register for signals with wildcard service name.
14527 (notifications-notify): Use daemon unique service name for map entries.
14528
14529 2012-03-04 Chong Yidong <cyd@gnu.org>
14530
14531 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14532
14533 2012-03-04 Glenn Morris <rgm@gnu.org>
14534
14535 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14536 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14537 (expand-abbrev, define-abbrev-table): Doc fixes.
14538
14539 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14540
14541 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14542 `message-default-send-mail-function' and not `send-mail-function'
14543 when doing the prompting for `sendmail-query-once' before sending
14544 in Message buffers (bug#10897).
14545
14546 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14547 This is inconsistent with all the other stream functions, which leave
14548 the setting up to the higher levels (if so wanted) (bug#10931).
14549
14550 2012-03-02 Alan Mackenzie <acm@muc.de>
14551
14552 Depessimize the handling of very large macros.
14553
14554 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14555 (c-macro-cache-syntactic): New variables to implement a one
14556 element macro cache.
14557 (c-invalidate-macro-cache): New function.
14558 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14559 Adapt to use the new cache.
14560 (c-state-safe-place): Use better the cache of safe positions.
14561 (c-state-semi-nonlit-pos-cache)
14562 (c-state-semi-nonlit-pos-cache-limit):
14563 New variables for...
14564 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14565 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14566 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14567 Use c-state-semi-safe-place.
14568
14569 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14570 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14571
14572 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14573
14574 * jka-compr.el (jka-compr-call-process):
14575 Apply `file-accessible-directory-p' only when the default directory is
14576 not remote.
14577
14578 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14579
14580 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14581 access of FILE2, if FILE1 does not exist.
14582
14583 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14584 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14585
14586 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14587 Add "PAGER=" to `process-environment'.
14588
14589 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14590
14591 * progmodes/sql.el: Bug fix
14592 (sql-get-login-ext): Save login values in globals.
14593 (sql-get-login): Use new version of `sql-get-login-ext'.
14594 (sql-interactive-mode): Set global `sql-connection' to nil.
14595 (sql-connect): Set global values for connection.
14596 (sql-product-interactive): Save global values as buffer local.
14597
14598 2012-02-29 Leo Liu <sdl.web@gmail.com>
14599
14600 * abbrev.el (define-abbrevs): Reset sys to nil.
14601
14602 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14603
14604 * files.el (file-equal-p): Rename from `files-equal-p'.
14605 Return nil when one or both files don't exist.
14606 (file-subdir-of-p): Now only top directory must exists,
14607 return nil if it doesn't.
14608 (copy-directory): No need to test with `file-subdir-of-p' after
14609 creating dir.
14610 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14611 to `file-equal-p'.
14612
14613 2012-02-28 Glenn Morris <rgm@gnu.org>
14614
14615 * shell.el (shell-mode):
14616 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14617 * play/landmark.el (landmark-font-lock-face-O):
14618 * play/handwrite.el (handwrite):
14619 * play/gomoku.el (gomoku-O):
14620 * net/browse-url.el (browse-url-browser-display):
14621 * international/mule.el (define-charset):
14622 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14623 * filesets.el (filesets-find-file-delay):
14624 * eshell/em-xtra.el (eshell-xtra):
14625 * eshell/em-unix.el (eshell-grep):
14626 * emulation/viper.el (viper-mode):
14627 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14628 * emacs-lisp/easymenu.el (easy-menu-define):
14629 * calendar/timeclock.el (timeclock-use-display-time):
14630 * bs.el (bs-mode):
14631 * bookmark.el (bookmark-save-flag):
14632 Doc fix (standardize possessive apostrophe usage).
14633
14634 2012-02-27 Chong Yidong <cyd@gnu.org>
14635
14636 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14637 Fix key-binding lookup for ESC key (Bug#9146).
14638
14639 * font-lock.el (font-lock-specified-p): Rename from
14640 font-lock-spec-present. Callers changed.
14641
14642 2012-02-27 Daniel Hackney <dan@haxney.org>
14643
14644 * emacs-lisp/package.el (package-compute-transaction):
14645 Handle holding a package version to t in package-load-list.
14646
14647 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14648
14649 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14650 (tramp-get-inode, tramp-get-device): Use cached values.
14651
14652 2012-02-26 Alan Mackenzie <acm@muc.de>
14653
14654 Check there is a font-lock specification before doing initial
14655 fontification.
14656
14657 * font-core.el (font-lock-mode): Move the conditional from
14658 :after-hook to font-lock-initial-fontify.
14659 (font-lock-default-function): Move the check for a specification
14660 to font-lock-spec-present.
14661
14662 * font-lock.el (font-lock-initial-fontify): Call ...
14663 (font-lock-spec-present): New function.
14664
14665 2012-02-26 Jim Blandy <jimb@red-bean.com>
14666
14667 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14668 (gdb-send): Apply it to the operand of the '-interpreter-exec
14669 console' command, so that we can pass arguments with (say) quotes
14670 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14671
14672 2012-02-26 Chong Yidong <cyd@gnu.org>
14673
14674 * help-fns.el (describe-function-1): Clarify description of
14675 remapping (Bug#10844).
14676
14677 * files.el (files-equal-p): Doc fix.
14678 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14679 and quit the loop once a mismatch is found.
14680
14681 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14682
14683 * bs.el (bs--show-with-configuration): Don't throw an error
14684 if the window cannot be split; otherwise, subsequent calls to
14685 bs-show fail, restoring a stale window config. (Bug#10882)
14686
14687 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14688
14689 * term/ns-win.el (global-map): Bind ns-drag-file to
14690 ns-find-file (Bug#5855, Bug#10050).
14691
14692 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 * calendar/parse-time.el (parse-time-string): Allow extractor to
14695 return nil.
14696
14697 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14698
14699 * net/tramp.el (tramp-file-name-for-operation):
14700 Add `files-equal-p' and `file-subdir-of-p'.
14701
14702 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14703 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14704 Add COPY-CONTENTS argument.
14705
14706 2012-02-25 Chong Yidong <cyd@gnu.org>
14707
14708 Add custom groups for VC backends, for consistency with vc-bzr.
14709
14710 * vc/vc-arch.el (vc-arch):
14711 * vc/vc-cvs.el (vc-cvs):
14712 * vc/vc-git.el (vc-git):
14713 * vc/vc-hg.el (vc-hg):
14714 * vc/vc-mtn.el (vc-mtn):
14715 * vc/vc-rcs.el (vc-rcs):
14716 * vc/vc-sccs.el (vc-sccs):
14717 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14718 All relevant defcustoms reassigned.
14719
14720 2012-02-25 Chong Yidong <cyd@gnu.org>
14721
14722 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14723
14724 * term/x-win.el (x-initialize-window-system): Reduce default for
14725 x-selection-timeout to 5 seconds (Bug#8869).
14726
14727 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14728
14729 * files.el (files-equal-p, file-subdir-of-p): New functions.
14730 (copy-directory): Error when trying to copy a directory on itself.
14731 Add missing copy-contents arg to tramp handler.
14732 * dired-aux.el (dired-copy-file-recursive): Same.
14733 (dired-create-files): Modify destination when source is equal to
14734 dest when copying files.
14735 Return also when dest is a subdir of source. (Bug#10489)
14736
14737 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14738
14739 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14740 (Bug#10874)
14741
14742 2012-02-23 Alan Mackenzie <acm@muc.de>
14743
14744 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14745 parameter "after-hook:" to allow the expansion to run code after
14746 the execution of the mode hooks.
14747
14748 * font-lock.el (font-lock-initial-fontify): New function extracted
14749 from font-lock-mode-internal.
14750
14751 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14752 :after-hook.
14753
14754 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14755
14756 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14757 (completion--cache-all-sorted-completions): New function.
14758 (completion-all-sorted-completions): Use it.
14759 (completion--do-completion, minibuffer-force-complete):
14760 Use it to re-instate the flush hook.
14761
14762 * icomplete.el (icomplete-completions): Replace last fix with a better
14763 one (bug#10850).
14764
14765 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14766
14767 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14768 when it might call us back infinitely (bug#10797).
14769
14770 2012-02-23 Glenn Morris <rgm@gnu.org>
14771
14772 * minibuffer.el (completion-category-overrides): Doc fix.
14773
14774 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14775
14776 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14777 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14778
14779 2012-02-23 Glenn Morris <rgm@gnu.org>
14780
14781 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14782 (authors-obsolete-files-regexps, authors-ignored-files)
14783 (authors-ambiguous-files, authors-renamed-files-alist):
14784 Add more entries.
14785
14786 2012-02-23 Juri Linkov <juri@jurta.org>
14787
14788 * isearch.el (isearch-occur): Sync interactive spec with occur's
14789 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14790
14791 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14792
14793 2012-02-22 Juri Linkov <juri@jurta.org>
14794
14795 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14796 (ucs-insert): Doc fix. Check for hex digits in the string.
14797 Don't display `nil' in the error message. (Bug#10857)
14798
14799 2012-02-22 Alan Mackenzie <acm@muc.de>
14800
14801 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14802
14803 2012-02-22 Glenn Morris <rgm@gnu.org>
14804
14805 * ffap.el (ffap-c-path):
14806 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14807
14808 2012-02-22 Chong Yidong <cyd@gnu.org>
14809
14810 * custom.el (load-theme): Doc fix.
14811
14812 2012-02-22 Glenn Morris <rgm@gnu.org>
14813
14814 * dired-x.el (dired-guess-shell-alist-default):
14815 Remove escape sequences from nroff output. (Bug#172)
14816
14817 2012-02-21 Glenn Morris <rgm@gnu.org>
14818
14819 * vc/emerge.el (emerge-defvar-local):
14820 Set `permanent-local' property rather than unused `preserved'.
14821
14822 * textmodes/picture.el (picture-delete-char): New alias.
14823 (picture-mode-map): Use it. (Bug#10860)
14824 (picture-mode): Doc fix.
14825
14826 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14827
14828 * newcomment.el (uncomment-region-default): Remove unused binding.
14829
14830 2012-02-21 Glenn Morris <rgm@gnu.org>
14831
14832 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14833 (picture-self-insert, picture-tab-chars): Doc fix.
14834 (picture-mode-map): Fix C-a, C-e.
14835
14836 2012-02-20 Glenn Morris <rgm@gnu.org>
14837
14838 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14839
14840 2012-02-20 Leo Liu <sdl.web@gmail.com>
14841
14842 * icomplete.el (icomplete-completions): Check FROM arg before
14843 passing to substring (Bug#10850).
14844
14845 2012-02-19 Chong Yidong <cyd@gnu.org>
14846
14847 * comint.el: Require ansi-color.
14848 (comint-output-filter-functions): Add ansi-color-process-output.
14849
14850 * ansi-color.el: Don't set comint-output-filter-functions; it is
14851 now in the initial value defined in comint.el.
14852 (ansi-color-apply-face-function): New variable.
14853 (ansi-color-apply-on-region): Use it.
14854 (ansi-color-apply-overlay-face): New function.
14855
14856 * shell.el (shell): No need to require ansi-color.
14857 (shell-mode): Use ansi-color-apply-face-function to highlight
14858 color escapes using font-lock-face property (Bug#10835).
14859
14860 2012-02-19 Chong Yidong <cyd@gnu.org>
14861
14862 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14863 mode-line formats (Bug#10839).
14864
14865 2012-02-18 Glenn Morris <rgm@gnu.org>
14866
14867 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14868
14869 * mail/undigest.el (unforward-rmail-message): Doc fix.
14870
14871 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14872
14873 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14874
14875 * international/characters.el (script-list): Sync with the latest
14876 Unicode Character Database.
14877
14878 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14879
14880 * international/titdic-cnv.el: Remove duplicate coding tag.
14881 * language/cham.el: Likewise.
14882 * language/tai-viet.el: Likewise.
14883
14884 2012-02-18 Glenn Morris <rgm@gnu.org>
14885
14886 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14887 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14888 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14889 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14890 * calendar/holidays.el (holiday-bahai-holidays)
14891 (calendar-holidays, list-holidays):
14892 Use utf-8 Bahá'í in doc-strings, menus, etc.
14893
14894 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14895
14896 * saveplace.el (save-place-ignore-files-regexp): New variable
14897 allowing for excluding files from saving their location of point.
14898 The default value matches the temporary commit message editing
14899 files from Git, SVN, Bazaar, and Mercurial.
14900 (save-place-to-alist): Use it.
14901
14902 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14903 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * newcomment.el (uncomment-region-default): Don't leave extra space
14906 when an arg is provided (bug#8150).
14907
14908 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14909
14910 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14911
14912 2012-02-17 Glenn Morris <rgm@gnu.org>
14913
14914 * net/socks.el: Require network-stream. (Bug#10599)
14915
14916 2012-02-17 Kenichi Handa <handa@m17n.org>
14917
14918 * international/charprop.el:
14919 * international/uni-name.el:
14920 * international/uni-old-name.el:
14921 * international/uni-comment.el: Regenerate.
14922
14923 2012-02-16 Glenn Morris <rgm@gnu.org>
14924
14925 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14926 Interactively in calendar buffer, give an error if not on a date.
14927
14928 2012-02-15 Glenn Morris <rgm@gnu.org>
14929
14930 * shell.el (shell-delimiter-argument-list):
14931 Revert 2011-02-17 change. (Bug#8027)
14932
14933 2012-02-15 Chong Yidong <cyd@gnu.org>
14934
14935 * minibuffer.el (completion-at-point-functions): Doc fix.
14936
14937 * custom.el (defcustom): Doc fix; note use of defvar.
14938
14939 2012-02-15 Glenn Morris <rgm@gnu.org>
14940
14941 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14942 Doc fixes.
14943
14944 2012-02-14 Glenn Morris <rgm@gnu.org>
14945
14946 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14947
14948 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14949
14950 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14951 way the ports list is computed.
14952 (smtpmail-query-smtp-server): Prompt the user for a port number if
14953 we can't connect to any of the standard ports (bug#10810).
14954
14955 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14956
14957 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14958
14959 2012-02-13 Glenn Morris <rgm@gnu.org>
14960
14961 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14962
14963 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14964
14965 * net/gnutls.el (gnutls-trustfiles): New variable.
14966 (gnutls-negotiate): Use it.
14967
14968 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14969
14970 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14971 does its stuff if Gnus is running.
14972
14973 2012-02-13 Alan Mackenzie <acm@muc.de>
14974
14975 Fix a loop in c-set-fl-decl-start.
14976
14977 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14978 c-backward-syntactic-ws actually moves backwards.
14979
14980 2012-02-13 Leo Liu <sdl.web@gmail.com>
14981
14982 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14983 beginning so that all \C-o chars are removed.
14984
14985 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14986
14987 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14988
14989 2012-02-12 Alan Mackenzie <acm@muc.de>
14990
14991 Fix infinite loop with long macros.
14992 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14993
14994 2012-02-12 Chong Yidong <cyd@gnu.org>
14995
14996 * window.el (display-buffer): Doc fix (Bug#10785).
14997
14998 2012-02-12 Glenn Morris <rgm@gnu.org>
14999
15000 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15001 (x-disown-selection-internal, x-get-selection-internal):
15002 Sync docs with the xselect.c versions.
15003
15004 * allout-widgets.el: Add missing license notice.
15005
15006 2012-02-11 Glenn Morris <rgm@gnu.org>
15007
15008 * select.el (x-get-selection-internal, x-own-selection-internal)
15009 (x-disown-selection-internal):
15010 * x-dnd.el (x-get-selection-internal): Update declarations.
15011
15012 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15013
15014 * window.el (window-sides-slots):
15015 * tool-bar.el (tool-bar-position):
15016 * term/xterm.el (xterm-extra-capabilities):
15017 * ses.el (ses-self-reference-early-detection):
15018 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15019 (verilog-auto-wire-type)
15020 (verilog-auto-delete-trailing-whitespace)
15021 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15022 (verilog-auto-tieoff-declaration):
15023 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15024 (sql-oracle-statement-starters, sql-oracle-scan-on):
15025 * progmodes/prolog.el (prolog-align-comments-flag)
15026 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15027 (prolog-left-indent-regexp, prolog-paren-indent-p)
15028 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15029 (prolog-types, prolog-mode-specificators)
15030 (prolog-determinism-specificators, prolog-directives)
15031 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15032 (prolog-electric-dot-flag)
15033 (prolog-electric-dot-full-predicate-template)
15034 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15035 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15036 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15037 (prolog-program-switches, prolog-prompt-regexp)
15038 (prolog-debug-on-string, prolog-debug-off-string)
15039 (prolog-trace-on-string, prolog-trace-off-string)
15040 (prolog-zip-on-string, prolog-zip-off-string)
15041 (prolog-use-standard-consult-compile-method-flag)
15042 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15043 (prolog-imenu-max-lines, prolog-info-predicate-index)
15044 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15045 (prolog-char-quote-workaround):
15046 * progmodes/cc-vars.el (c-defun-tactic):
15047 * net/tramp.el (tramp-encoding-command-interactive)
15048 (tramp-local-end-of-line):
15049 * net/soap-client.el (soap-client):
15050 * net/netrc.el (netrc-file):
15051 * net/gnutls.el (gnutls):
15052 * minibuffer.el (completion-category-overrides)
15053 (completion-cycle-threshold)
15054 (completion-pcm-complete-word-inserts-delimiters):
15055 * man.el (Man-name-local-regexp):
15056 * mail/feedmail.el (feedmail-display-full-frame):
15057 * international/characters.el (glyphless-char-display-control):
15058 * eshell/em-ls.el (eshell-ls-date-format):
15059 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15060 (lisp-lambda-list-keyword-parameter-indentation)
15061 (lisp-lambda-list-keyword-parameter-alignment):
15062 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15063 * dired-x.el (dired-omit-verbose):
15064 * cus-theme.el (custom-theme-allow-multiple-selections):
15065 * calc/calc.el (calc-highlight-selections-with-faces)
15066 (calc-lu-field-reference, calc-lu-power-reference)
15067 (calc-note-threshold):
15068 * battery.el (battery-mode-line-limit):
15069 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15070 (archive-7z-update):
15071 * allout.el (allout-prefixed-keybindings)
15072 (allout-unprefixed-keybindings)
15073 (allout-inhibit-auto-fill-on-headline)
15074 (allout-flattened-numbering-abbreviation):
15075 * allout-widgets.el (allout-widgets-auto-activation)
15076 (allout-widgets-icons-dark-subdir)
15077 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15078 (allout-widgets-theme-dark-background)
15079 (allout-widgets-theme-light-background)
15080 (allout-widgets-item-image-properties-emacs)
15081 (allout-widgets-item-image-properties-xemacs)
15082 (allout-widgets-run-unit-tests-on-load)
15083 (allout-widgets-time-decoration-activity)
15084 (allout-widgets-hook-error-post-time)
15085 (allout-widgets-track-decoration):
15086 Add missing :version tags to new defcustoms and defgroups.
15087
15088 * progmodes/sql.el (sql-ansi-statement-starters)
15089 (sql-oracle-statement-starters): Add custom type.
15090
15091 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15092 (prolog-system-version): Give it a type.
15093
15094 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15095
15096 * term/pc-win.el (x-select-text, x-selection-owner-p)
15097 (x-own-selection-internal, x-disown-selection-internal)
15098 (x-get-selection-internal): Sync doc strings and argument lists
15099 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15100
15101 2012-02-11 Leo Liu <sdl.web@gmail.com>
15102
15103 * progmodes/python.el (python-end-of-statement): Fix infinite
15104 loop. (Bug#10788)
15105
15106 2012-02-10 Glenn Morris <rgm@gnu.org>
15107
15108 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15109 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15110
15111 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15112
15113 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15114 about SMTP before checking the From header.
15115
15116 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15117 into own function for reuse by emacsbug.el.
15118
15119 2012-02-10 Leo Liu <sdl.web@gmail.com>
15120
15121 * subr.el (condition-case-unless-debug): Rename from
15122 condition-case-no-debug. All callers changed.
15123 (with-demoted-errors): Fix caller.
15124
15125 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15126 * nxml/rng-valid.el (rng-do-some-validation):
15127 * emacs-lisp/package.el (package-refresh-contents)
15128 (package-menu-execute):
15129 * desktop.el (desktop-create-buffer):
15130 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15131
15132 2012-02-10 Glenn Morris <rgm@gnu.org>
15133
15134 * textmodes/bibtex.el:
15135 Add missing :version tags for new/changed defcustoms.
15136
15137 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15138
15139 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15140
15141 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15142 (smtpmail-via-smtp): Use it, or fall back on the From address.
15143 (smtpmail-send-it): Ditto.
15144
15145 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15146
15147 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15148 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15149 (byte-compile-tmp-var): New const.
15150 (byte-compile-defvar): Use it to minimize .elc size.
15151 Just use `defvar' rather than simulate it (bug#10761).
15152
15153 2012-02-09 Glenn Morris <rgm@gnu.org>
15154
15155 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15156
15157 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15158 Add :version tags.
15159
15160 * progmodes/compile.el (compilation-error-screen-columns)
15161 (compilation-first-column, compilation-filter-start): Doc fixes.
15162
15163 * vc/log-view.el (log-view-toggle-entry-display):
15164 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15165
15166 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15167 (report-emacs-bug-can-use-xdg-email):
15168 (report-emacs-bug-insert-to-mailer): Doc fixes.
15169 (report-emacs-bug): Message fix.
15170
15171 * net/browse-url.el (browse-url-can-use-xdg-open)
15172 (browse-url-xdg-open): Doc fixes.
15173
15174 * electric.el (electric-indent-mode, electric-pair-mode)
15175 (electric-layout-rules, electric-layout-mode): Doc fixes.
15176 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15177
15178 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15179
15180 * server.el (server-unselect-display): Don't inadvertently kill
15181 the current buffer. (Bug#10729)
15182
15183 2012-02-08 Glenn Morris <rgm@gnu.org>
15184
15185 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15186 (sql-list-table): Doc fixes.
15187
15188 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15189 Comment out (does nothing).
15190
15191 * completion.el (dynamic-completion-mode):
15192 * dirtrack.el (dirtrack-debug-mode):
15193 * electric.el (electric-layout-mode):
15194 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15195 * face-remap.el (text-scale-mode, buffer-face-mode):
15196 * iimage.el (iimage-mode):
15197 * image-mode.el (image-transform-mode):
15198 * minibuffer.el (completion-in-region-mode):
15199 * scroll-lock.el (scroll-lock-mode):
15200 * simple.el (next-error-follow-minor-mode):
15201 * tar-mode.el (tar-subfile-mode):
15202 * tooltip.el (tooltip-mode):
15203 * vcursor.el (vcursor-use-vcursor-map):
15204 * wid-browse.el (widget-minor-mode):
15205 * emulation/tpu-edt.el (tpu-edt-mode):
15206 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15207 * international/iso-ascii.el (iso-ascii-mode):
15208 * language/thai-util.el (thai-word-mode):
15209 * mail/supercite.el (sc-minor-mode):
15210 * net/goto-addr.el (goto-address-mode):
15211 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15212 * progmodes/cwarn.el (cwarn-mode):
15213 * progmodes/flymake.el (flymake-mode):
15214 * progmodes/glasses.el (glasses-mode):
15215 * progmodes/hideshow.el (hs-minor-mode):
15216 * progmodes/pascal.el (pascal-outline-mode):
15217 * textmodes/enriched.el (enriched-mode):
15218 * vc/smerge-mode.el (smerge-mode):
15219 Doc fixes (minor mode argument).
15220
15221 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15222
15223 * ls-lisp.el (ls-lisp-sanitize): New function.
15224 (ls-lisp-insert-directory): Use it to fix or remove any elements
15225 in file-alist with missing attributes. (Bug#4673)
15226
15227 2012-02-07 Alan Mackenzie <acm@muc.de>
15228
15229 Fix spurious recognition of c-in-knr-argdecl.
15230
15231 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15232 putative K&R region.
15233
15234 2012-02-07 Alan Mackenzie <acm@muc.de>
15235
15236 * progmodes/cc-engine.el (c-forward-objc-directive):
15237 Prevent looping in "#pragma mark @implementation".
15238
15239 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15240
15241 * notifications.el (notifications-on-closed-signal): Make `reason'
15242 optional. (Bug#10744)
15243
15244 2012-02-07 Glenn Morris <rgm@gnu.org>
15245
15246 * emacs-lisp/easy-mmode.el (define-minor-mode):
15247 Doc fixes for the macro and the mode it defines.
15248
15249 * image.el (imagemagick-types-inhibit): Doc fix.
15250
15251 * cus-start.el (imagemagick-render-type): Add it.
15252
15253 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15254
15255 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15256 Set the default at load time, too, so that `font-lock-fontify-buffer'
15257 can be called without setting up the entire mode first. This fixes
15258 a bug in `mm-inline-text' with C MIME parts.
15259
15260 2012-02-06 Chong Yidong <cyd@gnu.org>
15261
15262 * simple.el (list-processes--refresh): Delete exited processes
15263 (Bug#8094).
15264
15265 * comint.el (comint-next-prompt): next-single-char-property-change
15266 and prev-single-char-property-change never return nil (Bug#8657).
15267
15268 * custom.el (defcustom): Doc fix (Bug#9711).
15269
15270 2012-02-05 Chong Yidong <cyd@gnu.org>
15271
15272 * cus-edit.el (custom-variable-reset-backup): Quote the value
15273 before storing it in the customized-value property (Bug#6712).
15274 (custom-display): Add a customization type tag.
15275 (custom-buffer-create-internal): Improve tooltip message.
15276
15277 * wid-edit.el (widget-field-value-get): New optional arg to
15278 suppress trailing whitespace truncation.
15279 (character): Use it (Bug#2689).
15280
15281 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15282
15283 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15284 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15285
15286 2012-02-05 Chong Yidong <cyd@gnu.org>
15287
15288 * cus-edit.el (custom-variable-value-create): For mismatched
15289 types, show the current value (Bug#7600).
15290
15291 * custom.el (defcustom): Doc fix.
15292
15293 2012-02-05 Glenn Morris <rgm@gnu.org>
15294
15295 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15296
15297 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15298
15299 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15300 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15301 (pp-last-sexp): Use `looking-at-p'.
15302
15303 2012-02-04 Glenn Morris <rgm@gnu.org>
15304
15305 * files.el (revert-buffer):
15306 Doc fix (mention revert-buffer-in-progress-p).
15307
15308 * emacs-lisp/ert-x.el (ert-simulate-command):
15309 Check deferred-action-list (which is obsolete) is bound.
15310
15311 * subr.el (with-wrapper-hook): Doc fixes.
15312
15313 * simple.el (filter-buffer-substring-functions)
15314 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15315
15316 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15317
15318 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15319 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15320
15321 2012-02-04 Leo Liu <sdl.web@gmail.com>
15322
15323 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15324
15325 2012-02-04 Glenn Morris <rgm@gnu.org>
15326
15327 * image.el (image-extension-data): Add obsolete alias.
15328
15329 * isearch.el (isearch-update): Doc fix.
15330
15331 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15332
15333 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15334
15335 2012-02-03 Glenn Morris <rgm@gnu.org>
15336
15337 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15338 (image-animate-timeout): Doc fix.
15339
15340 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15341
15342 2012-02-02 Glenn Morris <rgm@gnu.org>
15343
15344 * server.el (server-auth-dir): Doc fix.
15345 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15346
15347 * subr.el (run-mode-hooks): Doc fix.
15348
15349 2012-02-02 Juri Linkov <juri@jurta.org>
15350
15351 * image-mode.el (image-toggle-display-image): Remove tautological
15352 `major-mode' from the `derived-mode-p' test.
15353
15354 2012-02-02 Kenichi Handa <handa@m17n.org>
15355
15356 * composite.el (compose-region): Cancel previous change.
15357
15358 2012-02-02 Kenichi Handa <handa@m17n.org>
15359
15360 * composite.el (compose-region, compose-string): Signal error for
15361 a null string component (Bug#6988).
15362
15363 2012-02-01 Chong Yidong <cyd@gnu.org>
15364
15365 * view.el (view-buffer-other-window, view-buffer-other-frame):
15366 Handle special modes like view-buffer (Bug#10650).
15367 (view-buffer): Simplify.
15368
15369 * frame.el (set-frame-font): Tweak meaning of third argument.
15370
15371 * dynamic-setting.el (font-setting-change-default-font):
15372 Use set-frame-font (Bug#9982).
15373
15374 2012-02-01 Glenn Morris <rgm@gnu.org>
15375
15376 * progmodes/compile.el (compilation-internal-error-properties):
15377 Respect compilation-first-column in the "*compilation*" buffer.
15378
15379 * emacs-lisp/easy-mmode.el (define-minor-mode):
15380 Relax :variable's test for a named function.
15381
15382 2012-01-31 Alan Mackenzie <acm@muc.de>
15383
15384 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15385 off by one error.
15386
15387 2012-01-31 Chong Yidong <cyd@gnu.org>
15388
15389 * frame.el (set-frame-font): New arg ALL-FRAMES.
15390
15391 * menu-bar.el (menu-set-font): Use set-frame-font.
15392
15393 * faces.el (face-spec-reset-face): Don't apply unspecified
15394 attribute values to the default face.
15395
15396 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15397
15398 * progmodes/cwarn.el (cwarn): Remove dead link.
15399 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15400 Remove * from defcustom docstrings.
15401 (turn-on-cwarn-mode): Make obsolete.
15402 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15403 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15404
15405 2012-01-31 Glenn Morris <rgm@gnu.org>
15406
15407 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15408 Fix :variable handling of mode a symbol not equal to modefun.
15409 Allow named functions to be used as the cdr of :variable.
15410
15411 2012-01-30 Glenn Morris <rgm@gnu.org>
15412
15413 * emacs-lisp/authors.el (authors-fixed-entries):
15414 Remove reference to deleted file rnewspost.el.
15415
15416 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15417
15418 * window.el (window-with-parameter): Remove unused variable `windows'.
15419 (window--side-check): Remove unused variable `code'.
15420 (window--resize-siblings): Remove unused variable `first'.
15421 (adjust-window-trailing-edge): Remove unused variable `failed'.
15422 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15423 Use `let', not `let*'.
15424 (balance-windows-2): Remove unused variable `found'.
15425 (window--state-put-2): Remove unused variable `splits'.
15426 (window-state-put): Remove unused variable `selected'.
15427 (same-window-p): Use `string-match-p'.
15428 (display-buffer-assq-regexp): Remove unused variable `value'.
15429 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15430 Mark argument ALIST as ignored.
15431 (pop-to-buffer): Remove unused variable `old-window'.
15432
15433 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15434
15435 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15436 and .lzma compressed files.
15437
15438 2012-01-29 Chong Yidong <cyd@gnu.org>
15439
15440 * frame.el (window-system-default-frame-alist): Doc fix.
15441
15442 * dynamic-setting.el (font-setting-change-default-font): Don't
15443 change the default face if SET-FONT argument is non-nil (Bug#9982).
15444
15445 2012-01-29 Samuel Bronson <naesten@gmail.com>
15446
15447 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15448
15449 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15450
15451 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15452 breakpoints in files outside current directory (Bug#6098).
15453
15454 2012-01-29 Chong Yidong <cyd@gnu.org>
15455
15456 * progmodes/python.el: Require ansi-color at top-level.
15457
15458 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15459 Define and use in Emacs Lisp mode (Bug#9360).
15460 (lisp-mode-abbrev-table): Add doc.
15461 (lisp-mode-variables): Don't set local-abbrev-table.
15462 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15463
15464 2012-01-28 Roland Winkler <winkler@gnu.org>
15465
15466 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15467
15468 2012-01-28 Roland Winkler <winkler@gnu.org>
15469
15470 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15471 (bibtex-set-dialect): Use it. Either set global values of
15472 dialect-dependent variables or bind these variables buffer-locally
15473 (Bug#10254).
15474 (bibtex-mode): Call bibtex-set-dialect via
15475 hack-local-variables-hook.
15476 (bibtex-dialect): Update docstring.
15477 Add safe-local-variable predicate.
15478 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15479 bibtex-set-dialect.
15480 (bibtex-mode-map): Define menu for each dialect.
15481 (bibtex-entry): Fix docstring.
15482
15483 2012-01-28 Chong Yidong <cyd@gnu.org>
15484
15485 * eshell/esh-arg.el (eshell-quote-argument): New function.
15486
15487 * eshell/esh-ext.el (eshell-invoke-batch-file):
15488 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15489 first arg to eshell-parse-command (Bug#10523).
15490
15491 2012-01-28 Drew Adams <drew.adams@oracle.com>
15492
15493 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15494 `default-directory' is non-nil.
15495
15496 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15497
15498 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15499 line that displays system-configuration-options. (Bug#9924)
15500
15501 2012-01-28 Drew Adams <drew.adams@oracle.com>
15502
15503 * descr-text.el (describe-char): Show information about POS, in
15504 addition to information about the character at POS. Improve and
15505 update the doc string. Change "code point" to "code point in
15506 charset", to avoid confusion with the character's Unicode code
15507 point shown above that. (Bug#10129)
15508
15509 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15510
15511 * descr-text.el (describe-char): Show the raw character, not only
15512 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15513 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15514 for the reasons.
15515
15516 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15517
15518 * emacs-lisp/package.el (package-install):
15519 Run package-refresh-contents if there is no archive yet (Bug#9798).
15520
15521 2012-01-28 Chong Yidong <cyd@gnu.org>
15522
15523 * emacs-lisp/package.el (package-maybe-load-descriptor):
15524 New function, split from package-maybe-load-descriptor.
15525 (package-maybe-load-descriptor): Use it.
15526 (package-download-transaction): Fully load required packages
15527 inside the loop, so that `require' calls work (Bug#10593).
15528 (package-install): No need to call package-initialize now.
15529
15530 2012-01-28 Chong Yidong <cyd@gnu.org>
15531
15532 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15533
15534 * tooltip.el (tooltip-mode): Doc fix.
15535 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15536
15537 * frame.el (set-cursor-color): Doc fix (Bug#352).
15538
15539 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15540 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15541
15542 * cus-edit.el (custom-buffer-create-internal): Fix search button
15543 action (Bug#10542).
15544 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15545
15546 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15547
15548 * dired.el (dired-mark-files-regexp):
15549 Include any subdirectory components. (Bug#10445)
15550
15551 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15552
15553 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15554 Handle [host]:port syntax. (Bug#10533)
15555
15556 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15557
15558 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15559
15560 2012-01-26 Glenn Morris <rgm@gnu.org>
15561
15562 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15563 * term.el (term-raw-escape-map): Use Control-X-prefix.
15564 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15565
15566 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15567
15568 * window.el (window-state-get, window--state-get-1): Don't deal
15569 with fixed-sizeness of windows. Simplify code.
15570
15571 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15572
15573 * window.el (window--state-get-1, window--state-put-2):
15574 Don't save and restore the mark.
15575
15576 2012-01-25 Chong Yidong <cyd@gnu.org>
15577
15578 * custom.el (custom-variable-p): Doc fix.
15579
15580 2012-01-25 Glenn Morris <rgm@gnu.org>
15581
15582 * dired.el (dired-goto-file): Handle some of the more common
15583 characters that `ls -b' escapes. (Bug#10596)
15584
15585 * progmodes/compile.el (compilation-next-error-function):
15586 Respect compilation-first-column in the "*compilation*" buffer.
15587 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15588
15589 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15590
15591 2012-01-24 Glenn Morris <rgm@gnu.org>
15592
15593 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15594
15595 2012-01-24 Julien Danjou <julien@danjou.info>
15596
15597 * color.el (color-rgb-to-hsl): Fix value computing.
15598 (color-hue-to-rgb): New function.
15599 (color-hsl-to-rgb): New function.
15600 (color-clamp, color-saturate-hsl, color-saturate-name)
15601 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15602 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15603
15604 2012-01-24 Glenn Morris <rgm@gnu.org>
15605
15606 * vc/vc-rcs.el (vc-rcs-create-tag):
15607 * vc/vc-sccs.el (vc-sccs-create-tag):
15608 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15609
15610 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15611
15612 * eshell/esh-util.el (eshell-read-hosts-file):
15613 Skip comment lines. (Bug#10549)
15614
15615 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15616
15617 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15618
15619 * subr.el (display-delayed-warnings): Doc fix.
15620 (collapse-delayed-warnings): New function to collapse identical
15621 adjacent warnings.
15622 (delayed-warnings-hook): Add it.
15623
15624 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15625
15626 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15627
15628 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15629 (tramp-default-user-alist): Don't add "pscp".
15630 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15631 property "login-as", if set. (Bug#10530)
15632
15633 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15634
15635 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15636 "plink1" and "psftp". (Bug#10530)
15637
15638 2012-01-21 Kenichi Handa <handa@m17n.org>
15639
15640 * international/mule-cmds.el (prefer-coding-system): Show a
15641 warning message if the default value of file-name-coding-system
15642 was not changed.
15643
15644 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15645
15646 * windmove.el (windmove-reference-loc):
15647 Fix windmove-reference-loc miscalculation.
15648
15649 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15650
15651 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15652 default unit.
15653
15654 2012-01-21 Glenn Morris <rgm@gnu.org>
15655
15656 * international/mule.el (auto-coding-alist): Add .tbz.
15657
15658 * files.el (local-enable-local-variables): Doc fix.
15659 (inhibit-local-variables-regexps): Rename from
15660 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15661 Doc fix. Add some extensions from auto-coding-alist.
15662 (inhibit-local-variables-suffixes):
15663 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15664 (inhibit-local-variables-p):
15665 New function, extracted from set-auto-mode-1.
15666 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15667 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15668 (hack-local-variables): Doc fix. Make the mode-only case
15669 respect enable-local-variables and friends.
15670 Respect inhibit-local-variables-regexps for file-locals, but
15671 not for directory-locals.
15672 (set-visited-file-name):
15673 Take account of inhibit-local-variables-regexps.
15674 Whether it applies may change as the file name is changed.
15675 * jka-cmpr-hook.el (jka-compr-install):
15676 * jka-compr.el (jka-compr-uninstall):
15677 Update for inhibit-first-line-modes-suffixes name change.
15678
15679 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15680
15681 * help-macro.el (make-help-screen): Temporarily restore original
15682 binding for minor-mode-map-alist (Bug#10454).
15683
15684 2012-01-19 Julien Danjou <julien@danjou.info>
15685
15686 * color.el (color-name-to-rgb): Use the white color to find the max
15687 color component value and return correctly computed values.
15688 (color-name-to-rgb): Add missing float conversion for max value.
15689
15690 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15691
15692 * window.el (window--state-get-1, window-state-get): Do not use
15693 special state value for window-persistent-parameters.
15694 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15695 (window--state-put-2): Reset all window parameters to nil before
15696 assigning values of persistent parameters.
15697
15698 2012-01-18 Alan Mackenzie <acm@muc.de>
15699
15700 Eliminate sluggishness and hangs in fontification of "semicolon
15701 deserts".
15702
15703 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15704 Change value 10000 -> 3000.
15705 (c-state-safe-place): Reformulate so it doesn't stack up an
15706 infinite number of wrong entries in c-state-nonlit-pos-cache.
15707 (c-determine-limit-get-base, c-determine-limit): New functions to
15708 determine backward search limits disregarding literals.
15709 (c-find-decl-spots): Amend commenting.
15710 (c-cheap-inside-bracelist-p): New function which detects "={".
15711
15712 * progmodes/cc-fonts.el
15713 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15714 backward search.
15715 (c-font-lock-declarations): Fix an occurrence of point being
15716 undefined. Check additionally for point being in a bracelist or
15717 near a macro invocation without a semicolon so as to avoid a
15718 fruitless time consuming search for a declarator. Give a more
15719 precise search limit for declarators using the new
15720 c-determine-limit.
15721
15722 2012-01-18 Glenn Morris <rgm@gnu.org>
15723
15724 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15725 (set-auto-mode): Doc fixes.
15726
15727 2012-01-17 Glenn Morris <rgm@gnu.org>
15728
15729 * isearch.el (search-nonincremental-instead): Fix doc typo.
15730
15731 * dired.el (dired-insert-directory): Handle newlines in directory name.
15732 (dired-build-subdir-alist): Unescape newlines in directory name.
15733
15734 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15735
15736 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15737 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15738 (tramp-action-terminal): Use it. (Bug#10530)
15739
15740 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15743
15744 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15745
15746 * window.el (window-state-ignored-parameters): Remove variable.
15747 (window--state-get-1): Rename argument MARKERS to IGNORE.
15748 Handle persistent window parameters. Make copy of clone-of
15749 parameter only if requested. (Bug#10348)
15750 (window--state-put-2): Install a window parameter only if it has
15751 a non-nil value or an existing parameter shall be overwritten.
15752
15753 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15754
15755 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15756
15757 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15758
15759 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15760 don't pass the (nil) value of `upnode' to string-match.
15761
15762 2012-01-14 Chong Yidong <cyd@gnu.org>
15763
15764 * startup.el (command-line): Fix X resource class for cursorColor.
15765 Fix values recognized by the cursorBlink resource.
15766
15767 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15768
15769 * epg.el (epg--make-temp-file): Avoid permission race condition
15770 when running on old Emacs versions (bug#10403).
15771
15772 2012-01-14 Glenn Morris <rgm@gnu.org>
15773
15774 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15775
15776 2012-01-13 Alan Mackenzie <acm@muc.de>
15777
15778 Fix filling for when filladapt mode is enabled.
15779
15780 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15781 c-mask-paragraph, pass in `fill-paragraph' rather than
15782 `fill-region-as-paragraph'. (This is a reversion of a previous
15783 change.)
15784 * progmodes/cc-mode.el (c-basic-common-init):
15785 Make fill-paragraph-handle-comment buffer local and set it to nil.
15786
15787 2012-01-13 Glenn Morris <rgm@gnu.org>
15788
15789 * dired.el (dired-switches-escape-p): New function.
15790 (dired-insert-directory): Use dired-switches-escape-p.
15791 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15792
15793 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15794
15795 2012-01-12 Glenn Morris <rgm@gnu.org>
15796
15797 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15798 changes in adaptive-fill-regexp. (Bug#10276)
15799
15800 2012-01-11 Alan Mackenzie <acm@muc.de>
15801
15802 Fix Emacs bug #10463 - put `widen's around the critical spots.
15803
15804 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15805 widen around each invocation of c-state-pp-to-literal. Remove an
15806 unused let variable.
15807
15808 2012-01-11 Glenn Morris <rgm@gnu.org>
15809
15810 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15811 Doc fix.
15812
15813 2012-01-10 Chong Yidong <cyd@gnu.org>
15814
15815 * net/network-stream.el (network-stream-open-starttls):
15816 Avoid emitting a confusing error message when the server gives a bad
15817 response to the capability command.
15818
15819 2012-01-10 Glenn Morris <rgm@gnu.org>
15820
15821 * mail/unrmail.el (unrmail): Tweak previous change.
15822
15823 2012-01-09 Chong Yidong <cyd@gnu.org>
15824
15825 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15826
15827 2012-01-08 Alan Mackenzie <acm@muc.de>
15828
15829 Optimize font locking in long enum definitions.
15830
15831 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15832 arm to a cond form to handle enums.
15833 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15834 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15835
15836 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15837
15838 * files.el (move-file-to-trash): Preserve default file modes on error.
15839 (Bug#10401)
15840
15841 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15842
15843 * faces.el (set-face-attribute): Clarify the meaning of the nil
15844 frame (bug#10294).
15845
15846 * subr.el (with-selected-frame): Mention that the selected frame
15847 is restored (bug#9980).
15848
15849 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15850 (bug#9759).
15851
15852 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15853 (password-read): Don't autoload unused function.
15854
15855 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15856
15857 * progmodes/which-func.el (which-func-mode): Turn into a
15858 non-interactive function and mark as obsolete (bug#10428).
15859
15860 2012-01-06 Chong Yidong <cyd@gnu.org>
15861
15862 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15863 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15864 functions, along with 1 and -1.
15865
15866 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15867
15868 * time.el (display-time-load-average)
15869 (display-time-default-load-average): Doc fixes. See the thread
15870 starting at
15871 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15872 for the details.
15873
15874 2012-01-06 Glenn Morris <rgm@gnu.org>
15875
15876 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15877 has no messages. (Bug#10377)
15878
15879 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15880 than Info-edit. (Bug#10385)
15881
15882 * time.el (display-time-load-average, display-time-next-load-average):
15883 Doc fixes.
15884
15885 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15886 local setting of buffer-read-only to the input buffer. (Bug#10419)
15887
15888 * calendar/calendar.el (calendar-mode):
15889 Locally set scroll-margin to 0. (Bug#10379)
15890
15891 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15892
15893 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15894
15895 2012-01-05 Glenn Morris <rgm@gnu.org>
15896
15897 * eshell/em-unix.el (diff-no-select): Autoload it.
15898 (eshell/diff): Use diff-no-select. (Bug#10420)
15899
15900 2012-01-05 Chong Yidong <cyd@gnu.org>
15901
15902 * shell.el (shell-dynamic-complete-functions): Revert last change.
15903 (shell-command-completion-function): New function.
15904 (shell-completion-vars): Use it to implement
15905 shell-completion-execonly (Bug#10417).
15906
15907 * custom.el (enable-theme): Don't set custom-safe-themes.
15908
15909 * cus-theme.el (custom-theme-merge-theme):
15910 Ignore custom-enabled-themes and custom-safe-themes.
15911
15912 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15913
15914 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15915 first prompt in `sql-interacive-mode'.
15916 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15917 keywords.
15918 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15919 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15920 context of original buffer. Invoke `sql-login-hook'.
15921
15922 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15923
15924 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15925 letters in cite-prefix.
15926
15927 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15928
15929 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15930
15931 2012-01-03 Chong Yidong <cyd@gnu.org>
15932
15933 * shell.el (shell-dynamic-complete-functions):
15934 Put pcomplete-completions-at-point, so as to try
15935 comint-filename-completion first (Bug#10417).
15936
15937 2012-01-02 Richard Stallman <rms@gnu.org>
15938
15939 * battery.el (battery-status-function):
15940 Detect when to use battery-yeeloong-sysfs.
15941 (battery-echo-area-format): Add string for Yeeloong.
15942 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15943 (battery-yeeloong-sysfs): New function.
15944
15945 2012-01-02 Chong Yidong <cyd@gnu.org>
15946
15947 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15948 (dirtrack): Merge code for handling relative filenames in prompt
15949 from shell-dir-cookie-watcher.
15950 (dirtrack-debug-message): New arg to avoid excess format calls.
15951
15952 * shell.el (shell-dir-cookie-re): Variable deleted.
15953 (shell-dir-cookie-watcher): Function deleted.
15954 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15955 with dirtrack-mode.
15956
15957 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15958
15959 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15960 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15961 libgnutls-26.dll.
15962
15963 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15964
15965 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15966
15967 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15968
15969 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15970 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15971
15972 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15973
15974 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15975 also for alternative shells.
15976 (tramp-open-connection-setup-interactive-shell): Check, whether
15977 the shell is a busybox.
15978 (tramp-send-command): Don't suppress multiple prompts for
15979 busyboxes, it hurts.
15980
15981 2011-12-28 Chong Yidong <cyd@gnu.org>
15982
15983 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15984 (gdb-get-source-file): Move mode line update to
15985 gdb-get-source-file (Bug#10087).
15986
15987 2011-12-25 Chong Yidong <cyd@gnu.org>
15988
15989 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15990 gud-gdb-marker-filter without taking it as an argument.
15991 (gud-gdb-run-command-fetch-lines): Caller changed.
15992 (gud-gdb-completion-function): New variable.
15993 (gud-gdb-completion-at-point): Use it.
15994 (gud-gdb-completions-1): Split from gud-gdb-completions.
15995
15996 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15997 function as separate arguments.
15998 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15999 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16000 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16001 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16002 (gdb-stopped, def-gdb-auto-update-trigger)
16003 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16004 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16005 Callers changed.
16006 (gud-gdbmi-completions): New function.
16007 (gdb): Use it for generating the completion table.
16008
16009 2011-12-24 Alan Mackenzie <acm@muc.de>
16010
16011 Introduce a mechanism to widen the region used in context font
16012 locking. Use this to protect declarations from losing their contexts.
16013
16014 * progmodes/cc-langs.el (c-before-font-lock-functions):
16015 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16016 (c-before-context-fontification-functions): New defvar, a list of
16017 functions to be run just before context (etc.) font locking.
16018
16019 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16020 New, functionality extracted from
16021 c-neutralize-syntax-in-and-mark-CPP.
16022 (c-in-after-change-fontification): New variable.
16023 (c-after-change): Set c-in-after-change-fontification.
16024 (c-set-fl-decl-start): Rejig its interface, so it can be called
16025 from both after-change and context fontifying.
16026 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16027 New functions.
16028 (c-standard-font-lock-fontify-region-function): New variable.
16029 (c-font-lock-fontify-region): New function.
16030
16031 2011-12-24 Juri Linkov <juri@jurta.org>
16032
16033 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16034 (Bug#10348)
16035
16036 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16037
16038 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16039 existence of source file. (Bug#10325)
16040
16041 2011-12-23 Alan Mackenzie <acm@muc.de>
16042
16043 Fix unstable fontification inside templates.
16044
16045 * progmodes/cc-langs.el (c-before-font-lock-functions):
16046 Newly created from the singular version. The (c c++ objc) entry now
16047 additionally has c-set-fl-decl-start. The other languages (apart
16048 from AWK) have that as a single entry.
16049
16050 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16051 The functionality for "local" declarations has been extracted to
16052 c-set-fl-decl-start.
16053
16054 * progmodes/cc-mode.el (c-common-init, c-after-change):
16055 Changes due to pluralisation of c-before-font-lock-functions.
16056 (c-set-fl-decl-start): New function, extracted from
16057 c-font-lock-enclosing-decls and enhanced.
16058
16059 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16060
16061 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16062
16063 2011-12-22 Juri Linkov <juri@jurta.org>
16064
16065 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16066
16067 2011-12-22 Chong Yidong <cyd@gnu.org>
16068
16069 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16070
16071 2011-12-21 Drew Adams <drew.adams@oracle.com>
16072
16073 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16074
16075 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16076
16077 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16078
16079 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16080
16081 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16082 highlighting and support. Fix up comments for capitalization.
16083 (cfengine-mode-debug): New var.
16084 (cfengine3-mode): Change the modeline indicator to "CFE3".
16085 (cfengine3-font-lock-keywords): Improve defun highlighting.
16086 (cfengine2-actions): Rename from `cfengine-actions'.
16087 (cfengine2-font-lock-keywords): Rename from
16088 `cfengine-font-lock-keywords'.
16089 (cfengine2-imenu-expression): Rename from
16090 `cfengine-imenu-expression'.
16091 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16092 (cfengine2-beginning-of-defun): Rename from
16093 `cfengine-beginning-of-defun'.
16094 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16095 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16096 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16097 modeline indicator to "CFE2".
16098 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16099 (cfengine-mode-abbrevs): Mark obsolete.
16100
16101 2011-12-21 Chong Yidong <cyd@gnu.org>
16102
16103 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16104 filename argument.
16105
16106 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16107
16108 * window.el (window-normalize-buffer-to-display): Remove.
16109 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16110
16111 2011-12-19 Chong Yidong <cyd@gnu.org>
16112
16113 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16114 Don't signal an error in a predicate function; return non-nil.
16115 (vc-dir-mark-file): Move the error here.
16116 (vc-dir-mark-unmark): If acting on the region, keep going if one
16117 of the entries cannot be marked/unmarked.
16118 (vc-dir-mark-all-files): If current entry is a directory, mark
16119 only child files, as documented.
16120
16121 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16122
16123 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16124 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16125 addition.
16126
16127 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16128
16129 * term/ns-win.el (ns-get-selection-internal)
16130 (ns-store-selection-internal): Declare.
16131 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16132 Declare as obsolete.
16133 (ns-get-pasteboard, ns-paste-secondary):
16134 Use ns-get-selection-internal.
16135 (ns-set-pasteboard, ns-copy-including-secondary):
16136 Use ns-store-selection-internal.
16137
16138 2011-12-17 Chong Yidong <cyd@gnu.org>
16139
16140 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16141 (vc-deduce-fileset): Doc fix.
16142
16143 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16144
16145 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16146
16147 2011-12-13 Sam Steingold <sds@gnu.org>
16148
16149 * man.el (Man-getpage-in-background): When running under a
16150 window-system, ignore $MANWIDTH and $COLUMNS.
16151
16152 2011-12-15 Kenichi Handa <handa@m17n.org>
16153
16154 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16155 (setup-ethiopic-environment-internal): Comment out key-binding for
16156 ethio-toggle-punctuation.
16157
16158 2011-12-13 Alan Mackenzie <acm@muc.de>
16159
16160 Add the switch statement to AWK Mode.
16161
16162 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16163 "default" to the keywords regexp.
16164
16165 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16166 expression as the rest.
16167 (c-nonlabel-token-key): Allow string literals for AWK.
16168 Refactor for the other modes.
16169
16170 Large brace-block initialisation makes CC Mode slow: Fix.
16171 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16172 routines. Limit backward searching in c-font-lock-enclosing.decl.
16173
16174 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16175 pp-state and literal type in addition to the limits.
16176 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16177 (c-state-literal-at): Use the above new defun.
16178 (c-slow-in-literal, c-fast-in-literal): Remove.
16179 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16180
16181 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16182 being in a literal. Add a limit for backward searching.
16183
16184 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16185 c-slow-in-literal.
16186
16187 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16190
16191 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16192
16193 * window.el (delete-other-windows): Use correct frame in call to
16194 window-with-parameter.
16195
16196 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16197
16198 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16199 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16200 (makefile-gmake-statements, makefile-makepp-statements):
16201 Use it and add new makepp keywords.
16202 (makefile-makepp-font-lock-keywords): Add new patterns.
16203 (makefile-match-function-end): Match new [...] and [[...]].
16204
16205 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16206
16207 * ses.el (ses-call-printer-return, ses-cell-property-get)
16208 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16209 (ses-create-cell-variable, ses-reset-header-string)
16210 (ses-cell-set-formula, ses-repair-cell-reference-all)
16211 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16212 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16213 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16214 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16215 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16216 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16217 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16218 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16219 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16220 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16221 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16222 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16223
16224 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16225
16226 * ses.el: The overall change is to add cell renaming, that is
16227 setting fancy names for cell symbols other than name matching
16228 "\\`[A-Z]+[0-9]+\\'" regexp .
16229 (ses-create-cell-variable): New defun.
16230 (ses-relocate-formula): Relocate formulas only for cells the
16231 symbols of which are not renamed, i.e. symbols whose names do not
16232 match regexp "\\`[A-Z]+[0-9]+\\'".
16233 (ses-relocate-all): Relocate values only for cells the symbols of
16234 which are not renamed.
16235 (ses-load): Create cells variables as the (ses-cell ...) are read,
16236 in order to check row col consistency with cell symbol name only
16237 for cells that are not renamed.
16238 (ses-replace-name-in-formula): New defun.
16239 (ses-rename-cell): New defun.
16240
16241 2011-12-11 Chong Yidong <cyd@gnu.org>
16242
16243 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16244 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16245
16246 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16247
16248 * window.el (other-window): Fix docstring.
16249
16250 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16251
16252 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16253 `from' or `to' address before taking its substring.
16254 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16255 encoded name is chopped in the middle of the encoded string, and
16256 thus displayed encoded.
16257
16258 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16259
16260 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16261
16262 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16263
16264 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16265 to use texinfo-update-node and commands that call it if the
16266 Texinfo file uses @node lines without next/prev/up pointers.
16267 Correct outdated description about texinfo-master-menu.
16268 (texinfo-all-menus-update, texinfo-master-menu)
16269 (texinfo-update-node, texinfo-every-node-update)
16270 (texinfo-multiple-files-update): Doc fix. Warn against updating
16271 all the @node lines.
16272 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16273 argument is numeric. Explain better in the doc string what the
16274 function really does.
16275 (texinfo-insert-master-menu-list): Improve the error message
16276 displayed if there's no menu in the Top node.
16277 (Bug#2975) See also this thread:
16278 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16279
16280 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16281
16282 * speedbar.el (speedbar-supported-extension-expressions):
16283 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16284
16285 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16286
16287 * printing.el (pr-mode-alist):
16288 * simple.el (filter-buffer-substring-functions)
16289 (completion-list-insert-choice-function):
16290 * window.el (window-with-parameter, window-atom-root)
16291 (window-sides-slots, window-size-fixed, window-min-delta)
16292 (window-max-delta, window--resize-mini-window)
16293 (window--resize-child-windows-normal, window-tree)
16294 (delete-other-windows, quit-window, split-window)
16295 (display-buffer-record-window, special-display-buffer-names)
16296 (special-display-regexps, special-display-popup-frame)
16297 (same-window-p, split-window-sensibly)
16298 (display-buffer-overriding-action, display-buffer-alist)
16299 (display-buffer-base-action, display-buffer, switch-to-buffer)
16300 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16301 (fit-window-to-buffer, recenter-positions)
16302 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16303 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16304 and remove unneeded backslashes in docstrings.
16305
16306 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16307
16308 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16309
16310 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16311 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16312 end in ".mk".
16313 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16314 when reading the makefile (bug#10116).
16315
16316 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16317
16318 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16319 (bug#10116).
16320
16321 2011-12-06 Glenn Morris <rgm@gnu.org>
16322
16323 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16324
16325 2011-12-06 Chong Yidong <cyd@gnu.org>
16326
16327 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16328
16329 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16330
16331 * textmodes/table.el (table-shorten-cell): Fix typo.
16332
16333 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16334
16335 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16336
16337 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16338
16339 * descr-text.el (describe-char): Fix display of strong
16340 right-to-left characters and directional embeddings and overrides.
16341
16342 * simple.el (what-cursor-position): Fix display of codepoints of
16343 strong right-to-left characters.
16344
16345 2011-12-05 Chong Yidong <cyd@gnu.org>
16346
16347 * faces.el (read-color): Doc fix.
16348
16349 2011-12-05 Glenn Morris <rgm@gnu.org>
16350
16351 * align.el (align--set-marker): Add doc-string.
16352 Don't try to move something that is not a marker. (Bug#10216)
16353
16354 2011-12-04 Glenn Morris <rgm@gnu.org>
16355
16356 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16357 overly zealous deletion of trailing whitespace.
16358
16359 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16360
16361 * server.el (server-delete-client): On Windows, do not try to delete
16362 the only terminal.
16363 (server-process-filter): On Windows, treat requests for a tty frame as
16364 if they were for a GUI frame if the running server is in GUI mode.
16365
16366 2011-12-03 Glenn Morris <rgm@gnu.org>
16367
16368 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16369
16370 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16371
16372 * electric.el: Streamline electric-indent's hook.
16373 (electric-indent-chars): Revert to simple list.
16374 (electric-indent-functions): New var.
16375 (electric-indent-post-self-insert-function): Use it.
16376
16377 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16378 there's no inferior buffer (bug#10196).
16379 (prolog-consult-compile): Don't use toggle-read-only.
16380
16381 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16382
16383 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16384 interrupt. (Bug#10187)
16385
16386 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16387
16388 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16389 (bug#9160).
16390
16391 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16392 (bug#10191).
16393
16394 2011-12-02 Juri Linkov <juri@jurta.org>
16395
16396 * info.el (Info-search): Display "end of manual" when Isearch
16397 reaches the end of single-file Info manual. (Bug#9918)
16398
16399 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16400
16401 * isearch.el (isearch-message-prefix): Run the input method part
16402 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16403
16404 2011-12-02 Juri Linkov <juri@jurta.org>
16405
16406 * isearch.el (isearch-occur): Use `word-search-regexp' for
16407 `isearch-word'.
16408 (isearch-search-and-update): Add condition for `isearch-word' and
16409 call `word-search-regexp'. (Bug#10145)
16410
16411 2011-12-01 Glenn Morris <rgm@gnu.org>
16412
16413 * eshell/em-hist.el (eshell-hist-initialize):
16414 Handle eshell-history-size nil and HISTSIZE set or unset.
16415 (eshell-history-file-name, eshell-history-size): Fix custom type.
16416
16417 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16418
16419 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16420
16421 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16422
16423 * progmodes/verilog-mode.el (verilog-pretty-expr):
16424 Rework verilog-pretty-expr to handle new assignment operators in system
16425 verilog, such as += *= and the like.
16426 (verilog-assignment-operator-re): Regular expression to find the
16427 assigment operator in a verilog assignment.
16428 (verilog-assignment-operation-re): Regular expression to find an
16429 assignment statement for pretty-expr.
16430 (verilog-in-attribute-p): Query returns true if point is in an
16431 attribute context; used to skip these for expression line up from
16432 pretty-expr.
16433 (verilog-in-parameter-p): Query returns true if point is in an
16434 parameter definition context; used to skip these for expression
16435 line up from pretty-expr.
16436 (verilog-in-parenthesis-p): Query returns true if point is in a
16437 parenthetical expression, specifically ( ) but not [ ] or { };
16438 used by pretty-expr.
16439 (verilog-just-one-space): If there is no space, don't add one.
16440 (verilog-get-lineup-indent-2): Specifically skip just attribute
16441 contexts for expression lineup, rather than skipping all
16442 parenthetical expressions.
16443 (verilog-calculate-indent): Fix comment, and fix indent.
16444 (verilog-do-indent): Indent declarations in lists (suggested by
16445 Joachim Lechner).
16446 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16447 skeleton items.
16448 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16449 by Alain Mellan).
16450
16451 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16452
16453 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16454 parameters with embedded comments. Reported by Ray Stevens.
16455 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16456 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16457 Reported by Tim Holt.
16458 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16459 instantiated by upper module causing wrong expansion until AUTOed a
16460 second time. Reported by K C Buckenmaier.
16461 (verilog-diff-auto): Fix showing .* as a difference when
16462 `verilog-auto-star-save' off. Reported by Dan Dever.
16463 (verilog-auto-reset, verilog-read-always-signals)
16464 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16465 temporary signals in reset list if
16466 verilog-auto-reset-blocking-in-non is nil, and match assignment
16467 style to each signal's assignment type, bug381.
16468 Reported by Thomas Esposito.
16469 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16470 (verilog-uvm-statement-re): Support UVM indentation and
16471 highlighting, with old OVM keywords only.
16472 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16473 Support AUTOTIEOFF creating non-wire data types.
16474 Suggested by Jonathan Greenlaw.
16475 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16476 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16477 (verilog-inject-sense, verilog-read-inst-pins)
16478 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16479 Fix mismatching parenthesis inside commented out code when deleting
16480 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16481 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16482 non-numeric vector width. Reported by Alex Reed.
16483 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16484 detecting signals with parameter widths. Reported by Alex Reed.
16485 (verilog-auto-delete-trailing-whitespace):
16486 With `verilog-auto-delete-trailing-whitespace' remove trailing
16487 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16488 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16489 Fix verilog-scan-cache corruption when running user AUTO expansion
16490 hooks that call indentation routines.
16491 (verilog-simplify-range-expression): Fix typo ignoring lower case
16492 identifiers.
16493 (verilog-delete-auto): Fix delete-autos to also remove user created
16494 automatics, as long as they start with AUTO.
16495 (verilog-batch-diff-auto, verilog-diff-auto)
16496 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16497 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16498 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16499 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16500 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16501 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16502 is disabled and its cache will get corrupt, causing AUTOS not to
16503 expand. Instead use only -quick functions.
16504 (verilog-scan-region): Fix scanning over escaped quotes.
16505 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16506 (verilog-re-search-backward-quick)
16507 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16508 related functions now ignore strings, to fix misparsing of strings
16509 with magic comments embedded in them.
16510 (verilog-read-auto-template):
16511 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16512 Reported by Brad Dobbie.
16513 (verilog-read-auto-template):
16514 Fix 'verilog-auto-inst-template-numbers' with comments.
16515 Reported by Brad Dobbie.
16516 (verilog-auto-inst, verilog-auto-inst-param)
16517 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16518 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16519 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16520 debugging templates without merge conflicts, bug357.
16521 Reported by Brad Dobbie.
16522 (verilog-read-auto-template):
16523 Fix verilog-auto-inst-template-numbers with multiple templates.
16524 Reported by Brad Dobbie.
16525 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16526 abbrevs so user won't be asked to save.
16527 (verilog-read-auto-lisp-present): Fix to start at beginning of
16528 buffer in case called outside of verilog-auto.
16529 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16530 to "X-2". Reported by Matthew Myers.
16531 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16532 all inputs from module templates. Reported by Leith Johnson.
16533 (verilog-module-inside-filename-p): Fix locating programs as with
16534 modules.
16535 (verilog-auto-inst-port): Fix vl-width expressions when using
16536 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16537 (verilog-decls-get-regs, verilog-decls-get-signals,
16538 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16539 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16540 verilog-read-decls): Combine reg and wire structures into one var
16541 structure to represent SystemVerilog concepts.
16542 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16543 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16544 (verilog-auto-wire-type, verilog-insert-definition):
16545 Add verilog-auto-wire-type and AUTOLOGIC to support using
16546 SystemVerilog "logic" keyword instead of "wire"/"reg".
16547 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16548 to declares outputs that also have assignments (presumably in an
16549 ifdef or generate if so there's not a driver conflict).
16550 Reported by Matthew Myers.
16551 (verilog-auto-declare-nettype, verilog-insert-definition):
16552 Add verilog-auto-declare-nettype to fix declarations using
16553 `default_nettype none. Reported by Julian Gorfajn.
16554 (verilog-read-always-signals-recurse, verilog-read-decls)
16555 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16556 malformed end statement, bug325. Reported by Joshua Wise and
16557 Andrew Drake.
16558 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16559 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16560 when expanding .* in interfaces, bug320.
16561 Reported by Pierre-David Pfister.
16562 (verilog-read-module-name): Fix import statements between module
16563 name and open parenthesis, bug317.
16564 Reported by Pierre-David Pfister.
16565 (verilog-simplify-range-expression): Fix simplification of
16566 multiplications inside AUTOWIRE connections, bug303.
16567 (verilog-auto-inst-port): Support parameter expansion in
16568 multidimensional arrays.
16569 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16570 after "assert property". Reported by Julian Gorfajn.
16571 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16572 with multiplication, bug303.
16573 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16574 Reported by Jan Frode Lonnum.
16575
16576 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16577
16578 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16579 (hfy-shell-file-name, hfy-shell):
16580 * international/fontset.el (x-decompose-font-name): Fix typos.
16581
16582 2011-11-29 Ken Brown <kbrown@cornell.edu>
16583
16584 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16585 (gdb-version): Remove defvar.
16586 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16587 (gdb-gud-context-command, gdb-non-stop-handler)
16588 (gdb-current-context-command, gdb-stopped): Use it.
16589 (gdb-init-1): Enable pretty printing here.
16590 (gdb-non-stop-handler): Don't enable pretty-printing here.
16591 Check to see if the target supports non-stop mode; if not, turn off
16592 non-stop mode. Use the following.
16593 (gdb-check-target-async): New defun.
16594 (gud-watch, gdb-stopped): Fix whitespace.
16595 (gdb-get-source-file): Don't try to display the source file if
16596 `gdb-main-file' is nil.
16597
16598 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16599
16600 * align.el: Try to generate fewer markers (bug#10047).
16601 (align--set-marker): New macro.
16602 (align-region): Use it.
16603
16604 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16605
16606 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16607
16608 2011-11-29 Chong Yidong <cyd@gnu.org>
16609
16610 * indent.el (indent-for-tab-command, indent-according-to-mode):
16611 Doc fix.
16612 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16613
16614 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16615
16616 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16617 aware of remote file names. (Bug#10124)
16618
16619 2011-11-29 Chong Yidong <cyd@gnu.org>
16620
16621 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16622
16623 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * files.el (find-file): Don't use force-same-window (bug#10144).
16626 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16627 use pop-to-buffer if the selected window can't be used.
16628 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16629
16630 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16631
16632 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16633 special-mode-map.
16634
16635 2011-11-28 Chong Yidong <cyd@gnu.org>
16636
16637 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16638
16639 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16640
16641 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16642 gdb-get-source-file-list on gdb-create-source-file-list.
16643
16644 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16645
16646 * whitespace.el (whitespace-newline): Use a different foreground
16647 color for 16-color light-background displays.
16648
16649 2011-11-24 Chong Yidong <cyd@gnu.org>
16650
16651 * window.el (display-buffer--special-action): Doc fix.
16652
16653 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16654
16655 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16656 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16657 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16658 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16659 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16660 (avl-tree-stack-first):
16661 * emacs-lisp/cconv.el (cconv--analyse-use):
16662 * net/gnutls.el (gnutls-negotiate): Fix typos.
16663
16664 2011-11-24 Glenn Morris <rgm@gnu.org>
16665
16666 * lpr.el (lpr-windows-system, lpr-lp-system):
16667 * mail/binhex.el (binhex-begin-line):
16668 * progmodes/grep.el (grep-history, grep-find-history):
16669 * textmodes/flyspell.el:
16670 * vc/pcvs-defs.el (cvs-global-menu):
16671 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16672 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16673 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16674
16675 * net/tls.el: Fix case of "GnuTLS".
16676
16677 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16678
16679 * version.el (emacs-build-system): Give it a doc-string.
16680
16681 2011-11-24 Juri Linkov <juri@jurta.org>
16682
16683 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16684
16685 2011-11-24 Glenn Morris <rgm@gnu.org>
16686
16687 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16688 if called on a non-mime message just toggle the headers. (Bug#8006)
16689
16690 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16691
16692 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16693 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16694 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16695 (allout-rebullet-heading, allout-open-sibtopic)
16696 (allout-toggle-current-subtree-encryption)
16697 (allout-toggle-subtree-encryption, allout-encrypt-string)
16698 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16699 (allout-distinctive-bullets-string, allout-auto-activation):
16700 * window.el (window-normalize-buffer-to-display):
16701 * progmodes/verilog-mode.el (verilog-batch-indent):
16702 * textmodes/bibtex.el (bibtex-field-braces-opt)
16703 (bibtex-field-strings-opt):
16704 * vc/cvs-status.el (cvs-tree-merge):
16705 Fix typos.
16706
16707 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16708
16709 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16710 `non-essential' to t, in order to avoid remote connections.
16711
16712 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16713
16714 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16715 On MS-DOS and MS-Windows, compare with loaddefs.el
16716 case-insensitively.
16717
16718 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16719
16720 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16721
16722 2011-11-23 Glenn Morris <rgm@gnu.org>
16723
16724 * paths.el (rmail-file-name): Reformat the doc-string so that it
16725 is picked up.
16726
16727 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16728 (rmail-auto-file): Ignore case in the "special" field names,
16729 as mail-fetch-field does for all others.
16730
16731 * mail/rmail.el (rmail-forward):
16732 * mail/rmailkwd.el (rmail-set-label):
16733 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16734 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16735
16736 * mail/rmail.el (rmail-current-message): Doc fix.
16737
16738 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16739
16740 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16743
16744 2011-11-22 Glenn Morris <rgm@gnu.org>
16745
16746 * mail/rmailmm.el (test-rmail-mime-handler)
16747 (test-rmail-mime-bulk-handler)
16748 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16749
16750 2011-11-21 Juri Linkov <juri@jurta.org>
16751
16752 * calc/calc.el (calc-read-key-sequence):
16753 Let-bind `input-method-function' to nil. (Bug#10018)
16754
16755 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16756
16757 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16758 Tell the caller that the next line needs recomputation, even
16759 though it doesn't start a sexp (bug#10094).
16760
16761 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16762
16763 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16764
16765 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16768 Use force-same-window.
16769
16770 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16771
16772 * descr-text.el (describe-char-unicode-data):
16773 * json.el (json-string-escape):
16774 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16775 (Footnote-unicode, Footnote-style-p):
16776 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16777
16778 2011-11-20 Chong Yidong <cyd@gnu.org>
16779
16780 * window.el (replace-buffer-in-windows): Restore interactive spec.
16781
16782 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16783
16784 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16785
16786 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16787 (byte-compile-global-not-obsolete-vars): New var.
16788 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16789 Use it.
16790 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16791
16792 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16793
16794 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16795 * progmodes/pascal.el (electric-pascal-equal):
16796 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16797 * xml.el (xml-substitute-special): Fix typos.
16798
16799 2011-11-20 Glenn Morris <rgm@gnu.org>
16800
16801 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16802 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16803 Doc fixes.
16804 (rmail-decode-mime-charset): Mark as obsolete.
16805
16806 * mail/rmailsum.el (rmail-message-regexp-p-1):
16807 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16808 Before using mime functions, check they are set. (Bug#10077)
16809
16810 2011-11-19 Juri Linkov <juri@jurta.org>
16811
16812 * info.el (Info-finder-find-node): Use `package--builtins' instead
16813 of `package-alist'. Use node names formed by the pattern "Keyword "
16814 and the keyword name.
16815
16816 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16817
16818 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16819
16820 2011-11-19 Juri Linkov <juri@jurta.org>
16821
16822 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16823 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16824 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16825 `old-history', `old-history-forward'. Add let-binding
16826 `window-selected'. Remove calls to `kill-buffer',
16827 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16828 before calling `Info-find-node', so `Info-find-node-2' will reread
16829 the Info file. Restore window positions only when `window-selected'
16830 is non-nil.
16831
16832 2011-11-19 Juri Linkov <juri@jurta.org>
16833
16834 * isearch.el (isearch-lazy-highlight-new-loop):
16835 Remove condition `(not isearch-error)'. (Bug#9918)
16836
16837 * misearch.el (multi-isearch-search-fun): Add condition
16838 `(not bound)' to ignore lazy-highlighting search.
16839 Add the search-failed message "end of multi" when the end of
16840 multi-sequence is reached. Uncapitalize the search-failed
16841 message "Repeat for next buffer".
16842
16843 * info.el (Info-search): Add the search-failed message
16844 "end of the manual" when the end of the manual is reached
16845 in Isearch mode.
16846
16847 2011-11-19 Juri Linkov <juri@jurta.org>
16848
16849 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16850 Use non-destructive `remove' instead of `delete' because
16851 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16852 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16853
16854 2011-11-19 Juri Linkov <juri@jurta.org>
16855
16856 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16857 to nil instead of binding `search-ring' and `regexp-search-ring'.
16858 (Bug#9185)
16859
16860 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16861
16862 * simple.el (line-move): Force movement by logical lines for any
16863 hscrolled window, not only when auto-hscroll-mode is on.
16864 (line-move-visual): Update doc string to that effect. (Bug#10076)
16865
16866 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16867
16868 * language/european.el (macintosh): Define as alias for mac-roman.
16869
16870 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16871
16872 * mail/rmailmm.el (rmail-mime-display-header)
16873 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16874 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16875 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16876 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16877 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16878 of a raw aref.
16879 (rmail-mime-entity-segment): To get past the tagline, move forward
16880 2 more lines, to account for the 2 empty lines that precede and
16881 follow the line with the buttons.
16882 (rmail-mime-update-tagline): Move one more line, to get past the
16883 empty line that follows the buttons in the tagline. (Bug#9520)
16884
16885 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16886
16887 * window.el (window-max-delta-1, window-min-delta-1)
16888 (window-min-size-1, window-state-get-1, window-state-put-1)
16889 (window-state-put-2): Use "window--" prefix.
16890
16891 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16892
16893 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16894 (smie-warning-count): New var.
16895 (smie-set-prec2tab): Use it.
16896 (smie-bnf->prec2): Improve warnings. Add docstring.
16897 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16898 (smie-bnf--set-class): New function.
16899 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16900 corner case.
16901
16902 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16903 (compilation-error-properties, compilation-move-to-column):
16904 Handle compilation-first-column while in the target buffer.
16905
16906 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16907 Don't hardcode point-min==1.
16908
16909 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16910 (eshell-rewrite-for-command): Remove workaround.
16911 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16912 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16913 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16914
16915 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16916
16917 2011-11-17 Glenn Morris <rgm@gnu.org>
16918
16919 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16920 Ignore buffer-local generated-autoload-file if it is the same
16921 as the global value. (Bug#10049)
16922
16923 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16924
16925 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16926 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16927 (reftex-toc-previous-heading, reftex-toc-max-level)
16928 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16929 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16930 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16931 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16932 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16933 (reftex-toc-rename-label, reftex-toc-visit-location)
16934 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16935 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16936 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16937 leaving "*toc*" only for references to the buffer.
16938
16939 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16940
16941 * window.el (window-resize, delete-window, split-window):
16942 Replace window-splits by window-combination-resize.
16943 * cus-start.el (window-splits): Replace by window-combination-resize.
16944
16945 2011-11-17 Glenn Morris <rgm@gnu.org>
16946
16947 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16948 Make bash entry derive from sh entry, not shell entry.
16949
16950 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16951
16952 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16953 local file name.
16954
16955 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16956
16957 * menu-bar.el (menu-bar-file-menu):
16958 * printing.el (pr-ps-utility):
16959 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16960 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16961 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16962 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16963 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16964 (icalendar--convert-cyclic-to-ical)
16965 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16966 (icalendar--convert-ical-to-diary)
16967 (icalendar--convert-recurring-to-diary)
16968 (icalendar--convert-non-recurring-all-day-to-diary)
16969 (icalendar-import-format-sample):
16970 * progmodes/idlw-shell.el (idlwave-shell-mode):
16971 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16972 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16973 (vhdl-ps-print-init): Fix typos.
16974
16975 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16976
16977 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16978 FSF and collapse date sequence, obscure author/maintainer email address
16979 better, remove extra version line, track relocation of author's webpage.
16980
16981 * progmodes/python.el (python-pdbtrack-input-prompt)
16982 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16983 regular python pdb prompts. Adjustments shamelessly taken exactly as
16984 suggested in EmacsWiki page (tiny change):
16985 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16986
16987 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16988
16989 * expand.el (expand-pos, expand-index, expand-point):
16990 Remove redundant info from docstring.
16991 (expand-add-abbrevs): Doc fix.
16992 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16993 (expand-sample-perl-mode-expand-list): Fix typos.
16994
16995 * net/dbus.el (dbus-event-member-name):
16996 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16997 * term/pc-win.el (msdos-create-frame-with-faces):
16998 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16999
17000 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17001
17002 * window.el (split-window, window-state-get-1)
17003 (window-state-put-1, window-state-put-2): Rename occurrences of
17004 window-nest to window-combination-limit.
17005 * cus-start.el (window-nest): Rename to window-combination-limit.
17006
17007 2011-11-16 Chong Yidong <cyd@gnu.org>
17008
17009 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17010 regexp (Bug#10033).
17011
17012 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17013
17014 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17015 `completing-read' will remove *Completions* and will preserve
17016 current-buffer for us.
17017 (tmm-add-prompt): Users of *Completions* will always (re)set its
17018 major mode.
17019 (tmm-old-comp-map): Remove.
17020
17021 2011-11-16 Glenn Morris <rgm@gnu.org>
17022
17023 * mail/rmailedit.el: Require rmailmm when compiling.
17024 (rmail-old-mime-state): New declaration.
17025 (rmail-edit-current-message): If editing a mime message,
17026 edit the "raw" message from the mbox buffer.
17027 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17028
17029 2011-11-15 Glenn Morris <rgm@gnu.org>
17030
17031 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17032 which wasn't being used. Add optional arg to force given state.
17033 (rmail-mime): Add optional arg to force given state.
17034
17035 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17036
17037 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17038 * frame.el (display-mm-dimensions-alist):
17039 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17040 (outline-move-subtree-down):
17041 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17042 (newsticker--treeview-do-get-node):
17043 * net/quickurl.el (quickurl-list-buffer-name):
17044 * progmodes/dcl-mode.el (dcl-mode):
17045 * progmodes/gdb-mi.el (gdb-mapcar*):
17046 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17047
17048 2011-11-15 Glenn Morris <rgm@gnu.org>
17049
17050 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17051 in a boolean sense, so just make it a boolean, and fix the doc.
17052 (rmail-show-mime-function, rmail-mime-feature)
17053 (rmail-require-mime-maybe): Doc fixes.
17054 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17055
17056 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17057
17058 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17059
17060 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17061 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17062 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17063 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17064
17065 2011-11-15 Glenn Morris <rgm@gnu.org>
17066
17067 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17068 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17069 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17070 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17071 (rmail-mime, rmail-show-mime): Doc fixes.
17072
17073 * term/ns-win.el (mode-line-frame-identification):
17074 Leave it alone. (Bug#10051)
17075
17076 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17077
17078 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17079 Handle empty buffers. (Bug#9978)
17080
17081 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17082
17083 * international/mule.el (define-charset):
17084 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17085 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17086 * progmodes/verilog-mode.el (verilog-backward-token):
17087 * textmodes/ispell.el (lookup-words):
17088 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17089
17090 2011-11-14 Glenn Morris <rgm@gnu.org>
17091
17092 * progmodes/executable.el
17093 (executable-make-buffer-file-executable-if-script-p):
17094 Handle file-modes returning nil.
17095
17096 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17097 message - not necessary, and causes problems. (Bug#9831)
17098
17099 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17100
17101 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17102
17103 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17104 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17105 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17106
17107 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17108
17109 * window.el (window-resize, delete-window): Use window-splits
17110 variable instead of function.
17111 (window-state-get-1, window-state-put-2, window-state-put):
17112 Don't deal with windows' splits status.
17113
17114 2011-11-12 Glenn Morris <rgm@gnu.org>
17115
17116 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17117 (apropos-documentation): Doc fixes.
17118
17119 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17120
17121 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17122 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17123
17124 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17125
17126 * electric.el (electric-indent-post-self-insert-function): Make it
17127 possible for a char to only indent in some circumstances.
17128 (electric-indent-mode): Simplify.
17129
17130 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17131
17132 * window.el (windows-with-parameter): Remove unused function.
17133 (windows-at-side): Rename to window-at-side-list.
17134 (window-check, window-atom-check, window-atom-check-1)
17135 (window-side-check, window-size-ignore, window-size-fixed-1)
17136 (window-in-direction-2): Prefix with "window--".
17137 (window-tree-1): Rename to window--subtree, fix doc-string.
17138
17139 2011-11-11 Glenn Morris <rgm@gnu.org>
17140
17141 * subr.el (eval-after-load): If FILE is already loaded,
17142 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17143
17144 2011-11-10 Glenn Morris <rgm@gnu.org>
17145
17146 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17147 Call svn via vc-svn-command rather than vc-do-command.
17148 (vc-svn-command): Add --non-interactive. (Bug#9993)
17149 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17150
17151 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17152 Add toggle-read-only. (Bug#7292)
17153 * files.el (toggle-read-only): Mention that it should only
17154 be used interactively. (Bug#10006)
17155
17156 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17157
17158 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17159 Adjust regexp for OCaml warnings.
17160
17161 * electric.el (electric-pair-post-self-insert-function): Let user
17162 turn it off buffer-locally (bug#9932).
17163
17164 * progmodes/python.el (python-beginning-of-statement):
17165 Rewrite (bug#2703).
17166
17167 * progmodes/compile.el: Better handle TABs (bug#9749).
17168 (compilation-internal-error-properties)
17169 (compilation-next-error-function): Obey the target buffer's
17170 compilation-error-screen-columns.
17171
17172 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17173
17174 * progmodes/meta-mode.el: Remove obsolete comments.
17175 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17176 Fix typos in docstrings.
17177
17178 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17179
17180 * window.el (window-size-fixed-p): Rewrite doc-string.
17181 (window-resizable-p): Rename to window--resizable-p. Update callers.
17182 (window--resizable): New function. Make all callers of
17183 window-resizable call window--resizable instead.
17184 (window-resizable): Rewrite in terms of window--resizable.
17185
17186 2011-11-08 Glenn Morris <rgm@gnu.org>
17187
17188 * progmodes/delphi.el (delphi-mode-syntax-table):
17189 Let define-derived-mode define a proper syntax table. (Bug#9994)
17190
17191 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17192
17193 * window.el: Stay away from defsubst.
17194 (window-list-no-nils): Remove.
17195 (window-state-get-1, window-state-get): Use backquote instead.
17196
17197 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17198
17199 * emacs-lisp/find-func.el (find-function-read):
17200 Fix incorrect use of default argument in `completing-read'.
17201
17202 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17203
17204 * window.el (display-buffer-function, special-display-function):
17205 Mention display-buffer-record-window but do not mention
17206 help-setup parameter in doc-strings.
17207 (window-min-delta): Fix doc-string typo.
17208
17209 2011-11-08 Chong Yidong <cyd@gnu.org>
17210
17211 * window.el (window-total-height, window-total-width): Doc fix.
17212 (window-body-size): Move from C.
17213 (window-body-height, window-body-width): Move to C.
17214
17215 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17216
17217 * window.el: Make special-display like display-buffer-alist (bug#9532).
17218 (display-buffer--special-action): New function, morphed
17219 from display-buffer--special.
17220 (display-buffer): Use it to handle special-display-buffers at higher
17221 priority (just after display-buffer-alist).
17222 (display-buffer-fallback-action, display-buffer--other-frame-action)
17223 (pop-to-buffer-same-window): Remove display-buffer--special.
17224
17225 2011-11-07 Glenn Morris <rgm@gnu.org>
17226
17227 * calendar/cal-menu.el (cal-menu-set-date-title):
17228 Do nothing if not in a calendar. (Bug#9976)
17229
17230 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17231
17232 * files.el (find-file): Always use selected-window.
17233
17234 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17235
17236 * window.el (window-combinations): Make WINDOW argument
17237 mandatory. Rewrite doc-string.
17238 (walk-window-subtree, window-atom-check, window-min-delta)
17239 (window-max-delta, window--resize-this-window)
17240 (window--resize-root-window-vertically, window-tree)
17241 (balance-windows, window-state-put): Rewrite doc-strings as to
17242 not mention the term "subwindow".
17243 (window--resize-subwindows-skip-p): Rename to
17244 window--resize-child-windows-skip-p.
17245 (window--resize-subwindows-normal): Rename to
17246 window--resize-child-windows-normal.
17247 (window--resize-subwindows): Rename to
17248 window--resize-child-windows.
17249 (window-or-subwindow-p): Rename to window--in-subtree-p.
17250
17251 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17252
17253 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17254 Ensure that mbox format messages end in two newlines (Bug#9974).
17255
17256 2011-11-06 Chong Yidong <cyd@gnu.org>
17257
17258 * window.el (window-combination-p): Function deleted; its
17259 side-effect is not used in any existing code.
17260 (window-combinations, window-combined-p): Call window-*-child
17261 directly.
17262
17263 2011-11-05 Chong Yidong <cyd@gnu.org>
17264
17265 * window.el (window-valid-p): Rename from window-any-p.
17266 (window-size-ignore, window-state-get): Callers changed.
17267 (window-normalize-window): Rename from window-normalize-any-window.
17268 New arg LIVE-ONLY, replacing window-normalize-live-window.
17269 (window-normalize-live-window): Delete.
17270 (window-combination-p, window-combined-p, window-combinations)
17271 (walk-window-subtree, window-atom-root, window-min-size)
17272 (window-sizable, window-sizable-p, window-size-fixed-p)
17273 (window-min-delta, window-max-delta, window-resizable)
17274 (window-resizable-p, window-full-height-p, window-full-width-p)
17275 (window-current-scroll-bars, window-point-1, set-window-point-1)
17276 (window-at-side-p, window-in-direction, window-resize)
17277 (adjust-window-trailing-edge, maximize-window, minimize-window)
17278 (window-deletable-p, delete-window, delete-other-windows)
17279 (record-window-buffer, unrecord-window-buffer)
17280 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17281 (quit-window, split-window, window-state-put)
17282 (set-window-text-height, fit-window-to-buffer)
17283 (shrink-window-if-larger-than-buffer): Callers changed.
17284
17285 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17286
17287 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17288 rfc2047-decode-string.
17289 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17290 warnings.
17291
17292 * window.el (window-body-height, window-body-width): Mention in
17293 the doc string that the return values are in frame's canonical
17294 units. (Bug#9949)
17295
17296 2011-11-03 Alan Mackenzie <acm@muc.de>
17297
17298 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17299 change in cc-engine.el.
17300
17301 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17302
17303 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17304
17305 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17306
17307 * window.el (quit-window): Call unrecord-window-buffer after
17308 showing another buffer in the window. (Bug#9937)
17309 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17310
17311 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17312
17313 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17314 Accept status with more than 9 shelves. (Bug#9935)
17315 Reported by Colin D Bennett <colin@gibibit.com>.
17316
17317 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17318
17319 * help.el (with-help-window): Don't reference
17320 temp-buffer-show-specifiers in doc-string.
17321
17322 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17323
17324 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17325 menu-item.
17326
17327 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17328
17329 * whitespace.el: New version 13.2.2.
17330 (whitespace-newline-mode): Disable properly. Reported by Sarah
17331 <EmacsWiki>.
17332
17333 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17334
17335 * net/newst-treeview.el: Remove "Time-stamp".
17336 (newsticker--group-manage-orphan-feeds): Do not call
17337 newsticker--treeview-tree-update.
17338 (newsticker-treeview-update, newsticker-treeview):
17339 Call newsticker--treeview-tree-update if necessary.
17340
17341 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17342
17343 * window.el (window-iso-combination-p, window-iso-combined-p)
17344 (window-iso-combinations): Remove "iso-" infix.
17345 Suggested by Chong Yidong.
17346 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17347 (window-max-delta-1, window-resize, window--resize-siblings)
17348 (window--resize-this-window, adjust-window-trailing-edge)
17349 (split-window, balance-windows-1)
17350 (shrink-window-if-larger-than-buffer):
17351 * calendar/calendar.el (calendar-generate-window):
17352 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17353
17354 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17357 in place (bug#9907).
17358 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17359 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17360 (eshell-structure-basic-command, eshell-rewrite-while-command)
17361 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17362 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17363 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17364 (eshell-do-pipelines-synchronously, eshell-eval-command):
17365 Use backquotes and prefer setq to set.
17366 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17367 (eshell-macrop): Use functionp.
17368 (eshell-do-eval): Handle multiple expressions in `while' body.
17369
17370 2011-10-30 Chong Yidong <cyd@gnu.org>
17371
17372 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17373 instead of set-mark (Bug#9810).
17374
17375 2011-10-30 Chong Yidong <cyd@gnu.org>
17376
17377 * window.el (split-window-below, split-window-right): Rename from
17378 split-window-above-each-other and split-window-side-by-side
17379 respectively. All callers changed.
17380 (split-window-sensibly, split-window-sensibly): Use them.
17381 (split-window-keep-point): Doc fix.
17382
17383 * isearch.el: Add isearch-scroll property to split-window-below
17384 and split-window-right.
17385
17386 * follow.el (follow-mode):
17387 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17388 * progmodes/ada-xref.el (ada-gdb-application):
17389 * emulation/vip.el (vip-buffer-in-two-windows):
17390 * image-dired.el (image-dired-dired-with-window-configuration):
17391 * dired-x.el (dired-do-find-marked-files):
17392 * dired.el (dired-pop-to-buffer):
17393 * bs.el (bs--show-with-configuration):
17394 * vc/emerge.el (emerge-setup-windows):
17395 * textmodes/two-column.el (2C-two-columns):
17396 * textmodes/reftex-toc.el (reftex-toc):
17397 * progmodes/gdb-mi.el (gdb-setup-windows):
17398 * progmodes/fortran.el (fortran-window-create):
17399 * net/newst-treeview.el (newsticker--treeview-window-init):
17400 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17401 * emulation/tpu-edt.el (tpu-gold-map):
17402 * emulation/crisp.el (crisp-mode-map):
17403 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17404
17405 2011-10-29 Chong Yidong <cyd@gnu.org>
17406
17407 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17408
17409 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17410
17411 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17412 forged Ispell output (Bug#7904).
17413
17414 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17415
17416 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17417
17418 * doc-view.el: Avoid ugly errors about not finding nil.
17419 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17420 (doc-view-dvipdf-program, doc-view-unoconv-program)
17421 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17422 Avoid nil or absolute file name as default value.
17423 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17424
17425 2011-10-28 Alan Mackenzie <acm@muc.de>
17426
17427 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17428
17429 2011-10-28 Alan Mackenzie <acm@muc.de>
17430
17431 Amend the handling of c-beginning/end-of-defun in nested declaration
17432 scopes.
17433
17434 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17435 cc-langs.el. Change it to a defcustom.
17436
17437 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17438 cc-vars.el.
17439
17440 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17441 Prevent "class foo : bar" being spuriously recognized as a label.
17442
17443 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17444 Add parameter `inclusive' (to include enclosing braces in the region).
17445 (c-widen-to-enclosing-decl-scope): New function.
17446 (c-while-widening-to-decl-block): New macro.
17447 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17448 outward for defun boundaries, and correspondingly change symbol
17449 `respect-enclosure' to `go-outward'.
17450 (c-declaration-limits): Change algorithm to report only the "innermost"
17451 defun's boundaries.
17452
17453 2011-10-28 Deniz Dogan <deniz@dogan.se>
17454
17455 * net/rcirc.el (rcirc-mode): Use hard newlines.
17456
17457 2011-10-28 Alan Mackenzie <acm@muc.de>
17458
17459 Amend to indent and fontify macros "which include their own semicolon"
17460 correctly, using the "virtual semicolon" mechanism.
17461
17462 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17463
17464 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17465 Recode to scan one line at a time rather than having \n and \r
17466 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17467 (c-forward-label): Amend for virtual semicolons.
17468 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17469
17470 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17471 of the new C macros.
17472
17473 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17474 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17475 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17476 (c-opt-cpp-macro-define): Make into a full language variable.
17477 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17478 AWK Mode (including \n, \r) removed, no longer needed.
17479
17480 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17481 Invoke c-make-macro-with-semi-re.
17482
17483 * progmodes/cc-vars.el (c-macro-with-semi-re):
17484 (c-macro-names-with-semicolon): New variables.
17485 (c-make-macro-with-semi-re): New function.
17486
17487 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * vc/log-edit.el: Fill empty field rather than adding new one.
17490 (log-edit-add-field): New function.
17491 (log-edit-insert-changelog): Use it.
17492
17493 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17494
17495 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17496
17497 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17498
17499 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17500 (gdb--check-interpreter): New function.
17501 (gdb): Use it.
17502
17503 2011-10-27 Glenn Morris <rgm@gnu.org>
17504
17505 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17506 (least-positive-float, least-negative-float)
17507 (least-positive-normalized-float, least-negative-normalized-float)
17508 (float-epsilon, float-negative-epsilon):
17509 Remove unnecessary declarations.
17510
17511 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17512 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17513 (least-positive-float, least-negative-float)
17514 (least-positive-normalized-float, least-negative-normalized-float)
17515 (float-epsilon, float-negative-epsilon): Add doc-strings,
17516 based on those in cl.texi.
17517
17518 * files.el (set-visited-file-name): If the major-mode changed,
17519 reload the local variables. (Bug#9796)
17520
17521 2011-10-27 Chong Yidong <cyd@gnu.org>
17522
17523 * subr.el (change-major-mode-after-body-hook): New hook.
17524 (run-mode-hooks): Run it.
17525
17526 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17527 Use change-major-mode-before-body-hook.
17528
17529 * simple.el (fundamental-mode):
17530 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17531 change introducing fundamental-mode-hook.
17532
17533 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17534
17535 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17536
17537 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17538
17539 * ido.el (ido-file-name-all-completions-1): Do not require
17540 tramp.el explicitly. (Bug#7583)
17541
17542 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17543
17544 * progmodes/octave-mod.el:
17545 * progmodes/octave-inf.el: Update maintainer.
17546
17547 2011-10-26 Chong Yidong <cyd@gnu.org>
17548
17549 * subr.el (with-wrapper-hook): Rewrite doc.
17550
17551 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17552
17553 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17554 filenames "/method:foo:". (Bug#9793)
17555
17556 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17557
17558 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17559 (bug#9865).
17560
17561 2011-10-24 Glenn Morris <rgm@gnu.org>
17562
17563 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17564
17565 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17566
17567 * notifications.el: Add the requirement of a running D-Bus session
17568 bus to the Commentary.
17569
17570 2011-10-24 Juri Linkov <juri@jurta.org>
17571
17572 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17573 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17574 (Bug#9364)
17575
17576 2011-10-24 Juri Linkov <juri@jurta.org>
17577
17578 * info.el (Info-following-node-name-re): Add newline to the list
17579 of allowed characters for leading space. (Bug#9824)
17580
17581 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17582
17583 * progmodes/octave-inf.el (inferior-octave-mode-map):
17584 Fix C-c C-h binding.
17585 * progmodes/octave-mod.el (octave-help): Remove.
17586
17587 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17588
17589 Sync with Tramp 2.2.3.
17590
17591 * net/tramp-cache.el (top): Pacify byte-compiler using
17592 `init-file-user' and `site-run-file'.
17593
17594 * net/trampver.el: Update release number.
17595
17596 2011-10-23 Chong Yidong <cyd@gnu.org>
17597
17598 * files.el (toggle-read-only): Remove obsolete comment about
17599 version control.
17600
17601 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17602 for toggle-read-only. Note that this hasn't called vc-next-action
17603 since 2008-05-02, though it wasn't documented at the time.
17604
17605 * vc/ediff-init.el (ediff-toggle-read-only-function):
17606 Use toggle-read-only.
17607
17608 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17609
17610 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17611 of c-parse-state.
17612
17613 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17614 correct faulty logical expression.
17615 (c-parse-state-state, c-record-parse-state-state):
17616 (c-replay-parse-state-state): New defvar/defuns.
17617 (c-debug-parse-state): Use new functions.
17618
17619 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17620
17621 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17622 last fix. Use window-in-direction correctly.
17623
17624 2011-10-21 Chong Yidong <cyd@gnu.org>
17625
17626 * progmodes/idlwave.el (idlwave-mode):
17627 * progmodes/vera-mode.el (vera-mode): No need to set
17628 require-final-newline; that's done in prog-mode.
17629 Suggested by Stefan Monnier.
17630
17631 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17632
17633 * mouse.el (mouse-drag-window-above)
17634 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17635 (mouse-drag-mode-line-1, mouse-drag-header-line)
17636 (mouse-drag-vertical-line-rightward-window): Remove.
17637 (mouse-drag-line): New function.
17638 (mouse-drag-mode-line, mouse-drag-header-line)
17639 (mouse-drag-vertical-line): Call mouse-drag-line.
17640 * window.el (window-at-side-p, windows-at-side): New functions.
17641
17642 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17643
17644 * tar-mode.el (tar-grind-file-mode):
17645 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17646
17647 2011-10-21 Chong Yidong <cyd@gnu.org>
17648
17649 * progmodes/idlwave.el (idlwave-mode):
17650 * progmodes/vera-mode.el (vera-mode):
17651 Use mode-require-final-newline.
17652
17653 2011-10-20 Glenn Morris <rgm@gnu.org>
17654
17655 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17656
17657 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17658
17659 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17660
17661 2011-10-20 Chong Yidong <cyd@gnu.org>
17662
17663 * emulation/cua-base.el (cua-mode):
17664 * mail/footnote.el (footnote-mode):
17665 * mail/mailabbrev.el (mail-abbrevs-mode):
17666 * net/xesam.el (xesam-minor-mode):
17667 * progmodes/bug-reference.el (bug-reference-mode):
17668 * progmodes/cap-words.el (capitalized-words-mode):
17669 * progmodes/compile.el (compilation-minor-mode)
17670 (compilation-shell-minor-mode):
17671 * progmodes/gud.el (gud-tooltip-mode):
17672 * progmodes/hideif.el (hide-ifdef-mode):
17673 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17674 * progmodes/subword.el (subword-mode):
17675 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17676 * progmodes/which-func.el (which-function-mode):
17677 * term/tvi970.el (tvi970-set-keypad-mode):
17678 * term/vt100.el (vt100-wide-mode):
17679 * textmodes/flyspell.el (flyspell-mode):
17680 * textmodes/ispell.el (ispell-minor-mode):
17681 * textmodes/nroff-mode.el (nroff-electric-mode):
17682 * textmodes/paragraphs.el (use-hard-newlines):
17683 * textmodes/refill.el (refill-mode):
17684 * textmodes/reftex.el (reftex-mode):
17685 * textmodes/rst.el (rst-minor-mode):
17686 * textmodes/sgml-mode.el (html-autoview-mode)
17687 (sgml-electric-tag-pair-mode):
17688 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17689 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17690 * emulation/crisp.el (crisp-mode):
17691 * emacs-lisp/eldoc.el (eldoc-mode):
17692 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17693 minor mode behavior.
17694
17695 2011-10-19 Juri Linkov <juri@jurta.org>
17696
17697 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17698 the list of hard-coded chars with escape-glyph face.
17699
17700 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17703
17704 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17705
17706 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17707 running process.
17708
17709 2011-10-19 Glenn Morris <rgm@gnu.org>
17710
17711 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17712 Ignore ignored files. (Bug#9726)
17713
17714 2011-10-19 Chong Yidong <cyd@gnu.org>
17715
17716 Doc fix for minor modes, stating that an omitted argument enables
17717 the mode unconditionally when called from Lisp.
17718
17719 * abbrev.el (abbrev-mode):
17720 * allout.el (allout-mode):
17721 * autoinsert.el (auto-insert-mode):
17722 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17723 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17724 (global-auto-revert-mode):
17725 * battery.el (display-battery-mode):
17726 * composite.el (global-auto-composition-mode)
17727 (auto-composition-mode):
17728 * delsel.el (delete-selection-mode):
17729 * desktop.el (desktop-save-mode):
17730 * dired-x.el (dired-omit-mode):
17731 * dirtrack.el (dirtrack-mode):
17732 * doc-view.el (doc-view-minor-mode):
17733 * double.el (double-mode):
17734 * electric.el (electric-indent-mode, electric-pair-mode):
17735 * emacs-lock.el (emacs-lock-mode):
17736 * epa-hook.el (auto-encryption-mode):
17737 * follow.el (follow-mode):
17738 * font-core.el (font-lock-mode):
17739 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17740 * help.el (temp-buffer-resize-mode):
17741 * hilit-chg.el (highlight-changes-mode)
17742 (highlight-changes-visible-mode):
17743 * hi-lock.el (hi-lock-mode):
17744 * hl-line.el (hl-line-mode, global-hl-line-mode):
17745 * icomplete.el (icomplete-mode):
17746 * ido.el (ido-everywhere):
17747 * image-file.el (auto-image-file-mode):
17748 * image-mode.el (image-minor-mode):
17749 * iswitchb.el (iswitchb-mode):
17750 * jka-cmpr-hook.el (auto-compression-mode):
17751 * linum.el (linum-mode):
17752 * longlines.el (longlines-mode):
17753 * master.el (master-mode):
17754 * mb-depth.el (minibuffer-depth-indicate-mode):
17755 * menu-bar.el (menu-bar-mode):
17756 * minibuf-eldef.el (minibuffer-electric-default-mode):
17757 * mouse-sel.el (mouse-sel-mode):
17758 * msb.el (msb-mode):
17759 * mwheel.el (mouse-wheel-mode):
17760 * outline.el (outline-minor-mode):
17761 * paren.el (show-paren-mode):
17762 * recentf.el (recentf-mode):
17763 * reveal.el (reveal-mode, global-reveal-mode):
17764 * rfn-eshadow.el (file-name-shadow-mode):
17765 * ruler-mode.el (ruler-mode):
17766 * savehist.el (savehist-mode):
17767 * scroll-all.el (scroll-all-mode):
17768 * scroll-bar.el (scroll-bar-mode):
17769 * server.el (server-mode):
17770 * shell.el (shell-dirtrack-mode):
17771 * simple.el (auto-fill-mode, transient-mark-mode)
17772 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17773 (line-number-mode, column-number-mode, size-indication-mode)
17774 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17775 * strokes.el (strokes-mode):
17776 * time.el (display-time-mode):
17777 * t-mouse.el (gpm-mouse-mode):
17778 * tool-bar.el (tool-bar-mode):
17779 * tooltip.el (tooltip-mode):
17780 * type-break.el (type-break-mode-line-message-mode)
17781 (type-break-query-mode):
17782 * view.el (view-mode):
17783 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17784 (global-whitespace-mode, global-whitespace-newline-mode):
17785 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17786
17787 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17788 Fix autogenerated docstring.
17789
17790 2011-10-19 Juri Linkov <juri@jurta.org>
17791
17792 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17793 by checking environment variables "DESKTOP_SESSION" and
17794 "XDG_CURRENT_DESKTOP". (Bug#9779)
17795
17796 2011-10-19 Juri Linkov <juri@jurta.org>
17797
17798 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17799 (browse-url-chromium-program, browse-url-chromium-arguments):
17800 New defcustoms.
17801 (browse-url-default-browser): Check for `browse-url-chromium' and
17802 call `browse-url-chromium-program'.
17803 (browse-url-chromium): New command. (Bug#9779)
17804
17805 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17806
17807 * facemenu.el (list-colors-duplicates): On Windows, detect more
17808 duplicates by assuming that only colors matching "^System" are
17809 special "system colors". (Bug#9722)
17810
17811 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17812
17813 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17814 to distinguish the author from the committer.
17815
17816 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17817
17818 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17819
17820 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17821
17822 * international/mule.el (sgml-html-meta-auto-coding-function):
17823 Add support for detecting encoding in HTML5 specified only as
17824 <meta charset="UTF-8">. Implementation just makes http-equiv and
17825 content-type parts from HTML4 encoding string optional. (Bug#9716)
17826
17827 2011-10-18 Glenn Morris <rgm@gnu.org>
17828
17829 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17830
17831 2011-10-18 Chong Yidong <cyd@gnu.org>
17832
17833 * faces.el (cursor): Doc fix.
17834
17835 2011-10-17 Chong Yidong <cyd@gnu.org>
17836
17837 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17838
17839 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17840
17841 * dirtrack.el (dirtrack): Support shell buffers with path
17842 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17843
17844 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17845
17846 * json.el: Bump version to 1.3 and note change in History.
17847 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17848
17849 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17850
17851 * comint.el (comint-insert-input, comint-send-input)
17852 (comint-get-old-input-default, comint-backward-matching-input)
17853 (comint-next-prompt): Use nil instead of `input' for field property of
17854 past user input (bug#114).
17855
17856 * minibuffer.el (completion--replace): Inherit surrounding properties
17857 (bug#114).
17858 (minibuffer-complete-and-exit): Use it.
17859
17860 * comint.el (comint--table-subvert): Quote the all-completions output
17861 (bug#9160).
17862
17863 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17864
17865 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17866
17867 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17868 window on right of selected. (Bug#9350) Reword other window
17869 entries and separate them from frame entries.
17870
17871 2011-10-15 Glenn Morris <rgm@gnu.org>
17872
17873 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17874 Doc fixes.
17875
17876 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17877
17878 * net/network-stream.el (network-stream-open-starttls):
17879 Improve detection of failure due to lack of TLS support.
17880
17881 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17882 putting the input text in front and in bold.
17883
17884 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17885
17886 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17887
17888 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17889 empty buffer.
17890
17891 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17892 unread-command-events rather than pushing yet-another event.
17893
17894 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17895
17896 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17897 the explanation of the possible choices. Make the options passed
17898 to completing-read shorter.
17899
17900 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17901
17902 * textmodes/flyspell.el (flyspell-large-region): Make sure
17903 extended character mode is used if defined (Bug#1339).
17904
17905 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17906
17907 * simple.el (what-cursor-position): Fix the display of the
17908 character info for LRE, LRO, RLE, and RLO characters by appending
17909 an invisible PDF.
17910
17911 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17912
17913 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17914 even in case of error; add debug spec; simplify data flow.
17915 (with-timeout-handler): Remove.
17916
17917 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17918
17919 Fix Bug#6019, Bug#9315.
17920
17921 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17922 complete `buffer-file-name', the local file name part could look
17923 remotely (for example on VMS).
17924
17925 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17926 `tramp-run-real-handler'.
17927 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17928 already quoted by '"'.
17929
17930 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17931 Let `file-name-handler-alist' be nil, the local file name part
17932 could look remotely (for example on VMS).
17933
17934 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17935
17936 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17937 from here...
17938 (flyspell-post-command-hook): ...to here.
17939
17940 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17941
17942 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17943 if not needed.
17944 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17945 using completion. Protect against "slow" callers.
17946 Remove the "message hack".
17947
17948 2011-10-11 Juri Linkov <juri@jurta.org>
17949
17950 * isearch.el (isearch-lazy-highlight-word): New variable.
17951 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17952 Use it. (Bug#9727)
17953
17954 2011-10-11 Glenn Morris <rgm@gnu.org>
17955
17956 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17957 like f90-previous-statement does.
17958
17959 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17960
17961 * eshell/eshell.el (eshell-command): History should be saved
17962 only in interactive use, to avoid error.
17963
17964 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17965
17966 * minibuffer.el (completion-file-name-table): Fix last change,
17967 i.e. ignore normal errors but not the other ones.
17968
17969 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17970
17971 * window.el (special-display-buffer-names)
17972 (special-display-regexps): Remove some remnants of earlier
17973 changes from doc-strings.
17974 (quit-windows-on): New function.
17975
17976 * vc/vc.el (vc-revert, vc-rollback):
17977 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17978 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17979 (Bug#6183) (Bug#7074) (Bug#7447)
17980
17981 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17982
17983 * window.el (frame-auto-hide-function): Add version tag.
17984 (Bug#9699)
17985
17986 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17987
17988 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17989 condition.
17990
17991 2011-10-09 Leo Liu <sdl.web@gmail.com>
17992
17993 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17994 (Bug#9701)
17995
17996 2011-10-08 Glenn Morris <rgm@gnu.org>
17997
17998 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17999 before the first code statement zero indent. (Bug#9690)
18000
18001 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18002
18003 * simple.el (count-words-region): Always count in the region.
18004 Report the number of lines and characters too.
18005 (count-words): New command, which counts in the buffer if the
18006 region is inactive, as count-words-region used to.
18007 (count-words--message): New function. Handle plurals.
18008 (count-lines-region): Make it an alias for count-words-region.
18009
18010 * bindings.el (esc-map): Replace count-lines-region with
18011 count-words-region.
18012
18013 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18014
18015 * window.el (window--delete): Delete dedicated frame
18016 unconditionally when argument KILL is non-nil. (Bug#9699)
18017 (switch-to-buffer): Fix doc-string typo.
18018
18019 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18020
18021 * eshell/eshell.el (eshell-command): Avoid using hooks.
18022
18023 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18024
18025 * bindings.el ([M-left],[M-right]): Bind to left-word and
18026 right-word respectively.
18027
18028 2011-10-07 Glenn Morris <rgm@gnu.org>
18029
18030 * cus-start.el (debug-on-quit): Fix custom type.
18031
18032 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18033
18034 * subr.el (define-key-after): Clarify that the function is not
18035 useful for non-menu keymaps.
18036
18037 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18038
18039 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18040
18041 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18042 in current minibuffer (Fix bug with recursive minibuffers).
18043
18044 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18045
18046 * progmodes/gdb-mi.el (gdb): Doc fix.
18047
18048 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18049
18050 * window.el (frame-auto-hide-function): New option replacing
18051 frame-auto-delete. Suggested by Stefan Monnier.
18052 (window--delete): Call frame-auto-hide-function instead of
18053 investigating frame-auto-delete.
18054 (window-point-1, set-window-point-1): New functions.
18055 (window-in-direction, record-window-buffer, window-state-get-1)
18056 (display-buffer-record-window): Use window-point-1 instead of
18057 window-point.
18058 (set-window-buffer-start-and-point): Use set-window-point-1.
18059
18060 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18061
18062 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18063
18064 2011-10-05 Glenn Morris <rgm@gnu.org>
18065
18066 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18067 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18068
18069 2011-10-05 Leo Liu <sdl.web@gmail.com>
18070
18071 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18072 works with buffer object.
18073
18074 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18075
18076 * mpc.el (mpc-tool-bar-map): Add labels.
18077
18078 2011-10-04 Glenn Morris <rgm@gnu.org>
18079
18080 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18081
18082 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18083
18084 * window.el (window--delete): New function.
18085 (frame-auto-delete): Resuscitate option.
18086 (bury-buffer, replace-buffer-in-windows)
18087 (quit-window): Rewrite using window--delete.
18088 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18089 Pass display-buffer-mark-dedicated to window--display-buffer-2
18090 (Bug#9639).
18091
18092 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18093
18094 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18095 returns a list (bug#9554). Add remote file name completion.
18096 * comint.el (comint--table-subvert): Curry and get quote&unquote
18097 functions as arguments.
18098 (comint--complete-file-name-data): Adjust call accordingly.
18099 * pcomplete.el (pcomplete--table-subvert): Remove.
18100 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18101
18102 * minibuffer.el (completion-table-case-fold): Use currying.
18103 (completion--styles-type, completion--cycling-threshold-type):
18104 New constants.
18105 (completion-styles, completion-category-overrides)
18106 (completion-cycle-threshold): Use them.
18107 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18108 completion-table-case-fold.
18109
18110 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18111
18112 * minibuffer.el (completion-category-overrides): Fix type of styles
18113 and add more user friendly tags (bug#9660).
18114
18115 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18116
18117 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18118 (mule-input-method-string): New widget.
18119 (default-input-method, language-info-custom-alist): Use it.
18120
18121 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18122
18123 * pcomplete.el: Require comint.
18124 (pcomplete--common-suffix): Remove.
18125 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18126 (pcomplete--table-subvert): Sync with comint--table-subvert.
18127 (pcomplete--entries): Use comint-completion-file-name-table.
18128 * comint.el (comint-unquote-filename): Simplify.
18129 (comint-completion-file-name-table): New function (bug#9616).
18130 (comint--complete-file-name-data): Use it.
18131
18132 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18133 (pcmpl-gnu-tar-buffer): Remove.
18134 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18135 around. Make sure pcomplete-suffix-list is only changed temporarily.
18136 Don't look inside the tar's file if it's too large.
18137
18138 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18139
18140 * cus-edit.el (custom-mode-map):
18141 * epa.el (epa-key-list-mode-map):
18142 * man.el (Man-mode-map):
18143 * startup.el (splash-screen-keymap):
18144 * simple.el (special-mode-map): Use scroll-up-command and
18145 scroll-down-command.
18146
18147 * progmodes/idlw-help.el (idlwave-help-mode-map):
18148 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18149 * net/newst-plainview.el (newsticker-mode-map):
18150 * emulation/ws-mode.el (wordstar-mode-map):
18151 * emulation/vi.el (vi-com-map):
18152 * calc/calc-graph.el (calc-graph-show-dumb):
18153 * term/sun.el (terminal-init-sun):
18154 * term/ns-win.el (global-map):
18155 * progmodes/grep.el (grep-mode-map):
18156 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18157 * mail/rmail.el (rmail-mode-map):
18158 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18159
18160 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18161 custom-safe-themes as special.
18162
18163 2011-10-01 Julien Danjou <julien@danjou.info>
18164
18165 * notifications.el (notifications-notify): Fix docstring.
18166
18167 2011-10-01 Per Starbäck <per@starback.se>
18168
18169 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18170
18171 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18172
18173 * startup.el (command-line-1): Fix last fix by inserting
18174 initial-scratch-message into *scratch* before displaying it.
18175 (Bug#9605) and (Bug#9636)
18176
18177 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18178
18179 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18180 window is hscrolled, move by logical lines. (Bug#9607)
18181 (line-move-visual): Update the doc string to the above effect.
18182
18183 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18184
18185 * window.el (display-buffer-record-window): When WINDOW is the
18186 selected window use `point' instead of `window-point'. (Bug#9626)
18187
18188 * startup.el (command-line-1): Use insert-before-markers when
18189 inserting initial-scratch-message. (Bug#9605)
18190
18191 * help.el (help-window): Remove variable.
18192
18193 2011-09-29 Glenn Morris <rgm@gnu.org>
18194
18195 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18196
18197 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18198
18199 * descr-text.el (describe-char-categories): Accept category
18200 descriptions more than one line long.
18201
18202 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18203
18204 * simple.el (delete-trailing-whitespace): Fix last change.
18205
18206 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18207 Don't confuse "y => 3" as the beginning of a `y' operation.
18208
18209 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18210 object has more than 4 slots (bug#9613).
18211
18212 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18213
18214 * subr.el (with-output-to-temp-buffer):
18215 * net/quickurl.el (quickurl, quickurl-browse-url):
18216 Fix typos in docstrings.
18217
18218 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18219
18220 * minibuffer.el (completion-styles)
18221 (completion-category-overrides): Cross reference each other in doc
18222 strings.
18223
18224 2011-09-27 Glenn Morris <rgm@gnu.org>
18225
18226 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18227 to split-string. (Bug#9606)
18228
18229 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18230
18231 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18232 (bug#9615).
18233
18234 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18235
18236 * emacs-lisp/package.el (list-packages): Fix echo area message.
18237
18238 2011-09-27 Leo Liu <sdl.web@gmail.com>
18239
18240 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18241
18242 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18243
18244 * net/dbus.el (dbus-unregister-object): Don't release services for
18245 registered signals. (Bug#9581)
18246
18247 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18248
18249 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18250 function that picks between cfengine 2 and 3 support
18251 automatically. Update docs accordingly.
18252
18253 2011-09-22 Kenichi Handa <handa@m17n.org>
18254
18255 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18256 ZERO.
18257 (indian-itrans-v5-table-for-tamil): New variable.
18258 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18259
18260 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18261
18262 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18263 that's true if the current command involved collapsing of text.
18264 It's reset to false at the beginning of the next command.
18265 (allout-post-command-business): Move the cursor to the beginning
18266 of entry if the cursor is hidden and collapsing activity just
18267 happened.
18268
18269 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18270
18271 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18272 tracking (Bug#9541).
18273
18274 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18275
18276 * net/newst-reader.el (newsticker-html-renderer)
18277 (newsticker-show-news): Automatically load html rendering package
18278 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18279 because w3m-fill-column is let-bound" and the error "Symbol's value
18280 as variable is void: w3m-fill-column".
18281
18282 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18283
18284 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18285 Release services only if they are defined. (Bug#9581)
18286
18287 2011-09-23 Richard Stallman <rms@gnu.org>
18288
18289 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18290 distinguish start of paragraph from start of its text.
18291
18292 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18293
18294 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18295 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18296 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18297
18298 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18299
18300 * international/mule-diag.el (mule-diag): Insert a newline after
18301 each fontset description.
18302
18303 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18304
18305 * simple.el (delete-trailing-whitespace):
18306 Document last change; simplify.
18307
18308 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18309
18310 * simple.el (delete-trailing-whitespace): Also delete
18311 extra newlines at the end of the buffer.
18312
18313 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18314 (picture-newline): Use forward-line so as to ignore fields.
18315
18316 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18317
18318 * subr.el (with-wrapper-hook): Fix edebug spec.
18319
18320 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18321
18322 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18323 (bug#4538).
18324
18325 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18326
18327 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18328 Fix nasty bug using wrong cached values.
18329
18330 2011-09-23 Alan Mackenzie <acm@muc.de>
18331
18332 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18333
18334 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18335
18336 * window.el (pop-to-buffer): Ensure right window is selected if we
18337 chose another frame.
18338
18339 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18340
18341 * simple.el (what-cursor-position): Use get-char-property-change
18342 and next-single-char-property-change, to be able to show display
18343 properties that come from overlays as well as text properties.
18344
18345 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18346
18347 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18348
18349 * cmuscheme.el (run-scheme, switch-to-scheme):
18350 * cus-edit.el (customize-group, custom-buffer-create)
18351 (customize-browse):
18352 * info.el (info):
18353 * shell.el (shell):
18354 * mail/sendmail.el (mail):
18355 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18356
18357 2011-09-22 Richard Stallman <rms@gnu.org>
18358
18359 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18360 move back only to line beg, don't move back over blank lines.
18361
18362 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18363
18364 * files.el (copy-directory): Set directory attributes only in case
18365 they could be retrieved from the source directory. (Bug#9565)
18366
18367 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18368
18369 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18370 (hs-find-block-beginning, hs-hide-level-recursive):
18371 Ignore strings as well as comments. (Bug#9502)
18372
18373 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18374
18375 * progmodes/sql.el (sql-comint-postgres):
18376 Convert port number to a string. (Bug#9566)
18377
18378 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18379
18380 * window.el (quit-window): Undedicate window when switching to
18381 previous buffer. Reported by Thierry Volpiatto
18382 <thierry.volpiatto@gmail.com>.
18383 (special-display-popup-frame): When popping up a new frame reset
18384 its previous buffers to nil. Simplify code.
18385
18386 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18387
18388 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18389 and process filter, as done also in `shell-command'.
18390
18391 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18392
18393 * window.el (set-window-buffer-start-and-point):
18394 Call set-window-start with NOFORCE argument t.
18395 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18396 (quit-window): Reword doc-string. Handle new format of
18397 quit-restore parameter. Don't delete window if it has a
18398 previous buffer we can show instead of the present one.
18399 (display-buffer-record-window): Rewrite using a new format for
18400 the quit-restore window parameter
18401 (special-display-popup-frame, display-buffer-same-window)
18402 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18403 (display-buffer-pop-up-window, display-buffer-use-some-window):
18404 Adapt symbol passed to display-buffer-record-window.
18405 * help.el (help-window-setup): Handle new format of quit-restore
18406 parameter.
18407
18408 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * faces.el (face-list): Fix docstring (bug#9564).
18411
18412 * window.el (display-buffer--action-function-custom-type):
18413 Don't include internal functions in the Custom interface.
18414
18415 2011-09-20 Juri Linkov <juri@jurta.org>
18416
18417 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18418 (Info-forward-node, Info-backward-node, Info-next-preorder)
18419 (Info-last-preorder): Use it. (Bug#9528)
18420
18421 2011-09-20 Juri Linkov <juri@jurta.org>
18422
18423 * info.el (Info-last-preorder): Visit last menu item only when
18424 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18425
18426 2011-09-20 Julien Danjou <julien@danjou.info>
18427
18428 * password-cache.el (password-cache-remove): Remove entries even if the
18429 value is nil, so that password with a nil value (negative caching) is
18430 possible to invalidate.
18431
18432 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18433
18434 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18435 all whitespace around breakpoint. (Bug#9553)
18436 (f90-find-breakpoint): Only break at whitespace inside a comment.
18437
18438 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18439
18440 * minibuffer.el (completion-file-name-table): Keep track of errors.
18441 (completion-table-with-predicate): Handle the case where pred1 is nil.
18442 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18443
18444 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18445
18446 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18447 (debugger-return-value): Signal an error if the debugging context does
18448 not await any return value.
18449
18450 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18451 * image-mode.el (image-toggle-display-text)
18452 (image-toggle-display-image): Stay away from evil `intangible'.
18453
18454 2011-09-19 Leo Liu <sdl.web@gmail.com>
18455
18456 * replace.el (occur-revert-arguments): Make it permanent-local.
18457 (occur-mode): Don't call font-lock-defontify.
18458
18459 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18460
18461 * net/ldap.el (ldap-search-internal): Don't push empty search
18462 result (Bug#9508).
18463
18464 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18465
18466 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18467
18468 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18469
18470 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18471 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18472
18473 2011-09-18 Juri Linkov <juri@jurta.org>
18474
18475 * buff-menu.el (Buffer-menu-mode-map):
18476 * dired.el (dired-mode-map):
18477 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18478 (lisp-interaction-mode-map):
18479 * emacs-lisp/package.el (package-menu-mode-map):
18480 * epa.el (epa-key-list-mode-map):
18481 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18482 (menu-bar-options-menu):
18483 * outline.el (outline-mode-menu-bar-map):
18484 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18485 * vc/vc-dir.el (vc-dir-menu-map):
18486 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18487 Capitalize non-function content words in menu item strings.
18488
18489 * dired.el (dired-mode-map): Add menu item for
18490 `image-dired-dired-toggle-marked-thumbs'.
18491
18492 2011-09-18 Juri Linkov <juri@jurta.org>
18493
18494 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18495 to `isearch-case-fold-search' and restore its original value
18496 after the `isearch-mode' call.
18497
18498 2011-09-18 Juri Linkov <juri@jurta.org>
18499
18500 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18501 because `zgrep' returns 1 for successful matches (bug#9226).
18502
18503 2011-09-18 Juri Linkov <juri@jurta.org>
18504
18505 * info.el (Info-extract-menu-node-name): Check the second match
18506 for empty string (second test-case of bug#9528).
18507 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18508 intermediate nodes to the history (first test-case of bug#9528).
18509
18510 2011-09-18 Juri Linkov <juri@jurta.org>
18511
18512 * info.el (Info-mode-syntax-table): New variable.
18513 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18514
18515 2011-09-18 Juri Linkov <juri@jurta.org>
18516
18517 * info.el (Info-file-supports-index-cookies):
18518 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18519 outputs one more line for long file names (bug#4142).
18520
18521 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18522
18523 * newcomment.el (comment-normalize-vars): If prompting for
18524 comment-start, set comment-start-skip too (Bug#8424).
18525
18526 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18527
18528 * icomplete.el: Fix previous fix of Bug#5849.
18529 (icomplete-mode): Don't set completion-show-inline-help.
18530 (icomplete-minibuffer-setup): Set completion-show-inline-help
18531 locally during icompletion.
18532
18533 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18534
18535 * woman.el (woman2-process-escapes): Don't delete unrecognized
18536 escapes (Bug#7843).
18537
18538 * files.el (inhibit-first-line-modes-regexps): Add image files.
18539 (hack-local-variables-prop-line): Return nil for malformed
18540 prop-lines (Bug#9044).
18541
18542 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18543
18544 * net/tramp.el (top): Don't require 'shell.
18545 (tramp-methods): Fix docstring.
18546 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18547 Return complete remote file name. Handle "smb" case.
18548 Use `tramp-tmpdir', if defined for the respective method.
18549 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18550
18551 * net/tramp-compat.el (top): Require 'shell.
18552
18553 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18554 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18555 `tramp-current-host'.
18556 (tramp-get-remote-tmpdir): Remove.
18557
18558 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18559 `tramp-tmpdir' entries.
18560 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18561 (tramp-smb-handle-file-attributes): Ignore errors.
18562 (tramp-smb-wait-for-output): Check also for process end.
18563
18564 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18565
18566 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18567 when sending QUIT (bug#9312).
18568
18569 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18570
18571 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18572 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18573 occur-mode-display-occurrence.
18574 (occur-edit-mode): Add usage message.
18575 (occur-cease-edit): New command.
18576 (occur-after-change-function): Use text properties to find the
18577 position of the prefix text.
18578 (occur-engine): Set stickiness of prefix text properties.
18579
18580 2011-09-17 Glenn Morris <rgm@gnu.org>
18581
18582 * progmodes/etags.el (complete-tag):
18583 Fix call to completion-in-region. (Bug#9526)
18584
18585 2011-09-17 Juri Linkov <juri@jurta.org>
18586
18587 * textmodes/ispell.el (ispell-word): Add to the error message
18588 the word, ispell program name and current dictionary (bug#9121).
18589 (ispell-tex-arg-end): Capitalize "error" in the error message.
18590
18591 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18592
18593 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18594 check. (Bug#4251)
18595
18596 2011-09-17 Juri Linkov <juri@jurta.org>
18597
18598 * window.el (window-safe-min-height, window-safe-min-width):
18599 Fix typos (followup to bug#9522).
18600
18601 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18602
18603 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18604
18605 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18606
18607 * simple.el (line-move): If goal-column is set, move by logical
18608 lines, not by display lines. (Bug#971)
18609 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18610 to reflect the above change.
18611
18612 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18613
18614 * image.el (imagemagick-register-types): Use regexp-opt.
18615
18616 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18617
18618 * window.el (display-buffer-base-action): Rename from
18619 display-buffer-default-action. Make default value empty.
18620 (display-buffer-overriding-action): Convert to defvar.
18621 (display-buffer-fallback-action): New var.
18622
18623 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18624
18625 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18626 declaration.
18627 (package--add-to-archive-contents): If there is a duplicate entry
18628 with an older version, remove it.
18629 (package-menu-mark-delete, package-menu-mark-install)
18630 (package-menu-mark-unmark): Make unused args optional.
18631 (package-menu-mark-obsolete-for-deletion):
18632 Use package-menu-get-status instead of a regexp search.
18633 (package-menu-get-status): Use tabulated-list-entry.
18634 (package-menu-mark-upgrades): New command.
18635 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18636 (package-menu-execute): Do installation before deletion.
18637 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18638 instead of checking major-mode.
18639 (package-menu--find-upgrades): New function.
18640
18641 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18642
18643 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18644 passwords in the log buffer.
18645 (smtpmail-process-filter): Update the process marker so that the
18646 "broken by peer" status message is inserted in the right place.
18647
18648 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18649
18650 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18651 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18652 bibtex-completion-at-point-function.
18653 (bibtex-completion-at-point-function): Use them.
18654
18655 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18656
18657 * mpc.el (mpc-constraints-tag-lookup): New function.
18658 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18659 also to browser "album|playlist".
18660
18661 2011-09-14 Juri Linkov <juri@jurta.org>
18662
18663 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18664 (isearch-edit-string): Use length of `isearch-string' when
18665 `isearch-fail-pos' returns nil.
18666 (isearch-message): Remove duplicate code and call
18667 `isearch-fail-pos' with arg `t'.
18668
18669 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18670
18671 * replace.el (occur-mode-goto-occurrence): Don't force using other
18672 window (Bug#9499).
18673
18674 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18675
18676 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18677
18678 * window.el (display-buffer-window): Remove.
18679 (display-buffer-record-window): Use help-setup window parameter
18680 instead of variable display-buffer-window.
18681 (display-buffer-function, special-display-buffer-names)
18682 (special-display-function): Mention help-setup parameter instead
18683 of display-buffer-window in doc-string.
18684 * help.el (help-window-setup): New argument help-window.
18685 Use help-window-setup parameter instead of display-buffer-window.
18686 Reword some messages.
18687 (with-help-window): Pass window used for displaying the buffer
18688 to help-window-setup. Don't set display-buffer-window.
18689
18690 2011-09-13 Glenn Morris <rgm@gnu.org>
18691
18692 * emacs-lisp/debug.el (debugger-make-xrefs):
18693 Preserve point. (Bug#9462)
18694
18695 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18696
18697 * window.el (window-deletable-p): Use next-frame.
18698
18699 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18700
18701 * window.el (window-auto-delete): Remove.
18702 (window-deletable-p): Remove argument FORCE. Don't deal with
18703 dedication and previous buffers.
18704 (switch-to-prev-buffer): Don't delete window.
18705 (delete-windows-on): Delete a window's frame if and only if the
18706 window is dedicated.
18707 (replace-buffer-in-windows): Delete buffer's window or frame if
18708 and only if window is dedicated.
18709 (quit-window): Handle quit-restore as before last change.
18710 (bury-buffer): Delete window only if window-deletable-p returns t.
18711
18712 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18713
18714 * window.el (window-deletable-p): Never delete the last frame on a
18715 given terminal.
18716
18717 2011-09-13 Glenn Morris <rgm@gnu.org>
18718
18719 * help.el (describe-key-briefly): Copy previous standard-output change.
18720
18721 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18722
18723 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18724
18725 2011-09-13 Glenn Morris <rgm@gnu.org>
18726
18727 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18728 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18729
18730 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18731
18732 * dired-aux.el (dired-mark-read-string): Don't return default
18733 value on empty input (Bug#9361).
18734 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18735 Omit initial minibuffer contents.
18736 (dired-do-chmod): Signal an error on empty input.
18737 (dired-mark-read-string): Don't return default on empty input.
18738
18739 * files.el (file-modes-symbolic-to-number): Doc fix.
18740
18741 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18742
18743 * international/mule-cmds.el (ucs-completions): Remove.
18744 (read-char-by-name): Use complete-with-action instead; add metadata.
18745
18746 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18747
18748 * window.el (display-buffer--action-function-custom-type)
18749 (display-buffer--action-custom-type): New vars.
18750 (display-buffer-alist, display-buffer-default-action)
18751 (display-buffer-overriding-action): Add defcustom types.
18752
18753 * frame.el (delete-other-frames): Doc fix (Bug#276).
18754
18755 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18756
18757 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18758
18759 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18760
18761 Change modes that used same-window-* vars to use switch-to-buffer.
18762
18763 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18764 Use switch-to-buffer.
18765
18766 * cus-edit.el (customize-group, custom-buffer-create)
18767 (customize-browse, custom-buffer-create-other-window):
18768 Use switch-to-buffer or switch-to-buffer-other-window.
18769
18770 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18771 (Info-prev, Info-up, Info-speedbar-goto-node)
18772 (info-display-manual): Use switch-to-buffer.
18773 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18774
18775 * mail/sendmail.el (mail): Use switch-to-buffer.
18776 (mail-recover): Use switch-to-buffer-other-window.
18777
18778 * cmuscheme.el (run-scheme, switch-to-scheme):
18779 * ielm.el (ielm):
18780 * shell.el (shell):
18781 * net/rlogin.el (rlogin):
18782 * net/telnet.el (telnet, rsh):
18783 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18784
18785 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18786
18787 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18788
18789 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18790
18791 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18792 so don't mention it (bug#9301).
18793 (dired-sort-toggle-or-edit): Clarify string further.
18794
18795 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18796 match `x', `w32' and `ns', like the manual says (bug#9029).
18797
18798 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18799 (process-kill-buffer-query-function): Mention the buffer name in
18800 the query.
18801
18802 * image-mode.el (image-next-line): The line parameter is mandatory
18803 (bug#9258).
18804
18805 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18806 which can be useful (bug#9301).
18807
18808 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18809
18810 * subr.el (match-string): Mention that the current buffer should
18811 be the same as the search was done in (bug#9282).
18812
18813 * facemenu.el: Disable the remove-* commands if the mark isn't
18814 active (bug#9162).
18815
18816 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18817
18818 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18819 of display-buffer.
18820 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18821
18822 * replace.el (occur-mode-goto-occurrence)
18823 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18824 and display-buffer.
18825
18826 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18827 display-buffer.
18828
18829 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18830 special-display and same-window variables.
18831 (mail-other-window): Use switch-to-buffer-other-window.
18832 (mail-other-frame): USe switch-to-buffer-other-frame.
18833
18834 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18835 Use display-buffer-other-frame.
18836 (gdb-display-gdb-buffer): Use pop-to-buffer.
18837
18838 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18839
18840 * progmodes/python.el: Don't set same-window-buffer-names.
18841
18842 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18843
18844 * window.el (display-buffer-alist): Add *Python*.
18845
18846 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18847
18848 * window.el (display-buffer-alist): Add entry for buffers
18849 previously handled same-window-*.
18850 (display-buffer-alist, display-buffer-default-action)
18851 (display-buffer-overriding-action): Mark as risky.
18852 (display-buffer-alist): Document action function changes.
18853 (display-buffer--same-window-action)
18854 (display-buffer--other-frame-action): New variables.
18855 (switch-to-buffer, display-buffer-other-frame): Use them.
18856 (display-buffer): Rename reuse-frame entry to reusable-frames.
18857 (display-buffer-reuse-selected-window): Function deleted.
18858 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18859 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18860 (display-buffer-special): New function.
18861 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18862 display-buffer-reuse-or-pop-window. Split off special-display
18863 part into display-buffer-special.
18864 (display-buffer-use-some-window): Don't perform any special
18865 pop-up-frames handling.
18866 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18867 (display-buffer--maybe-same-window): Rename from
18868 display-buffer-maybe-same-window.
18869
18870 * info.el: Don't set same-window-regexps.
18871 (info-setup): New function.
18872 (info-other-window, info): Call it.
18873
18874 * cus-edit.el: Don't set same-window-regexps.
18875 (customize-group): New argument.
18876 (customize-group-other-window): Use it.
18877 (customize-face, customize-face-other-window): Likewise.
18878 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18879
18880 * net/rlogin.el:
18881 * net/telnet.el:
18882 * progmodes/gud.el: Don't set same-window-regexps.
18883
18884 * cmuscheme.el:
18885 * ielm.el:
18886 * shell.el:
18887 * mail/sendmail.el:
18888 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18889
18890 2011-09-10 Juri Linkov <juri@jurta.org>
18891
18892 * isearch.el (isearch-edit-string): Remove obsolete mention of
18893 `C-w' (`isearch-yank-word-or-char') from docstring.
18894 (isearch-query-replace): Fix typo in docstring (bug#9466).
18895
18896 2011-09-10 Juri Linkov <juri@jurta.org>
18897
18898 * paren.el (show-paren-function): Don't show escaped parens.
18899 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18900
18901 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18902
18903 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18904 (mm-default-file-encoding): Remove autoload forms, they are
18905 replaced with autoload cookies in mml.el and mm-encode.el.
18906 (mail-add-attachment): New command.
18907 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18908 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18909 the doc string.
18910 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18911
18912 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18913
18914 * simple.el (count-words-region): Use buffer if there's no region
18915 (bug#9429).
18916
18917 2011-09-09 Juri Linkov <juri@jurta.org>
18918
18919 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18920 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18921 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18922
18923 2011-09-09 Alan Mackenzie <acm@muc.de>
18924
18925 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18926 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18927
18928 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18929
18930 Fix for Savannah bug#9392.
18931 * simple.el (mail-encode-mml): New defvar.
18932
18933 * mail/rmail.el (mail-encode-mml): Add a defvar.
18934 (rmail-enable-mime-composing): Default to t.
18935 (rmail-forward): Use MIME method of forwarding only if both
18936 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18937 Set mail-encode-mml non-nil if the MIME method was used.
18938
18939 * mail/sendmail.el (mml-to-mime): Add autoload form.
18940 (mail-encode-mml): Add a defvar.
18941 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18942 to nil.
18943 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18944 message through mml-to-mime, and reset mail-encode-mml to nil.
18945
18946 2011-09-09 Glenn Morris <rgm@gnu.org>
18947
18948 * woman.el (woman-if-body): When processing an .el block,
18949 do not delete the next .el block as well. (Bug#9447)
18950 (woman-special-characters): Add oq, cq, and hy characters.
18951
18952 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18953
18954 * window.el (window-deletable-p): Make sure window is live before
18955 invoking window-prev-buffers.
18956
18957 2011-09-08 Leo Liu <sdl.web@gmail.com>
18958
18959 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18960
18961 2011-09-08 Juri Linkov <juri@jurta.org>
18962
18963 * progmodes/compile.el (compilation-environment): Make it
18964 a defcustom (bug#8340).
18965
18966 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18967
18968 * window.el (frame-auto-delete): Rename to window-auto-delete.
18969 Make it control auto-deletion of windows and/or frames.
18970 (window-deletable-p): New argument FORCE. Rewrite conditions
18971 for deleting window/frame. (Bug#9419)
18972 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18973 Rewrite handling of case when window/frame can be deleted.
18974 (delete-windows-on): Call window-deletable-p with new FORCE
18975 argument t. (Bug#9456)
18976
18977 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18978
18979 * help-mode.el (help-mode): Restore autoload.
18980
18981 2011-09-07 Juri Linkov <juri@jurta.org>
18982
18983 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18984 `compilation-environment'. Set buffer-local
18985 `compilation-environment' to `thisenv' later after (funcall mode).
18986 (Bug#8340)
18987
18988 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18989 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18990 instead of replacing its value. (Bug#8340)
18991
18992 2011-09-07 Juri Linkov <juri@jurta.org>
18993
18994 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18995 based on text properties put by `grep-filter' instead of matching
18996 escape sequences.
18997 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18998 to the value of `grep-error-screen-columns' (bug#9438).
18999
19000 2011-09-07 Juri Linkov <juri@jurta.org>
19001
19002 * simple.el (next-error-highlight, next-error-highlight-no-select):
19003 Doc fix (bug#9432).
19004
19005 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19006
19007 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19008 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19009
19010 2011-09-07 Leo Liu <sdl.web@gmail.com>
19011
19012 * net/rcirc.el (rcirc-mode): Conditionally initialize
19013 rcirc-input-ring.
19014
19015 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19016
19017 * emacs-lisp/find-func.el (find-function-C-source): Only set
19018 find-function-C-source-directory after checking that we found a source
19019 file there (bug#9440).
19020
19021 2011-09-06 Alan Mackenzie <acm@muc.de>
19022
19023 * isearch.el (isearch-other-meta-char): Wherever a key list is
19024 unread, "unread" the prefix arg, too. This fixes bug #8901.
19025
19026 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19027
19028 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19029
19030 2011-09-05 Juri Linkov <juri@jurta.org>
19031
19032 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19033
19034 2011-09-05 Juri Linkov <juri@jurta.org>
19035
19036 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19037 keeping point where processing of grep matches begins, and
19038 continue to delete remaining escape sequences from the same point.
19039 (grep-filter): Make leading zero optional in "0?1;31m" because
19040 git-grep emits "\033[1;31m" escape sequences unlike expected
19041 "\033[01;31m" as GNU Grep does (bug#9408).
19042 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19043
19044 2011-09-05 Juri Linkov <juri@jurta.org>
19045
19046 * subr.el (y-or-n-p): Capitalize "yes".
19047
19048 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19049
19050 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19051 `tramp-cache-unload-hook' where appropriate.
19052 (tramp-methods): Rename `tramp-remote-sh' to
19053 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19054 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19055
19056 * net/tramp-sh.el (top): Don't require 'shell.
19057 (tramp-methods): Add `tramp-remote-shell' and
19058 `tramp-remote-shell-args' entries.
19059 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19060 (tramp-sh-handle-shell-command): Remove.
19061 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19062 Use `tramp-remote-shell'.
19063
19064 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19065
19066 * mail/sendmail.el (sendmail-query-once-function): Delete.
19067 (sendmail-query-once): Save directly to send-mail-function.
19068 Update message-send-mail-function too.
19069
19070 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19071
19072 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19073
19074 * progmodes/python.el (python-mode-map): Use correct function to
19075 start python interpreter from menu-bar (as reported by Geert
19076 Kloosterman).
19077 (inferior-python-mode-map): Fix typo.
19078 (python-shell-map): Remove.
19079
19080 2011-09-03 Deniz Dogan <deniz@dogan.se>
19081
19082 * net/rcirc.el (rcirc-print): Simplify code for
19083 rcirc-scroll-show-maximum-output. There is no need to walk
19084 through all windows to find the right one.
19085
19086 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19087
19088 * help.el (help-return-method): Doc fix.
19089
19090 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19091
19092 * window.el (window-deletable-p): Don't return a non-nil value
19093 when there's a buffer that was shown in the window before.
19094 (Bug#9419)
19095 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19096 Set window's previous buffers to nil.
19097
19098 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19099
19100 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19101 newline before and after the tag line, so it doesn't interfere
19102 with determining the paragraph direction of bidirectional text.
19103
19104 2011-09-03 Leo Liu <sdl.web@gmail.com>
19105
19106 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19107
19108 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19109
19110 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19111 (pop-to-buffer): Change interactive spec. Pass second argument
19112 directly to display-buffer.
19113 (display-buffer): Fix interactive spec. Use functionp to
19114 distinguish between a function and a list of functions.
19115
19116 * abbrev.el (edit-abbrevs):
19117 * arc-mode.el (archive-extract):
19118 * autoinsert.el (auto-insert):
19119 * bookmark.el (bookmark-bmenu-list):
19120 * files.el (find-file):
19121 * view.el (view-buffer):
19122 * progmodes/compile.el (compilation-goto-locus):
19123 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19124
19125 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19126
19127 * window.el (display-buffer-alist): Doc fix.
19128 (display-buffer): Add docstring. Don't treat
19129 display-buffer-default specially.
19130 (display-buffer-reuse-selected-window)
19131 (display-buffer-same-window, display-buffer-maybe-same-window)
19132 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19133 (display-buffer-pop-up-window)
19134 (display-buffer-reuse-or-pop-window)
19135 (display-buffer-use-some-window): New functions.
19136 (display-buffer-default-action): Use them.
19137 (display-buffer-default): Delete.
19138 (pop-to-buffer-1): Fix choice of actions.
19139
19140 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19141
19142 * minibuffer.el (completion--insert-strings): Don't get confused by
19143 completion entries that end with an LF char.
19144
19145 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19146
19147 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19148
19149 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19150
19151 * window.el (display-buffer): Restore interactive spec.
19152 (display-buffer-same-window, display-buffer-other-window):
19153 New functions.
19154 (pop-to-buffer-1): New function. Use the above.
19155 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19156 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19157
19158 * view.el (view-buffer-other-window, view-buffer-other-frame):
19159 Just use pop-to-buffer.
19160
19161 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19162
19163 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19164
19165 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19166
19167 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19168
19169 2011-08-31 Richard Stallman <rms@gnu.org>
19170
19171 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19172 of the separation of rmail-view-buffer from rmail-buffer.
19173 If you say no to "replace original", the decrypt is in the
19174 view buffer. If you say yes, the decrypt goes into the
19175 rmail buffer also.
19176
19177 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19178
19179 * window.el (display-buffer-window): Rewrite doc-string.
19180 (display-buffer-record-window): New function.
19181 (display-buffer-macro-specifiers)
19182 (display-buffer-even-window-sizes, display-buffer-set-height)
19183 (display-buffer-set-width, display-buffer-in-window)
19184 (display-buffer-reuse-window, display-buffer-split-specifiers)
19185 (display-buffer-side-specifiers, display-buffer-split-window-1)
19186 (display-buffer-split-window, display-buffer-split-atom-window)
19187 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19188 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19189 (display-buffer-other-window-means-other-frame)
19190 (display-buffer-normalize-special)
19191 (display-buffer-normalize-default)
19192 (display-buffer-normalize-argument)
19193 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19194 (display-buffer-normalize-specifiers, display-buffer-frame)
19195 (display-buffer-same-window, display-buffer-same-frame)
19196 (display-buffer-other-window)
19197 (display-buffer-same-frame-other-window)
19198 (display-buffer-other-frame, pop-to-buffer-same-window)
19199 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19200 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19201 (switch-to-buffer-same-frame)
19202 (switch-to-buffer-other-window-same-frame)
19203 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19204 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19205 (display-buffer-alist-set): Remove.
19206 (display-buffer-function, special-display-buffer-names)
19207 (special-display-regexps, special-display-function):
19208 In doc-string refer to display-buffer-window and quit-restore
19209 parameter.
19210 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19211 (special-display-frame-alist, special-display-popup-frame)
19212 (same-window-buffer-names, same-window-regexps, same-window-p)
19213 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19214 (split-window-preferred-function, split-height-threshold)
19215 (split-width-threshold, window-splittable-p)
19216 (split-window-sensibly, window--try-to-split-window)
19217 (window--frame-usable-p, even-window-heights)
19218 (window--even-window-heights, window--display-buffer-1)
19219 (window--display-buffer-2, display-buffer-other-frame):
19220 Restore old Emacs 23 code, order and doc-strings where applicable.
19221 (display-buffer-default, display-buffer-assq-regexp): New functions.
19222 (display-buffer-alist): Rewrite doc-string.
19223 (display-buffer-default-action)
19224 (display-buffer-overriding-action): New variables.
19225 (display-buffer, switch-to-buffer): Rewrite.
19226 (pop-to-buffer): Restore Emacs 23 behavior but use
19227 window-normalize-buffer-to-display.
19228 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19229 Restore Emacs 23 behavior but use
19230 window-normalize-buffer-to-switch-to.
19231 (pop-to-buffer-same-window): Rewrite.
19232 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19233 Rewrite using Emacs 23 options.
19234
19235 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19236
19237 * net/tramp.el (tramp-root-regexp): Remove.
19238 (tramp-completion-file-name-regexp-unified)
19239 (tramp-completion-file-name-regexp-separate)
19240 (tramp-completion-file-name-regexp-url): Don't use leading volume
19241 letter on w32 systems. (Bug#5303, Bug#9311)
19242 (tramp-drop-volume-letter): Simplify definition.
19243 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19244
19245 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19246
19247 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19248 (bug#9356).
19249
19250 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19251
19252 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19253
19254 2011-08-29 Juri Linkov <juri@jurta.org>
19255
19256 * isearch.el (isearch-done): Don't display message "Mark saved"
19257 when arg `edit' is non-nil to prevent its flicker in the echo area.
19258
19259 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19260
19261 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19262 obsolete packages for deletion.
19263
19264 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19265
19266 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19267 (help-mode): Derive help-mode from special-mode. Don't invoke
19268 view-mode from help-mode.
19269 (help-xref-override-view-map): Remove.
19270 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19271 view-mode is not used anymore.
19272
19273 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19274
19275 * server.el (server-port): Doc fix.
19276
19277 * cus-theme.el (custom-theme-choose-mode): Inherit from
19278 special-mode (Bug#9124).
19279 (custom-theme-choose-mode-map): Add special-mode to parent.
19280
19281 2011-08-28 Alan Mackenzie <acm@muc.de>
19282
19283 * progmodes/cc-fonts.el
19284 (c-make-font-lock-BO-decl-search-function): New function.
19285 (c-basic-matchers-after - "Fontify the clauses after various
19286 keywords"): Extract the three keyword lists for the 3 erroneous
19287 constructs from the list of four, and use the new function above
19288 in place of an old one.
19289
19290 2011-08-28 Deniz Dogan <deniz@dogan.se>
19291
19292 * net/rcirc.el (rcirc-insert-prev-input)
19293 (rcirc-insert-next-input): Remove unused argument.
19294
19295 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19296
19297 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19298
19299 2011-08-27 Alan Mackenzie <acm@muc.de>
19300
19301 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19302 handle function pointer parameters properly.
19303
19304 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19305
19306 * window.el (display-buffer-reuse-window): Fix case where
19307 selected window was reused with non-nil OTHER-WINDOW argument.
19308 (Bug#9381)
19309
19310 2011-08-27 Deniz Dogan <deniz@dogan.se>
19311
19312 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19313 oftc's NickServ messages.
19314
19315 2011-08-27 Glenn Morris <rgm@gnu.org>
19316
19317 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19318
19319 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19320
19321 * emacs-lisp/package.el (package-install): Call package-initialize
19322 if called interactively.
19323
19324 2011-08-26 Leo Liu <sdl.web@gmail.com>
19325
19326 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19327
19328 2011-08-25 Juri Linkov <juri@jurta.org>
19329
19330 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19331 `search-whitespace-regexp' (bug#9364).
19332
19333 2011-08-25 Juri Linkov <juri@jurta.org>
19334
19335 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19336 `regexp-search-ring' to their global values to protect from
19337 updating by `read-from-minibuffer' (bug#9185).
19338
19339 2011-08-25 Juri Linkov <juri@jurta.org>
19340
19341 * textmodes/ispell.el (ispell-command-loop): Add newline
19342 at the end of the "Use option `i'..." line.
19343
19344 2011-08-25 Juri Linkov <juri@jurta.org>
19345
19346 * battery.el (display-battery-mode): If `battery-status-function'
19347 or `battery-mode-line-format' is nil, display the message and set
19348 `display-battery-mode' to nil (bug#9363).
19349
19350 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19351
19352 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19353 bidi-string-mark-left-to-right; they are unnecessary now.
19354
19355 2011-08-25 Deniz Dogan <deniz@dogan.se>
19356
19357 * net/quickurl.el: Documentation typo fixes.
19358
19359 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19360
19361 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19362
19363 2011-08-25 Glenn Morris <rgm@gnu.org>
19364
19365 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19366
19367 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19368 (smtpmail-via-smtp): Handle nil response from smtp.
19369
19370 2011-08-24 Juri Linkov <juri@jurta.org>
19371
19372 * proced.el (proced-marked): Inherit from `error' instead of
19373 `font-lock-warning-face'.
19374
19375 * ibuffer.el (ibuffer-marked-face): Change default face from
19376 `font-lock-warning-face' to `warning'.
19377 (ibuffer-deletion-face): Change default face from
19378 `font-lock-type-face' to `error'.
19379
19380 * battery.el (battery-update): Use the face `error' instead of
19381 `font-lock-warning-face' (bug#6117).
19382
19383 2011-08-24 Juri Linkov <juri@jurta.org>
19384
19385 * faces.el (success): Change face color from "Green3" to
19386 "ForestGreen" on light background (bug#9353).
19387
19388 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19389
19390 * window.el (quit-window): Rename from quit-restore-window.
19391 Use same arglist as old quit-window.
19392 (frame-auto-delete): Doc fix.
19393
19394 * view.el (view-mode-exit): Use quit-window.
19395
19396 2011-08-24 Juri Linkov <juri@jurta.org>
19397
19398 * isearch.el (isearch-ring-adjust1): Start visiting previous
19399 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19400 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19401 for empty search string (when the last search string is reused
19402 automatically) to adjust the isearch ring to the last element and
19403 prepare the correct index for further M-p commands (bug#9185).
19404
19405 2011-08-24 Kenichi Handa <handa@m17n.org>
19406
19407 * international/ucs-normalize.el: If decomposition property of
19408 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19409 nil.
19410 (nfd, nfkd): Likewise.
19411
19412 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19413
19414 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19415 from process filters aren't reliably transmitted to the surrounding
19416 accept-process-output.
19417 (mpc-proc-check): New function.
19418 (mpc-proc-sync): Use it (bug#8293)
19419
19420 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19423 Add compatibility functions (bug#9313).
19424
19425 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19426
19427 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19428
19429 * international/uni-bidi.el: Regenerate.
19430
19431 2011-08-23 Kenichi Handa <handa@m17n.org>
19432
19433 * international/charprop.el:
19434 * international/uni-bidi.el:
19435 * international/uni-category.el:
19436 * international/uni-combining.el:
19437 * international/uni-comment.el:
19438 * international/uni-decimal.el:
19439 * international/uni-decomposition.el:
19440 * international/uni-digit.el:
19441 * international/uni-lowercase.el:
19442 * international/uni-mirrored.el:
19443 * international/uni-name.el:
19444 * international/uni-numeric.el:
19445 * international/uni-old-name.el:
19446 * international/uni-titlecase.el:
19447 * international/uni-uppercase.el: Regenerate.
19448
19449 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19450
19451 * help.el (help-window-setup): Fix message displayed when other
19452 window is reused. (Bug#9341)
19453
19454 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19455
19456 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19457 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19458
19459 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19460 Mark obsolete.
19461 * shell.el (shell-parse-pcomplete-arguments): New function.
19462 (shell-completion-vars): Use it instead (bug#9160).
19463
19464 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19465
19466 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19467 strings and comments (bug#9333).
19468
19469 * emacs-lisp/debug.el (debug-arglist): New function.
19470 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19471 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19472
19473 2011-08-22 Juri Linkov <juri@jurta.org>
19474
19475 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19476 Revert regexp that highlights output switches to its old
19477 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19478
19479 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19480 to check for empty output (bug#9226).
19481
19482 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19483
19484 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19485 symbol-constituent as the default, as that stops font-lock from
19486 working properly (Bug#8843).
19487
19488 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19489
19490 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19491 `coding-system-for-*' around the process open call to avoid
19492 auth-source side effects.
19493 (smtpmail-try-auth-methods): Expand the secret password.
19494 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19495 probe hangs.
19496
19497 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19498
19499 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19500
19501 * emacs-lisp/find-func.el (find-function-noselect): New arg
19502 lisp-only.
19503
19504 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19505 signal an error for built-in functions (Bug#6664).
19506
19507 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19508
19509 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19510 (smtpmail-try-auth-methods): Use it.
19511
19512 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19513
19514 * font-lock.el (font-lock-fontify-region)
19515 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19516 (font-lock-default-unfontify-buffer)
19517 (font-lock-default-fontify-region)
19518 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19519
19520 * progmodes/compile.el (compilation-error-properties):
19521 Fix confusion between file struct and message struct (Bug#9319).
19522 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19523 `ant' regexp.
19524
19525 * net/browse-url.el (browse-url-firefox): Don't call
19526 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19527
19528 2011-08-20 Glenn Morris <rgm@gnu.org>
19529
19530 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19531
19532 * tutorial.el (tutorial--default-keys): Update some default bindings.
19533
19534 * files.el (hack-local-variables): Fully ignore case for "mode:".
19535
19536 2011-08-20 Alan Mackenzie <acm@muc.de>
19537
19538 Resolve invalid use of a regexp in regexp-opt.
19539
19540 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19541 detection for a java annotation.
19542
19543 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19544 detection for a java annotation.
19545
19546 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19547 handling for java.
19548 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19549
19550 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19551
19552 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19553 (Bug#9274).
19554
19555 2011-08-20 Alan Mackenzie <acm@muc.de>
19556
19557 Fontify CPP expressions correctly when starting in the middle of
19558 such a construct. Mainly for when jit-lock etc. starts a chunk
19559 here.
19560
19561 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19562 variable.
19563 (c-make-font-lock-search-form): New function, extracted from
19564 c-make-font-lock-search-function.
19565 (c-make-font-lock-search-function): Use the above function.
19566 (c-make-font-lock-context-search-function): New function.
19567 (c-cpp-matchers): Enhance the preprocessor expression case with
19568 the above function
19569 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19570 which takes an expression.
19571
19572 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19573
19574 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19575
19576 * window.el (display-buffer-reuse-window)
19577 (display-buffer-pop-up-window): Don't reuse or split a side
19578 window.
19579
19580 2011-08-19 Glenn Morris <rgm@gnu.org>
19581
19582 * files.el (hack-local-variables-prop-line, hack-local-variables):
19583 Downcase "Mode:". (Bug#9331)
19584
19585 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19586
19587 * international/characters.el: Add L and R categories.
19588
19589 * subr.el (bidi-string-mark-left-to-right): Rename from
19590 string-mark-left-to-right. Use category search.
19591
19592 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19593
19594 2011-08-18 Juri Linkov <juri@jurta.org>
19595
19596 * faces.el (error, warning, success): New faces with definitions
19597 copied from old default values of `font-lock-warning-face',
19598 `compilation-warning', `compilation-info' (bug#6117).
19599
19600 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19601
19602 * progmodes/compile.el (compilation-error): Inherit from `error'.
19603 (compilation-warning): Inherit from `warning'.
19604 (compilation-info): Inherit from `success'.
19605
19606 * dired.el (dired-marked): Inherit from `warning'.
19607 (dired-flagged): Inherit from `error'.
19608
19609 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19610
19611 * mail/smtpmail.el (auth-source): Require to avoid problems with
19612 binding variables (bug#9298). Also clean up some unused
19613 autoloads.
19614
19615 * net/network-stream.el (network-stream-open-starttls):
19616 Support using starttls.el without using gnutls-cli.
19617
19618 2011-08-17 Juri Linkov <juri@jurta.org>
19619
19620 * progmodes/grep.el (rgrep): Handle the case when
19621 `grep-find-command' is a cons cell (bug#9278).
19622
19623 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19624
19625 * window.el (display-buffer-pop-up-frame): Run frame creation
19626 function with BUFFER current (as special-display-popup-frame
19627 does). Reported by Drew Adams.
19628
19629 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19630
19631 * epa-mail.el: Simplify GnuPG group expansion using
19632 epg-expand-group.
19633 (epa-mail-group-alist, epa-mail-group-modtime)
19634 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19635 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19636 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19637 Remove.
19638
19639 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19640
19641 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19642
19643 2011-08-16 Alan Mackenzie <acm@muc.de>
19644
19645 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19646 Correct, to avoid the inside of macros.
19647
19648 2011-08-16 Richard Stallman <rms@gnu.org>
19649
19650 * epa-mail.el: Handle GnuPG group definitions.
19651 (epa-mail-group-alist, epa-mail-group-modtime)
19652 (epa-mail-gnupg-conf-file): New variables.
19653 (epa-mail-parse-groups, epa-mail-sync-groups)
19654 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19655 (epa-mail-expand-recipients): New functions.
19656 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19657
19658 * mail/rmail.el (rmail-epa-decrypt): New command.
19659
19660 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19661 Don't bind buffer-read-only, just inhibit-read-only.
19662 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19663 (epa-decrypt-armor-in-region): Make error message clearer.
19664
19665 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19666
19667 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19668 and "a2b" to "ab" for `prefix'.
19669
19670 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19671
19672 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19673 filter groups.
19674 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19675 Fourquet (Bug#8804).
19676
19677 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19678
19679 * startup.el (argi): Declare as global variable (bug#9275).
19680
19681 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19682
19683 * subr.el (string-mark-left-to-right): Search the entire string
19684 for RTL script, not just the terminating character. Doc fix.
19685
19686 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19687
19688 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19689 New function.
19690 (js--regexp-literal, js-syntax-propertize-function): Remove.
19691 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19692 (js-mode-map): Don't rebind electric keys.
19693 (js-insert-and-indent): Remove.
19694 (js-mode): Setup electric-layout and electric-indent instead.
19695
19696 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19697
19698 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19699
19700 * epa.el (epa-progress-callback-function): Fix the logic of
19701 displaying progress.
19702 * epa-file.el (epa-file-insert-file-contents): Make progress
19703 display more user-friendly.
19704 (epa-file-write-region): Ditto.
19705
19706 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19707
19708 * subr.el (string-mark-left-to-right): New function.
19709
19710 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19711 Use string-mark-left-to-right.
19712 (list-buffers-noselect): Caller changed.
19713
19714 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19715 Use string-mark-left-to-right.
19716 (tabulated-list-print): Recenter after moving point.
19717
19718 2011-08-10 Juri Linkov <juri@jurta.org>
19719
19720 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19721 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19722 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19723
19724 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19725
19726 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19727 (Bug#7554).
19728
19729 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19730
19731 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19732 character. (Bug#6594)
19733
19734 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19735
19736 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19737 (image-dired--with-db-file): New macro.
19738 (image-dired-write-tags, image-dired-remove-tag)
19739 (image-dired-create-gallery-lists, image-dired-write-comments)
19740 (image-dired-get-comment, image-dired-mark-tagged-files)
19741 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19742 (image-dired-gallery-generate): Use insert-file-contents.
19743
19744 * time.el (display-time-world-list, display-time-world-display):
19745 * time-stamp.el (time-stamp-string):
19746 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19747 set-time-zone-rule (Bug#7337).
19748
19749 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19750
19751 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19752 (epg-error-to-string, epg-errors-to-string): New function.
19753 (epg-wait-for-completion): Reverse errors list.
19754 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19755 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19756 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19757 (epg-sign-keys, epg-generate-key-from-file)
19758 (epg-generate-key-from-string): Format errors by using
19759 epg-errors-to-string (bug#9255).
19760 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19761
19762 2011-08-07 Juri Linkov <juri@jurta.org>
19763
19764 * faces.el (list-faces-display): Remove extra angle bracket
19765 from `help-mode-map'.
19766
19767 * info.el (Info-history-toc-nodes): Doc fix.
19768
19769 * longlines.el (longlines-mode): Doc fix.
19770
19771 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19772
19773 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19774 of statements and in a few more cases (bug#9183).
19775
19776 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19777 New functions.
19778 (cl-transform-lambda): Use them (bug#9239).
19779
19780 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19781
19782 * window.el (display-buffer-same-window)
19783 (display-buffer-same-frame, display-buffer-other-window)
19784 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19785 (pop-to-buffer-other-window)
19786 (pop-to-buffer-same-frame-other-window)
19787 (pop-to-buffer-other-frame): Make them defuns.
19788 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19789
19790 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19791
19792 * subr.el (make-composed-keymap): Move from C. Change calling
19793 convention, and improve docstring to bring attention to a subtle point.
19794 * minibuffer.el (completing-read-default): Adjust accordingly.
19795
19796 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19797
19798 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19799 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19800
19801 * net/trampver.el: Update release number.
19802
19803 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19804
19805 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19806 "in" (bug#9190).
19807
19808 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19809
19810 * mail/sendmail.el (sendmail-query-once): Restore the current
19811 buffer after querying (bug#9074).
19812
19813 * dired.el (dired-flagged): Use different faces for marked and
19814 flagged files (bug#6117).
19815
19816 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19817 (bug#4433).
19818
19819 * ido.el (ido-mode): Switch off the message if called
19820 non-interactively.
19821
19822 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19823 before 587, since it appears that that's more likely to work for
19824 more people.
19825
19826 * cus-edit.el (custom-file): When running under emacs -q, always
19827 refuse to save the customizations, even if the .emacs file doesn't
19828 exist.
19829
19830 * info.el: Remove the `Info-beginning-of-buffer' function
19831 (bug#8325).
19832
19833 * net/network-stream.el (network-stream-open-starttls):
19834 Use `starttls-available-p' to see whether starttls.el can be used.
19835
19836 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19837
19838 * window.el (display-buffer-in-window): Don't set dedicated status
19839 of window here (Bug#9215).
19840 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19841 (display-buffer-pop-up-side-window)
19842 (display-buffer-in-side-window): Set dedicated status of window here.
19843
19844 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19847 before binding generated-autoload-file.
19848
19849 2011-08-01 Deniz Dogan <deniz@dogan.se>
19850
19851 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19852
19853 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19854
19855 Sync with Tramp 2.2.2.
19856
19857 * net/trampver.el: Update release number.
19858
19859 2011-07-30 Juri Linkov <juri@jurta.org>
19860
19861 * dired-aux.el (dired-touch-initial): Remove function.
19862 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19863 current time, and `default' to the last modification time of the
19864 current marked file (bug#6887).
19865
19866 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19867
19868 * simple.el (goto-line): Use string-to-number to provide a
19869 numeric argument to read-number (bug#9163).
19870
19871 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19872
19873 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19874 connection process, it could be nil.
19875
19876 2011-07-27 Leo Liu <sdl.web@gmail.com>
19877
19878 Simplify url handling in rcirc-mode.
19879
19880 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19881 (rcirc-browse-url-at-mouse): Remove.
19882 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19883
19884 2011-07-26 Alan Mackenzie <acm@muc.de>
19885
19886 Fontify bitfield declarations properly.
19887
19888 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19889 (c-symbol-chars): Now exported as a lang variable.
19890 (c-not-primitive-type-keywords): New lang variable.
19891
19892 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19893 QT keyword "more" to prevent "more slots: ...." being spuriously
19894 parsed as a bitfield declaration.
19895
19896 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19897 Refactor and enhance to handle bitfield declarations.
19898 (c-punctuation-in): New function.
19899 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19900 declarations properly.
19901
19902 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19903
19904 * calendar/icalendar.el (icalendar--all-events): Take care of
19905 multiple vcalendars in a single file.
19906 (icalendar--convert-float-to-ical): Checkdoc fixes.
19907
19908 2011-07-25 Deniz Dogan <deniz@dogan.se>
19909
19910 * image.el (insert-image): Clarifying docstring.
19911
19912 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19913
19914 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19915 `tramp-send-command-and-check' if there is no error.
19916 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19917
19918 2011-07-22 Alan Mackenzie <acm@muc.de>
19919
19920 Prevent cc-langs.elc being loaded at run time.
19921
19922 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19923 cc-langs.
19924
19925 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19926 "(require 'cc-langs)". Quote a form so it will evaluate at
19927 (cc-mode's) compilation time.
19928
19929 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19930
19931 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19932 loading. (Bug#9114)
19933
19934 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19935
19936 * window.el (display-buffer-pop-up-window)
19937 (display-buffer-pop-up-side-window)
19938 (display-buffer-in-side-window): Call display-buffer-set-height
19939 and display-buffer-set-width after setting the new window's
19940 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19941
19942 2011-07-20 Sam Steingold <sds@gnu.org>
19943
19944 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19945 (etags-tags-included-tables): Call `convert-standard-filename' on
19946 the file names contained in TAGS so that windows Emacs can handle
19947 TAGS files created by cygwin ctags.
19948
19949 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19950
19951 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19952 which apparently didn't work.
19953
19954 2011-07-19 Roland Winkler <winkler@gnu.org>
19955
19956 * proced.el (proced-send-signal): For *Marked Processes* buffer
19957 put point at beginning of buffer.
19958
19959 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19960
19961 * proced.el (proced-format): Make header lines align with the text
19962 (bug#1779).
19963
19964 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19965
19966 * view.el (view-buffer): Allow running in `special' modes if we're
19967 visiting a file (bug#8615).
19968
19969 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19970
19971 * window.el (display-buffer-alist-of-strings-p)
19972 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19973 New functions.
19974 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19975 more accurately.
19976
19977 2011-07-18 Alan Mackenzie <acm@muc.de>
19978
19979 Fontify declarators properly when, e.g., a jit-lock chunk begins
19980 inside a declaration.
19981
19982 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19983
19984 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19985 New function.
19986 (c-complex-decl-matchers): Insert reference to
19987 c-font-lock-enclosing-decls.
19988
19989 * progmodes/cc-engine.el (c-backward-single-comment):
19990 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19991 to nil around calls to (forward-comment -1).
19992
19993 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19994
19995 * image.el (put-image): Doc typo fix.
19996
19997 * progmodes/etags.el (tags-search): Doc typo fix.
19998
19999 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20000 password if we get errors 550 to 554.
20001
20002 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20003
20004 * net/gnutls.el (gnutls-log-level): Remove.
20005
20006 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20007 indentation character (bug#6380).
20008
20009 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20010
20011 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20012 to clarify what the problem is (bug#4291).
20013
20014 * simple.el (current-kill): Clarify what
20015 `interprogram-paste-function' does (bug#7500).
20016 (auto-fill-mode): Document `auto-fill-function' in relation to
20017 `auto-fill-mode' (bug#2470).
20018
20019 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20020
20021 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20022 method if slot is read-only (bug#9035).
20023
20024 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20025
20026 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20027 * window.el (pop-to-buffer): Select window used even if it was
20028 selected before, see discussion of (Bug#8615), (Bug#6954).
20029 Pass argument NORECORD on to select-frame-set-input-focus.
20030
20031 2011-07-15 Glenn Morris <rgm@gnu.org>
20032
20033 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20034 Respect help-form.
20035
20036 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20037
20038 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20039 (gnutls-negotiate): Use it.
20040
20041 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20042
20043 * net/gnutls.el (gnutls-negotiate):
20044 Upcase `gnutls-algorithm-priority'.
20045
20046 2011-07-15 Glenn Morris <rgm@gnu.org>
20047
20048 * jka-compr.el (jka-compr-verbose): Move from here...
20049 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20050 Add missing :version tag.
20051 * info.el: No need to require jka-compr when compiling.
20052
20053 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20054
20055 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20056 (gnutls-negotiate): Use it.
20057
20058 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20059
20060 * info.el (Info-beginning-of-buffer): New command.
20061 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20062 announcing `b' as the key (bug#8325).
20063 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20064
20065 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20066
20067 * international/mule-cmds.el
20068 (describe-specified-language-support): Make the error message
20069 clearer (bug#8905).
20070
20071 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20072
20073 * isearch.el (isearch-barrier): Add a doc string, since it's
20074 mentioned in a function doc string (bug#8678).
20075
20076 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20077
20078 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20079 buffer argument (Bug#9083) and self-identifying label argument.
20080
20081 2011-07-15 Glenn Morris <rgm@gnu.org>
20082
20083 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20084
20085 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20086
20087 * man.el (Man-fontify-manpage): Fix message when formatting the
20088 man page (bug#7929).
20089
20090 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20091
20092 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20093 argument LRM; if non-nil, append an invisible LRM character to the
20094 buffer name.
20095 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20096 last argument non-nil, when formatting buffer names.
20097 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20098 paragraph direction.
20099
20100 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20101
20102 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20103 the man page name (bug#7929).
20104
20105 * image.el (put-image): Mention the `put-image' overlay property
20106 (bug#7834).
20107
20108 * scroll-bar.el (set-scroll-bar-mode): Mention that
20109 `scroll-bar-mode' lists the values (bug#7772).
20110
20111 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20112 command (bug#7729).
20113
20114 * rect.el (apply-on-rectangle): Return the point after the last
20115 operation.
20116 (string-rectangle): Go to the point after the last operation
20117 (bug#7522).
20118
20119 * printing.el (pr-toggle-region): Clarify the documentation
20120 slightly (bug#7493).
20121
20122 * time.el (display-time-update):
20123 Allow `display-time-mail-function' to return nil (bug#7158).
20124 Fix suggested by Detlev Zundel.
20125
20126 * vc/diff.el (diff): Clarify the order the file names are read
20127 (bug#7111).
20128
20129 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20130 the doc string (bug#7015).
20131
20132 * font-lock.el (font-lock-maximum-decoration): Mention what
20133 numeric levels mean (bug#6935).
20134
20135 * startup.el (initial-buffer-choice): Don't mention the `none'
20136 selection, which is against policy.
20137
20138 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20139
20140 * window.el (display-buffer-normalize-special):
20141 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20142
20143 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20144
20145 * subr.el (version<, version<=, version=): Mention "-CVS" and
20146 "-12345" alpha version numbers.
20147
20148 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20149
20150 * bindings.el: Add advertised binding for set-mark-command
20151 (Bug#5772).
20152
20153 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20154
20155 * bindings.el (mode-line-other-buffer):
20156 * bookmark.el (bookmark-bmenu-2-window):
20157 * bs.el (bs-cycle-next, bs-cycle-previous):
20158 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20159 switch-to-buffer.
20160
20161 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20162 Delete.
20163
20164 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20165
20166 * follow.el (follow-debug-message, follow-redisplay):
20167 * jka-cmpr-hook.el (with-auto-compression-mode):
20168 Fix typos in docstrings.
20169
20170 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20171
20172 * subr.el (with-silent-modifications): Clarify somewhat what the
20173 macro inhibits (bug#6525).
20174
20175 * simple.el (eval-expression): Note what it does if called
20176 interactively (bug#6495).
20177
20178 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20179
20180 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20181 Use pop-to-buffer buffer-or-name if it is nil.
20182
20183 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20184 Remove switch-to-buffer.
20185
20186 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20187
20188 * files.el (make-directory): Clarify that an error will be raised
20189 if there's an error (bug#6397).
20190
20191 * startup.el (initial-buffer-choice): Add `none' as a choice
20192 (bug#6234).
20193
20194 * subr.el (add-hook): Clarify section about buffer-local hooks
20195 (bug#6218).
20196
20197 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20198
20199 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20200
20201 * tabify.el (untabify): Preserve the current column so that point
20202 doesn't move (bug#6032).
20203
20204 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20205
20206 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20207 Rewrite to avoid awkward possessive "s" (bug#5986).
20208
20209 2011-07-13 Glenn Morris <rgm@gnu.org>
20210
20211 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20212 (dired-insert-directory): Give a message the first time
20213 if ls is found not to support --dired.
20214
20215 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20216
20217 * simple.el (toggle-truncate-lines): Clarify what is toggled
20218 (bug#5580). Text by Drew Adams.
20219
20220 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20221
20222 * simple.el (blink-matching-open): Make the error message from the
20223 last change less verbose.
20224
20225 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20226
20227 * font-lock.el (font-lock-comment-face): Use the high contrast
20228 "yellow" color for font-lock-comment-face on low color terminals
20229 using a dark background color (bug#4221).
20230
20231 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20232
20233 * dired.el (dired-insert-set-properties): Make the doc string
20234 reflect what it does now (bug#5325).
20235
20236 * simple.el (blink-matching-open): Say that we were unable to find
20237 the match within the limit, if we're limited (bug#5122).
20238
20239 * international/mule-cmds.el (prefer-coding-system): Add an
20240 example (bug#4869).
20241
20242 * progmodes/etags.el (tags-search): Document `file-list-form'
20243 (bug#4731).
20244
20245 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20246
20247 * net/browse-url.el (browse-url-default-browser)
20248 (browse-url-browser-function): Make the default browser choice a
20249 bit more logical (bug#4300). Also clean up the doc string.
20250
20251 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20252
20253 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20254 binary endings (bug#4440).
20255
20256 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20257
20258 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20259 which can be pretty annoying (bug#8971).
20260
20261 * jka-compr.el (jka-compr-verbose): New variable, and use
20262 throughout (bug#8971).
20263
20264 * info.el (Info-find-file): Fall back on the installation
20265 directory if we can't find the info node anywhere else.
20266
20267 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20268
20269 * vc/vc.el (vc-revert-file):
20270 Don't set file time-stamp in the past. (Bug#5181)
20271
20272 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20273
20274 * files.el (after-find-file): Give a better error message when
20275 trying to find a symlink that points to a file that doesn't exist
20276 (bug#4398).
20277
20278 * progmodes/cc-vars.el: Remove (probably) misleading comment
20279 (bug#4396).
20280
20281 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20282
20283 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20284
20285 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20286
20287 * mouse-sel.el: Hack restoring functionality, while keeping
20288 compatibility with 2010-07-03 changes to mouse selection.
20289 (mouse-sel-primary-overlay): New var.
20290 (mouse-sel-selection-alist): Use it.
20291 (mouse-sel-mode): Doc fix; remove points that are default features
20292 of mouse.el.
20293
20294 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20295
20296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20297 Fix previous fix (bug#2490).
20298
20299 2011-07-12 Roland Winkler <winkler@gnu.org>
20300
20301 * textmodes/bibtex.el (bibtex-initialize):
20302 Use pop-to-buffer-same-window.
20303 (bibtex-search-entries): Fix interactive call.
20304
20305 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20306
20307 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20308 Fontise bytecomp Error lines more correctly (bug#2490).
20309 Fix suggested by Johan Bockgård.
20310
20311 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20312
20313 * dired-x.el (dired-guess-default): Use `delete-dups'.
20314
20315 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20316
20317 * dired.el (dired-mark-prompt):
20318 * dired-aux.el (dired-read-shell-command): Doc fix.
20319
20320 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20321
20322 * mail/sendmail.el (sendmail-query-once):
20323 Use `customize-save-variable' unconditionally, now that it works under
20324 emacs -Q.
20325
20326 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20327
20328 * cus-edit.el (custom-file): Take an optional no-error variable.
20329 (customize-save-variable): Set the variable, and give a warning if
20330 running under "emacs -q".
20331
20332 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20333
20334 * loadhist.el (unload-feature-special-hooks):
20335 Add `auto-coding-functions', `fill-nobreak-predicate' and
20336 `find-directory-functions' (bug#5327).
20337
20338 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20339
20340 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20341
20342 * cus-edit.el (custom-guess-name-alist): -alist variables should
20343 use the `alist' type (bug#3120). Suggested by Drew Adams.
20344
20345 * printing.el: Add documentation to all the `pr-toggle-' commands.
20346
20347 2011-07-11 Leo Liu <sdl.web@gmail.com>
20348
20349 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20350 backends where it makes sense (bug#2623).
20351
20352 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20353
20354 * dired-x.el (dired-guess-default): Remove duplicate shell command
20355 entries (bug#2028).
20356 (dired-guess-default): Fix grammar in doc string (bug#2028).
20357 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20358
20359 * subr.el (remove-duplicates): New conveniency function.
20360
20361 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20362
20363 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20364 (bug#1526).
20365
20366 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20367
20368 * window.el (display-buffer-normalize-default): Don't invert
20369 meaning of even-window-heights. Reported by Eli Zaretskii
20370 <eliz@gnu.org>.
20371
20372 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20373
20374 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20375
20376 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20377
20378 * window.el (display-buffer): Fix arguments to
20379 display-buffer-reuse-window in last change.
20380
20381 * faces.el (link): Use a less saturated blue on light backgrounds.
20382
20383 * startup.el (fancy-startup-text, fancy-about-text)
20384 (fancy-startup-tail): Use font-lock faces, for background safety.
20385
20386 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20387
20388 * emulation/viper-cmd.el (viper-change-state-to-vi):
20389 Limit triggering of abbrev expansion (Bug#9038).
20390
20391 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20392
20393 * window.el (display-buffer-default-specifiers): Remove.
20394 (display-buffer-macro-specifiers): Remove default specifiers.
20395 (display-buffer-alist): Default to nil.
20396 (display-buffer-reuse-window): New optional argument other-window.
20397 (display-buffer-pop-up-window): Allow splitting internal
20398 windows. Check whether a live window was created.
20399 (display-buffer-other-window-means-other-frame)
20400 (display-buffer-normalize-arguments): Rename to
20401 display-buffer-normalize-argument and rewrite. Set the
20402 other-window specifier.
20403 (display-buffer-normalize-special): New function.
20404 (display-buffer-normalize-options): Rename to
20405 display-buffer-normalize-default and rewrite.
20406 (display-buffer-normalize-options-inhibit): Remove.
20407 (display-buffer-normalize-specifiers): Rewrite.
20408 (display-buffer): Process other-window specifier and call
20409 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20410 more faithfully.
20411 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20412 (display-buffer-alist-set): Don't handle 'unset default values.
20413 (display-buffer-in-window, display-buffer-alist-set):
20414 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20415 <tassilo@member.fsf.org>.
20416
20417 2011-07-09 Leo Liu <sdl.web@gmail.com>
20418
20419 * register.el (insert-register): Restore accidental change on
20420 2011-06-26. (Bug#9028)
20421
20422 2011-07-09 Glenn Morris <rgm@gnu.org>
20423
20424 * subr.el (remq): Handle the empty list. (Bug#9024)
20425
20426 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20427
20428 * mail/sendmail.el (send-mail-function): No longer delay custom
20429 initialization.
20430 * custom.el (custom-initialize-delay): Doc fix.
20431
20432 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20433
20434 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20435
20436 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20437
20438 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20439 human-friendly prompt.
20440
20441 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20442
20443 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20444 provided by a particular plugin.
20445
20446 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20447
20448 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20449 save customizations (with "emacs -Q"), just set the variable
20450 instead of erroring out.
20451
20452 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20453
20454 2011-07-08 Juri Linkov <juri@jurta.org>
20455
20456 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20457 (archive-zip-update-case): Use 7z if found by `executable-find'.
20458 The order of searching the available programs is the same as in
20459 `archive-zip-extract' (bug#8968).
20460
20461 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20462
20463 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20464 (menu-bar-options-menu): Tweak descriptions.
20465
20466 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20467
20468 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20469 menu items into verb phrases (bug#1421). Also refill to fit under
20470 80 columns.
20471
20472 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20473
20474 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20475 (Info-read-node-name): Doc fix (Bug#1084).
20476
20477 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20478 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20479 (end-of-sexp, beginning-of-sexp)
20480 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20481 (forward-symbol, forward-same-syntax, word-at-point)
20482 (sentence-at-point): Doc fix (Bug#1144).
20483
20484 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20485
20486 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20487 should cover it (bug#1281).
20488
20489 * cus-edit.el (custom-show): Mark as obsolete.
20490
20491 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20492 negotiation fails, then possibly try again with a non-encrypted
20493 connection (bug#9017).
20494
20495 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20496 be used.
20497
20498 2011-07-07 Richard Stallman <rms@gnu.org>
20499
20500 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20501 property, and handle its changed format.
20502 Look for the correct line number.
20503 Use file's line contents (but not past first =) to find
20504 correct line in message.
20505
20506 2011-07-07 Kenichi Handa <handa@m17n.org>
20507
20508 * international/characters.el (build-unicode-category-table):
20509 Delete it.
20510 (unicode-category-table): Set it by unicode-property-table-internal.
20511
20512 * international/mule-cmds.el (char-code-property-alist): Move to
20513 to src/chartab.c.
20514 (get-char-code-property): Call unicode-property-table-internal to
20515 load a file. Call get-unicode-property-internal where necessary.
20516 (put-char-code-property): Call unicode-property-table-internal to
20517 load a file. Call put-unicode-property-internal where necessary.
20518 put-unicode-property-internal where necessary.
20519 (char-code-property-description):
20520 Call unicode-property-table-internal to load a file.
20521
20522 * international/charprop.el:
20523 * international/uni-bidi.el:
20524 * international/uni-category.el:
20525 * international/uni-combining.el:
20526 * international/uni-comment.el:
20527 * international/uni-decimal.el:
20528 * international/uni-decomposition.el:
20529 * international/uni-digit.el:
20530 * international/uni-lowercase.el:
20531 * international/uni-mirrored.el:
20532 * international/uni-name.el:
20533 * international/uni-numeric.el:
20534 * international/uni-old-name.el:
20535 * international/uni-titlecase.el:
20536 * international/uni-uppercase.el: Regenerate.
20537
20538 * loadup.el: Load international/charprop.el before
20539 international/characters.
20540
20541 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20542
20543 * window.el (next-buffer, previous-buffer): Signal an error if
20544 called from a minibuffer window.
20545
20546 * bindings.el: Revert 2011-07-04 change.
20547
20548 2011-07-06 Richard Stallman <rms@gnu.org>
20549
20550 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20551 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20552 Treat markers like ints.
20553 (rmail-mime-entity): Doc fix.
20554
20555 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20556
20557 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20558 defcustom again for backwards compatibility.
20559
20560 * simple.el (shell-command-on-region): Fill.
20561
20562 * dired-aux.el (dired-kill-line): Add a doc string.
20563
20564 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20565 to "\\sw\\|\\s_" (bug#358).
20566
20567 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20568 (dired-unmark-backward): Ditto.
20569 (dired-flag-backup-files): Ditto.
20570
20571 * dired-x.el (dired-mark-sexp): Ditto.
20572
20573 2011-07-06 Richard Stallman <rms@gnu.org>
20574
20575 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20576 (rmail-mime-entity): New arg TRUNCATED.
20577 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20578 New functions.
20579 (rmail-mime-save): Warn if entity is truncated.
20580 (rmail-mime-toggle-hidden): Likewise, for showing.
20581 (rmail-mime-process-multipart): Record when an entity is truncated.
20582
20583 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20584 if ENTITY is a string.
20585
20586 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20587
20588 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20589 of faces when `M-C-x'-ing their definitions (bug#8378).
20590 Also clean up the code slightly.
20591
20592 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20593 because that makes the colors go away.
20594
20595 * mail/sendmail.el (send-mail-function): Change the default to
20596 `sendmail-query-once'.
20597 (sendmail-query-once): Add an autoload cookie.
20598
20599 * net/network-stream.el (network-stream-open-starttls): Try using
20600 a plain connection even if the server offered STARTTLS, and we
20601 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20602 capability. This should make smtpmail.el work in slightly more
20603 configurations.
20604
20605 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20606
20607 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20608 New defun.
20609 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20610
20611 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20612
20613 * progmodes/sql.el: Version 3.0
20614 (sql-product-alist): Add product :completion-object,
20615 :completion-column, and :statement attributes.
20616 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20617 (sql-mode-syntax-table): Mark all punctuation.
20618 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20619 ansi keywords.
20620 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20621 (sql-mode-oracle-font-lock-keywords): Improve.
20622 (sql-oracle-show-reserved-words): New function for development.
20623 (sql-product-font-lock): Simplify for source code buffers.
20624 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20625 New functions.
20626 (sql-highlight-product): Set product specific syntax table.
20627 (sql-mode-map): Add statement movement functions.
20628 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20629 New variable.
20630 (sql-statement-regexp, sql-beginning-of-statement)
20631 (sql-end-of-statement, sql-signum): New functions.
20632 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20633 (sql-show-sqli-buffer): Bug fix.
20634 (sql-interactive-mode): Store connection data as buffer local.
20635 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20636 with sql-interactive-mode.
20637 (sql-save-connection): Save buffer local settings.
20638 (sql-connection-menu-filter): Change menu entry name.
20639 (sql-product-interactive): Bug fix.
20640 (sql-preoutput-hold): New variable.
20641 (sql-interactive-remove-continuation-prompt): Bug fixes.
20642 (sql-debug-redirect): New variable.
20643 (sql-str-literal): New function.
20644 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20645 Redesign.
20646 (sql-oracle-save-settings, sql-oracle-restore-settings)
20647 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20648 (sql-completion-object, sql-completion-column)
20649 (sql-completion-sqlbuf): New variables.
20650 (sql-build-completions-1, sql-build-completions)
20651 (sql-try-completion): New functions.
20652 (sql-read-table-name): Use them.
20653 (sql-contains-names): New buffer local variable.
20654 (sql-list-all, sql-list-table): Use it.
20655 (sql-oracle-completion-types): New variable.
20656 (sql-oracle-completion-object, sql-sqlite-completion-object)
20657 (sql-postgres-completion-object): New functions.
20658
20659 2011-07-06 Glenn Morris <rgm@gnu.org>
20660
20661 * window.el (pop-to-buffer): Doc fix.
20662
20663 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20664
20665 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20666
20667 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20668
20669 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20670
20671 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20672
20673 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20674
20675 * button.el (button): Inherit from link face. Suggested by Dan
20676 Nicolaescu.
20677
20678 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20679
20680 * progmodes/gdb-mi.el: Fit in 80 columns.
20681 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20682 switch-to-buffer.
20683
20684 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20685 if imenu is simply not configured (bug#8941).
20686
20687 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20688
20689 * allout.el (allout-post-undo-hook): New allout outline-change
20690 event hook to signal undo activity.
20691 (allout-post-command-business): Run allout-post-undo-hook if an
20692 undo just occurred.
20693 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20694 * allout-widgets.el (allout-widgets-after-undo-function):
20695 Ensure the integrity of the current item's decoration after it has been
20696 in the vicinity of an undo.
20697 (allout-widgets-mode): Include allout-widgets-after-undo-function
20698 on the new allout-post-undo-hook.
20699
20700 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20701
20702 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20703 Let define-derived-mode define it.
20704 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20705 cycles of abbrev-table inheritance (bug#8998).
20706
20707 2011-07-05 Roland Winkler <winkler@gnu.org>
20708
20709 * textmodes/bibtex.el: Add support for biblatex.
20710 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20711 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20712 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20713 (bibtex-entry-alist, bibtex-field-alist): New variables.
20714 (bibtex-entry-field-alist): Obsolete alias for
20715 bibtex-BibTeX-entry-alist.
20716 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20717 (bibtex-set-dialect): New command.
20718 (bibtex-entry-type, bibtex-entry-head)
20719 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20720 Bind via bibtex-set-dialect.
20721 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20722 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20723 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20724 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20725 Define via bibtex-set-dialect.
20726 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20727 Obey bibtex-no-opt-remove-re.
20728 (bibtex-vec-push, bibtex-vec-incr): New functions.
20729 (bibtex-format-entry, bibtex-field-list)
20730 (bibtex-print-help-message, bibtex-validate)
20731 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20732
20733 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20734
20735 * progmodes/compile.el (compilation-goto-locus):
20736 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20737 * bs.el (bs-cycle-next, bs-cycle-previous):
20738 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20739 * bindings.el (mode-line-other-buffer):
20740 * autoinsert.el (auto-insert):
20741 * arc-mode.el (archive-extract):
20742 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20743
20744 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20745
20746 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20747 Fix check of `emacs-lock-unlockable-modes'.
20748 Coerce true values of `emacs-lock--try-unlocking' to t.
20749
20750 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20751
20752 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20753 * emacs-lock.el: New file.
20754
20755 2011-07-05 Julien Danjou <julien@danjou.info>
20756
20757 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20758 than `boundp' to check if face is set.
20759
20760 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20761
20762 * register.el (registerv-make):
20763 * window.el (window-min-height): Fix typos in docstrings.
20764
20765 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20766
20767 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20768 Update doc string.
20769
20770 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20771
20772 * server.el (server-execute): Catch quit and call
20773 `server-return-error' to pass the error back to emacsclient and
20774 close the connection (bug#8942).
20775
20776 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20777
20778 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20779 insecure exception for current topic. Also note that auto-saves
20780 are handled differently.
20781
20782 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20783 State variables for tracking auto-save inhibition situation.
20784
20785 (allout-write-contents-hook-handler): Rename from
20786 'allout-write-file-hook-handler', and describe how it depends on
20787 write-contents-functions sensitivity to non-nil value to prevent
20788 file write.
20789
20790 (allout-auto-save-hook-handler): Remove. auto-save does not check
20791 this in individual buffers, only in the starting buffer, so this
20792 is not the right way for us to inhibit auto-save in a buffer
20793 according to its condition.
20794
20795 (allout-mode): Use new allout-write-contents-hook-handler, and
20796 only with write-contents-functions. Remove auto-save provisions -
20797 they're implemented elsewhere.
20798
20799 (allout-before-change-handler): If undo is in progress, note that
20800 for attention of allout-post-command-business.
20801
20802 (allout-post-command-business): If the command we're following was
20803 an undo, check for change in the status of encrypted items and
20804 adjust auto-save inhibitions accordingly.
20805
20806 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20807 according to whether there are or aren't any plain-text topics
20808 pending encryption.
20809
20810 (allout-inhibit-auto-save-info-for-decryption):
20811 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20812 if there are plain-text topics pending encryption.
20813
20814 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20815 buffer-saved-size and some allout state to not inhibit auto-saves
20816 if there are no longer any plain-text topics pending encryption.
20817
20818 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20819 No longer provide for exemption of the current topic.
20820
20821 2011-07-04 Juri Linkov <juri@jurta.org>
20822
20823 Add 7z operations to delete and save changed members (bug#8968).
20824 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20825 New defcustoms.
20826 (archive-7z-write-file-member): New function.
20827 (archive-7z-summarize): Fix the number of dashes in the
20828 listing output.
20829
20830 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20831
20832 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20833 (bug#8958).
20834
20835 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20836
20837 * bindings.el: Ignore next-buffer and previous-buffer in
20838 minibuffer-local-map.
20839
20840 * font-lock.el (font-lock-builtin-face): Change light background
20841 color to dark slate blue (Bug#6693).
20842
20843 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20844
20845 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20846
20847 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20848
20849 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20850 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20851 Add switch-to-buffer.
20852
20853 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20854
20855 * isearch.el (isearch-search-fun-function): Clarify further the
20856 meaning of the function returned.
20857
20858 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20859
20860 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20861
20862 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20863 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20864 Use it.
20865 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20866 `tramp-default-remote-path' does not exist.
20867 (tramp-send-command-and-read): New optional argument NOERROR.
20868 (tramp-open-connection-setup-interactive-shell)
20869 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20870 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20871 (tramp-process-sentinel): Flush also process' connection property.
20872 (tramp-sh-handle-start-file-process): Do not set process
20873 sentinel. It is done now ...
20874 (tramp-maybe-open-connection): ... here. (Bug#8929)
20875
20876 2011-07-04 MON KEY <monkey@sandpframing.com>
20877
20878 * play/animate.el (animate-string): Doc fixes and allow changing
20879 the buffer name (bug#5417).
20880
20881 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20882
20883 * play/animate.el (animation-buffer-name): Rename from *animate*.
20884
20885 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20886
20887 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20888 This is simpler and helps future-proof the code.
20889 (timer-until): Use time-subtract and float-time.
20890 (timer--time-less-p): Use time-less-p.
20891
20892 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * type-break.el (timep): Use the value of `float-time' to avoid a
20895 byte-compiler warning.
20896
20897 * server.el (server-eval-and-print): Return any result, even nil.
20898
20899 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20900
20901 * type-break.el: Accept time formats that the builtins accept.
20902 (timep, type-break-time-difference): Accept any format that
20903 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20904 This is simpler and helps future-proof the code.
20905 (type-break-time-difference): Round rather than ignoring
20906 subseconds components.
20907
20908 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20909
20910 * info.el (Info-apropos-matches): Make non-interactive, since it
20911 doesn't seem to do anything useful as a command (bug#8829).
20912
20913 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20914
20915 * frame.el (frame-background-mode, frame-set-background-mode):
20916 Move from faces.el.
20917 (frame-default-terminal-background): New function.
20918
20919 * custom.el (custom-push-theme): Don't record faces in `changed'
20920 theme; this doesn't work correctly for per-frame face settings.
20921 (disable-theme): Use face-set-after-frame-default to reset faces.
20922 (custom--frame-color-default): New function.
20923
20924 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20925
20926 * dired.el (dired-flagging-regexp): Remove unused variable
20927 (bug#8769).
20928
20929 2011-03-29 Kevin Ryde <user42@zip.com.au>
20930
20931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20932 `perl-Test2' extend to match possible "fail #N" rep count
20933 (bug#8377).
20934
20935 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20936
20937 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20938 `smtpmail-via-smtp' now returns the error instead of nil.
20939
20940 * isearch.el (isearch-search-fun-function): Clarify the doc string
20941 (bug#8101).
20942
20943 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20944
20945 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20946 unnecessary spaces (bug#8987).
20947
20948 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20949
20950 * net/network-stream.el (open-network-stream): Use the
20951 :end-of-capability command thoughout.
20952
20953 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20954
20955 * net/network-stream.el (open-network-stream): Add the
20956 :end-of-capability command parameter, used by pop3.el.
20957
20958 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20959
20960 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20961
20962 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20963 for list)" (bug#6475).
20964
20965 * files.el (file-expand-wildcards): Ignore non-readable
20966 sub-directories while trying to find matches instead of signaling
20967 an error (bug#6297).
20968
20969 * man.el (Man-reference-regexp): Allow matching possible
20970 word-wrapped references (bug#6289).
20971
20972 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20973 for consistency with the other vc buffers (bug#6197).
20974 (vc-checkin): Ditto.
20975
20976 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20977
20978 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20979
20980 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20981
20982 * custom.el (defcustom): Clarify that :set is only used in the
20983 Customize user interface (bug#6089).
20984
20985 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20986 associated with a file, refuse to run instead of erroring out
20987 (bug#6084).
20988
20989 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20990 the doc string, since it appears that using `fill-column' always
20991 controls the width (bug#7845).
20992
20993 * simple.el (shell-command-on-region): Say where the error output
20994 went if `shell-command-default-error-buffer' is set (bug#6857).
20995
20996 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20997
20998 * allout.el (allout-yank-processing): Adjust cursor position for
20999 backwards-deleted space.
21000
21001 (allout-rebullet-heading): Register changes with
21002 allout-exposure-changed-hook, so the modified topic is properly
21003 decorated.
21004
21005 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21006
21007 * minibuffer.el (completion-in-region): Document PREDICATE
21008 (bug#7136).
21009
21010 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21011 of keyword/argument pairs (bug#6904).
21012
21013 * replace.el (multi-occur):
21014 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21015
21016 2011-07-02 Drew Adams <drew.adams@oracle.com>
21017
21018 * dired.el (dired-mark-if): Make the message about whether it's
21019 marking or unmarking clearer (bug#8523).
21020
21021 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21022
21023 * disp-table.el (display-table-print-array): New function.
21024 (describe-display-table): Use it to print the vectors more pretty
21025 (Bug#8859).
21026
21027 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21028
21029 * window.el (window-state-get-1): Don't assign clone numbers.
21030 Add clone-of item to list of window parameters.
21031 (window-state-put-2): Don't process clone numbers.
21032 (display-buffer-alist): Fix doc-string.
21033
21034 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21035
21036 * subr.el (remq): Don't allocate if it's not needed.
21037 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21038 (keymap--merge-bindings): New functions.
21039 (keymap-canonicalize): Use them to refine the canonicalization.
21040 * minibuffer.el (minibuffer-local-completion-map)
21041 (minibuffer-local-must-match-map): Move initialization from C.
21042 (minibuffer-local-filename-completion-map): Move initialization from C;
21043 don't inherit from anything here.
21044 (minibuffer-local-filename-must-match-map): Make obsolete.
21045 (completing-read-default): Use make-composed-keymap to combine
21046 minibuffer-local-filename-completion-map with either
21047 minibuffer-local-must-match-map or
21048 minibuffer-local-filename-completion-map.
21049
21050 2011-07-01 Glenn Morris <rgm@gnu.org>
21051
21052 * type-break.el (type-break-time-sum): Use dolist.
21053
21054 * textmodes/flyspell.el (flyspell-word-search-backward):
21055 Replace CL function.
21056
21057 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21058
21059 * mouse.el (mouse--strip-first-event): New function.
21060 (function-key-map): Use it to map fringe clicks to normal clicks
21061 by default.
21062
21063 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21064 (vc-bzr-revision-completion-table): Add support for annotate and date.
21065
21066 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21067 inherit from parent.
21068
21069 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21070
21071 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21072 (dired-show-file-type): Doc fixup (bug#8818).
21073
21074 * dired.el (dired-mode): Fix up the doc string as suggested by
21075 Drew Adams (bug#8817).
21076
21077 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21078 cookie, since the manual says that it should be possible to add
21079 this function to `find-file-hook' (bug#8709).
21080
21081 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21082
21083 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21084 here. Noted Ted Zlatanov as the maintainer.
21085 (cfengine-common-settings, cfengine-common-syntax): New functions
21086 to set up common things between `cfengine-mode' and
21087 `cfengine3-mode'.
21088 (cfengine3-mode): New mode.
21089 (cfengine3-defuns cfengine3-defuns-regex
21090 (cfengine3-class-selector-regex cfengine3-category-regex)
21091 (cfengine3-vartypes cfengine3-font-lock-keywords)
21092 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21093 (cfengine3-indent-line): Add from cfengine3.el.
21094
21095 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21096
21097 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21098
21099 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21100
21101 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21102
21103 * window.el (same-window-buffer-names, same-window-regexps)
21104 (same-window-p, special-display-frame-alist)
21105 (special-display-popup-frame, special-display-function)
21106 (special-display-buffer-names, special-display-regexps)
21107 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21108 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21109 (split-window-preferred-function, split-height-threshold)
21110 (split-width-threshold, even-window-heights)
21111 (display-buffer-mark-dedicated, window-splittable-p)
21112 (split-window-sensibly, window-safely-shrinkable-p):
21113 Un-obsolete.
21114 (display-buffer): Don't spread args with function specifier
21115 because special-display-popup-frame won't like it.
21116
21117 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21118
21119 Time-stamp simplifications and fixes.
21120 These improve accuracy slightly, and future-proof the code
21121 against some potential changes to current-time format.
21122
21123 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21124 by using time-since and float-time.
21125
21126 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21127 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21128 + NNN microseconds".
21129
21130 * type-break.el (type-break-time-sum): Rewrite using time-add.
21131
21132 * play/hanoi.el (hanoi-current-time-float): Remove.
21133 All uses replaced by float-time.
21134
21135 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21136 This yields a more-accurate answer.
21137 (rng-time-to-float): Remove; no longer needed.
21138
21139 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21140
21141 * calendar/timeclock.el (timeclock-seconds-to-time):
21142 Defalias to seconds-to-time, since they're the same thing.
21143
21144 * emacs-lisp/elp.el (elp-elapsed-time):
21145 * emacs-lisp/benchmark.el (benchmark-elapse):
21146 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21147
21148 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21149
21150 * window.el (bury-buffer): Don't iconify the only frame.
21151 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21152 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21153
21154 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21155
21156 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21157 Add mouse-yank-primary.
21158
21159 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21160
21161 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21162
21163 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21164
21165 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21166 (find-library-name): Use it to find relative load names when provided
21167 absolute file name (bug#8803).
21168
21169 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21170
21171 * textmodes/flyspell.el (flyspell-word): Consider words that
21172 differ only in case as potential doublons (bug#5687).
21173
21174 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21175 Remove two rather uninteresting debugging-like messages to make
21176 debbugs.el more silent.
21177
21178 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21179 a password-like phrase.
21180
21181 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21182
21183 * progmodes/cc-guess.el: New file.
21184
21185 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21186
21187 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21188 derived from `c-basic-common-init'.
21189
21190 * progmodes/cc-mode.el (top-level): Require cc-guess.
21191 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21192
21193 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21194
21195 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21196
21197 2011-06-30 Alan Mackenzie <acm@muc.de>
21198
21199 * progmodes/cc-engine.el (c-guess-continued-construct):
21200 Correct the handling of template-args-cont, particularly for when font
21201 lock is disabled. Name this case as "CASE G".
21202
21203 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21204
21205 * allout.el (allout-yank-processing): Fix injection of extra space
21206 between bullet and non-whitespace character in first topic when
21207 pasting, ensuring that the actual spacing in the pasted topic
21208 following the bullet char is preserved. This extra space was
21209 causing pasted encrypted topics to get a decrypted status even
21210 when the content was actually still encrypted. Now the decryption
21211 status from before the paste is preserved.
21212
21213 (allout-flag-region): Set all allout overlays so they evaporate
21214 when reduced to zero length (evanescent), to prevent overlay
21215 leakage.
21216
21217 2011-06-30 Glenn Morris <rgm@gnu.org>
21218
21219 * w32-fns.el (w32-charset-info-alist): Declare.
21220
21221 * find-dired.el (find-grep-options): Simplify.
21222
21223 * term/ns-win.el (ns-set-resource): Declare.
21224
21225 * ses.el (row, col): Declare dynamic variables honestly.
21226
21227 * textmodes/reftex-parse.el (index-tags): Declare.
21228
21229 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21230
21231 * cus-edit.el (customize-push-and-save): New function.
21232
21233 * files.el (hack-local-variables-confirm): Use it.
21234
21235 * custom.el (load-theme): New arg NO-CONFIRM.
21236 Use customize-push-and-save (Bug#8720).
21237 (custom-enabled-themes): Doc fix.
21238
21239 * cus-theme.el (customize-create-theme)
21240 (custom-theme-merge-theme): Callers to load-theme changed.
21241
21242 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21243
21244 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21245 short URLs have at least one dot in them (bug #7614).
21246
21247 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21248 nil, because using a pty is apparently too slow (bug #895).
21249
21250 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21251
21252 * mail/sendmail.el (sendmail-query-once): New function.
21253 (sendmail-query-once-function): New variable.
21254
21255 2011-06-29 Glenn Morris <rgm@gnu.org>
21256
21257 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21258
21259 * ses.el (top-level): Require cl when compiling.
21260 (ses-set-localvars): Fix error statement.
21261 Call it at compile time to silence a storm of warnings.
21262
21263 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21264
21265 * window.el (normalize-live-buffer): Rename to
21266 window-normalize-buffer.
21267 (normalize-live-frame): Rename to window-normalize-frame.
21268 (normalize-any-window): Rename to window-normalize-any-window.
21269 (normalize-live-window): Rename to window-normalize-live-window.
21270 (make-window-atom): Rename to window-make-atom.
21271 (window-resize-reset): Rename to window--resize-reset.
21272 (window-resize-reset-1): Rename to window--resize-reset-1.
21273 (resize-mini-window): Rename to window--resize-mini-window.
21274 (resize-subwindows-skip-p): Rename to
21275 window--resize-subwindows-skip-p.
21276 (resize-subwindows-normal): Rename to
21277 window--resize-subwindows-normal.
21278 (resize-subwindows): Rename to window--resize-subwindows.
21279 (resize-other-windows): Rename to window--resize-siblings.
21280 (resize-this-window): Rename to window--resize-this-window.
21281 (resize-root-window): Rename to window--resize-root-window.
21282 (resize-root-window-vertically): Rename to
21283 window--resize-root-window-vertically.
21284 (normalize-buffer-to-display): Rename to
21285 window-normalize-buffer-to-display.
21286 (normalize-buffer-to-switch-to): Rename to
21287 window-normalize-buffer-to-switch-to.
21288 Correspondingly update all callers of the functions listed
21289 above.
21290 (display-buffer-alist, display-buffer-normalize-arguments)
21291 (display-buffer-normalize-options, display-buffer)
21292 (display-buffer-alist-set): Use "function" instead of
21293 "fun-with-args".
21294
21295 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21296
21297 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21298 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21299 debbugs.gnu.org. Mention acknowledgment email.
21300
21301 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21302
21303 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21304 buffer multibyteness, since it shouldn't matter.
21305
21306 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21307
21308 * window.el (display-buffer-in-side-window): Handle dedicated
21309 windows as in display-buffer-reuse-window.
21310 (display-buffer-normalize-alist): Use value of override
21311 specifier.
21312 (display-buffer-normalize-specifiers): Use value of
21313 other-window-means-other-frame specifier.
21314 (display-buffer-alist): Rewrite some texts in widgets.
21315 (display-buffer): Spread arguments when calling function
21316 specified by fun-with-args.
21317
21318 2011-06-28 Deniz Dogan <deniz@dogan.se>
21319
21320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21321 Unnest `let'.
21322
21323 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21324 selectors (Bug#5732).
21325 (css-proprietary-nmstart-re): Use `regexp-opt'.
21326
21327 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21328
21329 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21330 (eshell-ls-date-format): New defcustom.
21331 (eshell-ls-file): Use it.
21332
21333 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21334
21335 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21336
21337 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21338
21339 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21340 (ange-ftp-make-tmp-name): New arg.
21341 (ange-ftp-file-local-copy): Use it.
21342
21343 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21344
21345 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21346 no-conversion (Bug#8870).
21347
21348 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21349
21350 * window.el (window-right, window-left, window-child)
21351 (window-child-count, window-last-child)
21352 (window-iso-combination-p, walk-window-tree-1)
21353 (window-atom-check-1, window-tree-1, delete-window)
21354 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21355 new naming conventions - window-vchild, window-hchild,
21356 window-next and window-prev are now called window-top-child,
21357 window-left-child, window-next-sibling and window-prev-sibling
21358 respectively.
21359 (resize-window-reset): Rename to window-resize-reset.
21360 (resize-window-reset-1): Rename to window-resize-reset-1.
21361 (resize-window): Rename to window-resize.
21362 (window-min-height, window-min-width)
21363 (resize-mini-window, resize-this-window, resize-root-window)
21364 (resize-root-window-vertically, adjust-window-trailing-edge)
21365 (enlarge-window, shrink-window, maximize-window)
21366 (minimize-window, delete-window, quit-restore-window)
21367 (split-window, balance-windows, balance-windows-area-adjust)
21368 (balance-windows-area, window-state-put-2)
21369 (display-buffer-even-window-sizes, display-buffer-set-height)
21370 (display-buffer-set-width, set-window-text-height)
21371 (fit-window-to-buffer): Rename all "resize-window" prefixed
21372 calls to use the "window-resize" prefix convention.
21373 (display-buffer-alist): Fix symbol for label specifier.
21374 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21375 corresponding specifier.
21376 Reported by Juanma Barranquero <lekktu@gmail.com>.
21377
21378 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21379
21380 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21381 convention.
21382 (ses-call-printer): Does not pass an empty string to formatter when the
21383 cell is empty to keep from barking printer Calc math-format-value.
21384
21385 2011-06-27 Richard Stallman <rms@gnu.org>
21386
21387 * battery.el (battery-mode-line-limit): New variable.
21388 (battery-update): Handle it.
21389
21390 * mail/rmailmm.el (rmail-mime-process-multipart):
21391 Handle truncated messages.
21392
21393 2011-06-27 Glenn Morris <rgm@gnu.org>
21394
21395 * progmodes/flymake.el (flymake-err-line-patterns):
21396 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21397
21398 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21399
21400 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21401 (ses--clean-!, ses--clean-_): New functions.
21402 (ses-range): Add configurability of readout order, and conversion
21403 to Calc vector.
21404
21405 * ses.el (ses-repair-cell-reference-all): New function.
21406 (ses-cell-symbol): Set macro as safe, so that it can be used in
21407 formulas.
21408
21409 * ses.el: Update cycle detection algorithm.
21410 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21411 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21412 (ses-set-localvars): New function.
21413 (ses-make-cell): Add property-list as a cell element.
21414 (ses-cell-property-get-fun, ses-cell-property-get)
21415 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21416 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21417 New functions.
21418 (ses-cell-property-set, ses-cell-property-pop)
21419 (ses-cell-property-get-handle): New macro.
21420 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21421 New aliases, used for code readability.
21422 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21423 cycle detection.
21424 (ses-self-reference-early-detection): New defcustom.
21425 (ses-formula-references): Robustify against self-referring cells.
21426 (ses-mode): Use ses-set-localvars.
21427 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21428 before lauching the update processing.
21429 (ses-initialize-Dijkstra-attempt): New function.
21430 (ses-recalculate-cell): Update for cycle detection based on
21431 Dijkstra algorithm.
21432
21433 * ses.el: Fix commenting and indenting convention.
21434
21435 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21436
21437 * bs.el (bs-cycle-next): Complete last change.
21438
21439 2011-06-27 Drew Adams <drew.adams@oracle.com>
21440
21441 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21442
21443 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21444
21445 * net/network-stream.el (network-stream-open-starttls):
21446 Don't re-get capabilities unless we've reestablished connection.
21447 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21448
21449 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21450 to binary to possibly avoid line encoding issues on Windows (among
21451 other things).
21452
21453 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21454
21455 * net/network-stream.el (open-network-stream): Return an :error
21456 saying what the problem was, if possible.
21457
21458 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21459 server.
21460
21461 * net/network-stream.el (network-stream-open-starttls): If we
21462 wanted to use STARTTLS, and the server offered it, but we weren't
21463 able to because we had no STARTTLS support, then close the connection.
21464 (open-network-stream): Return an :error element, if present.
21465
21466 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21467
21468 * hl-line.el (hl-line-sticky-flag): Doc fix.
21469 (global-hl-line-sticky-flag): New option (Bug#8323).
21470 (global-hl-line-highlight): Obey it.
21471
21472 * vc/vc.el (vc-revert-show-diff): Default to t.
21473
21474 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21475
21476 * allout-widgets.el (allout-widgets-post-command-business):
21477 Stop decorating intermediate isearch matches. They're not being
21478 undecorated when an isearch is continued past, and isearch
21479 automatically collapses them. This leads to "widget leaks", where
21480 decorated items accumulate in collapsed areas. Lines with lots of
21481 hidden widgets can slow down cursor travel, substantially.
21482 Too much complicated machinery would be needed to ensure undecoration,
21483 so we're doing without this nicety.
21484
21485 (allout-widgets-tally-string): Don't try to do a hash-table-count
21486 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21487 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21488 *Messages* when allout-widgets-maintain-tally is t.
21489
21490 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21491
21492 * window.el (display-buffer-normalize-argument): Rename to
21493 display-buffer-normalize-arguments. Handle special meaning of
21494 LABEL argument. Respect special-display-function when popping up
21495 a new frame. Fix code searching for a window showing the buffer
21496 on another frame.
21497 (display-buffer-normalize-specifiers):
21498 Call display-buffer-normalize-arguments.
21499 (display-buffer-in-window): Don't undedicate the window if its
21500 buffer remains the same.
21501 Reported by Drew Adams <drew.adams@oracle.com>.
21502 (display-buffer-alist): Add choice for same-window macro
21503 specfier.
21504 (display-buffer): Mention special meaning of LABEL argument in
21505 doc-string. Fix quoting. Don't pop up a new frame even as
21506 fallback.
21507
21508 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21509
21510 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21511 avoid deleting the current window in some cases (bug#8911).
21512
21513 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21514
21515 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21516 (Bug#8934)
21517
21518 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21519
21520 * net/network-stream.el (network-stream-open-starttls):
21521 Use built-in TLS support if `gnutls-available-p' is true.
21522 (network-stream-open-tls): Ditto.
21523
21524 2011-06-26 Leo Liu <sdl.web@gmail.com>
21525
21526 * register.el (registerv): New struct.
21527 (registerv-make): New function.
21528 (jump-to-register, describe-register-1, insert-register):
21529 Support the jump-func, print-func and insert-func slot of a registerv
21530 struct. (Bug#8415)
21531
21532 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21533
21534 * vc/vc.el (vc-revert-show-diff): New defcustom.
21535 (vc-diff-internal): New arg specifying diff buffer.
21536 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21537 reuse an existing *vc-diff* buffer (Bug#8927).
21538
21539 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21540
21541 2011-06-26 Glenn Morris <rgm@gnu.org>
21542
21543 * progmodes/f90.el (f90-critical-indent): New option.
21544 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21545 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21546 (f90-mode): Doc fix.
21547 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21548 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21549 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21550 (f90-match-end): Handle block, critical.
21551
21552 2011-06-25 Glenn Morris <rgm@gnu.org>
21553
21554 * calendar/diary-lib.el (diary-included-files): Doc fix.
21555 (diary-include-files): New function, extracted from
21556 diary-include-other-diary-files and diary-mark-included-diary-files.
21557 (diary-include-other-diary-files, diary-mark-included-diary-files):
21558 Just call diary-include-files.
21559 (diary-mark-entries): Reset diary-included-files on first call.
21560
21561 * calendar/diary-lib.el (diary-mark-entries)
21562 (diary-mark-included-diary-files):
21563 Visit included diary-files in temp buffers.
21564
21565 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21566 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21567 (f90-start-block-re, f90-imenu-generic-expression)
21568 (f90-looking-at-program-block-start, f90-no-block-limit):
21569 Add support for submodules.
21570
21571 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21572 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21573
21574 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21575
21576 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21577 buffer-file-type before setting its value, to avoid disastrous
21578 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21579
21580 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21581
21582 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21583
21584 * ses.el (ses-unload-function):
21585 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21586
21587 * proced.el (proced-unload-function):
21588 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21589
21590 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21591
21592 * server.el (server-create-window-system-frame): Add parameters arg.
21593 (server-process-filter): Doc fix. Handle frame-parameters.
21594
21595 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21596
21597 Fix bug#8730, bug#8781.
21598
21599 * loadhist.el (unload--set-major-mode): New function.
21600 (unload-feature): Use it.
21601
21602 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21603 (python-unload-function): New function.
21604
21605 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21606
21607 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21608
21609 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21610
21611 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21612 the candidates list.
21613
21614 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21615
21616 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21617
21618 2011-06-23 Richard Stallman <rms@gnu.org>
21619
21620 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21621 (rmail-variables): Set next-error-move-function.
21622 (rmail-what-message): Take argument POS.
21623 (rmail-next-error-move): New function.
21624
21625 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21626
21627 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21628 messages for adjacent non-terminals.
21629
21630 2011-06-23 Richard Stallman <rms@gnu.org>
21631
21632 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21633 (rmail-show-message-1): Preserve buffer modified flag.
21634 (rmail-start-mail): Don't specify use of rmail-mail-return;
21635 that's done by mail-bury now.
21636 (rmail-mail-return): Handle arg NEWBUF.
21637
21638 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21639
21640 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21641 SIZE is a number.
21642
21643 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21644
21645 * window.el (get-lru-window, get-mru-window)
21646 (get-largest-window): Never return a minibuffer window.
21647 (display-buffer-pop-up-window): Fix a bug that could lead to
21648 reusing the minibuffer window.
21649 (display-buffer): Pass original specifier argument to
21650 display-buffer-function instead of the normalized one.
21651 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21652
21653 2011-06-22 Leo Liu <sdl.web@gmail.com>
21654
21655 * minibuffer.el (completing-read-function)
21656 (completing-read-default): Move from minibuf.c.
21657
21658 2011-06-22 Richard Stallman <rms@gnu.org>
21659
21660 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21661 to Rmail even if not started by a special Rmail command.
21662
21663 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21664 Copy the buffer currently showing just one message.
21665
21666 2011-06-22 Roland Winkler <winkler@gnu.org>
21667
21668 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21669 (bibtex-clean-entry): First delete the old key so that a
21670 customized algorithm for generating the new key does not get
21671 confused by the old key.
21672 (bibtex-url): Obey regexp of first step.
21673 (bibtex-search-entries): Do not use add-to-list with local
21674 list-var.
21675
21676 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21677
21678 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21679 stored a user name, then query for the password first, instead of
21680 waiting for SMTP to give an error message and the trying again.
21681
21682 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21683
21684 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21685 BUFFER in call-process.
21686
21687 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21688
21689 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21690 QUIT twice.
21691 (smtpmail-try-auth-methods): Require user name and password from
21692 auth-source.
21693
21694 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21695
21696 * window.el (display-buffer-default-specifiers)
21697 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21698 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21699 (split-window): Normalize SIDE argument (Bug#8916).
21700
21701 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21702 (special-display-frame-alist, special-display-popup-frame):
21703 Remove duplicate declarations. These are now in window.el.
21704
21705 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21706
21707 * mail/smtpmail.el (smtpmail-via-smtp):
21708 Set :use-starttls-if-possible so that we always use STARTTLS if the
21709 server supports it. SMTP servers that support STARTTLS commonly
21710 require it.
21711
21712 * net/network-stream.el (network-stream-open-starttls): Support
21713 upgrading to STARTTLS always, even if we don't have built-in support.
21714 (open-network-stream): Add the :always-query-capabilities keyword.
21715
21716 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21717 upgrades with `open-network-stream', and rely solely on
21718 auth-source for all credentials. Big changes throughout the file,
21719 but in particular:
21720 (smtpmail-auth-credentials): Remove.
21721 (smtpmail-starttls-credentials): Remove.
21722 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21723 MAIL FROM, too.
21724
21725 * net/network-stream.el (network-stream-open-starttls):
21726 Provide support for client certificates both for external and built-in
21727 STARTTLS.
21728 (auth-source): Require.
21729 (open-network-stream): Document the :client-certificate keyword.
21730 (network-stream-certificate): Change cert-cert to cert and
21731 cert-key to key.
21732
21733 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21734
21735 * net/tramp-cache.el (top): Don't load the persistency file when
21736 "emacs -Q" has been called.
21737
21738 2011-06-21 Tim Harper <timcharper@gmail.com>
21739
21740 * term/ns-win.el (ns-initialize-window-system):
21741 Set application-specific `ApplePressAndHoldEnabled' system
21742 resource to NO as it is not yet supported by the NS port.
21743
21744 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21745
21746 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21747 (list-dynamic-libraries): ...not here.
21748
21749 2011-06-21 Leo Liu <sdl.web@gmail.com>
21750
21751 * subr.el (sha1): Implement sha1 using secure-hash.
21752
21753 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21754
21755 * window.el (display-buffer-alist): In default value do not
21756 enforce searching a window on any but the selected frame.
21757 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21758 (display-buffer-select-window): Remove function.
21759 (display-buffer-in-window): When a window on another frame gets
21760 reused, do not select it any more but just raise its frame if
21761 necessary (Bug#8851) and (Bug#8856).
21762 (display-buffer-normalize-options): Handle pop-up-frames related
21763 options more faithfully.
21764 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21765 window if it is on another frame.
21766 (display-buffer-alist, display-buffer-default-specifiers):
21767 Don't make new frame unsplittable by default.
21768 (display-buffer-normalize-argument): Fix doc-string typo and use
21769 'same-frame-other-window instead of 'other-window when associating
21770 with display-buffer-macro-specifiers.
21771
21772 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21773
21774 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21775 New functions.
21776 (5x5-mode-map, 5x5-mode-menu): Bind them.
21777 (5x5-draw-grid): Tweak the solver's rendering.
21778
21779 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21780
21781 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21782 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21783
21784 2011-06-21 Drew Adams <drew.adams@oracle.com>
21785
21786 * menu-bar.el: Use function variable instead of switch-to-buffer.
21787 (menu-bar-select-buffer-function): New variable.
21788 (menu-bar-update-buffers): Use it (bug#8876).
21789
21790 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21791
21792 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21793 variable's status.
21794
21795 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21796
21797 * x-dnd.el (x-dnd-version-from-flags)
21798 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21799 and long as number (Bug#8899).
21800 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21801
21802 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21803
21804 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21805 (completion-try-completion, completion-all-completions): Compute the
21806 metadata argument if it's missing; make it optional (bug#8795).
21807
21808 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21809 (widget-complete): Use new :completion-function property.
21810 (widget-completions-at-point): New function.
21811 (default): Use :completion-function instead of :complete.
21812 (widget-default-completions): Rename from widget-default-complete;
21813 Rewrite.
21814 (widget-string-complete, widget-file-complete, widget-color-complete):
21815 Remove functions.
21816 (file, symbol, function, variable, coding-system, color):
21817 * international/mule-cmds.el (default-input-method, charset)
21818 (language-info-custom-alist):
21819 * cus-edit.el (face): Use new property :completions.
21820
21821 * progmodes/pascal.el (pascal-completions-at-point): New function.
21822 (pascal-mode): Use it.
21823 (pascal-mode-map): Use completion-at-point.
21824 (pascal-toggle-completions): Make obsolete.
21825 (pascal-complete-word, pascal-show-completions):
21826 * progmodes/octave-mod.el (octave-complete-symbol):
21827 Redefine as obsolete alias.
21828 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21829 Signal absence of completion info for old Octave,
21830 (inferior-octave-complete): Redefine as obsolete alias.
21831 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21832 (meta-completions-at-point): Rename from meta-complete-symbol and
21833 adapt it for use on completion-at-point-functions.
21834 (meta-common-mode): Use it.
21835 (meta-looking-at-backward, meta-match-buffer): Remove.
21836 (meta-complete-symbol): Redefine as obsolete alias.
21837 (meta-common-mode-map): Use completion-at-point.
21838 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21839 (makefile-mode-map): Use completion-at-point.
21840 (makefile-completions-at-point): Rename from makefile-complete and
21841 adapt it for use on completion-at-point-functions.
21842 (makefile-mode): Use it.
21843 (makefile-complete): Redefine as obsolete alias.
21844
21845 2011-06-20 Deniz Dogan <deniz@dogan.se>
21846
21847 * net/rcirc.el: Delete trailing whitespaces once and for all.
21848
21849 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21850
21851 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21852
21853 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21854
21855 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21856
21857 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21858
21859 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21860
21861 * window.el (display-buffer-other-window-means-other-frame):
21862 Call display-buffer-normalize-alist.
21863 (display-buffer-normalize-specifiers-1): Rename to
21864 display-buffer-normalize-argument. New argument other-frame.
21865 Rewrite.
21866 (display-buffer-normalize-specifiers-2): Rename to
21867 display-buffer-normalize-options.
21868 (display-buffer-normalize-alist-1): New function.
21869 (display-buffer-normalize-specifiers-3): Rename to
21870 display-buffer-normalize-alist.
21871 Call display-buffer-normalize-alist-1.
21872 (display-buffer-normalize-options-inhibit): New variable.
21873 (display-buffer-normalize-specifiers): Rewrite calling
21874 display-buffer-normalize-alist,
21875 display-buffer-normalize-argument, and
21876 display-buffer-normalize-options. Don't call the latter if
21877 display-buffer-normalize-options-inhibit is non-nil.
21878 (frame-auto-delete): New option.
21879 (window-deletable-p): Use frame-auto-delete.
21880 (window-list-no-nils, window-state-ignored-parameters)
21881 (window-state-get-1, window-state-get, window-state-put-list)
21882 (window-state-put-1, window-state-put-2, window-state-put):
21883 New functions.
21884 (display-buffer-normalize-options): Move special-display-p group
21885 after pop-up-frame group (Bug#8851) and (Bug#8856).
21886
21887 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21888
21889 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21890 groups (Bug#8776).
21891 (rx-submatch-n): New function.
21892 (rx): Document it.
21893
21894 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21895 (Bug#8768).
21896
21897 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21898
21899 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21900
21901 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21902 anytime existing face settings are present (Bug#8889).
21903
21904 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21905 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21906 Remove unused argument.
21907
21908 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21909
21910 * window.el (display-buffer-default-specifiers):
21911 Remove pop-up-frame. Add pop-up-window-min-height,
21912 pop-up-window-min-width, and another reuse-window specifier
21913 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21914 (display-buffer-normalize-specifiers-2):
21915 Handle split-height-threshold and split-width-threshold also when
21916 pop-up-windows is unset. Add a reuse-window specifier for the
21917 case popping up a new window fails.
21918 (special-display-popup-frame): Remove double quoting.
21919 (display-buffer-normalize-specifiers-1): Fix thinko.
21920
21921 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21922
21923 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21924 according to comint-completion-addsuffix.
21925
21926 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21927 (pcomplete-suffix-list): Mark as obsolete.
21928 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21929 pcomplete-seen in the closure.
21930 (pcomplete-comint-setup): Setup completion-at-point as well.
21931 (pcomplete--entries): New function.
21932 (pcomplete--env-regexp): New var.
21933 (pcomplete-entries): Rewrite to work with partial-completion and
21934 without relying on pcomplete-suffix-list.
21935 (pcomplete-pare-list): Remove, unused.
21936
21937 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21938
21939 * window.el (display-buffer-alist): Set pop-up-window-min-height
21940 and pop-up-window-min-width in default value. Reported by
21941 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21942 other-window-means-other-frame.
21943 (display-buffer-macro-specifiers): Comment out entry for
21944 other-window specifier.
21945 (display-buffer-other-window-means-other-frame): New function.
21946 (display-buffer-normalize-specifiers-1): New arguments
21947 buffer-name and label. Treat other-window case specially.
21948 (display-buffer-normalize-specifiers-2): Treat other-window case
21949 specially.
21950 (display-buffer-normalize-specifiers-3): New function.
21951 (display-buffer-normalize-specifiers):
21952 Call display-buffer-normalize-specifiers-3.
21953
21954 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21955
21956 * window.el (same-window-p): Fix two typos introduced when
21957 adding with-no-warnings.
21958 (display-buffer-normalize-specifiers-1): Don't check
21959 pop-up-frames for 'unset initialization.
21960 (display-buffer-normalize-specifiers-2): Major rewrite using
21961 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21962 (pop-up-frames, display-buffer-reuse-frames)
21963 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21964 Suggested by David Engster <deng@randomsample.de>.
21965 (even-window-heights): Initialize to 'unset.
21966 (display-buffer-alist-set): Handle new 'unset initializations.
21967 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21968 other window case.
21969
21970 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21971
21972 * window.el (display-buffer-normalize-specifiers-1):
21973 Respect current value of pop-up-frames for most reasonable values of
21974 second argument of display-buffer (Bug#8865).
21975 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21976 (switch-to-buffer-other-window-same-frame)
21977 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21978 Adams (Bug#8875).
21979 (display-buffer): Don't check noninteractive when calling
21980 display-buffer-pop-up-frame.
21981 (display-buffer-pop-up-frame): Never pop up a frame in
21982 noninteractive mode (Bug#8857).
21983 (enlarge-window, shrink-window): Don't report an error when the
21984 window can't be resized as requested (Bug#8862).
21985
21986 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21987
21988 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21989
21990 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21991
21992 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21993
21994 2011-06-15 Alan Mackenzie <acm@muc.de>
21995
21996 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21997 for declarators, disable knr checking to speed up for normal files.
21998 2: Refactor, replacing a sequence of nested if forms by a cond form.
21999
22000 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22001
22002 * net/network-stream.el (open-network-stream): Add the keyword
22003 :always-query-capabilities for the case where you want to force a
22004 `plain' network connection, but the protocol still requires the
22005 capabilitiy command (i.e., SMTP and EHLO).
22006
22007 * subr.el (process-live-p): Rename from `process-alive-p' for
22008 consistency with other `-live-p' functions.
22009
22010 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22011
22012 * window.el (same-window-buffer-names, same-window-regexps)
22013 (special-display-frame-alist, special-display-popup-frame)
22014 (special-display-function, special-display-buffer-names)
22015 (special-display-regexps, pop-up-frame-alist)
22016 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22017 (pop-up-windows, split-window-preferred-function)
22018 (split-height-threshold, split-width-threshold, even-window-heights)
22019 (display-buffer-mark-dedicated): Don't encourage the use of
22020 display-buffer-alist from Elisp code.
22021
22022 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22023
22024 * progmodes/python.el (python-mode): Derive from prog-mode.
22025 * progmodes/ps-mode.el (ps-mode):
22026 * progmodes/mixal-mode.el (mixal-mode):
22027 * progmodes/cfengine.el (cfengine-mode):
22028 * progmodes/ld-script.el (ld-script-mode): Likewise.
22029
22030 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22031
22032 * window.el (display-buffer-alist): Trim default value to avoid
22033 popping up a new frame (Bug#8857) or reusing an arbitrary window
22034 on another frame.
22035 (display-buffer): Do not fall back on popping up a new frame in
22036 batch mode (Bug#8857).
22037
22038 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22039
22040 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22041 (custom-theme-summary): New function.
22042 (customize-themes): Use it.
22043
22044 2011-06-13 Glenn Morris <rgm@gnu.org>
22045
22046 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22047
22048 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22049
22050 * help.el (help-window): Remove variable.
22051 (help-window-point-marker, temp-buffer-max-height)
22052 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22053 (help-print-return-message): Don't set help-window.
22054 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22055 (help-window-setup-finish): Remove.
22056 (help-window-display-message, help-window-setup)
22057 (with-help-window): Major rewrite based on new
22058 display-buffer-window variable.
22059
22060 * help-mode.el (help-mode-finish): Remove help-window related
22061 code.
22062
22063 * view.el (view-exits-all-viewing-windows): Remove reference to
22064 view-return-to-alist in doc-string.
22065 (view-return-to-alist): Make obsolete.
22066 (view-buffer): Call pop-to-buffer-same-window and remove
22067 undo-window code.
22068 (view-buffer-other-window): Call pop-to-buffer-other-window and
22069 simplify code. Ignore second argument.
22070 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22071 simplify code. Ignore second argument.
22072 (view-return-to-alist-update): Make obsolete.
22073 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22074 Rewrite using quit-restore window parameters.
22075 (view-mode-exit): Rename second argument to EXIT-ONLY.
22076 Rewrite using quit-restore-window.
22077 (View-exit, View-exit-and-edit, View-leave, View-quit)
22078 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22079 appropriate arguments.
22080 (view-end-message): Use quit-restore window parameter.
22081
22082 * window.el (display-buffer-function): Rewrite doc-string.
22083 (display-buffer-window, display-buffer-alist): New variables.
22084 (display-buffer-split-specifiers)
22085 (display-buffer-side-specifiers)
22086 (display-buffer-macro-specifiers): New constants.
22087 (display-buffer-even-window-sizes, display-buffer-set-height)
22088 (display-buffer-set-width, display-buffer-select-window)
22089 (display-buffer-in-window, display-buffer-reuse-window)
22090 (display-buffer-split-window-1, display-buffer-split-window)
22091 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22092 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22093 (display-buffer-in-side-window, normalize-buffer-to-display)
22094 (display-buffer-normalize-specifiers-1)
22095 (display-buffer-normalize-specifiers-2)
22096 (display-buffer-normalize-specifiers, display-buffer-frame):
22097 New functions.
22098 (display-buffer): Major rewrite.
22099 (display-buffer-other-window, display-buffer-other-frame)
22100 (pop-to-buffer, switch-to-buffer-other-window)
22101 (switch-to-buffer-other-frame): Rewrite.
22102 (display-buffer-same-window, display-buffer-same-frame)
22103 (display-buffer-same-frame-other-window)
22104 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22105 (pop-to-buffer-other-window)
22106 (pop-to-buffer-same-frame-other-window)
22107 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22108 (switch-to-buffer-other-window-same-frame): New functions.
22109 (same-window-p, special-display-p): Rewrite disabling warnings.
22110 Make obsolete.
22111 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22112 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22113 Make obsolete
22114 (same-window-buffer-names, same-window-regexps)
22115 (special-display-frame-alist, special-display-popup-frame)
22116 (special-display-function, special-display-buffer-names)
22117 (special-display-regexps, pop-up-frame-alist)
22118 (pop-up-frame-function, split-window-preferred-function)
22119 (split-height-threshold, split-width-threshold)
22120 (even-window-heights): Make obsolete.
22121
22122 2011-06-12 Glenn Morris <rgm@gnu.org>
22123
22124 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22125 Misc simplifications.
22126
22127 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22128
22129 * window.el (window-safely-shrinkable-p): Restore function which
22130 was inadvertently removed in change from 2011-06-11. Declare as
22131 obsolete.
22132
22133 * calendar/calendar.el (calendar-generate-window):
22134 Use window-iso-combined-p instead of combination of one-window-p and
22135 window-safely-shrinkable-p.
22136
22137 2011-06-12 Glenn Morris <rgm@gnu.org>
22138
22139 * progmodes/fortran.el (fortran-mode-syntax-table):
22140 * progmodes/f90.el (f90-mode-syntax-table):
22141 Set % to punctuation. (Bug#8820)
22142 (f90-find-tag-default): Remove, no longer needed.
22143
22144 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22145
22146 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22147
22148 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22149
22150 * image.el (image-animated-p): Return animation delay in seconds.
22151 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22152 (image-animate-timeout): Remove DELAY argument. Don't assume
22153 every subimage has the same delay; get it from image-animated-p.
22154 (image-animate): Caller changed.
22155
22156 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22157
22158 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22159 to ignored backtrace functions.
22160
22161 2011-06-11 Glenn Morris <rgm@gnu.org>
22162
22163 * calendar/appt.el (appt-disp-window-function): Doc fix.
22164 (appt-check): Handle overlapping appointments. (Bug#8337)
22165
22166 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22167
22168 * window.el (window-tree-1, window-tree): New functions, moving
22169 the latter to window.el.
22170 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22171 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22172 (bw-refresh-edges): Remove.
22173 (balance-windows-1, balance-windows-2): New functions.
22174 (balance-windows): Rewrite in terms of window tree functions,
22175 balance-windows-1 and balance-windows-2.
22176 (bw-adjust-window): Remove.
22177 (balance-windows-area-adjust): New function with functionality of
22178 bw-adjust-window but using resize-window.
22179 (set-window-text-height): Rewrite doc-string.
22180 Use normalize-live-window and resize-window.
22181 (enlarge-window-horizontally, shrink-window-horizontally):
22182 Rename argument to DELTA.
22183 (window-buffer-height): New function.
22184 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22185 Rewrite using new window resize routines.
22186 (kill-buffer-and-window, mouse-autoselect-window-select):
22187 Use ignore-errors instead of condition-case.
22188 (quit-window): Call delete-frame instead of delete-windows-on
22189 for the only buffer on frame.
22190
22191 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22192
22193 * loadup.el (top-level): Load window before files for the sake
22194 of replace-buffer-in-windows.
22195
22196 * files.el (read-buffer-to-switch)
22197 (switch-to-buffer-other-window)
22198 (switch-to-buffer-other-frame, display-buffer-other-frame):
22199 Move to window.el.
22200
22201 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22202 (previous-buffer): Move to window.el.
22203
22204 * bindings.el (unbury-buffer): Move to window.el.
22205
22206 * window.el (delete-other-windows-vertically): Move after
22207 definition of delete-other-windows.
22208 (other-window, delete-windows-on, replace-buffer-in-windows):
22209 Move here from window.c.
22210 (record-window-buffer, unrecord-window-buffer)
22211 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22212 (switch-to-next-buffer): New functions.
22213 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22214 from simple.el. Call switch-to-next-buffer.
22215 (previous-buffer): Move here from simple.el.
22216 Call switch-to-prev-buffer.
22217 (bury-buffer): Move here from buffer.c. Switch to previous
22218 buffer when window cannot be deleted.
22219 (unbury-buffer): Move here from bindings.el.
22220 (ctl-x-map): Move binding for other-window from window.c to
22221 here.
22222 (read-buffer-to-switch, switch-to-buffer-other-window)
22223 (switch-to-buffer-other-frame): Move here from files.el.
22224 (normalize-buffer-to-switch-to): New functions.
22225 (switch-to-buffer): Move here from buffer.c.
22226 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22227
22228 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22229
22230 * window.el (window-min-height, window-min-width): Move here
22231 from window.c. Add defcustoms and rewrite doc-strings.
22232 (resize-mini-window, resize-window): New functions.
22233 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22234 Move here from window.c.
22235 (maximize-window, minimize-window): New functions.
22236 (delete-window, delete-other-windows, split-window): Move here
22237 from window.c.
22238 (window-split-min-size): New function.
22239 (split-window-keep-point): Mention split-window-above-each-other
22240 instead of split-window-vertically.
22241 (split-window-above-each-other, split-window-vertically):
22242 Rename split-window-vertically to split-window-above-each-other
22243 and provide defalias for old definition.
22244 (split-window-side-by-side, split-window-horizontally):
22245 Rename split-window-horizontally to split-window-side-by-side
22246 and provide defalias for the old definition.
22247 (ctl-x-map): Move bindings for delete-window,
22248 delete-other-windows and enlarge-window here from window.c.
22249 Replace bindings for split-window-vertically and
22250 split-window-horizontally by bindings for
22251 split-window-above-each-other and split-window-side-by-side.
22252
22253 * cus-start.el (all): Remove entries for window-min-height and
22254 window-min-width. Add entries for window-splits and
22255 window-nest.
22256
22257 2011-06-09 Glenn Morris <rgm@gnu.org>
22258
22259 * calendar/appt.el (appt-mode-line): New function.
22260 (appt-check, appt-disp-window): Use it.
22261
22262 * files.el (hack-one-local-variable-eval-safep):
22263 Allow minor-modes with explicit +/-1 arguments.
22264
22265 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22266
22267 * term/xterm.el (xterm): Add defgroup.
22268 (xterm-extra-capabilities): Add defcustom to supply known xterm
22269 capabilities, skip querying them, or query them (default).
22270 (terminal-init-xterm): Use it.
22271 (terminal-init-xterm-modify-other-keys): New function to set up
22272 modifyOtherKeys support to simplify `terminal-init-xterm'.
22273
22274 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22275
22276 * window.el (resize-window-reset, resize-window-reset-1)
22277 (resize-subwindows-skip-p, resize-subwindows-normal)
22278 (resize-subwindows, resize-other-windows, resize-this-window)
22279 (resize-root-window, resize-root-window-vertically)
22280 (window-deletable-p, window-or-subwindow-p)
22281 (frame-root-window-p): New functions.
22282
22283 2011-06-09 Glenn Morris <rgm@gnu.org>
22284
22285 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22286 (ange-ftp-get-files): Use it.
22287
22288 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22289
22290 * mail/sendmail.el (mail-recover-1, mail-recover):
22291 * files.el (recover-file, recover-session):
22292 Handle dired-listing-switches not being just a single short option.
22293
22294 2011-06-09 Glenn Morris <rgm@gnu.org>
22295
22296 * calendar/appt.el (appt-display-message, appt-disp-window):
22297 Handle lists of appointments.
22298
22299 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22300
22301 * window.el (one-window-p): Move down in code.
22302 Rewrite doc-string.
22303 (window-current-scroll-bars): Rewrite doc-string.
22304 Normalize live window argument.
22305 (walk-windows, get-window-with-predicate, count-windows):
22306 Rewrite doc-string. Use window-list-1.
22307 (window-in-direction-2, window-in-direction, get-mru-window):
22308 New functions.
22309
22310 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22311
22312 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22313 Doc fix (Bug#8713).
22314
22315 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22316
22317 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22318
22319 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22320
22321 * loadhist.el (unload-feature-special-hooks):
22322 Add `comint-output-filter-functions'.
22323
22324 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22325
22326 * calendar/appt.el (appt-check): Move some initializations into the let.
22327
22328 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22329
22330 * window.el (window-height): Defalias to window-total-height.
22331 (window-width): Defalias to window-body-width.
22332
22333 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22334
22335 * image-mode.el (image-toggle-animation): New command.
22336 (image-mode-map): Bind it to RET.
22337 (image-mode): Update message.
22338 (image-toggle-display-image): Avoid a spurious cache flush.
22339 (image-transform-rotation): Doc fix.
22340 (image-transform-properties): Return quickly in the normal case.
22341 (image-animate-loop): Rename from image-animate-max-time.
22342
22343 * image.el (image-animate-max-time): Move to image-mode.el.
22344 (create-animated-image): Remove unnecessary function.
22345 (image-animate): Rename from image-animate-start. New arg.
22346 (image-animate-stop): Remove; just use image-animate-timer.
22347 (image-animate-timer): Use car-safe.
22348 (image-animate-timeout): Rename argument.
22349
22350 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22351
22352 * window.el (get-lru-window, get-largest-window): Move here from
22353 window.c. Rename first argument to ALL-FRAMES.
22354 Rephrase doc-strings.
22355 (get-buffer-window-list): Rewrite using window-list-1.
22356 Rephrase doc-string.
22357 (window-safe-min-height, window-safe-min-width): New constants.
22358 (window-size-ignore, window-min-size, window-min-size-1)
22359 (window-sizable, window-sizable-p, window-size-fixed-1)
22360 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22361 (window-max-delta-1, window-max-delta, window-resizable)
22362 (window-resizable-p, window-total-height, window-total-width)
22363 (window-body-width): New functions.
22364 (window-full-height-p, window-full-width-p): Rewrite using
22365 window-total-size.
22366 (window-body-height): Rewrite using window-body-size.
22367
22368 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22369
22370 * window.el (window-right, window-left, window-child)
22371 (window-child-count, window-last-child, window-any-p)
22372 (normalize-live-buffer, normalize-live-frame)
22373 (normalize-any-window, normalize-live-window)
22374 (window-iso-combination-p, window-iso-combined-p)
22375 (window-iso-combinations)
22376 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22377 (windows-with-parameter, window-with-parameter)
22378 (window-atom-root, make-window-atom, window-atom-check-1)
22379 (window-atom-check, window-side-check, window-check):
22380 New functions.
22381 (ignore-window-parameters, window-sides, window-sides-vertical)
22382 (window-sides-slots): New variables.
22383 (window-size-fixed): Move down in code. Minor doc-string fix.
22384
22385 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22386
22387 * comint.el (comint-dynamic-complete-as-filename)
22388 (comint-dynamic-complete-filename): Correctly call
22389 completion-in-region.
22390
22391 2011-06-05 Deniz Dogan <deniz@dogan.se>
22392
22393 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22394 in last change.
22395
22396 2011-06-05 Deniz Dogan <deniz@dogan.se>
22397
22398 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22399 (rcirc): Use it to prompt for encryption.
22400
22401 2011-06-05 Roland Winkler <winkler@gnu.org>
22402
22403 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22404 (bibtex-search-entries): New command bound to C-c C-a.
22405 (bibtex-display-entries): New function.
22406
22407 2011-06-05 Roland Winkler <winkler@gnu.org>
22408
22409 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22410 (bibtex-insert-kill): After yanking insert newline if necessary.
22411 (bibtex-initialize): Call bibtex-string-files-init only once.
22412 (bibtex-mode): Do not call easy-menu-add.
22413 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22414 (bibtex-yank): Set arg properly if nil.
22415
22416 2011-06-05 Roland Winkler <winkler@gnu.org>
22417
22418 * textmodes/bibtex.el (bibtex-search-entry-globally):
22419 New variable.
22420 (bibtex-search-entry): Use it.
22421
22422 2011-06-05 Roland Winkler <winkler@gnu.org>
22423
22424 * textmodes/bibtex.el (bibtex-entry-format): New option
22425 sort-fields.
22426 (bibtex-format-entry, bibtex-reformat): Honor this option.
22427 (bibtex-parse-entry): Return fields in proper order.
22428
22429 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22430
22431 * doc-view.el (doc-view-remove-if): Move computation of result out
22432 of `dolist' to silence misleading lexical-binding warning.
22433
22434 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22435
22436 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22437 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22438
22439 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22440
22441 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22442 "SunOS 5.10".
22443
22444 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22445
22446 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22447 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22448 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22449 (tramp-parse-putty):
22450 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22451 (tramp-completion-function-alist-ssh)
22452 (tramp-completion-function-alist-telnet)
22453 (tramp-completion-function-alist-su)
22454 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22455 cookie.
22456
22457 * net/tramp-ftp.el:
22458 * net/tramp-sh.el:
22459 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22460 load "tramp.el" `tramp-set-completion-function'.
22461
22462 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22463
22464 * shell.el: Require and use pcomplete.
22465 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22466 (shell-completion-vars): Set pcomplete-default-completion-function.
22467
22468 2011-06-04 Deniz Dogan <deniz@dogan.se>
22469
22470 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22471 `memq' (Bug#8799).
22472
22473 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22474
22475 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22476
22477 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22478
22479 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22480 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22481 * vc/log-view.el (log-view-beginning-of-defun):
22482 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22483 (smerge-refine-forward, smerge-refine-chopup-region):
22484 Silence warning for unused `dotimes' counter variables.
22485
22486 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22487
22488 * net/tramp.el (tramp-with-progress-reporter): Rename from
22489 with-progress-reporter. Use `declare'.
22490 * net/tramp-smb.el:
22491 * net/tramp-sh.el:
22492 * net/tramp-gvfs.el: Update all uses.
22493
22494 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22495
22496 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22497 buffer isn't killed before making it current.
22498
22499 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22500
22501 Silence various byte-compiler warnings.
22502 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22503 `access-type' and new obsolescence format.
22504 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22505 new format.
22506 (byte-compile-check-variable): New `access-type' argument.
22507 Only warn if the access-type is obsolete.
22508 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22509 (byte-compile-variable-set): Adjust callers.
22510 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22511 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22512 setting it as obsolete.
22513 * simple.el (minibuffer-completing-symbol):
22514 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22515 access as obsolete.
22516 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22517 obsolete yet.
22518 * international/quail.el (quail-mouse-choose-completion): Remove unused
22519 code referring to obsolete var.
22520 (quail-choose-completion-string): Remove.
22521 * server.el (server-clients-with, server-kill-buffer-query-function)
22522 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22523 * proced.el (proced-send-signal):
22524 * emacs-lisp/lisp.el (lisp-complete-symbol):
22525 Replace completion-annotate-function with completion-extra-properties.
22526
22527 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22528
22529 * simple.el (goto-line): Use read-number.
22530 (overriding-map-is-bound): Remove.
22531 (saved-overriding-map): Change default.
22532 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22533 Take the map as argument.
22534 (universal-argument, negative-argument, digit-argument): Use it.
22535 (restore-overriding-map): Adjust.
22536 (do-auto-fill): Use fill-forward-paragraph.
22537 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22538
22539 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22540 (minibuffer-inactive-mode): New major mode.
22541 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22542 the *Messages* buffer" hack.
22543 (mouse-popup-menubar): Don't burp if the event is a normal key.
22544
22545 Miscellaneous tweaks.
22546 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22547 lexical scoping as in subr.el's dolist and dotimes.
22548 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22549 Silence compiler warning.
22550 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22551 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22552 * international/ccl.el (ccl-compile): Trivial simplification.
22553 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22554 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22555 `printflag' argument.
22556 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22557 Purecopy the whole obsolescence data.
22558
22559 2011-06-01 Leo Liu <sdl.web@gmail.com>
22560
22561 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22562 improve doc-string as suggested by Marco Pessotto
22563 <melmothx@gmail.com>.
22564 (rcirc-print): Fix last change.
22565
22566 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22567
22568 * minibuffer.el (complete-with-action): Return nil for the metadata and
22569 boundaries of non-functional tables.
22570 (completion-table-dynamic): Return nil for the metadata.
22571 (completion-table-with-terminator): Add default case, using
22572 complete-with-action.
22573 (completion--metadata): New function.
22574 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22575 to try and avoid pathological performance problems.
22576 (completion--embedded-envvar-table): Return `category' metadata.
22577
22578 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22579
22580 * subr.el (process-alive-p): New tiny convenience function.
22581
22582 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22583
22584 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22585 content but also its previous major mode.
22586
22587 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22588
22589 * emacs-lisp/debug.el (debug): Restore the previous content of the
22590 *Backtrace* buffer when we exit with C-M-c.
22591
22592 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22593
22594 * minibuffer.el: Add metadata method to completion tables.
22595 (completion-category-overrides): New defcustom.
22596 (completion-metadata, completion--field-metadata)
22597 (completion-metadata-get, completion--styles)
22598 (completion--cycle-threshold): New functions.
22599 (completion-try-completion, completion-all-completions):
22600 Add `metadata' argument to choose completion-styles.
22601 (completion--do-completion): Use metadata to choose cycling.
22602 (completion-all-sorted-completions): Use metadata for sorting.
22603 Remove :completion-cycle-penalty which is not needed any more.
22604 (completion--try-word-completion): Add `metadata' argument.
22605 (minibuffer-completion-help): Check metadata for annotation function
22606 and sorting.
22607 (completion-file-name-table): Return `category' metadata.
22608 (minibuffer-completing-file-name): Make obsolete.
22609 * simple.el (minibuffer-completing-symbol): Make obsolete.
22610 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22611 completion-try-completion.
22612
22613 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22614
22615 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22616
22617 2011-05-30 Leo Liu <sdl.web@gmail.com>
22618
22619 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22620 (rcirc-print): Decode all incoming messages (bug#8744).
22621 (rcirc-decode-coding-system): Allow value nil for automatic coding
22622 system detection.
22623
22624 2011-06-01 Glenn Morris <rgm@gnu.org>
22625
22626 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22627
22628 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22629
22630 * image.el (image-animate-max-time): Allow nil and t values.
22631 Default to nil.
22632 (create-animated-image): Doc fix.
22633 (image-animate-start): Remove second arg; just use
22634 image-animate-max-time.
22635 (image-animate-timeout): Doc fix. Args changed.
22636
22637 * image-mode.el (image-toggle-display-image): Ensure that the
22638 image spec passed to the animate timer is the same object as in
22639 the buffer's display property (Bug#6981).
22640 (image-transform-properties): Doc fix.
22641
22642 * image.el (image-animate-max-time): Default to nil.
22643
22644 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22645
22646 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22647 entire buffer list (Bug#8184).
22648
22649 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22650
22651 * image.el (imagemagick-types-inhibit)
22652 (imagemagick-register-types): Doc fix.
22653
22654 2011-05-29 Deniz Dogan <deniz@dogan.se>
22655
22656 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22657 default.
22658
22659 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22660
22661 * select.el: Don't perform clipboard-manager saving in hooks;
22662 leave the hooks empty.
22663
22664 2011-05-28 Leo Liu <sdl.web@gmail.com>
22665
22666 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22667 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22668 (occur-edit-mode): New major mode (Bug#8463).
22669 (occur-after-change-function): New function.
22670 (occur-engine): Give Occur tags a read-only property.
22671
22672 2011-05-28 Kevin Ryde <user42@zip.com.au>
22673
22674 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22675
22676 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22677
22678 * bindings.el (help-echo): Make the initial non-indicator dash
22679 empty on graphical terminals (Bug#7295).
22680
22681 * files.el (auto-mode-alist): Move config rule after the
22682 in-stripping one (Bug#8547).
22683
22684 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22685
22686 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22687 setting (Bug#8740).
22688
22689 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22690
22691 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22692 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22693 (Bug#8539).
22694
22695 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22696
22697 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22698
22699 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22700
22701 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22702 (hs-hide-block-at-point, hs-find-block-beginning)
22703 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22704 (Bug#8279).
22705
22706 2011-05-28 Glenn Morris <rgm@gnu.org>
22707
22708 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22709
22710 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22711
22712 * help-fns.el (describe-function-1): If the function is a derived
22713 major mode, print the parent mode.
22714
22715 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22716 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22717
22718 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22719
22720 * minibuffer.el (completion--capf-wrapper): Check applicability before
22721 returning non-nil for non-exclusive completion data.
22722 * progmodes/etags.el (tags-completion-at-point-function):
22723 * info-look.el (info-lookup-completions-at-point): Mark as
22724 non-exclusive.
22725 (info-complete): Adjust accordingly.
22726
22727 * info-look.el: Convert to lexical-binding and completion-at-point.
22728 (info-lookup-completions-at-point): New function.
22729 (info-complete): Use it and completion-in-region.
22730
22731 2011-05-28 Drew Adams <drew.adams@oracle.com>
22732
22733 * isearch.el: Let M-e start with point at the first mismatched char.
22734 (isearch-fail-pos): New function.
22735 (isearch-edit-string): Use it.
22736
22737 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22738
22739 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22740
22741 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22742
22743 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22744 traversal functions for avl-trees.
22745 (avl-tree--stack): New struct.
22746 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22747 (avl-tree-enter): Add optional `updatefun' arg.
22748 (avl-tree--do-enter): Add optional `updatefun' arg.
22749 Change return value.
22750 (avl-tree-delete): Add optional `test' and `nilflag' args.
22751 (avl-tree--do-delete): Add `test' and `nilflag' args.
22752 Change return value.
22753 (avl-tree-member): Add optional `nilflag'
22754 (avl-tree-member-p): New function.
22755 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22756 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22757 (avl-tree-stack-empty-p): New functions.
22758
22759 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22760 avl-tree--del-balance1 and make it work both ways.
22761 (avl-tree--del-balance2): Remove.
22762 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22763 make it work both ways.
22764 (avl-tree--enter-balance2): Remove.
22765 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22766 New macros.
22767 (avl-tree--mapc, avl-tree-map): Add direction argument.
22768
22769 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22770
22771 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22772
22773 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22774
22775 * select.el: Support clipboard managers with built-in function
22776 x-clipboard-manager-save, via delete-frame-functions and
22777 kill-emacs-hook.
22778 (xselect-convert-to-targets): Add MULTIPLE target to list.
22779 (xselect-convert-to-save-targets): New function.
22780
22781 2011-05-27 Kenichi Handa <handa@m17n.org>
22782
22783 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22784 let-binding rfc2047-encode-encoded-words to nil.
22785
22786 2011-05-27 Glenn Morris <rgm@gnu.org>
22787
22788 * mail/emacsbug.el: Don't require url-util.
22789
22790 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22791
22792 * files.el (set-auto-mode):
22793 Also respect mode: entries at the end of the file. (Bug#8586)
22794
22795 2011-05-26 Glenn Morris <rgm@gnu.org>
22796
22797 * files.el (hack-local-variables-prop-line, hack-local-variables):
22798 Downcase mode names, as seems to be traditional.
22799 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22800
22801 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22802 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22803
22804 2011-05-25 Julien Danjou <julien@danjou.info>
22805
22806 * textmodes/rst.el (rst-define-level-faces): Do not define face
22807 symbol if it is already defined.
22808
22809 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22810
22811 * play/5x5.el (5x5-new-game, 5x5-randomize):
22812 Reset 5x5-solver-output to nil when a new grid is cast.
22813 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22814 these debugging traces, as defmacro breaks the compiled code.
22815
22816 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22817
22818 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22819
22820 2011-05-24 Leo Liu <sdl.web@gmail.com>
22821
22822 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22823 (vc-bzr-sha1): Adapt.
22824
22825 * sha1.el: Remove. Function `sha1' is now builtin.
22826
22827 * bindings.el: Provide sha1 feature.
22828
22829 2011-05-24 Kenichi Handa <handa@m17n.org>
22830
22831 * mail/sendmail.el: Require `rfc2047'.
22832 (mail-insert-from-field): Do not perform RFC2047 encoding.
22833 (mail-encode-header): New function.
22834 (sendmail-send-it): Set buffer-file-coding-system of the work
22835 buffer to the return value of select-message-coding-system.
22836 Call mail-encode-header.
22837
22838 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22839
22840 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22841
22842 * mail/supercite.el (sc-default-cite-frame):
22843 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22844
22845 2011-05-24 Glenn Morris <rgm@gnu.org>
22846
22847 * progmodes/python.el (brm-menu): Declare.
22848
22849 * emulation/viper.el (viper-set-hooks): Declare.
22850
22851 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22852 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22853 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22854 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22855 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22856 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22857
22858 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22859
22860 Add an :exit-function for completion-at-point.
22861
22862 * minibuffer.el (completion--done): New fun.
22863 (completion--do-completion): Use it. New arg `expect-exact'.
22864 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22865 since completion--do-completion does it for us now.
22866 (minibuffer-force-complete): Use completion--done and
22867 completion--replace. Handle sole-completion case with more care.
22868 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22869 (completion-extra-properties): New var.
22870 (completion-annotate-function): Make obsolete.
22871 (minibuffer-completion-help): Adjust accordingly.
22872 Use completion-list-insert-choice-function.
22873 (completion-at-point, completion-help-at-point):
22874 Bind completion-extra-properties.
22875 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22876 * simple.el (completion-list-insert-choice-function): New var.
22877 (completion-setup-function): Preserve it.
22878 (choose-completion): Pay attention to it, shuffle the code a bit.
22879 (choose-completion-string): New arg `insert-function'.
22880
22881 * textmodes/bibtex.el: Convert to lexical binding.
22882 (bibtex-mode-map): Use completion-at-point.
22883 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22884 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22885 (bibtex-complete): Define as obsolete alias.
22886 (bibtex-complete-internal): Remove.
22887 (bibtex-format-entry): Remove unused sub-group in regexp.
22888 * shell.el (shell--command-completion-data)
22889 (shell-environment-variable-completion):
22890 * pcomplete.el (pcomplete-completions-at-point):
22891 * comint.el (comint--complete-file-name-data): Use :exit-function
22892 instead of completion-table-with-terminator so it also works for
22893 choose-completion.
22894
22895 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22896
22897 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22898
22899 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22900 (bug#8710).
22901
22902 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22903
22904 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22905
22906 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22907 customization variable and implement: If non-nil, auto-fill will
22908 be inhibited while on topic's header line.
22909
22910 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22911
22912 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22913 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22914 always have a solution in grid size = 5 cases.
22915 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22916 (5x5-solver-output, 5x5-log-buffer): New vars.
22917 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22918 Make these variables buffer local to achieve 5x5 multi-session-ness.
22919 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22920 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22921 (5x5-solve-suggest): New funs.
22922 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22923 randomize a grid so that we ensure that there is always a solution.
22924 (5x5-make-random-grid): Allow other movement than flipping.
22925
22926 2011-05-23 Kevin Ryde <user42@zip.com.au>
22927
22928 * emacs-lisp/advice.el (ad-read-advised-function):
22929 Use `function-called-at-point' as the default, if it has
22930 advice and passes PREDICATE.
22931
22932 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22933
22934 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22935 byte-compile-lambda if it's actually a lambda.
22936
22937 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22938 Fix function quoting. Use backquote better.
22939
22940 2011-05-22 Yuanle Song <sylecn@gmail.com>
22941
22942 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22943 matching (Bug#8516).
22944
22945 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22946
22947 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22948 different face (Bug#8178).
22949
22950 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22951
22952 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22953 defface (Bug#8144).
22954
22955 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22956
22957 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22958 funcall as well (bug#8712). Warn when performing those conversions.
22959 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22960
22961 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22962
22963 2011-05-22 Glenn Morris <rgm@gnu.org>
22964
22965 * files.el (hack-local-variables-prop-line): Small simplifications.
22966 (hack-local-variables, hack-local-variables-prop-line):
22967 If MODE-ONLY, return the mode, rather than just `t'.
22968
22969 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22970
22971 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22972
22973 2011-05-21 Glenn Morris <rgm@gnu.org>
22974
22975 * files.el (hack-local-variables-prop-line, hack-local-variables):
22976 If only interested in the mode, don't bother doing the other stuff.
22977
22978 * image-mode.el (image-after-revert-hook):
22979 Redraw all frames on which the image is visible. (Bug#8567)
22980
22981 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22982
22983 * wid-edit.el (widget-checklist-match-inline):
22984 Fix 2011-04-19 change. (Bug#8649)
22985
22986 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22987
22988 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22989 Also allow singlespace after single-letter capitals followed by a dot.
22990
22991 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22992 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22993
22994 2011-05-20 Nix <nix@esperi.org.uk>
22995
22996 * files.el (basic-save-buffer-2):
22997 Fix handling of break-hardlink-on-save with non-existent files.
22998
22999 2011-05-19 Deniz Dogan <deniz@dogan.se>
23000
23001 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23002 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23003
23004 2011-05-19 Glenn Morris <rgm@gnu.org>
23005
23006 * progmodes/f90.el (f90-type-def-re):
23007 Handle "type, bind(c)". (Bug#8691)
23008
23009 * emacs-lisp/autoload.el (batch-update-autoloads):
23010 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23011
23012 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23013
23014 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23015 property for the correct connection in case of multihops.
23016
23017 2011-05-18 Glenn Morris <rgm@gnu.org>
23018
23019 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23020 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23021
23022 Rationalize calendar handling of day and month abbrev-arrays.
23023 * calendar/calendar.el (calendar-customized-p): New function.
23024 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23025 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23026 Add :set function.
23027 (calendar-abbrev-length, calendar-day-abbrev-array)
23028 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23029 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23030 Elements may no longer be nil.
23031 (calendar-day-name, calendar-month-name):
23032 Update for changed nature of abbrev arrays.
23033 * calendar/diary-lib.el (diary-name-pattern):
23034 Update for changed nature of abbrev arrays.
23035 (diary-mark-entries-1): Update calendar-make-alist calls.
23036 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23037 * calendar/cal-html.el (cal-html-day-abbrev-array):
23038 Simply inherit from calendar-day-abbrev-array.
23039
23040 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23041
23042 * progmodes/grep.el (grep-mode): Disable default
23043 compilation-directory-matcher setting (bug#8684).
23044
23045 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23046
23047 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23048 instead of "head" and "tail". There were problems with SunOS 5.9,
23049 and it performs better.
23050
23051 2011-05-17 Glenn Morris <rgm@gnu.org>
23052
23053 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23054
23055 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23056 Replace obsolete function.
23057
23058 * shell.el (pcomplete-parse-arguments-function): Declare.
23059
23060 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23061 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23062 (appt-check): Doc fixes.
23063 (appt-disp-window-function, appt-delete-window-function):
23064 Remove needless special case in custom :type.
23065 (appt-display-count): Default to 0, not nil.
23066 (appt-check): Reset appt-display-count to 0, not nil.
23067
23068 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23069
23070 * progmodes/python.el (python-font-lock-keywords):
23071 Add the Python 3.X keyword "nonlocal" (bug#8639).
23072
23073 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23074
23075 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23076
23077 2011-05-16 Kevin Ryde <user42@zip.com.au>
23078
23079 * info-look.el (makefile-automake-mode): New setups, looking in
23080 automake manual, then makefile-mode.
23081 (makefile-mode): Remove automake manual, have it just in
23082 makefile-automake-mode since there's various things different or
23083 not relevant to plain make.
23084 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23085 believe a hypothetical automake-mode would go to makefile-mode,
23086 not the other way around.
23087
23088 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23089
23090 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23091 hunk-end tags (Bug#8672).
23092
23093 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23094 vc-annotate-show-diff-revision-at-line (Bug#8671).
23095
23096 2011-05-14 Glenn Morris <rgm@gnu.org>
23097
23098 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23099 in the middle of an existing one with multiple authors. (Bug#8645)
23100 (change-log-font-lock-keywords): Also handle multiple author lines
23101 with leading tabs. (Bug#8644)
23102
23103 * calendar/appt.el (appt-check): Rename some local variables.
23104 Some simplification/reordering.
23105
23106 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23107 (feedmail-sendmail-f-doesnt-sell-me-out)
23108 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23109 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23110 (feedmail-queue-runner-message-sender): Set :version.
23111 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23112 (bbdb-dwim-net-address, vm-mail): Declare.
23113 (feedmail-binmail-gnulinuxish-template):
23114 Rename from feedmail-binmail-linuxish-template.
23115 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23116 Use insert-buffer-substring.
23117
23118 2011-05-14 Bill Carpenter <bill@carpenter.org>
23119
23120 * mail/feedmail.el (feedmail-patch-level): Increase.
23121 (feedmail-debug): New custom group.
23122 (feedmail-confirm-outgoing-timeout)
23123 (feedmail-sendmail-f-doesnt-sell-me-out)
23124 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23125 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23126 (feedmail-sender-line, feedmail-from-line)
23127 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23128 (feedmail-spray-this-address)
23129 (feedmail-spray-address-fiddle-plex-list)
23130 (feedmail-queue-use-send-time-for-date)
23131 (feedmail-queue-use-send-time-for-message-id)
23132 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23133 (feedmail-buffer-eating-function):
23134 Doc fixes.
23135 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23136 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23137 (feedmail-message-action-scroll-down): New functions.
23138 (feedmail-queue-directory, feedmail-queue-draft-directory):
23139 Use expand-file-name.
23140 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23141 Remove C-v help entry.
23142 (feedmail-queue-buffer-file-name): New variable.
23143 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23144 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23145 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23146 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23147 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23148 (feedmail-message-action-toggle-spray)
23149 (feedmail-run-the-queue-no-prompts)
23150 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23151 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23152 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23153 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23154 (feedmail-envelope-deducer, feedmail-fiddle-from)
23155 (feedmail-fiddle-sender, feedmail-default-date-generator)
23156 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23157 (feedmail-fiddle-spray-address)
23158 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23159 (feedmail-fiddle-list-of-fiddle-plexes)
23160 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23161 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23162 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23163 Change default. Doc fix.
23164 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23165 (feedmail-binmail-linuxish-template): New constant.
23166 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23167 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23168 (feedmail-send-it): Add debug call.
23169 Use feedmail-queue-buffer-file-name, and
23170 feedmail-send-it-immediately-wrapper.
23171 (feedmail-message-action-send): Add debug call.
23172 Use feedmail-send-it-immediately-wrapper.
23173 (feedmail-queue-express-to-queue): Add debug call.
23174 Run feedmail-queue-express-hook.
23175 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23176 (feedmail-message-action-help-blat):
23177 Rename from feedmail-queue-send-edit-prompt-help-first.
23178 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23179 Check line-endings. Handle errors better.
23180 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23181 Doc fix. Add debug call.
23182 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23183 Use feedmail-queue-send-edit-prompt-inner.
23184 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23185 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23186 from feedmail-queue-send-edit-prompt.
23187 (feedmail-queue-send-edit-prompt-help)
23188 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23189 (feedmail-tidy-up-slug): Add debug call.
23190 Respect feedmail-queue-slug-suspect-regexp.
23191 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23192 (feedmail-dump-message-to-queue): Add debug call.
23193 Expand queue-directory.
23194 (feedmail-dump-message-to-queue): Change message slightly.
23195 Use feedmail-say-chatter.
23196 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23197 (feedmail-send-it-immediately-wrapper): New function.
23198 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23199 Insert empty string rather than newline. Handle full-frame case.
23200 Use catch/throw. Use feedmail-say-chatter.
23201 (feedmail-fiddle-from): Try mail-host-address.
23202 (feedmail-default-message-id-generator): Doc fix.
23203 Bind system-time-locale. Handle missing end.
23204 (feedmail-fiddle-x-mailer): Add debug call.
23205 Handle feedmail-x-mailer-line being nil.
23206 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23207 Add debug call. Use buffer-substring-no-properties.
23208 (feedmail-say-debug, feedmail-say-chatter): New functions.
23209 (feedmail-find-eoh): Give an explicit error.
23210
23211 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23212
23213 * net/newst-treeview.el (newsticker-treeview-face): Change default
23214 family from helvetica to sans.
23215 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23216 etc/images/newsticker.
23217
23218 * net/newst-reader.el (newsticker-feed-face): Change default
23219 family from helvetica to sans.
23220
23221 * net/newst-plainview.el (newsticker-new-item-face)
23222 (newsticker-old-item-face, newsticker-immortal-item-face)
23223 (newsticker-obsolete-item-face, newsticker-date-face)
23224 (newsticker-statistics-face): Change default family from
23225 helvetica to sans.
23226 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23227 etc/images/newsticker.
23228
23229 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23230 (newsticker--process-auto-mark-filter-match): Tell user about
23231 auto-marking.
23232
23233 2011-05-13 Didier Verna <didier@xemacs.org>
23234
23235 Common Lisp indentation improvements on defmethod and lambda-lists.
23236 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23237 TODO entries.
23238 (lisp-lambda-list-keyword-parameter-indentation)
23239 (lisp-lambda-list-keyword-parameter-alignment)
23240 (lisp-lambda-list-keyword-alignment): New customizable user options.
23241 (lisp-indent-defun-method): Improve docstring.
23242 (extended-loop-p): Fix comment.
23243 (lisp-indent-lambda-list-keywords-regexp): New variable.
23244 (lisp-indent-lambda-list): New function.
23245 (lisp-indent-259): Use it.
23246 (lisp-indent-defmethod): Support for more than one
23247 method qualifier and properly indent methods lambda-lists.
23248 (defgeneric): Provide a missing common-lisp-indent-function property.
23249
23250 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23251
23252 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23253 bounds for the empty string (bug#8667).
23254
23255 2011-05-13 Glenn Morris <rgm@gnu.org>
23256
23257 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23258
23259 * mail/sendmail.el (sendmail-program): Try executable-find first.
23260 (sendmail-send-it): `sendmail-program' cannot be unbound.
23261
23262 * calendar/appt.el (appt-make-list): Simplify.
23263 (appt-time-msg-list): Doc fix.
23264 (appt-check): Change mode-line message at the time of the appointment.
23265
23266 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23267
23268 * progmodes/ld-script.el (ld-script-keywords)
23269 (ld-script-builtins): Update keywords list.
23270
23271 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23272
23273 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23274
23275 * shell.el (shell-completion-vars): New function.
23276 (shell-mode):
23277 * simple.el (read-shell-command): Use it.
23278 (blink-matching-open): No need for " [...]" in minibuffer-message.
23279
23280 2011-05-12 Glenn Morris <rgm@gnu.org>
23281
23282 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23283 (appt-check): Simplify.
23284
23285 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23286
23287 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23288 literal "/dev/null".
23289
23290 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23291
23292 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23293 Fix typo.
23294
23295 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23296
23297 * progmodes/which-func.el (which-function):
23298 Use add-log-current-defun instead of add-log-current-defun-function,
23299 which might not be defined (Bug#8260).
23300
23301 2011-05-12 Glenn Morris <rgm@gnu.org>
23302
23303 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23304 Let byte-compile-initial-macro-environment always take precedence.
23305
23306 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23307
23308 * net/rcirc.el: Add support for SSL/TLS connections.
23309 (rcirc-server-alist): New field `encryption'.
23310 (rcirc): Check `encryption' settings.
23311 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23312 Merge make-local-variable into `set'.
23313 (rcirc--connection-open-p): New function.
23314 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23315 the process is not a network process (e.g. running gnutls-cli).
23316 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23317 Make rcirc-(en|de)code-coding-system local here.
23318 (rcirc-mode): Merge make-local-variable into `set'.
23319 (rcirc-parent-buffer): Make permanent buffer-local.
23320 (rcirc-multiline-minor-mode): Don't do it here.
23321 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23322 there's no server buffer.
23323
23324 2011-05-11 Glenn Morris <rgm@gnu.org>
23325
23326 * newcomment.el (comment-kill): Prefix "unused" local.
23327
23328 * term/w32console.el (get-screen-color): Declare.
23329
23330 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23331 Handle symbol elements of byte-compile-initial-macro-environment.
23332
23333 2011-05-10 Leo Liu <sdl.web@gmail.com>
23334
23335 * bookmark.el (bookmark-bmenu-mode-map):
23336 Bind bookmark-bmenu-search to `/'.
23337
23338 * mail/footnote.el: Convert to utf-8 encoding.
23339 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23340 (Footnote-unicode): New function.
23341 (footnote-style-alist): Add unicode style to the list.
23342 (footnote-style): Doc fix.
23343
23344 2011-05-10 Jim Meyering <meyering@redhat.com>
23345
23346 Fix doubled-word typos.
23347 * international/quail.el (quail-insert-kbd-layout): and and -> and
23348 * kermit.el: and and -> and
23349 * net/ldap.el (ldap-search-internal): to to -> to
23350 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23351 * progmodes/js.el (js-mode): and and -> and
23352 * textmodes/artist.el (artist-move-to-xy): at at -> at
23353 (artist-draw-region-trim-line-endings): if if -> if
23354 And Safetyc -> Safety.
23355 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23356
23357 2011-05-10 Glenn Morris <rgm@gnu.org>
23358 Stefan Monnier <monnier@iro.umontreal.ca>
23359
23360 * files.el (hack-one-local-variable-eval-safep):
23361 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23362
23363 2011-05-10 Glenn Morris <rgm@gnu.org>
23364
23365 * calendar/diary-lib.el (diary-list-entries-hook)
23366 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23367 (diary-nongregorian-marking-hook, diary-list-entries)
23368 (diary-include-other-diary-files, diary-mark-entries)
23369 (diary-mark-included-diary-files): Doc fixes.
23370
23371 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23372
23373 * misc.el: Require tabulated-list.el during compilation.
23374
23375 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23376
23377 * progmodes/compile.el (compilation-start):
23378 Run compilation-filter-hook for the async case too.
23379 (compilation-filter-hook): Doc fix.
23380
23381 2011-05-09 Deniz Dogan <deniz@dogan.se>
23382
23383 * wdired.el: Remove outdated installation comment. Fix usage
23384 comment.
23385
23386 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23387
23388 * misc.el: Implement new command `list-dynamic-libraries'.
23389 (list-dynamic-libraries--loaded-only-p): New variable.
23390 (list-dynamic-libraries--refresh): New function.
23391 (list-dynamic-libraries): New command.
23392
23393 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23394
23395 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23396 Fix the ant regexp to handle end-line and end-column info from jikes.
23397 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23398 higher priority to avoid clobbering by gnu.
23399
23400 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23401
23402 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23403 if the face has existing theme settings (Bug#8454).
23404
23405 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23406
23407 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23408 Only match variables declared via `my' or `our' (Bug#8261).
23409
23410 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23411 special file names `.' and `..' (Bug#8259).
23412
23413 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23414
23415 * progmodes/grep.el (grep-mode-font-lock-keywords):
23416 Remove buffer-changing entries.
23417 (grep-filter): New function.
23418 (grep-mode): Add it to compilation-filter-hook.
23419
23420 * progmodes/compile.el (compilation-filter-hook)
23421 (compilation-filter-start): New defvars.
23422 (compilation-filter): Call compilation-filter-hook prior to
23423 updating the process mark.
23424
23425 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23426
23427 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23428
23429 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23430
23431 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23432 mailclient-send-it even if window-system is nil. (Bug#8595)
23433
23434 * term/w32console.el (terminal-init-w32console):
23435 Call get-screen-color and use its output to set the frame
23436 background-mode. (Bug#8597)
23437
23438 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23439
23440 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23441 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23442 New functions.
23443 (defgeneric, eieio--defmethod): Use them.
23444 (eieio-defgeneric): Remove.
23445 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23446
23447 2011-05-07 Glenn Morris <rgm@gnu.org>
23448
23449 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23450 Use let rather than let*.
23451 (timeclock-find-discrep): Remove unused local.
23452
23453 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23454
23455 * calendar/appt.el (appt-time-msg-list): Doc fix.
23456
23457 2011-05-06 Noah Friedman <friedman@splode.com>
23458
23459 * apropos.el (apropos-print-doc): Only use
23460 emacs-lisp-docstring-fill-column when it is bound to an integer,
23461 per that variable's documentation.
23462
23463 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23464
23465 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23466 and warnings are not silently discarded (e.g. use -d instead of -P).
23467
23468 2011-05-06 Glenn Morris <rgm@gnu.org>
23469
23470 * calendar/appt.el (appt-message-warning-time): Doc fix.
23471 (appt-warning-time-regexp): New option.
23472 (appt-make-list): Respect appt-message-warning-time.
23473
23474 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23475 New options.
23476 (diary-add-to-list): Strip comments from the displayed string.
23477 (diary-mode): Set comment-start and comment-end.
23478
23479 * vc/diff-mode.el (smerge-refine-subst): Declare.
23480 (diff-refine-hunk): Don't require smerge-mode when compiling.
23481
23482 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23483
23484 * simple.el (list-processes): Return nil as the docstring says.
23485
23486 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23487
23488 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23489 to "".
23490 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23491 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23492 determining of binary transfer. (Bug#7383)
23493
23494 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23495
23496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23497 Fix port computation bug. (Bug#8618)
23498
23499 2011-05-05 Glenn Morris <rgm@gnu.org>
23500
23501 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23502
23503 * simple.el (shell-dynamic-complete-functions)
23504 (comint-dynamic-complete-functions): Declare.
23505
23506 * net/network-stream.el (gnutls-negotiate):
23507 * simple.el (tabulated-list-print): Fix declarations.
23508
23509 * progmodes/gud.el (syntax-symbol, syntax-point):
23510 Remove unnecessary and incorrect declarations.
23511
23512 * emacs-lisp/check-declare.el (check-declare-scan):
23513 Handle byte-compile-initial-macro-environment in bytecomp.el.
23514
23515 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23516
23517 Fix earlier half-done eieio-defmethod change (bug#8338).
23518 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23519 Streamline and change calling convention.
23520 (defmethod): Adjust accordingly and simplify.
23521 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23522 new eieio--defmethod.
23523 (slot-boundp): Minor CSE simplification.
23524
23525 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23526
23527 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23528 (glasses-make-readable): Use glasses-separate-capital-groups.
23529
23530 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23531
23532 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23533 (warning-series): Doc fix.
23534 (display-warning): Don't try to create the buffer if we just found it.
23535
23536 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23537
23538 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23539 (autoload-find-generated-file): New function.
23540 (generate-file-autoloads): Bind generated-autoload-file to
23541 buffer-file-name.
23542 (update-file-autoloads, update-directory-autoloads):
23543 Use autoload-find-generated-file. If called interactively, prompt for
23544 output file (Bug#7989).
23545 (batch-update-autoloads): Doc fix.
23546
23547 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23548
23549 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23550
23551 2011-05-04 Glenn Morris <rgm@gnu.org>
23552
23553 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23554 function, so it follows changes in calendar-date-style.
23555 (diary-fancy-date-matcher): New function.
23556 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23557 (diary-fancy-font-lock-fontify-region-function):
23558 Use diary-fancy-date-pattern as a function.
23559
23560 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23561 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23562
23563 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23564
23565 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23566 instead of positional arguments. Allow :keylist and :crlfiles
23567 arguments.
23568 (open-gnutls-stream): Call it.
23569
23570 * net/network-stream.el (network-stream-open-starttls): Adjust to
23571 call `gnutls-negotiate' with :process and :hostname arguments.
23572
23573 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23574
23575 * minibuffer.el (completion--message): New function.
23576 (completion--do-completion, minibuffer-complete)
23577 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23578 (completion--do-completion): Don't ignore completion-auto-help when in
23579 icomplete-mode.
23580
23581 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23582 internal encoding (e.g. tibetan zero is not whitespace).
23583 (global-whitespace-mode): Prefer save-current-buffer.
23584 (whitespace-trailing-regexp): Remove useless save-match-data.
23585 (whitespace-empty-at-bob-regexp): Minor simplification.
23586
23587 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23588
23589 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23590
23591 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23592
23593 * textmodes/ispell.el (ispell-add-per-file-word-list):
23594 Use `concat' to create string for insertion.
23595
23596 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23597
23598 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23599 Avoid open-line which runs post-self-insert-hook.
23600 (bibtex-fill-entry): Remove unused `end' var.
23601
23602 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23603
23604 * textmodes/ispell.el (ispell-add-per-file-word-list):
23605 Protect against `nil' value of `comment-start' (Bug#8579).
23606
23607 2011-05-03 Leo Liu <sdl.web@gmail.com>
23608
23609 * isearch.el (isearch-yank-pop): New command.
23610 (isearch-mode-map): Bind it to `M-y'.
23611 (isearch-forward): Mention it.
23612
23613 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23614
23615 * simple.el (minibuffer-complete-shell-command): Remove.
23616 (minibuffer-local-shell-command-map): Use completion-at-point.
23617 (read-shell-command): Setup completion vars here instead.
23618 (read-expression-map): Bind TAB to symbol completion.
23619
23620 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23621 error directly rather via storing it into `results'.
23622
23623 2011-05-02 Leo Liu <sdl.web@gmail.com>
23624
23625 * vc/diff.el: Fix description.
23626
23627 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23628
23629 * server.el (server-eval-at): New function.
23630
23631 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23632
23633 * net/network-stream.el (open-network-stream): Take a :nowait
23634 parameter and pass it on to `make-network-process'.
23635 (network-stream-open-plain): Ditto.
23636
23637 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23638
23639 * faces.el (face-spec-set-match-display): Don't match toolkit
23640 options on terminal frames.
23641
23642 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23643
23644 * progmodes/pascal.el: Use lexical binding.
23645 (pascal-mode-map): Remove author preferences.
23646
23647 * pcomplete.el (pcomplete-std-complete): Don't abuse
23648 completion-at-point.
23649
23650 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23651
23652 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23653 removing code that has been dead since 1991 or so.
23654
23655 * startup.el (command-line): When warning about "_emacs", use a
23656 delayed warning to allow the user to filter it out.
23657
23658 2011-04-28 Deniz Dogan <deniz@dogan.se>
23659
23660 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23661 user has not joined.
23662
23663 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23664
23665 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23666 aren't any completions at point.
23667
23668 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23669
23670 * subr.el (display-delayed-warnings): New function.
23671 (delayed-warnings-hook): New variable.
23672
23673 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23674
23675 * minibuffer.el (completion-at-point, completion-help-at-point):
23676 Don't presume that a given completion-at-point-function will always
23677 use the same calling convention.
23678
23679 * pcomplete.el (pcomplete-completions-at-point):
23680 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23681 pcomplete-seen is non-nil.
23682 (pcomplete-comint-setup): Also recognize the new comint/shell
23683 completion functions.
23684 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23685 pcomplete-seen is non-nil.
23686
23687 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23688
23689 * calendar/icalendar.el (diary-lib): Add require statement.
23690 (icalendar--create-uid): Read out a uid from a text-property on
23691 the first character in the entry. This allows for code to add its
23692 own uid to the entry.
23693 (icalendar--convert-float-to-ical): Add export of
23694 `diary-float'-entries save for those with the optional DAY
23695 argument.
23696
23697 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23698
23699 * subr.el (shell-quote-argument): Use alternate escaping strategy
23700 when we spot a variable reference in a string.
23701
23702 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23703
23704 * cus-start.el (all): Define customization for debug-on-event.
23705
23706 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23707
23708 * subr.el (shell-quote-argument): Escape correctly under Windows.
23709
23710 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23711
23712 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23713
23714 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23715
23716 * net/tramp.el (tramp-process-actions): Add POS argument.
23717 Delete region between POS and (pos).
23718
23719 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23720 Use `nil' position in `tramp-process-actions' call.
23721 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23722
23723 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23724 position in `tramp-process-actions' call.
23725
23726 * net/trampver.el: Update release number.
23727
23728 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23729
23730 * custom.el (defcustom): Obey lexical-binding.
23731
23732 Fix octave-inf completion problems reported by Alexander Klimov.
23733 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23734 Inherit from octave-mode-syntax-table.
23735 (inferior-octave-mode): Set info-lookup-mode.
23736 (inferior-octave-completion-at-point): New function.
23737 (inferior-octave-complete): Use it and completion-in-region.
23738 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23739 comint-filename-completion.
23740 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23741 symbol elements which shouldn't be word elements.
23742 (octave-font-lock-keywords, octave-beginning-of-defun)
23743 (octave-function-header-regexp): Adjust regexps accordingly.
23744 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23745
23746 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23747
23748 * net/gnutls.el (gnutls-errorp): Declare before first use.
23749
23750 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23751
23752 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23753 verify-error, and verify-hostname-error parameters. Check whether
23754 default trustfile exists before going to use it. Add missing
23755 argument to gnutls-message-maybe call. Return value.
23756 Reported by Claudio Bley <claudio.bley@gmail.com>.
23757 (open-gnutls-stream): Add usage example.
23758
23759 * net/network-stream.el (network-stream-open-starttls): Give host
23760 parameter to `gnutls-negotiate'.
23761 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23762 * subr.el (shell-quote-argument): Escape correctly under Windows.
23763
23764 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23765
23766 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23767 Use correct match group (bug#8438).
23768
23769 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23770
23771 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23772 (package-menu--generate): New arg specifying packages to show.
23773 (package-menu-refresh, package-menu-execute, list-packages):
23774 Callers changed.
23775 (package-show-package-list): New function, replacing deleted
23776 package--list-packages (renamed because it is non-internal).
23777
23778 * finder.el (finder-list-matches): Use package-show-package-list
23779 instead of deleted package--list-packages.
23780
23781 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23782 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23783 (vc-annotate-mode-map): Bind it to RET.
23784
23785 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23786
23787 * progmodes/etags.el (next-file): Don't use set-buffer to change
23788 buffers (Bug#8478).
23789
23790 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23791
23792 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23793
23794 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23795 (apropos-accumulator): Doc fix.
23796 (apropos-function, apropos-macro, apropos-command)
23797 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23798 (apropos-plist): Add face property.
23799 (apropos-symbols-internal): Fix indentation.
23800 (apropos-print): Simplify help, and recognize apropos-multi-type.
23801 (apropos-print-doc): Use button-type-get to extract the button's
23802 face property. Fill docstring (Bug#8352).
23803
23804 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23805
23806 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23807
23808 * play/mpuz.el (mpuz-silent): Doc fix.
23809 (mpuz-mode-map): Use mapc.
23810 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23811 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23812 Fix typos in docstrings.
23813
23814 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23815 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23816
23817 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23818
23819 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23820
23821 * minibuffer.el (completion--do-completion): Avoid the "Next char
23822 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23823
23824 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23825 mouse-2 into unread-command-events, it is interpreted correctly.
23826
23827 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23828 (image-toggle-display): Doc fix.
23829
23830 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23831
23832 * textmodes/page.el (what-page): Use line-number-at-pos to
23833 calculate line number (Bug#6825).
23834
23835 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23836
23837 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23838 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23839 Pass argument NO-DEFAULT to `find-tag-interactive'.
23840
23841 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23842
23843 Lexical-binding cleanup.
23844
23845 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23846 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23847 * progmodes/ada-prj.el (ada-prj-initialize-values)
23848 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23849 (ada-prj-show-value):
23850 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23851 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23852 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23853 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23854 * progmodes/bug-reference.el (bug-reference-push-button):
23855 * progmodes/fortran.el (fortran-line-length):
23856 * progmodes/glasses.el (glasses-change):
23857 * progmodes/octave-mod.el (octave-fill-paragraph):
23858 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23859 (python-pdbtrack-grub-for-buffer, python-sentinel):
23860 * progmodes/sql.el (sql-save-connection):
23861 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23862 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23863 Mark unused parameters.
23864
23865 * progmodes/compile.el (compilation--flush-directory-cache)
23866 (compilation--flush-parse, compile-internal): Mark unused parameters.
23867 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23868 (compilation-next-error-function): Remove unused variable `timestamp'.
23869
23870 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23871 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23872
23873 * progmodes/dcl-mode.el (dcl-end-of-command):
23874 Remove unused variable `start'.
23875 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23876 (dcl-option-value-basic, dcl-option-value-offset)
23877 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23878 Mark unused parameters.
23879 (dcl-save-local-variable): Remove unused variable `val'.
23880 (mode): Declare.
23881
23882 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23883 Mark unused parameters.
23884 (delphi-ignore-changes): Move before first use.
23885 (delphi-charset-token-at): Remove unused variable `start'.
23886 (delphi-else-start): Remove unused variable `if-count'.
23887 (delphi-comment-block-start, delphi-comment-block-end):
23888 Remove unused variable `kind'.
23889 (delphi-indent-line): Remove unused variable `new-point'.
23890
23891 * progmodes/ebrowse.el (ebrowse-files-list)
23892 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23893 Mark unused parameters. Don't quote `lambda'.
23894 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23895 Don't quote `lambda'.
23896 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23897 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23898 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23899 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23900 Use `ignore-errors'.
23901 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23902 (ebrowse-view/find-file-and-search-pattern)
23903 (ebrowse-view/find-member-declaration/definition):
23904 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23905 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23906 Rename parameter PREFIX-ARG to PREFIX.
23907 (ebrowse-tags-read-name): Remove unused variables `start' and
23908 `member-info'.
23909 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23910 to `tags-file'.
23911
23912 * progmodes/etags.el (local-find-tag-hook): Declare.
23913 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23914 Mark unused parameters.
23915
23916 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23917 (executable-interpret): Mark unused parameter.
23918
23919 * progmodes/flymake.el (flymake-process-sentinel)
23920 (flymake-after-change-function)
23921 (flymake-create-temp-with-folder-structure)
23922 (flymake-get-include-dirs-dot): Mark unused parameters.
23923 (flymake-safe-delete-directory): Remove unused variable `err'.
23924
23925 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23926 (speedbar-timer-fn, speedbar-line-text)
23927 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23928 (speedbar-center-buffer-smartly): Declare functions.
23929 (gdb-find-watch-expression): Remove unused variable `array'.
23930 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23931 (gdb-starting): Mark unused parameters.
23932 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23933 (gdb-table-string): Remove unused variable `res'.
23934 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23935 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23936 (gdb-display-buffer): Remove unused variable `cur-size'.
23937
23938 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23939 allow lexical-binding compilation.
23940 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23941 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23942 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23943 Mark unused parameters.
23944 (gud-gdb-marker-filter): Remove unused variable `match'.
23945 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23946 lambda expressions and funcall them, instead of using `fset'.
23947
23948 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23949 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23950
23951 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23952 variable `header-beg'; use `let'.
23953
23954 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23955 `restart', `last-sexp' and `at-do'.
23956
23957 * progmodes/js.el (js--debug): Mark unused parameter.
23958 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23959 (js--splice-into-items): Remove unused variable `item'.
23960 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23961
23962 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23963 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23964 (makefile-complete): Remove unused variable `try'.
23965 (makefile-fill-paragraph, makefile-match-function-end):
23966 Mark unused parameters.
23967
23968 * progmodes/octave-inf.el (inferior-octave-complete):
23969 Remove unused variable `proc'.
23970 (inferior-octave-output-digest): Mark unused parameter.
23971
23972 * progmodes/perl-mode.el (perl-calculate-indent):
23973 Remove unused variable `err'.
23974
23975 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23976 (prolog-indent-line): Mark unused parameters.
23977 (prolog-indent-line): Remove unused variable `beg'.
23978
23979 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23980 (reporter-dont-compact-list): Declare.
23981
23982 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23983 Remove unused variable `char'.
23984 (sh-debug): Mark unused parameter.
23985 (sh-get-indent-info): Remove unused variable `start'.
23986 (sh-calculate-indent): Remove unused variable `var'.
23987
23988 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23989 (simula-electric-keyword): Remove unused variable `null'.
23990 (simula-search-backward, simula-search-forward): Remove unused
23991 variables `begin' and `end'.
23992
23993 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23994 Remove unused variable `pos'.
23995 (vera-electric-tab, vera-comment-uncomment-region):
23996 Mark unused parameters.
23997 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23998
23999 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24000
24001 * emacs-lisp/package.el (package--builtins, package-alist)
24002 (package-load-descriptor, package-built-in-p, package-activate)
24003 (define-package, package-installed-p)
24004 (package-compute-transaction, package-buffer-info)
24005 (package--push): Doc fix. Distinguish more clearly between
24006 version strings and version lists.
24007
24008 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24009
24010 Lexical-binding cleanup.
24011
24012 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24013 (5x5-make-mutate-best):
24014 * play/fortune.el (fortune-in-buffer):
24015 * play/gomoku.el (gomoku-init-display):
24016 * play/solitaire.el (solitaire, solitaire-do-check):
24017 * play/tetris.el (tetris-default-update-speed-function):
24018 Mark unused parameters.
24019
24020 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24021 (bubbles--shift): Remove unused variable `char-org'.
24022 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24023 (bubbles--show-images): Remove unused variable `char'.
24024
24025 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24026 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24027 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24028 (decipher-analyze-buffer): Use ?\s.
24029 (decipher-make-checkpoint): Remove unused variable `mapping'.
24030
24031 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24032
24033 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24034 Remove unused variable `result'; use `let'.
24035
24036 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24037 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24038 (gametree-children-shown-p, gametree-compute-reduced-score):
24039 Use `ignore-errors'.
24040
24041 * play/handwrite.el (ps-lpr-switches): Declare.
24042 (handwrite): Remove unused variables `pmin' and `lastp'.
24043
24044 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24045
24046 * play/landmark.el (landmark-init-display)
24047 (landmark-update-naught-weights): Mark unused parameters.
24048 (landmark-y): Remove unused variable `noise'. Simplify.
24049 (landmark-human-plays): Remove unused variable `score'.
24050
24051 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24052 (mpuz-try-proposal): Remove unused variable `game'.
24053
24054 * play/zone.el (life-patterns): Declare.
24055
24056 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24057
24058 * vc/vc.el (ediff-vc-internal): Declare function.
24059
24060 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24061
24062 * shell.el: Use lexical-binding and std completion UI.
24063 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24064 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24065 comint-preoutput-filter-functions rather than on
24066 comint-output-filter-functions.
24067 (shell-command-completion, shell--command-completion-data)
24068 (shell-filename-completion, shell-environment-variable-completion)
24069 (shell-c-a-p-replace-by-expanded-directory): New functions.
24070 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24071 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24072 (shell-dynamic-complete-environment-variable): Use them.
24073 (shell-dynamic-complete-as-environment-variable)
24074 (shell-dynamic-complete-as-command): Remove.
24075 (shell-match-partial-variable): Match past point.
24076 * comint.el: Clean up use of completion-at-point-functions.
24077 (comint-completion-at-point): New function.
24078 (comint-mode): Use it completion-at-point-functions.
24079 (comint-dynamic-complete): Make it obsolete.
24080 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24081 (comint-c-a-p-replace-by-expanded-history): New function.
24082 (comint-dynamic-complete-functions)
24083 (comint-replace-by-expanded-history): Use it.
24084 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24085 termination strings. Try harder to avoid second try-completion.
24086 (completion-in-region-mode-map): Disable bindings that don't work yet.
24087
24088 * comint.el: Use lexical-binding. Require CL.
24089 (comint-dynamic-complete-functions): Use comint-filename-completion.
24090 (comint-completion-addsuffix): Tweak custom type.
24091 (comint-filename-completion, comint--common-suffix)
24092 (comint--common-quoted-suffix, comint--table-subvert)
24093 (comint--complete-file-name-data): New functions.
24094 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24095 (comint-dynamic-list-filename-completions): Use them.
24096 (comint-dynamic-simple-complete): Make obsolete.
24097
24098 * minibuffer.el (completion-in-region-mode):
24099 Keep completion-in-region-mode--predicate global.
24100 (completion-in-region--postch):
24101 Assume completion-in-region-mode--predicate is not null.
24102
24103 * progmodes/flymake.el (flymake-start-syntax-check-process):
24104 Obey `dir'. Simplify.
24105
24106 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24107 we're in VC after all.
24108
24109 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24110
24111 * vc/vc.el (vc-diff-build-argument-list-internal)
24112 (vc-version-ediff, vc-ediff): New commands.
24113 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24114
24115 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24116
24117 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24118 add sanity check.
24119
24120 * obsolete/erc-hecomplete.el: Make obsolete.
24121 * obsolete/: Standardize obsolescence info in the header.
24122
24123 2011-04-20 Glenn Morris <rgm@gnu.org>
24124
24125 * calendar/solar.el (solar-horizontal-coordinates):
24126 Use the longitude argument rather than `calendar-longitude'.
24127 (solar-date-next-longitude): Remove unused locals.
24128
24129 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24130
24131 * whitespace.el: New version 13.2.1.
24132
24133 2011-04-20 felix <EmacsWiki> (tiny change)
24134
24135 * whitespace.el (global-whitespace-mode): Keep highlight when
24136 switching between major modes on a file.
24137
24138 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24139
24140 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24141 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24142 multi-line comments as well.
24143
24144 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24145
24146 Lexical-binding cleanup.
24147
24148 * arc-mode.el (archive-mode-revert):
24149 * cmuscheme.el (scheme-interactively-start-process):
24150 * custom.el (custom-initialize-delay):
24151 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24152 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24153 * emacs-lock.el (emacs-lock-clear-sentinel):
24154 * ezimage.el (defezimage):
24155 * follow.el (follow-avoid-tail-recenter):
24156 * fringe.el (set-fringe-mode-1):
24157 * generic-x.el (bat-generic-mode-compile):
24158 * help-mode.el (help-info-variable, help-do-xref)
24159 (help-mode-revert-buffer):
24160 * help.el (view-emacs-todo):
24161 * iswitchb.el (iswitchb-completion-help):
24162 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24163 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24164 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24165 * locate.el (locate-update):
24166 * longlines.el (longlines-encode-region)
24167 (longlines-after-change-function):
24168 * outline.el (outline-isearch-open-invisible):
24169 * ps-def.el (declare-function, charset-dimension, char-width)
24170 (encode-char):
24171 * ps-mule.el (ps-mule-plot-string):
24172 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24173 (recentf-edit-list-select, recentf-edit-list-validate)
24174 (recentf-open-files-action):
24175 * rect.el (delete-whitespace-rectangle-line)
24176 (rectangle-number-line-callback):
24177 * register.el (window-configuration-to-register)
24178 (frame-configuration-to-register):
24179 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24180 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24181 (xselect-convert-to-targets, xselect-convert-to-delete)
24182 (xselect-convert-to-filename, xselect-convert-to-charpos)
24183 (xselect-convert-to-lineno, xselect-convert-to-colno)
24184 (xselect-convert-to-os, xselect-convert-to-host)
24185 (xselect-convert-to-user, xselect-convert-to-class)
24186 (xselect-convert-to-name, xselect-convert-to-integer)
24187 (xselect-convert-to-atom, xselect-convert-to-identity):
24188 * subr.el (declare, ignore, process-kill-without-query)
24189 (text-clone-maintain):
24190 * terminal.el (te-get-char, te-tic-sentinel):
24191 * tool-bar.el (tool-bar-make-keymap):
24192 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24193 * type-break.el (type-break-mode, type-break-noninteractive-query):
24194 * view.el (View-back-to-mark):
24195 * wid-browse.el (widget-browse-action, widget-browse-widget)
24196 (widget-browse-widgets, widget-browse-sexp):
24197 * widget.el (define-widget-keywords):
24198 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24199 Mark unused parameters.
24200
24201 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24202 (align-areas): Remove unused variable `look'.
24203 (align-region): Remove unused variables `real-end' and `pos-list'.
24204
24205 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24206
24207 * bindings.el (mode-line-modified, mode-line-remote):
24208 Mark unused parameters.
24209 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24210
24211 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24212 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24213
24214 * comint.el (comint-history-isearch-pop-state)
24215 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24216 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24217 (comint-substitute-in-file-name): Doc fix.
24218
24219 * completion.el (cmpl-statistics-block): Mark unused parameter.
24220 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24221 (save-completions-to-file, load-completions-from-file):
24222 Remove unused local variable `e'.
24223
24224 * composite.el (compose-chars): Remove unused variable `len'.
24225 (lgstring-insert-glyph): Remove unused variable `g'.
24226 (compose-glyph-string): Remove unused variables `ascent',
24227 `descent', `lbearing' and `rbearing'.
24228 (compose-glyph-string-relative): Remove unused variables
24229 `lbearing', `rbearing' and `wadjust'.
24230 (compose-gstring-for-graphic): Remove unused variables `header',
24231 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24232 (compose-gstring-for-terminal): Remove unused variables `header'
24233 and `nchars'. Use `let', not `let*'.
24234
24235 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24236 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24237 (Custom-buffer-done, custom-buffer-create-internal)
24238 (custom-browse-visibility-action, custom-browse-group-tag-action)
24239 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24240 (widget-magic-mouse-down-action, custom-toggle-parent)
24241 (custom-add-parent-links, custom-toggle-hide-variable)
24242 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24243 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24244 (custom-face-menu-create, custom-variable-menu-create, get)
24245 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24246 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24247 (customize-apropos): Remove unused variable `tests'.
24248 (custom-group-value-create): Remove unused variable `hidden-p'.
24249 (sort-fold-case): Declare.
24250
24251 * cus-theme.el (custom-reset-standard-faces-list)
24252 (custom-reset-standard-variables-list): Declare.
24253 (customize-create-theme, custom-theme-revert, custom-theme-write)
24254 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24255 Mark unused parameters.
24256
24257 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24258
24259 * delim-col.el (delimit-columns-max): Move defvar before first use.
24260
24261 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24262 (describe-char): Don't quote `lambda'. Mark unused parameter.
24263
24264 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24265 (auto-insert): Declare.
24266 (desktop-restore-file-buffer): Rename desktop-* parameters;
24267 mark unused ones.
24268 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24269 (desktop-buffer): Rename desktop-* parameters.
24270
24271 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24272 (dframe-reposition-frame-xemacs, dframe-help-echo)
24273 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24274 Mark unused parameters.
24275
24276 * dired-aux.el (backup-extract-version-start, overwrite-query)
24277 (overwrite-backup-query, rename-regexp-query)
24278 (rename-non-directory-query): Declare.
24279 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24280 (dired-add-entry): Remove unused variable `orig-file-name'.
24281 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24282 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24283 `dired-copy-preserve-time' directly.
24284 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24285 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24286
24287 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24288 (dired-virtual-revert, dired-make-relative-symlink):
24289 Mark unused parameters.
24290 (manual-program): Declare.
24291 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24292 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24293 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24294
24295 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24296
24297 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24298
24299 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24300 Declare.
24301
24302 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24303
24304 * electric.el (Electric-command-loop): Rename parameter
24305 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24306
24307 * expand.el (expand-in-literal): Remove unused variable `here'.
24308
24309 * facemenu.el (facemenu-add-new-color):
24310 Remove unused variable `docstring'.
24311
24312 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24313 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24314 (face-attr-construct): Mark unused parameter. Doc fix.
24315 (read-color): Remove unused variable `hex-string'.
24316
24317 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24318 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24319 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24320 (display-buffer-other-frame): Remove unused variable `old-window'.
24321 (kill-buffer-hook): Declare.
24322 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24323 Mark unused parameters.
24324 (after-find-file): Pass 1 to `auto-save-mode', not t.
24325
24326 * files-x.el (auto-insert): Declare.
24327 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24328
24329 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24330 variable `buf'. Mark unused parameter.
24331 (find-lisp-insert-directory): Mark unused parameter.
24332
24333 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24334 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24335 (format-common-tail): Remove, unused.
24336 (format-deannotate-region): Remove unused variable `loc'.
24337 (format-annotate-region): Remove unused variable `p'.
24338 (format-annotate-single-property-change): Remove unused variables
24339 `default' and `tail'.
24340
24341 * forms.el (read-file-filter): Declare.
24342 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24343
24344 * frame.el (frame-creation-function-alist): Mark unused parameter.
24345 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24346
24347 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24348 Remove unused parameters.
24349 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24350 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24351
24352 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24353 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24354 (hfy-prepare-tag-map): Mark unused parameters.
24355 (htmlfontify-buffer): Use `called-interactively-p'.
24356
24357 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24358 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24359 (ibuffer-do-occur): Mark unused parameters.
24360 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24361 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24362
24363 * ibuffer.el: Don't quote `lambda'.
24364 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24365 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24366 Mark unused parameters.
24367
24368 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24369 (ido-completing-read): Mark unused parameters.
24370 (ido-copy-current-word): Mark unused parameters;
24371 remove unused variable `name'.
24372 (ido-sort-merged-list): Remove unused parameter `dirs'.
24373
24374 * ielm.el (ielm-input-sender): Mark unused parameter.
24375 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24376 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24377 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24378 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24379 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24380
24381 * image-dired.el (image-dired-display-thumbs): Remove unused
24382 variables `curr-file' and `count'.
24383 (image-dired-remove-tag): Remove unused variable `start'.
24384 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24385 variable `curr-file'
24386 (image-dired-rotate-original): Remove unused variable `temp-file'.
24387 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24388 Remove unused variable `file'.
24389 (image-dired-gallery-generate): Remove unused variable `curr'.
24390 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24391
24392 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24393
24394 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24395
24396 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24397
24398 * isearch.el (minibuffer-history-symbol): Declare.
24399 (isearch-edit-string): Remove unused variable `err'.
24400 (isearch-message-prefix, isearch-message-suffix):
24401 Mark unused parameters.
24402
24403 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24404
24405 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24406
24407 * makesum.el (double-column): Remove unused variable `cnt'.
24408
24409 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24410 (ido-ignore-item-temp-list): Declare.
24411
24412 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24413 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24414 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24415 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24416 `mouse-col-delta'.
24417
24418 * mouse-sel.el (mouse-extend-internal):
24419 Remove unused variable `orig-window-frame'.
24420
24421 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24422 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24423 Move declarations before first use.
24424 (pcomplete-opt): Mark unused parameters; doc fix.
24425
24426 * proced.el (proced-revert): Mark unused parameter.
24427 (proced-send-signal): Remove unused variable `err'.
24428
24429 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24430 Rename parameter PREFIX-ARG to ARG.
24431 (ps-basic-plot-string, ps-basic-plot-whitespace):
24432 Mark unused parameters.
24433
24434 * replace.el (replace-count): Define.
24435 (occur-revert-function): Mark unused parameters.
24436 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24437 (isearch-case-fold-search, isearch-string): Declare.
24438 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24439 bind `case-fold-search'. Remove unused variables `beg' and `end',
24440 and simplify.
24441 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24442 COUNT and bind `replace-count'.
24443 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24444 to COUNT.
24445
24446 * savehist.el (print-readably, print-string-length): Declare.
24447
24448 * shadowfile.el (shadow-expand-cluster-in-file-name):
24449 Remove unused variable `cluster'.
24450 (shadow-copy-file): Remove unused variable `i'.
24451 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24452 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24453 (shadow-define-literal-group, shadow-define-regexp-group)
24454 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24455
24456 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24457 (shell): Use `called-interactively-p'.
24458 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24459
24460 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24461 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24462 (delete-backward-char): Remove unused variable `ocol'.
24463 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24464 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24465 (event-apply-hyper-modifier, event-apply-shift-modifier)
24466 (event-apply-control-modifier, event-apply-meta-modifier):
24467 Mark unused parameters.
24468 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24469 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24470
24471 * speedbar.el (speedbar-ignored-directory-expressions)
24472 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24473 (speedbar-find-file, speedbar-dir-follow)
24474 (speedbar-directory-buttons-follow, speedbar-tag-find)
24475 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24476 (speedbar-buffers-line-directory, speedbar-buffer-click):
24477 Mark unused parameters.
24478 (speedbar-tag-file): Remove unused variable `mode'.
24479 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24480
24481 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24482
24483 * talk.el (talk): Remove unused variable `display'.
24484
24485 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24486 (tar-write-region-annotate): Mark unused parameter.
24487
24488 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24489 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24490 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24491 warning by another.
24492
24493 * time-stamp.el (time-stamp-string-preprocess):
24494 Remove unused variable `require-padding'.
24495
24496 * tree-widget.el (widget-glyph-enable): Declare.
24497 (tree-widget-action): Mark unused parameter.
24498
24499 * w32-fns.el (x-get-selection): Mark unused parameter.
24500 (autoload-make-program, generated-autoload-file): Declare.
24501
24502 * wdired.el (wdired-revert): Mark unused parameters.
24503 (wdired-xcase-word): Remove unused variable `err'.
24504
24505 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24506 (whitespace-help-scroll): Remove unused variable `data-help'.
24507
24508 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24509 (widget-image-insert, widget-after-change, default)
24510 (widget-default-format-handler, widget-default-notify)
24511 (widget-default-prompt-value, widget-info-link-action)
24512 (widget-url-link-action, widget-function-link-action)
24513 (widget-variable-link-action, widget-file-link-action)
24514 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24515 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24516 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24517 (widget-insert-button-action, widget-delete-button-action, visibility)
24518 (widget-documentation-link-action, widget-documentation-string-action)
24519 (widget-const-prompt-value, widget-regexp-match, symbol)
24520 (widget-coding-system-prompt-value)
24521 (widget-key-sequence-value-to-external, sexp)
24522 (widget-sexp-value-to-internal, character, vector, cons)
24523 (widget-choice-prompt-value, widget-boolean-prompt-value)
24524 (widget-color--choose-action): Mark unused parameters.
24525 (widget-item-match-inline, widget-choice-match-inline)
24526 (widget-checklist-match, widget-checklist-match-inline)
24527 (widget-group-match): Rename parameter VALUES to VALS.
24528 (widget-field-value-set): Remove unused variable `size'.
24529 (widget-color-action): Remove unused variables `value' and `start'.
24530
24531 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24532 variable `dir'. Doc fix.
24533 (windmove-find-other-window): Don't pass it.
24534
24535 * window.el (count-windows): Mark unused parameter.
24536 (bw-adjust-window): Remove unused variable `err'.
24537
24538 * woman.el (woman-file-name): Remove unused variable `default'.
24539 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24540 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24541 (global-font-lock-mode): Declare.
24542 (woman-decode-region): Mark unused parameter.
24543 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24544
24545 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24546 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24547 (x-dnd-handle-moz-url): Remove unused variable `title'.
24548 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24549
24550 * xml.el (xml-parse-tag, xml-parse-attlist):
24551 Remove unused variable `pos'.
24552
24553 2011-04-19 Glenn Morris <rgm@gnu.org>
24554
24555 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24556 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24557 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24558 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24559 * calendar/cal-html.el (cal-html-insert-minical):
24560 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24561 (calendar-mark-date-pattern):
24562 Prefix "unused" locals.
24563
24564 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24565 optional argument `style'.
24566
24567 * calendar/appt.el (appt-make-list):
24568 * calendar/cal-china.el (calendar-chinese-date-string):
24569 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24570 (diary-hebrew-yahrzeit):
24571 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24572 * calendar/calendar.el (calendar-generate-window):
24573 * calendar/time-date.el (time-to-days):
24574 Remove unused local variables.
24575
24576 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24577
24578 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24579 glyphless-char-display table.
24580 (tabulated-list-glyphless-char-display): New var.
24581
24582 2011-04-18 Sam Steingold <sds@gnu.org>
24583
24584 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24585 to acknowledgments.
24586
24587 2011-04-17 Glenn Morris <rgm@gnu.org>
24588
24589 * calendar/diary-lib.el (diary-sexp-entry):
24590 * calendar/holidays.el (holiday-sexp):
24591 Set debug-on-error rather than the removed stack-trace-on-error.
24592
24593 2011-04-16 Glenn Morris <rgm@gnu.org>
24594
24595 * progmodes/f90.el: Use lexical-binding.
24596 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24597
24598 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24599
24600 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24601 (mail-mode): Setup mailalias completion here instead.
24602 * mail/mailalias.el: Use lexical-binding.
24603 (pattern, mailalias-done): Declare dynamic.
24604 (mail-completion-at-point-function): New function, from mail-complete.
24605 (mail-complete): Use it.
24606 (mail-completion-expand): New function.
24607 (mail-get-names): Use it.
24608 (mail-directory, mail-directory-process, mail-directory-stream):
24609 Don't use `pattern' for lexically bound arg.
24610
24611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24612
24613 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24614 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24615 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24616
24617 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24618 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24619 (byte-interactive-p): Define them again, for use when inlining
24620 old code.
24621
24622 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24623
24624 * loadup.el: Use `string-to-number', not `string-to-int'.
24625
24626 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24627
24628 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24629 gud-gdb-complete-command.
24630 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24631 (gud-gdb-completion-at-point): New function.
24632 (gud-gdb-completions): Remove.
24633
24634 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24635
24636 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24637 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24638 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24639 whether `executable-find' is bound.
24640
24641 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24642
24643 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24644
24645 * minibuffer.el (completion-in-region-mode-predicate)
24646 (completion-in-region-mode--predicate): New vars.
24647 (completion-in-region, completion-in-region--postch)
24648 (completion-in-region-mode): Use them.
24649 (completion--capf-wrapper): Also return the hook function.
24650 (completion-at-point, completion-help-at-point):
24651 Adjust and provide a predicate.
24652
24653 Preserve arg names for advice of subr and lexical functions (bug#8457).
24654 * help-fns.el (help-function-arglist): Consolidate the subr and
24655 new-byte-code cases. Add argument `preserve-names' to extract names
24656 from the docstring when needed.
24657 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24658 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24659 (ad-arglist): Use help-function-arglist's new arg.
24660 (ad-definition-type): Use cond.
24661
24662 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24663
24664 * autorevert.el (auto-revert-handler):
24665 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24666 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24667 Don't quote lambda.
24668
24669 * image-mode.el (image-transform-set-scale):
24670 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24671
24672 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24673
24674 * net/network-stream.el (network-stream-open-starttls): Only do
24675 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24676 Upgrades via gnutls-cli are too slow to be done opportunistically.
24677
24678 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24679
24680 * dframe.el (dframe-current-frame): Remove spurious quote.
24681
24682 2011-04-12 Glenn Morris <rgm@gnu.org>
24683
24684 * calendar/cal-tex.el (cal-tex-end-document):
24685 Try to automatically use latin1 input if needed.
24686
24687 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24688 Don't try to cons a mark onto an empty element.
24689
24690 2011-04-11 Leo Liu <sdl.web@gmail.com>
24691
24692 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24693 buffers.
24694 (ido-kill-buffer-at-head): Support killing virtual buffers.
24695
24696 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24697
24698 * minibuffer.el (completion-show-inline-help): New var.
24699 (completion--do-completion, minibuffer-complete)
24700 (minibuffer-force-complete, minibuffer-complete-word):
24701 Inhibit minibuffer messages if completion-show-inline-help is nil.
24702
24703 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24704 to avoid interference from inline help (Bug#5849).
24705
24706 2011-04-10 Leo Liu <sdl.web@gmail.com>
24707
24708 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24709 Fix typo.
24710
24711 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24712
24713 * image-mode.el (image-toggle-display-image): Signal an error if
24714 not in Image mode.
24715 (image-transform-mode, image-transform-resize)
24716 (image-transform-set-rotation): Doc fix.
24717 (image-transform-set-resize): Delete.
24718 (image-transform-set-scale, image-transform-fit-to-height)
24719 (image-transform-fit-to-width): Handle image-toggle-display-image
24720 and image-transform-resize directly.
24721
24722 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24723
24724 * doc-view.el (doc-view-fit-width-to-window)
24725 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24726 New functions for fitting the shown image to the Emacs window size.
24727 (doc-view-mode-map): Add bindings for the new functions.
24728
24729 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24730
24731 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24732 Fix typo in docstring.
24733
24734 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24735
24736 * files.el (file-size-human-readable): Produce one digit after
24737 decimal, like "ls -lh" does.
24738
24739 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24740 the file size representation.
24741
24742 * simple.el (list-processes): If async subprocesses are not
24743 available, error out with a clear error message.
24744
24745 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24746
24747 * help.el (help-form-show): New function, to be called from C.
24748 Put help-form output in a buffer named differently than *Help*.
24749
24750 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24751
24752 * files.el (file-size-human-readable): New function.
24753
24754 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24755 computing the representation inline. Don't require `cl'.
24756
24757 2011-04-08 Glenn Morris <rgm@gnu.org>
24758
24759 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24760
24761 * net/browse-url.el (browse-url-firefox):
24762 Test system-type, not system-configuration.
24763
24764 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24765 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24766 Use log-edit-empty-buffer-p. (Bug#7598)
24767
24768 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24769 (rlogin-mode-map): Initialize in the defvar.
24770 (rlogin): Use ignore-errors.
24771
24772 * replace.el (occur-mode-map): Some fixes for menu items.
24773
24774 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24775
24776 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24777
24778 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24779
24780 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24781 issuing unused warnings.
24782
24783 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24784 macro directly.
24785
24786 * simple.el: Lisp reimplement of list-processes. Based on an
24787 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24788 (process-menu-mode): New major mode.
24789 (list-processes--refresh, list-processes):
24790 (process-menu-visit-buffer): New functions.
24791
24792 * files.el (save-buffers-kill-emacs): Don't assume any return
24793 value of list-processes, which is undocumented anyway.
24794
24795 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24796
24797 * emacs-lisp/tabulated-list.el: New file.
24798
24799 * emacs-lisp/package.el: Use Tabulated List mode.
24800 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24801 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24802 table format using Tabulated List mode variables.
24803 (package--push): New macro, replacing package-list-maybe-add.
24804 (package-menu--generate): Use package--push. Renamed from
24805 package--generate-package-list.
24806 (package-menu-refresh, list-packages): Use it.
24807 (package-menu--print-info): Rename from package-print-package.
24808 Return insertion data instead of inserting it directly.
24809 (package-menu-describe-package, package-menu-execute):
24810 Use tabulated-list-get-id.
24811 (package-menu-mark-delete, package-menu-mark-install)
24812 (package-menu-mark-unmark, package-menu-backup-unmark)
24813 (package-menu-mark-obsolete-for-deletion):
24814 Use tabulated-list-put-tag.
24815 (package--list-packages, package-menu-revert)
24816 (package-menu-get-package, package-menu-get-version)
24817 (package-menu-sort-by-column): Functions deleted.
24818 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24819 (package-menu--status-predicate, package-menu--version-predicate)
24820 (package-menu--name-predicate)
24821 (package-menu--description-predicate): Handle arguments in the
24822 Tabulated List format.
24823 (package-list-packages-no-fetch): Call list-packages.
24824
24825 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24826
24827 * files.el (after-find-file-from-revert-buffer): Remove variable.
24828 (after-find-file): Don't bind it.
24829 (revert-buffer-in-progress-p): New variable.
24830 (revert-buffer): Bind it.
24831 Pass nil for `after-find-file-from-revert-buffer'.
24832
24833 * saveplace.el (save-place-find-file-hook): Use new variable
24834 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24835
24836 2011-04-06 Glenn Morris <rgm@gnu.org>
24837
24838 * Makefile.in (AUTOGEN_VCS): New variable.
24839 (autoloads): Use $AUTOGEN_VCS.
24840
24841 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24842 * calendar/calendar.el (calendar-mode-map):
24843 Check for toolkit scroll bars. (Bug#8305)
24844
24845 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24846
24847 * minibuffer.el (completion-in-region--postch)
24848 (completion-in-region-mode): Remove unnecessary messages.
24849
24850 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24851
24852 * font-lock.el (font-lock-refresh-defaults):
24853 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24854 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24855
24856 * info.el (Info-directory-list, Info-read-node-name-2)
24857 (Info-split-parameter-string): Doc fixes.
24858 (Info-virtual-nodes): Reflow docstring.
24859 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24860 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24861 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24862 Fix typos in docstrings.
24863 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24864 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24865 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24866 (Info-restore-desktop-buffer): Mark unused parameters.
24867 (Info-directory-find-file, Info-directory-find-node)
24868 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24869 (Info-virtual-index-find-node, Info-apropos-find-file)
24870 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24871 Mark unused parameters; fix typos in docstrings.
24872 (Info-virtual-index): Remove unused local variable `nodename'.
24873
24874 2011-04-05 Deniz Dogan <deniz@dogan.se>
24875
24876 * net/rcirc.el: Update my e-mail address.
24877 (rcirc-mode-map): Remove M-o binding.
24878
24879 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24880
24881 * startup.el (command-line): Save the cursor's theme-face
24882 directly, instead of using face-override-spec.
24883
24884 * custom.el (load-theme): Minor optimization in assigning faces.
24885
24886 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24887
24888 * help-fns.el (describe-variable): Complete all variables having
24889 documentation, including keywords.
24890 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24891
24892 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24893
24894 Convert to lexical-binding.
24895
24896 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24897 (bs--get-marked-string, bs--get-modified-string)
24898 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24899 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24900 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24901
24902 * ehelp.el (electric-help-execute-extended)
24903 (electric-help-ctrl-x-prefix):
24904 * hexl.el (hexl-revert-buffer-function):
24905 * linum.el (linum-after-change, linum-after-scroll):
24906 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24907
24908 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24909
24910 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24911
24912 * epa-dired.el:
24913 * epa-mail.el:
24914 * epa-hook.el:
24915 * epa-file.el:
24916 * epa.el:
24917 * epg.el: Use lexical binding.
24918
24919 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24920
24921 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24922
24923 * textmodes/flyspell.el (flyspell-word): Recognize default
24924 dictionary case for flyspell-mark-duplications-exceptions.
24925 Use regexp matching for languages.
24926 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24927 default dictionary (Bug#7926).
24928
24929 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24930
24931 * emacs-lisp/package.el (package--with-work-buffer):
24932 Recognize https URLs.
24933
24934 * net/network-stream.el: Move from gnus/proto-stream.el.
24935 Change prefix to network-stream throughout.
24936 (open-protocol-stream): Merge into open-network-stream, leaving
24937 open-protocol-stream as an alias. Handle nil BUFFER args.
24938
24939 * subr.el (open-network-stream): Move to net/network-stream.el.
24940
24941 2011-04-02 Glenn Morris <rgm@gnu.org>
24942
24943 * find-dired.el (find-exec-terminator): New option.
24944 (find-ls-option): Test for -ls support.
24945 (find-ls-subdir-switches): Test for -b in find-ls-option.
24946 (find-dired, find-grep-dired): Doc fixes.
24947 (find-dired): Use find-exec-terminator.
24948
24949 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24950 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24951 (find-name-arg): Remove purecopy.
24952
24953 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24954 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24955 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24956 accordingly. Don't add the null-device if not needed.
24957
24958 * files.el (save-some-buffers): Doc fix.
24959
24960 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24961
24962 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24963
24964 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24965
24966 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24967 Use `dolist' rather than `mapcar'.
24968
24969 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24970
24971 Add lexical binding.
24972
24973 * subr.el (apply-partially): Use new closures rather than CL.
24974 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24975 (dolist, dotimes): Use slightly different expansion for lexical code.
24976 (functionp): Move to C.
24977 (letrec): New macro.
24978 (with-wrapper-hook): Use it and apply-partially instead of CL.
24979 (eval-after-load): Preserve lexical-binding.
24980 (save-window-excursion, with-output-to-temp-buffer): Turn them
24981 into macros.
24982
24983 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24984
24985 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24986 than the arglist.
24987 (help-add-fundoc-usage): Don't add `Not documented'.
24988 (help-function-arglist): Handle closures, subroutines, and new
24989 byte-code-functions.
24990 (help-make-usage): Remove leading underscores.
24991 (describe-function-1): Handle closures.
24992 (describe-variable): Use special-variable-p for completion.
24993
24994 * files.el (lexical-binding): Declare safe.
24995
24996 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24997 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24998 (pcase): Add `let' pattern.
24999 Change memoization so it actually works.
25000 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25001 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25002 <let>: New case.
25003
25004 * emacs-lisp/macroexp.el: Use lexical binding.
25005 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25006 Don't convert ' to #' without checking that it's indeed quoting
25007 a lambda.
25008
25009 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25010 Use eval-sexp-add-defvars.
25011 (eval-sexp-add-defvars): New fun.
25012
25013 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25014
25015 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25016 Don't autoload.
25017 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25018 than the internal `byte-compile-lambda'.
25019 (defmethod): Don't hide code under quotes.
25020 (eieio-defmethod): New `code' argument.
25021
25022 * emacs-lisp/eieio-comp.el: Remove.
25023
25024 * emacs-lisp/edebug.el (edebug-eval-defun)
25025 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25026 (edebug-toggle): Avoid `eval'.
25027
25028 * emacs-lisp/disass.el (disassemble-internal): Handle new
25029 `closure' objects.
25030 (disassemble-1): Handle new byte codes.
25031
25032 * emacs-lisp/cl.el (pushnew): Silence warning.
25033
25034 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25035 (cl-byte-compile-throw): Remove.
25036 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25037
25038 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25039 closures.
25040
25041 * emacs-lisp/cconv.el: New file.
25042
25043 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25044 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25045 (byte-compile-initial-macro-environment):
25046 Handle declare-function here.
25047 (byte-compile--lexical-environment): New var.
25048 (byte-stack-ref, byte-stack-set, byte-discardN)
25049 (byte-discardN-preserve-tos): New lap codes.
25050 (byte-interactive-p): Don't use any more.
25051 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25052 New macros.
25053 (byte-compile-lapcode): Use them and handle new lap codes.
25054 (byte-compile-obsolete): Remove.
25055 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25056 (byte-compile-arglist-warn): Check late def of inlinable funs.
25057 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25058 since they should have been expanded by now.
25059 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25060 (byte-compile-from-buffer): Remove unused second arg.
25061 (byte-compile-preprocess): New function.
25062 (byte-compile-toplevel-file-form): New function to distinguish
25063 file-form calls from outside from file-form calls from hunk-handlers.
25064 (byte-compile-file-form): Simplify.
25065 (byte-compile-file-form-defsubst): Remove.
25066 (byte-compile-file-form-defmumble): Simplify now that
25067 byte-compile-lambda always returns a byte-code-function.
25068 (byte-compile): Preprocess.
25069 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25070 Remove, not used any more.
25071 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25072 (byte-compile-make-args-desc): New funs.
25073 (byte-compile-lambda): Handle lexical functions. Always return
25074 a byte-code-function.
25075 (byte-compile-reserved-constants): New var, to make up room for
25076 closed-over variables.
25077 (byte-compile-constants-vector): Obey it.
25078 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25079 (byte-compile-macroexpand-declare-function): New function.
25080 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25081 byte-code-functions.
25082 (byte-compile-form): Check obsolescence here.
25083 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25084 (byte-compile-variable-ref): Remove.
25085 (byte-compile-dynamic-variable-op): New fun.
25086 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25087 (byte-compile-variable-set): New funs.
25088 (byte-compile-discard): Add 2 args.
25089 (byte-compile-stack-ref, byte-compile-stack-set)
25090 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25091 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25092 macroexpand-all instead.
25093 (byte-compile-quote-form): Remove.
25094 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25095 (byte-compile-bind, byte-compile-unbind): New funs.
25096 (byte-compile-let): Handle let* and lexical binding.
25097 (byte-compile-let*): Remove.
25098 (byte-compile-catch, byte-compile-unwind-protect)
25099 (byte-compile-track-mouse, byte-compile-condition-case):
25100 Handle a new :fun-body form, used for lexical scoping.
25101 (byte-compile-save-window-excursion)
25102 (byte-compile-with-output-to-temp-buffer): Remove.
25103 (byte-compile-defun): Simplify.
25104 (byte-compile-stack-adjustment): New fun.
25105 (byte-compile-out): Use it.
25106 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25107
25108 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25109 handler any more.
25110
25111 * emacs-lisp/byte-opt.el: Use lexical binding.
25112 (byte-inline-lapcode): Remove (to bytecomp).
25113 (byte-compile-inline-expand): Pay attention to inlining to/from
25114 lexically bound code.
25115 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25116 any more.
25117 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25118 any more and don't call compiler-macros.
25119 (byte-compile-splice-in-already-compiled-code): Remove.
25120 (byte-code): Don't inline any more.
25121 (disassemble-offset): Receive `bytes' as argument rather than via
25122 dynamic scoping.
25123 (byte-compile-tag-number): Declare before first use.
25124 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25125 `return' even if make-spliceable.
25126 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25127 obsolete interactive-p.
25128 (byte-optimize-lapcode): Optimize new lap-codes.
25129 Don't trip up on new form of `byte-constant' lap code.
25130
25131 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25132
25133 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25134
25135 * custom.el (custom-initialize-default, custom-declare-variable):
25136 Use `defvar'.
25137
25138 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25139 New variables.
25140 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25141 (COMPILE_FIRST): Add macroexp and cconv.
25142 * makefile.w32-in: Mirror changes in Makefile.in.
25143
25144 * vc/cvs-status.el:
25145 * vc/diff-mode.el:
25146 * vc/log-edit.el:
25147 * vc/log-view.el:
25148 * vc/smerge-mode.el:
25149 * textmodes/bibtex-style.el:
25150 * textmodes/css-mode.el:
25151 * startup.el:
25152 * uniquify.el:
25153 * minibuffer.el:
25154 * newcomment.el:
25155 * reveal.el:
25156 * server.el:
25157 * mpc.el:
25158 * emacs-lisp/smie.el:
25159 * doc-view.el:
25160 * dired.el:
25161 * abbrev.el: Use lexical binding.
25162
25163 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25164
25165 * info.el (info-display-manual): New function.
25166
25167 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25168
25169 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25170
25171 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25172
25173 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25174 an entry for that server in rcirc-authinfo. (Bug#8385)
25175
25176 2011-03-31 Glenn Morris <rgm@gnu.org>
25177
25178 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25179
25180 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25181
25182 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25183
25184 * progmodes/python.el (python-default-interpreter)
25185 (python-python-command-args, python-jython-command-args)
25186 (python-which-shell, python-which-args, python-which-bufname)
25187 (python-file-queue, python-comint-output-filter-function)
25188 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25189 variables and functions.
25190
25191 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25192
25193 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25194 (completion-in-region-mode): New minor mode.
25195 (completion-in-region): Use it.
25196 (completion-in-region--data, completion-in-region-mode-map): New vars.
25197 (completion-in-region--postch): New function.
25198 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25199 New vars.
25200 (completion--capf-wrapper): New function.
25201 (completion-at-point): Use it to track well-behavedness of
25202 hook functions.
25203 (completion-help-at-point): New command.
25204
25205 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25206
25207 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25208 syntax class to search for whitespace on a single line
25209 (Message-ID: <4D938140.4030905@redhat.com>).
25210
25211 2011-03-30 Leo Liu <sdl.web@gmail.com>
25212
25213 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25214 New commands.
25215 (edit-abbrevs-map): Bind them here.
25216 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25217
25218 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25219
25220 * allout.el (allout-hide-by-annotation, allout-flag-region):
25221 Reduce possibility of overlay leakage by making them volatile.
25222
25223 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25224 hash is not shared between buffers. Mode initialization is
25225 responsible for giving it a useful starting value.
25226 (allout-item-span): Reduce possibility of overlay leakage by
25227 making them volatile.
25228 (allout-widgets-count-buttons-in-region): Add diagnostic function
25229 for tracking down button overlay leaks.
25230
25231 2011-03-29 Leo Liu <sdl.web@gmail.com>
25232
25233 * ido.el (ido-read-internal): Use the default history var
25234 minibuffer-history if no HISTORY is specified.
25235
25236 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25237
25238 * net/imap.el (imap-shell-open, imap-process-connection-type):
25239 Use imap-process-connection-type for 'shell' streams as well as
25240 Kerberos, SSL, other subprocesses.
25241
25242 2011-03-28 Leo Liu <sdl.web@gmail.com>
25243
25244 * abbrev.el (abbrev-table-empty-p): New function.
25245 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25246 nonempty ones. (Bug#5937)
25247
25248 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25249
25250 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25251
25252 2011-03-27 Leo Liu <sdl.web@gmail.com>
25253
25254 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25255 for foreground and background colors.
25256 (ansi-color-make-color-map): Adapt.
25257
25258 2011-03-25 Leo Liu <sdl.web@gmail.com>
25259
25260 * midnight.el (midnight-time-float): Remove. Note it calculates
25261 the microsecond component incorrectly and seconds-to-time does the
25262 same job.
25263 Remove redundant (require 'timer).
25264
25265 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25266 (ido-completions): Remove unused arguments. (Bug#8329)
25267
25268 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25269
25270 * minibuffer.el (completion--flush-all-sorted-completions):
25271 Remove itself from hook.
25272 (completion-at-point): Let the functions perform the completion
25273 immediately and return nil or t.
25274 * comint.el (comint-dynamic-complete-functions): Now identical to
25275 completion-at-point-functions.
25276 (comint-dynamic-list-input-ring): Remove unused var `index'.
25277 (comint--match-partial-filename, comint--unquote&expand-filename):
25278 New funs, split from comint-match-partial-filename.
25279 (comint-dynamic-complete): Use completion-at-point.
25280 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25281
25282 2011-03-24 Drew Adams <drew.adams@oracle.com>
25283
25284 * thingatpt.el: Support `defun'.
25285
25286 2011-03-23 Leo Liu <sdl.web@gmail.com>
25287
25288 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25289
25290 * help-mode.el (help-mode-finish): Tweak regexp.
25291
25292 2011-03-23 Glenn Morris <rgm@gnu.org>
25293
25294 * eshell/esh-opt.el (eshell-eval-using-options):
25295 Do not bind unused local variable `eshell-option-stub'.
25296
25297 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25298
25299 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25300
25301 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25302 keymap variable in `with-no-warnings' to avoid a warning when the
25303 keymap has been already `defconst'ed.
25304
25305 2011-03-22 Leo Liu <sdl.web@gmail.com>
25306
25307 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25308 encode all chars in abbrevs; otherwise use emacs-mule or
25309 utf-8-emacs. (Bug#8308)
25310
25311 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25312
25313 * simple.el (backward-delete-char-untabify):
25314 Avoid warning about using `delete-backward-char'.
25315
25316 * image.el (image-type-file-name-regexps): Make it variable.
25317 `imagemagick-register-types' modifies it, and the user may want
25318 to add new extensions for known image types.
25319 (imagemagick-register-types): Throw error if not using ImageMagick.
25320
25321 2011-03-22 Leo Liu <sdl.web@gmail.com>
25322
25323 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25324 located before rcirc-prompt-end-marker.
25325 (rcirc-complete): Error if point is not after rcirc prompt.
25326 Handle the case when table is nil.
25327 (rcirc-user-authenticated): Define to fix compiler warning.
25328
25329 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25330
25331 * custom.el (custom--inhibit-theme-enable): Make it affect only
25332 custom-theme-set-variables and custom-theme-set-faces.
25333 (provide-theme): Ignore custom--inhibit-theme-enable.
25334 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25335 (custom-enabling-themes): Delete variable.
25336 (enable-theme): Accept only loaded themes as arguments.
25337 Ignore the special custom-enabled-themes variable.
25338 (custom-enabled-themes): Forbid themes from setting this.
25339 Eliminate use of custom-enabling-themes.
25340 (custom-push-theme): Quote "changed" custom var entry.
25341
25342 2011-03-21 Leo Liu <sdl.web@gmail.com>
25343
25344 * ido.el (ido-read-internal): Add ido-selected to history instead
25345 of user input.
25346
25347 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25348
25349 * subr.el (deferred-action-list, deferred-action-function):
25350 Mark obsolete.
25351
25352 2011-03-21 Leo Liu <sdl.web@gmail.com>
25353
25354 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25355 change on 2011-02-13 (bug#8309).
25356
25357 * minibuffer.el (read-file-name-function): Change default value.
25358 (read-file-name--defaults): Rename from read-file-name-defaults.
25359 (read-file-name-default): Rename from read-file-name.
25360 (read-file-name): Call read-file-name-function.
25361
25362 2011-03-21 Glenn Morris <rgm@gnu.org>
25363
25364 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25365 Doc fixes.
25366
25367 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25368
25369 * cus-theme.el: Add missing provide statement.
25370 (customize-create-theme): Extract theme value correctly.
25371 (custom-theme-visit-theme): Autoload.
25372 (customize-create-theme): Prompt before inserting default faces.
25373
25374 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25375
25376 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25377 units and musical notes.
25378
25379 2011-03-20 Leo Liu <sdl.web@gmail.com>
25380
25381 * ido.el (ido-read-internal): Use completing-read-default.
25382 (ido-completing-read): Fix compatibility with completing-read.
25383
25384 2011-03-20 Christian Ohler <ohler@gnu.org>
25385
25386 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25387 (ert-delete-all-tests): Use `called-interactively-p' rather than
25388 `interactive-p'.
25389 (ert--make-xrefs-region): Respect END.
25390
25391 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25392
25393 * dired-aux.el (dired-create-directory): Signal an error if the
25394 directory already exists (Bug#8246).
25395
25396 * facemenu.el (list-colors-display): Call list-faces-display
25397 inside with-help-window.
25398 (list-colors-print): Use display property to align the final
25399 column, instead of checking window-width.
25400
25401 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25402
25403 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25404 windows-nt systems.
25405 (emerge-protect-metachars): Quote correctly for ms-dos and
25406 windows-nt systems.
25407
25408 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25409
25410 * info.el (info-initialize): Replace all uses of `:' with
25411 path-separator for compatibility with non-Unix systems.
25412 Cache quoting of path-separator. (Bug#8258)
25413
25414 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25415
25416 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25417 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25418 (mouse-avoidance-mode): Fix typos in docstrings.
25419
25420 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25421
25422 * startup.el (package-subdirectory-regexp): Move from package.el.
25423 Omit \\` and \\', and let callers add them.
25424
25425 * emacs-lisp/package.el (package-strip-version)
25426 (package-load-all-descriptors): Add \\` and \\' to
25427 package-subdirectory-regexp before using it.
25428 (package-untar-buffer): New arg DIR; ensure that file untars only
25429 into this expected directory. Remove superfluous delete-region.
25430 (package-unpack): Caller changed.
25431 (package-tar-file-info): Use package-subdirectory-regexp.
25432
25433 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25434
25435 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25436 diff-mode-shared-map (bug#8284).
25437 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25438
25439 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25440
25441 * calendar/time-date.el (format-seconds): Use assoc instead of
25442 assoc-string, since assoc-string doesn't exist in XEmacs.
25443
25444 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25445
25446 * custom.el (custom-known-themes): Reflow docstring.
25447 (custom-theme-load-path): Fix typo in docstring.
25448 (load-theme): Fix typo in error message.
25449 (custom-available-themes, custom-variable-theme-value):
25450 Use `let', not `let*'.
25451
25452 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25453
25454 * calc/README: Mention inclusion of musical notes.
25455
25456 * calc/calc-units.el (calc-lu-quant): Rename from
25457 `calc-logunits-quantity'.
25458 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25459 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25460 (calc-db): Rename from `calc-dblevel'.
25461 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25462 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25463 (calc-np): Rename from `calc-nplevel'.
25464 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25465 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25466 (calc-lu-plus): Rename from `calc-logunits-add'.
25467 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25468 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25469 (calc-lu-minus): Rename from `calc-logunits-sub'.
25470 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25471 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25472 (calc-lu-times): Rename from `calc-logunits-mul'.
25473 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25474 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25475 (calc-lu-divide): Rename from `calc-logunits-div'.
25476 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25477 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25478
25479 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25480 functions being autoloaded.
25481
25482 * calc/calc.el (calc-lu-power-reference): Rename from
25483 `calc-logunits-power-reference'.
25484 (calc-lu-field-reference): Rename from
25485 `calc-logunits-field-reference'.
25486
25487 * calc/calc-help.el (calc-l-prefix-help):
25488 Mention musical note functions.
25489
25490 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25491
25492 * minibuffer.el (completion-all-sorted-completions):
25493 Use :completion-cycle-penalty text property if present.
25494
25495 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25496
25497 * allout.el (allout-yank-processing): Adjust for new rebulleting
25498 regime so bullet being yanked is used without prompting the user
25499 for a choice.
25500
25501 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25502
25503 * startup.el (command-line): Warn the user that _emacs is deprecated.
25504
25505 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25506
25507 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25508 (delphi-verbose, delphi-comment-face, delphi-string-face)
25509 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25510 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25511 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25512 (delphi-new-comment-line, delphi-font-lock-defaults)
25513 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25514 Fix typos in docstrings.
25515
25516 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25517
25518 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25519 Invert the roles of character and string values for INSTEAD, so a
25520 string is used for the more common case of a defaulting prompt.
25521
25522 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25523
25524 * progmodes/ruby-mode.el (ruby-backward-sexp):
25525 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25526 * play/gamegrid.el (gamegrid-make-face):
25527 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25528 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25529 * notifications.el (notifications-notify):
25530 * net/xesam.el (xesam-search-engines):
25531 * net/quickurl.el (quickurl-list-insert):
25532 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25533
25534 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25535
25536 * startup.el (command-line): Update package subdirectory regexp.
25537
25538 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25539
25540 * allout.el (allout-abbreviate-flattened-numbering)
25541 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25542
25543 * subr.el (read-char-choice): Only show the cursor after the prompt,
25544 not after the answer.
25545
25546 2011-03-15 Kevin Ryde <user42@zip.com.au>
25547
25548 * help-fns.el (variable-at-point): Skip leading quotes, if any
25549 (bug#8253).
25550
25551 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25552
25553 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25554 warning message.
25555
25556 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25557
25558 * shell.el (shell): When called interactively, offer to change the
25559 shell file name on remote hosts.
25560
25561 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25562
25563 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25564 integration for LDAP parameters. The host, base, user or binddn,
25565 and secret tokens can be specified in a netrc file, for instance.
25566 This is optional because an `auth-source' parameter must be
25567 specified in the search attributes.
25568
25569 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25570
25571 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25572
25573 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25574
25575 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25576 into declaration. Remove redundant and harmful binding.
25577
25578 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25579
25580 * files.el (file-ownership-preserved-p): Pass `integer' as an
25581 explicit 2nd argument to `file-attributes'. If the file's owner
25582 is the Administrators group on Windows, and the current user is
25583 Administrator, consider that a match.
25584
25585 * server.el (server-ensure-safe-dir): Consider server directory
25586 safe on MS-Windows if its owner is the Administrators group while
25587 the current Emacs user is Administrator. Use `=' to compare
25588 numerical UIDs, since they could be integers or floats.
25589
25590 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25591
25592 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25593
25594 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25595
25596 Sync with Tramp 2.2.1.
25597
25598 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25599
25600 * net/trampver.el: Update release number.
25601
25602 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25603
25604 * progmodes/compile.el (compilation--previous-directory): Fix up
25605 various nil/dead-marker mismatches (bug#8014).
25606 (compilation-directory-properties, compilation-error-properties):
25607 Don't call it at a position past the one we're about to change.
25608
25609 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25610 Disable obsolescence warnings in the file that declares it.
25611
25612 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25613
25614 * allout-widgets.el (allout-widgets-tally):
25615 Initialize allout-widgets-tally as a hash table rather than nil to
25616 prevent mode-line redisplay warnings. Also, clarify the module
25617 description and fix a comment typo.
25618
25619 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25620
25621 * help-fns.el (describe-variable): Don't complete keywords.
25622 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25623
25624 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25625
25626 * emacs-lisp/package.el (package-version-join): Impose a standard
25627 string representation for pre/alpha/beta version lists.
25628 (package-unpack-single): Standardize the directory name by passing
25629 it through package-version-join.
25630 (package-strip-rcs-id): Accept any version string that does not
25631 signal an error in version-to-list.
25632
25633 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25634
25635 * simple.el (delete-trailing-whitespace): Return nil for the
25636 benefit of `write-file-functions'.
25637
25638 2011-03-10 Glenn Morris <rgm@gnu.org>
25639
25640 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25641
25642 * vc/vc-git.el (vc-git-program): New option.
25643 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25644 (vc-git--call): Use it.
25645
25646 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25647
25648 * cus-edit.el (Custom-newline): If no button at point, look
25649 for a subgroup button at start-of-line. (Bug#2298)
25650
25651 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25652
25653 2011-03-10 Julien Danjou <julien@danjou.info>
25654
25655 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25656 `cursor-type' is nil.
25657
25658 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25659
25660 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25661
25662 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25663
25664 * allout.el: Change so yank of distinctive-bullet items
25665 preserves the existing header prefix, rebulleting it if necessary,
25666 rather than replacing it. This is necessary for proper operation
25667 of cooperative addons like allout-widgets.
25668 (allout-make-topic-prefix, allout-rebullet-heading):
25669 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25670 value as alternate bullet to be used, instead of prompting the user
25671 for a bullet character.
25672
25673 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25674
25675 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25676 Do not use `tramp-file-name-port', because this returns also
25677 `tramp-default-port'.
25678
25679 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25680
25681 * net/rcirc.el (rcirc-handler-001): Remove useless
25682 with-rcirc-process-buffer.
25683 (rcirc-check-auth-status): Swap arguments to string-match.
25684
25685 2011-03-09 Glenn Morris <rgm@gnu.org>
25686
25687 * shell.el (shell-mode):
25688 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25689
25690 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25691 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25692
25693 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25694
25695 * emacs-lisp/package.el (package-refresh-contents)
25696 (package-menu-execute): Use condition-case-no-debug.
25697
25698 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25699
25700 * simple.el (shell-command-to-string): Use `process-file'.
25701
25702 * emacs-lisp/package.el (package-tar-file-info): Handle also
25703 remote files.
25704
25705 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25706 Use `equal' for upload base check.
25707
25708 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25709
25710 * textmodes/texinfo.el (texinfo-environments):
25711 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25712
25713 2011-03-08 Glenn Morris <rgm@gnu.org>
25714
25715 * cus-start.el (cursor-in-non-selected-windows):
25716 Fix :set quoting oddness. (Bug#8192)
25717
25718 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25719 in some setf expressions. (Bug#2159)
25720
25721 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25722
25723 * custom.el (custom-available-themes): Return themes in
25724 alphabetical order.
25725
25726 See ChangeLog.15 for earlier changes.
25727
25728 ;; Local Variables:
25729 ;; coding: utf-8
25730 ;; End:
25731
25732 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25733
25734 This file is part of GNU Emacs.
25735
25736 GNU Emacs is free software: you can redistribute it and/or modify
25737 it under the terms of the GNU General Public License as published by
25738 the Free Software Foundation, either version 3 of the License, or
25739 (at your option) any later version.
25740
25741 GNU Emacs is distributed in the hope that it will be useful,
25742 but WITHOUT ANY WARRANTY; without even the implied warranty of
25743 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25744 GNU General Public License for more details.
25745
25746 You should have received a copy of the GNU General Public License
25747 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.